/* ==========================================================================
   Saguni Ltd, saguniltd.com
   Dark "statement of record" theme. No dependencies, no build step.
   ========================================================================== */

:root {
  /* surfaces: deep navy-ink, not flat black */
  --ink:        #080C14;
  --ink-2:      #0B111B;
  --slab:       #0F1622;
  --slab-2:     #131C2A;
  --line:       #1D2838;
  --line-soft:  #16202C;

  /* text */
  --paper:      #EEF3F9;
  --paper-dim:  #C3CEDC;
  --muted:      #8D9BAC;
  --muted-2:    #67748A;

  /* accent */
  --accent:      #4C9BFF;
  --accent-soft: #7BB6FF;
  --accent-deep: #1E5FD0;
  --accent-ink:  #04122E;

  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --wrap: 1200px;
  --gut: 24px;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  --shadow-card: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.55);
  --shadow-lift: 0 2px 4px rgba(0,0,0,.45), 0 24px 48px -16px rgba(0,0,0,.65);

  --tap: 48px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--paper-dim);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* faint ledger columns behind the page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to right,
    rgba(124, 156, 200, 0.05) 0 1px,
    transparent 1px 140px
  );
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0) 70%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.6), rgba(0,0,0,0) 70%);
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gut);
  position: relative;
  z-index: 1;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--paper); text-decoration: none; }
a:hover { color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: #04122E; padding: 10px 16px;
  font-family: var(--mono); font-size: 12px; z-index: 99;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 18px;
}

h1 { font-size: clamp(2.05rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.1vw, 2.1rem); }
h3 { font-size: 1.1rem; letter-spacing: 0; line-height: 1.35; }
h4 { font-size: 0.98rem; letter-spacing: 0; }

p { margin: 0 0 18px; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  color: var(--paper-dim);
  line-height: 1.65;
  max-width: 48ch;
}

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
}

.small { font-size: 0.86rem; color: var(--muted); }

ul.plain { list-style: none; margin: 0 0 18px; padding: 0; }
ul.plain li { position: relative; padding-left: 20px; margin-bottom: 9px; font-size: 0.93rem; }
ul.plain li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.72em;
  width: 8px; height: 1px;
  background: var(--accent);
}

/* ---------- header ---------- */

.site-head {
  position: sticky; top: 0; z-index: 40;
  background: rgba(6, 9, 14, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}

.head-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; height: 68px;
}

.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img.mark { width: 26px; height: 26px; opacity: .95; }
.brand img.word { height: 17px; width: auto; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--accent); padding-bottom: 3px; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line);
  color: var(--paper); font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px; cursor: pointer; border-radius: 2px;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 84px 0 74px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.hero-watermark {
  position: absolute;
  right: -150px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  max-width: none;
  opacity: .05;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: start;
}

.hero-grid.single {
  grid-template-columns: minmax(0, 760px);
}

.hero h1 { margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--accent); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 13px 20px; border-radius: 2px;
  border: 1px solid var(--line);
  color: var(--paper);
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.btn:hover { border-color: var(--accent); color: var(--paper); background: rgba(94,176,138,.08); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #04231a; font-weight: 500; }
.btn-primary:hover { background: #6dc39a; border-color: #6dc39a; color: #04231a; }

/* ---------- particulars panel ---------- */

.record {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--slab-2), var(--slab));
  border-radius: 3px;
}

.record-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2);
}
.record-head strong { color: var(--paper); font-weight: 500; letter-spacing: 0.18em; }

dl.record-body { margin: 0; }

.record-row {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 0.9rem;
}
.record-row:last-child { border-bottom: 0; }
.record-row dt {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--muted-2); padding-top: 3px;
}
.record-row dd { margin: 0; color: var(--paper); overflow-wrap: anywhere; }
.record-row dd span { display: block; color: var(--muted); font-size: 0.84rem; }

/* ---------- sections ---------- */

.band { padding: 74px 0; border-bottom: 1px solid var(--line-soft); }
.band.alt { background: var(--ink-2); }
.band-tight { padding: 56px 0; }

.rule {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px;
  padding-bottom: 12px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.rule .rule-label {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
}
.rule .rule-meta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-align: right;
}

.section-intro { max-width: 62ch; margin-bottom: 42px; }

/* ---------- cards ---------- */

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }

.card {
  border: 1px solid var(--line);
  background: var(--slab);
  border-radius: 3px;
  padding: 26px 24px 28px;
  transition: border-color .2s ease;
}
.card:hover { border-color: #24384a; }
.card .card-ref {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted-2);
  display: block; margin-bottom: 16px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-soft);
}
.card h3 { margin-bottom: 12px; color: var(--paper); }
.card p { font-size: 0.93rem; color: var(--muted); }
.card ul.plain li { color: var(--muted); }

/* ---------- ledger rows ---------- */

.ledger { border-top: 1px solid var(--line); }
.ledger-row {
  display: grid;
  grid-template-columns: 190px minmax(0,1fr) 160px;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.ledger-row .l-key { font-family: var(--display); font-size: 1.02rem; color: var(--paper); }
.ledger-row .l-val { font-size: 0.93rem; color: var(--muted); }
.ledger-row .l-val strong { color: var(--paper-dim); font-weight: 500; }
.ledger-row .l-tag {
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2); text-align: right; overflow-wrap: anywhere;
}
.ledger-row .l-tag.on { color: var(--accent); }

/* ---------- notice ---------- */

.notice {
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent-dim);
  background: var(--slab);
  padding: 24px 26px;
  border-radius: 3px;
}
.notice h3 { font-size: 1rem; margin-bottom: 10px; }
.notice p { font-size: 0.92rem; color: var(--muted); }

/* ---------- prose (legal pages) ---------- */

.prose { max-width: 74ch; }
.prose h2 {
  font-size: 1.28rem;
  margin-top: 46px; margin-bottom: 14px;
  padding-top: 22px;
  border-top: 1px solid var(--line-soft);
}
.prose h2:first-of-type { margin-top: 8px; border-top: 0; padding-top: 0; }
.prose h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1rem; }
.prose p, .prose li { font-size: 0.95rem; }
.prose ul { padding-left: 20px; margin: 0 0 18px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--paper); font-weight: 500; }

.doc-meta {
  font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted-2);
  padding: 14px 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 38px;
  display: flex; flex-wrap: wrap; gap: 8px 28px;
}

/* ---------- contact ---------- */

.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px; }
.contact-card { border: 1px solid var(--line); background: var(--slab); border-radius: 3px; padding: 28px 26px; }
.contact-card .k {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-2); display: block; margin-bottom: 12px;
}
.contact-card .v { font-family: var(--display); font-size: 1.16rem; color: var(--paper); overflow-wrap: anywhere; }
.contact-card .v a { border-bottom: 1px solid var(--accent-dim); }
.contact-card address { font-style: normal; color: var(--paper); font-size: 1rem; line-height: 1.65; }

/* ---------- cta ---------- */

.cta { text-align: center; padding: 76px 0; }
.cta h2 { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta .lede { margin: 0 auto 26px; text-align: center; max-width: 54ch; }
.cta .hero-actions { justify-content: center; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding: 54px 0 30px;
  font-size: 0.88rem;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-grid img.word { height: 16px; width: auto; margin-bottom: 18px; opacity: .9; }
.foot-grid address { font-style: normal; color: var(--muted); line-height: 1.75; font-size: 0.86rem; }
.foot-col h4 {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-2); margin-bottom: 16px; font-weight: 500;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li { margin-bottom: 10px; }
.foot-col a { color: var(--muted); font-size: 0.88rem; overflow-wrap: anywhere; }
.foot-col a:hover { color: var(--paper); }

.foot-base {
  margin-top: 44px; padding-top: 22px;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2);
}

/* ---------- motion ---------- */

.reveal { opacity: 0; transform: translateY(12px); animation: rise .7s cubic-bezier(.2,.7,.3,1) forwards; }
.reveal.d1 { animation-delay: .08s; }
.reveal.d2 { animation-delay: .16s; }
.reveal.d3 { animation-delay: .24s; }

@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { animation: none; opacity: 1; transform: none; }
  * { transition: none !important; }
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .cols-3 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-watermark { right: -240px; opacity: .035; }
}

@media (max-width: 720px) {
  .nav {
    display: none;
    position: absolute; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--ink-2); border-bottom: 1px solid var(--line);
    padding: 8px var(--gut) 18px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line-soft); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--accent); }
  .nav-toggle { display: inline-block; }
  .site-head { position: relative; }

  .hero { padding: 52px 0 50px; }
  .hero-watermark { display: none; }
  .band { padding: 52px 0; }
  .cols-3, .cols-2, .contact-grid { grid-template-columns: minmax(0,1fr); }
  .foot-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .ledger-row { grid-template-columns: minmax(0,1fr); gap: 6px; padding: 18px 0; }
  .ledger-row .l-tag { text-align: left; }
  .record-row { grid-template-columns: minmax(0,1fr); gap: 4px; }
  .rule { flex-direction: column; gap: 6px; }
  .rule .rule-meta { text-align: left; }
}

/* ==========================================================================
   PREMIUM UPGRADE LAYER
   Appended deliberately: overrides the base sheet at equal specificity so the
   original rules stay readable. Order matters, keep this block last.
   ========================================================================== */

/* ---------- 1. Foundation: legibility and rhythm ---------- */

body {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--paper-dim);
  background:
    radial-gradient(1100px 600px at 82% -10%, rgba(76,155,255,.06), transparent 62%),
    radial-gradient(800px 500px at 0% 4%, rgba(60,96,150,.10), transparent 60%),
    var(--ink);
  background-attachment: fixed;
}

/* the repeating vertical rules read as noise at small sizes, so they are retired */
body::before { display: none; }

h1, h2, h3, h4 { font-weight: 600; color: var(--paper); }
h1 {
  font-size: clamp(2.3rem, 1.35rem + 3.4vw, 4rem);
  line-height: 1.06;
  letter-spacing: -0.028em;
}
h2 {
  font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.5rem);
  line-height: 1.14;
  letter-spacing: -0.022em;
}
h3 { font-size: 1.16rem; font-weight: 600; letter-spacing: -0.008em; line-height: 1.35; }

/* optimal measure: prose never runs past ~72 characters */
p { max-width: 72ch; }
.lede { max-width: 60ch; font-size: clamp(1.06rem, .98rem + .42vw, 1.28rem); line-height: 1.58; color: var(--paper-dim); }
.card p, .l-val, .foot-col p { max-width: none; }

.eyebrow { font-size: 11.5px; letter-spacing: 0.24em; color: var(--accent); }

/* ---------- 2. Header: taller, calmer, properly tappable ---------- */

.site-head { border-bottom: 1px solid var(--line-soft); background: rgba(8,12,20,.82); }
.head-inner { height: 76px; gap: 28px; }
.brand img.mark { width: 30px; height: 30px; }
.brand img.word { height: 19px; }

.nav { gap: 30px; }
.nav a {
  font-family: var(--body);
  font-size: 14.5px;
  letter-spacing: 0.005em;
  text-transform: none;
  color: var(--paper-dim);
  display: inline-flex; align-items: center;
  min-height: var(--tap);
  transition: color .18s ease;
}
.nav a:hover { color: var(--paper); }
.nav a[aria-current="page"] { color: var(--paper); border-bottom: none; padding-bottom: 0; position: relative; }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 16px;
  height: 2px; background: var(--accent); border-radius: 2px;
}

/* header CTA: contact is always one tap away */
.nav .nav-cta {
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  padding: 0 20px;
  border-radius: var(--r-sm);
  min-height: 44px;
  transition: background .18s ease, transform .18s ease;
}
.nav .nav-cta:hover { background: var(--accent-soft); color: var(--accent-ink); }
.nav .nav-cta::after { display: none; }

.nav-toggle {
  min-height: var(--tap); min-width: var(--tap);
  display: none; align-items: center; justify-content: center;
  border-radius: var(--r-sm); border-color: var(--line);
  font-size: 12px; letter-spacing: .1em;
}

/* ---------- 3. Buttons: 48px targets, confident hierarchy ---------- */

.btn {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  min-height: var(--tap);
  padding: 14px 26px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  color: var(--paper);
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { border-color: var(--muted-2); background: rgba(255,255,255,.04); transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 24px -10px rgba(76,155,255,.55);
}
.btn-primary:hover {
  background: var(--accent-soft);
  border-color: var(--accent-soft);
  color: var(--accent-ink);
  box-shadow: 0 12px 32px -10px rgba(76,155,255,.7);
}

/* ---------- 4. Depth: cards stop looking like wireframes ---------- */

.card {
  background: linear-gradient(180deg, var(--slab-2), var(--slab));
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(76,155,255,.34);
  box-shadow: var(--shadow-lift);
}
.card-ref { color: var(--accent); letter-spacing: .18em; }

.record { border-radius: var(--r-md); box-shadow: var(--shadow-card); overflow: hidden; }
.contact-card { border-radius: var(--r-md); box-shadow: var(--shadow-card); }

/* ---------- 5. Section rhythm ---------- */

.band { padding: 96px 0; }
.band.alt { background: linear-gradient(180deg, rgba(15,22,34,.6), rgba(8,12,20,0)); }
.rule { margin-bottom: 44px; }
.rule-label { color: var(--accent); letter-spacing: .2em; }

/* ---------- 6. MASTER HERO ---------- */

.hero { padding: clamp(56px, 7vw, 108px) 0 clamp(56px, 6.5vw, 96px); border-bottom: 1px solid var(--line-soft); }
.hero-watermark { display: none; }

.hero--home .hero-grid {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.hero--home .hero-copy { max-width: 40rem; }
.hero--home h1 { margin-bottom: 24px; }
.hero--home h1 em { font-style: normal; color: var(--accent); }
.hero--home .lede { max-width: 34rem; margin-bottom: 0; }
.hero-actions { gap: 14px; margin-top: 34px; }

/* trust strip: credibility without a data table */
.hero-trust {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 22px;
  margin-top: 34px; padding-top: 26px;
  border-top: 1px solid var(--line-soft);
}
.hero-trust span {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--mono); font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.hero-trust span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(76,155,255,.16);
}

/* brand panel: the visual half of the split */
.hero-panel {
  position: relative;
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    radial-gradient(90% 90% at 50% 12%, rgba(76,155,255,.11), transparent 66%),
    linear-gradient(160deg, var(--slab-2), var(--ink-2) 70%);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}
.hero-panel::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(140,170,205,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140,170,205,.05) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 76%);
  mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent 76%);
}
.hero-panel img {
  position: relative; z-index: 1;
  width: 46%; max-width: 210px; height: auto;
  opacity: .96;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,.6));
}
.hero-panel figcaption {
  position: absolute; z-index: 1; left: 0; right: 0; bottom: 22px;
  text-align: center;
  font-family: var(--mono); font-size: 10.5px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2);
}

/* ---------- 7. Responsive firewall ---------- */

@media (max-width: 1024px) {
  .hero--home .hero-grid { grid-template-columns: minmax(0, 6.4fr) minmax(0, 5.6fr); gap: 44px; }
  .band { padding: 76px 0; }
}

/* hamburger arrives before the nav can crowd the logo */
@media (max-width: 900px) {
  .nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2);
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line);
    padding: 6px var(--gut) 20px;
    box-shadow: var(--shadow-lift);
  }
  .nav.open { display: flex; }
  .nav a {
    width: 100%; min-height: 56px;
    padding: 0; font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .nav .nav-cta {
    justify-content: center;
    margin-top: 14px; min-height: 52px;
    border-bottom: none;
  }
  .nav-toggle { display: inline-flex; }
  .site-head { position: sticky; }
}

/* single-column hero: panel below the copy, never squashed beside it */
@media (max-width: 820px) {
  .hero--home .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero--home .hero-copy { max-width: 100%; }
  .hero-panel { aspect-ratio: 16 / 10; max-height: 320px; }
  .hero-panel img { width: 30%; max-width: 150px; }
}

@media (max-width: 640px) {
  :root { --gut: 20px; }
  .band { padding: 60px 0; }
  .hero { padding: 44px 0 52px; }
  .hero-actions { gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-trust { gap: 12px 18px; margin-top: 28px; padding-top: 22px; }
  .hero-panel { aspect-ratio: 3 / 2; max-height: 240px; }
  p, .lede { max-width: 100%; }
  .card { padding: 24px 20px; }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--shadow-card); }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .card:hover, .btn:hover { transform: none; }
}

/* hero trust strip is a list, so default list chrome */
.hero-panel { margin: 0; }
.hero-trust { list-style: none; margin: 34px 0 0; padding: 26px 0 0; }
.hero-trust li { margin: 0; }

/* figcaption was AA-large only at 10.5px, lifted to a compliant tone */
.hero-panel figcaption { color: var(--muted); }

/* ==========================================================================
   HERO PANEL: photographic treatment
   Overrides the earlier abstract brand panel. Keep last.
   ========================================================================== */

.hero-panel {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--slab);
  box-shadow: var(--shadow-lift);
  overflow: hidden;
}

/* the decorative grid belonged to the old abstract panel */
.hero-panel::before { display: none; }

.hero-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  opacity: 1;
  filter: saturate(.92) contrast(1.02) brightness(.96);
}

/* scrim: seats a bright photograph in a dark page and keeps the caption legible */
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8,12,20,.82) 0%, rgba(8,12,20,.24) 38%, rgba(8,12,20,0) 66%),
    linear-gradient(to right, rgba(8,12,20,.30), rgba(8,12,20,0) 42%);
  pointer-events: none;
}

.hero-panel figcaption {
  position: absolute;
  z-index: 2;
  left: 0; right: 0; bottom: 20px;
  text-align: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--paper-dim);
}

@media (max-width: 820px) {
  .hero-panel { aspect-ratio: 16 / 9; max-height: none; }
}

@media (max-width: 640px) {
  .hero-panel { aspect-ratio: 4 / 3; max-height: none; }
  .hero-panel figcaption { bottom: 14px; font-size: 10px; }
}

/* utility classes replacing former inline style attributes, so the CSP can
   forbid unsafe-inline in style-src */
.pad-y-90 { padding-top: 90px; padding-bottom: 90px; }
.pad-t-64 { padding-top: 64px; }
.mt-22 { margin-top: 22px; }
.mt-24 { margin-top: 24px; }
