/* =========================================================
   Kavehflows — Minimal & Modern, black / white + one red dot
   ========================================================= */

:root {
  --black: #0a0a0a;
  --ink: #111111;
  --white: #ffffff;
  --paper: #f7f7f6;
  --paper-2: #efefed;
  --grey-1: #e6e6e4;
  --grey-2: #b8b8b5;
  --grey-3: #7a7a77;
  --grey-4: #3a3a38;
  --grey-5: #1c1c1b;
  --red: #f0483e;               /* the dot from the card — used sparingly */

  --display: "Inter Tight", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1240px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --curve: clamp(36px, 6vw, 90px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
::selection { background: var(--black); color: var(--white); }

.mono { font-family: var(--mono); letter-spacing: .02em; }
.dot { color: var(--red); }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--center { text-align: center; display: flex; flex-direction: column; align-items: center; }

/* ---------- Type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--grey-3);
  margin: 0 0 22px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow__n { color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow__n::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: rgba(255,255,255,.62); }
.eyebrow--light .eyebrow__n { color: var(--white); }

.display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(38px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -.035em;
  margin: 0 0 28px;
  color: var(--ink);
}
.display em, .hero__title em, .quote__text em {
  font-style: italic; font-weight: 400; letter-spacing: -.03em;
}
.display--light { color: var(--white); }
.display--light em { color: rgba(255,255,255,.55); }
.display:not(.display--light) em { color: var(--grey-3); }
.display--xl { font-size: clamp(46px, 9vw, 136px); letter-spacing: -.045em; line-height: .95; }

.lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.65; color: var(--grey-3); max-width: 560px; margin: 0; }
.lead--center { margin: 0 auto; }
.lead--light { color: rgba(255,255,255,.62); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 54px; padding: 0 28px;
  border-radius: 999px;
  font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -.005em;
  transition: transform .5s var(--ease), background-color .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--sm { height: 42px; padding: 0 20px; font-size: 14px; }
.btn--light { background: var(--white); color: var(--black); }
.btn--light:hover { background: var(--paper-2); }
.btn--dark { background: var(--black); color: var(--white); }
.btn--dark:hover { background: var(--grey-4); }
.btn--ghost-light { color: var(--white); border: 1px solid rgba(255,255,255,.35); }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn--block { width: 100%; }
.play-ico { width: 26px; height: 26px; border-radius: 50%; background: var(--black); color: var(--white); display: grid; place-items: center; margin-left: -12px; }
.play-ico svg { width: 12px; height: 12px; transform: translateX(1px); }
.btn:hover .play-ico svg { transform: translateX(1px); }

/* ---------- Preloader ---------- */
.preloader {
  position: fixed; inset: 0; z-index: 100;
  background: var(--black);
  display: grid; place-items: center;
  transition: clip-path 1s var(--ease-io) .1s, visibility 0s linear 1.2s;
  clip-path: inset(0 0 0 0);
}
.preloader__logo {
  font-family: var(--display); font-weight: 700; color: var(--white);
  font-size: clamp(30px, 4.4vw, 54px); letter-spacing: -.045em;
  display: flex; align-items: flex-end; overflow: hidden;
}
.preloader__logo svg { display: block; height: clamp(26px, 3.2vw, 40px); width: auto; }
.preloader__word { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) .15s forwards; }
.preloader__logo .dot { display: inline-block; transform: translateY(-140%) scale(.4); opacity: 0; animation: drop .7s cubic-bezier(.3,1.6,.5,1) .85s forwards; }
@keyframes rise { to { transform: translateY(0); } }
@keyframes drop { to { transform: translateY(0) scale(1); opacity: 1; } }
body.is-ready .preloader { clip-path: inset(0 0 100% 0); visibility: hidden; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: 76px; padding: 0 var(--gutter);
  color: var(--white);
  transition: background-color .4s, color .4s, height .4s var(--ease), transform .5s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  height: 64px;
  background: rgba(10,10,10,.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: rgba(255,255,255,.08);
}
.nav.is-hidden { transform: translateY(-100%); }
.logo { display: flex; align-items: center; }
.logo__svg { display: block; height: 17px; width: auto; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  opacity: .75; position: relative; padding: 6px 0; transition: opacity .3s;
}
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 3px; }
.lang button { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; opacity: .6; transition: background-color .3s, color .3s, opacity .3s; }
.lang button[aria-pressed="true"] { background: var(--white); color: var(--black); opacity: 1; }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100svh; min-height: max(100svh, 680px);
  color: var(--white); background: var(--black);
  overflow: hidden;
  display: flex; align-items: center;
  padding: 110px 0 90px;
}
.hero__bg { position: absolute; inset: 0; background: radial-gradient(120% 80% at 70% 40%, #222221 0%, #0d0d0d 62%); overflow: hidden; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.28) 45%, rgba(0,0,0,.04) 100%), linear-gradient(0deg, rgba(0,0,0,.5) 0%, transparent 35%); }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; mix-blend-mode: screen; }
.b1 { width: 46vw; height: 46vw; left: 48%; top: 6%; background: radial-gradient(circle, #6a6a68, transparent 65%); animation: float1 18s ease-in-out infinite alternate; }
.b2 { width: 34vw; height: 34vw; left: 66%; top: 46%; background: radial-gradient(circle, #8f8f8c, transparent 65%); opacity: .3; animation: float2 22s ease-in-out infinite alternate; }
.b3 { width: 30vw; height: 30vw; left: 18%; top: 60%; background: radial-gradient(circle, #4a4a48, transparent 65%); opacity: .35; animation: float1 26s ease-in-out infinite alternate-reverse; }
@keyframes float1 { to { transform: translate(-12vw, 8vh) scale(1.15); } }
@keyframes float2 { to { transform: translate(-18vw, -14vh) scale(.9); } }
.grain {
  position: absolute; inset: -50%; pointer-events: none; opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-6%,4%)} 40%{transform:translate(4%,-8%)} 60%{transform:translate(-9%,2%)} 80%{transform:translate(7%,6%)} 100%{transform:translate(0,0)} }

.hero__inner {
  position: relative; z-index: 2; width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 4.5vw, 72px);
}
.hero__title {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(44px, 5.4vw, 90px); line-height: .94; letter-spacing: -.05em;
  margin: 0 0 28px;
}
.hero__sub { font-size: clamp(16px, 1.35vw, 19px); color: rgba(255,255,255,.68); max-width: 440px; margin: 0; line-height: 1.6; }

/* Video box */
.vbox {
  position: relative; aspect-ratio: 16 / 9; width: 100%;
  border-radius: clamp(18px, 2vw, 28px); overflow: hidden; isolation: isolate;
  background: #121212; border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.4);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), border-color .4s;
}
.vbox:hover { border-color: rgba(255,255,255,.22); }
.vbox__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; z-index: 1; }
.vbox.has-video .vbox__video { opacity: 1; }
.vbox__placeholder { position: absolute; inset: 0; overflow: hidden; background: radial-gradient(90% 90% at 30% 20%, #2a2a29 0%, #111 70%); transition: opacity 1s; }
.vbox.has-video .vbox__placeholder { opacity: 0; }
.vbox__thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; opacity: 0; filter: brightness(.85); transform: scale(1.02); transition: opacity 1s, filter .6s, transform 1.2s var(--ease); }
.vbox.has-thumb .vbox__thumb { opacity: 1; }
.vbox:hover .vbox__thumb { filter: brightness(1); transform: scale(1.05); }
.vbox__yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 6; background: #000; }
.vbox.is-yt .vbox__bar, .vbox.is-yt .vbox__soon { display: none; }
.b4 { width: 70%; height: 90%; left: 40%; top: -10%; background: radial-gradient(circle, #6a6a68, transparent 65%); opacity: .45; animation: float1 16s ease-in-out infinite alternate; }
.b5 { width: 50%; height: 70%; left: -5%; top: 45%; background: radial-gradient(circle, #4c4c4a, transparent 65%); opacity: .4; animation: float2 20s ease-in-out infinite alternate; }
.vbox > .grain { z-index: 2; opacity: .07; }
.vbox::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 30%, transparent 65%, rgba(0,0,0,.45)); transition: opacity .5s; }
.vbox.is-playing::after { opacity: 0; }

.vbox__tag, .vbox__dur { position: absolute; z-index: 3; top: 18px; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 8px; transition: opacity .4s; }
.vbox__tag { left: 20px; }
.vbox__tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.6s infinite; }
.vbox__dur { right: 20px; }
.vbox__note { position: absolute; z-index: 3; left: 20px; right: 20px; bottom: 16px; font-size: 12px; color: rgba(255,255,255,.82); text-shadow: 0 1px 8px rgba(0,0,0,.6); pointer-events: none; transition: opacity .4s; }
.vbox.is-playing .vbox__note { opacity: 0; }
@keyframes blink { 50% { opacity: .2; } }
.vbox.is-playing .vbox__tag, .vbox.is-playing .vbox__dur { opacity: 0; }

.vbox__play {
  position: absolute; z-index: 4; left: 50%; top: 50%;
  width: clamp(68px, 6.4vw, 92px); aspect-ratio: 1; border-radius: 50%;
  background: var(--white); color: var(--black);
  display: grid; place-items: center;
  transform: translate(-50%, -50%);
  transition: transform .5s var(--ease), opacity .4s;
}
.vbox__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.vbox__play svg { width: 34%; height: 34%; transform: translateX(8%); }
.vbox:hover .vbox__play { transform: translate(-50%, -50%) scale(1.08); }
.vbox__play:focus-visible { outline: 2px solid var(--white); outline-offset: 6px; }
.vbox.is-playing .vbox__play, .vbox.is-soon .vbox__play { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.8); }

.vbox__soon { position: absolute; z-index: 4; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.vbox__soon p { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 30px); letter-spacing: -.03em; line-height: 1.15; max-width: 340px; }
.vbox.is-soon .vbox__soon { opacity: 1; }

.vbox__bar {
  position: absolute; z-index: 4; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
  padding: 8px 12px 8px 8px; border-radius: 999px;
  background: rgba(10,10,10,.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .4s, transform .5s var(--ease);
}
.vbox.is-playing:hover .vbox__bar, .vbox.is-playing.is-paused .vbox__bar, .vbox.is-playing:focus-within .vbox__bar { opacity: 1; transform: none; pointer-events: auto; }
.vbox__btn { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; transition: background-color .3s; }
.vbox__btn:hover { background: rgba(255,255,255,.12); }
.vbox__btn svg { width: 17px; height: 17px; }
.vbox__btn .i-play, .vbox__btn .i-mute { display: none; }
.vbox.is-paused .i-pause { display: none; } .vbox.is-paused .i-play { display: block; }
.vbox.is-muted .i-sound { display: none; } .vbox.is-muted .i-mute { display: block; }
.vbox__track { flex: 1; height: 3px; background: rgba(255,255,255,.22); border-radius: 3px; cursor: pointer; position: relative; }
.vbox__track::before { content: ""; position: absolute; inset: -10px 0; }
.vbox__track span { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--white); border-radius: 3px; }
.vbox__time { font-size: 11px; min-width: 34px; color: rgba(255,255,255,.75); }

.scroll-cue { position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.scroll-cue i { width: 1px; height: 38px; background: linear-gradient(rgba(255,255,255,.7), transparent); animation: cue 2s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Section shells ---------- */
.light { background: var(--paper); color: var(--ink); position: relative; }
.dark { background: var(--black); color: var(--white); position: relative; }
.curved {
  border-top-left-radius: 50% var(--curve);
  border-top-right-radius: 50% var(--curve);
  margin-top: calc(var(--curve) * -1);
  z-index: 1;
}

/* ---------- 01 Intro ---------- */
.intro { padding: clamp(110px, 14vw, 200px) 0 clamp(120px, 12vw, 180px); overflow: hidden; }
.intro__stage { position: relative; max-width: 1400px; margin: 0 auto; min-height: clamp(520px, 46vw, 660px); display: grid; place-items: center; padding: 0 var(--gutter); }
.intro__copy { position: relative; z-index: 2; text-align: center; max-width: 820px; display: flex; flex-direction: column; align-items: center; }
.intro__copy .lead { margin: 0 auto; }

/* Floating cards: the wrapper carries the parallax, the image carries the tilt */
.frag { position: absolute; z-index: 1; width: var(--w); }
/* kept straight and unscaled: any rotation or scaling resamples the image and softens the small UI text */
.frag__img {
  display: block; width: 100%; height: auto;
  filter: drop-shadow(0 22px 30px rgba(0,0,0,.12)) drop-shadow(0 3px 8px rgba(0,0,0,.06));
}
.frag--tw    { --w: clamp(250px, 22vw, 330px); left: 0;  top: -1%; }
.frag--book  { --w: clamp(260px, 23vw, 340px); right: 1%; top: 5%; }
.frag--ai    { --w: clamp(230px, 19vw, 290px); right: 1%; bottom: 2%; }
.frag--g     { --w: clamp(190px, 15.5vw, 235px); left: 4%; bottom: 0; }
.frag--story { --w: clamp(150px, 12.5vw, 185px); right: 5%; top: 16%; z-index: 2; container-type: inline-size; }

/* ---------- Instagram story (live) ---------- */
.igs {
  width: 100%; aspect-ratio: 9 / 19.2;
  padding: 2.6cqw;
  border-radius: 17cqw;
  background: #0b0b0b;
  box-shadow: 0 0 0 1.3cqw #3b3b3d, 0 0 0 1.6cqw #1d1d1f, 0 40px 60px -24px rgba(0,0,0,.45), 0 10px 20px -10px rgba(0,0,0,.25);
  transform: rotate(4deg);
  transition: transform .9s var(--ease);
}
.frag--story:hover .igs { transform: rotate(0deg) scale(1.03); }
.igs__screen { position: relative; height: 100%; border-radius: 14.5cqw; overflow: hidden; background: #000; font-family: var(--body); color: #fff; user-select: none; }
.igs__island { position: absolute; z-index: 6; top: 3cqw; left: 50%; transform: translateX(-50%); width: 30cqw; height: 8.6cqw; border-radius: 99px; background: #000; }

.igs__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .28s ease; }
.igs__slide.is-active { opacity: 1; z-index: 1; }
.igs__photo { position: absolute; inset: 0; background-size: cover; background-position: center; transform-origin: 50% 40%; }
.igs__slide.is-active .igs__photo { animation: igs-kb var(--dur, 5s) linear forwards; }
.igs.is-paused .igs__photo { animation-play-state: paused; }
@keyframes igs-kb { from { transform: scale(1); } to { transform: scale(1.09); } }

/* top chrome */
.igs__top { position: absolute; z-index: 4; left: 0; right: 0; top: 0; padding: 13cqw 3.4cqw 0; height: 36cqw; background: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,0)); pointer-events: none; }
.igs__bars { display: flex; gap: 1.3cqw; }
.igs__bars i { flex: 1; height: max(2px, 1.1cqw); border-radius: 2px; background: rgba(255,255,255,.38); overflow: hidden; }
.igs__bars b { display: block; height: 100%; width: 0; background: #fff; }
.igs__head { display: flex; align-items: center; gap: 2.4cqw; margin-top: 3.4cqw; }
.igs__avatar { width: 9cqw; height: 9cqw; border-radius: 50%; background: #fff; color: #111; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 3.2cqw; letter-spacing: -.02em; flex: none; }
.igs__name { font-weight: 600; font-size: 4.3cqw; letter-spacing: -.01em; }
.igs__time { font-size: 4.1cqw; color: rgba(255,255,255,.72); }
.igs__icons { margin-left: auto; display: flex; gap: 3cqw; }
.igs__icons svg { width: 5.4cqw; height: 5.4cqw; }

/* bottom chrome */
.igs__bottom { position: absolute; z-index: 4; left: 3.4cqw; right: 3.4cqw; bottom: 4.6cqw; display: flex; align-items: center; gap: 3.4cqw; pointer-events: none; }
.igs__reply { flex: 1; border: 1px solid rgba(255,255,255,.65); border-radius: 99px; padding: 2.8cqw 4.4cqw; font-size: 4cqw; color: rgba(255,255,255,.92); white-space: nowrap; }
.igs__bottom svg { width: 7cqw; height: 7cqw; flex: none; }

/* tap zones like the real app */
.igs__tap { position: absolute; z-index: 5; top: 18%; bottom: 16%; background: none; border: 0; padding: 0; cursor: pointer; }
.igs__tap--prev { left: 0; width: 34%; }
.igs__tap--next { right: 0; width: 66%; }
.igs__tap:focus-visible { outline: 2px solid #fff; outline-offset: -4px; border-radius: 8px; }

/* stickers & text, they pop in like on Instagram */
.igs__slide > :not(.igs__photo):not(.igs__grad) { opacity: 0; transform: var(--t, translate(0)) scale(.6); transition: opacity .25s, transform .55s cubic-bezier(.3,1.6,.5,1); }
.igs__slide.is-active > :not(.igs__photo):not(.igs__grad) { opacity: 1; transform: var(--t, translate(0)) scale(1); transition-delay: .25s; }

.igs__caption { position: absolute; margin: 0; font-family: var(--display); font-weight: 700; letter-spacing: -.01em; }
.igs__caption--hl { --t: rotate(-4deg); left: 8cqw; top: 40%; font-size: 7.6cqw; line-height: 1.32; }
.igs__caption--hl span { background: #fff; color: #111; padding: .08em .34em; border-radius: .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.igs__caption--plain { --t: translateX(-50%); left: 50%; bottom: 30cqw; width: 84%; text-align: center; font-size: 6.4cqw; text-shadow: 0 1px 10px rgba(0,0,0,.45); }

.igs__link { --t: translateX(-50%) rotate(-3deg); position: absolute; left: 50%; bottom: 27cqw; display: inline-flex; align-items: center; gap: 1.6cqw; padding: 2.4cqw 3.8cqw; border-radius: 2.6cqw; background: #fff; color: #0095f6; font-family: var(--display); font-weight: 700; font-size: 4.4cqw; letter-spacing: .02em; white-space: nowrap; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.igs__link svg { width: 4.8cqw; height: 4.8cqw; }
.igs__link--center { bottom: 34cqw; }

.igs__loc { --t: rotate(5deg); position: absolute; left: 9cqw; top: 42%; display: inline-flex; align-items: center; gap: 1.2cqw; padding: 2.2cqw 3.6cqw; border-radius: 99px; background: #fff; font-family: var(--display); font-weight: 800; font-size: 4.4cqw; letter-spacing: .01em; color: #c13584; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.igs__loc svg { width: 4.6cqw; height: 4.6cqw; color: #c13584; }

.igs__poll { --t: translateX(-50%) rotate(-2deg); position: absolute; left: 50%; top: 44%; width: 72cqw; padding: 4cqw; border-radius: 4.4cqw; background: #fff; color: #111; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.igs__poll p { margin: 0 0 3cqw; text-align: center; font-family: var(--display); font-weight: 700; font-size: 5.2cqw; }
.igs__opt { position: relative; display: flex; justify-content: space-between; padding: 2.6cqw 3.4cqw; border-radius: 2.6cqw; background: #efefef; font-family: var(--display); font-weight: 700; font-size: 4.2cqw; overflow: hidden; }
.igs__opt + .igs__opt { margin-top: 2cqw; }
.igs__opt::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; background: linear-gradient(90deg, #6a5cff, #b44bd8); transition: width 1s var(--ease) .7s; }
.igs__opt--b::before { background: #d6d6d6; }
.igs__slide.is-active .igs__opt::before { width: var(--p); }
.igs__opt span, .igs__opt b { position: relative; }
.igs__opt:not(.igs__opt--b) span, .igs__opt:not(.igs__opt--b) b { color: #fff; mix-blend-mode: normal; }

.igs__slide--text { background: #111; }
.igs__grad { position: absolute; inset: 0; background: linear-gradient(165deg, #f7c9b6 0%, #e99bb4 48%, #a77ad6 100%); }
.igs__big { --t: translate(-50%, -50%); position: absolute; left: 50%; top: 44%; width: 86%; margin: 0; text-align: center; font-family: var(--display); font-weight: 700; font-size: 7.6cqw; line-height: 1.12; letter-spacing: -.02em; color: #fff; text-shadow: 0 2px 16px rgba(120,40,90,.25); }
.igs__big b { display: block; font-size: 30cqw; line-height: .95; letter-spacing: -.05em; }

.igs__slider { --t: translateX(-50%) rotate(-2deg); position: absolute; left: 50%; bottom: 30cqw; width: 68cqw; padding: 4cqw 4.4cqw 5cqw; border-radius: 4.4cqw; background: #fff; color: #111; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.igs__slider p { margin: 0 0 3.6cqw; text-align: center; font-family: var(--display); font-weight: 700; font-size: 4.8cqw; }
.igs__track { position: relative; height: 1.8cqw; border-radius: 99px; background: #e6e6e6; }
.igs__track i { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ff8a3d, #ff3d71); transition: width 1.4s var(--ease) .8s; }
.igs__track span { position: absolute; top: 50%; left: 0; transform: translate(-50%, -50%); font-size: 8cqw; line-height: 1; transition: left 1.4s var(--ease) .8s; }
.igs__slide.is-active .igs__track i { width: 84%; }
.igs__slide.is-active .igs__track span { left: 84%; }

/* ---------- 02 Guess ---------- */
.guess { padding: clamp(120px, 13vw, 190px) 0 calc(clamp(120px, 13vw, 190px) + var(--curve)); }  /* straight top; the header below curves up into it */
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head .display { margin: 0; }
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pain {
  position: relative; min-height: 340px; padding: 28px 26px;
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0));
  display: flex; flex-direction: column; justify-content: flex-start;
  transition: border-color .4s, background-color .4s, transform .6s var(--ease);
  overflow: hidden;
}
.pain:hover { border-color: rgba(255,255,255,.28); transform: translateY(-6px); }
.pain__art {
  display: block; margin: 0; height: 1em; padding-bottom: 0; margin-bottom: clamp(56px, 7vw, 104px);
  font-family: var(--display); font-weight: 600; font-size: clamp(54px, 5vw, 76px); line-height: 1; letter-spacing: -.05em;
  color: rgba(255,255,255,.14); transition: color .5s;
}
.pain:hover .pain__art { color: var(--white); }
.pain h3 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.2vw, 30px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 14px; color: var(--white); min-height: 2.2em; }
.pain p { margin: 0; color: rgba(255,255,255,.74); font-size: 16px; line-height: 1.6; }
.pain:nth-child(2) { transition-delay: .08s; } .pain:nth-child(3) { transition-delay: .16s; } .pain:nth-child(4) { transition-delay: .24s; }

/* ---------- 03 Plan head ---------- */
.plan-head { padding: clamp(120px, 13vw, 190px) 0 0; }  /* Treatwell sits on the same white right below; its own band spacing is the gap */
.plan-head .display--xl { margin-bottom: 34px; }

/* ---------- Offers (normal scroll, one row per offer) ---------- */
.offers { padding: clamp(110px, 12vw, 170px) 0 calc(clamp(60px, 8vw, 110px) + var(--curve)); background: var(--black); color: var(--white); }
.offers__list { max-width: 1320px; margin: 0 auto; padding: 0 var(--gutter); }
.chap {
  position: relative;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 6vw, 96px);
  padding: clamp(70px, 9vw, 140px) 0;
}
/* rows are separated by space alone; no divider lines */

/* TEST: "How we can help" rows as full-width bands: white, black, white, black
   (Treatwell white, AI search black, Google white, Social black).
   Bands meet in straight lines. The section adds no padding of its own, so every band
   has the same even space above and below its content. Remove this block to go back. */
.offers { padding-top: 0; padding-bottom: 0; }
.chap::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; width: 100vw; margin-left: -50vw; top: 0; bottom: 0;
  background: var(--paper);
}
.chap:nth-child(even)::before { background: var(--black); }
.chap:nth-child(odd) { color: var(--ink); }
.chap:nth-child(odd) .chap__kicker { color: var(--grey-3); }
.chap:nth-child(odd) .chap__n { color: var(--ink); }
.chap:nth-child(odd) .chap__body { color: var(--grey-3); }
/* the videos carry a black stage, so on a white band they read as a rounded dark card */
.chap:nth-child(odd) .offer__media { border-radius: clamp(18px, 2vw, 28px); overflow: hidden; box-shadow: 0 40px 80px -40px rgba(0,0,0,.45); }
.chap { padding: clamp(90px, 10vw, 150px) 0; z-index: 0; }  /* own layer, so each band paints above the section background */
/* the last band (black) gets room for the quote's curve rising into it */
.chap:last-child { padding-bottom: calc(clamp(90px, 10vw, 150px) + var(--curve)); }
@media (max-width: 820px) { .offers .chap { padding: 72px 0; } .offers .chap:last-child { padding-bottom: calc(72px + var(--curve)); } }
.chap:nth-child(even) .chap__text { order: 2; }
@media (min-width: 821px) { .chap:nth-child(even) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.chap__text > * { opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .9s var(--ease); }
.chap.is-active .chap__text > * { opacity: 1; transform: none; }
.chap.is-active .chap__text > *:nth-child(2) { transition-delay: .08s; }
.chap.is-active .chap__text > *:nth-child(3) { transition-delay: .16s; }
.chap__kicker { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.7); margin: 0 0 22px; display: flex; align-items: center; gap: 12px; }
.chap__kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.chap__n { color: var(--white); }
.chap__title { font-family: var(--display); font-weight: 600; font-size: clamp(36px, 4.6vw, 68px); line-height: 1; letter-spacing: -.045em; margin: 0 0 24px; }
.chap__body { color: rgba(255,255,255,.62); font-size: clamp(16px, 1.3vw, 19px); line-height: 1.65; max-width: 470px; margin: 0; }

/* the video sits straight on the page: no box, border or background.
   The videos' own dark stage is the same black as this section, so the panel just floats. */
.offer__media {
  position: relative; aspect-ratio: 4 / 3;
  opacity: 0; transform: translateY(40px); transition: opacity .7s, transform 1s var(--ease);
}
.chap.is-active .offer__media { opacity: 1; transform: none; transition-delay: .1s; }
.offer__video { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
/* with a poster the frame is visible straight away; without one, the mock-up shows until the video loads */
.offer__video[poster], .offer__media.has-video .offer__video { opacity: 1; }
.offer__fallback { position: absolute; inset: 0; display: grid; place-items: center; padding: 5%; }
.offer__media.has-video .offer__fallback, .offer__media:has(.offer__video[poster]) .offer__fallback { visibility: hidden; }
.offer__fallback .ab, .offer__fallback .gbp__chart, .offer__fallback .v-input { display: none; }
.offer__fallback .v-card { box-shadow: 0 30px 80px -40px rgba(0,0,0,.9); }

/* visual cards */
.v-card {
  width: min(460px, 100%);
  background: #141414; border: 1px solid rgba(255,255,255,.09); border-radius: 22px;
  padding: 22px; box-shadow: 0 40px 100px -40px rgba(0,0,0,.9);
}
.v-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.v-badge { background: var(--white); color: var(--black); padding: 4px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .04em; }
.sk { display: block; height: 7px; border-radius: 4px; background: rgba(255,255,255,.12); margin: 5px 0; }
.w30 { width: 30%; } .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; }

.rank-list { position: relative; height: calc(5 * 66px); }
.rank-row {
  position: absolute; left: 0; right: 0; top: 0; height: 58px;
  display: flex; align-items: center; gap: 14px; padding: 0 12px;
  border-radius: 12px; background: rgba(255,255,255,.03);
  transform: translateY(calc(var(--i) * 66px));
  transition: transform 1.1s var(--ease-io) .35s, background-color .6s .35s;
}
.rank-row > div { flex: 1; }
.rank-row__img { width: 36px; height: 36px; border-radius: 9px; background: rgba(255,255,255,.08); flex: none; }
.chap.is-active .rank-row { transform: translateY(calc(var(--a) * 66px)); }
.rank-row--you { background: rgba(255,255,255,.06); }
.rank-row--you .rank-row__img { background: var(--white); }
.rank-row--you b { font-family: var(--display); font-weight: 600; display: block; font-size: 15px; }
.rank-row--you small { color: rgba(255,255,255,.55); font-size: 12px; }
.chap.is-active .rank-row--you { background: var(--white); color: var(--black); }
.chap.is-active .rank-row--you small { color: var(--grey-3); }
.chap.is-active .rank-row--you .rank-row__img { background: var(--black); }
.rank-row__tag { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; border: 1px solid currentColor; opacity: 0; transition: opacity .4s 1.3s; }
.chap.is-active .rank-row__tag { opacity: .7; }
.ab { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; padding-top: 16px; border-top: 1px dashed rgba(255,255,255,.12); }
.ab__opt { display: flex; flex-direction: column; gap: 4px; padding: 12px; border-radius: 12px; border: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.65); }
.ab__opt .mono:first-child { font-size: 10px; opacity: .6; }
.ab__opt b { font-weight: 500; color: var(--white); font-size: 15px; }
.ab__opt--win { border-color: rgba(255,255,255,.5); }

.v-dots { display: flex; gap: 5px; } .v-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.2); }
.bubble { padding: 14px 16px; border-radius: 16px; font-size: 14px; line-height: 1.55; margin-bottom: 12px; }
.bubble--me { background: var(--white); color: var(--black); margin-left: 18%; border-bottom-right-radius: 4px; }
.bubble--ai { background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07); margin-right: 6%; border-bottom-left-radius: 4px; }
.bubble--ai .line { margin: 0 0 10px; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .6s var(--ease); }
.bubble--ai .line:last-child { margin-bottom: 0; }
.chap.is-active .bubble--ai .line { opacity: 1; transform: none; transition-delay: calc(.5s + var(--d) * .35s); }
.bubble--ai .line .mono { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; background: rgba(255,255,255,.08); flex: none; }
.bubble--ai .pick { padding: 10px; margin-left: -10px; margin-right: -10px; border-radius: 12px; background: rgba(255,255,255,.07); flex-wrap: wrap; }
.bubble--ai .pick .mono { background: var(--white); color: var(--black); }
.bubble--ai .pick b { font-family: var(--display); font-weight: 600; }
.bubble--ai .pick small { color: rgba(255,255,255,.55); }
.bubble--ai .dim { opacity: .5; }
.chap.is-active .bubble--ai .dim { opacity: .5; }
.bubble--ai .line .sk { flex: 1; max-width: 50%; }
.v-input { margin-top: 6px; display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.35); font-size: 13px; }
.v-input i { width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.12); }

.v-gbp { padding: 0; overflow: hidden; }
.gbp__cover { height: 110px; background: linear-gradient(120deg, #2b2b2a, #151515 60%), #1a1a1a; position: relative; }
.gbp__cover::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 1px, transparent 1px 33.33%); }
.gbp__body { padding: 20px 22px 22px; }
.gbp__name { font-family: var(--display); font-weight: 600; font-size: 22px; letter-spacing: -.02em; }
.gbp__meta { margin: 4px 0 2px; font-size: 13px; color: rgba(255,255,255,.65); }
.gbp__stars { letter-spacing: .06em; color: var(--white); }
.gbp__open { margin: 0 0 16px; font-size: 13px; }
.gbp__open .dim { color: rgba(255,255,255,.5); }
.gbp__btns { display: flex; gap: 8px; margin-bottom: 18px; }
.gbp__btns span { flex: 1; text-align: center; font-size: 12px; padding: 8px 0; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; }
.gbp__btns span:last-child { background: var(--white); color: var(--black); border-color: var(--white); }
.gbp__chart p { margin: 0 0 10px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.bars { display: flex; align-items: flex-end; gap: 6px; height: 74px; }
.bars i { flex: 1; height: 4%; background: rgba(255,255,255,.18); border-radius: 4px 4px 0 0; transition: height 1s var(--ease); }
.bars i:last-child, .bars i:nth-last-child(2) { background: var(--white); }
.chap.is-active .bars i { height: var(--h); }
.bars i:nth-child(2) { transition-delay: .05s; } .bars i:nth-child(3) { transition-delay: .1s; } .bars i:nth-child(4) { transition-delay: .15s; }
.bars i:nth-child(5) { transition-delay: .2s; } .bars i:nth-child(6) { transition-delay: .25s; } .bars i:nth-child(7) { transition-delay: .3s; } .bars i:nth-child(8) { transition-delay: .35s; }
.gbp__posts { display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px dashed rgba(255,255,255,.12); }
.gbp__posts .mono { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-right: auto; }
.gbp__posts i { width: 30px; height: 30px; border-radius: 8px; background: rgba(255,255,255,.1); transform: scale(0); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.chap.is-active .gbp__posts i { transform: scale(1); }
.gbp__posts i:nth-of-type(1) { transition-delay: .6s; } .gbp__posts i:nth-of-type(2) { transition-delay: .75s; }
.gbp__posts i:nth-of-type(3) { transition-delay: .9s; } .gbp__posts i:nth-of-type(4) { transition-delay: 1.05s; background: var(--white); }

.v-social { position: relative; width: min(520px, 100%); display: grid; grid-template-columns: auto minmax(60px, 1fr) auto; align-items: center; }
.v-social__pills { display: flex; flex-direction: column; gap: 18px; height: 240px; justify-content: space-between; padding: 8px 0; }
.v-social__pills span { align-self: flex-start; padding: 10px 18px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; font-size: 14px; font-family: var(--display); font-weight: 500; background: #121212; opacity: 0; transform: translateX(-16px); transition: opacity .5s, transform .7s var(--ease); }
.chap.is-active .v-social__pills span { opacity: 1; transform: none; }
.v-social__pills span:nth-child(2) { transition-delay: .1s !important; } .v-social__pills span:nth-child(3) { transition-delay: .2s !important; } .v-social__pills span:nth-child(4) { transition-delay: .3s !important; }
.v-social__lines { width: 100%; height: 240px; overflow: visible; }
.v-social__lines path { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1; stroke-dasharray: 4 5; animation: dash 1.4s linear infinite; vector-effect: non-scaling-stroke; }
@keyframes dash { to { stroke-dashoffset: -18; } }
.v-phone { width: 170px; height: 320px; border-radius: 30px; border: 1px solid rgba(255,255,255,.18); background: linear-gradient(170deg, #2c2c2b 0%, #101010 70%); padding: 14px; display: flex; flex-direction: column; position: relative; box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); }
.v-phone__bars { display: flex; gap: 3px; }
.v-phone__bars i { flex: 1; height: 2px; background: rgba(255,255,255,.3); border-radius: 2px; overflow: hidden; position: relative; }
.v-phone__bars i:first-child { background: var(--white); }
.v-phone__bars i:nth-child(2)::after { content: ""; position: absolute; inset: 0; background: var(--white); transform: scaleX(0); transform-origin: left; }
.chap.is-active .v-phone__bars i:nth-child(2)::after { animation: storybar 4s linear infinite; }
@keyframes storybar { to { transform: scaleX(1); } }
.v-phone__handle { font-family: var(--mono); font-size: 10px; margin-top: 10px; color: rgba(255,255,255,.75); }
.v-phone__art { margin: auto 0 14px; display: grid; gap: 6px; }
.v-phone__art span { font-family: var(--display); font-weight: 600; font-size: 19px; line-height: 1.05; letter-spacing: -.03em; }
.v-phone__art small { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.v-phone__cta { align-self: center; white-space: nowrap; background: var(--white); color: var(--black); font-family: var(--display); font-weight: 600; font-size: 13px; padding: 9px 18px; border-radius: 999px; }


/* ---------- Quote ---------- */
.quote { padding: clamp(120px, 14vw, 210px) 0 calc(clamp(120px, 14vw, 210px) + var(--curve)); }
.quote__label { font-size: 15px; color: var(--grey-3); margin: 0 0 26px; }
.quote__text { font-family: var(--display); font-weight: 500; font-size: clamp(32px, 4.8vw, 70px); line-height: 1.08; letter-spacing: -.04em; max-width: 1080px; margin: 0 0 34px; }
.quote__by { font-family: var(--display); font-weight: 500; font-size: 18px; letter-spacing: -.01em; color: var(--ink); margin: 0; }

/* ---------- Fit + guarantee ---------- */
.fit-sec { padding: clamp(120px, 13vw, 190px) 0 calc(clamp(100px, 11vw, 160px) + var(--curve)); }
.fit-head { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.fit-head .display { margin: 0; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fit-col { border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: clamp(24px, 3vw, 40px); min-width: 0; }
.fit-col--yes { background: var(--white); color: var(--ink); border-color: var(--white); }
.fit-col--no { transition-delay: .08s; }
.fit-col h3 { font-family: var(--display); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 18px; }
.fit-col ul { list-style: none; margin: 0; padding: 0; }
.fit-col li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 17px; line-height: 1.45; color: rgba(255,255,255,.74); }
.fit-col--yes li { border-top-color: var(--grey-1); color: var(--ink); }
.fit-col li:last-child { padding-bottom: 0; }
.fit-col svg { width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: rgba(255,255,255,.5); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fit-col--yes svg { stroke: var(--red); stroke-width: 2.4; }

.gbanner { margin-top: clamp(40px, 5vw, 72px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(24px, 4vw, 56px); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: clamp(24px, 3.4vw, 44px); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)); scroll-margin-top: 110px; }
.seal { width: 148px; height: 148px; position: relative; display: grid; place-items: center; flex: none; }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealspin 40s linear infinite; }
.seal__ring text { font-family: var(--body); font-size: 9.5px; font-weight: 500; letter-spacing: 2.6px; text-transform: uppercase; fill: rgba(255,255,255,.6); }
.seal__core { text-align: center; font-family: var(--display); line-height: .9; }
.seal__core b { display: block; font-size: 54px; font-weight: 600; letter-spacing: -.05em; color: var(--red); }
.seal__core span { font-size: 13px; color: rgba(255,255,255,.6); }
@keyframes sealspin { to { transform: rotate(360deg); } }
.gbanner__txt { min-width: 0; }
.gbanner__txt h2 { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); letter-spacing: -.035em; line-height: 1.05; margin: 0 0 12px; }
.gbanner__txt p { margin: 0; color: rgba(255,255,255,.7); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.6; max-width: 52ch; }

/* ---------- FAQ ---------- */
.faq-sec { padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 8vw, 110px); }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq-grid .lead a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.faq { border-top: 1px solid var(--grey-1); }
.faq details { border-bottom: 1px solid var(--grey-1); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-family: var(--display); font-weight: 500; font-size: clamp(18px, 1.7vw, 22px); letter-spacing: -.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq__pm { position: relative; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--grey-2); flex: none; transition: transform .3s var(--ease), background-color .3s, border-color .3s; }
.faq__pm::before, .faq__pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.6px; margin: -.8px 0 0 -5.5px; background: var(--ink); transition: background-color .3s; }
.faq__pm::after { transform: rotate(90deg); }
.faq details[open] .faq__pm { transform: rotate(45deg); background: var(--ink); border-color: var(--ink); }
.faq details[open] .faq__pm::before, .faq details[open] .faq__pm::after { background: var(--white); }
.faq details p { margin: 0; padding: 0 48px 26px 0; color: var(--grey-3); font-size: 17px; line-height: 1.65; max-width: 62ch; }

/* ---------- Contact ---------- */
.contact { padding: clamp(70px, 8vw, 110px) 0 calc(clamp(120px, 13vw, 180px) + var(--curve)); border-top: 1px solid var(--grey-1); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.card-details { list-style: none; margin: 44px 0 0; padding: 0; display: grid; gap: 14px; font-size: 16px; }
.card-details li { display: flex; align-items: center; gap: 14px; }
.card-details svg { width: 18px; height: 18px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.card-details a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.card-details a:hover { background-size: 100% 1px; }

.lead-form {
  position: relative; background: var(--white); border: 1px solid var(--grey-1); border-radius: 26px;
  padding: clamp(24px, 3.4vw, 44px);
  box-shadow: 0 40px 90px -50px rgba(0,0,0,.25);
  display: grid; gap: 14px;
}
.audit { gap: 26px; }
.audit__top { display: flex; align-items: center; gap: 14px; }
.audit__count { font-size: 12px; color: var(--grey-3); white-space: nowrap; }
.audit__bar { flex: 1; height: 3px; border-radius: 3px; background: var(--grey-1); overflow: hidden; }
.audit__bar i { display: block; height: 100%; width: 14%; background: var(--ink); border-radius: inherit; transition: width .5s var(--ease); }
.audit__steps { min-height: 190px; }
.step { display: none; border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { display: block; animation: stepin .5s var(--ease); }
@keyframes stepin { from { opacity: 0; transform: translateY(14px); } }
.step__q { display: block; padding: 0; font-family: var(--display); font-weight: 600; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -.035em; line-height: 1.08; color: var(--ink); margin: 0 0 22px; }
.step input:not([type="radio"]):not([type="checkbox"]) {
  width: 100%; height: 64px; padding: 0 20px;
  border: 1px solid var(--grey-1); border-radius: 14px; background: var(--paper);
  font: inherit; font-size: 18px; color: var(--ink); outline: none;
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.step input:not([type="radio"]):not([type="checkbox"]):focus { border-color: var(--ink); background: var(--white); box-shadow: 0 0 0 4px rgba(0,0,0,.05); }
.step input.is-bad, .step.is-invalid .opts span { border-color: var(--red); }
.step__label { display: block; font-size: 14px; color: var(--grey-3); margin: 0 0 8px; }
.step input + .step__label { margin-top: 16px; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--grey-3); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--black); cursor: pointer; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.step.is-invalid .consent input:not(:checked) { outline: 2px solid var(--red); outline-offset: 2px; }
.step.is-invalid .consent input:not(:checked) + span { color: var(--red); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { flex: 1 1 90px; cursor: pointer; }
.opts input { position: absolute; opacity: 0; pointer-events: none; }
.opts span { display: block; text-align: center; padding: 20px 10px; border: 1px solid var(--grey-1); border-radius: 14px; background: var(--paper); font-size: 17px; font-weight: 500; transition: background-color .25s, color .25s, border-color .25s; }
.opts label:hover span { border-color: var(--grey-2); }
.opts input:checked + span { background: var(--black); color: var(--white); border-color: var(--black); }
.opts input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.audit__nav { display: flex; align-items: center; gap: 10px; }
.audit__nav .btn { flex: 1; }
.audit__back { height: 54px; padding: 0 22px; border: 1px solid var(--grey-1); border-radius: 999px; background: none; font: inherit; font-size: 15px; color: var(--ink); cursor: pointer; transition: border-color .3s; }
.audit__back:hover { border-color: var(--ink); }
.audit.is-first .audit__back { display: none; }
.audit__send, .audit.is-last .audit__next { display: none; }
.audit.is-last .audit__send { display: inline; }
.form-note { margin: 2px 0 0; font-size: 13px; color: var(--grey-3); text-align: center; }
.form-done { position: absolute; inset: 0; border-radius: inherit; background: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.form-done p { margin: 0; color: var(--grey-3); max-width: 320px; }
.form-done__t { font-family: var(--display); font-weight: 600; font-size: 34px; letter-spacing: -.03em; color: var(--ink) !important; margin-bottom: 8px !important; }
.form-done__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--black); position: relative; margin-bottom: 22px; transform: scale(0); transition: transform .6s cubic-bezier(.3,1.6,.5,1) .15s; }
.form-done__tick::after { content: ""; position: absolute; left: 25px; top: 17px; width: 11px; height: 22px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.lead-form.is-done .form-done { opacity: 1; pointer-events: auto; }
.lead-form.is-done .form-done__tick { transform: scale(1); }

/* ---------- Footer ---------- */
.footer { padding: clamp(80px, 9vw, 120px) 0 36px; overflow: hidden; margin-top: calc(var(--curve) * -1); border-top-left-radius: 50% var(--curve); border-top-right-radius: 50% var(--curve); z-index: 2; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: var(--curve); }
.footer__tag { font-family: var(--display); font-size: clamp(22px, 2.4vw, 32px); letter-spacing: -.03em; margin: 0; color: rgba(255,255,255,.75); }
.footer__svg { display: block; width: 100%; height: auto; }
.footer__word { line-height: 0; margin: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); white-space: nowrap; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.5); }
.footer__bottom nav { display: flex; gap: 24px; }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Reveal + split ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
/* Each word rises out of its own mask. The mask is padded on every side (and pulled back with
   negative margins) so tight letter-spacing, italics and descenders (g, p, y) never get clipped. */
.w {
  display: inline-block; vertical-align: top;
  padding: .06em .12em .22em; margin: -.06em -.12em -.22em;
  clip-path: inset(0);
}
.w > span { display: inline-block; transform: translateY(125%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--wi) * 45ms); }
[data-split].in .w > span { transform: none; }
[data-split].is-done .w { clip-path: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .rail { grid-template-columns: repeat(2, 1fr); }
  .frag--tw    { --w: 210px; left: 0; top: 2%; }
  .frag--book  { --w: 220px; right: 0; top: 0; }
  .frag--ai    { --w: 190px; right: 0; bottom: 2%; }
  .frag--g     { --w: 160px; left: 1%; bottom: 0; }
}

@media (max-width: 820px) {
  .hero { min-height: 0; padding: 120px 0 72px; }
  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__title { font-size: clamp(44px, 12vw, 72px); margin-bottom: 20px; }
  .scroll-cue { display: none; }

  .intro__stage { display: flex; flex-direction: column; min-height: 0; gap: 0; }
  .intro__copy { order: 1; }
  .intro__stage { align-items: center; gap: 34px; }
  .frag { position: relative; inset: auto !important; transform: none !important; }
  .frag--book  { order: 0; --w: min(340px, 92%); }   /* above the title */
  .frag--tw    { order: 2; --w: min(360px, 96%); }   /* below the subtitle */
  .frag--ai, .frag--g { display: none; }

  .contact__grid, .fit-head, .fit, .faq-grid { grid-template-columns: 1fr; }
  .gbanner { grid-template-columns: 1fr; justify-items: start; }
  .seal { width: 124px; height: 124px; }
  .seal__core b { font-size: 44px; }
  .faq details p { padding-right: 0; }
  .audit__steps { min-height: 170px; }

  .chap { grid-template-columns: 1fr; gap: 28px; padding: 48px 0; }
  .chap:nth-child(even) .chap__text { order: 0; }
  /* until a video is in, let the mock-up set the box height on phones */
  .offer__media:not(.has-video):not(:has(.offer__video[poster])) { aspect-ratio: auto; }
  .offer__media:not(.has-video):not(:has(.offer__video[poster])) .offer__fallback { position: relative; padding: 22px 14px; }
  .chap__title { font-size: clamp(28px, 7.4vw, 40px); margin-bottom: 14px; }
  .plan-head .display--xl { font-size: clamp(54px, 15vw, 96px); }
  .chap__body { font-size: 15px; }
  .chap__kicker { display: none; }  /* text and media are stacked here: drop the "01 Treatwell ..." line */
  .chap__visual { transform-origin: top center; }
  .v-card { padding: 16px; }
  .rank-list { height: calc(5 * 52px); }
  .rank-row { height: 46px; transform: translateY(calc(var(--i) * 52px)); }
  .chap.is-active .rank-row { transform: translateY(calc(var(--a) * 52px)); }
  .rank-row__img { width: 28px; height: 28px; }
  .ab { display: none; }
  .v-input, .gbp__chart { display: none; }
  .gbp__cover { height: 60px; }
  .v-social { grid-template-columns: 1fr 70px auto; }
  .v-social__pills { height: 200px; }
  .v-social__pills span { font-size: 12px; padding: 8px 12px; }
  .v-social__lines { height: 200px; }
  .v-phone { width: 128px; height: 230px; border-radius: 24px; }
}

@media (max-width: 520px) {
  .rail { grid-template-columns: 1fr; }
  .pain { min-height: 0; padding: 26px 22px; }
  .pain__art { font-size: 52px; margin-bottom: 26px; }
  .pain h3 { min-height: 0; }
  .nav__right .btn { display: none; }
}

@media (max-height: 760px) and (min-width: 821px) {
  .rank-list { height: calc(5 * 54px); }
  .rank-row { height: 48px; transform: translateY(calc(var(--i) * 54px)); }
  .chap.is-active .rank-row { transform: translateY(calc(var(--a) * 54px)); }
  .ab { display: none; }
  .gbp__chart { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
}
