/* ========================================================================
   SYRACUSE GRAND — Brand stylesheet
   Edit colors / type / spacing here. All pages use these tokens.
   ======================================================================== */

:root {
  /* Brand colors (from logo) */
  --navy:        #1B3A6B;
  --navy-deep:   #122749;
  --navy-soft:   #24477F;
  --gold:        #D4A03B;
  --gold-bright: #E6B453;
  --gold-deep:   #B0832A;
  --gold-text:   #8C6315;  /* AA-compliant on white for small text (5.37:1) */

  /* Neutrals */
  --ink:         #0F172A;
  --ink-soft:    #334155;
  --muted:       #64748B;
  --line:        rgba(15, 23, 42, 0.10);
  --line-strong: rgba(15, 23, 42, 0.18);
  --cream:       #FAF7F1;
  --bg:          #FFFFFF;
  --bg-soft:     #F7F5F0;

  /* Type */
  --serif: "Playfair Display", "Cormorant Garamond", Georgia, serif;
  --sans:  "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Spacing scale */
  --s-1: 4px;   --s-2: 8px;   --s-3: 12px; --s-4: 16px;
  --s-5: 20px;  --s-6: 24px;  --s-8: 32px; --s-10: 40px;
  --s-12: 48px; --s-16: 64px; --s-20: 80px; --s-24: 96px;
  --s-32: 128px;

  /* Layout */
  --container: 1240px;
  --radius:    14px;
  --radius-lg: 22px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06), 0 1px 2px rgba(15,23,42,.04);
  --shadow-md: 0 12px 32px rgba(15,23,42,.10), 0 2px 6px rgba(15,23,42,.05);
  --shadow-lg: 0 30px 60px rgba(15,23,42,.18);

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ----------------- Reset ----------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ----------------- Typography ----------------- */
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: -0.01em; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.15; margin: 0; color: var(--navy-deep); }
h1 { font-size: clamp(40px, 7vw, 88px); }
h2 { font-size: clamp(30px, 4.2vw, 52px); }
h3 { font-size: clamp(22px, 2.4vw, 30px); }
h4 { font-size: clamp(18px, 1.6vw, 22px); }
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-text);
}
.lead { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-soft); line-height: 1.6; max-width: 62ch; }

/* ----------------- Layout ----------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section--soft { background: var(--bg-soft); }
.section--navy { background: var(--navy-deep); color: #E7ECF5; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.grid { display: grid; gap: var(--s-6); }
.grid-2 { grid-template-columns: 1fr; gap: var(--s-12); }
.grid-3 { grid-template-columns: 1fr; gap: var(--s-6); }
.grid-4 { grid-template-columns: 1fr; gap: var(--s-6); }
@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; gap: var(--s-16); align-items: center; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ----------------- Buttons ----------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
}
.btn--gold { background: var(--gold); color: var(--navy-deep); box-shadow: 0 6px 18px rgba(212,160,59,.35); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(212,160,59,.45); }
.btn--ghost { background: transparent; color: var(--navy-deep); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: var(--navy); color: #fff; }
.btn--ghost-light { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.4); }
.btn--ghost-light:hover { background: #fff; color: var(--navy-deep); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ----------------- Header ----------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), padding .35s var(--ease), box-shadow .35s var(--ease);
}
.header--transparent { background: transparent; }
.header--solid { background: rgba(255,255,255,.94); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding: 12px 0; }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header__logo { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; flex-shrink: 0; white-space: nowrap; }
.header--solid .header__logo { color: var(--navy-deep); }
.header__logo-mark { width: 32px; height: 45px; flex-shrink: 0; position: relative; display: inline-block; }
.header__logo-mark .logo-mark { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .25s ease; }
/* Default (transparent over hero): show white mark */
.header--transparent .header__logo-mark .logo-mark--gold { opacity: 0; }
.header--transparent .header__logo-mark .logo-mark--white { opacity: 1; }
/* Scrolled solid header: show gold mark */
.header--solid .header__logo-mark .logo-mark--gold { opacity: 1; }
.header--solid .header__logo-mark .logo-mark--white { opacity: 0; }
.header__logo-text { font-family: var(--serif); font-size: 20px; letter-spacing: 0.05em; }
.header__nav { display: none; gap: 22px; flex-wrap: nowrap; }
@media (min-width: 1080px) { .header__nav { display: flex; gap: 24px; } }
@media (min-width: 1200px) { .header__nav { gap: 28px; } }
.header__nav a {
  font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(255,255,255,.85); position: relative; padding: 6px 0;
  transition: color .2s var(--ease);
  white-space: nowrap;
}
.header--solid .header__nav a { color: var(--ink-soft); }
.header__nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0; background: var(--gold);
  transition: width .3s var(--ease);
}
.header__nav a:hover { color: #fff; }
.header--solid .header__nav a:hover { color: var(--navy-deep); }
.header__nav a:hover::after, .header__nav a.active::after { width: 100%; }
.header__nav a.active { color: var(--gold); }
.header__cta { display: none; }
@media (min-width: 720px) { .header__cta { display: inline-flex; } }
.header__menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; color: #fff;
}
.header--solid .header__menu-btn { color: var(--navy-deep); }
@media (min-width: 1080px) { .header__menu-btn { display: none; } }

/* Mobile drawer */
.mobile-nav {
  position: fixed; inset: 0; background: var(--navy-deep); z-index: 200;
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .4s var(--ease);
  padding: 80px 32px 32px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__close { position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; color: #fff; }
.mobile-nav a {
  font-family: var(--serif);
  font-size: 28px; color: #fff; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.mobile-nav a.active { color: var(--gold); }
.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* ----------------- Hero ----------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,39,73,.55) 0%, rgba(18,39,73,.5) 40%, rgba(18,39,73,.85) 100%);
}
.hero__content { padding: 120px 0 80px; max-width: 760px; }
.hero h1 { color: #fff; font-weight: 400; }
.hero h1 em { font-style: italic; color: var(--gold-bright); }
.hero__lead { font-size: clamp(16px, 1.4vw, 19px); color: rgba(255,255,255,.85); margin: 24px 0 36px; max-width: 540px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,.6); display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.hero__scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ''; position: absolute; top: -40px; left: 0; width: 100%; height: 40px;
  background: var(--gold); animation: scrollDot 2.4s var(--ease) infinite;
}
@keyframes scrollDot { 0% { top: -40px; } 100% { top: 100%; } }

/* Page hero (interior pages) */
.page-hero {
  position: relative; min-height: 56vh; display: flex; align-items: flex-end;
  color: #fff; overflow: hidden; isolation: isolate;
  padding: 120px 0 64px;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(18,39,73,.5), rgba(18,39,73,.85)); }
.page-hero h1 { color: #fff; font-weight: 400; max-width: 18ch; }
.page-hero .eyebrow { color: var(--gold-bright); }

/* ----------------- Booking strip (sticky on every page) ----------------- */
.book-strip {
  background: var(--navy-deep); color: #fff;
  padding: 18px 0;
}
.book-strip__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.book-strip__text { font-family: var(--serif); font-size: 22px; letter-spacing: 0.02em; }
.book-strip__text small { display: block; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 4px; font-weight: 600; }

/* ----------------- Cards ----------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 24px 26px 28px; }
.card__title { font-family: var(--serif); font-size: 22px; color: var(--navy-deep); margin-bottom: 8px; }
.card__meta { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 12px; }
.card__desc { color: var(--ink-soft); font-size: 15px; }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--navy); font-weight: 600; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }
.card__link .arrow { transition: transform .25s var(--ease); }
.card__link:hover .arrow { transform: translateX(4px); }

/* Amenity tile (icon + text) */
.amenity {
  background: #fff; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.amenity:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.amenity__icon { width: 48px; height: 48px; color: var(--gold-deep); margin-bottom: 20px; }
.amenity__title { font-family: var(--serif); font-size: 20px; color: var(--navy-deep); margin-bottom: 8px; }
.amenity__desc { color: var(--ink-soft); font-size: 14.5px; }

/* Stat band */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(255,255,255,.12); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 36px 24px; background: var(--navy-deep); text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(36px, 4vw, 52px); color: var(--gold-bright); line-height: 1; }
.stat__lab { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-top: 10px; }

/* Image + Text split */
.split { display: grid; gap: var(--s-12); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: var(--s-20); } .split--reverse { grid-template-columns: 1fr 1.1fr; } .split--reverse > :first-child { order: 2; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* Suite gallery: bed shot + sitting area shot stacked */
.split__media:has(.suite-gallery) { aspect-ratio: auto; border-radius: 0; overflow: visible; }
.suite-gallery { display: grid; gap: var(--s-3); }
.suite-gallery > img,
.suite-gallery figure img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg); aspect-ratio: 4/3; }
.suite-gallery figure { margin: 0; position: relative; }
.suite-gallery figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(11, 25, 49, 0.78); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; backdrop-filter: blur(4px); }

/* ----------------- Footer ----------------- */
.footer { background: var(--navy-deep); color: rgba(255,255,255,.78); padding: 80px 0 40px; }
.footer__grid { display: grid; gap: 48px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer__logo { display: flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 18px; text-decoration: none; }
.footer__logo-mark { display: inline-block; width: 36px; height: 50px; flex-shrink: 0; }
.footer__logo-mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.footer__logo-text { font-family: var(--serif); font-size: 22px; letter-spacing: 0.05em; }
.footer h4 { color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 600; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer a { font-size: 14px; transition: color .2s var(--ease); }
.footer a:hover { color: var(--gold-bright); }
.footer__bottom {
  margin-top: 56px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 12.5px; color: rgba(255,255,255,.55);
}

/* ----------------- Mobile booking bar (always visible on phones) ----------------- */
.mobile-book {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 90;
  background: var(--navy-deep); padding: 12px 16px;
  display: flex; gap: 10px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.2);
}
.mobile-book .btn { flex: 1; justify-content: center; padding: 14px; font-size: 13px; }
@media (min-width: 720px) { .mobile-book { display: none; } }

/* Add bottom padding on mobile to avoid being covered by mobile-book */
@media (max-width: 719px) {
  body { padding-bottom: 72px; }
}

/* ----------------- Reveal animation ----------------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .08s; }
.reveal:nth-child(3) { transition-delay: .16s; }
.reveal:nth-child(4) { transition-delay: .24s; }

/* Lists / spec rows */
.spec-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.spec-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink-soft); }
.spec-list li::before { content: ''; width: 6px; height: 6px; margin-top: 9px; background: var(--gold); border-radius: 50%; flex-shrink: 0; }

/* Gallery grid */
.gallery { display: grid; gap: 8px; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; } }
.gallery a { display: block; overflow: hidden; border-radius: 12px; }
.gallery a:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.06); }
@media (max-width: 719px) {
  .gallery a:nth-child(1) { grid-column: span 2; grid-row: span 1; }
}

/* Quote / testimonial */
.quote { max-width: 800px; margin: 0 auto; text-align: center; }
.quote p { font-family: var(--serif); font-size: clamp(22px, 2.6vw, 32px); line-height: 1.4; color: var(--navy-deep); font-style: italic; }
.quote cite { display: block; margin-top: 24px; font-style: normal; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; }

/* CTA banner */
.cta-banner { padding: clamp(80px, 10vw, 140px) 0; text-align: center; background: var(--navy-deep); color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(800px 400px at 50% 0%, rgba(212,160,59,.18), transparent 60%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; max-width: 18ch; margin: 0 auto 20px; }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 56ch; margin: 0 auto 36px; }

/* Contact info row */
.contact-row { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .contact-row { grid-template-columns: repeat(3, 1fr); } }
.contact-row .label { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: 8px; }
.contact-row .value { font-family: var(--serif); font-size: 22px; color: var(--navy-deep); line-height: 1.4; }
.contact-row a.value:hover { color: var(--gold-deep); }

/* Map embed */
.map { width: 100%; aspect-ratio: 16/9; border: none; border-radius: var(--radius-lg); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   SUNdhm — single-page additions
   ============================================================ */

/* Use SUNdhm's brand colors as accents on top of the base palette */
.sundhm {
  --sun-orange: #F39200;
  --sun-orange-bright: #FFA31C;
  --sun-grey: #5F6062;
}

/* Override gold tokens to use SUNdhm orange where it appears */
.sundhm {
  --gold:        #F39200;
  --gold-bright: #FFA31C;
  --gold-deep:   #C77600;
  --gold-text:   #8B5A00;  /* AA-compliant on white (5.40:1) */
}

/* ----------- Header ----------- */
.sd-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0);
  backdrop-filter: blur(0);
  transition: background .3s var(--ease), backdrop-filter .3s var(--ease), box-shadow .3s var(--ease);
}
.sd-header.is-scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(10px);
  box-shadow: 0 1px 0 var(--line);
}
.sd-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px 0;
}
.sd-header__logo { display: flex; align-items: center; }
.sd-header__logo img { display: block; height: 56px; width: auto; }
.sd-header__nav { display: flex; gap: 32px; }
.sd-header__nav a {
  color: var(--ink); font-weight: 500; font-size: 15px;
  position: relative; padding: 6px 0;
}
.sd-header__nav a:hover { color: var(--sun-orange); }
.sd-header__cta { padding: 12px 22px !important; font-size: 14px; }
.sd-header__menu-btn {
  display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; color: var(--ink);
}

/* Mobile nav drawer */
.sd-mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--navy-deep); color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: translateX(100%); transition: transform .35s var(--ease);
}
.sd-mobile-nav.is-open { transform: translateX(0); }
.sd-mobile-nav a { color: #fff; font-size: 22px; font-weight: 500; }
.sd-mobile-nav__close {
  position: absolute; top: 24px; right: 24px;
  background: transparent; border: 0; color: #fff; padding: 8px; cursor: pointer;
}

@media (max-width: 900px) {
  .sd-header__nav, .sd-header__cta { display: none; }
  .sd-header__menu-btn { display: inline-flex; }
  .sd-header__logo img { height: 44px; }
}

/* ----------- Hero ----------- */
.sd-hero {
  position: relative; min-height: 86vh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  padding: 140px 0 80px;
}
.sd-hero__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 80% 20%, rgba(243,146,0,.18), transparent 60%),
    radial-gradient(900px 500px at 10% 80%, rgba(255,163,28,.12), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--navy-soft) 100%);
}
.sd-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,.03) 0%, transparent 40%);
}
.sd-hero__content { position: relative; z-index: 2; max-width: 880px; }
.sd-hero__content h1 {
  font-size: clamp(36px, 5.4vw, 68px); line-height: 1.05; margin: 16px 0 24px;
  font-weight: 500;
}
.sd-hero__content h1 em {
  font-style: italic; color: var(--gold-bright); font-weight: 400;
}
.sd-hero__lead {
  font-size: clamp(16px, 1.4vw, 19px); line-height: 1.65;
  max-width: 640px; color: rgba(255,255,255,.88);
}
.sd-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ----------- Section: navy deep (contact) ----------- */
.section--navy-deep {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff; padding: 96px 0;
}
.section--navy-deep .lead { color: rgba(255,255,255,.85); }

/* Contact card */
.contact-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(6px);
}
.contact-row {
  display: grid; grid-template-columns: 90px 1fr; gap: 20px;
  padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.10);
}
.contact-row:last-child { border-bottom: 0; }
.contact-row:first-child { padding-top: 0; }
.contact-row__label {
  text-transform: uppercase; letter-spacing: .12em; font-size: 11px; font-weight: 600;
  color: var(--gold-bright); padding-top: 2px;
}
.contact-row__value {
  color: #fff; font-size: 16px; line-height: 1.6;
}
.contact-row__value a {
  color: #fff; border-bottom: 1px solid rgba(255,255,255,.3);
}
.contact-row__value a:hover {
  color: var(--gold-bright); border-bottom-color: var(--gold-bright);
}

/* ----------- Footer ----------- */
.sd-footer {
  background: #0B1A33; color: rgba(255,255,255,.7);
  padding: 36px 0;
}
.sd-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sd-footer__logo img { display: block; height: 48px; width: auto; opacity: .9; }
.sd-footer__meta {
  display: flex; gap: 24px; font-size: 13px; color: rgba(255,255,255,.6);
}
@media (max-width: 700px) {
  .sd-footer__inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .sd-footer__meta { flex-direction: column; gap: 6px; }
}

/* Reveal animation (in case base file lacks it) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Hero with real photo background */
.sd-hero__bg {
  position: absolute; inset: 0;
  background: var(--navy-deep);
}
.sd-hero__bg img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .55;
}
.sd-hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(11,26,51,.35) 0%, rgba(11,26,51,.55) 50%, rgba(11,26,51,.85) 100%),
    radial-gradient(900px 500px at 80% 20%, rgba(243,146,0,.15), transparent 60%);
}

/* Feature row (full-width receivership card) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 32px;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}
.feature-row__body { color: #fff; }
.feature-row .card__meta { color: var(--gold-bright); }
.feature-row .card__title { color: #fff; }
.feature-row .card__desc { color: rgba(255,255,255,.85); }
.feature-row .card__link { color: var(--gold-bright); border-bottom: 1px solid var(--gold-bright); }
.feature-row .card__link:hover { color: #fff; border-bottom-color: #fff; }
.feature-row__icon {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-bright); opacity: .6;
}
.feature-row__icon svg { width: 140px; height: 140px; }
@media (max-width: 700px) {
  .feature-row { grid-template-columns: 1fr; padding: 32px; gap: 16px; }
  .feature-row__icon svg { width: 80px; height: 80px; }
}

/* Service card images */
.card__media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.card { overflow: hidden; }

/* Force hero text to be white for readability over the photo */
.sd-hero, .sd-hero * { color: #fff; }
.sd-hero h1 { color: #fff; }
.sd-hero h1 em { color: var(--gold-bright); }
.sd-hero p, .sd-hero .sd-hero__lead { color: rgba(255,255,255,.92); }

/* Header nav: white when transparent, dark when scrolled */
.sd-header:not(.is-scrolled) .sd-header__nav a { color: #fff; }
.sd-header:not(.is-scrolled) .sd-header__nav a:hover { color: var(--gold-bright); }
.sd-header:not(.is-scrolled) .sd-header__menu-btn { color: #fff; }
.sd-header.is-scrolled .sd-header__nav a { color: var(--ink); }
.sd-header.is-scrolled .sd-header__menu-btn { color: var(--ink); }

/* Make sure logo is visible on transparent header (current logo is on transparent bg already) */
.sd-header:not(.is-scrolled) .sd-header__logo img {
  filter: drop-shadow(0 2px 8px rgba(0,0,0,.4));
}

/* ============ Expandable service cards ============ */
.svc-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15, 30, 60, .06), 0 6px 18px rgba(15, 30, 60, .05);
  transition: box-shadow .25s ease, transform .25s ease;
  display: flex; flex-direction: column;
}
.svc-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(15,30,60,.08), 0 14px 40px rgba(15,30,60,.10); }
.svc-card__head {
  all: unset;
  cursor: pointer;
  display: flex; flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}
.svc-card__media { position: relative; }
.svc-card__media img { width: 100%; height: 220px; object-fit: cover; display: block; }
.svc-card__intro { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.svc-card__intro .card__title { margin: 4px 0 6px; }
.svc-card__more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px;
  font: 600 14px/1 var(--font-sans, Inter, sans-serif);
  color: var(--gold-deep);
  letter-spacing: .02em;
}
.svc-card__more .chev { transition: transform .25s ease; }
.svc-card.is-open .svc-card__more .chev { transform: rotate(180deg); }
.svc-card.is-open .svc-card__more .lbl-more { display: none; }
.svc-card .svc-card__more .lbl-less { display: none; }
.svc-card.is-open .svc-card__more .lbl-less { display: inline; }
.svc-card__detail {
  max-height: 0; overflow: hidden;
  transition: max-height .45s ease, padding .25s ease;
  padding: 0 28px;
  color: var(--ink);
}
.svc-card.is-open .svc-card__detail {
  max-height: 2400px;
  padding: 4px 28px 32px;
  border-top: 1px solid rgba(15,30,60,.08);
  margin-top: 0;
}
.svc-card__detail h4 {
  font: 600 15px/1.3 var(--font-sans, Inter, sans-serif);
  letter-spacing: .04em; text-transform: uppercase;
  color: var(--navy);
  margin: 22px 0 10px;
}
.svc-card__detail p { margin: 0 0 14px; line-height: 1.65; color: var(--ink-soft, #475569); }
.svc-card__detail .spec-list { margin: 0; }
.svc-card__detail .spec-list li { margin-bottom: 6px; }

/* Wide variant for receivership / mortgage disputes */
.svc-card--wide .svc-card__head { flex-direction: row; align-items: stretch; }
.svc-card__intro--wide { flex: 1; padding: 36px 32px; }
.svc-card__shield {
  width: 200px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(243,146,0,.08), rgba(255,163,28,.04));
  color: var(--gold-bright);
}
.svc-card__shield svg { width: 96px; height: 96px; }
@media (max-width: 700px) {
  .svc-card--wide .svc-card__head { flex-direction: column-reverse; }
  .svc-card__shield { width: 100%; height: 120px; }
  .svc-card__shield svg { width: 64px; height: 64px; }
  .svc-card__intro--wide { padding: 28px; }
}

/* ============ Hire Us cards ============ */
.hire-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 1px 3px rgba(15, 30, 60, .06), 0 6px 20px rgba(15, 30, 60, .05);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.hire-card:hover { transform: translateY(-3px); box-shadow: 0 6px 14px rgba(15,30,60,.08), 0 18px 50px rgba(15,30,60,.12); }
.hire-card__icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(243,146,0,.14), rgba(255,163,28,.08));
  color: var(--gold-deep);
  margin-bottom: 24px;
}
.hire-card__icon svg { width: 30px; height: 30px; }
.hire-card .card__title { margin: 6px 0 14px; }
.hire-card .spec-list li { margin-bottom: 6px; }
.hire-card .btn { align-self: flex-start; }

.hire-cta {
  text-align: center;
  margin-top: 56px;
  padding: 28px 32px;
  background: #fff;
  border: 1px dashed rgba(27,58,107,.18);
  border-radius: var(--radius-lg);
  color: var(--ink);
}
.hire-cta p { margin: 0; font-size: 16px; line-height: 1.6; }
.hire-cta a { color: var(--navy); font-weight: 600; }
.hire-cta a:hover { color: var(--gold-deep); }
@media (max-width: 700px) {
  .hire-card { padding: 28px; }
}

/* ============ Multi-page additions ============ */

/* Solid header for inner pages (no hero overlap) */
.sd-header--solid {
  position: sticky;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(15,30,60,.06);
  box-shadow: 0 1px 0 rgba(15,30,60,.04);
}
.sd-header--solid .sd-header__nav a { color: var(--ink); }
.sd-header--solid .sd-header__menu-btn { color: var(--ink); }
.sd-header--solid .sd-header__logo img { filter: none; }

/* Active nav link */
.sd-header__nav a.is-active {
  color: var(--gold-deep);
  position: relative;
}
.sd-header__nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
}

/* Page hero banner for inner pages */
.page-hero {
  background: linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  padding: 120px 0 64px;
  border-bottom: 1px solid rgba(15,30,60,.06);
}
.page-hero h1 {
  font-size: clamp(38px, 5vw, 56px);
  margin: 12px 0 0;
  color: var(--navy);
  line-height: 1.1;
}
.page-hero .eyebrow { color: var(--gold-deep); }

/* Bulleted services list on home */
.svc-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: 0 1px 3px rgba(15,30,60,.06), 0 6px 18px rgba(15,30,60,.05);
  overflow: hidden;
}
.svc-bullets li { border-bottom: 1px solid rgba(15,30,60,.06); }
.svc-bullets li:last-child { border-bottom: 0; }
.svc-bullets a {
  display: flex; align-items: center;
  padding: 18px 24px;
  color: var(--navy);
  text-decoration: none;
  transition: background .2s ease, padding .2s ease;
}
.svc-bullets a:hover {
  background: linear-gradient(90deg, rgba(243,146,0,.06), rgba(243,146,0,0));
  padding-left: 30px;
}
.svc-bullets__name {
  font: 600 17px/1.2 var(--font-sans, Inter, sans-serif);
  color: var(--navy);
}
.svc-bullets__sub {
  display: block;
  margin-top: 4px;
  font: 400 13px/1.4 var(--font-sans, Inter, sans-serif);
  color: var(--ink-soft, #475569);
}
.svc-bullets a > .arrow {
  margin-left: auto;
  color: var(--gold-deep);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.svc-bullets a:hover > .arrow { transform: translateX(4px); }
.svc-bullets a > span:first-child + span { /* second span (sub) wraps under name */ }
.svc-bullets li a { flex-wrap: wrap; }
.svc-bullets__name, .svc-bullets__sub { flex-basis: 100%; }
.svc-bullets a > .arrow { flex-basis: auto; align-self: center; margin-left: auto; }
/* better: use grid */
.svc-bullets a {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "name arrow" "sub arrow";
  align-items: center;
  column-gap: 16px;
}
.svc-bullets__name { grid-area: name; }
.svc-bullets__sub { grid-area: sub; }
.svc-bullets a > .arrow { grid-area: arrow; }

/* Hire Us teaser bullet rows on home */
.hire-three { display: flex; flex-direction: column; gap: 16px; }
.hire-three__row {
  display: flex;
  gap: 16px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  border-left: 3px solid var(--gold-bright);
}
.hire-three__bullet {
  font-size: 28px; line-height: 1;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.hire-three__row strong { color: var(--navy); font-weight: 600; }
.hire-three__row { color: var(--ink-soft, #475569); font-size: 15px; line-height: 1.55; }

/* hire-card h4 inside Hire Us page */
.hire-card__h4 {
  font: 600 14px/1.3 var(--font-sans, Inter, sans-serif);
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--navy);
  margin: 24px 0 12px;
}

/* Footer nav row */
.sd-footer__nav {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin: 16px 0;
}
.sd-footer__nav a {
  color: rgba(255,255,255,.85);
  font-size: 14px;
  text-decoration: none;
  transition: color .15s ease;
}
.sd-footer__nav a:hover { color: var(--gold-bright); }
.sd-footer__meta a { color: rgba(255,255,255,.85); text-decoration: none; }
.sd-footer__meta a:hover { color: var(--gold-bright); }

/* Contact page map iframe */
.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(15,30,60,.1), 0 8px 24px rgba(15,30,60,.12);
  background: #1B3A6B;
  height: 100%;
  min-height: 400px;
}
.contact-map iframe { display: block; }

@media (max-width: 800px) {
  .services-teaser { gap: 32px; }
  .page-hero { padding: 96px 0 48px; }
}

/* ghost (light bg) variant */
.btn--ghost {
  background: transparent;
  border: 1px solid rgba(15,30,60,.2);
  color: var(--navy);
}
.btn--ghost:hover { background: var(--cream); border-color: var(--navy); }

/* ============ Careers apply form ============ */
.apply-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 1px 3px rgba(15, 30, 60, .06), 0 6px 24px rgba(15, 30, 60, .06);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-label {
  font: 600 13px/1.2 var(--font-sans, Inter, sans-serif);
  color: var(--navy);
  letter-spacing: .03em;
}
.apply-form input[type="text"],
.apply-form input[type="email"],
.apply-form input[type="tel"],
.apply-form input[type="date"],
.apply-form select,
.apply-form textarea {
  width: 100%;
  font: 400 15px/1.4 var(--font-sans, Inter, sans-serif);
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(15,30,60,.14);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color .15s ease, box-shadow .15s ease;
  box-sizing: border-box;
  font-family: inherit;
}
.apply-form textarea { resize: vertical; min-height: 120px; line-height: 1.55; }
.apply-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%231B3A6B' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.apply-form input:focus,
.apply-form select:focus,
.apply-form textarea:focus {
  outline: none;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 3px rgba(243,146,0,.18);
}
.apply-form input:invalid:not(:placeholder-shown) {
  border-color: rgba(220, 60, 60, .5);
}
.file-drop {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 28px;
  border: 2px dashed rgba(15,30,60,.2);
  border-radius: 10px;
  background: var(--cream);
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.file-drop:hover, .file-drop.is-drag { border-color: var(--gold-bright); background: rgba(243,146,0,.05); }
.file-drop.has-file { border-style: solid; border-color: var(--gold-bright); background: rgba(243,146,0,.06); }
.file-drop input[type="file"] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.file-drop__text {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-soft, #475569);
  font: 500 14px/1.3 var(--font-sans, Inter, sans-serif);
  pointer-events: none;
}
.file-drop__text svg { color: var(--gold-deep); }

.form-actions {
  margin-top: 28px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px;
}
.form-note { color: var(--ink-soft, #475569); font-size: 14px; margin: 0; }
.form-note a { color: var(--navy); font-weight: 600; text-decoration: none; }
.form-note a:hover { color: var(--gold-deep); }

.apply-success {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(15,30,60,.06), 0 8px 28px rgba(15,30,60,.08);
  border-top: 3px solid var(--gold-bright);
}
.apply-success svg { color: var(--gold-bright); margin-bottom: 16px; }
.apply-success h3 { font-size: 28px; margin: 0 0 12px; color: var(--navy); }
.apply-success p { color: var(--ink-soft, #475569); margin: 0 auto; max-width: 460px; line-height: 1.6; }

@media (max-width: 700px) {
  .apply-form { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ============ Footer legal row ============ */
.sd-footer__legal {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
  font-size: 13px;
}
.sd-footer__legal a {
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .15s ease;
}
.sd-footer__legal a:hover { color: var(--gold-bright); }

/* ============ Cookie consent banner ============ */
.cookie-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  z-index: 1000;
  background: #122749;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
  border: 1px solid rgba(255,255,255,.08);
  animation: cookieSlide .35s ease-out;
}
@keyframes cookieSlide { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-banner__body { flex: 1; min-width: 280px; }
.cookie-banner__title {
  margin: 0 0 6px;
  font: 600 16px/1.3 var(--font-sans, Inter, sans-serif);
  color: #fff;
  letter-spacing: .01em;
}
.cookie-banner__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,.82);
}
.cookie-banner__body p a { color: var(--gold-bright); text-decoration: underline; }
.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.cookie-banner__actions .btn--ghost {
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
}
.cookie-banner__actions .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }
@media (max-width: 700px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; }
  .cookie-banner__inner { padding: 18px 20px; gap: 16px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-banner__actions .btn { flex: 1 1 auto; min-width: 90px; }
}

/* ============ Cookie preferences modal ============ */
.cookie-modal {
  position: fixed; inset: 0;
  z-index: 1100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.cookie-modal[hidden],
.cookie-banner[hidden] { display: none !important; }
.cookie-modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(15,30,60,.55);
  backdrop-filter: blur(2px);
}
.cookie-modal__panel {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 560px;
  width: 100%;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
  animation: modalIn .25s ease-out;
}
@keyframes modalIn { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.cookie-modal__close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px;
  border: none; background: transparent;
  color: var(--ink-soft, #475569);
  cursor: pointer;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.cookie-modal__close:hover { background: rgba(15,30,60,.06); color: var(--navy); }
.cookie-modal__panel h3 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--navy);
}
.cookie-modal__panel > p {
  color: var(--ink-soft, #475569);
  margin: 0 0 20px;
  line-height: 1.55;
}
.cookie-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 18px 0;
  border-top: 1px solid rgba(15,30,60,.08);
  cursor: pointer;
}
.cookie-row:last-of-type { border-bottom: 1px solid rgba(15,30,60,.08); }
.cookie-row > div { flex: 1; }
.cookie-row strong { display: block; color: var(--navy); font-weight: 600; margin-bottom: 4px; }
.cookie-row p { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-soft, #475569); }
.cookie-toggle {
  flex-shrink: 0;
  width: 44px; height: 24px;
  background: rgba(15,30,60,.18);
  border-radius: 999px;
  position: relative;
  transition: background .2s ease;
  margin-top: 2px;
}
.cookie-toggle__dot {
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.cookie-toggle__input {
  position: absolute; opacity: 0; width: 0; height: 0;
}
.cookie-toggle__input:checked ~ .cookie-toggle { background: var(--gold-bright); }
.cookie-toggle__input:checked ~ .cookie-toggle .cookie-toggle__dot { transform: translateX(20px); }
.cookie-toggle--locked {
  width: auto;
  height: auto;
  padding: 4px 10px;
  background: rgba(15,30,60,.08);
  color: var(--ink-soft, #475569);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  flex-shrink: 0;
}
.cookie-modal__actions {
  margin-top: 28px;
  display: flex; gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
@media (max-width: 500px) {
  .cookie-modal__panel { padding: 28px 22px; }
  .cookie-modal__actions { flex-direction: column-reverse; }
  .cookie-modal__actions .btn { width: 100%; }
}

/* ============ Legal documents (privacy/terms/accessibility) ============ */
.legal-doc {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
}
.legal-doc h2 {
  font-family: var(--font-sans, Inter, sans-serif);
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin: 40px 0 14px;
  letter-spacing: -.01em;
}
.legal-doc p { margin: 0 0 16px; color: var(--ink-soft, #475569); }
.legal-doc a { color: var(--navy); font-weight: 600; }
.legal-doc a:hover { color: var(--gold-deep); }
.legal-doc .spec-list { margin: 0 0 20px; }
.legal-doc .spec-list li { margin-bottom: 8px; line-height: 1.6; color: var(--ink-soft, #475569); }
.legal-doc strong { color: var(--navy); }

/* ============ Accessibility helpers ============ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  background: var(--navy-deep);
  color: #fff;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 700;
  font-family: var(--sans);
  font-size: 14px;
  text-decoration: none;
  z-index: 2000;
  transition: top .15s ease;
}
.skip-link:focus {
  top: 12px;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
main[tabindex="-1"]:focus { outline: none; }

/* ============ Applicant notice ============ */
.applicant-notice {
  margin-top: 40px;
  padding: 28px 32px;
  background: var(--bg-soft);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
}
.applicant-notice h3 {
  font-size: clamp(20px, 2vw, 24px);
  color: var(--navy-deep);
  margin-bottom: 14px;
}
.applicant-notice h4 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-deep);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.applicant-notice p { color: var(--ink-soft); line-height: 1.65; }
.applicant-notice ul.spec-list { margin-top: 8px; }
.applicant-notice ul.spec-list li { color: var(--ink-soft); }
.applicant-notice a { color: var(--gold-text); font-weight: 600; }
@media (max-width: 640px) {
  .applicant-notice { padding: 22px 18px; }
}
