/* ============================================================
   DRINNA — web_drinna_net
   Brand: Drinna Teal (#149FC0) on teal-slate ink.
   Tokens follow drinna_cloud_ui/docs/drinna-tokens.css
   ============================================================ */

@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Hanken Grotesk";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/hanken-grotesk-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --teal-50:  #EAFBFF;
  --teal-100: #CBF3FB;
  --teal-200: #9AE7F5;
  --teal-300: #5DD5EC;
  --teal-400: #2DBEDD;
  --teal-500: #149FC0;
  --teal-600: #0E80A0;
  --teal-700: #116883;
  --teal-900: #16475A;
  --teal-950: #082F3D;
  --ink:      #0C2530;
  --ink-dark: #070E13;

  --bg:      var(--ink-dark);
  --bg-2:    #0A161D;
  --text-1:  #E6EEF3;
  --text-2:  #9FB2BF;
  --text-3:  #5B6B78;
  --line:    rgba(157, 231, 245, .12);
  --alert:   #F43F5E;
  --ok:      #34D27B;

  --grad: linear-gradient(100deg, var(--teal-200) 0%, var(--teal-400) 45%, var(--teal-500) 75%, #6366F1 120%);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gutter: clamp(16px, 4vw, 64px);
  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.5;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--teal-500); color: #fff; }
:focus-visible { outline: 2px solid var(--teal-300); outline-offset: 3px; border-radius: 6px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.kicker {
  margin: 0 0 18px;
  font-size: 13px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--teal-300);
}
.h2 {
  margin: 0;
  font-size: clamp(40px, 6.4vw, 104px);
  line-height: .95; letter-spacing: -.045em; font-weight: 800;
}
.h2.huge { font-size: clamp(52px, 9vw, 160px); }
.lead { color: var(--text-2); font-size: clamp(18px, 1.6vw, 24px); max-width: 34ch; margin: 28px 0 0; }

/* ---------- film grain + cursor glow ---------- */
.grain {
  position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  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(-3%, 2%); } 40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); } 80% { transform: translate(3%, 3%); } 100% { transform: translate(0, 0); }
}
.cursor {
  position: fixed; left: 0; top: 0; z-index: 80; pointer-events: none;
  width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 190, 221, .13), transparent 60%);
  transform: translate3d(-999px, -999px, 0);
  mix-blend-mode: screen;
}
@media (hover: none) { .cursor { display: none; } }

/* ---------- intro ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: #000;
  display: grid; place-items: center;
  transition: opacity .9s var(--ease), visibility .9s;
}
.intro__word {
  font-size: clamp(64px, 14vw, 220px); font-weight: 800; letter-spacing: -.05em;
  opacity: 0; transform: translateY(20px); filter: blur(12px);
  animation: introIn 1s var(--ease) .15s forwards;
}
@keyframes introIn { to { opacity: 1; transform: none; filter: blur(0); } }
.intro.done { opacity: 0; visibility: hidden; }
.intro.skip { display: none; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px var(--gutter);
  padding-top: max(16px, env(safe-area-inset-top));
  transition: background .4s, backdrop-filter .4s;
}
.nav.solid { background: rgba(7, 14, 19, .62); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.nav__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .14em; font-size: 17px; }
.nav__right { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: rgba(7, 14, 19, .4); }
.lang button {
  padding: 6px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--text-2);
  transition: color .2s, background .2s;
}
.lang button:hover { color: var(--text-1); }
.lang button[aria-pressed="true"] { background: var(--teal-500); color: #fff; }
.nav__signin { font-size: 14px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.nav__signin:hover { color: var(--teal-200); }
@media (max-width: 560px) {
  .nav__signin { display: none; }
  .nav__brand span { display: none; }
  .lang button { padding: 6px 7px; }
}

/* ---------- buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 60px; padding: 0 30px; border-radius: 999px;
  font-size: 17px; font-weight: 700; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--ease), box-shadow .4s, background .3s, color .3s;
}
.btn--primary {
  background: var(--teal-400); color: #04212B;
  box-shadow: 0 0 0 0 rgba(45, 190, 221, .5), 0 18px 60px -12px rgba(20, 159, 192, .8);
}
.btn--primary:hover { background: var(--teal-300); box-shadow: 0 0 0 8px rgba(45, 190, 221, .15), 0 24px 80px -10px rgba(20, 159, 192, 1); }
.btn--ghost { border: 1px solid rgba(203, 243, 251, .28); color: var(--text-1); }
.btn--ghost:hover { border-color: var(--teal-300); color: var(--teal-100); }
.btn__play {
  width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  margin-left: 2px;
}

/* ---------- reveal helpers ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.in .reveal, .reveal.in { opacity: 1; transform: none; }

/* ---------- 1 · HERO ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 110px var(--gutter) 130px;
  overflow: hidden; isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse 80% 70% at 18% 50%, rgba(7, 14, 19, .82), transparent 70%),
              linear-gradient(to bottom, transparent 70%, var(--bg));
}
.hero__content { max-width: 1200px; position: relative; }
.hero__title {
  margin: 0; font-weight: 850; letter-spacing: -.055em; line-height: .86;
  font-size: clamp(54px, min(10.5vw, 16.5svh), 200px);
}
.line { display: block; overflow: hidden; padding-bottom: .06em; }
.line__in { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.hero.in .line:nth-child(1) .line__in { transform: none; transition-delay: .05s; }
.hero.in .line:nth-child(2) .line__in { transform: none; transition-delay: .15s; }
.hero.in .line:nth-child(3) .line__in { transform: none; transition-delay: .32s; }
.hero__sub { max-width: 40ch; margin: 28px 0 0; color: var(--text-2); font-size: clamp(18px, 1.7vw, 24px); transition-delay: .5s; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero .hero__ctas { transition-delay: .65s; }
.hero .kicker { transition-delay: 0s; }

.hero__stat {
  position: absolute; right: var(--gutter); bottom: 48px;
  display: flex; gap: clamp(20px, 3vw, 48px);
  font-variant-numeric: tabular-nums;
}
.hero__stat div { display: flex; flex-direction: column; align-items: flex-end; }
.hero__stat b { font-size: clamp(26px, 3vw, 44px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.hero__stat b.zero { color: var(--teal-300); }
.hero__stat span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 6px; }

.hero__log {
  position: absolute; right: var(--gutter); bottom: 130px; width: min(360px, 34vw);
  display: flex; flex-direction: column-reverse; gap: 8px; pointer-events: none;
  font-size: 13px; font-variant-numeric: tabular-nums;
}
.log {
  display: flex; gap: 10px; align-items: baseline;
  padding: 10px 14px; border-radius: 12px;
  background: rgba(10, 22, 29, .72); border: 1px solid var(--line);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: logIn .6s var(--ease) both;
}
.log i { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--alert); box-shadow: 0 0 12px var(--alert); transform: translateY(-1px); }
.log.ok i { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.log b { color: var(--text-1); font-weight: 650; }
.log span { color: var(--text-2); }
.log.out { animation: logOut .5s var(--ease) forwards; }
@keyframes logIn { from { opacity: 0; transform: translateX(30px); } }
@keyframes logOut { to { opacity: 0; transform: translateX(30px); } }

.scrollcue {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(203, 243, 251, .35); border-radius: 20px;
}
.scrollcue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--teal-300); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

@media (max-width: 900px) {
  .hero { justify-content: flex-end; padding-bottom: 170px; }
  .hero::after { background: linear-gradient(to bottom, transparent 10%, rgba(7, 14, 19, .85) 55%, var(--bg)); }
  .hero__log { left: var(--gutter); right: var(--gutter); top: 76px; bottom: auto; width: auto; flex-direction: column; }
  .hero__log .log:nth-child(n+3) { display: none; }
  .scene__orb { width: 32%; }
  .hero__stat { left: var(--gutter); right: var(--gutter); justify-content: space-between; bottom: 84px; }
  .hero__stat div { align-items: flex-start; }
  .hero__stat span { font-size: 10px; letter-spacing: .1em; }
  .btn { height: 54px; padding: 0 24px; font-size: 16px; }
}

@media (max-width: 600px) { .hero__log { display: none; } }

/* ---------- 2 · SHIFT ---------- */
.shift { position: relative; height: 380vh; }
.shift__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.shift__screen {
  position: absolute; inset: 0; display: grid; place-items: center; padding: 6vh 6vw;
  will-change: transform, filter, opacity;
}
.shift__screen img {
  width: min(1400px, 100%); border-radius: 18px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), 0 0 0 1px var(--line);
}
.shift__lines { position: relative; z-index: 2; width: 100%; padding: 0 var(--gutter); text-align: center; }
.shift__line {
  position: absolute; left: 0; right: 0; top: 50%; translate: 0 -50%; margin: 0; padding: 0 var(--gutter);
  font-size: clamp(34px, 5.6vw, 92px); font-weight: 800; letter-spacing: -.045em; line-height: 1;
  opacity: 0; transform: translateY(40px) scale(.98); filter: blur(10px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
  text-shadow: 0 10px 60px rgba(0, 0, 0, .9);
}
.shift__line.big { font-size: clamp(46px, 8.6vw, 150px); }
.shift__line.on { opacity: 1; transform: none; filter: none; }
.shift__line.grad { text-shadow: none; }

/* ---------- 3 · DAY (horizontal pinned) ---------- */
.day { position: relative; height: 420vh; }
.day__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 4vh; }
.day__head { padding: 0 var(--gutter); }
.day__track { display: flex; gap: clamp(16px, 2.4vw, 36px); padding: 0 var(--gutter); will-change: transform; width: max-content; }
.scene {
  position: relative; flex: none; width: min(78vw, 980px); height: min(56vh, 540px);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border-radius: 28px; overflow: hidden;
  background: linear-gradient(140deg, rgba(20, 159, 192, .14), rgba(12, 37, 48, .4) 45%, rgba(10, 22, 29, .9));
  border: 1px solid var(--line);
}
.scene__time {
  position: absolute; right: 28px; top: 14px; z-index: 2;
  font-size: clamp(56px, 8vw, 130px); font-weight: 850; letter-spacing: -.06em; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px rgba(157, 231, 245, .35);
  font-variant-numeric: tabular-nums;
}
.scene__media { position: relative; background: radial-gradient(circle at 50% 55%, rgba(45, 190, 221, .22), transparent 65%); overflow: hidden; }
.scene__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__orb {
  position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, var(--teal-200) 12%, var(--teal-400) 40%, var(--teal-700) 75%, var(--teal-950) 100%);
  box-shadow: 0 0 80px 10px rgba(45, 190, 221, .45), inset 0 0 40px rgba(0, 0, 0, .35);
  animation: breathe 4s ease-in-out infinite;
}
.scene__orb::before, .scene__orb::after {
  content: ""; position: absolute; inset: -18%; border-radius: 50%; border: 1px solid rgba(93, 213, 236, .35);
  animation: ripple 3s var(--ease) infinite;
}
.scene__orb::after { animation-delay: 1.5s; }
.scene__media.has-video .scene__orb { display: none; }
@keyframes breathe { 50% { transform: scale(1.06); } }
@keyframes ripple { from { transform: scale(.8); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.scene__body { display: flex; flex-direction: column; justify-content: flex-end; gap: 18px; padding: clamp(22px, 3vw, 44px); }
.scene__event { margin: 0; color: var(--text-2); font-size: clamp(16px, 1.4vw, 20px); font-weight: 600; }
.scene__event.alert::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 14px var(--alert); margin-right: 10px; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.scene__drinna { margin: 0; font-size: clamp(24px, 2.6vw, 42px); font-weight: 750; letter-spacing: -.03em; line-height: 1.08; }
.scene__drinna::before { content: "Drinna"; display: block; margin-bottom: 10px; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--teal-300); }
.scene__tag { margin: 0; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--text-3); }
.day__progress { margin: 0 var(--gutter); height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.day__progress span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }

.sound {
  position: absolute; left: 16px; bottom: 16px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(7, 14, 19, .6); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.sound::before { content: "🔇"; font-size: 18px; }
.sound.on::before { content: "🔊"; }

@media (max-width: 900px) {
  .day { height: auto; }
  .day__sticky { position: static; height: auto; overflow: visible; padding: 100px 0 60px; gap: 32px; }
  .day__track { flex-direction: column; width: auto; transform: none !important; }
  .scene { width: 100%; height: auto; grid-template-columns: 1fr; }
  .scene__media { aspect-ratio: 4 / 3; }
  .day__progress { display: none; }
}

/* ---------- 4 · VOICE ---------- */
.voice {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: clamp(32px, 5vw, 96px);
  min-height: 100svh; padding: 120px var(--gutter);
}
.voice__media {
  position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden;
  background: radial-gradient(circle at 50% 50%, rgba(20, 159, 192, .25), transparent 70%);
}
.voice__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.voice__orb { position: absolute; inset: 0; width: 100%; height: 100%; }
.voice__media.has-video .voice__orb { display: none; }
.voice__media.has-video { border: 1px solid var(--line); }
.greet { position: relative; height: 1.3em; margin-top: 42px; font-size: clamp(22px, 2.4vw, 36px); font-weight: 700; letter-spacing: -.02em; color: var(--teal-200); }
.greet span { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(14px); filter: blur(6px); transition: all .7s var(--ease); white-space: nowrap; }
.greet span.on { opacity: 1; transform: none; filter: none; }
.wave { display: flex; align-items: center; gap: 5px; height: 56px; margin-top: 22px; }
.wave i { width: 5px; height: 100%; border-radius: 3px; background: var(--teal-400); transform: scaleY(.15); animation: wave 1.1s ease-in-out infinite; }
.wave i:nth-child(3n) { animation-duration: .9s; } .wave i:nth-child(4n) { animation-duration: 1.3s; } .wave i:nth-child(5n) { animation-duration: .75s; }
.wave i:nth-child(2n) { animation-delay: -.3s; } .wave i:nth-child(3n+1) { animation-delay: -.6s; }
@keyframes wave { 50% { transform: scaleY(1); } }
@media (max-width: 900px) {
  .voice { grid-template-columns: 1fr; padding-top: 80px; }
  .voice__media { max-width: 460px; width: 100%; margin: 0 auto; }
}

/* ---------- 5 · VERBS ---------- */
.verbs { padding: 10vh 0 14vh; overflow: hidden; border-block: 1px solid var(--line); background: var(--bg-2); }
.marquee { display: flex; overflow: hidden; user-select: none; }
.marquee__row { display: flex; flex: none; gap: .4em; padding-right: .4em; animation: marq 38s linear infinite; font-size: clamp(64px, 12vw, 200px); font-weight: 850; letter-spacing: -.05em; line-height: 1.02; }
.marquee--rev .marquee__row { animation-direction: reverse; animation-duration: 46s; }
.marquee__row span { color: transparent; -webkit-text-stroke: 1.5px rgba(157, 231, 245, .32); transition: color .3s, -webkit-text-stroke-color .3s; }
.marquee__row span:hover { color: var(--teal-400); -webkit-text-stroke-color: var(--teal-400); }
.marquee__row span.dot { align-self: center; width: .16em; height: .16em; border-radius: 50%; background: var(--teal-500); box-shadow: 0 0 .3em var(--teal-400); -webkit-text-stroke: 0; }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-100%); } }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 8vh auto 0; padding: 0 var(--gutter); max-width: 1100px; }
.chips li {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20, 159, 192, .06);
  color: var(--text-2); font-size: 15px; font-weight: 600;
  opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), color .2s, border-color .2s;
}
.chips.in li { opacity: 1; transform: none; }
.chips li:hover { color: var(--teal-100); border-color: var(--teal-400); }

/* ---------- 5b · CONNECT ---------- */
.connect { padding: 16vh var(--gutter) 10vh; max-width: 1500px; margin: 0 auto; }
.connect__head { margin-bottom: 8vh; }
.partner {
  display: grid; grid-template-columns: minmax(180px, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  margin-bottom: 8vh; padding: clamp(18px, 2.4vw, 32px); border-radius: 28px;
  border: 1px solid rgba(93, 213, 236, .4);
  background: linear-gradient(120deg, rgba(45, 190, 221, .18), rgba(10, 22, 29, .6) 60%);
  box-shadow: 0 30px 120px -40px rgba(45, 190, 221, .6);
}
.partner__logo { display: grid; place-items: center; aspect-ratio: 1; border-radius: 22px; background: radial-gradient(circle at 50% 40%, #fff, #EAF1F7); padding: 12%; }
.partner__logo img { width: 100%; height: auto; }
.partner__txt h3 { margin: 0; font-size: clamp(36px, 5vw, 80px); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.partner__txt p:last-child { margin: 16px 0 0; color: var(--text-2); font-size: clamp(17px, 1.5vw, 22px); max-width: 42ch; }
.partner__txt .kicker { margin-bottom: 14px; }
@media (max-width: 700px) { .partner { grid-template-columns: 1fr; } .partner__logo { max-width: 220px; } }
.connect__rows { border-top: 1px solid var(--line); }
.conn {
  display: grid; grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px; align-items: center;
  padding: 42px 0; border-bottom: 1px solid var(--line);
}
.conn__n { font-size: 14px; font-weight: 800; color: var(--teal-300); letter-spacing: .1em; }
.conn__txt h3 { margin: 0; font-size: clamp(30px, 3.6vw, 56px); font-weight: 850; letter-spacing: -.04em; line-height: 1; }
.conn__txt p { margin: 12px 0 0; color: var(--text-2); max-width: 40ch; }
.conn__names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.conn__names li {
  padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line); background: rgba(20, 159, 192, .05);
  font-size: clamp(16px, 1.4vw, 21px); font-weight: 800; letter-spacing: -.01em; color: var(--text-1);
  transition: border-color .3s, background .3s, transform .4s var(--ease);
}
.conn__names li:hover { border-color: var(--teal-400); background: rgba(20, 159, 192, .14); transform: translateY(-3px); }
.conn__names li.partner {
  display: flex; flex-direction: column; gap: 2px; padding: 12px 22px;
  border-color: var(--teal-400); background: linear-gradient(135deg, rgba(45, 190, 221, .28), rgba(20, 159, 192, .08));
  box-shadow: 0 0 40px -10px rgba(45, 190, 221, .7);
}
.conn__names li.partner span { font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-200); }
.flow { list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 9vh 0 0; padding: 0; }
.flow li {
  position: relative; padding: 22px 22px 22px 22px; border-radius: 18px; border: 1px solid var(--line);
  background: rgba(10, 22, 29, .6); color: var(--text-3); font-size: 16px; font-weight: 650; line-height: 1.3;
  transition: color .5s, border-color .5s, background .5s, box-shadow .5s;
}
.flow li::before { counter-increment: f; content: counter(f); display: block; margin-bottom: 10px; font-size: 12px; font-weight: 800; color: var(--text-3); }
.flow li:not(:last-child)::after { content: "→"; position: absolute; right: -13px; top: 50%; translate: 0 -50%; z-index: 1; color: var(--text-3); font-weight: 800; transition: color .5s; }
.flow li.on { color: var(--text-1); border-color: rgba(93, 213, 236, .5); background: rgba(20, 159, 192, .12); box-shadow: 0 0 40px -16px rgba(45, 190, 221, .9); }
.flow li.on::before, .flow li.on::after { color: var(--teal-300); }
.flow li:first-child.on { border-color: rgba(244, 63, 94, .6); background: rgba(244, 63, 94, .1); box-shadow: 0 0 40px -16px rgba(244, 63, 94, .9); }
.flow li:first-child.on::before { color: var(--alert); }
.connect__tm { margin: 28px 0 0; font-size: 12px; color: var(--text-3); }
@media (max-width: 900px) {
  .conn { grid-template-columns: 1fr; gap: 18px; padding: 32px 0; }
  .conn__names { justify-content: flex-start; }
  .flow { grid-template-columns: 1fr; }
  .flow li:not(:last-child)::after { content: "↓"; right: auto; left: 22px; top: auto; bottom: -15px; translate: 0 0; }
}

/* ---------- 5c · CASES ---------- */
.cases { padding: 10vh var(--gutter) 14vh; max-width: 1500px; margin: 0 auto; }
.cases__head { margin-bottom: 6vh; }
.cases__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.case {
  position: relative; display: flex; flex-direction: column; min-height: 260px; padding: 26px; border-radius: 22px;
  border: 1px solid var(--line); background: linear-gradient(160deg, rgba(20, 159, 192, .1), rgba(10, 22, 29, .7) 55%);
  overflow: hidden; transition: border-color .4s, transform .5s var(--ease);
}
.case::after {
  content: ""; position: absolute; inset: auto -30% -60% auto; width: 80%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 190, 221, .35), transparent 65%); opacity: 0; transition: opacity .5s;
}
.case:hover { border-color: rgba(93, 213, 236, .5); transform: translateY(-6px); }
.case:hover::after { opacity: 1; }
.case__n { font-size: 13px; font-weight: 800; color: var(--teal-300); letter-spacing: .1em; }
.case h3 { margin: 14px 0 0; font-size: clamp(22px, 1.9vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.case__value { margin: 12px 0 0; color: var(--text-2); font-size: 16px; }
.case__who { margin: auto 0 0; padding-top: 18px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.cases__ctas { margin-top: 48px; }
@media (max-width: 1100px) { .cases__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cases__grid { grid-template-columns: 1fr; } .case { min-height: 0; } }

/* ---------- 6 · SCREENS ---------- */
.screens { position: relative; padding: 18vh var(--gutter) 10vh; overflow: hidden; }
.screens__text { text-align: center; max-width: 1200px; margin: 0 auto; }
.screens__text .lead { margin-inline: auto; }
.screens__stage { position: relative; height: clamp(320px, 52vw, 760px); margin-top: 8vh; perspective: 1600px; }
.dev { position: absolute; height: auto; border-radius: 14px; box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .9), 0 0 0 1px var(--line); will-change: transform; transition: filter .6s; }
.dev--tv  { width: 62%; left: 4%; top: 4%; transform: rotateY(18deg) rotateX(6deg) translateZ(-80px); filter: saturate(.85) brightness(.75); }
.dev--tv2 { width: 52%; right: 3%; top: 18%; transform: rotateY(-20deg) rotateX(6deg) translateZ(-160px); filter: saturate(.75) brightness(.6); }
.dev--phone { width: auto; height: 94%; max-width: none; aspect-ratio: 1 / 2; object-fit: cover; left: 50%; top: 3%; translate: -50% 0; border-radius: 28px; transform: translateZ(60px); box-shadow: 0 50px 120px -10px rgba(0, 0, 0, 1), 0 0 0 6px #0B1218, 0 0 0 7px rgba(157, 231, 245, .2); }
.screens__stage:hover .dev { filter: none; }

/* ---------- 7 · TEAM ---------- */
.team { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: center; padding: 14vh var(--gutter); }
.team[hidden] { display: none; }
.team__media { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); aspect-ratio: 16 / 9; }
.team__media video { width: 100%; height: 100%; object-fit: cover; }
.team__media.empty { display: none; }
.team.no-video { grid-template-columns: 1fr; text-align: center; }
.team.no-video .lead { margin-inline: auto; }
.people { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 22px; }
.team.no-video .people { justify-content: center; }
.people li { display: flex; align-items: center; gap: 14px; }
.people img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.people b { display: block; font-size: 16px; }
.people span { font-size: 14px; color: var(--text-3); }
@media (max-width: 900px) { .team { grid-template-columns: 1fr; } }

/* ---------- 8 · FINAL ---------- */
.final { position: relative; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 120px var(--gutter); overflow: hidden; isolation: isolate; }
.final__orb { position: absolute; left: 50%; top: 50%; width: min(1100px, 140vw); aspect-ratio: 1; translate: -50% -50%; z-index: -1; opacity: .9; }
.final__title { margin: 0; display: flex; flex-direction: column; font-size: clamp(56px, 11vw, 200px); font-weight: 850; letter-spacing: -.055em; line-height: .9; text-shadow: 0 10px 80px rgba(7, 14, 19, .8); }
.final__title .grad { text-shadow: none; }
.final .hero__ctas { justify-content: center; }

/* ---------- offices ---------- */
.offices { padding: 10vh var(--gutter) 8vh; border-top: 1px solid var(--line); }
.offices__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.office { display: flex; flex-direction: column; gap: 10px; font-style: normal; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.office__tag { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-300); }
.office__city { font-size: clamp(34px, 3.8vw, 60px); font-weight: 850; letter-spacing: -.045em; line-height: 1; color: var(--text-1); }
.office a { color: var(--text-1); font-weight: 600; }
.office a:hover { color: var(--teal-200); }
.office--support .office__city { color: transparent; -webkit-text-stroke: 1.5px rgba(157, 231, 245, .5); }
@media (max-width: 1000px) { .offices__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; } }
@media (max-width: 520px) { .offices__grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 28px var(--gutter) max(28px, env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.foot__brand { display: flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: .12em; color: var(--text-2); }
.foot__brand span { font-weight: 500; letter-spacing: 0; color: var(--text-3); }
.foot__links { display: flex; flex-wrap: wrap; gap: 22px; }
.foot__links a:hover { color: var(--teal-200); }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: var(--gutter); background: rgba(3, 7, 10, .86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); animation: fade .4s var(--ease); }
.modal[hidden] { display: none; }
@keyframes fade { from { opacity: 0; } }
.modal__box { position: relative; width: min(1200px, 100%); aspect-ratio: 16 / 9; max-height: 86svh; border-radius: 24px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line), 0 40px 160px -20px rgba(20, 159, 192, .5); animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal__box video { width: 100%; height: 100%; object-fit: contain; }
.modal__close { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; background: rgba(7, 14, 19, .7); border: 1px solid var(--line); font-size: 16px; }
.modal__fallback { position: absolute; inset: 0; display: none; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 24px; text-align: center; background: radial-gradient(circle, rgba(20, 159, 192, .25), #000 70%); }
.modal__fallback canvas { width: min(260px, 40vw); aspect-ratio: 1; }
.modal__fallback p { margin: 0; max-width: 30ch; font-size: clamp(18px, 2vw, 26px); font-weight: 650; }
.modal__box.no-video video { display: none; }
.modal__box.no-video .modal__fallback { display: flex; }
@media (max-width: 700px) { .modal__box { aspect-ratio: 9 / 16; max-height: 80svh; width: min(440px, 100%); } }

/* ---------- Drinna's voice button ---------- */
.voicebtn {
  position: fixed; left: var(--gutter); bottom: max(22px, env(safe-area-inset-bottom)); z-index: 60;
  display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px 0 18px; border-radius: 999px;
  background: rgba(10, 22, 29, .78); border: 1px solid rgba(93, 213, 236, .35);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 15px; font-weight: 700; color: var(--text-1);
  box-shadow: 0 0 0 0 rgba(45, 190, 221, .5);
  animation: callme 2.4s var(--ease) 3s 4;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
}
.voicebtn[hidden] { display: none; }
.voicebtn:hover { transform: translateY(-2px); border-color: var(--teal-300); }
@keyframes callme { 0% { box-shadow: 0 0 0 0 rgba(45, 190, 221, .55); } 100% { box-shadow: 0 0 0 22px rgba(45, 190, 221, 0); } }
.voicebtn__bars { display: flex; align-items: center; gap: 3px; height: 20px; }
.voicebtn__bars i { width: 3px; height: 100%; border-radius: 2px; background: var(--teal-300); transform: scaleY(.3); }
.voicebtn.on { background: var(--teal-400); color: #04212B; border-color: var(--teal-300); animation: none; }
.voicebtn.on .voicebtn__bars i { background: #04212B; }
.voicebtn.talking .voicebtn__bars i { animation: wave .8s ease-in-out infinite; }
.voicebtn.talking .voicebtn__bars i:nth-child(2) { animation-delay: -.2s; }
.voicebtn.talking .voicebtn__bars i:nth-child(3) { animation-delay: -.45s; }
.voicebtn.talking .voicebtn__bars i:nth-child(4) { animation-delay: -.65s; }
.voicebtn__onl { display: none; }
.voicebtn.on .voicebtn__onl { display: inline; }
.voicebtn.on .voicebtn__off { display: none; }
@media (max-width: 600px) {
  .voicebtn { height: 46px; width: 46px; padding: 0; justify-content: center; }
  .voicebtn__label { display: none !important; }
  .final { padding-bottom: 150px; }
}

/* ---------- talk buttons + live call ---------- */
.btn__mic { width: 20px; height: 20px; flex: none; }
.talk-btn[hidden] { display: none; }
.talk-btn--voice { margin-top: 34px; }
.call {
  position: fixed; inset: 0; z-index: 96; display: grid; place-items: end center;
  padding: var(--gutter); padding-bottom: max(40px, env(safe-area-inset-bottom));
  background: radial-gradient(ellipse at 50% 36%, #0C2530 0%, #070E13 60%, #03070A 100%);
  animation: fade .4s var(--ease);
}
.call[hidden] { display: none; }
.call__orb { position: absolute; inset: 0; width: 100%; height: 100%; }
.call__x { position: absolute; right: 18px; top: max(18px, env(safe-area-inset-top)); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: rgba(7, 14, 19, .6); }
.call__panel { position: relative; z-index: 1; width: min(720px, 100%); text-align: center; min-height: 40svh; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.call__panel[hidden] { display: none; }
.call__panel .hero__ctas { justify-content: center; }
.call__title { margin: 0; font-size: clamp(38px, 6vw, 72px); font-weight: 850; letter-spacing: -.045em; line-height: 1; }
.call__text { margin: 20px auto 0; max-width: 52ch; color: var(--text-2); font-size: 16px; }
.call__status { margin: 0 0 18px; font-size: 13px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--teal-300); }
.call__drinna { margin: 0; min-height: 2.3em; font-size: clamp(22px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; text-wrap: balance; }
.call__user { margin: 14px 0 0; min-height: 1.5em; color: var(--text-3); font-size: 16px; font-style: italic; }
.call__bar { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.call__time { min-width: 56px; font-variant-numeric: tabular-nums; color: var(--text-2); font-weight: 700; }
.call__time.low { color: var(--alert); }
.call__btn { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 1px solid rgba(203, 243, 251, .3); background: rgba(10, 22, 29, .7); transition: background .2s, transform .3s var(--ease); }
.call__btn:hover { transform: scale(1.06); }
.call__btn svg { width: 26px; height: 26px; }
.call__btn[aria-pressed="true"] { background: var(--text-1); color: var(--bg); }
.call__btn--end { width: 76px; height: 76px; background: var(--alert); border-color: var(--alert); color: #fff; }
.call__btn--end svg { width: 34px; height: 34px; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { display: none; }
  .marquee__row { animation: none; }
  .shift { height: auto; }
  .shift__sticky { position: static; height: auto; display: block; padding: 10vh 0; }
  .shift__screen { position: static; opacity: .5; }
  .shift__line { position: static; translate: none; opacity: 1; transform: none; filter: none; margin: 4vh 0; }
  .day { height: auto; }
  .day__sticky { position: static; height: auto; padding: 10vh 0; }
  .day__track { flex-direction: column; width: auto; }
  .scene { width: 100%; }
}
