/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
    @font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
    @font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
    @font-face { font-family: "Libre Baskerville"; src: url("../fonts/libre-baskerville-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
    @font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
    @font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
    @font-face { font-family: "Archivo"; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

    /* ---------- Tokens ---------- */
    :root {
      --navy-950: #0a1322;
      --navy-900: #111d31;
      --navy-800: #1a2a44;
      --navy-700: #24375a;
      --gold: #a7874d;
      --gold-hover: #b9995e;
      --gold-deep: #7d6232;
      --gold-soft: #cdb586;
      --stone: #e7e3da;
      --paper: #f6f4ef;
      --white: #ffffff;
      --ink: #17263d;
      --body: #4a5160;
      --muted: #7d8390;
      --rule: #e3e0d8;

      --serif: "Libre Baskerville", Baskerville, Georgia, "Times New Roman", serif;
      --sans: "Archivo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

      --max: 1180px;
      --gutter: clamp(20px, 4vw, 40px);
    }

    *, *::before, *::after { box-sizing: border-box; }
    html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
    @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

    body {
      margin: 0;
      background: var(--white);
      color: var(--body);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.7;
      -webkit-font-smoothing: antialiased;
      text-rendering: optimizeLegibility;
    }
    img { display: block; max-width: 100%; height: auto; }
    a { color: inherit; }
    a:focus-visible, button:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; }

    .container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

    .eyebrow {
      display: inline-flex; align-items: center; gap: 14px;
      margin: 0 0 22px;
      font-size: 11.5px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
      color: var(--gold-deep);
    }
    .eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }

    h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.01em; }

    .skip { position: absolute; left: -9999px; top: 0; background: var(--white); padding: 8px 14px; z-index: 100; }
    .skip:focus { left: 12px; top: 12px; }

    /* ---------- Utility bar ---------- */
    .utility { background: var(--navy-950); color: rgba(246,244,239,.66); font-size: 12.5px; letter-spacing: .02em; }
    .utility .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 40px; }
    .utility a { text-decoration: none; transition: color .2s; }
    .utility a:hover { color: var(--paper); }
    .utility .links { display: flex; gap: 28px; }
    .utility .sep { opacity: .35; }

    /* ---------- Header ---------- */
    .site-header {
      position: sticky; top: 0; z-index: 50;
      background: rgba(255,255,255,.96);
      -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px);
      border-bottom: 1px solid transparent;
      transition: border-color .3s, box-shadow .3s;
    }
    .site-header.scrolled { border-color: var(--rule); box-shadow: 0 6px 24px -18px rgba(17,29,49,.35); }
    .site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 84px; gap: 24px; }
    .brand img { width: 236px; }
    .nav { display: flex; align-items: center; gap: 36px; }
    .nav a {
      position: relative; text-decoration: none;
      font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
      padding: 6px 0;
    }
    .nav a.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-deep); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
    .nav a.link:hover::after { transform: scaleX(1); }

    .btn {
      display: inline-flex; align-items: center; justify-content: center; gap: 10px;
      min-height: 48px; padding: 0 26px;
      font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
      text-decoration: none; border: 1px solid transparent; cursor: pointer;
      transition: background-color .25s, border-color .25s, color .25s, transform .25s;
    }
    .btn svg { width: 14px; height: 14px; transition: transform .25s; }
    .btn:hover svg { transform: translateX(3px); }
    .btn-primary { background: var(--gold); color: var(--navy-950); }
    .btn-primary:hover { background: var(--gold-hover); }
    .btn-ghost { border-color: rgba(246,244,239,.45); color: var(--paper); }
    .btn-ghost:hover { border-color: var(--paper); background: rgba(246,244,239,.08); }
    .nav .btn { min-height: 42px; padding: 0 20px; }

    /* ---------- Hero ---------- */
    .hero {
      position: relative; isolation: isolate; overflow: hidden;
      min-height: clamp(560px, 82vh, 780px);
      display: flex; align-items: center;
      background: var(--navy-900);
      color: var(--paper);
    }
    .hero-media { position: absolute; inset: 0; z-index: -2; }
    .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; animation: settle 2.4s cubic-bezier(.2,.7,.2,1); }
    @keyframes settle { from { transform: scale(1.06); } to { transform: scale(1); } }
    .hero::before {
      content: ""; position: absolute; inset: 0; z-index: -1;
      background:
        linear-gradient(90deg, rgba(10,19,34,.94) 0%, rgba(10,19,34,.86) 32%, rgba(10,19,34,.5) 58%, rgba(10,19,34,.12) 85%),
        linear-gradient(0deg, rgba(10,19,34,.6) 0%, rgba(10,19,34,0) 38%);
    }
    .hero .container { padding-top: 104px; padding-bottom: 112px; }
    .hero-inner { max-width: 760px; }
    .hero .eyebrow { color: var(--gold-soft); }
    .hero-rule { display: block; width: 64px; height: 2px; background: var(--gold); margin-bottom: 34px; }
    .hero h1 {
      color: var(--white);
      font-size: clamp(40px, 6.2vw, 72px);
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin-bottom: 28px;
    }
    .hero h1 em { font-style: italic; color: var(--gold-soft); }
    .hero p.lede { max-width: 540px; margin: 0 0 40px; font-size: 18px; line-height: 1.7; color: rgba(246,244,239,.82); }
    .hero .actions { display: flex; flex-wrap: wrap; gap: 14px; }

    /* Hero text is always visible; no fade-in that could leave it hidden */



    /* ---------- Contact ---------- */
    .contact { position: relative; background: var(--paper); color: var(--body); padding: clamp(80px, 10vw, 120px) 0; }
    .contact-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 48px; }
    .contact h2 { color: var(--ink); font-size: clamp(32px, 4vw, 48px); line-height: 1.15; }
    .contact h2::before { content: ""; display: block; width: 56px; height: 2px; background: var(--gold); margin-bottom: 26px; }
    .contact-head p { margin: 0; max-width: 440px; justify-self: end; font-size: 16.5px; }

    .cards { display: grid; grid-template-columns: 1.25fr 0.9fr 1.1fr; gap: 1px; background: var(--rule); border: 1px solid var(--rule); box-shadow: 0 30px 60px -45px rgba(17,29,49,.35); }
    .card { background: var(--white); padding: 38px 36px 40px; display: flex; flex-direction: column; transition: background-color .3s; }
    .card:hover { background: #fdfcf9; }
    .card .icon { width: 44px; height: 44px; border: 1px solid rgba(167,135,77,.45); display: grid; place-items: center; margin-bottom: 30px; color: var(--gold-deep); }
    .card .icon svg { width: 18px; height: 18px; }
    .card .label { display: block; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 12px; }
    .card .value { display: block; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--ink); font-style: normal; overflow-wrap: anywhere; }
    .card a.value { text-decoration: none; background-image: linear-gradient(var(--gold), var(--gold)); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size .35s ease; align-self: flex-start; }
    .card a.value:hover { background-size: 100% 1px; }

    .registered {
      margin-top: 48px; display: grid; grid-template-columns: auto 1fr; gap: 12px 40px; align-items: baseline;
      padding-top: 32px; border-top: 1px solid var(--rule);
      font-size: 14px;
    }
    .registered h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); }
    .registered dl { margin: 0; display: flex; flex-wrap: wrap; gap: 10px 40px; }
    .registered dt { display: inline; color: var(--muted); margin-right: 8px; }
    .registered dd { display: inline; margin: 0; color: var(--ink); }

    /* ---------- Footer ---------- */
    .site-footer { background: var(--navy-950); color: rgba(246,244,239,.5); font-size: 13px; }
    .site-footer .container { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; min-height: 76px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 22px; }
    .site-footer .meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
    .site-footer a { text-decoration: none; color: rgba(246,244,239,.7); }
    .site-footer a:hover { color: var(--paper); }

    /* ---------- Responsive ---------- */
    @media (max-width: 980px) {
      .contact-head { grid-template-columns: 1fr; gap: 20px; }
      .contact-head p { justify-self: start; }
      .cards { grid-template-columns: 1fr; }
    }
    @media (max-width: 720px) {
      .utility .addr, .hide-sm { display: none; }
      .utility .container { justify-content: center; }
      .site-header .container { min-height: 70px; }
      .brand img { width: 180px; }
      .nav a.link { display: none; }
      .nav .btn { min-height: 38px; padding: 0 14px; font-size: 11px; }
      .hero { min-height: 600px; align-items: flex-end; }
      .hero::before { background: linear-gradient(0deg, rgba(10,19,34,.95) 0%, rgba(10,19,34,.8) 50%, rgba(10,19,34,.25) 100%); }
      .hero .container { padding-top: 150px; padding-bottom: 72px; }
      .hero p.lede { font-size: 16.5px; }
      .card { padding: 30px 26px 32px; }
      .registered { grid-template-columns: 1fr; }
      .registered dl { flex-direction: column; gap: 6px; }
      .site-footer .container { flex-direction: column; align-items: flex-start; }
    }
    @media (max-width: 400px) {
      .utility .links { gap: 16px; font-size: 11.5px; }
    }

    @media print {
      .utility, .site-header, .hero-media { display: none; }
      .hero, .contact, .site-footer { background: #fff !important; color: #000 !important; }
      .hero h1, .contact h2, .card .value { color: #000 !important; }
    }

/* ---------- Footer legal links ---------- */
.site-footer .copy { margin: 0; font-size: 12.5px; color: rgba(246,244,239,.5); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 12.5px; letter-spacing: .02em; }
.legal-links a { color: rgba(246,244,239,.72); text-decoration: none; transition: color .2s; }
.legal-links a:hover, .legal-links a[aria-current="page"] { color: var(--gold-soft); }

/* ---------- Legal pages ---------- */
.page-head { background: var(--navy-900); color: rgba(246,244,239,.75); padding: clamp(64px, 9vw, 104px) 0 clamp(52px, 7vw, 80px); position: relative; overflow: hidden; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/contact-engraving.jpg") right top / cover no-repeat; opacity: .35; }
.page-head .eyebrow { color: var(--gold-soft); }
.page-head h1 { color: var(--white); font-size: clamp(34px, 5vw, 54px); line-height: 1.1; margin-bottom: 18px; }
.page-head p { margin: 0; font-size: 14px; color: rgba(246,244,239,.6); }
.legal { padding: clamp(56px, 8vw, 96px) 0 clamp(72px, 10vw, 120px); }
.legal .container { display: grid; grid-template-columns: 240px minmax(0, 720px); gap: clamp(40px, 6vw, 88px); }
.toc { position: sticky; top: 112px; align-self: start; font-size: 13.5px; }
.toc h2 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 16px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.toc a { display: block; padding: 6px 0 6px 16px; margin-left: -1px; border-left: 1px solid transparent; color: var(--muted); text-decoration: none; line-height: 1.45; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); border-left-color: var(--gold); }
.prose { font-size: 16.5px; line-height: 1.8; color: var(--body); }
.prose > :first-child { margin-top: 0; }
.prose .intro { font-family: var(--serif); font-size: 20px; line-height: 1.6; color: var(--ink); margin-bottom: 36px; }
.prose h2 { font-size: 24px; line-height: 1.3; margin: 52px 0 16px; padding-top: 28px; border-top: 1px solid var(--rule); scroll-margin-top: 110px; }
.prose h2 .num { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .14em; color: var(--gold-deep); display: block; margin-bottom: 8px; }
.prose p { margin: 0 0 18px; }
.prose ul { margin: 0 0 20px; padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .78em; width: 10px; height: 1px; background: var(--gold); }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.prose a:hover { color: var(--gold-deep); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose .card-note { background: var(--paper); border-left: 2px solid var(--gold); padding: 20px 24px; margin: 0 0 24px; }
.prose .card-note p:last-child { margin-bottom: 0; }
.prose address { font-style: normal; }
@media (max-width: 900px) {
  .legal .container { grid-template-columns: 1fr; }
  .toc { position: static; }
}

/* ---------- Anchor offset for the sticky header ---------- */
html { scroll-padding-top: 104px; }

/* ---------- Company details strip: map + registered details ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: 28px; background: var(--white); border: 1px solid var(--rule); box-shadow: 0 30px 60px -45px rgba(17,29,49,.35); }
.map-card { position: relative; margin: 0; border-right: 1px solid var(--rule); min-height: 300px; overflow: hidden; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-card figcaption { position: absolute; left: 14px; bottom: 12px; padding: 4px 9px; background: rgba(255,255,255,.88); font-size: 11px; color: var(--muted); letter-spacing: .02em; }
.location-panel { padding: 36px 40px 34px; display: flex; flex-direction: column; }
.location-panel h3 { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin: 0 0 18px; }
.reg-list { margin: 0 0 26px; display: grid; gap: 0; }
.reg-list > div { display: grid; grid-template-columns: 132px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); font-size: 14.5px; line-height: 1.55; }
.reg-list > div:first-child { padding-top: 0; }
.reg-list dt { color: var(--muted); }
.reg-list dd { margin: 0; color: var(--ink); }
.panel-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: auto; }
.panel-actions .btn { min-height: 44px; padding: 0 20px; }
.btn-navy { background: var(--navy-900); color: var(--paper); }
.btn-navy:hover { background: var(--navy-700); }
.btn-navy svg { width: 15px; height: 15px; }
.btn-navy:hover svg { transform: translateY(2px); }
.btn-outline { border-color: var(--navy-900); color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--paper); }
.ch-link { align-self: flex-start; margin-top: 18px; font-size: 13px; color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid rgba(167,135,77,.5); padding-bottom: 1px; }
.ch-link:hover { color: var(--ink); border-color: var(--gold); }

/* ---------- Closing brand band ---------- */
.band { position: relative; isolation: isolate; height: clamp(240px, 24vw, 320px); overflow: hidden; background: var(--navy-950); display: grid; place-items: center; }
.band > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(10,19,34,.55) 0%, rgba(10,19,34,.85) 70%), linear-gradient(180deg, rgba(10,19,34,.2) 0%, rgba(10,19,34,1) 100%); }
.band-inner { text-align: center; padding: 0 var(--gutter); }
.band-logo { width: clamp(220px, 28vw, 340px); height: auto; margin: 0 auto; }

@media (max-width: 980px) {
  .location { grid-template-columns: 1fr; }
  .map-card { border-right: 0; border-bottom: 1px solid var(--rule); min-height: 240px; }
}
@media (max-width: 720px) {
  .location-panel { padding: 28px 22px; }
  .reg-list > div { grid-template-columns: 1fr; gap: 2px; }
  .site-footer .container { flex-direction: column-reverse; align-items: flex-start; }
}
@media print { .map-card, .band, .panel-actions { display: none; } .location { grid-template-columns: 1fr; } }
