/* ==========================================================
   Mohamed Shahmy — site styles
   One system shared by every page. Tokens first.
   ========================================================== */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque.woff2") format("woff2-variations"), url("fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo.woff2") format("woff2-variations"), url("fonts/archivo.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --display: "Archivo", "Arial Black", Impact, sans-serif;
  --pop-pink: #ff4f8b;   /* playful accents, used only on floating shapes */
  --pop-lilac: #8d7bff;
  --pop-lime: #c8f04a;
  --light: #efece6;      /* light sections */
  --light-ink: #121417;
  --ink: #121417;        /* page background, cool graphite */
  --ink-2: #1a1d22;      /* raised surfaces */
  --ink-3: #23272e;      /* hover / frames */
  --line: #2c3038;       /* rules and borders */
  --paper: #f1eee8;      /* primary text */
  --mute: #9298a1;       /* secondary text */
  --signal: #ff5a1f;     /* the one accent */
  --signal-ink: #1a0b04; /* text on accent */

  --font: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.2rem + 2vw, 2.5rem);
  --step-4: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  --step-5: clamp(3rem, 1.2rem + 7.4vw, 7.25rem);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius-s: 8px;
  --radius-m: 14px;
  --radius-l: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--signal-ink); }

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: var(--gutter); top: -60px; z-index: 100;
  background: var(--signal); color: var(--signal-ink);
  padding: .6rem 1rem; border-radius: var(--radius-s); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ---------- Type ---------- */
.display {
  font-family: var(--display);
  font-size: var(--step-5);
  font-weight: 900;
  font-stretch: 112%;
  line-height: .9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2 {
  font-family: var(--display);
  font-size: var(--step-4);
  font-weight: 850;
  font-stretch: 108%;
  line-height: .98;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.h3 { font-size: var(--step-2); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.lede { font-size: var(--step-1); color: var(--mute); max-width: 38em; line-height: 1.55; }
.lede strong { color: var(--paper); font-weight: 600; }
.muted { color: var(--mute); }
.prose p { max-width: 36em; color: #cfcbc4; }
.prose p + p { margin-top: 1em; }
.prose ul { margin-top: 1em; display: grid; gap: .55em; max-width: 36em; }
.prose li { padding-left: 1.3em; position: relative; color: #cfcbc4; }
.prose li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: .5em; height: 2px; background: var(--signal);
}
.prose h3 { margin-top: 1.6em; margin-bottom: .4em; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .85em 1.35em;
  border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex: none; }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: #ff7442; }
.btn-ghost { border-color: var(--line); color: var(--paper); background: transparent; }
.btn-ghost:hover { border-color: var(--paper); }
.btn:active { transform: translateY(1px); }

.link {
  color: var(--paper); text-decoration: underline;
  text-decoration-color: var(--line); text-underline-offset: .25em; text-decoration-thickness: 1px;
  transition: text-decoration-color .2s;
}
.link:hover { text-decoration-color: var(--signal); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; font-weight: 700; letter-spacing: -0.01em; font-size: 1.0625rem;
}
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--signal); color: var(--signal-ink);
  display: grid; place-items: center;
  font-size: .9rem; font-weight: 800; font-variation-settings: "wdth" 75; letter-spacing: -0.02em;
}
.brand small { display: block; color: var(--mute); font-weight: 450; font-size: .8125rem; line-height: 1.1; }
.nav-links { display: flex; align-items: center; gap: .25rem; }
.nav-links a:not(.btn) {
  text-decoration: none; color: var(--mute); font-weight: 500; font-size: .975rem;
  padding: .5rem .8rem; border-radius: 999px; transition: color .2s, background-color .2s;
}
.nav-links a:not(.btn):hover, .nav-links a[aria-current="page"] { color: var(--paper); }
.nav-links a[aria-current="page"] { background: var(--ink-2); }
.nav-links .btn { margin-left: .5rem; padding: .7em 1.15em; font-size: .95rem; }
.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); color: var(--paper);
  width: 44px; height: 44px; border-radius: 999px; cursor: pointer; place-items: center;
}
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 860px) {
  .nav-toggle { display: grid; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s var(--ease), visibility .2s;
  }
  .nav.is-open .nav-links { opacity: 1; transform: none; visibility: visible; }
  .nav-links a:not(.btn) { padding: .95rem 0; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; color: var(--paper); }
  .nav-links a[aria-current="page"] { background: none; color: var(--signal); }
  .nav-links .btn { margin: 1rem 0 0; justify-content: center; padding: 1em; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.section-tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}
.section-head .lede { margin-top: .9rem; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Hero (home) ---------- */
.hero { padding-top: clamp(3rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.hero-status {
  display: inline-flex; align-items: center; gap: .8rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  color: var(--mute); font-size: .975rem;
}
.hero-status img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: #6bd15a; }
.hero-status b { color: var(--paper); font-weight: 600; }
.pulse {
  display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #35d07f;
  box-shadow: 0 0 0 0 rgba(53, 208, 127, .5); margin-right: .45rem; vertical-align: middle;
  animation: pulse 2.4s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(53, 208, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(53, 208, 127, 0); } }

.hero .display { max-width: 11.5em; }
.hero .display .soft { color: var(--mute); }
.hero-foot {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end;
  margin-top: clamp(2rem, 5vw, 3.25rem);
}
.hero-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 760px) { .hero-foot { grid-template-columns: 1fr; } }

/* One orchestrated load sequence for the hero only */
@media (prefers-reduced-motion: no-preference) {
  .reveal > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
  .reveal > *:nth-child(2) { animation-delay: .08s; }
  .reveal > *:nth-child(3) { animation-delay: .18s; }
  .reveal > *:nth-child(4) { animation-delay: .28s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

/* ---------- Work cards ---------- */
.frame {
  background: var(--ink-3);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -30px rgba(0,0,0,.7);
}
.frame-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding-inline: 12px; background: #2a2e36; }
.frame-bar i { width: 9px; height: 9px; border-radius: 50%; background: #4a4f58; }
.frame-media { aspect-ratio: 16 / 10; overflow: hidden; background: #0d0f12; }
.frame-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }

.work-list { display: grid; gap: clamp(1.25rem, 3vw, 2rem); }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 760px) { .work-grid { grid-template-columns: 1fr; } }

.work {
  display: block; text-decoration: none;
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: clamp(1.1rem, 2.4vw, 1.75rem);
  transition: border-color .25s, background-color .25s;
}
.work:hover { border-color: #3d424b; background: #1d2026; }
.work:hover .frame-media img { transform: scale(1.025); }
.work-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: clamp(1rem, 2.4vw, 1.5rem); }
.work-title { font-size: var(--step-2); font-weight: 600; letter-spacing: -0.015em; line-height: 1.15; }
.work-meta { color: var(--mute); margin-top: .3rem; font-size: .975rem; }
.work-meta b { color: var(--paper); font-weight: 550; }
.work-go {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line);
  transition: background-color .25s, border-color .25s, color .25s;
}
.work-go svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.work:hover .work-go { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }
.work:hover .work-go svg { transform: translate(2px, -2px); }

.work-feature .frame-media { aspect-ratio: 16 / 8.2; }
.work-feature .work-title { font-size: var(--step-3); }
.media-contain img { object-fit: contain; }
.media-top img { object-position: top center; }
.media-pad { padding: clamp(1rem, 3vw, 2.25rem); background: #f3f1ec; }
.media-pad img { object-fit: contain; }

.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.tag {
  font-size: .8125rem; color: var(--mute); padding: .3em .75em;
  border: 1px solid var(--line); border-radius: 999px; line-height: 1.3;
}

/* ---------- Services ---------- */
.services { border-top: 1px solid var(--line); }
.service {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: clamp(1.6rem, 3.5vw, 2.4rem);
  border-bottom: 1px solid var(--line);
}
.service h3 { font-size: var(--step-3); font-weight: 600; font-variation-settings: "wdth" 85; line-height: 1.05; letter-spacing: -0.02em; }
.service p { color: #cfcbc4; max-width: 30em; }
.service ul { display: flex; flex-wrap: wrap; gap: .4rem; align-content: flex-start; }
.service li { font-size: .875rem; color: var(--mute); border: 1px solid var(--line); border-radius: 999px; padding: .3em .8em; }
.service.is-lead h3 { color: var(--signal); }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; gap: .8rem; } }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.about-photo {
  border-radius: var(--radius-l); overflow: hidden; background: #6bd15a;
  aspect-ratio: 4 / 5; position: sticky; top: 100px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 340px; aspect-ratio: 1; }
}

.timeline { margin-top: 2.5rem; border-left: 1px solid var(--line); }
.timeline li { position: relative; padding: 0 0 1.75rem 1.6rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -5px; top: .5em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--ink); border: 2px solid var(--mute);
}
.timeline li.is-now::before { background: var(--signal); border-color: var(--signal); }
.timeline .when { color: var(--mute); font-size: .875rem; }
.timeline h4 { font-size: var(--step-1); font-weight: 600; margin: .1rem 0 .2rem; }
.timeline p { color: #cfcbc4; max-width: 34em; }

.tools { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.25rem; }

/* ---------- Clients ---------- */
.clients {
  display: flex; flex-wrap: wrap; gap: .2em .9em;
  font-size: var(--step-3); font-weight: 600; font-variation-settings: "wdth" 85;
  letter-spacing: -0.02em; line-height: 1.25; color: var(--mute);
}
.clients li:not(:last-child)::after { content: "/"; margin-left: .9em; color: var(--line); }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); }
.contact-big {
  display: inline-block; margin-top: 1.75rem;
  font-size: var(--step-3); font-weight: 600; letter-spacing: -0.02em; line-height: 1.1;
  text-decoration: none; border-bottom: 2px solid var(--signal); padding-bottom: .1em;
  word-break: break-word;
}
.contact-big:hover { color: var(--signal); }
.contact-list { margin-top: 2rem; display: grid; gap: .9rem; }
.contact-list a { text-decoration: none; display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.contact-list a:hover span:last-child { color: var(--paper); }
.contact-list span:last-child { color: var(--mute); transition: color .2s; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.form { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.25rem, 3vw, 2.25rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .9375rem; font-weight: 550; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--paper);
  background: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-s);
  padding: .8rem .9rem; transition: border-color .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.form .btn { justify-content: center; width: 100%; padding: 1em; }
.form-note { font-size: .875rem; color: var(--mute); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding-block: 2.5rem 2rem; color: var(--mute); font-size: .9375rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.social { display: flex; gap: .5rem; }
.social a {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--paper); transition: background-color .2s, border-color .2s, color .2s;
}
.social a:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.social svg { width: 18px; height: 18px; }

/* ---------- Page header (work index, case studies) ---------- */
.page-head { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); }
.page-head .display { font-size: min(clamp(2.75rem, 1.2rem + 6.5vw, 6.25rem), 9.2vw); }
.page-head .lede { margin-top: 1.25rem; }

.back {
  display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--mute);
  font-size: .95rem; margin-bottom: 2rem; transition: color .2s;
}
.back:hover { color: var(--paper); }
.back svg { width: 16px; height: 16px; }

/* ---------- Case study ---------- */
.facts {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem;
  border-top: 1px solid var(--line); padding-top: 1.5rem; margin-top: clamp(2rem, 5vw, 3rem);
}
.facts dt { color: var(--mute); font-size: .875rem; margin-bottom: .25rem; }
.facts dd { font-weight: 500; line-height: 1.4; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }

.cover { margin-top: clamp(1rem, 3vw, 2rem); }
.cover .frame-media { aspect-ratio: 16 / 9; }

.chapter {
  display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr);
  gap: clamp(1.25rem, 5vw, 4.5rem);
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--line);
}
.chapter > h2 { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-weight: 850; font-stretch: 112%; text-transform: uppercase; letter-spacing: -0.015em; line-height: 1.05; }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } }

.results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1rem; }
.result { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem 1.25rem 1.4rem; }
.result strong {
  display: block; font-size: var(--step-4); font-weight: 700; font-variation-settings: "wdth" 78;
  letter-spacing: -0.03em; line-height: 1; color: var(--signal); margin-bottom: .5rem;
}
.result span { color: #cfcbc4; font-size: .95rem; line-height: 1.45; display: block; }

.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.25rem); margin-top: 1.5rem; }
.gallery-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery figure { border-radius: var(--radius-m); overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.gallery figure.wide { grid-column: 1 / -1; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { font-size: .875rem; color: var(--mute); padding: .7rem .9rem; border-top: 1px solid var(--line); }
@media (max-width: 760px) { .gallery, .gallery-3 { grid-template-columns: 1fr; } }

.quote { font-size: var(--step-2); line-height: 1.35; letter-spacing: -0.01em; max-width: 30em; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--mute); }

.next {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  text-decoration: none; padding-block: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line);
}
.next small { display: block; color: var(--mute); font-size: .95rem; margin-bottom: .35rem; }
.next .h2 { transition: color .2s; }
.next:hover .h2 { color: var(--signal); }
.next .work-go { width: 56px; height: 56px; }
.next:hover .work-go { background: var(--signal); border-color: var(--signal); color: var(--signal-ink); }

.note {
  border: 1px dashed #4a4f58; border-radius: var(--radius-m); padding: 1rem 1.2rem; color: var(--mute); font-size: .95rem;
}

/* ---------- Agency page ---------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: clamp(2rem, 5vw, 3rem); }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ==========================================================
   Home v2 — bold, animated layout
   ========================================================== */
.vh { position: relative; overflow: hidden; padding-top: clamp(1.5rem, 4vw, 3rem); }
.vh::before {
  content: ""; position: absolute; left: 50%; top: 55%; width: min(1100px, 120vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 90, 31, .28), rgba(255, 79, 139, .12) 45%, transparent 72%);
  pointer-events: none;
}
.vh-title {
  position: relative; z-index: 1;
  font-family: var(--display); font-weight: 900; font-stretch: 125%;
  font-size: 8.4vw; line-height: .84; letter-spacing: -0.035em;
  text-transform: uppercase; text-align: center; white-space: nowrap;
  background: linear-gradient(180deg, #ffffff 15%, #b9bcc2 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.vh-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 1.5rem;
  margin-top: clamp(-6.5rem, -7vw, -2rem);
}
.vh-intro { padding-top: clamp(4.5rem, 9vw, 9rem); font-size: var(--step-1); line-height: 1.45; max-width: 19em; color: #d6d2cb; }
.vh-intro b { color: var(--paper); font-weight: 600; }
.vh-cta { padding-top: clamp(4.5rem, 9vw, 9rem); justify-self: end; display: grid; gap: .75rem; justify-items: end; }
.vh-avatar {
  width: clamp(260px, 38vw, 540px);
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) rotate(var(--mr, 0deg));
  transition: transform .5s var(--ease);
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .55));
}
.btn-pop {
  background: linear-gradient(100deg, var(--signal), var(--pop-pink));
  color: #fff; padding: 1em 1.6em; font-size: 1.05rem;
  box-shadow: 0 10px 40px -10px rgba(255, 79, 139, .65);
}
.btn-pop:hover { filter: brightness(1.08); }
.vh .pulse-line { color: var(--mute); font-size: .95rem; }
@media (max-width: 860px) {
  .vh-row { grid-template-columns: 1fr; justify-items: center; text-align: center; margin-top: -1.2rem; }
  .vh-avatar { order: -1; width: min(86vw, 420px); }
  .vh-intro, .vh-cta { padding-top: 0; justify-self: center; justify-items: center; }
  .vh-title { font-size: 8.4vw; }
}

.logos {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2.5rem;
  padding-block: clamp(2rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: clamp(1rem, 1.6vw, 1.35rem);
  color: var(--mute); letter-spacing: -0.01em;
}
.logos li { transition: color .2s; }
.logos li:hover { color: var(--paper); }

/* Marquee rows of work */
.marquee { overflow: hidden; padding-block: .5rem; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee + .marquee { margin-top: clamp(.75rem, 1.5vw, 1.25rem); }
.marquee-track { display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem); width: max-content; animation: slide var(--dur, 60s) linear infinite; }
.marquee.is-rev .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee img { height: clamp(150px, 17vw, 250px); width: auto; border-radius: 18px; object-fit: cover; aspect-ratio: 16 / 9; background: var(--ink-2); }
.marquee img.sq { aspect-ratio: 4 / 5; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Big centred section titles that fill in on scroll */
.mega {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(3rem, 10.5vw, 10rem); line-height: .86; letter-spacing: -0.035em; text-align: center;
}
.fill {
  color: transparent; -webkit-text-stroke: 1.5px rgba(241, 238, 232, .35);
  background: linear-gradient(90deg, var(--paper), var(--paper)) no-repeat;
  background-size: calc(var(--p, 0) * 100%) 100%;
  -webkit-background-clip: text; background-clip: text;
}
.panel-light .fill { -webkit-text-stroke-color: rgba(18, 20, 23, .3); background-image: linear-gradient(90deg, var(--light-ink), var(--light-ink)); }

.vabout { position: relative; text-align: center; padding-block: clamp(5rem, 12vw, 10rem); }
.vabout p.big { font-size: clamp(1.25rem, 1rem + 1.2vw, 1.9rem); line-height: 1.4; max-width: 30em; margin: clamp(1.5rem, 4vw, 2.5rem) auto 0; color: #d6d2cb; text-wrap: balance; }
.vabout .stats-inline { display: flex; justify-content: center; gap: clamp(1.5rem, 5vw, 4rem); flex-wrap: wrap; margin-top: clamp(2rem, 5vw, 3rem); }
.stats-inline strong { display: block; font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: var(--step-4); line-height: 1; color: var(--signal); }
.stats-inline span { color: var(--mute); font-size: .95rem; }

/* Glossy floating shapes */
.orb {
  position: absolute; z-index: 0; aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  --c1: var(--signal); --c2: #b8320a;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, .85) 0 5%, rgba(255, 255, 255, 0) 22%),
    radial-gradient(circle at 40% 38%, var(--c1), var(--c2) 78%);
  box-shadow: inset -12px -16px 30px rgba(0, 0, 0, .35), 0 30px 50px -20px rgba(0, 0, 0, .6);
  animation: bob 7s ease-in-out infinite alternate;
}
.orb.pink { --c1: #ff7aa8; --c2: #c2185b; }
.orb.lilac { --c1: #a99bff; --c2: #4b3bc4; }
.orb.lime { --c1: #dcff73; --c2: #7aa312; }
.orb.pill { aspect-ratio: 2.3 / 1; border-radius: 999px; }
.orb.ring {
  background: radial-gradient(circle at 50% 50%, transparent 0 34%, var(--c1) 35% 58%, var(--c2) 70%, transparent 71%);
  box-shadow: none; filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .45));
}
@keyframes bob { from { transform: translateY(-10px) rotate(var(--r, 0deg)); } to { transform: translateY(14px) rotate(calc(var(--r, 0deg) + 12deg)); } }

@media (max-width: 700px) { .orb { display: none; } }

/* Light panel (services, contact) */
.panel-light {
  background: var(--light); color: var(--light-ink);
  border-radius: clamp(22px, 3vw, 44px);
  margin-inline: clamp(6px, 1.2vw, 16px);
  position: relative; overflow: hidden;
}
.panel-light .muted, .panel-light .lede { color: #5c6068; }
.svc { border-top: 1px solid rgba(18, 20, 23, .15); }
.svc li {
  display: grid; grid-template-columns: clamp(4rem, 9vw, 8rem) minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline; padding-block: clamp(1.4rem, 3.4vw, 2.4rem); border-bottom: 1px solid rgba(18, 20, 23, .15);
}
.svc .n { font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: clamp(2.2rem, 5vw, 4.25rem); line-height: .9; letter-spacing: -0.03em; }
.svc h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: clamp(1.15rem, 1rem + .9vw, 1.75rem); text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.05; }
.svc p { color: #4b4f57; max-width: 34em; }
.svc .chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .8rem; }
.svc .chips span { font-size: .8125rem; border: 1px solid rgba(18, 20, 23, .2); border-radius: 999px; padding: .25em .75em; color: #3b3f46; }
@media (max-width: 760px) { .svc li { grid-template-columns: auto minmax(0, 1fr); } .svc li > div:last-child { grid-column: 1 / -1; } }

/* Scroll reveal (one shared, quiet effect) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* Stacking project cards */
.stack { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.stack-card {
  position: sticky; top: calc(88px + var(--i, 0) * 22px);
  background: #171a1f; border: 1px solid #343944; border-radius: clamp(20px, 2.6vw, 34px);
  padding: clamp(1rem, 2.2vw, 1.6rem); text-decoration: none; display: block;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, .8);
  transition: border-color .25s;
}
.stack-card:hover { border-color: #565d6a; }
.stack-head { display: flex; align-items: center; gap: 1rem; padding: .25rem .4rem 1rem; }
.stack-head .n { font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: clamp(1.8rem, 3.4vw, 2.75rem); line-height: 1; letter-spacing: -0.03em; }
.stack-head .who { flex: 1; min-width: 0; }
.stack-head .who b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: clamp(1rem, 1.6vw, 1.25rem); line-height: 1.1; }
.stack-head .who span { color: var(--mute); font-size: .925rem; }
.pill-btn { flex: none; border: 1px solid #4a505c; border-radius: 999px; padding: .55em 1.1em; font-size: .875rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.stack-card:hover .pill-btn { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.stack-body { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(.6rem, 1.4vw, 1rem); }
.stack-body img { width: 100%; height: clamp(220px, 34vw, 460px); object-fit: cover; border-radius: clamp(14px, 1.8vw, 22px); background: #0d0f12; }
.stack-body img.top { object-position: top center; }
.stack-body img.contain { object-fit: contain; background: #fafafa; }
@media (max-width: 700px) {
  .stack-body { grid-template-columns: 1fr; }
  .stack-body img:nth-child(2) { display: none; }
  .stack-head .pill-btn { display: none; }
  .stack-card { top: calc(80px + var(--i, 0) * 12px); }
}

/* Testimonials */
.tcard {
  width: clamp(280px, 30vw, 400px); flex: none; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 24px; padding: 1.4rem 1.5rem; display: grid; gap: 1rem; align-content: space-between;
}
.tcard q { quotes: none; color: #d6d2cb; line-height: 1.5; }
.tcard .who { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.tcard .who b { display: block; font-weight: 600; }
.tcard .who span { color: var(--mute); font-size: .875rem; }
.av { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--signal), var(--pop-pink)); flex: none; }
.av.b { background: linear-gradient(135deg, var(--pop-lilac), #4b3bc4); }
.av.c { background: linear-gradient(135deg, #2bb673, #0f6e45); }

/* Contact on light */
.vcontact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; position: relative; z-index: 1; }
.vcontact .mega { text-align: left; font-size: clamp(3rem, 8vw, 7.5rem); }
.vcontact a.mail { display: inline-block; margin-top: 1.5rem; font-size: var(--step-2); font-weight: 600; color: var(--light-ink); text-decoration: none; border-bottom: 2px solid var(--signal); word-break: break-word; }
.vcontact .quick { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.btn-dark { background: var(--light-ink); color: var(--paper); }
.btn-dark:hover { background: #2a2e35; }
.btn-line-dark { border-color: rgba(18, 20, 23, .25); color: var(--light-ink); }
.btn-line-dark:hover { border-color: var(--light-ink); }
.panel-light .form { background: #fff; border-color: rgba(18, 20, 23, .1); color: var(--light-ink); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .35); }
.panel-light .field input, .panel-light .field select, .panel-light .field textarea { background: #f6f4f0; color: var(--light-ink); border-color: rgba(18, 20, 23, .15); }
.panel-light .form-note { color: #5c6068; }
@media (max-width: 860px) { .vcontact { grid-template-columns: 1fr; } }

/* Big footer */
.bigfoot { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: 2rem; overflow: hidden; }
.bigfoot-cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem 4rem; }
.bigfoot h3 { font-size: .95rem; color: var(--mute); font-weight: 500; margin-bottom: .6rem; }
.bigfoot ul { display: grid; gap: .3rem; }
.bigfoot a { text-decoration: none; }
.bigfoot a:hover { color: var(--signal); }
.bigfoot-name {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: 7vw; line-height: .82; letter-spacing: -0.04em; white-space: nowrap;
  margin-top: clamp(2.5rem, 6vw, 4.5rem); color: var(--paper);
}
.shapes { display: flex; gap: clamp(.4rem, 1vw, .9rem); margin-top: clamp(1.25rem, 3vw, 2rem); flex-wrap: nowrap; }
.shapes span { width: clamp(34px, 6.5vw, 96px); aspect-ratio: 1; flex: none; }
.s-c { border-radius: 50%; background: var(--signal); }
.s-p { border-radius: 999px 999px 0 0; background: var(--pop-pink); }
.s-l { background: var(--pop-lilac); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.s-g { background: var(--pop-lime); border-radius: 30%; }
.s-r { border-radius: 50%; border: clamp(7px, 1.4vw, 18px) solid var(--paper); }
.s-x { background: var(--signal); clip-path: polygon(20% 0, 50% 30%, 80% 0, 100% 20%, 70% 50%, 100% 80%, 80% 100%, 50% 70%, 20% 100%, 0 80%, 30% 50%, 0 20%); }
.bigfoot-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .9rem; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
  .fill { background-size: 100% 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Mini Cart branded cover (used until real images arrive) ---------- */
.mc-cover {
  --mc-maroon: #5c1424; --mc-cream: #f3e7d3;
  background:
    radial-gradient(120% 90% at 85% 10%, rgba(243, 231, 211, .12), transparent 55%),
    linear-gradient(160deg, #6e1a2c, var(--mc-maroon) 60%, #3f0c17);
  color: var(--mc-cream);
  display: grid; align-content: space-between; gap: 1.5rem;
  padding: clamp(1.4rem, 4vw, 3.5rem);
  min-height: clamp(260px, 38vw, 520px);
  border-radius: clamp(14px, 1.8vw, 22px);
  position: relative; overflow: hidden;
}
.mc-cover::after {
  content: ""; position: absolute; right: -8%; bottom: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%;
  border: clamp(14px, 2.4vw, 34px) solid rgba(243, 231, 211, .08);
}
.mc-top { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .95rem; opacity: .8; position: relative; z-index: 1; }
.mc-name {
  font-family: var(--display); font-weight: 900; font-stretch: 125%; text-transform: uppercase;
  font-size: clamp(2.6rem, 9vw, 8.5rem); line-height: .85; letter-spacing: -0.035em; position: relative; z-index: 1;
}
.mc-tag { font-size: clamp(1rem, .8rem + .8vw, 1.5rem); max-width: 26em; position: relative; z-index: 1; }
.mc-chips { display: flex; flex-wrap: wrap; gap: .45rem; position: relative; z-index: 1; }
.mc-chips span { border: 1px solid rgba(243, 231, 211, .35); border-radius: 999px; padding: .35em .9em; font-size: .875rem; }
.stack-body .mc-cover { min-height: clamp(220px, 34vw, 460px); }

.feature-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.feature-list li { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 1.2rem; color: #cfcbc4; line-height: 1.5; }
.feature-list b { display: block; color: var(--paper); font-weight: 600; margin-bottom: .25rem; }
.built { margin-top: 1.25rem; color: var(--mute); font-size: .95rem; }
.built span { color: var(--paper); }
.slogan { font-family: var(--display); font-weight: 850; font-stretch: 112%; text-transform: uppercase; font-size: clamp(1.4rem, 1rem + 1.8vw, 2.5rem); line-height: 1; letter-spacing: -0.02em; color: #e9b9a4; margin-top: 1.5rem; max-width: 18em; }
.gallery-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 760px) { .gallery-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gallery.natural img { height: auto; }
.mc-cover-img { border-radius: clamp(14px, 1.8vw, 22px); overflow: hidden; }
.mc-cover-img img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.gallery.natural { align-items: start; }

/* ---------- v3: SEO helpers, journey, process, FAQ ---------- */
.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; }
.facts { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); max-width: 58rem; margin: clamp(1.25rem, 3vw, 2rem) auto 0; text-align: left; color: #cfcbc4; }
@media (max-width: 760px) { .about-cols { grid-template-columns: 1fr; } }

.tl-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; counter-reset: none; position: relative; }
.tl-steps::before { content: ""; position: absolute; left: 0; right: 0; top: .62rem; height: 1px; background: var(--line); }
.tl-steps li { position: relative; padding-top: 2rem; color: #cfcbc4; font-size: .95rem; line-height: 1.5; }
.tl-steps li::before { content: ""; position: absolute; top: .3rem; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--signal); }
.tl-steps li:last-child::before { background: var(--signal); }
.tl-steps span { display: block; font-family: var(--display); font-weight: 850; font-stretch: 112%; color: var(--signal); font-size: 1.05rem; margin-bottom: .2rem; }
.tl-steps b { display: block; color: var(--paper); font-weight: 600; margin-bottom: .2rem; }
@media (max-width: 860px) {
  .tl-steps { grid-template-columns: 1fr; gap: 1.25rem; padding-left: 1.6rem; }
  .tl-steps::before { left: 5px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .tl-steps li { padding-top: 0; }
  .tl-steps li::before { left: -1.6rem; top: .25rem; }
}

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1rem); }
.steps li { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(1.1rem, 2vw, 1.5rem); display: grid; align-content: start; gap: .5rem; }
.steps .n { font-family: var(--display); font-weight: 900; font-stretch: 120%; font-size: clamp(2rem, 3.4vw, 3rem); line-height: .9; color: var(--signal); letter-spacing: -0.03em; }
.steps h3 { font-family: var(--display); font-weight: 800; font-stretch: 110%; text-transform: uppercase; font-size: 1.05rem; letter-spacing: -0.01em; }
.steps p { color: #cfcbc4; font-size: .95rem; line-height: 1.5; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  padding: 1.2rem 0; font-size: var(--step-1); font-weight: 600; line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute);
  transform: rotate(45deg) translate(-3px, -3px); transition: transform .25s var(--ease), border-color .2s;
}
.faq-item[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); border-color: var(--signal); }
.faq-item summary:hover { color: #fff; }
.faq-item p { color: #cfcbc4; padding: 0 2rem 1.3rem 0; max-width: 40em; }

.bigfoot a.link { text-decoration: underline; text-decoration-color: rgba(241, 238, 232, .5); }
.link { text-decoration-color: rgba(241, 238, 232, .45); }
.panel-light .link { text-decoration-color: rgba(18, 20, 23, .45); }

/* ---------- Reels showcase ---------- */
.reels-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.reels-head .lede { margin-top: .75rem; max-width: 34em; }
.reels {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(220px, 23vw, 290px); gap: clamp(.75rem, 1.6vw, 1.25rem);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
  padding: .25rem var(--gutter) 1rem; margin-inline: calc(var(--gutter) * -1);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
@media (min-width: 1240px) { .reels { grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; overflow: visible; margin-inline: 0; padding-inline: 0; } }
.reel {
  position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden;
  background: #0d0f12; border: 1px solid var(--line); cursor: pointer; padding: 0; color: inherit; font: inherit; text-align: left;
  isolation: isolate; transition: transform .35s var(--ease), border-color .25s;
}
.reel:hover { transform: translateY(-4px); border-color: #4a505c; }
.reel video, .reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); z-index: 1; pointer-events: none; }
.reel-play {
  position: absolute; top: .8rem; right: .8rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(18, 20, 23, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff;
}
.reel-play svg { width: 16px; height: 16px; }
.reel-kind { position: absolute; top: .9rem; left: .9rem; z-index: 2; font-size: .75rem; font-weight: 600; padding: .3em .75em; border-radius: 999px; background: rgba(18, 20, 23, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff; }
.reel-info {
  position: absolute; left: .6rem; right: .6rem; bottom: .6rem; z-index: 2;
  background: rgba(241, 238, 232, .96); color: var(--light-ink); border-radius: 14px; padding: .75rem .85rem .8rem;
}
.reel-info b { display: block; font-weight: 650; line-height: 1.2; font-size: .975rem; }
.reel-info span { display: block; color: #4b4f57; font-size: .8125rem; line-height: 1.35; margin-top: .2rem; }
.reel-stats { display: flex; gap: .8rem; margin-top: .45rem; font-size: .8125rem; font-weight: 650; color: var(--light-ink); }
.reel-stats i { font-style: normal; display: inline-flex; align-items: center; gap: .3rem; }
.reel-stats svg { width: 14px; height: 14px; }

/* Full-screen story viewer */
.story { position: fixed; inset: 0; z-index: 200; background: rgba(8, 9, 11, .94); display: none; place-items: center; }
.story.is-open { display: grid; }
.story-stage { position: relative; height: min(92svh, 860px); aspect-ratio: 9 / 16; max-width: 100vw; border-radius: 18px; overflow: hidden; background: #000; }
.story-stage video { width: 100%; height: 100%; object-fit: cover; }
.story-bars { position: absolute; top: .7rem; left: .7rem; right: .7rem; display: flex; gap: 4px; z-index: 3; }
.story-bars span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.story-bars span i { display: block; height: 100%; width: 0; background: #fff; }
.story-top { position: absolute; top: 1.5rem; left: .9rem; right: .9rem; display: flex; justify-content: space-between; align-items: center; z-index: 3; color: #fff; font-size: .9rem; font-weight: 600; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.story-btns { display: flex; gap: .4rem; }
.story-btn { width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(18, 20, 23, .55); color: #fff; display: grid; place-items: center; cursor: pointer; }
.story-btn svg { width: 18px; height: 18px; }
.story-tap { position: absolute; top: 4.5rem; bottom: 6rem; width: 35%; z-index: 2; background: none; border: 0; cursor: pointer; }
.story-tap.prev { left: 0; } .story-tap.next { right: 0; }
.story-foot { position: absolute; left: .7rem; right: .7rem; bottom: .7rem; z-index: 3; }
.story-foot .reel-info { position: static; display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.story-foot a { flex: none; font-size: .8125rem; font-weight: 650; color: var(--light-ink); text-decoration: none; border: 1px solid rgba(18, 20, 23, .25); border-radius: 999px; padding: .45em .9em; }
.story-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; }
.story-nav.prev { left: max(1rem, calc(50% - min(92svh, 860px) * 9 / 32 - 4rem)); }
.story-nav.next { right: max(1rem, calc(50% - min(92svh, 860px) * 9 / 32 - 4rem)); }
@media (max-width: 700px) { .story-stage { height: 100svh; border-radius: 0; } .story-nav { display: none; } }
@media (max-width: 700px) { .story-stage video { object-fit: contain; } }
/* seamless loops: spacing as margins so -50% lands exactly on a repeat */
.marquee-track { gap: 0; }
.marquee-track img, .marquee-track .tcard { margin-right: clamp(.75rem, 1.5vw, 1.25rem); }
