/* =========================================================
   YallaSites — landing page
   Design tokens: brand navy from logo + electric-blue accent
   ========================================================= */
:root {
  --navy-950: #070E1F;
  --navy-900: #0C1630;
  --navy-800: #13213F;
  --navy-700: #1B2A4A;   /* logo navy */
  --navy-600: #2A3B63;
  --accent: #4361EE;
  --accent-600: #3450D6;
  --accent-300: #93A6FF;
  --cream: #F4F1E8;
  --paper: #FBFAF6;
  --white: #FFFFFF;
  --ink: #0E1730;
  --muted: #545E78;
  --muted-dark: #A9B3CC;
  --line: rgba(14, 23, 48, .10);
  --line-dark: rgba(255, 255, 255, .10);
  --ok: #1F9D63;
  --warn: #E59A1C;
  --bad: #D9454A;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(14, 23, 48, .06), 0 2px 8px rgba(14, 23, 48, .05);
  --shadow: 0 10px 30px -10px rgba(14, 23, 48, .18), 0 2px 6px rgba(14, 23, 48, .06);
  --shadow-lg: 0 40px 80px -30px rgba(3, 8, 24, .55);

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(80px, 11vw, 150px);

  --font: "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3 { margin: 0; line-height: 1.12; letter-spacing: -.015em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em { font-style: normal; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent-300); outline-offset: 3px; border-radius: 6px; }

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

.skip {
  position: fixed; inset-block-start: 12px; inset-inline-start: 12px; z-index: 200;
  background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 10px;
  transform: translateY(-150%); transition: transform .2s var(--ease-out);
}
.skip:focus { transform: none; }

/* ---------- icons ---------- */
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .i.flip { transform: none; }
[dir="ltr"] .i.flip { transform: scaleX(-1); }

/* ---------- progress ---------- */
.progress { position: fixed; inset-inline: 0; inset-block-start: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent-300), var(--accent)); transform-origin: right; transform: scaleX(0); }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--white); --fg: var(--ink);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px;
  background: var(--bg); color: var(--fg); font-weight: 500; white-space: nowrap;
  transition: background-color .25s var(--ease-out), box-shadow .25s var(--ease-out), color .25s;
  will-change: transform;
}
.btn--accent { --bg: var(--accent); --fg: #fff; box-shadow: 0 8px 24px -8px rgba(67, 97, 238, .65), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--accent:hover { --bg: var(--accent-600); box-shadow: 0 14px 32px -10px rgba(67, 97, 238, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--ghost { --bg: rgba(255, 255, 255, .06); --fg: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .12); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 0.9375rem; }
.btn--lg { min-height: 54px; padding: 14px 28px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn .i { transition: transform .3s var(--ease-out); }
.btn:hover .i.flip { transform: translateX(-4px); }
[dir="ltr"] .btn:hover .i.flip { transform: scaleX(-1) translateX(-4px); }
.btn:active { transform: scale(.98); }

/* ---------- eyebrow ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 0.875rem; font-weight: 500; color: var(--accent-600); letter-spacing: .01em; margin-block-end: 18px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(67, 97, 238, .15); }
.eyebrow--dark { color: var(--accent-300); }
.eyebrow--dark .dot { box-shadow: 0 0 0 4px rgba(147, 166, 255, .15); }

/* =========================================================
   NAV
   ========================================================= */
.nav { position: fixed; inset-inline: 0; inset-block-start: 0; z-index: 100; padding-block: 14px; transition: padding .35s var(--ease-out), transform .45s var(--ease-out); }
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: rgba(9, 17, 38, .9); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-block-end: 1px solid var(--line-dark); transition: opacity .35s var(--ease-out);
}
.nav.is-scrolled { padding-block: 8px; }
.nav.is-scrolled::before { opacity: 1; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #fff; }
.nav__brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1875rem; letter-spacing: .01em; }
.nav__brand img { width: 34px; height: 34px; object-fit: contain; }
.nav__word { font-family: Georgia, "Times New Roman", serif; font-variant: small-caps; letter-spacing: .02em; }
.nav__links { display: flex; gap: 6px; }
.nav__links a { position: relative; padding: 8px 14px; border-radius: 999px; font-size: 0.9375rem; color: rgba(255, 255, 255, .78); transition: color .2s, background-color .2s; }
.nav__links a:hover { color: #fff; }
.nav__links { position: relative; }
.nav__links a { z-index: 1; transition: color .3s; }
.nav__links a.is-active { color: #fff; }
.nav__links a::after {
  content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
  background: var(--accent-300); opacity: 0; transform: scale(0); transition: opacity .3s, transform .4s var(--ease-out);
}
.nav__links a.is-active::after { opacity: 1; transform: scale(1); }
.nav__pill {
  position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; z-index: 0; pointer-events: none; opacity: 0;
  background: rgba(67, 97, 238, .22); box-shadow: inset 0 0 0 1px rgba(147, 166, 255, .35);
  transition: transform .5s var(--ease-out), width .5s var(--ease-out), opacity .3s, background-color .3s, box-shadow .3s;
}
.nav__pill.is-on { opacity: 1; }
.nav__pill.is-hover { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.mobile-menu a[aria-current="location"] { color: var(--accent-300); }
.nav__actions { display: flex; align-items: center; gap: 10px; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); min-height: 40px; align-items: center; }
.lang span { display: grid; place-items: center; min-width: 36px; height: 34px; border-radius: 999px; font-size: 0.875rem; color: rgba(255, 255, 255, .65); transition: background-color .25s, color .25s; }
.lang span.is-on { background: #fff; color: var(--navy-900); font-weight: 600; }

.burger { display: none; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .07); position: relative; }
.burger span { position: absolute; inset-inline: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease-out); }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu { display: grid; gap: 4px; padding: 12px var(--gutter) 20px; background: rgba(9, 17, 38, .96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-block-end: 1px solid var(--line-dark); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a:not(.btn) { color: #fff; padding: 14px 6px; font-size: 1.125rem; border-block-end: 1px solid var(--line-dark); }
.mobile-menu .btn { margin-block-start: 12px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding-block: 128px 96px;
  background: radial-gradient(120% 80% at 80% 0%, #17285A 0%, var(--navy-900) 45%, var(--navy-950) 100%);
  color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 30%, transparent 75%);
}
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; }
.hero__glow--a { width: 560px; height: 560px; inset-inline-start: -120px; top: 10%; background: radial-gradient(circle, rgba(67, 97, 238, .7), transparent 65%); }
.hero__glow--b { width: 420px; height: 420px; inset-inline-end: -80px; bottom: -120px; background: radial-gradient(circle, rgba(124, 92, 255, .45), transparent 65%); }
.hero__watermark { position: absolute; width: min(46vw, 620px); inset-inline-end: -6%; top: 50%; transform: translateY(-50%); opacity: .035; }

.hero__inner { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.04; margin-block-end: 24px; }
.hero__title, .contact__title, .section__title--light { --em-grad: linear-gradient(100deg, var(--accent-300) 0%, #C7D2FF 50%, var(--accent-300) 100%); }
.section__title:not(.section__title--light) { --em-grad: linear-gradient(100deg, var(--accent) 0%, #7C5CFF 50%, var(--accent) 100%); }
.hero__title em, .section__title em, .contact__title em {
  background: var(--em-grad);
  background-size: 200% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -200% 0; } }
.hero__sub { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); color: var(--muted-dark); max-width: 34ch; margin-block-end: 36px; line-height: 1.65; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-block-end: 48px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 14px 36px; padding-block-start: 28px; border-block-start: 1px solid var(--line-dark); }
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-size: 1.25rem; font-weight: 600; letter-spacing: .01em; }
.hero__facts span { font-size: 0.875rem; color: var(--muted-dark); }

/* split-word animation spans */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-block-end: .08em; margin-block-end: -.08em; }
.w > span { display: inline-block; will-change: transform; }

/* ---------- device stage ---------- */
.hero__stage { position: relative; aspect-ratio: 1 / .86; perspective: 1400px; }
.device { position: absolute; will-change: transform; }

.laptop { inset-inline-end: 0; top: 8%; width: 92%; }
.laptop__screen {
  aspect-ratio: 16 / 10; border-radius: 14px 14px 4px 4px; padding: 10px;
  background: linear-gradient(#1a2440, #0f172c); box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12);
}
.laptop__base { height: 14px; margin-inline: -5%; border-radius: 0 0 14px 14px; background: linear-gradient(#cfd5e3, #8f99b0); box-shadow: 0 20px 30px -10px rgba(0, 0, 0, .6); position: relative; }
.laptop__base::after { content: ""; position: absolute; top: 0; inset-inline: 42%; height: 5px; border-radius: 0 0 6px 6px; background: #7b859c; }

.phone {
  inset-inline-start: 0; bottom: 2%; width: 30%; aspect-ratio: 9 / 19; padding: 8px; border-radius: 30px;
  background: #0b1122; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .18);
}
.phone__notch { position: absolute; top: 12px; left: 50%; width: 34%; height: 14px; transform: translateX(-50%); background: #0b1122; border-radius: 10px; z-index: 2; }

/* ---------- mock UI (hero) ---------- */
.ui { height: 100%; width: 100%; border-radius: 8px; overflow: hidden; background: #F6F7FB; color: var(--ink); font-size: 10px; line-height: 1.3; }
.ui--dash { display: grid; grid-template-columns: 13% 1fr; }
.ui__side { background: #142046; display: flex; flex-direction: column; align-items: center; gap: 9px; padding-block: 12px; }
.ui__logo { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); margin-block-end: 8px; }
.ui__side i { width: 52%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.ui__side i.on { background: #fff; }
.ui__main { padding: 10px 12px; display: grid; grid-template-rows: auto auto 1fr; gap: 8px; min-width: 0; }
.ui__top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; }
.ui__pill { padding: 2px 8px; border-radius: 99px; background: #E6EBFF; color: var(--accent-600); font-size: 9px; }
.ui__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui__kpis div { background: #fff; border-radius: 7px; padding: 6px 7px; box-shadow: var(--shadow-sm); display: grid; }
.ui__kpis small { color: var(--muted); font-size: 8px; }
.ui__kpis b { font-size: clamp(11px, 1.3vw, 16px); font-variant-numeric: tabular-nums; }
.ui__row { display: grid; grid-template-columns: 34% 1fr; gap: 8px; background: #fff; border-radius: 8px; padding: 8px; box-shadow: var(--shadow-sm); min-height: 0; }
.ui__donut {
  --v: 82; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; align-self: center;
  background: conic-gradient(var(--ok) calc(var(--v) * 1%), #E7EAF2 0); position: relative; font-weight: 700; font-size: 12px;
}
.ui__donut::before { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: #fff; }
.ui__donut span { position: relative; }
.ui__bars { display: grid; align-content: center; gap: 7px; }
.ui__bars i { display: block; height: 7px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #7C8FFF); width: var(--w); transform-origin: right; }

.ui--book { padding: 26px 10px 10px; display: flex; flex-direction: column; gap: 7px; background: linear-gradient(180deg, #EEF1FF 0%, #fff 40%); }
.ui__h { font-size: 13px; }
.ui--book small { color: var(--muted); font-size: 9px; }
.ui__days { display: flex; justify-content: space-between; gap: 4px; margin-block-start: 4px; }
.ui__days i, .ui__slots i { font-style: normal; display: grid; place-items: center; border-radius: 8px; background: #fff; box-shadow: inset 0 0 0 1px #E3E7F2; }
.ui__days i { flex: 1; height: 28px; font-size: 10px; }
.ui__days i.on, .ui__slots i.on { background: var(--accent); color: #fff; box-shadow: none; }
.ui__slots { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-block-start: 2px; }
.ui__slots i { height: 24px; font-size: 9px; font-variant-numeric: tabular-nums; }
.ui__cta { margin-block-start: auto; display: grid; place-items: center; height: 30px; border-radius: 10px; background: var(--navy-700); color: #fff; font-size: 10px; font-weight: 600; }

/* floating chips */
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 13px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chip .i { width: 18px; height: 18px; color: var(--ok); }
.chip--a { top: 0; inset-inline-start: 12%; }
.chip--b { bottom: 10%; inset-inline-end: 2%; }
.chip--c { top: 14%; inset-inline-end: -2%; }
.chip--c .i { color: var(--accent); }
.chip__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(31, 157, 99, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(31, 157, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0); } }

.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: wheel 1.8s var(--ease-in-out) infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* =========================================================
   SHOWREEL VIDEO
   ========================================================= */
.reel { background: var(--navy-950); color: #fff; padding-block: clamp(72px, 9vw, 120px); position: relative; overflow: hidden; }
.reel::before { content: ""; position: absolute; inset: 30% 10% auto; height: 60%; background: radial-gradient(closest-side, rgba(67, 97, 238, .35), transparent); filter: blur(40px); pointer-events: none; }
.reel__head { text-align: center; max-width: 760px; margin: 0 auto clamp(36px, 5vw, 56px); }
.reel__frame {
  position: relative; max-width: 1040px; margin-inline: auto; border-radius: 22px; overflow: hidden;
  background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 60px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -20px rgba(67, 97, 238, .45);
  transform-origin: center top; will-change: transform;
}
.reel .browser--dark { background: #111a33; align-items: center; border-radius: 0; padding: 12px 16px; }
.reel .browser--dark i { margin-inline: auto; font-style: normal; font-size: 12px; color: var(--muted-dark); padding: 3px 40px; border-radius: 99px; background: rgba(255, 255, 255, .06); direction: ltr; }
.reel__video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee { background: var(--navy-950); color: #fff; padding-block: 34px; overflow: hidden; border-block: 1px solid var(--line-dark); }
.marquee__label { text-align: center; font-size: 0.8125rem; color: var(--muted-dark); letter-spacing: .08em; margin-block-end: 18px; }
.marquee__track { display: flex; width: max-content; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); width: 100%; }
.marquee__row { display: flex; align-items: center; gap: 36px; padding-inline-end: 36px; flex: none; animation: marquee 38s linear infinite; font-size: clamp(1.375rem, 3vw, 2.25rem); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.marquee__row b { color: var(--accent); font-size: .55em; font-weight: 400; }
.marquee__row span { color: rgba(255, 255, 255, .88); }
.marquee:hover .marquee__row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(100%); } }
[dir="ltr"] .marquee__row { animation-name: marquee-ltr; }
@keyframes marquee-ltr { to { transform: translateX(-100%); } }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding-block: var(--section-y); }
.section__head { max-width: 760px; margin-block-end: clamp(40px, 6vw, 72px); }
.section__title { font-size: clamp(2rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -.025em; }
.section__title--light { color: #fff; }
.section__lead { margin-block-start: 20px; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--muted); max-width: 58ch; }

/* ---------- services / bento ---------- */
.services { background: var(--paper); }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  --mx: 50%; --my: 50%;
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--white); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow), inset 0 0 0 1px rgba(67, 97, 238, .25); }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), rgba(67, 97, 238, .10), transparent 45%);
}
.spot:hover::before { opacity: 1; }
.card h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); font-weight: 600; margin-block: 20px 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.card__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #EDF0FF; color: var(--accent); }
.card__icon .i { width: 24px; height: 24px; }
.card--xl { grid-row: span 2; display: flex; flex-direction: column; background: linear-gradient(180deg, #fff 0%, #F4F6FF 100%); }
.card--wide { grid-column: span 2; }
.card--dark { background: linear-gradient(135deg, var(--navy-800), var(--navy-900)); color: #fff; box-shadow: var(--shadow); }
.card--dark p { color: var(--muted-dark); }
.card--dark .card__icon { background: rgba(255, 255, 255, .08); color: var(--accent-300); }
.card--dark.spot::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(147, 166, 255, .16), transparent 45%); }
.card__split { display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: end; }

.card__visual--lp { position: relative; margin-block-start: auto; padding-block-start: 32px; }
.lp { border-radius: 16px; background: #fff; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); padding: 22px; display: grid; gap: 10px; }
.lp i { display: block; height: 10px; border-radius: 6px; background: #E6E9F2; }
.lp__h { height: 18px !important; width: 70%; background: var(--navy-700) !important; }
.lp__p { width: 92%; }
.lp__p.s { width: 64%; }
.lp__btn { justify-self: start; margin-block-start: 8px; width: 120px; height: 36px; border-radius: 999px; background: var(--accent); box-shadow: 0 10px 20px -8px rgba(67, 97, 238, .7); transition: transform .3s var(--ease-out); }
.lp__cursor {
  position: absolute; width: 22px; height: 22px; inset-inline-start: 140px; bottom: 6px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l7 17 2.5-7.5L21 10z' fill='%230E1730' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  animation: cursor 4.5s var(--ease-in-out) infinite;
}
@keyframes cursor {
  0%, 100% { transform: translate(60px, 30px); }
  40%, 60% { transform: translate(0, -24px); }
}
.card--xl:hover .lp__btn { transform: scale(1.06); }

.mini-table { display: grid; gap: 8px; }
.mini-table li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); }
.mini-table .av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, #8EA2FF, #4361EE); flex: none; }
.mini-table i { flex: 1; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .16); }
.mini-table em { font-size: 12px; padding: 3px 10px; border-radius: 99px; white-space: nowrap; }
.mini-table .ok { background: rgba(31, 157, 99, .18); color: #5FD8A0; }
.mini-table .warn { background: rgba(229, 154, 28, .18); color: #FFC56A; }

/* =========================================================
   WORK (horizontal scroll)
   ========================================================= */
.work { background: var(--navy-900); color: #fff; position: relative; overflow: hidden; }
.work__pin { padding-block: var(--section-y); min-height: 100svh; display: flex; flex-direction: column; justify-content: center; }
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-block-end: clamp(36px, 5vw, 56px); }
.work__viewport { overflow: visible; }
.work__track { display: flex; gap: 24px; padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); width: max-content; will-change: transform; }

.project {
  width: clamp(300px, 34vw, 440px); flex: none;
  background: var(--navy-800); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: inset 0 0 0 1px var(--line-dark);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.project:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px rgba(147, 166, 255, .35), 0 30px 60px -30px rgba(0, 0, 0, .7); }
.project__shot { position: relative; aspect-ratio: 4 / 3; background: var(--p2); padding: 26px 26px 0; overflow: hidden; }
.project__shot::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, rgba(0, 0, 0, .06)); pointer-events: none; }
.browser { display: flex; gap: 5px; padding: 9px 12px; background: #fff; border-radius: 12px 12px 0 0; box-shadow: 0 -1px 0 rgba(0, 0, 0, .04); }
.browser span { width: 8px; height: 8px; border-radius: 50%; background: #E1E3EA; }
.browser span:first-child { background: #FF6159; } .browser span:nth-child(2) { background: #FFBF2F; } .browser span:nth-child(3) { background: #2ACB42; }
.shot { height: calc(100% - 26px); background: #fff; padding: 12px; display: grid; gap: 10px; transition: transform .7s var(--ease-out); transform-origin: top center; box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .25); }
.project:hover .shot { transform: translateY(-8px) scale(1.02); }
.shot i { display: block; border-radius: 6px; background: #EDEFF4; }

.shot--dash { grid-template-rows: auto auto 1fr; }
.shot__nav { display: flex; gap: 6px; }
.shot__nav i { height: 10px; flex: 1; }
.shot__nav i.on { background: var(--p); }
.shot__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.shot__kpis i { height: 34px; background: color-mix(in srgb, var(--p) 10%, #fff); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--p) 18%, #fff); }
.shot__body { display: grid; grid-template-columns: 34% 1fr; gap: 12px; align-items: center; }
.shot__ring { aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--p) 0 75%, #EDEFF4 0); -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.shot__bars { display: grid; gap: 8px; }
.shot__bars i { height: 9px; width: var(--w); background: var(--p); opacity: .85; }

.shot--table { grid-template-rows: auto 1fr; }
.shot__bar { height: 26px; border-radius: 8px; background: var(--p); }
.shot--table ul { display: grid; gap: 7px; align-content: start; }
.shot--table li { display: flex; align-items: center; gap: 10px; padding: 7px 8px; border-radius: 8px; box-shadow: inset 0 0 0 1px #EEF0F5; }
.shot--table li i { flex: 1; height: 8px; }
.shot--table b { width: 46px; height: 14px; border-radius: 99px; }
.shot--table b.ok { background: #D4F2E3; } .shot--table b.warn { background: #FCE9C6; } .shot--table b.bad { background: #FAD6D7; }

.shot--clinic { grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
.shot__form { padding: 16px 12px; display: grid; gap: 9px; align-content: center; }
.shot__form i { height: 22px; box-shadow: inset 0 0 0 1px #E6E8EF; background: #fff; }
.shot__form i.h { height: 12px; width: 70%; background: var(--ink); box-shadow: none; }
.shot__form span { height: 24px; border-radius: 6px; background: var(--p); }
.shot__photo { background: radial-gradient(circle at 40% 35%, #F5D9C8 0 14%, transparent 15%), radial-gradient(ellipse at 40% 80%, #2C3A57 0 30%, transparent 31%), linear-gradient(160deg, #DCE3F2, #B9C6E4); position: relative; }
.shot__photo::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: var(--p); opacity: .9; }

.shot--shop { grid-template-rows: auto 1fr; }
.shot__banner { height: 64px; border-radius: 8px; background: linear-gradient(110deg, var(--p), color-mix(in srgb, var(--p) 60%, #000)); position: relative; }
.shot__banner::after { content: ""; position: absolute; inset-inline-start: 12px; top: 18px; width: 40%; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .85); box-shadow: 0 18px 0 -2px rgba(255, 255, 255, .5); }
.shot__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.shot__grid i { background: linear-gradient(180deg, color-mix(in srgb, var(--p) 22%, #fff) 0 62%, #F3F4F7 62%); box-shadow: inset 0 0 0 1px #EEF0F5; min-height: 46px; }

.shot--club { grid-template-rows: auto 1fr; }
.shot__hero { height: 72px; border-radius: 8px; background: linear-gradient(120deg, var(--p), #2E8B5C); position: relative; padding: 14px; display: flex; justify-content: space-between; align-items: end; }
.shot__hero i { width: 46%; height: 10px; background: rgba(255, 255, 255, .85); }
.shot__hero span { width: 60px; height: 20px; border-radius: 6px; background: #F2A33A; }
.shot__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.shot__cards i { background: #fff; box-shadow: inset 0 0 0 1px #EEF0F5; border-top: 4px solid #F2A33A; min-height: 50px; }

.shot--video { grid-template-columns: 1.1fr 1fr; align-items: center; }
.shot__vid { aspect-ratio: 9/14; max-height: 100%; border-radius: 10px; background: linear-gradient(160deg, #3F3A33, #17140F); display: grid; place-items: center; }
.shot__vid span { width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .9); clip-path: none; position: relative; }
.shot__vid span::after { content: ""; position: absolute; inset: 9px 9px 9px 11px; background: #17140F; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.shot__text { display: grid; gap: 8px; }
.shot__text i { height: 8px; }
.shot__text i.h { height: 14px; background: var(--p); width: 85%; }

.project__info { padding: 24px 26px 28px; }
.project__kind { font-size: 0.8125rem; color: var(--accent-300); font-weight: 500; }
.project h3 { font-size: 1.3125rem; font-weight: 600; margin-block: 8px 10px; }
.project p { font-size: 0.9375rem; color: var(--muted-dark); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 18px; }
.tags li { font-size: 0.8125rem; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); color: #DDE3F5; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 0; font-weight: 500; color: var(--accent-300); white-space: nowrap; }
.link-arrow .i { transition: transform .3s var(--ease-out); }
.link-arrow:hover .i.flip { transform: translateX(-5px); }
[dir="ltr"] .link-arrow:hover .i.flip { transform: scaleX(-1) translateX(-5px); }
.link-arrow--light { color: #fff; }

/* =========================================================
   PROCESS
   ========================================================= */
.process { background: var(--cream); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.steps__line { position: absolute; inset-inline: 0; top: 27px; height: 2px; background: rgba(14, 23, 48, .1); }
.steps__line span { display: block; height: 100%; background: linear-gradient(270deg, var(--accent), #7C5CFF); transform-origin: right; transform: scaleX(1); }
[dir="ltr"] .steps__line span { transform-origin: left; background: linear-gradient(90deg, var(--accent), #7C5CFF); }
.step { position: relative; }
.step__n {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); color: var(--navy-700); font-weight: 700; font-size: 1.0625rem; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); margin-block-end: 26px; position: relative; z-index: 1;
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.step.is-active .step__n { background: var(--navy-700); color: #fff; box-shadow: 0 0 0 6px rgba(67, 97, 238, .14); }
.step h3 { font-size: 1.3125rem; font-weight: 600; margin-block-end: 10px; }
.step p { color: var(--muted); font-size: 1rem; }

/* =========================================================
   WHY
   ========================================================= */
.why { background: var(--paper); }
.why__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__copy { position: sticky; top: 120px; }
.why__copy .section__head { margin: 0; }
.why__list { display: grid; gap: 14px; }
.why__list li { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out); }
.why__list li:hover { transform: translateX(-4px); box-shadow: var(--shadow), inset 0 0 0 1px rgba(67, 97, 238, .2); }
[dir="ltr"] .why__list li:hover { transform: translateX(4px); }
.why__list .i { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: #EDF0FF; color: var(--accent); }
.why__list h3 { font-size: 1.1875rem; font-weight: 600; margin-block-end: 6px; }
.why__list p { color: var(--muted); font-size: 1rem; }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--cream); }
.faq__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.qa { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); overflow: hidden; }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; min-height: 64px; cursor: pointer; font-weight: 500; font-size: 1.125rem; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; width: 28px; height: 28px; flex: none; border-radius: 50%; background: #EDF0FF; transition: transform .4s var(--ease-out), background-color .3s; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; inset: 50% 8px auto; height: 2px; margin-top: -1px; border-radius: 2px; background: var(--accent); }
.qa summary i::after { transform: rotate(90deg); transition: transform .4s var(--ease-out); }
.qa[open] summary i { background: var(--accent); transform: rotate(180deg); }
.qa[open] summary i::before, .qa[open] summary i::after { background: #fff; }
.qa[open] summary i::after { transform: rotate(0); }
.qa__a { padding: 0 24px 24px; color: var(--muted); }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { position: relative; isolation: isolate; overflow: hidden; padding-block: var(--section-y); background: radial-gradient(100% 90% at 20% 100%, #1A2C66 0%, var(--navy-900) 50%, var(--navy-950) 100%); color: #fff; }
.contact__bg { position: absolute; inset: 0; z-index: -1; }
.contact__bg .hero__glow--a { inset-inline-start: auto; inset-inline-end: -160px; top: auto; bottom: -200px; }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.contact__title { font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; margin-block-end: 22px; }
.contact__lead { color: var(--muted-dark); font-size: clamp(1.0625rem, 1.5vw, 1.25rem); max-width: 40ch; margin-block-end: 24px; }

.brief { background: rgba(255, 255, 255, .04); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: inset 0 0 0 1px var(--line-dark), 0 40px 80px -40px rgba(0, 0, 0, .6); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 20px; }
.brief fieldset { border: 0; padding: 0; margin: 0; }
.brief legend, .field label { font-size: 0.9375rem; font-weight: 500; margin-block-end: 10px; padding: 0; }
.opt { color: var(--muted-dark); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; border-radius: 99px; font-size: 0.9375rem; background: rgba(255, 255, 255, .05); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: background-color .2s, box-shadow .2s, color .2s, transform .2s var(--ease-out); }
.chips label:hover span { background: rgba(255, 255, 255, .1); }
.chips input:checked + span { background: #fff; color: var(--navy-900); box-shadow: none; font-weight: 500; }
.chips input:focus-visible + span { outline: 2px solid var(--accent-300); outline-offset: 2px; }
.chips input:active + span { transform: scale(.96); }
.field { display: grid; }
.field input, .field textarea {
  font: inherit; color: #fff; background: rgba(255, 255, 255, .05); border: 0; border-radius: 12px; padding: 13px 16px; min-height: 50px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16); transition: box-shadow .2s, background-color .2s; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .45); }
.field input:hover, .field textarea:hover { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.field input:focus, .field textarea:focus { outline: none; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1.5px var(--accent-300), 0 0 0 4px rgba(67, 97, 238, .2); }
.field__err { display: none; color: #FF9EA1; font-size: 0.875rem; margin-block-start: 6px; }
.field.is-invalid input { box-shadow: inset 0 0 0 1.5px #FF7B80; }
.field.is-invalid .field__err { display: block; }
.brief__hint { font-size: 0.875rem; color: var(--muted-dark); text-align: center; }

/* =========================================================
   FOOTER + TOAST
   ========================================================= */
.footer { background: var(--navy-950); color: var(--muted-dark); padding-block: 48px; border-block-start: 1px solid var(--line-dark); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer img { width: 110px; height: auto; opacity: .9; }
.footer p { font-size: 0.9375rem; }

.toast {
  position: fixed; bottom: 24px; left: 50%; z-index: 150; transform: translate(-50%, 140%);
  max-width: calc(100vw - 32px); padding: 14px 20px; border-radius: 14px; background: #fff; color: var(--ink); font-weight: 500;
  box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .45); transition: transform .5s var(--ease-out), opacity .3s, visibility .5s; text-align: center;
  opacity: 0; visibility: hidden;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .5s var(--ease-out), opacity .3s; }

/* CTA tile closing the bento grid */
.card--cta { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: linear-gradient(140deg, var(--accent) 0%, #5B4BE6 100%); color: #fff; box-shadow: 0 20px 40px -20px rgba(67, 97, 238, .7); }
.card--cta h3 { margin-block-start: 0; }
.card--cta p { color: rgba(255, 255, 255, .85); }
.card--cta .link-arrow { color: #fff; font-weight: 600; }
.card--cta.spot::before { background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 255, 255, .18), transparent 45%); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 680px; }
  .hero__stage { max-width: 620px; width: 100%; margin-inline: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .card--xl { grid-row: auto; grid-column: span 2; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .steps__line { display: none; }
  .why__inner, .faq__inner, .contact__inner { grid-template-columns: 1fr; }
  .why__copy { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .nav .btn--sm { display: none; }
  .hero { padding-block: 112px 80px; }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .chip { font-size: 12px; padding: 8px 11px; }
  .chip--c { display: none; }
  .bento { grid-template-columns: 1fr; }
  .card--xl, .card--wide { grid-column: auto; }
  .card__split { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .work__head { flex-direction: column; align-items: start; }
  .footer__inner { flex-direction: column; text-align: center; }
}

/* mobile: horizontal scroll falls back to native swipe */
@media (max-width: 900px) {
  .work__pin { min-height: 0; }
  .work__viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .work__viewport::-webkit-scrollbar { display: none; }
  .work__track { padding-inline: var(--gutter); padding-block-end: 8px; }
  .project { width: min(82vw, 380px); scroll-snap-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__row { animation: none; }
  .marquee__track { flex-wrap: wrap; justify-content: center; }
}

/* split gradient words: paint gradient per word so transforms don't break text clipping */
em.em-split { background: none !important; animation: none; color: inherit; -webkit-text-fill-color: currentColor; }
em.em-split .w > span {
  background: var(--em-grad);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: shimmer 6s linear infinite;
}

/* =========================================================
   SHOWREEL — scroll-scrubbed
   ========================================================= */
.reel { min-height: 100svh; display: flex; align-items: center; }
.reel > .container { width: 100%; }
.reel__frame { width: min(100%, 1040px, calc((100svh - 300px) * 16 / 9)); }
.reel__meter { display: flex; align-items: center; gap: 14px; max-width: 1040px; width: min(100%, 1040px, calc((100svh - 300px) * 16 / 9)); margin: 20px auto 0; color: var(--muted-dark); font-size: 0.875rem; }
.reel__bar { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.reel__bar span { display: block; height: 100%; background: linear-gradient(270deg, var(--accent-300), var(--accent)); transform-origin: right; transform: scaleX(0); }
.reel__hint { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.reel__hint .i { width: 16px; height: 16px; animation: nudge 1.6s var(--ease-in-out) infinite; }
@keyframes nudge { 50% { transform: translateY(3px); } }
.reel__toggle {
  position: absolute; inset-block-end: 14px; inset-inline-end: 14px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: rgba(7, 14, 31, .6);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  opacity: .75; transition: opacity .25s, background-color .25s;
}
.reel__frame:hover .reel__toggle, .reel__toggle:focus-visible { opacity: 1; }
.reel__toggle:hover { background: rgba(67, 97, 238, .85); }
.reel__toggle .i--play { display: none; }
.reel__toggle[aria-pressed="true"] .i--pause { display: none; }
.reel__toggle[aria-pressed="true"] .i--play { display: block; }
.no-motion .reel__toggle { display: none; }

/* =========================================================
   PROJECTS — real screenshots
   ========================================================= */
a.project { display: block; color: inherit; }
a.project:focus-visible { outline: 3px solid var(--accent-300); outline-offset: 4px; border-radius: var(--radius-lg); }
.project__shot { padding: 22px 22px 0; background: linear-gradient(160deg, color-mix(in srgb, var(--p) 55%, #0C1630), #0C1630); }
.project__browser { display: flex; align-items: center; gap: 5px; padding: 8px 10px; background: #fff; border-radius: 10px 10px 0 0; }
.project__browser span { width: 7px; height: 7px; border-radius: 50%; background: #E1E3EA; }
.project__browser span:nth-child(1) { background: #FF6159; } .project__browser span:nth-child(2) { background: #FFBF2F; } .project__browser span:nth-child(3) { background: #2ACB42; }
.project__browser i { margin-inline: auto; font-style: normal; font-size: 11px; color: #5A6378; background: #F1F3F7; padding: 2px 14px; border-radius: 99px; direction: ltr; max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project__desk { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; background: #fff; transition: transform .8s var(--ease-out); transform-origin: top center; }
.project:hover .project__desk { transform: scale(1.03); }
.project__phone {
  position: absolute; inset-inline-start: 14px; bottom: -18px; width: 26%; height: auto; aspect-ratio: 9 / 18; object-fit: cover; object-position: top;
  border-radius: 14px; border: 4px solid #0b1122; background: #fff; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .6);
  transition: transform .7s var(--ease-out);
}
.project:hover .project__phone { transform: translateY(-14px) rotate(-2deg); }
.project__visit { display: inline-flex; align-items: center; gap: 8px; margin-block-start: 18px; font-weight: 500; color: #fff; font-size: 0.9375rem; }
.project__visit .i { width: 16px; height: 16px; transition: transform .3s var(--ease-out); }
.project:hover .project__visit .i { transform: translate(-3px, -3px); }
/* desktop: the pinned work section must fit one screen height */
@media (min-width: 901px) {
  .work__pin { padding-block: clamp(72px, 10vh, 120px) clamp(24px, 4vh, 48px); }
  .work__head { margin-block-end: clamp(18px, 3vh, 40px); }
  .work .section__title { font-size: clamp(2rem, 3.4vw, 3.25rem); }
  .project { width: clamp(320px, 34vw, 470px); }
  .project__shot { aspect-ratio: auto; height: clamp(170px, 27vh, 290px); padding: 18px 18px 0; }
  .project__desk { aspect-ratio: auto; height: calc(100% - 28px); }
  .project__phone { width: 22%; }
  .project__info { padding: 18px 22px 20px; }
  .project h3 { margin-block: 6px 8px; }
  .project p { font-size: 0.9rem; line-height: 1.55; }
  .tags { margin-block-start: 12px; }
  .project__visit { margin-block-start: 12px; }
  .project__feats { gap: 4px 18px; }
  .project__feats li { font-size: 0.84rem; }
  /* featured (LiDim): wider card, features in two columns */
  .project--wide { width: clamp(520px, 52vw, 720px); }
  .project--wide .project__feats { grid-template-columns: 1fr 1fr; }
  .project--wide .project__feats li:last-child { grid-column: 1 / -1; }
  .project--wide .project__desk { object-position: center top; }
}
@media (min-width: 901px) and (max-height: 780px) {
  .project__shot { height: clamp(140px, 22vh, 200px); }
  .work__head .eyebrow { margin-block-end: 8px; }
  .work__pin { padding-block: 64px 20px; }
}

/* static ticker: no faded edges (keeps every word at full contrast) */
.no-motion .marquee__track, html.a11y-still .marquee__track { mask-image: none; -webkit-mask-image: none; flex-wrap: wrap; justify-content: center; }
.no-motion .marquee__row { flex: 1 1 100%; padding-inline: 16px; flex-wrap: wrap; justify-content: center; white-space: normal; row-gap: 8px; }
.no-motion .marquee__pause { display: none; }

.project__feats { display: grid; gap: 7px; margin-block-start: 12px; }
.project__feats li { position: relative; padding-inline-start: 22px; font-size: 0.875rem; color: #DDE3F5; line-height: 1.45; }
.project__feats li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 14px; height: 14px; border-radius: 50%;
  background: rgba(147, 166, 255, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393A6FF' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center / 9px no-repeat;
}
.project__lock { color: var(--muted-dark); font-weight: 400; font-size: 0.8125rem; }

/* =========================================================
   WHATSAPP FAB + SOCIAL
   ========================================================= */
.fab {
  position: fixed; z-index: 90; bottom: 20px; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.fab:hover { transform: translateY(-3px) scale(1.04); }
.fab svg { width: 30px; height: 30px; }
.fab--wa { left: 20px; background: #25D366; color: #fff; }
.fab--wa::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); animation: wa-ping 2.6s infinite; }
@keyframes wa-ping { 70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.fab--a11y { right: 20px; background: var(--accent); color: #fff; border: 2px solid #fff; }

.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-dark); color: #fff; transition: background-color .25s, transform .25s var(--ease-out); }
.socials a:hover { transform: translateY(-2px); }
.socials a.ig:hover { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.socials a.wa:hover { background: #25D366; }
.socials svg { width: 20px; height: 20px; }
/* slide-in animations start off-canvas; never let them widen the page (clip keeps position:sticky working) */
html { overflow-x: clip; }
.section, .contact, .footer, .marquee { overflow-x: clip; }

.footer__mid { display: grid; gap: 10px; justify-items: center; text-align: center; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: center; }
.footer__links a { color: var(--muted-dark); font-size: 0.9375rem; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .25); }
.footer__links a:hover { color: #fff; }
.contact__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.contact__links .link-arrow bdi { direction: ltr; unicode-bidi: isolate; }

/* =========================================================
   ACCESSIBILITY MENU
   ========================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.a11y-panel {
  position: fixed; z-index: 160; right: 20px; bottom: 90px; width: min(340px, calc(100vw - 40px)); max-height: calc(100svh - 120px); overflow: auto;
  background: #fff; color: var(--ink); border-radius: 20px; padding: 18px; box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .5), 0 0 0 1px var(--line);
}
.a11y-panel[hidden] { display: none; }
.a11y-panel__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 14px; }
.a11y-panel__head h2 { font-size: 1.125rem; letter-spacing: 0; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #F1F3F8; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 84px; padding: 10px 8px; border-radius: 14px;
  background: #F4F6FB; color: var(--ink); font-size: 0.875rem; font-weight: 500; text-align: center; line-height: 1.25; box-shadow: inset 0 0 0 1px var(--line);
}
.a11y-opt .i { width: 22px; height: 22px; }
.a11y-opt:hover { background: #E9EDFF; }
.a11y-opt[aria-pressed="true"] { background: var(--navy-700); color: #fff; box-shadow: none; }
.a11y-opt small { font-size: 0.75rem; opacity: .75; }
.a11y-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-block-start: 14px; flex-wrap: wrap; }
.a11y-panel__foot a { color: var(--accent-600); text-decoration: underline; font-weight: 500; font-size: 0.9375rem; }
.a11y-reset { min-height: 40px; padding: 8px 14px; border-radius: 99px; background: #F1F3F8; font-size: 0.875rem; font-weight: 500; }

/* modes */
html.a11y-gray { filter: grayscale(1); }
html.a11y-links a, html.a11y-links button, html.a11y-links summary { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font button, html.a11y-font input, html.a11y-font textarea { font-family: Arial, "Segoe UI", Tahoma, sans-serif !important; letter-spacing: .01em !important; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing summary, html.a11y-spacing .qa__a { line-height: 2 !important; letter-spacing: .06em !important; word-spacing: .16em !important; }
html.a11y-contrast {
  --muted: #1a1a1a; --muted-dark: #ffffff; --accent: #1530C9; --accent-600: #0F24A0; --accent-300: #FFE45C;
  --line: rgba(0, 0, 0, .55); --line-dark: rgba(255, 255, 255, .7);
}
html.a11y-contrast em, html.a11y-contrast em.em-split .w > span { background: none !important; -webkit-text-fill-color: currentColor !important; color: inherit !important; text-decoration: underline; text-decoration-thickness: 3px; }
html.a11y-contrast .hero, html.a11y-contrast .work, html.a11y-contrast .reel, html.a11y-contrast .marquee, html.a11y-contrast .contact, html.a11y-contrast .footer { background: #000 !important; }
html.a11y-contrast .services, html.a11y-contrast .process, html.a11y-contrast .why, html.a11y-contrast .faq { background: #fff !important; }
html.a11y-contrast .hero__glow, html.a11y-contrast .hero__grid, html.a11y-contrast .reel::before { display: none; }
html.a11y-contrast .card, html.a11y-contrast .qa, html.a11y-contrast .why__list li { box-shadow: inset 0 0 0 2px #000; }
html.a11y-contrast .project, html.a11y-contrast .brief { box-shadow: inset 0 0 0 2px #fff; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }

/* marquee pause control (WCAG 2.2.2) */
.marquee__pause { display: inline-flex; align-items: center; gap: 6px; margin-inline-start: 12px; min-height: 32px; padding: 4px 12px; border-radius: 99px; font-size: 0.8125rem; color: var(--muted-dark); box-shadow: inset 0 0 0 1px var(--line-dark); }
.marquee__pause:hover { color: #fff; }
.marquee.is-paused .marquee__row { animation-play-state: paused; }

/* =========================================================
   ACCESSIBILITY STATEMENT PAGE
   ========================================================= */
.doc-top { background: var(--navy-900); color: #fff; padding-block: 16px; }
.doc-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.doc { padding-block: clamp(48px, 7vw, 96px); }
.doc article { max-width: 780px; margin-inline: auto; }
.doc h1 { font-size: clamp(2rem, 4vw, 3rem); margin-block-end: 12px; }
.doc .doc__date { color: var(--muted); margin-block-end: 36px; }
.doc h2 { font-size: 1.375rem; margin-block: 36px 12px; }
.doc p, .doc li { color: #2B3550; line-height: 1.8; }
.doc ul { list-style: disc; padding-inline-start: 1.4em; display: grid; gap: 6px; }
.doc a { color: var(--accent-600); text-decoration: underline; }
.doc .doc__card { background: #fff; border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm), inset 0 0 0 1px var(--line); }
.doc [lang]:not(html)[hidden] { display: none; }

/* avoid flash of un-animated hero before GSAP boots */
.js:not(.is-ready) .hero__copy,
.js:not(.is-ready) .hero__stage,
.js:not(.is-ready) .nav__inner { visibility: hidden; }

/* =========================================================
   HERO STORY — "what we do" animation
   ========================================================= */
.story { aspect-ratio: auto; display: grid; gap: 18px; position: relative; }
.story__canvas { position: relative; aspect-ratio: 1 / .8; transform-style: preserve-3d; will-change: transform; }

/* 1 — chat */
.story__chat { position: absolute; top: 26%; inset-inline: 8%; display: grid; gap: 12px; z-index: 3; }
.bubble { max-width: 82%; padding: 14px 18px; border-radius: 20px; font-size: clamp(.95rem, 1.5vw, 1.15rem); font-weight: 500; line-height: 1.4; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); }
.bubble--in { justify-self: start; background: #fff; color: var(--ink); border-start-start-radius: 6px; min-height: 52px; display: grid; align-items: center; }
.bubble--out { justify-self: end; background: var(--accent); color: #fff; border-start-end-radius: 6px; }
.bubble__typing { display: inline-flex; gap: 5px; grid-area: 1 / 1; }
.bubble__typing i { width: 8px; height: 8px; border-radius: 50%; background: #9AA3B8; animation: typing 1s infinite; }
.bubble__typing i:nth-child(2) { animation-delay: .15s; } .bubble__typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }
.bubble__text { grid-area: 1 / 1; opacity: 0; }
.bubble--in.is-typed .bubble__typing { opacity: 0; }
.bubble--in.is-typed .bubble__text { opacity: 1; transition: opacity .3s; }

/* 2/3 — browser with wireframe → built page */
.story__browser {
  position: absolute; top: 9%; inset-inline-end: 0; width: 90%; border-radius: 14px; overflow: hidden; z-index: 1;
  background: #0E1938; box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, .12);
  transform-origin: left center;
}
.story__bar { display: flex; align-items: center; gap: 5px; padding: 9px 12px; background: rgba(255, 255, 255, .06); border-block-end: 1px solid rgba(255, 255, 255, .08); transition: background-color .6s; }
.story__bar span { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.story__bar i { margin-inline: auto; font-style: normal; font-size: 11px; color: var(--muted-dark); background: rgba(255, 255, 255, .07); padding: 2px 16px; border-radius: 99px; direction: ltr; transition: background-color .6s, color .6s; }
.story__browser.is-built .story__bar { background: #F1EEEA; }
.story__browser.is-built .story__bar span:nth-child(1) { background: #FF6159; }
.story__browser.is-built .story__bar span:nth-child(2) { background: #FFBF2F; }
.story__browser.is-built .story__bar span:nth-child(3) { background: #2ACB42; }
.story__browser.is-built .story__bar i { background: #fff; color: #5A6378; }

.story__page { aspect-ratio: 16 / 10.4; padding: 3.5%; display: grid; grid-template-rows: auto 1fr auto; gap: 5%; background: #0E1938; transition: background-color .7s var(--ease-out); }
.story__browser.is-built .story__page { background: #FFF9F4; }

.wf {
  display: block; border-radius: 6px; border: 1.5px dashed rgba(147, 166, 255, .55); background: rgba(147, 166, 255, .05);
  transition: background .6s var(--ease-out), border-color .6s, box-shadow .6s; transition-delay: var(--d, 0s);
}
.is-built .wf { border-color: transparent; }

.sp-nav { display: flex; align-items: center; gap: 6%; padding: 2.4% 3%; border-radius: 8px; }
.sp-nav i { width: 10%; height: 7px; border-radius: 4px; }
.sp-logo { width: 9%; aspect-ratio: 2.6; border-radius: 5px; margin-inline-end: auto; }
.sp-cta { width: 14%; aspect-ratio: 3.4; border-radius: 99px; }
.sp-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5%; align-items: center; }
.sp-copy { display: grid; gap: 10px; align-content: center; }
.sp-h1 { height: 14px; width: 92%; } .sp-h2 { height: 14px; width: 62%; }
.sp-p { height: 7px; width: 96%; } .sp-p--s { width: 70%; }
.sp-btn { width: 40%; height: 22px; border-radius: 99px; margin-block-start: 6px; }
.sp-img { height: 100%; min-height: 70px; border-radius: 10px; }
.sp-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4%; }
.sp-card { padding: 6%; border-radius: 8px; display: grid; gap: 6px; }
.sp-card i { height: 6px; width: 80%; border-radius: 3px; }
.sp-card .sp-price { width: 40%; }
.sp-thumb { aspect-ratio: 16 / 9; border-radius: 6px; }

/* built palette — a little butcher-shop brand */
.is-built .sp-nav { background: #fff; box-shadow: 0 2px 8px rgba(60, 20, 10, .08); }
.is-built .sp-logo, .is-built .sp-cta, .is-built .sp-btn, .is-built .sp-h2, .is-built .sp-price { background: #C8102E; }
.is-built .sp-nav i, .is-built .sp-card i:not(.sp-price), .is-built .sp-p { background: #E4DCD4; }
.is-built .sp-h1 { background: #1C1917; }
.is-built .sp-btn { box-shadow: 0 8px 16px -6px rgba(200, 16, 46, .6); }
.is-built .sp-img { background: radial-gradient(circle at 70% 30%, rgba(255, 220, 190, .9) 0 8%, transparent 9%), radial-gradient(ellipse at 40% 70%, #A3202B 0 30%, transparent 31%), radial-gradient(ellipse at 62% 58%, #D1495B 0 22%, transparent 23%), linear-gradient(150deg, #5B2A1E, #2A1410); }
.is-built .sp-card { background: #fff; box-shadow: 0 6px 16px -8px rgba(60, 20, 10, .25); }
.is-built .sp-thumb--a { background: radial-gradient(ellipse at 50% 60%, #C0392B 0 34%, transparent 35%), linear-gradient(#F3E7DC, #E8D8C8); }
.is-built .sp-thumb--b { background: radial-gradient(ellipse at 45% 55%, #E8A0A0 0 30%, transparent 31%), radial-gradient(ellipse at 62% 50%, #F1C4B8 0 22%, transparent 23%), linear-gradient(#2B2523, #1A1514); }
.is-built .sp-thumb--c { background: radial-gradient(ellipse at 50% 55%, #8E1B1B 0 32%, transparent 33%), linear-gradient(#6B8E4E, #4F6E37); }

.story__cursor {
  position: absolute; width: 22px; height: 22px; top: 60%; inset-inline-end: 60%; z-index: 4; opacity: 0;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 3l7 17 2.5-7.5L21 10z' fill='%230E1730' stroke='white' stroke-width='1.5' stroke-linejoin='round'/%3E%3C/svg%3E");
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4));
}

/* 4 — phone */
.story__phone {
  position: absolute; bottom: 0; inset-inline-start: 0; width: 27%; aspect-ratio: 9 / 18.5; z-index: 2;
  padding: 7px; border-radius: 26px; background: #0b1122; box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, .2);
}
.story__phone-screen { height: 100%; border-radius: 20px; overflow: hidden; background: #FFF9F4; padding: 10% 7% 7%; display: grid; align-content: start; gap: 6px; }
.story__phone-screen .sp-nav { padding: 6% 7%; }
.story__phone-screen .sp-logo { width: 32%; }
.story__phone-screen .sp-cta { width: 30%; }
.story__phone-screen .sp-img { min-height: 0; aspect-ratio: 4 / 3; }
.story__phone-screen .sp-h1 { height: 9px; }
.story__phone-screen .sp-btn { width: 60%; height: 16px; margin: 2px 0; }
.story__phone-screen .sp-card { padding: 8%; }

/* 5 — launch */
.story__live {
  position: absolute; top: 0; inset-inline-end: 4%; z-index: 5; display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 99px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55);
}
.story__live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ok); animation: ping 1.8s infinite; }
.story__notes { position: absolute; bottom: 4%; inset-inline-end: -3%; z-index: 5; display: grid; gap: 8px; justify-items: end; }
.note {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 14px; border-radius: 14px; white-space: nowrap;
  background: rgba(255, 255, 255, .95); color: var(--ink); font-size: .875rem; font-weight: 500;
  box-shadow: 0 18px 36px -14px rgba(0, 0, 0, .6);
}
.note .i { width: 18px; height: 18px; color: #C8102E; }
.note:nth-child(2) .i { color: var(--accent); } .note:nth-child(3) .i { color: #1FA855; }

/* step indicator */
.story__steps { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 44px; }
.story__steps li { display: inline-flex; align-items: center; gap: 8px; padding: 6px; border-radius: 99px; color: var(--muted-dark); transition: background-color .4s, color .4s, padding .4s; }
.story__steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; font-size: .75rem; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); font-variant-numeric: tabular-nums; transition: background-color .4s, color .4s; }
.story__steps li.is-done b { background: rgba(147, 166, 255, .18); color: #fff; box-shadow: none; }
.story__steps li.is-on { background: rgba(255, 255, 255, .08); color: #fff; padding-inline-end: 16px; }
.story__steps li.is-on b { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgba(67, 97, 238, .25); }
.story__steps li:not(.is-on) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.story__steps li.is-on span { font-size: .95rem; font-weight: 500; }

.story__toggle {
  position: absolute; top: 0; inset-inline-start: 0; z-index: 6; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  color: #fff; background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); opacity: .6; transition: opacity .25s, background-color .25s;
}
.story:hover .story__toggle, .story__toggle:focus-visible { opacity: 1; }
.story__toggle:hover { background: rgba(67, 97, 238, .8); }
.story__toggle .i--play { display: none; }
.story__toggle[aria-pressed="true"] .i--pause { display: none; }
.story__toggle[aria-pressed="true"] .i--play { display: block; }

/* static (reduced motion / no JS): show the finished result */
.story__chat, .story__cursor { opacity: 0; }
html:not(.js) .story__chat, .no-motion .story__chat { display: none; }
.no-motion .story__toggle { display: none; }
.no-motion .story__steps li span, html:not(.js) .story__steps li span { position: static; width: auto; height: auto; clip: auto; }

@media (max-width: 640px) {
  .story__notes { inset-inline-end: 0; }
  .note { font-size: .78rem; padding: 8px 11px; }
  .story__live { font-size: .8rem; }
  .bubble { font-size: .95rem; }
}
