/* ==========================================================================
   Site header, top bar and mobile drawer
   (templates/webapp/include/header.html + topbar.html)
   Dark is default; html[data-theme="light"] swaps the tokens.
   ========================================================================== */

:root {
  --nav-h: 62px;

  --hd-bg:          rgba(13, 13, 11, .82);
  --hd-bg-solid:    #0D0D0B;
  --hd-top-bg:      #080806;
  --hd-panel:       #15150F;
  --hd-panel-2:     #1C1C15;
  --hd-line:        rgba(245, 240, 232, .09);
  --hd-line-strong: rgba(245, 240, 232, .16);
  --hd-text:        rgba(245, 240, 232, .80);
  --hd-heading:     #FFFFFF;
  --hd-muted:       rgba(245, 240, 232, .55);
  --hd-gold:        #C9A84C;
  --hd-gold-hi:     #E8C97A;
  --hd-gold-ink:    #0D0D0B;
  --hd-gold-soft:   rgba(201, 168, 76, .10);
  --hd-red:         #E06A76;
  --hd-shadow:      0 24px 60px -24px rgba(0, 0, 0, .75);
  --hd-scrim:       rgba(5, 5, 4, .6);

  --hd-sans:  'Jost', var(--ff-body, 'DM Sans'), system-ui, sans-serif;
  --hd-serif: var(--ff-display, 'Cormorant Garamond'), Georgia, serif;
  --hd-ease:  cubic-bezier(.22, .61, .36, 1);
}

html[data-theme="light"] {
  --hd-bg:          rgba(255, 255, 255, .86);
  --hd-bg-solid:    #FFFFFF;
  --hd-top-bg:      #F3F0E9;
  --hd-panel:       #FFFFFF;
  --hd-panel-2:     #F7F4EE;
  --hd-line:        rgba(28, 30, 26, .08);
  --hd-line-strong: rgba(28, 30, 26, .14);
  --hd-text:        #3A4048;
  --hd-heading:     #15181C;
  --hd-muted:       #6B727B;
  --hd-gold:        #9B741D;
  --hd-gold-hi:     #B8902F;
  --hd-gold-ink:    #FFFFFF;
  --hd-gold-soft:   rgba(155, 116, 29, .08);
  --hd-red:         #B4283A;
  --hd-shadow:      0 24px 60px -28px rgba(31, 35, 40, .30);
  --hd-scrim:       rgba(21, 24, 28, .38);
}

html.hd-locked { overflow: hidden; }

/* ── Admin-managed image banner above the utility and navigation bars ── */
.hd-banner {
  position: relative;
  height: clamp(68px, 10vw, 128px);
  overflow: hidden;
  background: #11110e;
}
.hd-banner__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease, visibility .8s ease;
}
.hd-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}
.hd-banner__slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.4), transparent 58%, rgba(0,0,0,.12));
  pointer-events: none;
}
.hd-banner__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hd-banner__title {
  position: absolute;
  z-index: 1;
  left: max(24px, calc((100vw - 1320px) / 2));
  bottom: 16px;
  color: #fff;
  font: 500 15px/1.3 var(--hd-sans);
  letter-spacing: .06em;
  text-shadow: 0 2px 8px rgba(0,0,0,.65);
}
@media (max-width: 600px) {
  .hd-banner { height: 68px; }
  .hd-banner__title { left: 16px; bottom: 10px; font-size: 12px; }
}

/* ── Top bar ──────────────────────────────────────────────────────── */
:root {
  --hd-top-grad:    linear-gradient(90deg, #0B0A07 0%, #17140C 38%, #1D1810 50%, #17140C 62%, #0B0A07 100%);
  --hd-top-line:    linear-gradient(90deg, transparent, rgba(232, 201, 122, .55) 20%, rgba(232, 201, 122, .85) 50%, rgba(232, 201, 122, .55) 80%, transparent);
  --hd-top-text:    rgba(245, 240, 232, .78);
  --hd-top-ico-bg:  radial-gradient(circle at 32% 28%, rgba(246, 227, 168, .35), rgba(201, 168, 76, .12) 60%, transparent 100%);
  --hd-top-glass:   rgba(255, 255, 255, .05);
  --hd-top-glass-b: rgba(232, 201, 122, .22);
  --hd-top-sheen:   rgba(255, 236, 180, .07);
}
html[data-theme="light"] {
  --hd-top-grad:    linear-gradient(90deg, #EFE9DC 0%, #F8F4EA 38%, #FFFDF7 50%, #F8F4EA 62%, #EFE9DC 100%);
  --hd-top-line:    linear-gradient(90deg, transparent, rgba(155, 116, 29, .35) 20%, rgba(184, 144, 47, .6) 50%, rgba(155, 116, 29, .35) 80%, transparent);
  --hd-top-text:    #4A4F56;
  --hd-top-ico-bg:  radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .95), rgba(232, 201, 122, .35) 70%);
  --hd-top-glass:   rgba(255, 255, 255, .7);
  --hd-top-glass-b: rgba(155, 116, 29, .22);
  --hd-top-sheen:   rgba(255, 255, 255, .7);
}

.hd-top {
  position: relative;
  overflow: hidden;
  background: var(--hd-top-grad);
  color: var(--hd-top-text);
  font-family: var(--hd-sans);
  font-size: 12.5px;
  letter-spacing: .03em;
  isolation: isolate;
}

/* gold hairline that fades out at both ends */
.hd-top::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--hd-top-line);
  pointer-events: none;
}

/* faint dotted texture */
.hd-top::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: radial-gradient(rgba(232, 201, 122, .09) 1px, transparent 1px);
  background-size: 14px 14px;
  mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 30%, transparent 70%, #000);
  pointer-events: none;
}

/* slow light sweep across the bar */
.hd-top__sheen {
  position: absolute;
  inset: 0 auto 0 0;
  z-index: -1;
  width: 32%;
  background: linear-gradient(100deg, transparent, var(--hd-top-sheen), transparent);
  transform: translateX(-120%);
  animation: hd-top-sweep 9s ease-in-out 1.5s infinite;
  pointer-events: none;
}
@keyframes hd-top-sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(420%); } }

.hd-top__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 38px;
}

.hd-top__info {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  min-width: 0;
}

.hd-top__info li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  white-space: nowrap;
}

/* gold diamond between items */
.hd-top__info li + li { margin-left: 18px; padding-left: 20px; }
.hd-top__info li + li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  background: linear-gradient(135deg, #F6E3A8, #B8902F);
  transform: translateY(-50%) rotate(45deg);
  opacity: .75;
}

.hd-top__text { overflow: hidden; text-overflow: ellipsis; }

/* gold medallion behind each icon */
.hd-top__ico {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  flex: none;
  border: 1px solid var(--hd-top-glass-b);
  border-radius: 50%;
  background: var(--hd-top-ico-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  transition: transform .4s var(--hd-ease), box-shadow .3s ease;
}
.hd-top__info li:hover .hd-top__ico { transform: rotate(-10deg) scale(1.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 12px rgba(232, 201, 122, .35); }

.hd-top svg {
  width: 12px;
  height: 12px;
  flex: none;
  fill: none;
  stroke: var(--hd-gold-hi);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[data-theme="light"] .hd-top svg { stroke: var(--hd-gold); }

.hd-top a {
  position: relative;
  color: var(--hd-top-text);
  text-decoration: none;
  transition: color .25s ease;
}
.hd-top__info a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: linear-gradient(90deg, var(--hd-gold-hi), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--hd-ease);
}
.hd-top a:hover { color: var(--hd-gold-hi); }
html[data-theme="light"] .hd-top a:hover { color: var(--hd-gold); }
.hd-top__info a:hover::after { transform: scaleX(1); }

/* live office status */
.hd-top__dot { width: 7px; height: 7px; flex: none; border-radius: 50%; background: var(--hd-gold-hi); box-shadow: 0 0 0 3px rgba(232, 201, 122, .18); }
.hd-top__hours.is-open .hd-top__dot { background: #4FD18B; box-shadow: 0 0 0 3px rgba(79, 209, 139, .2), 0 0 10px rgba(79, 209, 139, .8); animation: hd-top-pulse 2.2s ease-in-out infinite; }
.hd-top__hours.is-closed .hd-top__dot { background: var(--hd-muted); box-shadow: none; }
.hd-top__hours { color: var(--hd-muted); }
@keyframes hd-top-pulse { 50% { box-shadow: 0 0 0 6px rgba(79, 209, 139, 0), 0 0 14px rgba(79, 209, 139, 1); } }

.hd-top__right { display: flex; align-items: center; gap: 16px; flex: none; }

/* glass social buttons */
.hd-top__social { display: flex; gap: 6px; padding-right: 16px; border-right: 1px solid var(--hd-line-strong); }
.hd-top__social a {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--hd-top-glass-b);
  border-radius: 50%;
  background: var(--hd-top-glass);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .35s var(--hd-ease), background .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.hd-top__social svg { width: 12px; height: 12px; fill: var(--hd-top-text); stroke: none; transition: fill .25s ease; }
.hd-top__social a:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #F0D58C, #B8902F);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 6px 16px -6px rgba(201, 168, 76, .9);
  transform: translateY(-2px);
}
.hd-top__social a:hover svg { fill: #0D0D0B; }

/* glossy blood-bank pill */
.hd-top .hd-top__blood {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  overflow: hidden;
  padding: 4px 14px 4px 5px;
  border: 1px solid rgba(255, 140, 155, .35);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(229, 72, 93, .28), rgba(165, 28, 48, .22));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 6px 18px -10px rgba(196, 30, 58, .9);
  color: #FFC2CA;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background .3s ease, color .3s ease, box-shadow .3s ease, transform .3s var(--hd-ease);
}
html[data-theme="light"] .hd-top .hd-top__blood {
  border-color: rgba(194, 31, 54, .3);
  background: linear-gradient(180deg, #FFF5F6, #FDE3E7);
  color: #A51C30;
  box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(194, 31, 54, .6);
}
.hd-top .hd-top__blood::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: hd-top-sweep 6s ease-in-out 2s infinite;
  pointer-events: none;
}
.hd-top__drop {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FF9AA6, #E5485D 45%, #8E1526 100%);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .45), 0 0 10px rgba(229, 72, 93, .6);
  animation: hd-top-beat 1.8s ease-in-out infinite;
}
.hd-top .hd-top__drop svg { width: 10px; height: 10px; fill: #fff; stroke: none; }
@keyframes hd-top-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.15); } 30% { transform: scale(.97); } 45% { transform: scale(1.08); } }
.hd-top .hd-top__blood:hover {
  border-color: transparent;
  background: linear-gradient(180deg, #EC5468, #A51C30);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 8px 22px -8px rgba(196, 30, 58, .95);
  transform: translateY(-1px);
}

@media (max-width: 1100px) {
  .hd-top__info .hd-top__hide-md { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hd-top__sheen, .hd-top .hd-top__blood::after { display: none; }
  .hd-top__drop, .hd-top__hours.is-open .hd-top__dot { animation: none; }
}

/* ── Header ───────────────────────────────────────────────────────── */
.hd {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--hd-bg);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--hd-line);
  font-family: var(--hd-sans);
  transition: box-shadow .35s ease, background .35s ease;
}

.hd.is-scrolled { box-shadow: var(--hd-shadow); background: color-mix(in srgb, var(--hd-bg-solid) 94%, transparent); }

.hd__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--nav-h);
  transition: height .35s var(--hd-ease);
}

.hd.is-scrolled .hd__inner { height: 56px; }

/* brand */
.hd-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: none;
  text-decoration: none;
}

.hd-brand__mark { width: auto; height: 38px; object-fit: contain; }

.hd-brand__text { display: grid; line-height: 1; }

.hd-brand__text strong {
  font-family: var(--hd-serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .005em;
  color: var(--hd-heading);
}

.hd-brand__text small {
  margin-top: 4px;
  font-family: var(--hd-sans);
  font-size: 8.5px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--hd-gold);
}

/* menu */
.hd-nav { flex: 1; display: flex; justify-content: center; height: 100%; }

.hd-menu {
  display: flex;
  align-items: stretch;
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hd-menu > li { position: relative; display: flex; align-items: center; }
.hd-menu > li.hd-has-mega { position: static; }

.hd-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 100%;
  padding: 0 14px;
  border: 0;
  background: none;
  color: var(--hd-text);
  font-family: var(--hd-sans);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color .25s ease;
}

.hd-link::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: -1px;
  height: 2px;
  background: var(--hd-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--hd-ease);
}

.hd-link:hover,
.hd-has-drop:hover > .hd-link,
.hd-has-drop.is-open > .hd-link { color: var(--hd-heading); }

.hd-link.is-current { color: var(--hd-heading); }
.hd-link.is-current::after,
.hd-link:hover::after,
.hd-has-drop:hover > .hd-link::after,
.hd-has-drop.is-open > .hd-link::after { transform: scaleX(1); }

.hd-caret {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: .6;
  transition: transform .3s var(--hd-ease);
}

.hd-has-drop:hover .hd-caret,
.hd-has-drop.is-open .hd-caret { transform: rotate(180deg); }

/* dropdown panels */
.hd-drop {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  width: 320px;
  padding: 10px;
  background: var(--hd-panel);
  border: 1px solid var(--hd-line-strong);
  border-top: 2px solid var(--hd-gold);
  box-shadow: var(--hd-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 10px);
  transition: opacity .25s ease, transform .3s var(--hd-ease), visibility 0s linear .3s;
}

.hd-has-drop:hover > .hd-drop,
.hd-has-drop.is-open > .hd-drop,
.hd-has-drop:focus-within > .hd-drop {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition: opacity .25s ease, transform .3s var(--hd-ease), visibility 0s;
}

.hd-drop__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  color: var(--hd-text);
  text-decoration: none;
  transition: background .2s ease;
}

.hd-drop__item:hover { background: var(--hd-gold-soft); }

.hd-drop__icon {
  width: 38px;
  height: 38px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--hd-line-strong);
  transition: border-color .2s ease, background .2s ease;
}

.hd-drop__icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--hd-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hd-drop__item:hover .hd-drop__icon { border-color: var(--hd-gold); background: var(--hd-panel); }

.hd-drop__item strong {
  display: block;
  color: var(--hd-heading);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: .01em;
}

.hd-drop__item small { display: block; margin-top: 2px; color: var(--hd-muted); font-size: 12.5px; }

.hd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--hd-gold); }
.hd-dot--live { background: #43B97A; box-shadow: 0 0 0 4px rgba(67, 185, 122, .18); }

/* services mega panel */
.hd-drop--mega {
  left: 50%;
  width: min(940px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 10px;
  padding: 14px;
}

.hd-mega__intro {
  display: flex;
  flex-direction: column;
  padding: 18px 20px;
  background: var(--hd-panel-2);
}

.hd-eyebrow {
  color: var(--hd-gold);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.hd-mega__intro p {
  margin: 12px 0 18px;
  color: var(--hd-text);
  font-family: var(--hd-serif);
  font-size: 20px;
  line-height: 1.3;
}

.hd-textlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--hd-gold);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.hd-textlink svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s ease; }
.hd-textlink:hover svg { transform: translateX(4px); }

.hd-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.hd-mega__empty { margin: 0; padding: 16px; color: var(--hd-muted); }

.hd-svc {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  text-decoration: none;
  transition: background .2s ease;
}

.hd-svc:hover { background: var(--hd-gold-soft); }

.hd-svc__img {
  width: 76px;
  height: 60px;
  flex: none;
  overflow: hidden;
  background: var(--hd-panel-2);
}

.hd-svc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--hd-ease); }
.hd-svc:hover .hd-svc__img img { transform: scale(1.08); }

.hd-svc strong { display: block; color: var(--hd-heading); font-size: 14.5px; font-weight: 500; line-height: 1.3; }
.hd-svc small { display: block; margin-top: 3px; color: var(--hd-muted); font-size: 12px; line-height: 1.4; }

/* actions */
.hd__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.hd-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 20px;
  background: var(--hd-gold);
  color: var(--hd-gold-ink);
  font-family: var(--hd-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .25s ease, transform .25s var(--hd-ease);
}

.hd-cta svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s ease; }
.hd-cta:hover { background: var(--hd-gold-hi); color: var(--hd-gold-ink); }
.hd-cta:hover svg { transform: translateX(4px); }
.hd-cta--block { width: 100%; min-height: 52px; }

.hd-burger {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0 11px;
  border: 1px solid var(--hd-line-strong);
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
}

.hd-burger span { display: block; height: 1.5px; background: var(--hd-heading); transition: width .3s var(--hd-ease); }
.hd-burger span:nth-child(1) { width: 20px; }
.hd-burger span:nth-child(2) { width: 14px; }
.hd-burger span:nth-child(3) { width: 20px; }
.hd-burger:hover span { width: 20px; }

.hd a:focus-visible,
.hd button:focus-visible,
.hd-drawer a:focus-visible,
.hd-drawer button:focus-visible,
.hd-top a:focus-visible {
  outline: 2px solid var(--hd-gold);
  outline-offset: 2px;
}

/* ── Mobile drawer ────────────────────────────────────────────────── */
.hd-scrim {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--hd-scrim);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .35s ease;
}

.hd-scrim.is-on { opacity: 1; }

.hd-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  display: flex;
  flex-direction: column;
  width: min(400px, 90vw);
  background: var(--hd-bg-solid);
  border-left: 1px solid var(--hd-line-strong);
  box-shadow: var(--hd-shadow);
  font-family: var(--hd-sans);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform .45s var(--hd-ease), visibility 0s linear .45s;
}

.hd-drawer.is-open {
  transform: none;
  visibility: visible;
  transition: transform .45s var(--hd-ease), visibility 0s;
}

.hd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 18px 22px;
  border-bottom: 1px solid var(--hd-line);
}

.hd-drawer__head .hd-brand__mark { width: auto; height: 40px; }
.hd-drawer__head .hd-brand__text strong { font-size: 19px; }

.hd-drawer__close {
  width: 42px;
  height: 42px;
  flex: none;
  display: grid;
  place-items: center;
  border: 1px solid var(--hd-line-strong);
  background: transparent;
  color: var(--hd-heading);
  cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}

.hd-drawer__close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.hd-drawer__close:hover { border-color: var(--hd-gold); color: var(--hd-gold); }

.hd-drawer__body { flex: 1; overflow-y: auto; padding: 8px 22px; overscroll-behavior: contain; }

.hd-mnav { margin: 0; padding: 0; list-style: none; }
.hd-mnav > li { border-bottom: 1px solid var(--hd-line); }

.hd-mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 17px 0;
  border: 0;
  background: none;
  color: var(--hd-heading);
  font-family: var(--hd-serif);
  font-size: 23px;
  font-weight: 500;
  line-height: 1.1;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .2s ease, padding .3s var(--hd-ease);
}

.hd-mnav__link:hover,
.hd-mnav__link.is-current,
.hd-acc.is-open > .hd-mnav__link { color: var(--hd-gold); }
.hd-mnav__link:hover { padding-left: 4px; }

.hd-mnav__link .hd-caret { width: 18px; height: 18px; opacity: .7; }
.hd-acc.is-open .hd-caret { transform: rotate(180deg); }

.hd-mnav__link--red { color: var(--hd-red); }

/* accordion children — explicit colours in both themes */
.hd-acc__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--hd-ease);
}

.hd-acc__panel ul {
  margin: 0 0 14px;
  padding: 4px 0 4px 16px;
  border-left: 1px solid var(--hd-gold);
  list-style: none;
}

.hd-acc__panel a {
  display: block;
  padding: 9px 0;
  color: var(--hd-text);
  font-family: var(--hd-sans);
  font-size: 15px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s ease, padding .25s var(--hd-ease);
}

.hd-acc__panel a:hover { color: var(--hd-gold); padding-left: 6px; }

.hd-drawer__foot {
  display: grid;
  gap: 12px;
  padding: 20px 22px 24px;
  border-top: 1px solid var(--hd-line);
  background: var(--hd-panel-2);
}

.hd-drawer__contact {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--hd-text);
  font-size: 14px;
  text-decoration: none;
}

.hd-drawer__contact svg { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--hd-gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hd-drawer__contact:hover { color: var(--hd-gold); }
.hd-drawer__foot .hd-cta { margin-top: 6px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 1240px) {
  .hd__inner { gap: 18px; }
  .hd-link { padding: 0 10px; font-size: 13px; letter-spacing: .08em; }
  .hd-link::after { left: 10px; right: 10px; }
}

@media (max-width: 1120px) {
  :root { --nav-h: 60px; }
  .hd-nav { display: none; }
  .hd__actions { margin-left: auto; }
  .hd-burger { display: inline-flex; }
}

@media (max-width: 768px) {
  .hd-top__info .hd-top__hide-sm,
  .hd-top__social { display: none; }
  .hd-top__info li + li { margin-left: 12px; padding-left: 14px; }
}

@media (max-width: 560px) {
  .hd-top__info li:first-child { display: none; }
  .hd-top__info li:nth-child(2) { margin-left: 0; padding-left: 0; }
  .hd-top__info li:nth-child(2)::before { display: none; }
  .hd-top__blood { padding-right: 11px; }
  .hd__actions .hd-cta { display: none; }
  .hd-brand__text strong { font-size: 18px; }
  .hd-brand__text small { font-size: 8.5px; letter-spacing: .22em; }
  .hd-brand__mark { height: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hd *, .hd-drawer, .hd-drawer *, .hd-scrim { transition-duration: .01ms !important; }
}
