/* ==========================================================
   Outlaw Collectives — "The Edit Bay & The Agora"
   Classical (Greek philosophers) x cinematic (edit timeline)
   Brand: Teal #1A7A6A · Near-black #0E0E0E · Off-white #F5F5F5
          Marble #D3D3D3 · Charcoal #2E2E2E · Mint #5DDDAA · Gold #D4AF37
   ========================================================== */

/* ---------- Self-hosted brand fonts ---------- */
/* Lenia Sans (Lettertype Studio) — body copy, subheadings, running text */
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-thin.woff2") format("woff2"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-thinitalic.woff2") format("woff2"); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-extralight.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-extralightitalic.woff2") format("woff2"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-lightitalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-mediumitalic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-semibolditalic.woff2") format("woff2"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-bold.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-bolditalic.woff2") format("woff2"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-extrabold.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-extrabolditalic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Lenia Sans"; src: url("fonts/leniasans-blackitalic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
/* GC Commune (Glyphonic) — accent face, used ONLY for the H1/H2 headlines
   and the "Outlaw" wordmark (roughly 20–30% of the type on the page).
   This is the DEMO file: letters, "." and "," only. Any other character
   (numbers, hyphens, punctuation) falls back to Lenia Sans automatically.
   Replace fonts/gc-commune-demo.woff2 with the full licensed file to fix. */
@font-face { font-family: "GC Commune"; src: url("fonts/gc-commune-demo.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #0e0e0e;
  --ink-2: #141716;
  --ink-3: #1c2120;
  --charcoal: #2e2e2e;
  --paper: #f5f5f5;
  --marble: #d3d3d3;
  --stone: #e6e6e3;
  --teal: #1a7a6a;
  --teal-deep: #135c50;
  --mint: #5dddaa;
  --gold: #d4af37;
  --line-dark: rgba(245, 245, 245, 0.12);
  --line-light: rgba(46, 46, 46, 0.14);
  --muted-dark: rgba(245, 245, 245, 0.66);
  --muted-light: rgba(46, 46, 46, 0.72);

  --f-display: "GC Commune", "Lenia Sans", system-ui, sans-serif; /* H1/H2 + wordmark only */
  --f-body: "Lenia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "Lenia Sans", system-ui, sans-serif; /* small uppercase labels */

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --marble-tex: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.009 0.018' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.57  0 0 0 0 0.56  0 0 0 0.22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

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

/* ---------- Section surfaces ---------- */
.s-dark { background: var(--ink); color: var(--paper); position: relative; }
.s-dark::before { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; opacity: .9; }
.s-dark > * { position: relative; }
.s-marble {
  background: var(--marble-tex), linear-gradient(170deg, #ececea 0%, var(--marble) 55%, #c9cecc 100%);
  color: var(--charcoal);
}
.s-paper { background: var(--marble-tex), var(--paper); color: var(--charcoal); }
section { padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- Type ---------- */
.label {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
}
.s-dark .label { color: var(--mint); }
.label .tc { opacity: .55; }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .6; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
h3 { font-family: var(--f-body); }
.h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .95; }
.h2 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1; }
.h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; }
em, .em { font-style: italic; font-weight: 500; color: var(--teal); }
.s-dark em, .s-dark .em { color: var(--mint); }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; max-width: 640px; }
.s-dark .lede, .s-dark .muted { color: var(--muted-dark); }
.s-marble .muted, .s-paper .muted, .s-marble .lede, .s-paper .lede { color: var(--muted-light); }
.head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--teal);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--paper);
  font-family: var(--f-body); font-weight: 700; font-size: 15px; letter-spacing: .02em;
  text-decoration: none;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s;
  box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .55);
}
.btn:hover { background: var(--teal-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .7); }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-ghost { background: transparent; border-color: var(--line-dark); box-shadow: none; color: var(--paper); }
.btn-ghost:hover { background: rgba(245, 245, 245, .06); border-color: rgba(93, 221, 170, .5); box-shadow: none; }
.s-marble .btn-ghost, .s-paper .btn-ghost { color: var(--charcoal); border-color: var(--line-light); }
.s-marble .btn-ghost:hover, .s-paper .btn-ghost:hover { background: rgba(46,46,46,.05); border-color: var(--teal); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14px; }

/* ---------- Announcement + Nav ---------- */
.announce {
  background: var(--teal); color: var(--paper);
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  text-align: center; padding: 9px var(--gutter);
}
.announce b { color: var(--paper); font-weight: 700; }
.announce .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; margin-right: 10px; vertical-align: 1px; animation: rec 1.6s infinite; }
@keyframes rec { 50% { opacity: .25; } }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(14, 14, 14, .78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-dark);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper); }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(93, 221, 170, .55);
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 700; font-style: italic; font-size: 18px; color: var(--mint);
}
.brand-logo { display: block; height: 34px; width: auto; flex: none; }
.brand-name { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: .01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--f-mono); font-size: 11px; font-weight: 400; letter-spacing: .3em; color: var(--muted-dark); margin-top: 4px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--muted-dark); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links .btn { color: var(--paper); }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--mint); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-dark); color: var(--paper); width: 44px; height: 44px; border-radius: 50%; }
.nav-toggle svg { width: 20px; height: 20px; margin: auto; }

@media (max-width: 960px) {
  .nav-links, .nav .btn { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--ink); border-bottom: 1px solid var(--line-dark);
    padding: 16px var(--gutter) 24px;
  }
  .nav.open .nav-links a { font-size: 22px; font-family: var(--f-display); color: var(--paper); padding: 8px 0; display: block; }
  .nav.open .nav-links .btn { display: inline-flex; margin-top: 12px; font-family: var(--f-body); font-size: 15px; }
}
@media (min-width: 961px) { .nav-links .mobile-only { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: clamp(56px, 8vw, 110px) 0 clamp(80px, 9vw, 120px); overflow: hidden; }
.hero-bust {
  position: absolute; right: -6%; top: -4%; bottom: 0; width: min(62%, 860px);
  background: url("assets/bust-socrates.jpg") center 18% / cover no-repeat;
  filter: grayscale(1) contrast(1.15) brightness(.62);
  mix-blend-mode: luminosity;
  opacity: .5;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 70% 75% at 60% 40%, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 78% 30%, rgba(26, 122, 106, .32), transparent 70%),
    linear-gradient(180deg, transparent 70%, var(--ink));
}
.hero .wrap { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 28px; }
.hero h1 .em { display: inline; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-dark); padding-top: 6px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.hero-note { font-size: 14px; color: var(--muted-dark); margin: -10px 0 0; }

/* Monitor frame (VSL) */
.monitor { position: relative; }
.monitor-chrome {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted-dark); padding: 0 4px 10px;
}
.monitor-chrome .rec { display: inline-flex; align-items: center; gap: 8px; }
.monitor-chrome .rec::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff5a4f; animation: rec 1.6s infinite; }
.monitor .vid { border-radius: var(--radius); box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(93,221,170,.25); }
.monitor-foot { display: flex; gap: 4px; margin-top: 12px; height: 18px; }
.monitor-foot i { flex: 1; border-radius: 3px; background: rgba(26,122,106,.45); }
.monitor-foot i:nth-child(3n) { background: rgba(93,221,170,.35); flex: 1.8; }
.monitor-foot i:nth-child(4n) { background: rgba(245,245,245,.12); }
.monitor-foot i:nth-child(7) { background: rgba(212,175,55,.45); }

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-bust { width: 100%; right: -42%; opacity: .2; }
}

/* ---------- Video tile ---------- */
.vid {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9;
  border: 0; padding: 0; overflow: hidden; background: #000; border-radius: 10px;
}
.vid.portrait { aspect-ratio: 9 / 16; }
.vid img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9) brightness(.85); }
.vid:hover img { transform: scale(1.04); filter: saturate(1) brightness(.95); }
.vid iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid .play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 68px; height: 68px; border-radius: 50%;
  background: rgba(26, 122, 106, .92); display: grid; place-items: center;
  box-shadow: 0 0 0 8px rgba(93, 221, 170, .14), 0 0 40px rgba(93, 221, 170, .5);
  transition: transform .4s var(--ease);
}
.vid:hover .play { transform: translate(-50%, -50%) scale(1.08); }
.vid .play svg { width: 24px; height: 24px; margin-left: 3px; fill: var(--paper); }
.vid .corner { position: absolute; left: 12px; bottom: 10px; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; color: rgba(245,245,245,.8); text-transform: uppercase; }
.vid-drive { display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, var(--ink-3), #000); }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line-dark); padding: 18px 0; overflow: hidden; background: var(--ink-2); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: slide 38s linear infinite; }
.marquee span { font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.4vw, 30px); color: rgba(245,245,245,.78); white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee span::after { content: "✦"; font-style: normal; font-size: 14px; color: var(--mint); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Problem ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; } /* let the timeline card shrink instead of widening the page on phones */
.prose p { margin: 0 0 18px; }
.pull { font-family: var(--f-display); font-style: italic; font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; color: var(--teal); border-left: 2px solid var(--teal); padding-left: 22px; margin-top: 30px; }
.pains { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-light); }
.pains li { display: grid; grid-template-columns: 64px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line-light); align-items: baseline; }
.pains .n { font-family: var(--f-mono); font-size: 13px; color: var(--teal); letter-spacing: .1em; }
.pains q { font-family: var(--f-display); font-size: clamp(22px, 2.1vw, 28px); line-height: 1.2; font-weight: 600; color: var(--charcoal); quotes: "“" "”"; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Solution / Consistency System ---------- */
.system-card {
  background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
  border: 1px solid var(--line-dark); border-radius: 18px; padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.system-top { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: var(--muted-dark); letter-spacing: .12em; text-transform: uppercase; padding-bottom: 14px; border-bottom: 1px solid var(--line-dark); }
.system-top b { color: var(--mint); font-weight: 500; }
.ruler { display: flex; justify-content: space-between; font-family: var(--f-mono); font-size: 11px; color: rgba(245,245,245,.35); padding: 10px 0 6px 92px; }
.track { display: grid; grid-template-columns: 80px 1fr; gap: 12px; align-items: center; padding: 6px 0; }
.track-name { font-family: var(--f-mono); font-size: 11px; color: var(--muted-dark); letter-spacing: .06em; }
.clips { display: flex; gap: 4px; height: 34px; }
.clip { border-radius: 5px; display: flex; align-items: center; padding: 0 10px; font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; color: var(--paper); }
.c-teal { background: var(--teal); }
.c-mint { background: rgba(93,221,170,.85); color: var(--ink); }
.c-dim { background: rgba(245,245,245,.1); color: var(--muted-dark); }
.c-gold { background: rgba(212,175,55,.85); color: var(--ink); }
.playhead { position: relative; }
.playhead::after { content: ""; position: absolute; top: -8px; bottom: -8px; left: 0; width: 2px; background: #ff5a4f; animation: scrub 9s linear infinite; }
@keyframes scrub { from { left: 0; } to { left: 100%; } }
.system-foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--f-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--line-dark); border-radius: 999px; padding: 6px 12px; color: var(--muted-dark); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--line-light); }
.step { padding: 40px 32px 8px 0; position: relative; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line-light); }
.step-num {
  width: 56px; height: 56px; border-radius: 50%; background: var(--teal); color: var(--paper);
  display: grid; place-items: center; font-family: var(--f-display); font-size: 26px; font-weight: 700; font-style: italic;
  margin-bottom: 26px;
}
.step h3 { margin-bottom: 14px; }
.step p { margin: 0; color: var(--muted-light); }
.step .tag { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
}

/* Steps inside the dark "The system" section */
.system-steps { margin-top: clamp(56px, 7vw, 96px); }
.s-dark .steps { border-top-color: var(--line-dark); }
.s-dark .step, .s-dark .step + .step { border-color: var(--line-dark); }
.s-dark .step p { color: var(--muted-dark); }
.s-dark .step .tag { color: var(--mint); }
.system-note { margin: 40px 0 0; font-style: italic; font-size: 18px; line-height: 1.5; color: var(--muted-dark); max-width: 640px; }

/* ---------- Video grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.work-item figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 14px 2px 0; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.work-item figcaption b { color: var(--paper); font-weight: 500; }
.work-item { margin: 0; }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 52px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) { .grid-3 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }

/* ---------- Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); border-radius: 18px; overflow: hidden; }
.benefit { background: rgba(245,245,245,.72); padding: 36px 30px; display: grid; gap: 14px; align-content: start; transition: background .3s; }
.benefit:hover { background: rgba(245,245,245,.95); }
.benefit .ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(26,122,106,.1); color: var(--teal); display: grid; place-items: center; }
.benefit .ico svg { width: 22px; height: 22px; }
.benefit h3 { font-size: 26px; color: var(--charcoal); }
.benefit p { margin: 0; color: var(--muted-light); }
.benefit.featured { background: var(--ink); color: var(--paper); }
.benefit.featured h3 { color: var(--paper); }
.benefit.featured p { color: var(--muted-dark); }
.benefit.featured .ico { background: rgba(93,221,170,.14); color: var(--mint); }
@media (max-width: 900px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Results ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line-light); margin-bottom: 56px; }
.stat-strip div { padding: 26px 0; text-align: center; }
.stat-strip div + div { border-left: 1px solid var(--line-light); }
.stat-strip strong { display: block; font-family: var(--f-display); font-size: clamp(40px, 5vw, 64px); line-height: 1; color: var(--teal); font-weight: 700; }
.stat-strip span { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-light); }
.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { background: var(--ink); color: var(--paper); border-radius: 20px; padding: clamp(28px, 3.5vw, 44px); position: relative; overflow: hidden; }
.case::before { content: ""; position: absolute; inset: 0; background: var(--grain); pointer-events: none; }
.case > * { position: relative; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 28px; }
.case-name { font-family: var(--f-display); font-size: 30px; font-weight: 700; }
.case-role { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.badge { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; background: rgba(93,221,170,.14); color: var(--mint); border: 1px solid rgba(93,221,170,.3); white-space: nowrap; }
.numbers { display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 14px; padding: 22px 0 28px; border-block: 1px solid var(--line-dark); margin-bottom: 26px; }
.numbers small { display: block; font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; color: var(--muted-dark); text-transform: uppercase; margin-bottom: 6px; }
.numbers .num { font-family: var(--f-display); font-weight: 700; font-size: clamp(42px, 5vw, 68px); line-height: .9; }
.numbers .after .num { color: var(--mint); }
.numbers .arrow { color: var(--muted-dark); padding-bottom: 12px; }
.numbers .arrow svg { width: 30px; height: 30px; }
.case dl { margin: 0; display: grid; gap: 18px; }
.case dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); margin-bottom: 4px; }
.case dd { margin: 0; color: var(--muted-dark); }
.case-extra { margin-top: 24px; font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--gold); }
@media (max-width: 900px) { .cases { grid-template-columns: 1fr; } .stat-strip { grid-template-columns: 1fr; } .stat-strip div + div { border-left: 0; border-top: 1px solid var(--line-light); } }

/* ---------- Testimonials ---------- */
/* Testimonials: one full-width line of cards. With JS (and motion allowed)
   main.js adds .is-driven and slides the line left→right as the page scrolls;
   otherwise the line simply scrolls sideways by swipe/trackpad. */
.quotes-rail {
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gutter) 14px;
  scrollbar-width: thin; scrollbar-color: rgba(93,221,170,.35) transparent;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.quotes-rail.is-driven {
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: none; padding-inline: 0;
  scrollbar-width: none; overscroll-behavior-x: contain; cursor: grab;
}
.quotes-rail.is-driven::-webkit-scrollbar { display: none; }
.quotes-rail.is-dragging { cursor: grabbing; user-select: none; }
.quotes-rail:focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.quotes { display: flex; gap: 20px; width: max-content; }
.quotes-controls { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.quotes-controls[hidden] { display: none; }
.quotes-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line-dark); background: rgba(245,245,245,.03); color: var(--paper);
  transition: border-color .2s, background .2s, color .2s;
}
.quotes-btn:hover { border-color: rgba(93,221,170,.5); background: rgba(93,221,170,.1); color: var(--mint); }
.quotes-btn svg { width: 18px; height: 18px; }
@media (max-width: 600px) { .quotes-controls { justify-content: center; } }
.quotes .quote { flex: none; margin: 0; width: clamp(300px, 34vw, 460px); scroll-snap-align: center; }
.quote { border: 1px solid var(--line-dark); border-radius: 18px; padding: 34px; display: grid; gap: 26px; align-content: space-between; background: linear-gradient(180deg, rgba(245,245,245,.03), transparent); transition: border-color .3s; }
.quote:hover { border-color: rgba(93,221,170,.35); }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(21px, 1.9vw, 25px); line-height: 1.35; font-weight: 500; }
.quote-lead { display: block; font-family: var(--f-body); font-style: normal; font-weight: 600; font-size: clamp(21px, 1.8vw, 24px); line-height: 1.3; letter-spacing: -0.015em; color: var(--paper); margin-bottom: 14px; }
.quote blockquote::before { content: "“"; display: block; font-size: 64px; line-height: .6; color: var(--mint); margin-bottom: 8px; }
.who { display: flex; align-items: center; gap: 14px; }
.who img, .who .initials { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(.2); border: 1px solid var(--line-dark); }
.who .initials { display: grid; place-items: center; background: var(--teal); font-weight: 700; }
.who b { display: block; font-weight: 700; }
.who b a { text-decoration-color: rgba(93,221,170,.5); text-underline-offset: 3px; }
.who span { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.verified { justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mint); text-decoration: none; border: 1px solid rgba(93,221,170,.35); padding: 9px 16px; border-radius: 999px; }
.verified:hover { background: rgba(93,221,170,.08); }
.verified svg { width: 16px; height: 16px; }
@media (max-width: 600px) { .quotes { gap: 14px; } .quotes .quote { width: 80vw; } }

/* ---------- Fit ---------- */
.fit { display: grid; grid-template-columns: 1fr 1fr; border-radius: 22px; overflow: hidden; }
.fit > div { padding: clamp(32px, 4.5vw, 60px); }
.fit-yes { background: var(--ink); color: var(--paper); }
.fit-no { background: var(--paper); color: var(--charcoal); border: 1px solid var(--line-light); border-left: 0; border-radius: 0 22px 22px 0; }
.fit h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 28px; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.fit li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.fit li svg { width: 22px; height: 22px; margin-top: 3px; }
.fit-yes li svg { color: var(--mint); }
.fit-no li svg { color: rgba(46,46,46,.4); }
.fit-no li { color: var(--muted-light); }
@media (max-width: 860px) { .fit { grid-template-columns: 1fr; } .fit-no { border-left: 1px solid var(--line-light); border-top: 0; border-radius: 0 0 22px 22px; } }

/* ---------- Packages ---------- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { border: 1px solid var(--line-dark); border-radius: 22px; padding: 36px 32px; display: flex; flex-direction: column; gap: 22px; background: var(--ink-2); position: relative; }
.plan-name { font-family: var(--f-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-dark); }
.price { font-family: var(--f-display); font-weight: 700; font-size: clamp(38px, 3.6vw, 48px); line-height: 1; }
.price small { font-family: var(--f-body); font-size: 15px; font-weight: 500; color: var(--muted-dark); margin-left: 4px; }
.plan-desc { font-family: var(--f-display); font-style: italic; font-size: 21px; line-height: 1.3; color: rgba(245,245,245,.85); margin: 0; }
.plan ul { list-style: none; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line-dark); display: grid; gap: 12px; flex: 1; align-content: start; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15.5px; color: rgba(245,245,245,.82); }
.plan li svg { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }
.plan .cap { font-family: var(--f-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); }
.plan .btn { width: 100%; }
.plan.popular { background: linear-gradient(180deg, rgba(26,122,106,.35), var(--ink-2) 60%); border-color: rgba(93,221,170,.45); transform: translateY(-14px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.8); }
.plan.popular .flag { position: absolute; top: -13px; left: 32px; background: var(--teal); color: var(--paper); font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.plan.authority { border-color: rgba(212,175,55,.6); box-shadow: inset 0 0 0 1px rgba(212,175,55,.15); }
.plan.authority .plan-name, .plan.authority li svg { color: var(--gold); }
.plan.authority .btn { --bg: transparent; background: transparent; border-color: rgba(212,175,55,.7); color: var(--gold); box-shadow: none; }
.plan.authority .btn:hover { background: rgba(212,175,55,.1); }
.plans-note { margin-top: 44px; text-align: center; color: var(--muted-dark); font-size: 15px; }
.plans-note strong { color: var(--paper); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } .plan.popular { transform: none; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq-grid .head { position: sticky; top: 110px; }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq details:first-child { border-top: 1px solid var(--line-light); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--f-display); font-size: clamp(22px, 2vw, 27px); font-weight: 600; line-height: 1.2; color: var(--charcoal); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-light); position: relative; transition: transform .35s var(--ease), background .25s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--teal); transform: translate(-50%, -50%); }
.faq summary .pm::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .35s var(--ease); }
.faq details[open] summary .pm { background: var(--teal); }
.faq details[open] summary .pm::before { background: var(--paper); }
.faq details[open] summary .pm::after { transform: translate(-50%, -50%) rotate(0); background: var(--paper); }
.faq details p { margin: 0 0 26px; color: var(--muted-light); max-width: 640px; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-grid .head { position: static; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.founder { display: grid; gap: 26px; }
.founder-card { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; padding: 24px; border: 1px solid var(--line-dark); border-radius: 18px; background: rgba(245,245,245,.03); }
.founder-portrait { width: 96px; height: 96px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, var(--teal), var(--ink) 75%); border: 1px solid rgba(93,221,170,.4); display: grid; place-items: center; font-family: var(--f-display); font-style: italic; font-weight: 700; font-size: 36px; color: var(--mint); overflow: hidden; }
.founder-portrait img { width: 100%; height: 100%; object-fit: cover; }
.founder-card b { font-family: var(--f-display); font-size: 26px; display: block; line-height: 1.1; }
.founder-card span { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mint); }
.founder blockquote { margin: 0; font-family: var(--f-display); font-style: italic; font-size: clamp(22px, 2.2vw, 28px); line-height: 1.3; color: rgba(245,245,245,.9); }
.call-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.call-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--muted-dark); }
.call-list li svg { width: 20px; height: 20px; color: var(--mint); margin-top: 3px; }
.guarantee { border: 1px solid rgba(212,175,55,.45); border-radius: 14px; padding: 18px 20px; display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: rgba(245,245,245,.9); }
.guarantee svg { width: 22px; height: 22px; color: var(--gold); }
.guarantee b { color: var(--gold); }
.cal-frame { background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: 0 40px 100px -40px rgba(26,122,106,.8), 0 0 0 1px rgba(93,221,170,.25); }
.cal-frame .calendly-inline-widget { min-width: 280px; height: 720px; }
.cal-fallback { padding: 18px; text-align: center; font-size: 14px; color: var(--muted-light); }
.cal-fallback a { color: var(--teal); font-weight: 700; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* Client proof next to the calendar (replaces the capacity line) */
.contact-proof { margin: 0; display: grid; gap: 12px; max-width: 640px; }
.contact-proof blockquote { margin: 0; font-family: var(--f-body); font-style: italic; font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; color: rgba(245,245,245,.9); }
.contact-proof figcaption { display: flex; align-items: center; gap: 10px; font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-dark); }
.contact-proof img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(93,221,170,.4); flex: none; }

/* Phone/tablet booking bar — main.js adds .show between the hero and #contact */
.sticky-cta { display: none; }
@media (max-width: 960px) {
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(14, 14, 14, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
    transform: translateY(105%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
  }
  .sticky-cta.show { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .sticky-cta .btn { width: 100%; }
}

/* ---------- Final CTA ---------- */
.final { text-align: center; overflow: hidden; }
.final { background: radial-gradient(55% 65% at 50% 50%, rgba(26, 122, 106, .2), transparent 70%), var(--ink); }
/* Aristotle sits off to the left and dissolves into the dark — never behind the headline */
.final-bust {
  position: absolute; top: 0; bottom: 0; left: -6%; width: min(40%, 560px);
  background: url("assets/bust-aristotle.jpg") 60% 18% / cover no-repeat;
  filter: grayscale(1) contrast(1.35) brightness(.48);
  mix-blend-mode: luminosity;
  opacity: .4;
  -webkit-mask-image: radial-gradient(ellipse 75% 60% at 45% 42%, #000 35%, transparent 78%), linear-gradient(to right, #000 30%, transparent 92%);
  -webkit-mask-composite: source-in;
          mask-image: radial-gradient(ellipse 75% 60% at 45% 42%, #000 35%, transparent 78%), linear-gradient(to right, #000 30%, transparent 92%);
          mask-composite: intersect;
  pointer-events: none;
}
.final .wrap { display: grid; gap: 28px; justify-items: center; position: relative; }
.final .kicker { font-family: var(--f-display); font-style: italic; font-size: 22px; color: var(--gold); }
.final .h1 { max-width: 1000px; }
.final .lede { margin-inline: auto; }
.final .fine { font-size: 14px; color: var(--muted-dark); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line-dark); padding: 64px 0 36px; color: var(--muted-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-tag { font-family: var(--f-display); font-style: italic; font-size: 22px; line-height: 1.3; color: rgba(245,245,245,.85); margin: 22px 0 0; max-width: 420px; }
.footer h4 { font-family: var(--f-mono); font-weight: 400; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 18px; color: var(--mint); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--paper); }
.socials { display: flex; gap: 10px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; }
.socials a:hover { border-color: var(--mint); color: var(--mint); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- Portfolio page ---------- */
.page-hero { padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 5vw, 64px); overflow: hidden; }
.page-hero .hero-bust { opacity: .35; width: min(48%, 640px); right: -4%; background-image: url("assets/bust-plato.jpg"); }
.page-hero .wrap { position: relative; z-index: 2; display: grid; gap: 24px; }
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(245,245,245,.03); gap: 4px; width: fit-content; }
.tab { border: 0; background: transparent; color: var(--muted-dark); padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 14.5px; transition: background .25s, color .25s; }
.tab[aria-selected="true"] { background: var(--teal); color: var(--paper); }
.tab .count { font-family: var(--f-mono); font-size: 11px; opacity: .7; margin-left: 6px; }
.tab[aria-selected="true"] .count { opacity: .92; }
.panel[hidden] { display: none; }
.panel-head { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 36px; padding-bottom: 22px; border-bottom: 1px solid var(--line-dark); }
.panel-head p { margin: 0; color: var(--muted-dark); }
.featured-cap { font-family: var(--f-display); font-style: italic; font-size: 20px; color: var(--paper); text-transform: none; letter-spacing: 0; }
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px 18px; }
.pf-grid.short { grid-template-columns: repeat(5, 1fr); gap: 14px; }
@media (max-width: 1100px) { .pf-grid.short { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .pf-grid { grid-template-columns: 1fr 1fr; } .pf-grid.short { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .pf-grid { grid-template-columns: 1fr; } .pf-grid.short { grid-template-columns: 1fr 1fr; } }
.pf-bottom { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 64px; }

/* ==========================================================
   Brand typography — ~75% Lenia Sans, ~25% GC Commune
   GC Commune is the accent: only the big H1/H2 headlines and the wordmark.
   Everything else is Lenia Sans, using its weights for hierarchy:
   300 light italic (marquee) · 400 body · 500 meta/labels · 600 subheads ·
   700 names · 800 stats.
   GC Commune has a single weight and no italic, so those headings stay at
   400 and the browser never fakes bold/italic.
   ========================================================== */
html { font-synthesis: none; }

/* --- GC Commune: the standout moments --- */
h1, h2, .h1, .h2, .brand-name { font-family: var(--f-display); font-weight: 400; font-style: normal; letter-spacing: -0.005em; }
.h1 { font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; }
.h2 { font-size: clamp(34px, 4.3vw, 60px); line-height: 1.06; }
h1 em, h2 em, .h1 em, .h2 em, h1 .em, h2 .em, .h1 .em, .h2 .em { font-style: normal; font-weight: 400; }
.brand-name small { letter-spacing: .28em; }

/* --- Lenia Sans: everything else --- */
.case-name, .price, .faq summary, .founder-card b, .pains q, .marquee span,
.nav.open .nav-links a, .quote blockquote::before { font-family: var(--f-body); }

h3, .h3 { font-weight: 600; letter-spacing: -0.015em; }
h3 em, .h3 em { font-style: italic; font-weight: 500; }
.faq summary { font-weight: 600; letter-spacing: -0.015em; }
.pains q { font-weight: 500; letter-spacing: -0.015em; }
.case-name, .founder-card b { font-weight: 700; letter-spacing: -0.02em; }
.price { font-weight: 700; letter-spacing: -0.025em; }
.marquee span { font-weight: 300; font-style: italic; letter-spacing: -0.01em; }
.nav.open .nav-links a { font-weight: 500; letter-spacing: -0.01em; }

/* Small uppercase labels: semibold for eyebrows/headings, medium for meta */
.label, .plan-name, .footer h4, .step .tag, .case dt, .plan.popular .flag { font-weight: 600; }
.announce, .hero-proof, .vid .corner, .system-top, .track-name, .chip, .work-item figcaption,
.stat-strip span, .case-role, .badge, .numbers small, .who span, .verified, .plan .cap,
.founder-card span, .footer-bottom, .tab .count, .brand-name small { font-weight: 500; }
.ruler { font-weight: 400; }

/* Long reading text, taglines and numbers move to Lenia Sans
   (GC Commune demo has no digits, and quotes read better in the text face) */
.quote blockquote, .plan-desc, .founder blockquote, .footer-tag, .pull,
.case-extra, .final .kicker, .featured-cap,
.stat-strip strong, .numbers .num, .step-num, .founder-portrait { font-family: var(--f-body); }
.quote blockquote { font-weight: 400; font-size: clamp(17px, 1.4vw, 18px); line-height: 1.55; color: var(--muted-dark); }
.plan-desc { font-style: italic; font-weight: 400; font-size: 17px; line-height: 1.5; }
.founder blockquote { font-style: italic; font-weight: 400; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.5; }
.footer-tag { font-style: italic; font-weight: 400; font-size: 18px; line-height: 1.5; }
.pull { font-style: italic; font-weight: 500; font-size: clamp(19px, 1.7vw, 22px); line-height: 1.45; }
.case-extra, .final .kicker { font-style: italic; font-weight: 500; font-size: 18px; letter-spacing: .01em; }
.featured-cap { font-style: italic; font-weight: 500; font-size: 16px; }
.stat-strip strong, .numbers .num { font-weight: 800; letter-spacing: -0.03em; }
.step-num { font-style: normal; font-weight: 700; font-size: 22px; }

/* ==========================================================
   Responsive — tablet (≤1023px) and phone (≤600px)
   ========================================================== */
@media (max-width: 1023px) {
  section { padding: clamp(64px, 9vw, 96px) 0; }
  .head { margin-bottom: 44px; }

  /* Hero: stack copy over the video, keep the video a readable size */
  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { max-width: 680px; }
  .monitor { max-width: 680px; width: 100%; }
  .hero-bust { width: 75%; right: -22%; opacity: .26; }

  /* Steps: number on the left, text on the right */
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 24px; padding: 32px 0; border-left: 0; border-bottom: 1px solid var(--line-light); }
  .step-num { grid-row: span 3; margin: 0; }

  /* Two-up grids on tablet */
  .benefits { grid-template-columns: 1fr 1fr; }
  .quote { padding: 28px; }
  .fit { grid-template-columns: 1fr 1fr; }
  .fit-no { border-left: 0; border-top: 1px solid var(--line-light); border-radius: 0 22px 22px 0; }

  /* Packages: one readable column instead of three squeezed cards */
  .plans { grid-template-columns: 1fr; max-width: 580px; margin-inline: auto; gap: 28px; }
  .plan.popular { transform: none; }

  .cases { grid-template-columns: 1fr; max-width: 680px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .faq-grid { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid .head { position: static; margin-bottom: 0; }

  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-top > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .fit { grid-template-columns: 1fr; }
  .fit-no { border-left: 1px solid var(--line-light); border-top: 0; border-radius: 0 0 22px 22px; }
}

@media (max-width: 600px) {
  :root { --gutter: 24px; }
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .head { margin-bottom: 32px; gap: 16px; }
  .h1 { font-size: clamp(40px, 11.5vw, 52px); line-height: 1; }
  .h2 { font-size: clamp(32px, 9vw, 40px); line-height: 1.05; }
  .h3 { font-size: 24px; }
  .lede { font-size: 17px; }
  .label { font-size: 11px; letter-spacing: .1em; gap: 8px; }
  .label::before { width: 16px; }
  .btn { min-height: 50px; padding: 0 22px; }

  .announce { font-size: 11px; letter-spacing: .06em; padding: 8px 12px; }
  .hide-sm { display: none; }
  .nav-inner { height: 64px; }
  .nav.open .nav-links { top: 64px; }
  .brand-logo { height: 30px; }
  .brand-name { font-size: 20px; }

  .hero { padding: 40px 0 56px; }
  .hero-copy { gap: 22px; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .hero-note { margin: -6px 0 0; }
  .hero-proof { flex-direction: column; gap: 8px; font-size: 11px; }
  .hero-bust { width: 110%; right: -45%; opacity: .18; }
  .monitor-chrome { font-size: 11px; }
  .vid .play { width: 56px; height: 56px; }

  .marquee { padding: 14px 0; }
  .marquee span, .marquee-track { gap: 28px; }

  .pains li { grid-template-columns: 34px 1fr; gap: 10px; padding: 20px 0; }
  .pains q { font-size: 21px; }
  .pull { font-size: 21px; padding-left: 16px; margin-top: 24px; }

  .system-card { padding: 16px; border-radius: 14px; }
  .system-top { font-size: 11px; gap: 8px; }
  .system-top span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ruler { padding-left: 66px; font-size: 11px; }
  .track { grid-template-columns: 56px 1fr; gap: 10px; }
  .track-name { font-size: 11px; }
  .clips { height: 30px; gap: 3px; }
  .clip { font-size: 11px; padding: 0 6px; }
  .chip { font-size: 11px; padding: 5px 10px; }

  .step, .step + .step { grid-template-columns: 44px 1fr; column-gap: 16px; padding: 26px 0; }
  .step-num { width: 44px; height: 44px; font-size: 21px; }

  .grid-3 { gap: 28px; }
  .center-cta { margin-top: 36px; }
  .center-cta .btn { width: 100%; }

  .benefits { grid-template-columns: 1fr; border-radius: 14px; }
  .benefit { padding: 24px 22px; gap: 10px; grid-template-columns: 40px 1fr; column-gap: 14px; }
  .benefit .ico { width: 40px; height: 40px; grid-row: span 2; }
  .benefit h3 { font-size: 22px; }

  .stat-strip { margin-bottom: 32px; }
  .stat-strip div { padding: 18px 0; }
  .case { padding: 24px 20px; border-radius: 16px; }
  .case-top { flex-wrap: wrap; margin-bottom: 20px; }
  .case-name { font-size: 26px; }
  .numbers { padding: 18px 0 20px; gap: 10px; margin-bottom: 20px; }
  .numbers .num { font-size: 38px; }
  .numbers .arrow svg { width: 22px; height: 22px; }
  .case dl { gap: 14px; }

  .quote { padding: 22px 20px; gap: 20px; border-radius: 14px; }
  .quote blockquote { font-size: 17px; }
  .quote-lead { font-size: 21px; }
  .quote blockquote::before { font-size: 48px; }

  .fit > div { padding: 28px 22px; }
  .fit h3 { margin-bottom: 20px; }
  .fit ul { gap: 14px; }
  .fit li { grid-template-columns: 24px 1fr; gap: 10px; font-size: 15.5px; }

  .plans { gap: 32px; }
  .plan { padding: 28px 22px; gap: 18px; border-radius: 18px; }
  .plan.popular .flag { left: 22px; }
  .price { font-size: 36px; }
  .plan-desc { font-size: 19px; }
  .plans-note { margin-top: 32px; font-size: 14.5px; }

  .faq summary { font-size: 20px; padding: 20px 0; gap: 14px; }
  .faq summary .pm { width: 32px; height: 32px; }
  .faq details p { margin-bottom: 20px; }
  .faq-grid .head .btn { width: 100%; }

  .founder { gap: 22px; }
  .founder-card { grid-template-columns: 64px 1fr; gap: 14px; padding: 16px; }
  .founder-portrait { width: 64px; height: 64px; }
  .founder-card b { font-size: 22px; }
  .founder .btn { width: 100%; }
  .cal-frame { border-radius: 14px; }
  .cal-frame .calendly-inline-widget { height: 1000px; }

  .final .wrap { gap: 22px; }
  .final-bust { left: auto; right: -34%; width: 90%; opacity: .26;
    -webkit-mask-image: linear-gradient(to left, #000 15%, transparent 85%), linear-gradient(to bottom, transparent 0%, #000 20%, #000 60%, transparent 95%);
            mask-image: linear-gradient(to left, #000 15%, transparent 85%), linear-gradient(to bottom, transparent 0%, #000 20%, #000 60%, transparent 95%); }
  .final .btn { width: 100%; }

  .footer { padding: 48px 0 28px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-tag { font-size: 19px; }
  .footer-bottom { flex-direction: column; font-size: 11.5px; }

  .page-hero { padding: 48px 0 32px; }
  .tabs { width: 100%; }
  .tab { flex: 1; padding: 12px 10px; }
  .panel-head { margin-bottom: 24px; padding-bottom: 16px; }
  .pf-grid { gap: 24px; }
  .pf-grid.short { gap: 10px; }
  .pf-bottom { margin-top: 44px; }
  .pf-bottom .btn { width: 100%; }
}

/* ---------- Reveal motion ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal="stagger"].in { opacity: 1; transform: none; }
.js [data-reveal="stagger"].in > * { opacity: 1; transform: none; }
.js [data-reveal="stagger"].in > *:nth-child(2) { transition-delay: .08s; }
.js [data-reveal="stagger"].in > *:nth-child(3) { transition-delay: .16s; }
.js [data-reveal="stagger"].in > *:nth-child(4) { transition-delay: .24s; }
.js [data-reveal="stagger"].in > *:nth-child(5) { transition-delay: .32s; }
.js [data-reveal="stagger"].in > *:nth-child(6) { transition-delay: .4s; }
.js .hero [data-reveal] { transition-duration: 1.2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal], .js [data-reveal="stagger"] > * { opacity: 1; transform: none; }
}
