/* ============================================================
   SYNLI design system
   Vibe archetype:   Ethereal Glass + film grain
   Layout archetype: Editorial Split
   Reference:        seriesthatsells.com
   ============================================================ */

:root {
  /* Surfaces. OLED-deep, cool, never pure black. */
  --charcoal: #060709;
  --bg:       #0C0D0F;
  --surface:  #16191C;
  --surface2: #1D2126;
  /* A third tone between page and panel. Sections alternate onto it so the
     page has rhythm instead of one unbroken black. */
  --bg-raise: #141619;

  /* Ink */
  --fg:    #F8F8F8;
  --muted: #A6ABB1;
  --dim:   #7E848B;

  /* Accent. SYNLI champagne gold, rationed to glow, key figures,
     focus and small marks. Gold is warmer and reads more decorative than
     a cool accent, so the ration matters more, not less. */
  --ac:      #C4A882;
  --ac2:     #DCC29C;
  --ac-wash: rgba(196, 168, 130, .09);
  --ac-line: rgba(196, 168, 130, .30);
  --on-ac:   #0B0A07;   /* marks sitting on a gold fill */

  /* Hairlines. Never a grey 1px border. */
  --hair:  rgba(255, 255, 255, .08);
  --hair2: rgba(255, 255, 255, .14);
  --field: rgba(255, 255, 255, .05);

  /* Type */
  --display: 'Space Grotesk', system-ui, sans-serif;
  --text:    'Geist', system-ui, -apple-system, sans-serif;
  --mono:    'Geist Mono', ui-monospace, SFMono-Regular, monospace;

  /* Measure */
  --mw:  1400px;
  --mid: 1120px;
  --nar: 760px;
  --gut: clamp(1.25rem, 4vw, 2.5rem);

  /* Shape system, documented and fixed:
     pill for interactive, 24px for media and panels,
     18px for inner cores, 12px for inputs and chips. */
  --r-pill: 999px;
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 12px;

  /* Motion. Strong custom curves; the built-in easings are too weak.
     ease-in is never used: it delays the first frame, which is exactly
     the moment the eye is on the element. */
  --out:    cubic-bezier(.23, 1, .32, 1);   /* enter, exit, hover */
  --drawer: cubic-bezier(.32, .72, 0, 1);   /* on-screen movement */
  --t-press: 140ms;
  --t-ui:    200ms;
  --t-panel: 280ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--charcoal);
  color: var(--fg);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--ac); color: var(--charcoal); }

/* Surfaces the browser owns by default and no design system claims. */
html { caret-color: var(--ac); scrollbar-color: var(--surface2) var(--charcoal); scrollbar-width: thin; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--charcoal); }
::-webkit-scrollbar-thumb { background: var(--surface2); border: 3px solid var(--charcoal); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #2A2F36; }
a { text-underline-offset: .22em; text-decoration-thickness: 1px; }
table, .num, output { font-variant-numeric: tabular-nums; }
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--ac); outline-offset: 3px; }

/* Film grain. Fixed and inert so the GPU never repaints it on scroll. */
.grain {
  position: fixed; inset: 0; z-index: 60;
  pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  padding: .8rem 1.4rem; background: var(--fg); color: var(--charcoal);
  font-size: .85rem; font-weight: 600; text-decoration: none;
  border-radius: var(--r-pill); transition: top var(--t-ui) var(--out);
}
.skip-link:focus { top: 1rem; }

/* ============================================================
   MOTION
   ============================================================ */
/* Quiet default entrance. The one authored moment lives on the hero
   frame below; everything else just stops being absent. */
/* Hidden-until-revealed applies only when JS is confirmed running (the .js
   flag on <html>). Without it the page ships fully visible. */
.js .rv {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity .6s var(--out), transform .6s var(--out);
  transition-delay: var(--rv-delay, 0ms);
}
.js .rv.vi { opacity: 1; transform: none; }

/* Reduced motion means gentler, not none. Opacity and colour still carry
   comprehension; movement and scale do not. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-property: opacity, background-color, border-color, color !important;
    transition-duration: .2s !important;
  }
  .rv { transform: none !important; }
  .hero-media .bezel { transform: none !important; clip-path: none !important; }
}

/* ============================================================
   TYPE
   Space Grotesk 700 for display, tight. Geist for everything read.
   ============================================================ */
/* No text-wrap: balance here. The hero heading carries an explicit <br>, and
   balance re-breaks the segments around it. The author picks the break. */
.d1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2.7rem, 6.2vw, 4.9rem);
  line-height: .94; letter-spacing: -.04em;
}
.d2 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(2rem, 4.1vw, 3.35rem);
  line-height: .98; letter-spacing: -.038em;
  text-wrap: balance; max-width: 20ch;
}
.d2--wide { max-width: 26ch; }
.d3 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.2rem, 1.9vw, 1.55rem);
  line-height: 1.15; letter-spacing: -.028em;
}

.lead {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6; color: var(--muted);
  max-width: 56ch; text-wrap: pretty;
}
.body { font-size: .96rem; line-height: 1.72; color: var(--muted); max-width: 62ch; }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -.03em; }


/* ============================================================
   STRUCTURE. Macro-whitespace: sections breathe heavily.
   ============================================================ */
.wrap { max-width: var(--mw); margin: 0 auto; padding-inline: var(--gut); }
.mid  { max-width: var(--mid); margin: 0 auto; padding-inline: var(--gut); }
.nar  { max-width: var(--nar); margin: 0 auto; padding-inline: var(--gut); }
.sec  { padding-block: clamp(6rem, 11vw, 11rem); }
/* Opt-in per section in the editor. Panels inside keep their own hairlines,
   so the step reads as a change of floor, not a card. */
.is-raised { background: var(--bg-raise); }
.band { background: var(--bg); border-block: 1px solid var(--hair); }

/* Section header. No kicker, no margin label: the heading carries itself. */
.shead > * + * { margin-top: 1.5rem; }

/* ============================================================
   DOUBLE BEZEL
   Nothing premium sits flat on the background. Outer tray, inner plate.
   ============================================================ */
.bezel {
  padding: 6px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  box-shadow: 0 32px 90px -32px rgba(0, 0, 0, .95), 0 2px 8px -2px rgba(0, 0, 0, .6);
}
.bezel-core {
  position: relative;
  background: var(--surface);
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

/* ============================================================
   BUTTONS. Pill, white primary, nested icon capsule.
   ============================================================ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .7rem;
  padding: .85rem 1rem .85rem 1.6rem;
  font-family: var(--text); font-size: .92rem; font-weight: 600;
  letter-spacing: -.01em; white-space: nowrap;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent; border-radius: var(--r-pill);
  transition: background var(--t-ui) var(--out), color var(--t-ui) var(--out),
              border-color var(--t-ui) var(--out), box-shadow var(--t-ui) var(--out),
              transform var(--t-press) var(--out);
}
.btn:active { transform: scale(.97); }
.btn--bare { padding: .85rem 1.6rem; }

.btn__cap {
  display: grid; place-items: center;
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: var(--r-pill);
  transition: transform var(--t-ui) var(--out), background var(--t-ui) var(--out);
}
.btn__cap .icon { width: 15px; height: 15px; }

.btn--primary { background: var(--fg); color: var(--charcoal); }
.btn--primary .btn__cap { background: rgba(6, 7, 9, .09); }
@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { box-shadow: 0 12px 36px -16px rgba(255, 255, 255, .5); }
  .btn--primary:hover .btn__cap { transform: translateX(3px); background: rgba(6, 7, 9, .16); }
}

.btn--ghost { background: rgba(255, 255, 255, .04); color: var(--fg); border-color: var(--hair2); }
.btn--ghost .btn__cap { background: rgba(255, 255, 255, .08); }
@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .26); }
  .btn--ghost:hover .btn__cap { transform: translateX(3px); }
}

/* ============================================================
   NAV. Floating glass island, detached from the top edge.
   ============================================================ */
.navbar {
  position: fixed; inset: 1.1rem var(--gut) auto; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: .55rem .55rem .55rem 1.5rem;
  background: rgba(12, 13, 15, .62);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--hair);
  border-radius: var(--r-pill);
  max-width: var(--mw); margin-inline: auto;
  transition: background var(--t-panel) var(--out), border-color var(--t-panel) var(--out), box-shadow var(--t-panel) var(--out);
}
.navbar.is-scrolled {
  background: rgba(6, 7, 9, .82);
  border-color: var(--hair2);
  box-shadow: 0 20px 60px -30px rgba(0, 0, 0, .95);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.nav-logo img { height: 26px; width: auto; }

.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links > li > a:not(.btn) {
  font-size: .85rem; color: var(--muted); text-decoration: none; white-space: nowrap;
  transition: color var(--t-ui) var(--out);
}
.nav-links > li > a:not(.btn):hover { color: var(--fg); }
.nav-links .btn { padding: .6rem .7rem .6rem 1.2rem; font-size: .84rem; }
.nav-links .btn__cap { width: 26px; height: 26px; font-size: .74rem; }

/* Hamburger that morphs into an X rather than swapping icons. */
.nav-toggle {
  display: none; position: relative;
  width: 42px; height: 42px; flex-shrink: 0;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--hair);
  border-radius: var(--r-pill); cursor: pointer;
}
.nav-toggle span {
  position: absolute; left: 50%; top: 50%;
  width: 16px; height: 1.5px; background: var(--fg);
  transition: transform var(--t-ui) var(--out);
}
.nav-toggle span:nth-child(1) { transform: translate(-50%, -4px); }
.nav-toggle span:nth-child(2) { transform: translate(-50%, 4px); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { transform: translate(-50%, 0) rotate(-45deg); }

/* ============================================================
   HERO. Centred cinematic, radial electric glow, media on a bezel.
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(8rem, 13vw, 10rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
  overflow: hidden;
  background:
    /* Two stops rather than one: a tight hot core so the gold reads as a
       light source, and a wide soft falloff so it does not sit on the black
       as a brown film. */
    radial-gradient(ellipse 42% 26% at 50% -2%, rgba(220, 194, 156, .30), transparent 70%),
    radial-gradient(ellipse 95% 58% at 50% -8%, rgba(196, 168, 130, .20), transparent 64%),
    linear-gradient(180deg, var(--charcoal) 0%, #000 100%);
}
.hero-inner > * + * { margin-top: 1.7rem; }
.hero h1 { max-width: none; margin-inline: auto; }
.hero-sub { font-size: clamp(1.05rem, 1.5vw, 1.22rem); line-height: 1.55; color: var(--muted); max-width: 46ch; margin-inline: auto; }
.hero-cta { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; margin-top: 2.4rem !important; }

/* The single authored moment on the page. The frame arrives slightly
   small and soft and settles, so the video reads as landing in a device
   rather than fading in like every other block. */
.hero-media { margin-top: clamp(3.5rem, 7vw, 6rem) !important; }
/* The wrapper opts out of the generic reveal so the frame itself can carry
   the moment: it arrives slightly small and soft, then settles. */
.hero-media.rv { opacity: 1; transform: none; transition: none; }
.hero-media .bezel {
  opacity: 0;
  transform: scale(.965) translateY(1.5rem);
  filter: blur(8px);
  transition: opacity .7s var(--out), transform 1.1s var(--drawer), filter .8s var(--out);
}
.hero-media.vi .bezel { opacity: 1; transform: none; filter: none; }
.hero-media .bezel-core { aspect-ratio: 16 / 9; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }

/* ---- Bleed layout: the film is the first screen. ----
   The scrim does two jobs with one gradient: a light, even darkening so the
   type reads (strength from --scrim, 0-80), and a solid fade into the page
   colour at the bottom so the section hands off cleanly. */
.hero--bleed {
  min-height: 100vh;
  min-height: 100svh;
  display: grid; align-items: center;
  padding: clamp(7rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--bg);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img, .hero-bg-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(6, 7, 9, calc(var(--scrim, 45) * .008)) 0%,
    rgba(6, 7, 9, calc(var(--scrim, 45) * .01)) 55%,
    rgba(12, 13, 15, .92) 88%,
    var(--bg) 100%);
}
.hero--bleed .wrap { position: relative; z-index: 1; }
/* Clipped-gradient type cannot take a text-shadow; a drop-shadow on the
   element does the same job over footage. */
.hero--bleed h1 { filter: drop-shadow(0 2px 22px rgba(0, 0, 0, .5)); }
.hero--bleed .hero-sub { color: rgba(248, 248, 248, .84); text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }

@media (prefers-reduced-motion: reduce) {
  .hero-bg-video { display: none; }
}
@media (max-width: 640px) {
  .hero--bleed { padding-top: clamp(6.5rem, 22vw, 8rem); }
}

/* Facts band. Under the hero, never inside it. */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--hair); }
.facts-i { padding: clamp(2.4rem, 4vw, 3.6rem) var(--gut); }
.facts-i + .facts-i { border-left: 1px solid var(--hair); }
.facts-n {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(3rem, 5.4vw, 4.6rem); line-height: .9;
  letter-spacing: -.05em; color: var(--fg);
}
/* Only the fee is gold. Three gold numbers is decoration; one is a point. */
.facts-i:first-child .facts-n { color: var(--ac2); }
.facts-l { margin-top: 1.1rem; font-size: .95rem; color: var(--muted); max-width: 24ch; line-height: 1.5; }

/* ============================================================
   FAMILY A: numbered editorial list (the problem)
   ============================================================ */
.plist { margin-top: 4rem; }
/* Two columns: title, then description. The minmax floor stops the title
   column collapsing to one word per line at intermediate widths. */
.pitem {
  display: grid; grid-template-columns: minmax(18rem, 0.9fr) 1.1fr; gap: 1rem 3rem;
  padding-block: 2.6rem; border-top: 1px solid var(--hair); align-items: start;
}
.pitem-t {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  line-height: 1.05; letter-spacing: -.035em;
  text-wrap: balance;
}
.pitem-d { font-size: .95rem; line-height: 1.75; color: var(--muted); max-width: 46ch; }

/* A rule that lights up as the row enters, so the list advances rather than
   sitting there. Scroll-driven, so it costs nothing. */
.pitem { position: relative; }
.pitem::before {
  content: ''; position: absolute; inset: -1px auto auto 0;
  width: 100%; height: 1px; background: var(--ac);
  transform: scaleX(0); transform-origin: left;
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .pitem::before {
      animation: pRule linear both;
      animation-timeline: view();
      animation-range: entry 30% cover 40%;
    }
    @keyframes pRule { to { transform: scaleX(1); } }
  }
}
.pnote {
  margin-top: 3.5rem; padding: 1.8rem 2rem;
  background: var(--ac-wash); border: 1px solid var(--ac-line); border-radius: var(--r-md);
  font-size: 1.05rem; line-height: 1.6; color: var(--fg); max-width: 62ch;
}

/* ============================================================
   FAMILY B: editorial split (the model)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); margin-top: 4rem; align-items: start; }
.split-media { position: sticky; top: 7rem; }
.split-media .bezel-core { aspect-ratio: 4 / 5; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }

.steps > * + * { margin-top: 0; }
.step { padding-block: 2.2rem; border-top: 1px solid var(--hair); }
.step:first-child { border-top: 0; padding-top: 0; }
.step-t { font-family: var(--display); font-weight: 700; font-size: 1.24rem; line-height: 1.15; letter-spacing: -.03em; }
.step-d { margin-top: .8rem; font-size: .95rem; line-height: 1.7; color: var(--muted); max-width: 54ch; white-space: pre-line; }

/* Comparison. Two glass plates, not a table. */
.vs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 4.5rem; }
.vs-col { padding: 2.2rem; border: 1px solid var(--hair); border-radius: var(--r-lg); background: rgba(255, 255, 255, .02); }
.vs-col--on { background: linear-gradient(170deg, var(--ac-wash), transparent 70%); border-color: var(--ac-line); }
.vs-h { font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.6rem; color: var(--dim); }
.vs-col--on .vs-h { color: var(--ac2); }
.vs-i { font-size: .94rem; line-height: 1.5; padding-block: .85rem; border-top: 1px solid var(--hair); color: var(--muted); }
.vs-col--on .vs-i { color: var(--fg); }

/* ============================================================
   FAMILY C: display metrics (proof)
   ============================================================ */
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0; margin-top: 4rem; }
.metric { padding: 0 2rem 0 0; }
.metric + .metric { padding-left: 2rem; border-left: 1px solid var(--hair); }
.metric-n { font-family: var(--display); font-weight: 700; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1; letter-spacing: -.045em; }
.metric-l { margin-top: 1rem; font-size: .89rem; line-height: 1.4; color: var(--muted); }
.metric-s { margin-top: .4rem; font-size: .74rem; color: var(--dim); }

.quote { margin-top: 4rem; max-width: 44rem; }
.quote-t { font-family: var(--display); font-weight: 700; font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.25; letter-spacing: -.03em; }
.quote-a { margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid var(--hair); font-size: .89rem; color: var(--muted); }
.quote-a b { color: var(--fg); font-weight: 600; }

/* ============================================================
   FAMILY D: index list (how it works)
   ============================================================ */
.index { margin-top: 4rem; }
.index-i {
  display: grid; grid-template-columns: 4rem 16rem 1fr; gap: 2rem;
  padding-block: 2rem; border-top: 1px solid var(--hair); align-items: baseline;
  transition: background var(--t-ui) var(--out);
}
@media (hover: hover) and (pointer: fine) {
  .index-i:hover { background: rgba(255, 255, 255, .02); }
}
.index-n { font-family: var(--mono); font-size: .78rem; color: var(--ac); font-variant-numeric: tabular-nums; }
.index-t { font-family: var(--display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.028em; }
.index-d { font-size: .93rem; line-height: 1.65; color: var(--muted); }

/* ============================================================
   TEAM
   ============================================================ */
/* The photographs get the wider column: they carry the light in this section. */
.team { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); align-items: center; margin-top: 3.5rem; }
.team-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.team-imgs .bezel-core { aspect-ratio: 3 / 4; }
.team-imgs img { width: 100%; height: 100%; object-fit: cover; }
.team-imgs > *:first-child { margin-top: 3rem; }
.team-body > * + * { margin-top: 1.2rem; }
.team-body p { font-size: .98rem; line-height: 1.75; color: var(--muted); }
.team-sig { margin-top: 2rem !important; padding-top: 1.2rem; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg); }
.team-credit { margin-top: 1.6rem !important; padding-left: 1.2rem; border-left: 1px solid var(--ac-line); font-size: .9rem; line-height: 1.65; color: var(--muted); max-width: 48ch; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 3.5rem; }
.faq-i { border-top: 1px solid var(--hair); }
.faq-i:last-child { border-bottom: 1px solid var(--hair); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: left; cursor: pointer;
  padding-block: 1.6rem;
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  font-family: var(--display); font-weight: 700; font-size: 1.06rem; letter-spacing: -.026em;
  color: var(--fg); transition: color var(--t-ui) var(--out);
}
.faq-q:hover { color: var(--ac2); }
.faq-x { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: var(--r-pill); background: rgba(255, 255, 255, .06); transition: background var(--t-ui) var(--out); }
.faq-x::before, .faq-x::after { content: ''; position: absolute; left: 50%; top: 50%; background: var(--fg); transition: transform var(--t-ui) var(--out); }
.faq-x::before { width: 11px; height: 1.5px; transform: translate(-50%, -50%); }
.faq-x::after  { width: 1.5px; height: 11px; transform: translate(-50%, -50%); }
.faq-i.open .faq-x { background: var(--ac); }
.faq-i.open .faq-x::before, .faq-i.open .faq-x::after { background: var(--on-ac); }
.faq-i.open .faq-x::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows var(--t-panel) var(--out); }
.faq-i.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { font-size: .95rem; line-height: 1.72; color: var(--muted); max-width: 62ch; padding-bottom: 1.8rem; white-space: pre-line; }

/* ============================================================
   FOOTER
   ============================================================ */
footer { border-top: 1px solid var(--hair); padding-block: 5rem 2.5rem; }
.foot { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; }
.foot h5 { font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 1.1rem; font-weight: 500; }
.foot p, .foot a { font-size: .9rem; color: var(--muted); text-decoration: none; line-height: 1.8; display: block; }
.foot a { transition: color var(--t-ui) var(--out); }
.foot a:hover { color: var(--ac2); }
.foot-tag { font-family: var(--display); font-weight: 700; font-size: 1.25rem !important; line-height: 1.2 !important; letter-spacing: -.03em; color: var(--fg) !important; max-width: 20ch; }
.foot-bot { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--dim); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed; inset: auto var(--gut) 1rem; z-index: 90;
  display: none; align-items: center; gap: 1rem;
  padding: .5rem .5rem .5rem 1.2rem;
  background: rgba(6, 7, 9, .86);
  backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--hair2); border-radius: var(--r-pill);
  box-shadow: 0 24px 60px -24px rgba(0, 0, 0, .95);
  transform: translateY(160%);
  transition: transform var(--t-panel) var(--drawer);
}
.sticky-cta.is-on { transform: none; }
.sticky-cta-t { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); line-height: 1.3; }
.sticky-cta .btn { flex: 1; justify-content: center; padding: .75rem .75rem .75rem 1.1rem; font-size: .85rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .split { grid-template-columns: 1fr; }
  .split-media { position: relative; top: 0; }
  .split-media .bezel-core { aspect-ratio: 16 / 9; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .index-i { grid-template-columns: 3rem 1fr; gap: .6rem 1.5rem; }
  .index-d { grid-column: 2; }
  .team { grid-template-columns: 1fr; }
  .team-imgs { max-width: 30rem; }
  .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .pitem { grid-template-columns: 1fr; gap: .7rem; }
  .facts { grid-template-columns: 1fr; }
  .facts-i + .facts-i { border-left: 0; border-top: 1px solid var(--hair); }
  .facts-l { max-width: none; }
  .vs { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 6rem; }
  .navbar { padding-left: 1.1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  /* Screen-filling glass overlay with staggered link reveal. */
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 1.4rem;
    position: fixed; inset: 0; z-index: 99;
    padding: 7.5rem var(--gut) 3rem;
    background: rgba(6, 7, 9, .88);
    backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    overflow-y: auto;
  }
  .nav-links.open > li {
    opacity: 0; transform: translateY(3rem);
    animation: navIn .42s var(--out) forwards;
    animation-delay: calc(var(--i, 0) * 60ms + 60ms);
  }
  .nav-links.open > li > a:not(.btn) { font-family: var(--display); font-weight: 700; font-size: 1.9rem; letter-spacing: -.035em; color: var(--fg); }
  .nav-links.open .btn { justify-content: center; margin-top: 1rem; padding: 1rem 1.2rem; font-size: .95rem; }
  @keyframes navIn { to { opacity: 1; transform: none; } }

  .hero { padding-top: 8.5rem; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .metrics { grid-template-columns: 1fr; }
  .index-i { grid-template-columns: 2.5rem 1fr; }
  .index-t, .index-d { grid-column: 2; }
  .team-imgs > *:first-child { margin-top: 0; }
  .foot { grid-template-columns: 1fr; gap: 2rem; }
  .sticky-cta { display: flex; }
}

/* ============================================================
   BORROWED TECHNIQUES
   Structural ideas taken from the reference brief, executed in
   SYNLI's own palette and type rather than its.
   ============================================================ */

/* Gradient display type. Earned here because at 4rem+ a vertical ramp reads as
   light falling across the letterform, not as decoration on small text.
   Never applied below display sizes. */
.grad {
  background: linear-gradient(180deg, #7E6E52 0%, #EFE4CE 62%, #FFF8EC 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .grad { color: var(--fg); -webkit-text-fill-color: currentColor; }
}

/* Magnetic hover. Pointer-only: on touch the transform would stick after tap. */
[data-magnet] { will-change: transform; }
@media (hover: hover) and (pointer: fine) {
  [data-magnet] { transition: transform .6s var(--drawer); }
  [data-magnet].is-pulled { transition: transform .3s var(--out); }
}

/* Character reveal. Each glyph lifts from dim to full as the line crosses the
   viewport, staggered by index. Falls back to plain legible text. */
.reveal-chars { color: var(--muted); }
.reveal-chars .ch { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal-chars .ch {
      opacity: .18;
      animation: chIn linear both;
      animation-timeline: view();
      animation-range: entry 22% cover 46%;
      animation-delay: calc(var(--c) * -1ms);
    }
    @keyframes chIn { to { opacity: 1; } }
  }
}
