/* ==========================================================================
   Sadiq Ali — Athletisimo International
   ========================================================================== */

:root {
  /* palette from the "Sadiq Ali Alangadan" card: midnight teal → deep teal → aqua */
  --bg: #061214;
  --bg-2: #0B1C1E;
  --bg-3: #11292C;
  --ink: #EAF7F6;
  --ink-2: #A6C3C2;
  --muted: #6E8F8E;
  --line: rgba(234, 247, 246, .12);
  --line-2: rgba(234, 247, 246, .22);
  --accent: #4FE8E0;
  --accent-ink: #032426;
  --teal: #1E7F7E;
  --grad: linear-gradient(100deg, #061214 0%, #0E3B3E 42%, #1E7F7E 74%, #4FE8E0 100%);
  --cream: #E2F1F0;
  --cream-ink: #072325;
  --cream-muted: #4C6B6A;

  /* chart series: validated for CVD + contrast on --bg-2 */
  --series-base: #8F86E0;
  --series-latest: #22A9A2;
  --s1: #22A9A2; /* energy */
  --s2: #8F86E0; /* strength */
  --s3: #C7843A; /* endurance */

  --f-display: "Archivo", system-ui, sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1360px;
  --radius: 22px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }

/* film grain */
body::after {
  content: "";
  position: fixed; inset: -50%;
  z-index: 90; pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 8s steps(8) infinite;
}
@keyframes grain {
  0%,100% { transform: translate(0,0); } 25% { transform: translate(-3%,2%); }
  50% { transform: translate(2%,-3%); } 75% { transform: translate(-2%,-1%); }
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: 0; text-transform: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .6; }
.eyebrow .dot, .eyebrow--dark::before { flex: none; }
.eyebrow:has(.dot)::before { display: none; }
.eyebrow--dark { color: var(--cream-muted); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(79, 232, 224, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(79, 232, 224, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 232, 224, 0); } }

.h2, .display {
  font-family: var(--f-display);
  font-weight: 800;
  font-stretch: 68%;
  text-transform: uppercase;
  line-height: .9;
  letter-spacing: -.01em;
  font-size: clamp(2.8rem, 7vw, 6.4rem);
}
.h2 em, .display em { color: var(--accent); font-size: 1.04em; line-height: .8; }
.display { font-size: clamp(3.4rem, 11vw, 10.5rem); }

.sec-head { margin-bottom: clamp(40px, 6vw, 80px); }
.sec-head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec-head__aside { max-width: 340px; color: var(--ink-2); }
.sec-head__aside strong { color: var(--ink); }
.text-link { display: inline-block; margin-top: 10px; color: var(--accent); border-bottom: 1px solid rgba(79, 232, 224, .4); transition: border-color .3s; }
.text-link:hover { border-color: var(--accent); }

/* split-text helpers */
.split-line { overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 54px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--bh); padding: 0 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  overflow: hidden; isolation: isolate;
  transition: color .4s var(--ease), border-color .4s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--sm { --bh: 44px; padding: 0 20px; font-size: 14px; }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent::before { background: var(--ink); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }
.btn--light { background: var(--ink); color: var(--bg); }
.btn--light::before { background: var(--accent); }

/* ---------- Loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 150;
  display: grid; place-items: center;
  background: var(--bg);
  animation: loader-failsafe 0s 7s forwards; /* never trap the page if a script fails */
}
@keyframes loader-failsafe { to { visibility: hidden; opacity: 0; } }
.loader__inner { display: flex; align-items: baseline; gap: 18px; overflow: hidden; }
.loader__word { font-family: var(--f-display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(2.4rem, 8vw, 5rem); line-height: 1; }
.loader__count { font-family: var(--f-serif); font-style: italic; color: var(--accent); font-size: clamp(1.4rem, 3vw, 2rem); min-width: 3.2em; }
.loader__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 48px; height: 1px; background: var(--line); }
.loader__bar span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- Progress ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }


/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--gutter);
  transition: transform .5s var(--ease), background .4s, backdrop-filter .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(6, 18, 20, .72); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 34px; height: 34px; color: var(--accent); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__text strong { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; text-transform: uppercase; font-size: 19px; letter-spacing: .02em; }
.brand__text small { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav__links { display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; background: rgba(11, 28, 30, .5); }
.nav__links a { position: relative; padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: color .3s, background .3s; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); background: rgba(234, 247, 246, .08); }

.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; z-index: 110; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ink); transition: transform .45s var(--ease), top .45s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.menu-open .burger span:first-child { top: 22px; transform: rotate(45deg); }
.menu-open .burger span:last-child { top: 22px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 105;
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 44px) 38px);
  transition: clip-path .8s var(--ease);
  visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 44px) 38px); visibility: visible; }
.menu nav { display: flex; flex-direction: column; }
.menu nav a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 68%; text-transform: uppercase;
  font-size: clamp(2.6rem, 12vw, 4.4rem); line-height: 1.04;
  border-bottom: 1px solid var(--line); padding: 6px 0;
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s var(--ease), transform .6s var(--ease), color .3s;
}
.menu nav a i { font-family: var(--f-serif); font-size: 16px; color: var(--accent); font-weight: 400; }
.menu-open .menu nav a { opacity: 1; transform: none; }
.menu-open .menu nav a:nth-child(2) { transition-delay: .05s; }
.menu-open .menu nav a:nth-child(3) { transition-delay: .1s; }
.menu-open .menu nav a:nth-child(4) { transition-delay: .15s; }
.menu-open .menu nav a:nth-child(5) { transition-delay: .2s; }
.menu-open .menu nav a:nth-child(6) { transition-delay: .25s; }
.menu nav a:active { color: var(--accent); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 12px 24px; color: var(--ink-2); font-size: 15px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr minmax(340px, min(46vw, 760px));
  align-items: center;
  gap: 4vw;
  padding: calc(var(--nav-h) + 30px) var(--gutter) 60px;
  max-width: 1600px; margin: 0 auto;
  overflow: clip;
}
.hero__glow {
  position: absolute; z-index: -1; inset: -10% -20% auto auto;
  width: 90vw; height: 90vw; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(30, 127, 126, .45), rgba(14, 59, 62, .25) 45%, transparent 72%);
  filter: blur(20px);
  pointer-events: none;
}
.hero__content { position: relative; z-index: 2; order: 1; }
.hero__media { position: relative; order: 2; aspect-ratio: 4 / 3; max-height: 78svh; }
.hero__img {
  position: absolute; inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-3);
  box-shadow: 0 40px 100px rgba(0, 0, 0, .45);
}
/* 12% taller than the frame so the scroll parallax never reveals an edge */
.hero__img img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 45%; transform-origin: 50% 50%; }

.hero__title {
  font-family: var(--f-display); font-weight: 800; font-stretch: 62%;
  text-transform: uppercase;
  font-size: clamp(2.8rem, 4.9vw, 5.6rem);
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0 0 26px -0.03em;
}
.hero__title .line { display: block; overflow: hidden; padding: .05em 0 .1em; }
.hero__title em { color: var(--accent); font-size: 1.06em; line-height: .9; }
.hero__title .word { display: inline-block; }
.hero__script {
  display: inline-block;
  font-size: clamp(1.4rem, 2.3vw, 2.4rem);
  color: var(--accent);
  margin-left: .3em;
  vertical-align: .55em;
  line-height: 1;
}
.hero__lead { max-width: 560px; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 19px); margin-bottom: 34px; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__tag { display: block; margin-bottom: 14px; font-family: var(--f-serif); font-style: italic; font-size: clamp(1.8rem, 2.5vw, 2.6rem); line-height: 1.1; color: var(--ink); text-wrap: balance; }
@media (min-width: 641px) { .hero__tag { white-space: nowrap; } }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }

.chip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 12px;
  border-radius: 999px;
  background: rgba(11, 28, 30, .92);
  border: 1px solid var(--line-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 13px; color: var(--ink-2);
  white-space: nowrap;
}
.chip svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.6; }
.chip b { color: var(--ink); font-weight: 600; margin-right: 4px; }
.chip--float { position: absolute; z-index: 3; }
.chip--a { top: 10%; left: -9%; }
.chip--b { bottom: -22px; right: 8%; }

.spin { position: absolute; z-index: 3; left: -64px; bottom: -40px; width: 128px; height: 128px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: var(--accent-ink); }
.spin svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 14s linear infinite; }
.spin text { font-size: 10.5px; font-weight: 700; text-transform: uppercase; fill: currentColor; }
.spin__arrow { font-size: 30px; line-height: 1; transition: transform .5s var(--ease); }
.spin:hover .spin__arrow { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

.scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 80%,100% { transform: translateY(14px); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--grad); }
.marquee__track { display: flex; width: max-content; align-items: center; animation: marquee 38s linear infinite; will-change: transform; }
.marquee__track > * { margin-right: 36px; } /* margins, not gap, so the two halves loop seamlessly at -50% */
.marquee span { font-family: var(--f-display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1; white-space: nowrap; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(234, 247, 246, .7); }
.marquee b { color: var(--ink); font-size: 1.4rem; font-weight: 400; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About (light) ---------- */
.light { background: var(--cream); color: var(--cream-ink); }
.about { padding: clamp(90px, 13vw, 180px) 0; position: relative; }
.about__grid { display: grid; grid-template-columns: 6fr 6fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__img { position: relative; background: var(--cream); }
.about__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 40%; border-radius: var(--radius); }
.about__img figcaption { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid rgba(7, 35, 37, .18); font-size: 13px; color: var(--cream-muted); }
.about__img figcaption span:first-child { color: var(--cream-ink); font-weight: 600; }
.statement {
  font-family: var(--f-display); font-weight: 500; font-stretch: 92%;
  font-size: clamp(1.6rem, 2.9vw, 2.75rem);
  line-height: 1.18;
  letter-spacing: -.015em;
  margin-bottom: 48px;
}
.statement .w { opacity: .16; transition: opacity .2s linear; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(7, 35, 37, .18); }
.pillars li { padding: 18px 16px 0 0; font-weight: 600; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.pillars li + li { padding-left: 16px; border-left: 1px solid rgba(7, 35, 37, .18); }
.pillars span { font-family: var(--f-serif); font-style: italic; font-weight: 400; font-size: 18px; color: #0F7E79; }

/* ---------- Training modes ---------- */
.training { padding: clamp(90px, 12vw, 170px) 0 clamp(60px, 8vw, 120px); }
.modes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.mode {
  position: relative;
  min-height: 680px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex; align-items: flex-end;
  transform-style: preserve-3d;
  will-change: transform;
  background: var(--bg-3);
  isolation: isolate;
}
.mode__bg { position: absolute; inset: 0; z-index: -1; }
.mode__bg img { width: 100%; height: 115%; object-fit: cover; transition: transform 1.2s var(--ease), filter .8s; filter: grayscale(.35) brightness(.7); }
.mode:hover .mode__bg img { transform: scale(1.06); filter: grayscale(0) brightness(.75); }
.mode__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 18, 20, .15) 0%, rgba(6, 18, 20, .55) 40%, rgba(6, 18, 20, .96) 78%); }
.mode__body { padding: clamp(26px, 3vw, 44px); width: 100%; }
.mode__top { position: absolute; top: clamp(22px, 3vw, 40px); left: clamp(26px, 3vw, 44px); right: clamp(26px, 3vw, 44px); display: flex; justify-content: space-between; }
.mode__num { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--ink-2); }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(6, 18, 20, .5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.tag--accent { background: var(--accent); color: var(--accent-ink); border-color: transparent; font-weight: 600; }
.mode h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: .92; margin-bottom: 14px; }
.mode h3 em { color: var(--accent); }
.mode p { color: var(--ink-2); max-width: 440px; margin-bottom: 22px; }
.ticks { display: grid; gap: 10px; margin-bottom: 30px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ticks li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23032426' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/12px no-repeat; }

/* ---------- Disciplines ---------- */
.disciplines { padding: clamp(60px, 8vw, 120px) 0 clamp(90px, 12vw, 170px); position: relative; }
.disc { border-bottom: 1px solid var(--line); }
.disc__row {
  position: relative;
  display: grid; grid-template-columns: 70px minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 36px) 0;
  border-top: 1px solid var(--line);
  isolation: isolate;
}
.disc__row::before { content: ""; position: absolute; inset: 0 calc(var(--gutter) * -1); z-index: -1; background: var(--bg-3); transform: scaleY(0); transform-origin: bottom; transition: transform .55s var(--ease); }
.disc__n { font-family: var(--f-serif); font-style: italic; color: var(--muted); font-size: 18px; }
.disc__row h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 68%; text-transform: uppercase; font-size: clamp(1.8rem, 3.6vw, 3.4rem); line-height: 1; transition: transform .55s var(--ease), color .35s; }
.disc__row p { color: var(--ink-2); font-size: 15px; }
@media (hover: hover) {
  .disc__row:hover::before { transform: scaleY(1); }
  .disc__row:hover h3 { transform: translateX(14px); color: var(--accent); }
}

/* ---------- Method ---------- */
.method { padding: clamp(90px, 12vw, 170px) 0; background: linear-gradient(115deg, var(--bg-2) 35%, #0E3436 100%); border-block: 1px solid var(--line); }
.method__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.method__sticky { position: sticky; top: calc(var(--nav-h) + 50px); }
.method__intro { color: var(--ink-2); max-width: 380px; margin: 28px 0 32px; }
.steps { position: relative; display: grid; gap: clamp(24px, 3vw, 36px); padding-left: clamp(36px, 4vw, 56px); }
.steps__line { position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.steps__line span { position: absolute; inset: 0; background: var(--accent); transform-origin: top; transform: scaleY(0); }
.step {
  position: relative;
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(234, 247, 246, .04), transparent 60%);
  transition: border-color .5s, background .5s;
}
.step::before { content: ""; position: absolute; left: calc(clamp(36px, 4vw, 56px) * -1 - 5px); top: 44px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg-2); border: 1px solid var(--line-2); transition: background .4s, border-color .4s; }
.step.is-active { border-color: rgba(79, 232, 224, .35); }
.step.is-active::before { background: var(--accent); border-color: var(--accent); }
.step__n { font-family: var(--f-display); font-weight: 800; font-stretch: 62%; font-size: clamp(3.4rem, 6vw, 5.2rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .4s, color .4s; }
.step.is-active .step__n { -webkit-text-stroke-color: var(--accent); }
.step h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; margin-bottom: 10px; }
.step p { color: var(--ink-2); }

/* ---------- Outcomes ---------- */
.outcomes { padding: clamp(90px, 12vw, 170px) 0 0; }
.outcomes__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.gains { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.gains li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 15.5px; line-height: 1.35; }
.gains li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23032426' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center/12px no-repeat; }

.wk { position: relative; height: 300px; padding: 10px 0 30px 30px; }
.wk__grid { position: absolute; left: 30px; right: 0; top: 10px; bottom: 30px; pointer-events: none; }
.wk__grid span { position: absolute; left: 0; right: 0; border-top: 1px solid var(--line); }
.wk__grid span:first-child { border-top-color: var(--line-2); }
.wk__grid b { position: absolute; left: -30px; width: 22px; top: -8px; text-align: right; font-weight: 400; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.wk__groups { position: relative; height: 100%; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.wk__g { position: relative; height: 100%; border-radius: 10px; outline-offset: 2px; }
.wk__g:hover { background: rgba(234, 247, 246, .03); }
.wk__bars { height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding: 0 10%; }
.wk__bar { position: relative; font-style: normal; flex: 1; max-width: 36px; height: var(--h); border-radius: 4px 4px 0 0; transform-origin: bottom; transition: opacity .25s; }
.wk__bar--s1 { background: var(--s1); }
.wk__bar--s2 { background: var(--s2); }
.wk__bar--s3 { background: var(--s3); }
.wk__bar b { position: absolute; bottom: 100%; left: 50%; transform: translate(-50%, -5px); font-size: 11.5px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.wk__x { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font-size: 12.5px; color: var(--ink-2); }
.wk.is-hovering .wk__g:not(.is-on) .wk__bar { opacity: .35; }

/* ---------- Results ---------- */
.results { padding: clamp(90px, 12vw, 170px) 0; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: clamp(30px, 4vw, 56px); }
.kpi { padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 32px) clamp(24px, 3vw, 40px) 0; }
.kpi + .kpi { padding-left: clamp(16px, 2vw, 32px); border-left: 1px solid var(--line); }
.kpi__label { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.kpi__value { font-family: var(--f-display); font-weight: 800; font-stretch: 62%; font-size: clamp(3.6rem, 8vw, 7.2rem); line-height: 1; margin: 10px 0 6px; font-variant-numeric: tabular-nums; }
.kpi__value small { font-size: .38em; font-stretch: 80%; margin-left: 4px; color: var(--accent); }
.kpi__sub { color: var(--ink-2); font-size: 14px; }

.case { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(16px, 2vw, 28px); align-items: start; }
.chart { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 38px); }
.chart__head { display: flex; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-bottom: 26px; }
.chart__head h3 { font-size: 18px; font-weight: 700; margin-bottom: 2px; }
.chart__head p { color: var(--muted); font-size: 13px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--ink-2); align-items: center; }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.sw { width: 14px; height: 10px; border-radius: 2px; }
.sw--base { background: var(--series-base); }
.sw--latest { background: var(--series-latest); }
.sw--s1 { background: var(--s1); }
.sw--s2 { background: var(--s2); }
.sw--s3 { background: var(--s3); }

.chart__plot { position: relative; --label-w: 168px; padding-bottom: 30px; }
.chart__axis { position: absolute; top: 0; bottom: 30px; left: var(--label-w); right: 44px; pointer-events: none; }
.chart__axis span { position: absolute; top: 0; bottom: 0; border-left: 1px solid var(--line); }
.chart__axis span:first-child { border-left-color: var(--line-2); }
.chart__axis b { position: absolute; bottom: -24px; transform: translateX(-50%); font-weight: 400; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.chart__axis span:first-child b { transform: none; }
.c-row { position: relative; display: grid; grid-template-columns: var(--label-w) 1fr; align-items: center; padding: 10px 44px 10px 0; border-radius: 10px; cursor: default; }
.c-row__label { font-size: 14px; color: var(--ink); padding-right: 14px; line-height: 1.25; }
.c-row__label small { display: block; color: var(--muted); font-size: 12px; }
.c-bars { display: grid; gap: 2px; }
.c-bar { position: relative; height: 14px; }
.c-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); border-radius: 0 4px 4px 0; transform-origin: left; transition: opacity .25s; }
.c-bar--base i { background: var(--series-base); }
.c-bar--latest i { background: var(--series-latest); }
.c-bar b { position: absolute; top: 50%; left: calc(var(--w) + 8px); transform: translateY(-50%); font-size: 12px; font-weight: 600; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-bar--latest b { color: var(--ink); }
.c-row.is-dim .c-bar i { opacity: .35; }
.c-row:hover { background: rgba(234, 247, 246, .03); }
.chart__tip {
  position: absolute; z-index: 5; pointer-events: none;
  min-width: 190px; padding: 12px 14px;
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .45);
  font-size: 13px; opacity: 0; transform: translateY(6px); transition: opacity .2s, transform .2s;
}
.chart__tip.is-on { opacity: 1; transform: none; }
.chart__tip strong { display: block; margin-bottom: 6px; font-size: 14px; }
.chart__tip div { display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.chart__tip div span:last-child { margin-left: auto; color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.chart__tip .chg { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.chart__table summary { cursor: pointer; font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 6px; }
.chart__table summary:hover { color: var(--ink); }
.chart__table table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 13px; font-variant-numeric: tabular-nums; }
.chart__table th, .chart__table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-weight: 400; }
.chart__table thead th { color: var(--muted); font-size: 12px; }
.chart__table tbody th { color: var(--ink); }

.case__main { display: grid; gap: clamp(16px, 2vw, 28px); }
.zoom { display: block; width: 100%; text-align: left; position: relative; border-radius: var(--radius); overflow: hidden; }
.zoom img { transition: transform .9s var(--ease); }
.zoom:hover img { transform: scale(1.04); }
.case__ai .zoom { border: 1px solid var(--line); }
.case__ai figcaption { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 12px; font-size: 13px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: rgba(79, 232, 224, .12); color: var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.case__docs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.doc { border-radius: 14px; border: 1px solid var(--line); background: #fff; }
.doc img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top left; }
.doc span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: 12px; font-weight: 600; color: var(--ink); background: linear-gradient(transparent, rgba(6, 18, 20, .9)); }

/* ---------- Client profiles ---------- */
.profiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.profile {
  position: relative; display: flex; flex-direction: column; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--bg-2);
  transition: border-color .4s, transform .6s var(--ease), box-shadow .6s var(--ease);
}
.profile:hover { border-color: rgba(79, 232, 224, .45); transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.profile__cover { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-3); }
.profile__cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 90%; transition: transform 1s var(--ease); }
.profile:hover .profile__cover img { transform: scale(1.05); }
.profile__cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--bg-2)); }
.badge--glass { position: absolute; z-index: 1; bottom: 14px; left: 14px; background: rgba(6, 18, 20, .7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.profile__body { display: flex; flex-direction: column; gap: 20px; padding: 0 24px 24px; margin-top: -18px; position: relative; flex: 1; }
.profile__who { display: flex; align-items: center; gap: 14px; }
.profile__who > span:last-child { display: flex; flex-direction: column; line-height: 1.3; }
.profile__who strong { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: 24px; line-height: 1.05; }
.profile__who small { font-size: 13px; color: var(--muted); }
.avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); border: 2px solid var(--bg-2); font-family: var(--f-serif); font-style: italic; font-size: 26px; color: var(--ink); }
.profile__stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--line); }
.profile__stats > span { display: flex; flex-direction: column; padding: 14px 0; }
.profile__stats > span + span { padding-left: 14px; border-left: 1px solid var(--line); }
.profile__stats b { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.profile__stats small { font-size: 12px; color: var(--muted); margin-top: 4px; }
.profile__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile__tags i { font-style: normal; font-size: 12px; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); }
.profile__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--accent); }
.profile__cta span { transition: transform .4s var(--ease); }
.profile:hover .profile__cta span { transform: translateX(5px); }
.profile--featured { grid-column: span 2; flex-direction: row; }
.profile--featured .profile__cover { flex: 0 0 46%; aspect-ratio: auto; min-height: 400px; }
.profile--featured .profile__cover img { position: absolute; inset: 0; object-position: 50% 30%; }
.profile--featured .profile__cover::after { background: linear-gradient(90deg, transparent 60%, var(--bg-2)); }
.profile--featured .profile__body { margin-top: 0; padding: clamp(24px, 3vw, 40px); justify-content: center; }
.profile--featured .profile__who strong { font-size: clamp(26px, 2.6vw, 34px); }
.profile--featured .profile__stats b { font-size: clamp(30px, 3vw, 40px); }
.profile--next { justify-content: center; gap: 12px; padding: 32px 28px; border-style: dashed; border-color: var(--line-2); background: radial-gradient(120% 80% at 100% 100%, rgba(30, 127, 126, .28), transparent 70%), var(--bg); }
.profile--next strong { font-family: var(--f-display); font-weight: 800; font-stretch: 70%; text-transform: uppercase; font-size: clamp(2rem, 3vw, 2.6rem); line-height: 1; }
.profile--next small { color: var(--ink-2); max-width: 300px; }
.profile--next .profile__cta { margin-top: 10px; }
.profile__plus { width: 52px; height: 52px; border-radius: 50%; border: 1px dashed var(--accent); display: grid; place-items: center; color: var(--accent); font-size: 26px; margin-bottom: 8px; }

/* ---------- Case study panel ---------- */
.case-modal { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.case-modal::backdrop { background: rgba(3, 10, 11, .82); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.case-modal__panel { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 5vh auto; padding: clamp(22px, 3.5vw, 48px); background: var(--bg); border: 1px solid var(--line-2); border-radius: calc(var(--radius) + 6px); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); }
.case-modal[open] .case-modal__panel { animation: panel-in .7s var(--ease); }
.case-modal[open]::backdrop { animation: fade-in .4s ease; }
.case-modal.is-closing .case-modal__panel { animation: panel-out .35s ease-in forwards; }
.case-modal.is-closing::backdrop { animation: fade-in .35s ease reverse forwards; }
@keyframes panel-in { from { opacity: 0; transform: translateY(60px) scale(.98); } }
@keyframes panel-out { to { opacity: 0; transform: translateY(40px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.case-modal__head { display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap; padding-bottom: 24px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.case-modal__head .profile__who strong { font-size: clamp(28px, 3.4vw, 40px); }
.case-modal__actions { display: flex; align-items: center; gap: 18px; }
.case-modal__actions .text-link { margin-top: 0; }
.case-modal__close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 26px; line-height: 1; transition: background .3s, color .3s, transform .5s var(--ease); }
.case-modal__close:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: rotate(90deg); }
.case-modal .kpis { border-top: 0; }

/* ---------- Gallery ---------- */
.gallery { padding: clamp(90px, 12vw, 160px) 0 clamp(60px, 8vw, 100px); overflow: hidden; }
.gallery__pin { min-height: 0; }
.gallery__hint { font-family: var(--f-serif); font-style: italic; font-size: 20px; color: var(--accent); }
.gallery__track { display: flex; gap: clamp(14px, 1.6vw, 24px); padding: 0 var(--gutter); width: max-content; align-items: center; }
.g { position: relative; flex: none; height: clamp(300px, 56vh, 560px); aspect-ratio: 4 / 3; border-radius: 18px; overflow: hidden; background: var(--bg-3); }
.g--tall { aspect-ratio: 3 / 4; }
.g img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.g figcaption { position: absolute; left: 14px; bottom: 14px; }
.g figcaption { padding: 7px 12px; border-radius: 999px; background: rgba(6, 18, 20, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); font-size: 12.5px; font-weight: 500; border: 1px solid var(--line); }

/* ---------- FAQ ---------- */
.faq { padding: clamp(90px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.faq__grid { display: grid; grid-template-columns: 4fr 7fr; gap: clamp(30px, 6vw, 110px); align-items: start; }
.faq__grid .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq__more { margin-top: 26px; color: var(--ink-2); }
.faq__more a { color: var(--accent); border-bottom: 1px solid rgba(79, 232, 224, .4); }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0;
  font-size: clamp(17px, 1.5vw, 21px); font-weight: 600;
  transition: color .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent); }
.qa__icon { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-2); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -.75px 0 0 -6px; background: currentColor; transition: transform .5s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa[open] .qa__icon { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); transform: rotate(180deg); }
.qa[open] .qa__icon::after { transform: rotate(0); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 60px 28px 0; color: var(--ink-2); max-width: 640px; }

/* ---------- Contact ---------- */
.contact { position: relative; padding: clamp(90px, 10vw, 150px) 0 clamp(80px, 10vw, 140px); overflow: hidden; isolation: isolate; }
.contact__bg { position: absolute; inset: -10% 0; z-index: -1; }
.contact__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: grayscale(.6); }
.contact__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(6, 18, 20, .55) 40%, var(--bg) 100%), linear-gradient(100deg, transparent 30%, rgba(30, 127, 126, .45) 100%); }
.contact__head { margin-bottom: clamp(44px, 6vw, 80px); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 60px); align-items: start; }
.channels { display: grid; gap: 12px; }
.channel {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line); border-radius: 18px;
  background: rgba(11, 28, 30, .6);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: border-color .4s, background .4s;
}
.channel:hover { border-color: rgba(79, 232, 224, .5); background: rgba(17, 41, 44, .85); }
.channel__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(79, 232, 224, .1); }
.channel__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.channel__text { display: flex; flex-direction: column; font-weight: 600; font-size: clamp(15px, 1.4vw, 18px); min-width: 0; overflow-wrap: break-word; }
.channel__text small { font-weight: 400; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.channel__go { margin-left: auto; font-size: 22px; color: var(--muted); transition: transform .5s var(--ease), color .3s; }
.channel:hover .channel__go { transform: rotate(45deg); color: var(--accent); }
.location { display: flex; gap: 10px; align-items: center; margin-top: 10px; color: var(--ink-2); font-size: 14px; }
.location svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.6; }

.form {
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  background: rgba(11, 28, 30, .78);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  display: grid; gap: 16px;
}
.form h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 75%; text-transform: uppercase; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; margin-bottom: 6px; }
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; appearance: none; -webkit-appearance: none;
  background: rgba(6, 18, 20, .6); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 24px 16px 10px;
  font: inherit; font-size: 16px;
  transition: border-color .3s, background .3s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A6C3C2' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { background: var(--bg-2); color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: rgba(6, 18, 20, .85); }
.field label { position: absolute; left: 17px; top: 17px; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select:focus + label, .field select:valid + label { transform: translateY(-10px) scale(.76); color: var(--accent); }
.field.is-invalid input, .field.is-invalid select { border-color: #E5735B; }
.seg { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg legend { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg label { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 50px; padding: 8px 12px; border-radius: 14px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.seg input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.form__error { color: #F0A090; font-size: 14px; }
.form__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form__actions .btn { flex: 1 1 200px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 28px; overflow: hidden; background: radial-gradient(80% 60% at 100% 100%, rgba(30, 127, 126, .3), transparent 70%); }
.footer__top { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer__tag { font-family: var(--f-serif); font-style: italic; font-size: 22px; color: var(--ink-2); }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--ink-2); font-size: 14px; }
.footer__links a:hover { color: var(--accent); }
.totop { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; font-size: 20px; transition: background .4s, color .4s; }
.totop:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.footer__word {
  font-family: var(--f-display); font-weight: 900; font-stretch: 62%; text-transform: uppercase;
  font-size: clamp(3rem, 16.5vw, 15rem); line-height: .8; letter-spacing: -.01em;
  text-align: center; margin: 48px 0 26px;
  color: transparent; -webkit-text-stroke: 1px var(--line-2);
  background: linear-gradient(90deg, var(--accent), var(--accent)) no-repeat 0 0 / var(--fill, 0%) 100%;
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer__bottom { display: flex; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.credit a { font-weight: 600; color: var(--ink-2); letter-spacing: .01em; border-bottom: 1px solid var(--line-2); transition: color .3s, border-color .3s; }
.credit a:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- FAB ---------- */
.fab {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 95;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4);
  transform: scale(0); transition: transform .5s var(--ease);
}
.fab.is-on { transform: scale(1); }
.fab svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.fab::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 1100px); max-height: 92vh; overflow: visible; color: var(--ink); }
.lightbox::backdrop { background: rgba(3, 10, 11, .88); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lb-in .45s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.96); } }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 14px; margin: 0 auto; }
.lightbox__cap { text-align: center; color: var(--ink-2); font-size: 14px; margin-top: 12px; }
.lightbox__close { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--bg); font-size: 26px; line-height: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .nav__cta { margin-left: auto; }
  .chip--a { left: -4%; }
  .chip--b { right: -2%; }
  .spin { left: -40px; width: 108px; height: 108px; }
}

@media (max-width: 960px) {
  :root { --nav-h: 68px; --radius: 18px; }
  .hero { grid-template-columns: 1fr; align-items: start; padding-top: calc(var(--nav-h) + 8px); padding-bottom: 72px; min-height: 0; gap: 30px; }
  .hero__media { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; max-height: none; order: 0; }
  .hero__content { padding-top: 0; }
  .hero__title { font-size: clamp(2.4rem, 12vw, 4rem); margin-bottom: 18px; }
  .hero__script { display: block; margin: 10px 0 0; vertical-align: 0; font-size: clamp(1.6rem, 7vw, 2.4rem); }
  .chip--float { display: none; } /* covered his face on small screens; the lead copy already says online & in person */
  .spin { display: none; } /* covered faces in the photo; the WhatsApp CTA sits right below */
  .scroll-cue { display: none; }

  .about__grid, .method__grid, .faq__grid, .contact__grid, .case, .outcomes__grid { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr 1fr; }
  .about__img { max-width: 640px; margin: 0 auto; width: 100%; }
  .method__sticky, .faq__grid .sec-head { position: static; }
  .modes { grid-template-columns: 1fr; }
  .mode { min-height: 600px; }
  .disc__row { grid-template-columns: 44px 1fr; gap: 6px 14px; }
  .disc__row p { grid-column: 2 / 3; grid-row: 2; }
}

@media (max-width: 640px) {
  .nav__cta { display: none; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .pillars { grid-template-columns: 1fr; }
  .gains { grid-template-columns: 1fr; }
  .profiles { grid-template-columns: 1fr; }
  .profile--featured { grid-column: auto; flex-direction: column; }
  .profile--featured .profile__cover { flex: none; aspect-ratio: 820 / 655; min-height: 0; }
  .profile--featured .profile__cover::after { background: linear-gradient(180deg, transparent 60%, var(--bg-2)); }
  .profile--featured .profile__body { margin-top: -18px; padding: 0 22px 24px; }
  .case-modal__panel { width: 100%; margin: 0; min-height: 100%; border-radius: 0; border: 0; padding-top: 22px; }
  .case-modal__head .profile__who { padding-right: 56px; }
  .case-modal__head .profile__who strong { font-size: 26px; }
  .case-modal__close { position: fixed; z-index: 5; top: 14px; right: 14px; background: rgba(6, 18, 20, .85); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .wk { height: 260px; }
  .wk__bars { padding: 0 4%; }
  .pillars li, .pillars li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid rgba(7, 35, 37, .18); flex-direction: row; gap: 14px; align-items: baseline; }
  .mode { min-height: 0; }
  .mode__bg img { height: 100%; }
  .mode__body { padding-top: 320px; }
  .mode__bg::after { background: linear-gradient(180deg, rgba(6, 18, 20, .1) 0%, rgba(6, 18, 20, .7) 38%, rgba(6, 18, 20, .97) 60%); }
  .kpis { grid-template-columns: 1fr; }
  .kpi, .kpi + .kpi { padding: 22px 0; border-left: 0; }
  .kpi + .kpi { border-top: 1px solid var(--line); }
  .kpi { display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 16px; }
  .kpi__label { grid-column: 1 / -1; }
  .kpi__value { margin: 6px 0 0; font-size: 4rem; }
  .kpi__sub { text-align: right; padding-bottom: 8px; }
  .chart__plot { --label-w: 0px; }
  .chart__axis { display: none; }
  .chart__plot { padding-bottom: 6px; }
  .c-row { grid-template-columns: 1fr; padding-right: 40px; gap: 6px; }
  .c-row__label small { display: inline; margin-left: 6px; }
  .doc span { font-size: 10.5px; padding: 18px 6px 6px; }
  .gallery__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .gallery__track::-webkit-scrollbar { display: none; }
  .g { height: 380px; aspect-ratio: auto; width: 82vw; scroll-snap-align: center; }
  .g--tall { width: 72vw; }
  .qa summary { padding: 20px 0; }
  .qa__a p { padding-right: 0; }
  .seg { grid-template-columns: 1fr 1fr; }
  .footer__top { flex-direction: column; align-items: flex-start; }
  .totop { position: absolute; right: var(--gutter); }
  .footer .container { position: relative; }
}

@media (min-width: 641px) and (max-width: 960px) {
  .gallery__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .g { scroll-snap-align: center; height: 420px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .statement .w { opacity: 1; }
  .g img { transform: none; }
  .spin svg { animation: none; }
}
