/* ==========================================================================
   ONE INDIA LEAGUE — Design System v3
   Rebuilt for clarity. One idea per section, one job per component.
   Two typefaces, four colours, thirteen components. Nothing decorative.
   ========================================================================== */

/* ---------- 1. TOKENS ---------- */
:root {
  /* colour — near-black, warm off-white, one vivid accent. Nothing else. */
  --ink:    #101214;      /* near-black: text and dark surfaces */
  --ink-2:  #191d21;      /* elevated dark surface */
  --ink-3:  #2a2f35;      /* hairlines on dark */
  --paper:  #fbfaf7;      /* warm off-white — softer than #fff, per 2026 */
  --card:   #ffffff;      /* cards lift off the paper */
  --sand:   #f2f0ea;      /* alternating section */
  --line:   #e4e1d9;
  --muted:  #585e66;      /* 7.1:1 on paper */

  --volt:   #ccf24a;      /* the single accent. Surfaces only, never text on light */
  --volt-2: #b8dd35;      /* pressed state */
  --volt-ink: #3d4a0a;    /* the accent as readable text on light — 7.4:1 */
  --live:   #ff5c33;      /* the live dot only */

  /* type */
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* rhythm — an 8px scale, nothing in between */
  --s1: .5rem;  --s2: 1rem;  --s3: 1.5rem;  --s4: 2rem;
  --s5: 3rem;   --s6: 4rem;  --s7: 6rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --shell: 1200px;
  --pad-y: clamp(3.5rem, 7vw, 6.5rem);

  --r: 3px;               /* one radius, used everywhere */
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- 2. RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;          /* 17px — comfortable, never below 16 */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  overflow-wrap: break-word;
  -webkit-tap-highlight-color: rgba(227, 176, 75, .25);
}
img, svg, video { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--volt); outline-offset: 2px; border-radius: 2px; }
::selection { background: var(--volt); color: var(--ink); }

/* ---------- 3. TYPE ---------- */
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 900;
  font-variation-settings: "wdth" 86;   /* condensed — sporty, still official */
  text-transform: uppercase;
  line-height: 1;
  letter-spacing: -.018em;
}
h1 { font-size: clamp(2.75rem, 6.6vw, 5.25rem); line-height: .88; }
h2 { font-size: clamp(2.05rem, 4.2vw, 3.4rem); line-height: .94; }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); font-variation-settings: "wdth" 92; line-height: 1.12; }
h4 { font-size: 1rem; font-variation-settings: "wdth" 94; }

p { max-width: 68ch; }             /* 50–75 characters, as the research says */
.lead { font-size: clamp(1.1rem, 1.3vw, 1.25rem); line-height: 1.55; color: var(--muted); }
.small { font-size: .9375rem; }
.muted { color: var(--muted); }

.label {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--volt-ink); justify-self: start;
}
.label::before { content: ""; width: 18px; height: 2px; background: var(--volt); flex: none; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- 4. LAYOUT ---------- */
.shell { width: min(100% - var(--gutter) * 2, var(--shell)); margin-inline: auto; }
.section { padding-block: var(--pad-y); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.mist { background: var(--sand); }
.dark { background: var(--ink); color: var(--paper); position: relative; }
.dark > * { position: relative; z-index: 1; }
.dark::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: var(--grain); opacity: .16;
}
.dark .muted, .dark .lead { color: rgba(255, 255, 255, .72); }
.dark .label { color: var(--volt); }
.dark hr, hr { border: 0; height: 1px; background: var(--line); }
.dark hr { background: rgba(255, 255, 255, .16); }

/* a section opener: label, heading, one sentence, optional link */
.head { display: grid; gap: var(--s2); margin-bottom: var(--s5); max-width: 62ch; }
.head--row {
  max-width: none; grid-template-columns: minmax(0, 1fr) auto;
  align-items: end; gap: var(--s3) var(--s4);
}
.head--row > .headtext { display: grid; gap: var(--s2); max-width: 54ch; }
@media (max-width: 720px) {
  .head--row { grid-template-columns: 1fr; align-items: start; }
}

.grid { display: grid; gap: var(--s3); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.stack { display: grid; gap: var(--s2); }
.row { display: flex; flex-wrap: wrap; gap: var(--s2); align-items: center; }
.row--between { justify-content: space-between; }
.mt1 { margin-top: var(--s2); } .mt2 { margin-top: var(--s4); } .mt3 { margin-top: var(--s5); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.no-scroll { overflow: hidden; }

/* ---------- 5. BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 52px; padding: 0 1.7rem; border-radius: var(--r);
  font-size: .9375rem; font-weight: 600; letter-spacing: .02em;
  transition: background .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease);
}
.btn--gold { background-color: var(--volt); color: var(--ink); font-weight: 700; box-shadow: 0 8px 22px -12px rgba(204,242,74,.9); }
.btn--gold:hover { background-color: var(--volt-2); box-shadow: 0 10px 26px -10px rgba(204,242,74,.95); }
.btn--navy { background: var(--ink); color: var(--paper); }
.btn--navy:hover { background: var(--ink-2); }
.btn--line { box-shadow: inset 0 0 0 1.5px var(--line); color: var(--ink); }
.btn--line:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.dark .btn--line,
.darker .btn--line,
.shot-bg .btn--line { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.42); color: var(--paper); }
.dark .btn--line:hover,
.darker .btn--line:hover,
.shot-bg .btn--line:hover { background: rgba(255,255,255,.14); box-shadow: inset 0 0 0 1.5px var(--paper); }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: .875rem; }
.btn--block { width: 100%; }
.btn svg, .btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

.tlink {
  display: inline-flex; align-items: center; gap: var(--s1);
  font-weight: 600; font-size: .9375rem; color: var(--ink);
  border-bottom: 2px solid var(--volt); padding-bottom: 2px;
  transition: gap .2s var(--ease);
}
.tlink:hover { gap: .85rem; }
.dark .tlink { color: var(--paper); }

/* ---------- 6. SMALL PIECES ---------- */
.pill {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: .3rem .7rem; border-radius: 100px; background: var(--sand);
  font-size: .8125rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  justify-self: start; align-self: start;
}
.dark .pill { background: rgba(255,255,255,.1); color: rgba(255,255,255,.82); }
.pill--gold { background: rgba(204,242,74,.22); color: var(--volt-ink); }
.dark .pill--gold { background: rgba(204,242,74,.24); color: var(--volt); }

.live { display: inline-flex; align-items: center; gap: .45rem; font-size: .8125rem; font-weight: 600; }
.live::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--live);
  box-shadow: 0 0 0 0 rgba(201,69,42,.6); animation: ping 2s infinite;
}
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(201,69,42,0); } 100% { box-shadow: 0 0 0 0 rgba(201,69,42,0); } }

/* ---------- 7. HEADER ---------- */
.topbar {
  background: var(--ink); color: rgba(255,255,255,.88);
  font-size: .8125rem; padding-block: .5rem;
}
.topbar .shell { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.topbar a { color: var(--volt); font-weight: 600; white-space: nowrap; }
.topbar a:hover { text-decoration: underline; }
.topbar__note { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: var(--s4); min-height: 76px; }
.brand { display: flex; align-items: center; gap: .65rem; flex: 0 1 auto; min-width: 0; }
.brand img { height: clamp(48px, 5.4vw, 62px); width: auto; }
.brand__txt { display: grid; line-height: 1.1; min-width: 0; }
.brand__txt b, .brand__txt span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.brand__txt b {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94;
  font-size: 1.05rem; text-transform: uppercase; letter-spacing: -.01em;
}
.brand__txt span { font-size: .6875rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); margin-left: auto; }
.nav__links a {
  position: relative; font-size: .9375rem; font-weight: 500; color: var(--muted);
  padding-block: .4rem; transition: color .2s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--volt);
  transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__cta { flex: none; }

.burger { display: none; width: 48px; height: 48px; margin-left: auto; place-items: center; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; transition: background .2s; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease), top .2s var(--ease);
}
.burger span::before { top: -7px; } .burger span::after { top: 7px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.burger[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

.drawer {
  position: fixed; inset: 0; z-index: 45; background: var(--paper);
  padding: 96px var(--gutter) calc(var(--s4) + env(safe-area-inset-bottom, 0px));
  display: grid; align-content: start; gap: var(--s1);
  height: 100dvh; overflow-y: auto; overscroll-behavior: contain;
  transform: translateY(-100%); transition: transform .35s var(--ease); visibility: hidden;
}
.drawer[data-open="true"] { transform: none; visibility: visible; }
.drawer a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--s2) 0; border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 90;
  font-size: 1.6rem; text-transform: uppercase;
}
.drawer a::after { content: "→"; color: var(--volt); font-family: var(--body); font-size: 1.1rem; }
.drawer .btn { margin-top: var(--s3); }

/* the crest already reads "One India League" — drop the wordmark when tight */
@media (max-width: 460px) {
  .brand__txt { display: none; }
  .brand img { height: 52px; }
}

@media (max-width: 1000px) {
  .nav__links { display: none; }
  .burger { display: grid; }
  .nav__cta { display: none; }
  .nav { min-height: 68px; gap: var(--s2); }
}

/* ---------- 8. HERO ---------- */
.hero { padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__copy { display: grid; gap: var(--s3); align-content: center; }
.hero h1 em { font-style: normal; color: var(--volt-ink); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s1); }
.hero__trust { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); padding-top: var(--s3); border-top: 1px solid var(--line); }
.hero__trust div { display: grid; }
.hero__trust b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94; font-size: 1.5rem; }
.hero__trust span { font-size: .8125rem; color: var(--muted); }

.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.hero__badge {
  position: absolute; left: var(--s3); bottom: var(--s3); right: var(--s3);
  background: var(--paper); border-radius: var(--r); padding: var(--s2) var(--s3);
  box-shadow: 0 12px 32px -18px rgba(16,18,20,.6);
  display: grid; gap: .35rem;
}
.hero__badge b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94; font-size: 1.05rem; text-transform: uppercase; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: var(--s4); }
  .hero__media { order: -1; }
  .hero__media img { aspect-ratio: 16 / 10; }
}

/* ---------- 9. COUNTDOWN ---------- */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-radius: var(--r); overflow: hidden; }
.dark .countdown { background: rgba(255,255,255,.18); }
.countdown div { background: var(--paper); padding: var(--s2) .4rem; text-align: center; }
.dark .countdown div { background: var(--ink); }
.countdown b {
  display: block; font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94;
  font-size: clamp(1.4rem, 3vw, 2rem); font-variant-numeric: tabular-nums; line-height: 1;
}
.countdown span { font-size: .6875rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.dark .countdown span { color: rgba(255,255,255,.6); }

/* ---------- 10. STATS ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr)); gap: 1px; background: var(--line); }
.dark .stats { background: rgba(255,255,255,.16); }
.stats > div { background: var(--paper); padding: var(--s3) var(--s2); display: grid; gap: .25rem; }
.mist .stats > div { background: var(--sand); }
.dark .stats > div { background: var(--ink); }
.stats b {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94;
  font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.stats span { font-size: .8125rem; color: var(--muted); }
.dark .stats span { color: rgba(255,255,255,.66); }

/* ---------- 11. CARDS ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; display: grid; grid-template-rows: auto 1fr;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card:hover { border-color: var(--ink); box-shadow: 0 14px 34px -24px rgba(16,18,20,.55); }
a.card:hover { transform: translateY(-3px); }
.card__img { aspect-ratio: 4 / 3; background: var(--sand); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.04); }
.card__body { padding: var(--s3); display: grid; gap: var(--s1); align-content: start; }
.card__body p { font-size: .9375rem; color: var(--muted); }
.card__foot {
  margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: var(--s2);
  font-size: .875rem;
}
.dark .card { background: var(--ink-2); border-color: rgba(255,255,255,.14); }
.dark .card__body p, .dark .card__foot { color: rgba(255,255,255,.72); }
.dark .card__foot { border-top-color: rgba(255,255,255,.14); }

/* ---------- 12. SPLIT (image + words) ---------- */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.split--tall img { aspect-ratio: 3 / 4; }
.split__words { display: grid; gap: var(--s2); }
.split--flip img { order: 1; }
@media (max-width: 760px) { .split--flip img { order: -1; } }

/* ---------- 13. STEPS ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: var(--s3); counter-reset: step; }
.step { display: grid; gap: var(--s1); align-content: start; padding-top: var(--s3); border-top: 2px solid var(--ink); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94;
  font-size: .9rem; color: var(--volt-ink); letter-spacing: .06em;
}
.dark .step { border-top-color: var(--volt); }
.dark .step::before { color: var(--volt); }
.step p { font-size: .9375rem; color: var(--muted); }

/* ---------- 14. LIST ROWS (fixtures, results, standings) ---------- */
.rows { border-top: 1px solid var(--line); }
.dark .rows { border-top-color: rgba(255,255,255,.16); }
.rowitem {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: var(--s3); align-items: center; padding: var(--s3) 0;
  border-bottom: 1px solid var(--line); transition: background .2s var(--ease);
}
.dark .rowitem { border-bottom-color: rgba(255,255,255,.16); }
.rowitem__date { display: grid; }
.rowitem__date b { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94; font-size: 1.3rem; line-height: 1; }
.rowitem__date span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.dark .rowitem__date span { color: rgba(255,255,255,.6); }
.rowitem__main { display: grid; gap: .25rem; min-width: 0; }
.rowitem__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; font-size: .875rem; color: var(--muted); }
.dark .rowitem__meta { color: rgba(255,255,255,.66); }
.rowitem__end { display: flex; align-items: center; gap: var(--s2); justify-content: flex-end; }
.score { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94; font-size: 1.15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 720px) {
  .rowitem { grid-template-columns: 60px minmax(0, 1fr); gap: var(--s2); }
  .rowitem__end { grid-column: 1 / -1; justify-content: flex-start; padding-top: var(--s1); }
}

/* ---------- 15. TABLE ---------- */
.tablewrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); }
.dark .tablewrap { border-color: rgba(255,255,255,.16); }
.tablewrap table { min-width: 560px; font-size: .9375rem; }
th, td { padding: var(--s2) var(--s3); text-align: left; }
th { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); background: var(--sand); }
.dark th { background: var(--ink-2); color: rgba(255,255,255,.7); }
tbody tr { border-top: 1px solid var(--line); }
.dark tbody tr { border-top-color: rgba(255,255,255,.14); }
td.n, th.n { text-align: right; font-variant-numeric: tabular-nums; }
tr.lead-row td { font-weight: 600; }
tr.lead-row td:first-child { box-shadow: inset 3px 0 0 var(--volt); }

/* ---------- 16. PRICE / TIER ---------- */
.tier {
  border: 1px solid var(--line); border-radius: var(--r); padding: var(--s4);
  display: grid; gap: var(--s2); align-content: start; background: var(--paper);
}
.tier--lead { border: 2px solid var(--ink); }
.tier__price { font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 94; font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1; }
.tier__price small { display: block; font-family: var(--body); font-size: .8125rem; font-weight: 400; color: var(--muted); margin-top: .35rem; }
.tier ul { display: grid; gap: .6rem; font-size: .9375rem; }
.tier li { display: grid; grid-template-columns: 18px 1fr; gap: var(--s1); align-items: start; }
.tier li::before { content: "✓"; color: var(--volt-ink); font-weight: 700; font-size: .875rem; line-height: 1.6; }
.tier li.no { color: var(--muted); } .tier li.no::before { content: "–"; color: var(--muted); }

/* ---------- 17. FORM ---------- */
.field { display: grid; gap: .4rem; }
.field label { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--paper); transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(227,176,75,.28);
}
.field textarea { min-height: 120px; resize: vertical; }
.formgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--s2); }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .9375rem; color: var(--muted); }
.check input { width: 18px; height: 18px; flex: none; margin-top: .25rem; accent-color: var(--volt); }
.dark .field input, .dark .field select, .dark .field textarea {
  background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); color: var(--paper);
}
.dark .field input::placeholder, .dark .field textarea::placeholder { color: rgba(255,255,255,.5); }
.dark .check { color: rgba(255,255,255,.75); }

/* ---------- 18. FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  padding: var(--s3) 0; text-align: left; font-weight: 600; font-size: 1.0625rem;
}
.faq__q::after { content: "+"; font-size: 1.4rem; color: var(--volt-ink); transition: transform .25s var(--ease); flex: none; }
.faq__item[data-open="true"] .faq__q::after { transform: rotate(45deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding-bottom: var(--s3); color: var(--muted); }

/* ---------- 19. GALLERY ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--s2); }
.shot { position: relative; overflow: hidden; border-radius: var(--r); background: var(--sand); cursor: zoom-in; aspect-ratio: 4/3; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shot:hover img { transform: scale(1.04); }
.shot figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2.5rem var(--s2) var(--s2);
  /* solid floor as well as the gradient, so the caption stays readable even
     if the photograph behind it never loads */
  background-color: rgba(16,18,20,.62);
  background-image: linear-gradient(transparent, rgba(16,18,20,.9)); color: #fff;
  font-size: .8125rem; font-weight: 500;
}
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(16,18,20,.96); display: grid; place-items: center; padding: var(--gutter); opacity: 0; pointer-events: none; transition: opacity .25s var(--ease); }
.lightbox[data-open="true"] { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: min(100%, 1000px); max-height: 80vh; object-fit: contain; border-radius: var(--r); }
.lightbox p { color: rgba(255,255,255,.75); font-size: .875rem; text-align: center; margin-top: var(--s2); max-width: none; }
.lightbox button { position: absolute; top: var(--s3); right: var(--s3); color: #fff; width: 48px; height: 48px; font-size: 1.5rem; }

/* ---------- 20. LOGO STRIP ---------- */
.logos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(50%, 180px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.logos a, .logos > div { background: var(--paper); padding: var(--s3) var(--s2); display: grid; place-items: center; gap: var(--s1); transition: background .2s var(--ease); }
.logos a:hover { background: var(--sand); }
.logos img { max-height: 46px; width: auto; object-fit: contain; }
.logos span { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* ---------- 21. CTA BAND ---------- */
.cta { text-align: center; display: grid; gap: var(--s3); justify-items: center; }
.cta p { margin-inline: auto; }

/* ---------- 22. FOOTER ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.78); padding-block: var(--s6) var(--s4); }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: var(--s4); padding-bottom: var(--s5); border-bottom: 1px solid rgba(255,255,255,.16); }
.footer__col h4 { font-family: var(--body); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: var(--s2); }
.footer__col a { display: block; padding: .3rem 0; font-size: .9375rem; color: rgba(255,255,255,.8); }
.footer__col a:hover { color: var(--volt); }
.footer__bottom { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s4); justify-content: space-between; padding-top: var(--s3); font-size: .8125rem; color: rgba(255,255,255,.55); }
.footer__brand img { height: 68px; width: auto; margin-bottom: var(--s2); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; gap: var(--s3); } }

/* ---------- 23. REVEAL + TOAST ---------- */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.rv.on { opacity: 1; transform: none; }
.rv[data-d="1"] { transition-delay: .07s; }
.rv[data-d="2"] { transition-delay: .14s; }
.rv[data-d="3"] { transition-delay: .21s; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 140%);
  background: var(--ink); color: #fff; padding: .85rem 1.25rem; border-radius: var(--r);
  font-size: .9375rem; z-index: 95; max-width: calc(100vw - 2rem);
  box-shadow: 0 16px 40px -20px rgba(0,0,0,.7); transition: transform .35s var(--ease);
}
.toast[data-up="true"] { transform: translate(-50%, 0); }

/* ---------- 24. NOTICE (payment result) ---------- */
.notice { border: 1px solid var(--line); border-left: 4px solid var(--volt); border-radius: var(--r); padding: var(--s3); display: grid; gap: var(--s1); background: var(--sand); }
.notice--ok { border-left-color: #2e7d4f; }
.notice--warn { border-left-color: var(--live); }
.notice h3 { font-family: var(--body); font-size: 1.0625rem; font-weight: 600; text-transform: none; letter-spacing: 0; }

/* ---------- 25. MOTION + PRINT ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .rv { opacity: 1; transform: none; }
}
@media print {
  .topbar, .site-header, .drawer, .site-footer, .btn { display: none !important; }
  body { color: #000; background: #fff; }
}

/* ==========================================================================
   26. BLEED — a full-width photograph with type laid over it
   The scrim is two gradients, not one: a vertical wash so the header and the
   bottom edge stay legible, plus a directional wash so left-aligned copy has
   a dark bed regardless of what the photograph is doing behind it.
   ========================================================================== */
.bleed {
  position: relative; color: var(--paper);
  background: var(--ink) center / cover no-repeat;
  display: grid; align-items: center;
}
.bleed > * { position: relative; z-index: 2; }
.bleed::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(16,18,20,.72) 0%, rgba(16,18,20,.24) 45%, rgba(16,18,20,.84) 100%),
    linear-gradient(94deg, rgba(16,18,20,.86) 0%, rgba(16,18,20,.34) 58%, rgba(16,18,20,.08) 100%),
    var(--grain);
}
.bleed .muted, .bleed .lead { color: rgba(255,255,255,.80); }
.bleed .label { color: var(--volt); }
.bleed .pill { background: rgba(255,255,255,.16); color: #fff; }
.bleed .btn--line { box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); color: #fff; }
.bleed .btn--line:hover { background: rgba(255,255,255,.12); box-shadow: inset 0 0 0 1.5px #fff; }
.bleed hr { background: rgba(255,255,255,.2); }

/* the opening screen */
.bleed--hero {
  min-height: min(94vh, 880px);
  margin-top: calc(-1 * var(--hdr, 76px));
  padding-block: calc(var(--hdr, 76px) + clamp(3rem, 8vh, 6rem)) clamp(3rem, 8vh, 5rem);
  background-image: image-set(url("../img/bg/hero-md.jpg") 1x, url("../img/bg/hero-lg.jpg") 2x);
}
@media (min-width: 900px) {
  .bleed--hero { background-image: url("../img/bg/hero-lg.jpg"); }
}
@media (max-width: 640px) {
  .bleed--hero { background-image: url("../img/bg/hero-sm.jpg"); min-height: min(88vh, 720px); }
}

.bleed--band {
  padding-block: clamp(4.5rem, 10vw, 8rem);
  background-image: url("../img/bg/band-md.jpg");
}
.bleed--cta {
  padding-block: clamp(4rem, 9vw, 7rem);
  background-image: url("../img/bg/cta-md.jpg");
}
@media (min-width: 1100px) {
  .bleed--band { background-image: url("../img/bg/band-lg.jpg"); }
  .bleed--cta  { background-image: url("../img/bg/cta-lg.jpg"); }
}

/* hero contents */
.bleed__inner { display: grid; gap: var(--s3); max-width: min(100%, 720px); }
.bleed--hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); }
.bleed__inner h1 { text-shadow: 0 2px 30px rgba(16,18,20,.5); }
.bleed__inner h1 em { font-style: normal; color: var(--volt); }
.bleed__stats {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5);
  padding-top: var(--s3); margin-top: var(--s1); border-top: 1px solid rgba(255,255,255,.22);
}
.bleed__stats div { display: grid; }
.bleed__stats b {
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 92;
  font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.bleed__stats span { font-size: .8125rem; color: rgba(255,255,255,.7); }

/* a card that floats over the photograph */
.floatcard {
  background: rgba(255,255,255,.10); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(255,255,255,.22); border-radius: var(--r);
  padding: var(--s3); display: grid; gap: .4rem; max-width: 340px;
}
.floatcard b { font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 92; font-size: 1.15rem; text-transform: uppercase; }
.floatcard .small { color: rgba(255,255,255,.76); }

/* scroll cue */
.cue {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: var(--s3);
  font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.66);
}
.cue span { display: block; width: 1px; height: 26px; background: rgba(255,255,255,.4); position: relative; overflow: hidden; }
.cue span::after { content: ""; position: absolute; inset: 0; background: var(--volt); transform: translateY(-100%); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(100%); } 100% { transform: translateY(100%); } }

/* ==========================================================================
   27. HEADER OVER THE HERO
   ========================================================================== */
body.has-hero .site-header {
  background: transparent; border-bottom-color: rgba(255,255,255,.16);
}
/* The header is sticky, so it sits in flow. Pull the hero up underneath it and
   give the hero back that height as padding — now the photograph runs to the
   top of the page and the header floats on it. */
:root { --hdr: 76px; }
@media (max-width: 1000px) { :root { --hdr: 68px; } }
body.has-hero main { margin-top: calc(-1 * var(--hdr)); }
body.has-hero .hero-full,
body.has-hero .pagehead { padding-top: calc(var(--hdr) + clamp(3.5rem, 9vh, 7rem)); }
body.has-hero .site-header .brand__txt b { color: #fff; }
body.has-hero .site-header .brand__txt span,
body.has-hero .site-header .nav__links a { color: rgba(255,255,255,.82); }
body.has-hero .site-header .nav__links a:hover,
body.has-hero .site-header .nav__links a[aria-current="page"] { color: #fff; }
body.has-hero .site-header .burger span,
body.has-hero .site-header .burger span::before,
body.has-hero .site-header .burger span::after { background: #fff; }

body.has-hero .site-header.stuck {
  position: sticky; background: rgba(251,250,247,.98);
  border-bottom-color: var(--line);
  box-shadow: 0 8px 28px -22px rgba(16,18,20,.6);
}
body.has-hero .site-header.stuck .brand__txt b { color: var(--ink); }
body.has-hero .site-header.stuck .brand__txt span { color: var(--muted); }
body.has-hero .site-header.stuck .nav__links a { color: var(--muted); }
body.has-hero .site-header.stuck .nav__links a:hover,
body.has-hero .site-header.stuck .nav__links a[aria-current="page"] { color: var(--ink); }
body.has-hero .site-header.stuck .burger span,
body.has-hero .site-header.stuck .burger span::before,
body.has-hero .site-header.stuck .burger span::after { background: var(--ink); }

/* ==========================================================================
   28. SECTION NUMBERS — quiet editorial structure
   ========================================================================== */
.head--num { position: relative; }
.head--num::before {
  content: attr(data-num);
  position: absolute; right: 0; top: -.2em;
  font-family: var(--display); font-weight: 900; font-variation-settings: "wdth" 92;
  font-size: clamp(3.5rem, 8vw, 6.5rem); line-height: 1;
  color: var(--ink); opacity: .07; pointer-events: none; letter-spacing: -.04em;
}
.dark .head--num::before, .bleed .head--num::before { color: #fff; opacity: .1; }
@media (max-width: 720px) { .head--num::before { display: none; } }

@media (prefers-reduced-motion: reduce) { .cue span::after { animation: none; } }

/* ==========================================================================
   26. FULL-BLEED PHOTOGRAPHY
   The research is unanimous: lead with a single action shot, full width, a
   deep scrim, and as few words as the page can survive on.
   ========================================================================== */

/* Shared scrim + grain. Every photographic surface uses this, so the site
   holds together no matter which photograph sits behind it. */
.shot-bg { position: relative; overflow: hidden; background: var(--ink); }
.shot-bg > * { position: relative; z-index: 2; }

.shot-bg__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: 0;                       /* never negative — iOS drops those */
}
.shot-bg__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  /* Mobile first: the top third stays clear so the photograph reads, then a
     firm bed builds under the copy. The hero is bottom-aligned, so the words
     always land on the dark part. */
  background: linear-gradient(180deg,
    rgba(16,18,20,.34)  0%,
    rgba(16,18,20,.06) 24%,
    rgba(16,18,20,.70) 54%,
    rgba(16,18,20,.95) 100%);
}
@media (min-width: 900px) {
  .shot-bg__veil {
    background:
      linear-gradient(180deg, rgba(16,18,20,.46) 0%, rgba(16,18,20,.08) 40%, rgba(16,18,20,.88) 100%),
      linear-gradient(90deg,  rgba(16,18,20,.74) 0%, rgba(16,18,20,.10) 54%, rgba(16,18,20,0) 100%);
  }
}
.shot-bg--even .shot-bg__veil {
  background: linear-gradient(180deg, rgba(16,18,20,.70), rgba(16,18,20,.86));
}
.shot-bg .muted, .shot-bg .small.muted { color: rgba(255,255,255,.76); }
.shot-bg .pill { background: rgba(255,255,255,.16); color: rgba(255,255,255,.92); }
.shot-bg .pill--volt, .shot-bg .pill--gold { background: rgba(204,242,74,.22); color: var(--volt); }

/* --- the hero ------------------------------------------------------------ */
.hero-full {
  min-height: clamp(560px, 86vh, 860px);
  display: grid; align-items: end;
  padding-block: clamp(5rem, 12vh, 9rem) clamp(2rem, 5vh, 3.5rem);
  color: #fff;
}
.hero-full h1 { font-size: clamp(2.35rem, 8.8vw, 7rem); line-height: .88; }
.hero-full h1 em { font-style: normal; color: var(--volt); }
.hero-full .lead { color: rgba(255,255,255,.82); max-width: 44ch; }
.hero-full__inner { display: grid; gap: var(--s3); }
.hero-full .label { color: var(--volt); }
.hero-full .label::before { background: var(--volt); width: 26px; }

/* the bar that sits across the bottom of the hero */
.hero-bar {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(50%, 150px), 1fr));
  gap: 1px; background: rgba(255,255,255,.18);
  border-top: 2px solid var(--volt); margin-top: var(--s4);
}
.hero-bar > div { background: rgba(16,18,20,.62); padding: var(--s2) var(--s3); display: grid; gap: .15rem; }
.hero-bar b {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 88;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1; font-variant-numeric: tabular-nums;
}
.hero-bar span { font-size: .78rem; color: rgba(255,255,255,.7); }

/* a slow drift on the hero photograph — 4% of travel, nothing showy */
@media (prefers-reduced-motion: no-preference) {
  .hero-full .shot-bg__img { will-change: transform; transition: transform .1s linear; }
}

/* --- photographic section band ------------------------------------------- */
.band { color: #fff; padding-block: clamp(4rem, 9vw, 7rem); }
.band h2 { font-size: clamp(2.1rem, 5vw, 3.8rem); }
.band .lead { color: rgba(255,255,255,.8); }
.band .label { color: var(--volt); }
.band .label::before { background: var(--volt); }

/* --- page heads sit on a photograph too ---------------------------------- */
.pagehead {
  color: #fff; padding-block: clamp(4rem, 10vh, 7rem) clamp(2.5rem, 6vh, 4.5rem);
  display: grid; align-content: end; min-height: clamp(300px, 42vh, 460px);
}
.pagehead h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
.pagehead .lead { color: rgba(255,255,255,.82); }
.pagehead .label { color: var(--volt); }
.pagehead .label::before { background: var(--volt); }
.pagehead .pill { background: rgba(255,255,255,.14); color: rgba(255,255,255,.9); }
.pagehead .pill--gold { background: rgba(204,242,74,.22); color: var(--volt); }

/* ==========================================================================
   27. SCROLL PROGRESS — a single gold hairline, the only chrome we add
   ========================================================================== */
.progress {
  position: fixed; inset: 0 auto auto 0; height: 3px; width: 100%; z-index: 60;
  transform: scaleX(0); transform-origin: left; background-color: var(--volt);
  pointer-events: none;
}

/* ==========================================================================
   28. LIFTED CARDS + GOLD RULES
   ========================================================================== */
.card { background: var(--card); box-shadow: 0 1px 2px rgba(16,18,20,.04); }
.card:hover { box-shadow: 0 22px 44px -28px rgba(16,18,20,.55); }
.card__body h3 { letter-spacing: -.005em; }

/* a numbered step now carries a gold rule and a much larger numeral */
.step { border-top-width: 3px; }
.step::before { font-size: 1.15rem; font-variation-settings: "wdth" 84; }

/* section heads get a hairline above, which reads as structure */
.head > .label { margin-bottom: .2rem; }

/* stats on dark photography */
.band .stats { background: rgba(255,255,255,.2); }
.band .stats > div { background: rgba(16,18,20,.58); }
.band .stats span { color: rgba(255,255,255,.7); }

/* pull quote */
.quote { display: grid; gap: var(--s3); max-width: 24ch; }
.quote blockquote {
  font-family: var(--display); font-weight: 800; font-variation-settings: "wdth" 86;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem); line-height: 1.06; text-transform: uppercase;
  max-width: 18ch;
}
.quote cite { font-style: normal; font-size: .875rem; color: rgba(255,255,255,.66); }

@media (max-width: 720px) {
  .hero-full { min-height: clamp(520px, 78vh, 680px); }
  .hero-bar > div { padding: var(--s2); }
}


/* ==========================================================================
   29. MOBILE PERFORMANCE
   ========================================================================== */

/* Skip painting sections that are far off-screen. The reserved height keeps
   the scrollbar honest so nothing jumps. */
.section:not(.hero-full):not(.pagehead) {
  content-visibility: auto;
  contain-intrinsic-size: auto 720px;
}

/* No parallax, no hover transforms and no blur on touch devices. */
@media (hover: none), (pointer: coarse) {
  .hero-full .shot-bg__img { transform: none !important; }
  .card:hover, a.card:hover { transform: none; }
  .card__img img, .shot img { transition: none; }
  .site-header.stuck { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
}

/* Honour the data-saver and low-power signals rather than guessing. */
@media (prefers-reduced-data: reduce) {
  .shot-bg__img { display: none; }
  .shot-bg { background: var(--ink); }
}

/* iOS < 16 has no dvh; the fallback keeps the drawer usable. */
.drawer { height: 100vh; height: 100dvh; }

/* Safari needs the prefix for masks. */
.fwall, [style*="mask-image"] { -webkit-mask-image: inherit; }


/* ==========================================================================
   30. PHONE POLISH
   ========================================================================== */

/* Page heads are short — bring the bed up so the title never floats on grey. */
.pagehead .shot-bg__veil {
  background: linear-gradient(180deg, rgba(16,18,20,.42) 0%, rgba(16,18,20,.16) 30%, rgba(16,18,20,.9) 100%);
}

/* Give the hero enough height that the photo window is worth having.
   svh, not vh — iOS counts the address bar into vh and the hero jumps. */
@media (max-width: 899px) {
  .hero-full {
    min-height: 88vh;
    min-height: 88svh;
    padding-top: calc(var(--hdr) + clamp(2rem, 8vh, 4rem));
    padding-bottom: clamp(1.5rem, 4vh, 2.5rem);
  }
  .hero-full__inner { gap: var(--s2); }
  .hero-full .lead { font-size: 1.0625rem; max-width: 34ch; }
  .hero__actions { gap: .6rem; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero-bar { grid-template-columns: repeat(2, 1fr); margin-top: var(--s3); }
  .hero-bar b { font-size: 1.35rem; }
}

/* Photographs are visible by default and never wait on JavaScript. */
.shot-bg__img { opacity: 1; }

/* Momentum scrolling and no rubber-band chaining on the scrollers. */
.tablewrap, .gallery, .drawer { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* iOS zooms the page when a font-size under 16px gets focus. */
@media (max-width: 899px) {
  .field input, .field select, .field textarea { font-size: 16px; }
}

/* Comfortable thumb targets everywhere on touch. 44px is Apple's minimum and
   it is the difference between a site that feels sloppy and one that doesn't. */
@media (pointer: coarse) {
  .nav__links a, .footer__col a, .faq__q { min-height: 44px; display: flex; align-items: center; }
  .pill { min-height: 36px; display: inline-flex; }
  .topbar a, .tlink, .drawer a { min-height: 44px; display: inline-flex; align-items: center; }
  .topbar .shell { padding-block: .15rem; }
  .shot a, .footer__bottom a { min-height: 44px; }
}
