
:root {
  --bg: #ebe9e4;
  --surface: #f6f5f1;
  --surface-2: #ffffff;
  --ink: #0c0e0d;
  --ink-2: #2a2c2b;
  --mute: #66655f; /* 4.8:1 on the page background (was #6c6b66, 4.4:1) */
  --line: rgba(12, 14, 13, 0.08);
  --line-2: rgba(12, 14, 13, 0.14);

  /* Brand ID */
  --teal: #2ed8c3;
  --cyan: #1fa6d8;
  --deep-teal: #0e7a9a;
  --gold: #f9c22d;
  --orange: #f79a18;
  --deep-orange: #e96a12;
  --grad-brand: linear-gradient(90deg, #096b6d 0%, #0e7a9a 48%, #1fa6d8 100%);
  --grad-teal: linear-gradient(135deg, #2ed8c3 0%, #1fa6d8 100%);
  /* Primary brand accent (buttons, highlights, interactive states) */
  --accent: #096b6d;
  --accent-ink: #ffffff;
  --accent-ring: rgba(9, 107, 109, 0.28);
  --accent-shadow: 0 14px 30px -14px rgba(9, 107, 109, 0.6);

  --panel: #0c0e0f;
  --panel-2: #151817;
  --panel-text: #ecebe6;
  --panel-mute: #8a8c88;
  --glass: rgba(255, 255, 255, 0.66);
  --glass-line: rgba(255, 255, 255, 0.75);
  --shadow: 0 18px 50px -24px rgba(12, 14, 13, 0.28);
  --shadow-lg: 0 40px 90px -40px rgba(12, 14, 13, 0.4);

  --display: "Archivo", system-ui, sans-serif;
  --body: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 44px);
  --section: clamp(96px, 12vw, 180px);
  --r-xl: 34px;
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
  --nav-h: 64px;
}

[data-theme="dark"] {
  --bg: #0b0c0c;
  --surface: #141615;
  --surface-2: #1a1c1b;
  --ink: #ecebe6;
  --ink-2: #c9c8c2;
  --mute: #93948f;
  --line: rgba(236, 235, 230, 0.08);
  --line-2: rgba(236, 235, 230, 0.15);
  --panel: #050606;
  --panel-2: #101211;
  --glass: rgba(26, 28, 27, 0.7);
  --glass-line: rgba(255, 255, 255, 0.08);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, 0.8);
  --grad-brand: linear-gradient(90deg, #096b6d 0%, #1fa6d8 55%, #2ed8c3 100%);
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); color-scheme: light; scroll-behavior: auto; overflow-x: clip; }
[data-theme="dark"] { color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}
img, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(64px, 8vw, 110px) 0; }
.mute { color: var(--mute); }
.nowrap { white-space: nowrap; }

/* ---------------------------------------------------------------- type */
.display, .h1, .h2, .h3 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.065em;
  line-height: 0.98;
  text-wrap: balance;
}
.h1 { font-size: clamp(3rem, 1.2rem + 7vw, 8.2rem); line-height: 0.92; }
.h2 { font-size: clamp(2.25rem, 1rem + 3.6vw, 4.6rem); }
.h3 { font-size: clamp(1.5rem, 1rem + 1.4vw, 2.4rem); letter-spacing: -0.055em; line-height: 1.02; }
.lead { font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem); line-height: 1.6; color: var(--mute); max-width: 56ch; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; font-stretch: 100%; }

.chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.chip--ghost { background: transparent; border: 1px solid var(--line-2); color: var(--ink); }
.pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; color: var(--ink); }

mark, .hl { background: var(--accent); color: var(--accent-ink); padding: 0 0.12em; border-radius: 0.28em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg); --dot-bg: var(--accent); --dot-fg: var(--accent-ink);
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 48px; padding: 0 6px 0 20px; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: 15px; white-space: nowrap; letter-spacing: -0.01em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  isolation: isolate; overflow: hidden;
}
.btn__dot { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dot-bg); color: var(--dot-fg); transition: transform 0.45s var(--ease), background-color 0.3s, color 0.3s; flex: none; }
.btn__dot svg { width: 15px; height: 15px; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--accent-shadow); --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --dot-bg: var(--accent-ink); --dot-fg: var(--accent); border-color: transparent; }
.btn:hover .btn__dot { transform: rotate(45deg); }
.btn--arrow:hover .btn__dot { transform: translateX(3px); }
.btn--accent { --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --dot-bg: var(--accent-ink); --dot-fg: var(--accent); }
.btn--light { --btn-bg: var(--surface-2); --btn-fg: var(--ink); box-shadow: var(--shadow); }
.btn--glass { --btn-bg: rgba(255, 255, 255, 0.12); --btn-fg: #f4f3ef; border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border: 1px solid var(--line-2); }
.btn--sm { height: 40px; padding-left: 16px; font-size: 14px; }
.btn--sm .btn__dot { width: 30px; height: 30px; }
.btn--lg { height: 56px; padding-left: 24px; font-size: 16px; }
.btn--lg .btn__dot { width: 44px; height: 44px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------------------------------------------------------------- nav */
/* At the top of a page the bar is as wide as the page content and see-through. Once the visitor scrolls,
   main.js adds .is-compact: the bar shrinks to a small glass pill in the centre, so the logo slides in from
   the left and the buttons from the right. main.js measures the pill's width into --nav-cw. */
.nav {
  position: fixed; z-index: 90; top: 14px; left: 50%; transform: translateX(-50%);
  width: calc(min(var(--wrap), 100% - var(--gutter) * 2) + 20px); height: var(--nav-h);
  display: flex; align-items: center; gap: 16px; padding: 0 8px 0 10px;
  border-radius: 999px; background: transparent; border: 1px solid transparent;
  backdrop-filter: blur(0px) saturate(1); -webkit-backdrop-filter: blur(0px) saturate(1);
  box-shadow: 0 12px 40px -18px rgba(12, 14, 13, 0);
  transition: width 0.6s var(--ease), background-color 0.45s, border-color 0.45s, box-shadow 0.45s, backdrop-filter 0.45s, -webkit-backdrop-filter 0.45s;
}
.nav.is-compact {
  width: var(--nav-cw, min(1120px, calc(100% - 24px)));
  background: var(--glass); border-color: var(--glass-line);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 40px -18px rgba(12, 14, 13, 0.25);
}
/* Off-screen copy that main.js uses to measure the compact width. */
.nav.nav--measure { visibility: hidden; pointer-events: none; width: max-content !important; left: 0; transform: none; transition: none !important; }
.nav.nav--measure * { transition: none !important; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 11px; overflow: hidden; }
/* "logo BG.png" is a transparent 1:1 canvas with the S at its centre: scale it so the S fills the 40px slot (aspect ratio kept). */
.brand__mark img { width: 100%; height: 100%; object-fit: contain; transform: translateY(0.6px) scale(1.45); filter: drop-shadow(0 1px 2px rgba(12, 14, 13, 0.18)); }
.brand__word { font-family: var(--display); font-weight: 800; font-stretch: 112%; font-size: 15px; letter-spacing: -0.03em; white-space: nowrap; text-transform: uppercase;
  max-width: var(--word-w, 16em); overflow: hidden; padding-right: 2px; }
/* In the compact pill only the logo mark stays (on phones the name stays, as there are no links). */
@media (min-width: 961px) { .nav.is-compact .brand__word { max-width: 0; margin-left: -10px; padding-right: 0; opacity: 0; } }
.nav__links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 14px; border-radius: 999px; font-size: 14.5px; color: var(--ink-2); transition: background-color 0.25s, color 0.25s; }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: rgba(12, 14, 13, 0.05); color: var(--ink); }
[data-theme="dark"] .nav__link:hover { background: rgba(255, 255, 255, 0.06); }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link svg { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.3s; }
.nav__item:hover .nav__link svg { transform: rotate(180deg); }
.nav__right { display: flex; align-items: center; gap: 8px; flex: none; }
/* The home page and some service pages open on a dark hero card. While the bar is see-through over it,
   its text turns light (colours set per element, so the light dropdown panels keep their dark text). */
.brand__word { transition: max-width 0.6s var(--ease), margin 0.6s var(--ease), opacity 0.35s, color 0.35s; }
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .brand__word { color: #f4f3ef; }
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .nav__link { color: rgba(244, 243, 239, 0.8); }
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .nav__link[aria-current="page"],
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .nav__link:hover,
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .nav__item:focus-within > .nav__link { color: #f4f3ef; }
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .nav__link:hover,
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .nav__item:focus-within > .nav__link { background: rgba(255, 255, 255, 0.1); }
body:not(.menu-open):has(main > .hero:first-child) .nav:not(.is-compact) .toggle { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.22); }

.drop {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 6px;
  min-width: 260px; padding: 10px; border-radius: 24px;
  background: var(--surface-2); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transition: opacity 0.25s, translate 0.35s var(--ease), visibility 0.25s;
}
.drop::before { content: ""; position: absolute; inset: -14px 0 auto; height: 14px; }
.nav__item:hover .drop, .nav__item:focus-within .drop { opacity: 1; visibility: visible; translate: -50% 0; }
.drop--mega { width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.drop__link { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; transition: background-color 0.2s; }
.drop__link:hover { background: var(--surface); }
.drop__thumb { width: 46px; height: 46px; border-radius: 12px; overflow: hidden; background: #0b0c0c; flex: none; }
.drop__thumb img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); }
.drop__thumb img.menu-icon { transform: none; object-fit: contain; }
.drop__title { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.2; }
.drop__desc { display: block; font-size: 12.5px; color: var(--mute); line-height: 1.35; margin-top: 2px; }
.drop__foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; margin-top: 6px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.drop__foot a { color: var(--ink); font-weight: 600; }

.toggle { position: relative; width: 56px; height: 32px; border-radius: 999px; background: rgba(12, 14, 13, 0.06); border: 1px solid var(--line-2); flex: none; transition: background-color 0.3s; }
.toggle__knob { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: var(--surface-2); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18); display: grid; place-items: center; transition: transform 0.45s var(--ease); }
.toggle__knob svg { width: 14px; height: 14px; }
.toggle .i-moon { display: none; }
[data-theme="dark"] .toggle { background: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .toggle__knob { transform: translateX(24px); background: #2a2d2c; }
[data-theme="dark"] .toggle .i-sun { display: none; }
[data-theme="dark"] .toggle .i-moon { display: block; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); place-items: center; align-content: center; }
.menu-btn span { display: block; width: 16px; height: 1.6px; background: currentColor; margin: 3px auto; transition: transform 0.35s var(--ease); }
body.menu-open .menu-btn span:first-child { transform: translateY(3.8px) rotate(45deg); }
body.menu-open .menu-btn span:last-child { transform: translateY(-3.8px) rotate(-45deg); }

.mmenu {
  position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 40px) var(--gutter) 32px; background: var(--bg);
  clip-path: inset(0 0 100% 0); transition: clip-path 0.7s var(--ease-io); overflow-y: auto;
}
body.menu-open .mmenu { clip-path: inset(0 0 0 0); }
body.menu-open { overflow: hidden; }
.mmenu__links { display: grid; gap: 2px; }
/* a dot before each link (the current page's dot in the accent colour) */
.mmenu__link { display: flex; align-items: center; gap: 14px; padding: 7px 0; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.05em; font-size: clamp(1.55rem, 7.2vw, 2.5rem); line-height: 1.12; }
.mmenu__link::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--mute); opacity: 0.45; transition: background-color 0.3s, opacity 0.3s; }
.mmenu__link[aria-current="page"]::before, .mmenu__link:hover::before { background: var(--accent); opacity: 1; }
.mmenu__sub { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 6px; }
.mmenu__foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--mute); flex-wrap: wrap; }
.mmenu__contact { display: grid; gap: 4px; flex-basis: 100%; }
.mmenu__contact a { color: var(--ink); font-weight: 500; }

/* ---------------------------------------------------------------- reveal */
.rv { opacity: 0; transform: translateY(28px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; filter: none; }
.words .w { display: inline-block; opacity: 0; filter: blur(12px); transform: translateY(0.25em); transition: opacity 0.9s var(--ease), filter 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: calc(var(--i) * 0.05s + var(--d, 0s)); }
.words.in .w { opacity: 1; filter: none; transform: none; }
/* on screen when the page opens (main.js adds .quick): the same reveal, about twice as fast */
.rv.quick { transition-duration: 0.5s; transition-delay: calc(var(--d, 0s) * 0.5); }
.words.quick .w { transition-duration: 0.5s; transition-delay: calc(var(--i) * 0.025s + var(--d, 0s) * 0.5); }
.no-js .rv, .no-js .words .w { opacity: 1; filter: none; transform: none; }

/* ---------------------------------------------------------------- page heads */
.phead { padding: calc(var(--nav-h) + clamp(80px, 11vw, 150px)) 0 clamp(56px, 7vw, 96px); position: relative; }
.phead__top { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 26px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--mute); }
.crumbs a:hover { color: var(--ink); }
.phead .h1 { max-width: 13ch; }
.phead .lead { margin-top: 28px; }
.phead__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.phead__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 36px; }
.glow-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 96%); mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 96%); }
/* (the glow fades out before the bottom of the header, so it never ends in a hard line) */
.glow-bg::before, .glow-bg::after { content: ""; position: absolute; width: 46vw; height: 46vw; border-radius: 50%; filter: blur(90px); opacity: 0.35; }
.glow-bg::before { right: -10vw; top: -8vw; background: var(--accent); }
.glow-bg::after { right: 14vw; top: 10vw; background: var(--teal); opacity: 0.22; }
[data-theme="dark"] .glow-bg::before { opacity: 0.16; }
[data-theme="dark"] .glow-bg::after { opacity: 0.12; }

.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; margin-bottom: clamp(40px, 5vw, 72px); }
.shead > div { max-width: 820px; }
.shead p.lead { margin-top: 20px; }
.shead--center { flex-direction: column; align-items: center; text-align: center; }
.shead--center > div { display: flex; flex-direction: column; align-items: center; }
.shead__side { max-width: 340px; font-size: 15px; color: var(--mute); }

/* ---------------------------------------------------------------- hero (home) */
.hero { padding: 10px; }
.hero__card {
  position: relative; overflow: hidden; isolation: isolate;
  min-height: calc(100svh - 20px); border-radius: var(--r-xl);
  background: #031315; color: #f4f3ef;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--nav-h) + 60px) clamp(20px, 3.4vw, 44px) clamp(24px, 3.4vw, 44px);
}
.hero__canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__fallback { background: url("../img/brand-bg.jpg") center/cover; }
.hero__canvas { z-index: -1; opacity: 0; transition: opacity 1.4s var(--ease); }
.hero__canvas.on { opacity: 1; }
.hero__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3, 12, 13, 0) 40%, rgba(3, 12, 13, 0.55) 100%); pointer-events: none; }
.hero__title { font-size: clamp(3.1rem, 1rem + 7.6vw, 9rem); line-height: 0.9; max-width: 11.5ch; margin: 26px 0 0; color: #f6f5f1; }
.hero__title .scramble { color: var(--accent-ink); background: var(--accent); padding: 0 0.1em 0.03em; border-radius: 0.12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-top: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.hero__bottom p { max-width: 40ch; color: rgba(244, 243, 239, 0.78); font-size: 17px; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
/* Home hero slides: each slide has a full-bleed background that crossfades in with a slow zoom-out, and
   its own headline + line of text at the bottom left (the buttons stay bottom right). main.js changes
   slides every 5 s, on a left/right swipe and on a horizontal trackpad scroll. */
.hero__card--slides { padding-left: 4vw; padding-right: 4vw; padding-bottom: 6vh; }
.hero__card--slides::after { display: none; }
.hero__media { position: absolute; inset: 0; z-index: -2; background: linear-gradient(135deg, #0b5d5f 0%, #062a2c 55%, #031315 100%); }
.hero__bg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1s ease, transform 0s linear 1s; }
.hero__bg.is-on { opacity: 1; transform: scale(1); transition: opacity 1s ease, transform 7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.hero__bg--empty { background: radial-gradient(120% 90% at 18% 100%, #0e6f71 0%, #073638 45%, #031315 100%); }
/* darker at the left and bottom, where the text sits */
.hero__shade { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(3, 12, 13, 0.82) 0%, rgba(3, 12, 13, 0.5) 42%, rgba(3, 12, 13, 0.14) 78%, rgba(3, 12, 13, 0.05) 100%), linear-gradient(0deg, rgba(3, 12, 13, 0.8) 0%, rgba(3, 12, 13, 0.25) 40%, rgba(3, 12, 13, 0) 65%); }
.hero__slides { display: grid; flex: 0 1 58%; max-width: 58%; }
.hero__slide { grid-area: 1 / 1; align-self: end; visibility: hidden; transition: visibility 0s linear 0.3s; }
.hero__slide.is-on { visibility: visible; transition-delay: 0s; }
.hero__card--slides .hero__title { font-size: clamp(2.3rem, 4.8vw, 4.8rem); line-height: 1; max-width: none; margin: 0; }
.hero__card--slides .hero__bottom { margin-top: 0; }
.hero__card--slides .hero__bottom p.hero__sub { max-width: 48ch; margin-top: 18px; font-size: 17px; line-height: 1.55; color: rgba(244, 243, 239, 0.84); }
/* the old text fades out quickly, then the new headline and line of text rise in (no overlap) */
.hero__slide .hero__title, .hero__slide .hero__sub { opacity: 0; transform: translateY(30px); transition: opacity 0.3s ease, transform 0s linear 0.3s; }
.hero__slide.is-on .hero__title { opacity: 1; transform: none; transition: opacity 0.6s var(--ease) 0.35s, transform 0.75s var(--ease) 0.35s; }
.hero__slide.is-on .hero__sub { opacity: 1; transform: none; transition: opacity 0.6s var(--ease) 0.5s, transform 0.75s var(--ease) 0.5s; }
@media (prefers-reduced-motion: reduce) {
  .nav, .brand__word { transition-duration: 0.01s; }
  .hero__bg, .hero__bg.is-on { transform: none; transition: opacity 1s ease; }
  .hero__slide .hero__title, .hero__slide .hero__sub, .hero__slide.is-on .hero__title, .hero__slide.is-on .hero__sub { transform: none; }
}
@media (max-width: 760px) {
  .hero__card--slides { padding-left: 20px; padding-right: 20px; padding-bottom: 24px; }
  .hero__slides { flex-basis: auto; max-width: 100%; width: 100%; }
  .hero__card--slides .hero__bottom { gap: 22px; }
  .hero__card--slides .hero__bottom p.hero__sub { font-size: 15.5px; margin-top: 14px; }
  .hero__shade { background: linear-gradient(0deg, rgba(3, 12, 13, 0.9) 0%, rgba(3, 12, 13, 0.6) 45%, rgba(3, 12, 13, 0.15) 80%); }
}

/* ---------------------------------------------------------------- marquee */
.marquee { overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(20px, 3vw, 32px); }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.065em; font-size: clamp(2.8rem, 1rem + 6vw, 7rem); line-height: 1.05; white-space: nowrap; }
.marquee__item.o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__star { width: clamp(22px, 2.6vw, 40px); height: auto; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

.tools { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 10px 0 clamp(70px, 9vw, 120px); }
.tools__label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.tools__row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(14px, 2.6vw, 34px); }
.tools__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1.6px solid currentColor; color: #8f8e89; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: -0.03em; transition: color 0.25s, transform 0.35s var(--ease); }
.tools__icon:hover { color: var(--ink); transform: translateY(-4px); }
/* real logos: white tile with a soft border, logo in its brand colour */
.tools__icon--logo { width: 44px; height: 44px; border: 1px solid var(--line-2); background: #fff; box-shadow: 0 6px 14px -10px rgba(12, 14, 13, 0.35); }
.tools__icon--logo svg, .tools__icon--logo img { width: 24px; height: 24px; display: block; object-fit: contain; }
.tools__icon--logo:hover { box-shadow: 0 12px 22px -12px rgba(12, 14, 13, 0.4); }

/* ---------------------------------------------------------------- manifesto */
.manifesto__text { font-family: var(--display); font-weight: 600; font-stretch: 112%; letter-spacing: -0.03em; font-size: clamp(1.35rem, 0.95rem + 1.4vw, 2.25rem); line-height: 1.42; max-width: none; text-wrap: pretty; margin-top: 36px; }
.manifesto__text .mw { opacity: 0.12; filter: blur(5px); transition: opacity 0.4s, filter 0.4s; }
.manifesto__text .mw.on { opacity: 1; filter: none; }
.manifesto__text mark { padding: 0.02em 0.18em 0.06em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ---------------------------------------------------------------- services stack (home) */
.svc-stack { display: grid; gap: 18px; }
.svc {
  position: sticky; top: calc(var(--nav-h) + 34px + var(--i) * 16px);
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(20px, 3vw, 40px);
  min-height: clamp(420px, 56vh, 540px); padding: clamp(20px, 2.4vw, 30px);
  border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line);
  box-shadow: 0 -20px 50px -40px rgba(12, 14, 13, 0.35);
  transform-origin: 50% 0; will-change: transform;
}
.svc__body { display: flex; flex-direction: column; padding: clamp(4px, 1vw, 12px); }
.svc__num { font-family: var(--mono); font-size: 13px; color: var(--mute); }
.svc__title { margin-top: 16px; }
.svc__desc { margin-top: auto; padding-top: 26px; color: var(--mute); max-width: 44ch; }
.svc__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.svc__more { margin-top: 22px; align-self: flex-start; }
.svc__media { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0b0c0c; min-height: 260px; }
.svc__media img, .svc__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__media canvas { opacity: 0; transition: opacity 0.8s; }
.svc__media.has-3d canvas { opacity: 1; }

/* ---------------------------------------------------------------- viral phone scroll */
/* Pinned while you scroll: the videos inside the phone move up one by one with the page scroll
   (main.js). The bottom padding gives the phone's shadow room to fade out before the next section,
   and the pinned frame only clips sideways, so the shadow and glow are never cut off by a hard line. */
.viral { position: relative; height: calc(var(--n, 4) * 45vh + 140vh); padding-bottom: clamp(48px, 9vh, 110px); } /* --n = videos in the phone */
.viral__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow-x: clip; overflow-y: visible; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--nav-h) + clamp(30px, 4.5vh, 56px)); }
.viral__head { text-align: center; position: relative; z-index: 3; padding: 0 var(--gutter); }
.viral__title { font-size: clamp(2.1rem, 1rem + 3.6vw, 4.8rem); line-height: 0.95; }
.viral__swap { position: relative; display: inline-grid; vertical-align: bottom; justify-items: start; transition: width 0.6s var(--ease); }
.viral__swap span { grid-area: 1 / 1; white-space: nowrap; transition: opacity 0.5s var(--ease), transform 0.6s var(--ease), filter 0.5s; }
.viral__swap span:not(.on) { opacity: 0; transform: translateY(40%); filter: blur(8px); }
.viral__swap span.out { transform: translateY(-40%); }
.viral__go { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
.viral__sub { margin-top: 14px; color: var(--mute); font-size: clamp(15px, 1.2vw, 18px); }
.viral__stage { position: relative; flex: 1; width: 100%; max-width: 1100px; margin-top: clamp(18px, 3vh, 34px); }
.viral__glow { position: absolute; left: 50%; top: 52%; width: min(70vw, 640px); aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 216, 195, 0.3), rgba(9, 107, 109, 0.22) 55%, transparent 72%); filter: blur(30px); opacity: var(--glow, 0); pointer-events: none; }
.no-js .viral__glow { opacity: 1; }
/* Sized from the screen height too, so the phone always ends well above the bottom of the frame. */
.phone {
  position: absolute; left: 50%; top: 0; width: clamp(200px, min(22vw, 27vh), 290px); aspect-ratio: 9 / 19.2;
  translate: -50% var(--py, 70%); scale: var(--ps, 0.86);
  border-radius: clamp(36px, 3.6vw, 48px); padding: 9px; background: linear-gradient(145deg, #2b2e2f, #0c0d0d 40%, #1d1f20);
  /* metal edge + three soft layers, lighter and closer than one big dark blur */
  box-shadow: 0 0 0 1.5px #3a3d3e, 0 2px 4px rgba(12, 14, 13, 0.08), 0 18px 36px -12px rgba(12, 14, 13, 0.22), 0 46px 70px -34px rgba(12, 14, 13, 0.36), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  z-index: 2; will-change: translate, scale;
}
.no-js .viral .phone { translate: -50% 0; scale: 1; }
/* soft contact shadow right under the phone, so it sits on the page instead of floating */
.phone::after { content: ""; position: absolute; left: 16%; right: 16%; bottom: -26px; height: 22px; border-radius: 50%; background: radial-gradient(closest-side, rgba(12, 14, 13, 0.3), rgba(12, 14, 13, 0)); filter: blur(5px); pointer-events: none; }
.phone::before { content: ""; position: absolute; left: -3px; top: 22%; width: 3px; height: 9%; border-radius: 3px 0 0 3px; background: #2a2d2e; box-shadow: 0 70px 0 #2a2d2e; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: clamp(28px, 2.9vw, 40px); overflow: hidden; background: #000; isolation: isolate; }
.phone__island { position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 31%; height: 22px; border-radius: 20px; background: #000; z-index: 6; }
/* Videos are stacked in the screen; main.js moves each one up (translate + slight scale and fade)
   in step with the page scroll. A tap on the screen pauses or resumes the video. */
.reel__track { position: absolute; inset: 0; overflow: hidden; cursor: pointer; }
.reel { position: absolute; inset: 0; overflow: hidden; background: #000; will-change: transform, opacity; }
.reel + .reel { transform: translate3d(0, 100%, 0); } /* before the script runs: only the first one shows */
.reel__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, transparent 24%, transparent 58%, rgba(0, 0, 0, 0.72) 100%); pointer-events: none; }
.reel__ui { position: absolute; inset: 0; z-index: 4; color: #fff; pointer-events: none; }
.reel__head { position: absolute; top: 52px; left: 14px; right: 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.reel__cat { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.18); font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35); }
.reel__sound { pointer-events: auto; display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 0; border-radius: 50%; background: rgba(12, 14, 13, 0.38); color: #fff; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background 0.25s; }
.reel__sound:hover { background: rgba(12, 14, 13, 0.6); }
.reel__sound:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.reel__sound svg { width: 16px; height: 16px; }
.reel__sound .reel__sound-on, .reel__sound.is-on .reel__sound-off { display: none; }
.reel__sound.is-on .reel__sound-on { display: block; }
.reel__top { position: absolute; top: 40px; left: 14px; right: 14px; display: flex; gap: 3px; }
.reel__top i { flex: 1; height: 2.5px; border-radius: 2px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.reel__top i b { display: block; height: 100%; width: var(--w, 0%); background: #fff; }
.reel__side { position: absolute; right: 10px; bottom: 90px; display: grid; gap: 14px; justify-items: center; font-size: 10px; font-weight: 600; }
.reel__side svg { width: 22px; height: 22px; }
.reel__side span { display: grid; justify-items: center; gap: 3px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.reel__side b { font-weight: 600; }
.reel__meta { position: absolute; left: 14px; right: 50px; bottom: 22px; font-size: 11.5px; line-height: 1.35; }
.reel__meta b { display: flex; align-items: center; gap: 6px; font-size: 12px; margin-bottom: 4px; }
.reel__meta b img { width: 22px; height: 22px; border-radius: 50%; }
.float { position: absolute; z-index: 3; opacity: var(--fo, 0); translate: var(--fx, 0) var(--fy, 20px); transition: opacity 0.5s var(--ease), translate 0.7s var(--ease); pointer-events: none; }
.no-js .viral .float { opacity: 1; translate: 0 0; }
.f-eye { left: 20%; top: 6%; } .f-heart { right: 20%; top: 4%; } .f-likes { left: 6%; top: 30%; } .f-views { right: 6%; top: 26%; } .f-comment { left: 21%; top: 66%; } .f-share { right: 21%; top: 64%; }
.stat-card { width: max-content; min-width: clamp(150px, 15vw, 210px); padding: 16px 16px 12px; border-radius: 22px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(226, 242, 241, 0.9)); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 30px 60px -28px rgba(12, 14, 13, 0.35); color: #0c0e0d; rotate: var(--rot, 0deg); }
.stat-card { position: relative; }
/* short brand stripe on the top edge */
.stat-card::before { content: ""; position: absolute; top: -1px; left: 18px; width: 38px; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-brand); }
.stat-card__k { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #3c3e3d; }
/* icon in a brand-gradient badge with a soft pulse ring */
.stat-card__ico { position: relative; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 8px 16px -8px rgba(9, 107, 109, 0.7); }
.stat-card__ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid rgba(46, 216, 195, 0.6); animation: stat-pulse 2.6s var(--ease) infinite; }
.stat-card__k .stat-card__ico svg { width: 14px; height: 14px; color: #fff; }
@keyframes stat-pulse { from { transform: scale(0.85); opacity: 0.9; } to { transform: scale(1.45); opacity: 0; } }
.stat-card__v .n-short { display: none; }
.stat-card__v { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.05em; font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat-card svg.spark { width: 100%; height: 44px; margin-top: 6px; color: var(--teal); overflow: visible; }
.icon-tile { display: grid; place-items: center; width: clamp(48px, 4.6vw, 62px); aspect-ratio: 1; border-radius: 18px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 18px 40px -20px rgba(12, 14, 13, 0.35); color: var(--deep-teal); rotate: var(--rot, 0deg); }
.icon-tile svg { width: 46%; height: 46%; }
.icon-tile--accent { background: var(--accent); color: var(--accent-ink); }
.viral__count { position: absolute; left: var(--gutter); bottom: 28px; z-index: 3; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--mute); display: flex; align-items: center; gap: 12px; }
.viral__bar { width: 120px; height: 2px; background: var(--line-2); border-radius: 2px; overflow: hidden; }
.viral__bar b { display: block; height: 100%; width: var(--p, 0%); background: var(--ink); }
[data-theme="dark"] .stat-card { background: linear-gradient(150deg, rgba(34, 37, 36, 0.95), rgba(22, 26, 24, 0.92)); color: #ecebe6; border-color: rgba(255, 255, 255, 0.08); }
[data-theme="dark"] .stat-card__k { color: #b9bab4; }
[data-theme="dark"] .icon-tile:not(.icon-tile--accent) { background: #1e2120; color: var(--teal); }

/* ---------------------------------------------------------------- work grid */
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.4vw, 32px); align-items: start; }
.work-grid > :nth-child(even) { margin-top: clamp(60px, 9vw, 140px); }
.work-grid--flat > :nth-child(even) { margin-top: 0; }
.wcard { display: block; position: relative; }
.wcard__media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--surface); aspect-ratio: var(--ar, 4 / 5); cursor: none; }
.wcard__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.1s var(--ease); }
.wcard:hover .wcard__media img { transform: scale(1.07); }
.wcard__row { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-top: 18px; }
.wcard__title { font-family: var(--display); font-weight: 700; font-stretch: 112%; letter-spacing: -0.055em; font-size: clamp(1.5rem, 1rem + 1.1vw, 2.2rem); line-height: 1.05; }
.wcard__year { font-family: var(--mono); font-size: 12.5px; color: var(--mute); }
.wcard__meta { margin-top: 8px; color: var(--mute); font-size: 15px; }
.wcard.is-hidden { display: none; }
.cursor { position: fixed; z-index: 120; left: 0; top: 0; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; font-size: 13px; font-weight: 600; pointer-events: none; scale: 0; transition: scale 0.35s var(--ease); box-shadow: 0 18px 40px -16px rgba(9, 107, 109, 0.6); }
.cursor.on { scale: 1; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.filter { height: 38px; padding: 0 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 500; transition: background-color 0.25s, color 0.25s; }
.filter:hover { border-color: var(--accent); color: var(--accent); }
.filter.on, .filter.on:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

/* ---------------------------------------------------------------- archive wall */
.archive { overflow: hidden; }
.wall { position: relative; overflow-x: clip; cursor: grab; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.wall.is-drag { cursor: grabbing; }
.wall__track { display: grid; grid-auto-flow: column dense; grid-template-rows: repeat(3, clamp(120px, 15vw, 200px)); grid-auto-columns: clamp(150px, 17vw, 230px); gap: 14px; width: max-content; padding: 0 var(--gutter); will-change: transform; }
.wall__tile { position: relative; border-radius: 18px; overflow: hidden; background: var(--surface); }
.wall__tile.tall { grid-row: span 2; }
.wall__tile.wide { grid-column: span 2; }
.wall__tile img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: transform 0.8s var(--ease); }
.wall__tile:hover img { transform: scale(1.06); }
.wall__label { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(12, 14, 13, 0.55); color: #fff; font-size: 11.5px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.wall__label i { font-style: normal; font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; opacity: 0.75; margin-left: 4px; text-transform: uppercase; }

/* ---------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); min-height: 250px; display: flex; flex-direction: column; }
.stat strong { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.075em; font-size: clamp(2.8rem, 1rem + 3.4vw, 4.6rem); line-height: 0.9; font-variant-numeric: tabular-nums; }
.stat h3 { margin-top: auto; font-family: var(--display); font-weight: 700; font-stretch: 108%; letter-spacing: -0.04em; font-size: 1.2rem; }
.stat p { margin-top: 8px; font-size: 14px; color: var(--mute); line-height: 1.45; }

/* ---------------------------------------------------------------- feed carousel */
/* the side cards dissolve into the background instead of being cut by a straight edge; the box is 40px
   taller (taken back by the negative margin) so the fade never trims the cards' bottom shadow */
.feed { --feed-fade: clamp(48px, 13%, 170px); position: relative; overflow-x: clip; height: calc(clamp(500px, 52vw, 640px) + 40px); margin-bottom: -40px; perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 var(--feed-fade), #000 calc(100% - var(--feed-fade)), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 var(--feed-fade), #000 calc(100% - var(--feed-fade)), transparent 100%); }
.post { position: absolute; left: 50%; top: 0; width: clamp(230px, 24vw, 320px); margin-left: calc(clamp(230px, 24vw, 320px) / -2); border-radius: 22px; background: var(--surface-2); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(12, 14, 13, 0.45); overflow: hidden; transition: transform 0.8s var(--ease), opacity 0.6s, filter 0.6s; cursor: pointer; }
.post__head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.post__head img { width: 30px; height: 30px; border-radius: 50%; }
.post__head > svg { width: 18px; height: 18px; color: var(--mute); flex: none; }
.post__who { flex: 1; line-height: 1.15; }
.post__who b { display: block; font-size: 13px; }
.post__who small { font-size: 11px; color: var(--mute); }
.post__media { position: relative; aspect-ratio: 4 / 5; background: #0b0c0c; overflow: hidden; }
.post__media img, .post__media video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.post__reel { position: absolute; top: 10px; right: 10px; width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55)); }
.post__reel svg { width: 100%; height: 100%; }
/* speaker beside the camera icon: crossed out while the card plays silently, waves while it plays with sound */
.post__sound { position: absolute; top: 10px; right: 44px; width: 26px; height: 26px; color: #fff; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.55)); }
.post__sound svg { width: 100%; height: 100%; }
.post__sound .post__sound-on, .post.is-sound .post__sound .post__sound-off { display: none; }
.post.is-sound .post__sound .post__sound-on { display: block; }
.post--video { cursor: pointer; }
.post--video.is-paused .post__media::after { content: ""; position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 6.5v11l9-5.5-9-5.5Z'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.post__actions { display: flex; gap: 12px; padding: 12px 14px 4px; }
.post__actions svg { width: 21px; height: 21px; }
.post__actions .sp { margin-left: auto; }
.post__body { padding: 0 14px 16px; font-size: 12.5px; line-height: 1.4; }
.post__body b { font-size: 13px; }
.dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.dots button { width: 7px; height: 7px; border-radius: 99px; background: var(--line-2); transition: width 0.4s var(--ease), background-color 0.3s; }
.dots button.on { width: 26px; background: var(--accent); }

.stars { display: inline-flex; gap: 2px; color: var(--orange); }
.stars svg { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- brand strip */
.brands { display: flex; align-items: center; gap: clamp(24px, 4vw, 60px); }
.brands__label { flex: none; font-size: 13px; color: var(--mute); max-width: 130px; line-height: 1.35; }
.brands__viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.brands__track { display: flex; align-items: center; gap: clamp(40px, 6vw, 90px); width: max-content; animation: marquee 30s linear infinite; }
.blogo { width: var(--w, 150px); height: 44px; background: var(--ink); opacity: 0.55; -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; transition: opacity 0.3s; flex: none; }
.blogo:hover { opacity: 1; }

/* ---------------------------------------------------------------- CTA + footer (dark panels) */
.panel { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-xl); background: var(--panel); color: var(--panel-text); }
.cta { padding: 10px; }
.cta__panel { padding: clamp(60px, 9vw, 130px) clamp(20px, 4vw, 60px); display: grid; place-items: center; }
.cta__panel::before, .cta__panel::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); }
.cta__panel::before { width: 46%; aspect-ratio: 1; left: -8%; top: -18%; background: radial-gradient(closest-side, rgba(9, 107, 109, 0.85), transparent); }
.cta__panel::after { width: 44%; aspect-ratio: 1; right: -6%; bottom: -22%; background: radial-gradient(closest-side, rgba(30, 150, 150, 0.7), transparent); }
.cta__box { width: min(760px, 100%); padding: clamp(36px, 5vw, 64px) clamp(20px, 4vw, 56px); border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 28px; }
.cta__box .h2 { color: #f6f5f1; }
.cta__box p { color: var(--panel-mute); max-width: 46ch; }
.ab-cta__contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font-size: 15px; }
.ab-cta__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); transition: color 0.25s; }
.ab-cta__contact a:hover { color: var(--accent); }
.ab-cta__contact .ci { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); flex: none; }
.ab-cta__contact .ci svg { width: 15px; height: 15px; }

.footer { padding: 10px; }
.footer__panel { padding: clamp(40px, 5vw, 64px) clamp(20px, 3.4vw, 44px) 26px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-bottom: clamp(34px, 4vw, 50px); border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.footer__top .h2 { color: #f6f5f1; max-width: 15ch; }
.footer__cols { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr 1.3fr; gap: 28px; padding: clamp(34px, 4vw, 50px) 0 0; }
.footer__col h3 { margin-bottom: 16px; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--panel-mute); }
.footer__col p { color: var(--panel-mute); font-size: 14px; max-width: 30ch; }
.footer__col li + li { margin-top: 9px; }
.footer__col a { font-size: 14.5px; color: #e3e2dc; transition: color 0.2s; }
.footer__col a:hover, .footer__col a[aria-current="page"] { color: #fff; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
/* the big wordmark is sized from the footer's own width (cqi), so the whole word always fits; the side
   padding gives the last letter's overhang (negative letter-spacing) room inside the gradient */
.footer__word { margin-top: clamp(40px, 6vw, 80px); container-type: inline-size; user-select: none; }
.footer__word span { display: block; padding: 0 0.06em; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.075em; font-size: min(10.6rem, 9.3cqi); line-height: 0.82; text-align: center; white-space: nowrap; background: linear-gradient(180deg, #fbfbf8 0%, #b9bab4 40%, #4a4c49 72%, #121413 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 28px; font-size: 13px; color: var(--panel-mute); }
.footer__bottom a:hover { color: #fff; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); color: #e3e2dc; transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.socials a:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 10px 22px -10px rgba(9, 107, 109, 0.8); }
.socials svg { width: 16px; height: 16px; }

/* ---------------------------------------------------------------- services list (services page) */
.srows { border-top: 1px solid var(--line-2); }
.srow { display: grid; grid-template-columns: 60px 1fr minmax(160px, 260px); gap: clamp(16px, 3vw, 40px); align-items: center; padding: clamp(26px, 3vw, 38px) clamp(0px, 1vw, 16px); border-bottom: 1px solid var(--line-2); border-radius: 0; transition: background-color 0.4s var(--ease), border-radius 0.4s, padding 0.4s var(--ease); }
.srow:hover { background: var(--surface-2); border-radius: var(--r-lg); }
.srow__num { font-family: var(--mono); font-size: 13px; color: var(--mute); align-self: start; padding-top: 14px; }
.srow__title { display: flex; align-items: center; gap: 14px; }
.srow__arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: translateX(-10px) rotate(-45deg); transition: opacity 0.3s, transform 0.4s var(--ease); flex: none; }
.srow__arrow svg { width: 16px; height: 16px; }
.srow:hover .srow__arrow { opacity: 1; transform: none; }
.srow p { margin-top: 12px; color: var(--mute); max-width: 56ch; }
.srow__tags { margin-top: 14px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); }
.srow__img { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: #0b0c0c; transform: rotate(-3deg); transition: transform 0.6s var(--ease); box-shadow: var(--shadow); }
.srow:hover .srow__img { transform: rotate(0deg) scale(1.04); }
.srow__img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- generic cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.card { padding: clamp(20px, 2.2vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background-color 0.3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: var(--surface-2); }
.card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.card__icon svg { width: 19px; height: 19px; }
.card__icon--accent { background: var(--accent); color: var(--accent-ink); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.card__n { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.card h3 { margin-top: 44px; font-family: var(--display); font-weight: 700; font-stretch: 110%; letter-spacing: -0.05em; font-size: clamp(1.3rem, 1rem + 0.7vw, 1.75rem); line-height: 1.05; }
.card p { margin-top: 10px; font-size: 14.5px; color: var(--mute); line-height: 1.5; }
.card ul { margin-top: 16px; display: grid; gap: 8px; font-size: 14px; }
.card ul li { display: flex; gap: 8px; align-items: flex-start; }
.card ul li svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--deep-teal); }

/* pricing */
.price { display: flex; flex-direction: column; min-height: 100%; }
.price:hover { transform: none; }
.price__name { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 17px; }
.price__amt { margin-top: 26px; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.07em; font-size: clamp(2.6rem, 1rem + 2.6vw, 3.8rem); line-height: 1; }
.price__amt small { font-family: var(--body); font-size: 13px; letter-spacing: 0; font-weight: 500; color: var(--mute); margin-left: 6px; }
.price > p { margin-top: 16px; }
.price ul { margin: 24px 0 30px; }
.price .btn { margin-top: auto; align-self: flex-start; }
.price--dark { background: var(--panel); color: var(--panel-text); border-color: transparent; position: relative; overflow: hidden; isolation: isolate; }
.price--dark::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -20%; top: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 216, 195, 0.35), transparent); }
.price--dark:hover { background: var(--panel); }
.price--dark p, .price--dark .price__amt small { color: var(--panel-mute); }
.price--dark ul li svg { color: var(--accent); }

/* FAQ */
.faq { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--nav-h) + 50px); }
.faq__intro p { margin-top: 22px; color: var(--mute); font-size: 15px; }
.faq__intro p a { color: var(--ink); border-bottom: 1px solid currentColor; }
.acc { display: grid; gap: 10px; }
.acc__item { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: background-color 0.3s; }
.acc__item[open] { background: var(--surface-2); }
.acc__item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 20px 20px 22px; cursor: pointer; font-family: var(--display); font-weight: 600; font-stretch: 106%; letter-spacing: -0.03em; font-size: clamp(1.02rem, 0.95rem + 0.3vw, 1.18rem); }
.acc__item summary::-webkit-details-marker { display: none; }
.acc__plus { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; flex: none; transition: transform 0.4s var(--ease), background-color 0.3s; }
.acc__item summary:hover .acc__plus { background: var(--accent); color: var(--accent-ink); }
.acc__plus svg { width: 14px; height: 14px; }
.acc__item[open] .acc__plus { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.acc__body { padding: 0 22px 22px; color: var(--mute); font-size: 15px; max-width: 60ch; }

/* process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.step { min-height: 250px; display: flex; flex-direction: column; }
.step h3 { margin-top: 0; padding-top: 56px; }

/* ---------------------------------------------------------------- service detail */
.sd-hero { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 60px); align-items: center; }
.sd-hero .h1 { font-size: clamp(2.8rem, 1rem + 5.2vw, 6.4rem); max-width: 11ch; }
.sd-visual { position: relative; aspect-ratio: 4 / 4.4; border-radius: var(--r-xl); overflow: hidden; background: #0b0c0c; box-shadow: var(--shadow-lg); }
.sd-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); }
/* service photos (assets/img/Service Images) are not zoomed like the 3D renders */
.drop__thumb img.svc-photo, .sd-visual img.svc-photo, .other__img img.svc-photo, .opt__img img.svc-photo { transform: none; }
.formats { display: flex; flex-wrap: wrap; gap: 10px; }
.formats span { padding: 12px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 15px; transition: background-color 0.25s, color 0.25s; }
.formats span:hover { background: var(--accent); color: var(--accent-ink); border-color: transparent; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.others { --cols: 5; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.others > .other { flex: 0 0 calc((100% - (var(--cols) - 1) * 12px) / var(--cols)); min-width: 0; }
.other { display: flex; flex-direction: column; gap: 14px; padding: 12px 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), background-color 0.3s; }
.other:hover { transform: translateY(-5px); background: var(--surface-2); }
.other__img { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: #0b0c0c; }
.other__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.other b { font-family: var(--display); font-weight: 700; font-stretch: 108%; letter-spacing: -0.04em; font-size: 16px; padding: 0 4px; }

/* ---------------------------------------------------------------- media wall + lightbox */
.masonry { columns: 3 260px; column-gap: 16px; }
.masonry figure { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: var(--r-md); overflow: hidden; cursor: zoom-in; background: var(--surface); }
.masonry img { width: 100%; transition: transform 0.9s var(--ease); }
.masonry figure:hover img { transform: scale(1.05); }
.masonry figcaption { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(12, 14, 13, 0.55); color: #fff; font-size: 12px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.masonry figcaption i { font-style: normal; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase; opacity: 0.75; margin-left: 5px; }
.lightbox { position: fixed; inset: 0; z-index: 150; display: grid; place-items: center; padding: 30px; background: rgba(8, 9, 9, 0.9); opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.lightbox.on { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 84vh; border-radius: var(--r-md); object-fit: contain; }
.lightbox__close { position: absolute; top: 20px; right: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.lightbox__close svg { width: 18px; height: 18px; }
.lightbox__cap { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; color: #eee; font-size: 14px; }

/* ---------------------------------------------------------------- about (About reference) */
.ab-hero { padding: calc(var(--nav-h) + clamp(80px, 10vw, 140px)) 0 clamp(40px, 5vw, 64px); }
.ab-hero .h1 { font-family: var(--body); font-weight: 500; font-stretch: 100%; font-size: clamp(3.2rem, 1rem + 6.4vw, 7.4rem); letter-spacing: -0.055em; line-height: 0.95; }
.ab-hero .lead { margin-top: 26px; font-size: clamp(1.1rem, 1rem + 0.45vw, 1.4rem); color: var(--ink-2); opacity: 0.75; }
.proof { display: flex; align-items: center; gap: 14px; margin-top: 30px; }
.avatars { display: flex; }
.avatars img, .avatars span { width: 34px; height: 34px; border-radius: 9px; border: 2px solid var(--bg); object-fit: cover; margin-left: -8px; background: #0c0e0d; }
.avatars > :first-child { margin-left: 0; }
.avatars span { display: grid; place-items: center; overflow: hidden; }
.avatars span img { width: 100%; height: 100%; border: 0; margin: 0; border-radius: 0; }
.proof small { display: block; font-size: 12.5px; color: var(--ink-2); }
.ab-team { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.pcard__img { aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; background: var(--surface); padding: 6px; box-shadow: 0 1px 0 var(--line), var(--shadow); background: var(--surface-2); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; border-radius: calc(var(--r-md) - 6px); transform: scale(1.08); transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.0); }
.pcard h3 { margin-top: 18px; font-family: var(--body); font-weight: 600; font-size: 1.25rem; letter-spacing: 0.01em; text-transform: uppercase; }
.pcard p { margin-top: 4px; color: var(--mute); font-size: 15.5px; }
.mission { position: relative; width: min(720px, 100%); margin: 0 auto; padding: clamp(28px, 4vw, 48px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.mission__badge { position: absolute; top: -28px; right: clamp(20px, 4vw, 44px); width: 64px; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -18px rgba(12, 14, 13, 0.55); rotate: 6deg; }
.mission__badge img { width: 100%; height: 100%; object-fit: cover; }
.mission .h3 { font-family: var(--body); font-weight: 500; font-stretch: 100%; letter-spacing: -0.035em; font-size: clamp(1.9rem, 1rem + 2.4vw, 3rem); line-height: 1.08; margin-top: 18px; }
.mission p { margin-top: 18px; color: var(--mute); max-width: 54ch; }
.mission__sign { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; text-transform: uppercase; font-size: 15px; }
.mission__sign img { width: 30px; height: 30px; border-radius: 8px; }
.chip-soft { display: inline-flex; padding: 5px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line); font-size: 14px; font-weight: 500; }
.awards { width: min(980px, 100%); margin: 0 auto; padding: clamp(14px, 2vw, 22px) clamp(16px, 2.4vw, 28px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.awards table { width: 100%; border-collapse: collapse; }
.awards th { text-align: left; font-weight: 500; font-size: 13px; color: var(--mute); padding: 12px 10px; border-bottom: 1px solid var(--line-2); }
.awards td { padding: 22px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.awards tr:last-child td { border-bottom: 0; }
.awards td:first-child { font-weight: 600; font-size: 16px; width: 34%; }
.awards td:nth-child(2) { color: var(--mute); font-size: 14px; }
.awards th:last-child, .awards td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ab-cta { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; width: min(980px, 100%); margin: 0 auto; }
.ab-cta__card { position: relative; padding: clamp(40px, 6vw, 72px) clamp(20px, 3vw, 40px) clamp(34px, 4vw, 48px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.ab-cta__card .h2 { font-family: var(--body); font-weight: 500; font-stretch: 100%; letter-spacing: -0.04em; font-size: clamp(2rem, 1rem + 2.6vw, 3.2rem); line-height: 1.04; }
.ab-cta__card p { color: var(--mute); max-width: 34ch; }
.ab-cta__badge { position: absolute; top: -30px; left: 50%; translate: -50% 0; width: 64px; height: 64px; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.ab-cta__badge img { width: 100%; height: 100%; object-fit: cover; }
/* About page (2026-12-03): one CTA card, no phone picture beside it */
.ab-cta--solo { grid-template-columns: 1fr; width: min(760px, 100%); }
.ab-cta--solo .ab-cta__card p { max-width: 44ch; }
.ab-h { font-family: var(--body); font-weight: 500; font-stretch: 100%; letter-spacing: -0.045em; }
.proof__line { display: block; font-weight: 600; font-size: 14.5px; color: var(--ink); }
/* facts strip: real policies, not invented results */
.ab-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.ab-fact { padding: clamp(18px, 2vw, 26px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.ab-fact strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.06em; font-size: clamp(2rem, 1.1rem + 2.2vw, 3.1rem); line-height: 1; color: var(--accent); }
[data-theme="dark"] .ab-fact strong { color: #8fd3d1; }
.ab-fact span { display: block; margin-top: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
/* team: empty cards for photos that are on the way */
.face--soon { display: grid; place-items: center; background: linear-gradient(160deg, var(--surface-2), var(--surface)); border: 1px dashed var(--line-2); }
.face__soon { display: grid; justify-items: center; gap: 12px; text-align: center; padding: 20px; }
.face__soon img { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; filter: none; opacity: 0.9; box-shadow: var(--shadow); }
.face--soon:hover img { transform: none; }
.face__soon small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 1000px) {
  .ab-facts { grid-template-columns: repeat(2, 1fr); }
}

/* ---------------------------------------------------------------- team / studio */
.team-hero-img { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 7.4; margin: 0 10px; }
.team-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.team-hero-img .badge { position: absolute; left: clamp(16px, 2.4vw, 30px); bottom: clamp(16px, 2.4vw, 30px); padding: 16px 20px; border-radius: 20px; background: rgba(20, 22, 21, 0.4); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.team-hero-img .badge strong { display: block; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.06em; font-size: 44px; line-height: 1; }
.team-hero-img .badge span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.faces { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.faces--3 { grid-template-columns: repeat(3, 1fr); }
.face { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-md); overflow: hidden; background: #111; }
.face img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: filter 0.6s, transform 1s var(--ease); }
.face:hover img { filter: grayscale(0); transform: scale(1.05); }
.face__label { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 9px 12px; border-radius: 12px; background: rgba(20, 22, 21, 0.45); border: 1px solid rgba(255, 255, 255, 0.15); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
/* team names in capitals, name only (no role), kept small (owner, 2026-12-03) */
.face__label b { display: block; font-size: clamp(11.5px, 0.66rem + 0.22vw, 13.5px); font-weight: 600; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.05em; }
.timeline { border-top: 1px solid var(--line-2); }
.tl { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; padding: clamp(24px, 3vw, 36px) 0; border-bottom: 1px solid var(--line-2); align-items: baseline; }
.tl__year { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.07em; font-size: clamp(2.4rem, 1rem + 3vw, 4rem); line-height: 1; color: var(--ink); opacity: 0.85; }
.tl h3 { font-family: var(--display); font-weight: 700; font-stretch: 110%; letter-spacing: -0.05em; font-size: clamp(1.3rem, 1rem + 0.9vw, 1.9rem); }
.tl p { margin-top: 8px; color: var(--mute); font-size: 15px; }

/* process page */
.pflow { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(30px, 6vw, 100px); align-items: start; }
.pflow__aside { position: sticky; top: calc(var(--nav-h) + 60px); }
.pflow__big { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.08em; font-size: clamp(6rem, 3rem + 10vw, 14rem); line-height: 0.8; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity 0.3s; }
.pflow__label { margin-top: 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.pflow__prog { margin-top: 20px; width: 180px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.pflow__prog b { display: block; height: 100%; width: var(--p, 20%); background: var(--ink); transition: width 0.5s var(--ease); }
.pstep { padding: clamp(28px, 4vw, 48px) 0; border-top: 1px solid var(--line-2); opacity: 0.35; transition: opacity 0.5s; }
.pstep.on { opacity: 1; }
.pstep__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.pstep h3 { margin-top: 18px; }
.pstep > p { margin-top: 14px; color: var(--mute); max-width: 58ch; }
.pstep__list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }

/* ---------------------------------------------------------------- forms */
.contact { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(28px, 5vw, 70px); align-items: start; }
.contact .h1 { font-size: clamp(3.4rem, 1.4rem + 7vw, 8.6rem); }
.contact__lead { margin-top: 28px; }
.ccards { display: grid; gap: 10px; margin-top: 34px; max-width: 440px; }
.ccard { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); transition: background-color 0.3s, transform 0.4s var(--ease); }
.ccard:hover { background: var(--surface-2); transform: translateX(4px); border-color: var(--accent); }
.ccard:hover .ccard__ic { background: var(--ink); color: var(--bg); }
.ccard__ic { width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; transition: background-color 0.3s, color 0.3s; }
.ccard__ic svg { width: 18px; height: 18px; }
.ccard small { display: block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.ccard span { font-weight: 500; font-size: 15.5px; }
.fcard { position: relative; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; }
.fcard::before { content: ""; position: absolute; z-index: -1; width: 70%; aspect-ratio: 1; right: -30%; bottom: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(9, 107, 109, 0.22), rgba(46, 216, 195, 0.14) 60%, transparent); }
.fcard h2 { font-family: var(--display); font-weight: 700; font-stretch: 112%; letter-spacing: -0.055em; font-size: clamp(1.7rem, 1rem + 1.4vw, 2.3rem); margin-bottom: 24px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute); }
.input { width: 100%; height: 48px; padding: 0 14px; border-radius: 13px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 15px; transition: border-color 0.25s, box-shadow 0.25s; appearance: none; -webkit-appearance: none; }
textarea.input { height: 130px; padding: 13px 14px; resize: vertical; }
select.input { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%236c6b66' stroke-width='1.6'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.input.is-invalid { border-color: #d6453d; }
.field__err { font-size: 12.5px; color: #d6453d; min-height: 0; }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--mute); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.form__status { font-size: 14px; }
.form__status.ok { color: #1c8a55; }
.form__status.err { color: #d6453d; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.success { display: none; text-align: center; padding: 30px 10px; }
.success.on { display: block; }
.success__ic { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.success__ic svg { width: 28px; height: 28px; }
.success h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.05em; font-size: 2rem; }
.success p { margin-top: 10px; color: var(--mute); }

/* quote / booking */
.tabs { display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.tabs button { height: 44px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; color: var(--mute); transition: background-color 0.3s, color 0.3s; }
.tabs button:hover { color: var(--accent); }
.tabs button.on, .tabs button.on:hover { background: var(--accent); color: var(--accent-ink); }
.qpanel[hidden] { display: none; }
.stepper { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.stepper span { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }
.stepper span b { width: 24px; height: 24px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--ink); }
.stepper span.on { color: var(--ink); border-color: var(--accent); }
.stepper i { font-style: normal; }
.stepper__short { display: none; }
.stepper span.on b, .stepper span.done b { background: var(--accent); color: var(--accent-ink); }
.qstep[hidden] { display: none; }
.qstep h3 { font-family: var(--display); font-weight: 700; font-stretch: 112%; letter-spacing: -0.05em; font-size: clamp(1.4rem, 1rem + 1vw, 1.9rem); margin-bottom: 18px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.opt { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 10px 10px 14px; border-radius: 18px; background: var(--surface-2); border: 1.5px solid var(--line-2); cursor: pointer; transition: border-color 0.25s, transform 0.3s var(--ease); }
.opt:hover { transform: translateY(-3px); }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt__img { aspect-ratio: 2 / 1; border-radius: 12px; overflow: hidden; background: #0b0c0c; }
.opt__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); }
.opt b { font-size: 14.5px; padding: 0 4px; }
.opt::after { content: ""; position: absolute; top: 18px; right: 18px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, 0.85) center/12px no-repeat; border: 1.5px solid rgba(12, 14, 13, 0.2); }
.opt:hover { border-color: var(--accent); }
.opt:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }
.opt:has(input:checked)::after { background-color: var(--accent); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-5'/%3E%3C/svg%3E"); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); border: 1.5px solid var(--line-2); font-size: 14.5px; font-weight: 500; transition: background-color 0.25s, border-color 0.25s; }
.chips span:hover { border-color: var(--accent); }
.chips input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.qnav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.book { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 16px; }
.book__info { padding: clamp(22px, 3vw, 34px); border-radius: var(--r-xl); background: var(--panel); color: var(--panel-text); position: relative; overflow: hidden; isolation: isolate; }
.book__info::before { content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; left: -30%; bottom: -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(46, 216, 195, 0.35), transparent); }
.book__info h2 { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.055em; font-size: clamp(1.8rem, 1rem + 1.4vw, 2.4rem); line-height: 1.02; color: #f6f5f1; }
.book__info p { margin-top: 12px; color: var(--panel-mute); font-size: 15px; }
.book__info ul { margin-top: 24px; display: grid; gap: 12px; font-size: 14.5px; }
.book__info li { display: flex; gap: 10px; align-items: center; }
.book__info li svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.host { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.host img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; }
.host b { display: block; font-size: 15px; }
.host small { color: var(--panel-mute); font-size: 13px; }
.cal { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18px; }
.cal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal__head b { font-family: var(--display); font-weight: 700; font-stretch: 110%; letter-spacing: -0.04em; font-size: 1.2rem; }
.cal__nav { display: flex; gap: 6px; }
.cal__nav button { width: 36px; height: 36px; border-radius: 50%; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.cal__nav button:not(:disabled):hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.cal__nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.cal__nav svg { width: 14px; height: 14px; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; }
.cal__dow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.06em; color: var(--mute); padding: 6px 0; text-transform: uppercase; }
.cal__day { aspect-ratio: 1; border-radius: 12px; font-size: 14px; font-weight: 500; display: grid; place-items: center; transition: background-color 0.2s; }
.cal__day:not(:disabled):hover { background: var(--surface-2); box-shadow: inset 0 0 0 1.5px var(--accent); }
.cal__day:disabled { color: var(--mute); opacity: 0.4; cursor: default; }
.cal__day.avail { background: var(--surface-2); border: 1px solid var(--line); }
.cal__day.on, .cal__day.on:hover { background: var(--accent); color: var(--accent-ink); }
.cal__day.today { box-shadow: inset 0 0 0 1.5px var(--accent); }
.slots { display: grid; gap: 8px; align-content: start; max-height: 330px; overflow-y: auto; }
.slots__head { font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.slots__empty { font-size: 14px; color: var(--mute); }
.slot { height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface-2); font-weight: 600; font-size: 14px; transition: border-color 0.2s, background-color 0.2s; }
.slot:hover { border-color: var(--accent); color: var(--accent); }
.slot.on, .slot.on:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.tz { margin-top: 14px; font-size: 12.5px; color: var(--mute); }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter) 60px; }
.nf__code { font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.08em; font-size: clamp(7rem, 4rem + 18vw, 20rem); line-height: 0.8; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .footer__cols { grid-template-columns: 1fr 1fr 1fr; }
  .footer__cols > :first-child { grid-column: 1 / -1; }
  .others { --cols: 3; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .drop--mega { width: 560px; }
}
@media (max-width: 960px) {
  .nav__links, .nav__right .btn, .nav__right .toggle { display: none; }
  .nav__right { margin-left: auto; }
  .menu-btn { display: grid; }
  .nav { padding-right: 8px; }
  .svc { grid-template-columns: 1fr; min-height: 0; }
  .svc__media { min-height: 0; width: 100%; aspect-ratio: 16 / 10; order: -1; }
  .svc__desc { margin-top: 0; padding-top: 14px; }
  .sd-hero, .split, .contact, .faq, .pflow, .book, .ab-cta { grid-template-columns: 1fr; }
  .faq__intro, .pflow__aside { position: static; }
  .pflow__big { font-size: clamp(5rem, 22vw, 9rem); }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .faces { grid-template-columns: repeat(2, 1fr); }
  .srow { grid-template-columns: 1fr; gap: 14px; }
  .srow__num { padding-top: 0; }
  .srow__img { order: -1; width: 100%; aspect-ratio: 16 / 10; transform: none; }
  .srow__arrow { opacity: 1; transform: none; }
  .opts { grid-template-columns: repeat(2, 1fr); }
  .cal { grid-template-columns: 1fr; }
  .team-hero-img { aspect-ratio: 4 / 3; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .stat-card { min-width: clamp(132px, 30vw, 180px); padding: 12px 12px 8px; border-radius: 18px; }
  .stat-card svg.spark { height: 30px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .work-grid { grid-template-columns: 1fr; }
  .work-grid > :nth-child(even) { margin-top: 0; }
  .stats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .stat { min-height: 200px; padding: 18px; }
  .stat h3 { font-size: 1.02rem; }
  .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; }
  .step h3 { padding-top: 30px; }
  .fgrid { grid-template-columns: 1fr; }
  .ab-team { grid-template-columns: 1fr 1fr; }
  .ab-team > :last-child { grid-column: 1 / -1; max-width: 50%; justify-self: center; width: 100%; }
  .others { --cols: 2; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .brands { flex-direction: column; align-items: stretch; gap: 18px; }
  .brands__label { max-width: none; text-align: center; }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .awards td:nth-child(2), .awards th:nth-child(2) { display: none; }
  /* phones: the stat cards become slim upright tiles in the space beside the phone, so the video stays clear */
  .viral__stage { --pw: clamp(176px, min(55vw, 29vh), 250px); }
  .phone { width: var(--pw); }
  .float.f-hide-sm { display: none; }
  .f-views { left: 6px; right: auto; top: 6%; } .f-likes { right: 6px; left: auto; top: 50%; } .f-heart { left: 16px; right: auto; top: 64%; }
  .viral .stat-card { width: min(88px, calc((100vw - var(--pw)) / 2 - 14px)); min-width: 0; padding: 14px 6px 8px; border-radius: 20px; display: flex; flex-direction: column; align-items: center; text-align: center; rotate: calc(var(--rot, 0deg) * 0.6); }
  .viral .stat-card::before { left: 50%; translate: -50% 0; width: 30px; }
  .viral .stat-card__k { flex-direction: column; gap: 7px; font-family: var(--mono); font-size: 9.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
  .viral .stat-card__ico { width: 32px; height: 32px; }
  .viral .stat-card__v { font-size: clamp(17px, 5.2vw, 21px); margin-top: 4px; }
  .viral .stat-card__v .n-full { display: none; } .viral .stat-card__v .n-short { display: inline; }
  .viral .stat-card svg.spark { height: 22px; margin-top: 4px; }
  .viral .f-heart .icon-tile { width: 46px; border-radius: 15px; }
  .viral__count { display: none; }
  .phead .h1 { max-width: none; }
  .tabs { width: 100%; }
  .stepper { gap: 6px; }
  .stepper span { height: 32px; gap: 6px; padding: 0 11px 0 5px; font-size: 12.5px; }
  .stepper span b { width: 22px; height: 22px; font-size: 10.5px; }
  .card:not(.step) h3 { margin-top: 28px; }
  .tabs button { flex: 1; padding: 0 10px; }
  .mission__badge { width: 52px; height: 52px; top: -22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .rv, .words .w, .manifesto__text .mw { opacity: 1 !important; filter: none !important; transform: none !important; }
  .stat-card__ico::after { animation: none; opacity: 0; }
}

/* ==========================================================================
   SUB-SERVICE PAGES — three hero layouts, shared sections and interactive modules
   ========================================================================== */
.vplay { display: block; width: 100%; height: 100%; object-fit: cover; background: #0b0c0c; }

/* top bar: back link + breadcrumb */
.sp-top { display: flex; align-items: center; gap: 14px 22px; flex-wrap: wrap; margin-bottom: 26px; }
.sp-back { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink); transition: background-color 0.25s, color 0.25s, transform 0.35s var(--ease); }
.sp-back svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.sp-back:hover { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.sp-back:hover svg { transform: translateX(-3px); }
.sp-top .crumbs { flex-wrap: wrap; row-gap: 2px; }
.sp-top .crumbs > * { white-space: nowrap; }
.sp-top--light .crumbs, .sp-top--light .crumbs a { color: rgba(244, 243, 239, 0.75); }
.sp-top--light .sp-back, .sp-back--light { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.18); color: #f4f3ef; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.sp-back--light { margin-top: -6px; }
.eyebrow { margin-bottom: 14px; }
.sp-eyebrow--light { color: rgba(244, 243, 239, 0.7); }

/* hero: split */
.sp-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 4vw, 64px); align-items: center; }
.sp-split--solo { grid-template-columns: 1fr; }
/* hero without a showreel: one gap to the next section instead of two paddings stacked */
.sp-hero--solo { padding-bottom: clamp(72px, 9vw, 128px); }
.sp-hero--solo + .section { padding-top: 0 !important; }
.sp-title { font-size: clamp(2.6rem, 1rem + 4.6vw, 5.8rem); max-width: 12ch; }
.sp-hero .lead { margin-top: 24px; }
.sp-media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #0b0c0c; }
.sp-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; background: rgba(12, 14, 13, 0.45); border: 1px solid rgba(255, 255, 255, 0.16); color: #fff; font-size: 13px; line-height: 1.25; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sp-chip svg { width: 15px; height: 15px; }
.sp-chip b { display: block; font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.05em; font-size: 22px; }
.sp-chip--a { left: 16px; bottom: 16px; }

/* hero: dark full-bleed video */
.sp-darkhero .hero__card { min-height: min(100svh - 20px, 860px); }
.sp-bgvid { position: absolute; inset: 0; z-index: -2; opacity: 0.85; }
.sp-darkhero .hero__card::after { background: linear-gradient(180deg, rgba(3, 12, 13, 0.55) 0%, rgba(3, 12, 13, 0.25) 40%, rgba(3, 12, 13, 0.85) 100%); }
.sp-dark__in { width: 100%; }
.sp-dark__title { font-size: clamp(2.8rem, 1rem + 6vw, 7.4rem); max-width: 13ch; }

/* hero: editorial */
.sp-ed__title { font-size: clamp(2.8rem, 1rem + 6.4vw, 8rem); max-width: 14ch; }
.phead .h1.sp-ed__title--compact { font-size: clamp(2.3rem, 1rem + 3.6vw, 4.6rem); max-width: 24ch; }
.sp-ed__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.sp-ed__row .phead__actions { margin-top: 0; }
.sp-ed__media { position: relative; margin-top: clamp(36px, 5vw, 64px); aspect-ratio: 16 / 7; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); background: #0b0c0c; }

/* what's included */
.sp-points { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.sp-points__intro .lead { margin-top: 20px; }
.sp-points__img { margin-top: 30px; aspect-ratio: 4 / 3; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.sp-points__img img { width: 100%; height: 100%; object-fit: cover; }
.sp-points__list { display: grid; gap: 10px; }
.sp-points__list li { display: grid; grid-template-columns: 42px 1fr 22px; gap: 14px; align-items: center; padding: 20px 22px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s; }
.sp-points__list li:hover { transform: translateX(6px); background: var(--surface-2); border-color: var(--accent); }
.sp-points__list span { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.sp-points__list p { font-family: var(--display); font-weight: 600; font-stretch: 106%; letter-spacing: -0.03em; font-size: clamp(1.02rem, 0.95rem + 0.35vw, 1.22rem); line-height: 1.25; }
.sp-points__list svg { width: 22px; height: 22px; color: var(--accent); }

/* video showcase */
.sp-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #0b0c0c; min-height: 160px; }
.sp-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sp-tiles .sp-tile { aspect-ratio: 4 / 5; }

/* portfolio examples */

/* process timeline */
.sp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: s; position: relative; }
.sp-steps li { position: relative; padding: 26px 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.sp-steps li::after { content: ""; position: absolute; top: 44px; right: -15px; width: 16px; height: 2px; background: var(--accent); opacity: 0.5; }
.sp-steps li:last-child::after { display: none; }
.sp-steps__n { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: 12px; font-weight: 600; }
.sp-steps h3 { margin-top: 30px; font-family: var(--display); font-weight: 700; font-stretch: 110%; letter-spacing: -0.05em; font-size: 1.35rem; }
.sp-steps p { margin-top: 8px; font-size: 14.5px; color: var(--mute); }

/* related sub-services */
.sp-related { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.sp-rel { display: flex; flex-direction: column; gap: 22px; padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); position: relative; transition: transform 0.4s var(--ease), background-color 0.3s, border-color 0.3s; }
.sp-rel:hover { transform: translateY(-5px); background: var(--surface-2); border-color: var(--accent); }
.sp-rel b { font-family: var(--display); font-weight: 700; font-stretch: 108%; letter-spacing: -0.04em; font-size: 1.05rem; line-height: 1.15; padding-right: 26px; }
.sp-rel__go { position: absolute; right: 16px; bottom: 16px; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; opacity: 0; transform: translateX(-6px); transition: opacity 0.3s, transform 0.4s var(--ease); }
.sp-rel__go svg { width: 14px; height: 14px; }
.sp-rel:hover .sp-rel__go { opacity: 1; transform: none; }

/* clickable feature cards on service pages + home service cards */
.card--link { display: flex; flex-direction: column; color: inherit; cursor: pointer; }
.card--link:hover { border-color: var(--accent); }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 22px; font-weight: 600; font-size: 14px; color: var(--accent); }
.card__more svg { width: 16px; height: 16px; transition: transform 0.35s var(--ease); }
.card--link:hover .card__more svg { transform: translateX(4px); }
[data-theme="dark"] .card__more { color: #8fd3d1; }
.svc__link { color: inherit; }
.svc__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.svc__more, .svc__media { position: relative; z-index: 2; }

/* ---------- module: phones */
.mphone { width: clamp(150px, 20vw, 250px); aspect-ratio: 9 / 19; padding: 7px; border-radius: clamp(26px, 3vw, 38px); background: linear-gradient(145deg, #2b2e2f, #0c0d0d 40%, #1d1f20); box-shadow: 0 0 0 1.5px #3a3d3e, 0 40px 70px -30px rgba(12, 14, 13, 0.5); }
.mphone__screen { position: relative; width: 100%; height: 100%; border-radius: clamp(20px, 2.4vw, 31px); overflow: hidden; background: #000; }
.m-kin__words em { font-style: normal; background: var(--accent); padding: 0 0.12em; border-radius: 0.16em; }
.mphone__ui { position: absolute; right: 8px; bottom: 60px; display: grid; gap: 12px; color: #fff; }
.mphone__ui svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
.mphone__who { position: absolute; left: 10px; bottom: 14px; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 11px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }
.mphone__who img { width: 20px; height: 20px; border-radius: 50%; }

/* Reels by category (short-form reels page): one phone row per category, same phone mockup.
   Desktop shows all 4; narrower screens scroll sideways (drag, trackpad, swipe or arrow keys). */
.reel-cats { display: grid; gap: clamp(44px, 5.5vw, 72px); }
.reel-cat__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.reel-cat__title { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; line-height: 1.02; font-size: clamp(22px, 2.3vw, 30px); color: var(--ink); }
.reel-cat__sub { margin-top: 6px; max-width: 58ch; font-size: 15px; color: var(--mute); }
/* The track scrolls sideways, so it clips whatever is outside its padding box: its padding is big
   enough for the full shadow (sides up to the page gutter, 88px below), and matching negative
   margins keep the row exactly where it was (net +24px below, as before). */
.reel-cat__track { --gap: clamp(12px, 1.6vw, 24px); --bleed: var(--gutter); display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--bleed); overscroll-behavior-x: contain; scrollbar-width: none; padding: 30px var(--bleed) 88px; margin: -30px calc(-1 * var(--bleed)) -64px; }
.reel-cat__track::-webkit-scrollbar { display: none; }
/* Mouse drag to scroll (subpages.js). Rows that have more to show get a grab cursor; while a drag or
   its glide runs, snapping is paused so the row follows the hand, then it settles on a card. */
.reel-cat__track { -webkit-user-select: none; user-select: none; }
.reel-cat__track img, .reel-cat__track video { -webkit-user-drag: none; }
@media (hover: hover) and (pointer: fine) {
  .reel-cat:not([data-fits]) .reel-cat__track, .reel-cat:not([data-fits]) .reel-cat__track .reel-hit { cursor: grab; }
}
.reel-cat__track.is-free { scroll-snap-type: none; }
.reel-cat__track.is-grabbing, .reel-cat__track.is-grabbing * { cursor: grabbing !important; }
/* Soft edges: the row reaches the window edges (subpages.js sets --bleed to the page margin, so the
   cards stay in the content column), and fades to transparent across that margin on both sides.
   The next card peeks in and dissolves into the background instead of being cut off by a hard line;
   cards resting in the column are never faded. */
.reel-cat__track {
  --fade: var(--bleed);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) calc(var(--fade) * 0.3), rgba(0, 0, 0, 0.62) calc(var(--fade) * 0.65), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0, 0, 0, 0.62) calc(100% - var(--fade) * 0.65), rgba(0, 0, 0, 0.18) calc(100% - var(--fade) * 0.3), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) calc(var(--fade) * 0.3), rgba(0, 0, 0, 0.62) calc(var(--fade) * 0.65), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0, 0, 0, 0.62) calc(100% - var(--fade) * 0.65), rgba(0, 0, 0, 0.18) calc(100% - var(--fade) * 0.3), transparent 100%);
}
/* (inside the edge, so the soft-edge mask doesn't hide the keyboard focus ring) */
.reel-cat__track:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: -2px; border-radius: var(--r-lg); }
/* Scroll position, where the arrows used to be: a slim line whose bright part shows how much of the
   row is in view and where. Only on rows that have more to see. */
.reel-cat__scroll { --thumb: 30%; --p: 0; position: relative; flex: none; width: 88px; height: 3px; margin-bottom: 9px; border-radius: 3px; background: var(--line); overflow: hidden; }
.reel-cat__scroll b { position: absolute; top: 0; bottom: 0; left: calc(var(--p) * (100% - var(--thumb))); width: var(--thumb); border-radius: inherit; background: var(--accent); }
.reel-cat[data-fits] .reel-cat__scroll { display: none; }
/* Click-for-next rows (Recent work, website showcase; subpages.js): the cards show a pointer, since a
   click brings the next one to the front. */
@media (hover: hover) and (pointer: fine) {
  .reel-cat[data-click-next]:not([data-fits]) .reel-cat__track .reel-phone { cursor: pointer; }
}
/* Sound pill on Recent work videos (subpages.js): "Click for sound" while silent; a round teal
   speaker while the sound is on. Clicking it never moves the row. */
.card-sound { position: absolute; top: 12px; right: 12px; z-index: 3; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; min-width: 32px; padding: 0 12px 0 9px; border: 0; border-radius: 999px; background: rgba(12, 14, 13, 0.58); color: #fff; font: inherit; font-size: 12px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color 0.25s, transform 0.3s var(--ease); }
.card-sound svg { width: 16px; height: 16px; flex: none; }
.card-sound:hover { background: rgba(12, 14, 13, 0.78); transform: scale(1.04); }
.card-sound:focus-visible { outline: 2px solid var(--accent-ring); outline-offset: 2px; }
.card-sound .card-sound__on { display: none; }
.card-sound.is-on { padding: 0; width: 32px; background: var(--accent); }
.card-sound.is-on:hover { background: var(--accent); }
.card-sound.is-on .card-sound__on { display: block; }
.card-sound.is-on .card-sound__off, .card-sound.is-on .card-sound__txt { display: none; }
.reel-cat__track .reel-phone, .wshow__track .reel-phone {
  flex: 0 0 calc((100% - 3 * var(--gap)) / 4); width: auto; aspect-ratio: auto; transform: none; scroll-snap-align: start;
  position: relative; isolation: isolate;
  /* bezel edge + three soft, warm layers (no single dark blob) */
  box-shadow: 0 0 0 1.5px #3a3d3e, 0 1px 2px rgba(38, 32, 22, 0.06), 0 8px 16px -4px rgba(38, 32, 22, 0.10), 0 24px 40px -12px rgba(38, 32, 22, 0.18);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
}
/* contact shadow: a small warm ellipse right under the bottom edge, part of the phone (no own transform) */
.reel-cat__track .reel-phone::after, .wshow__track .reel-phone::after {
  content: ""; position: absolute; z-index: -1; left: 11%; right: 11%; bottom: -12px; height: 14px; border-radius: 50%;
  background: rgba(52, 44, 30, 0.28); filter: blur(7px); pointer-events: none;
  transition: opacity 0.6s var(--ease), filter 0.6s var(--ease);
}
.reel-phone .mphone__screen { height: auto; aspect-ratio: 9 / 16; }
/* Lift: the playing phone (any device) and the hovered one (mouse only, so a tap doesn't leave a
   phone stuck "hovered" on touch screens). The shadows sit on the phone, so they lift with it. */
.reel-cat__track .reel-phone.is-playing {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 0 0 1.5px #3a3d3e, 0 2px 4px rgba(38, 32, 22, 0.05), 0 14px 24px -6px rgba(38, 32, 22, 0.10), 0 32px 52px -14px rgba(38, 32, 22, 0.16);
}
.reel-cat__track .reel-phone.is-playing::after { opacity: 0.7; filter: blur(9px); }
@media (hover: hover) and (pointer: fine) {
  .reel-cat__track .reel-phone:hover, .wshow__track .reel-phone:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 0 1.5px #3a3d3e, 0 2px 4px rgba(38, 32, 22, 0.05), 0 14px 24px -6px rgba(38, 32, 22, 0.10), 0 32px 52px -14px rgba(38, 32, 22, 0.16);
  }
  .reel-cat__track .reel-phone:hover::after, .wshow__track .reel-phone:hover::after { opacity: 0.7; filter: blur(9px); }
}
/* the whole screen is the play control (a real button, so keyboards can use it too) */
.reel-hit { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: transparent; cursor: pointer; border-radius: inherit; }
.reel-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; }
/* speaker toggle, same white stroke icons as heart / comment / share */
.reel-mute { position: absolute; top: 10px; right: 10px; z-index: 3; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(12, 14, 13, 0.32); color: #fff; cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s, background 0.25s; }
.reel-mute svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)); }
.reel-mute:hover { background: rgba(12, 14, 13, 0.55); }
.reel-mute:focus-visible { opacity: 1; outline: 2px solid var(--accent); outline-offset: 2px; }
.reel-mute .reel-mute__off, .reel-mute.is-muted .reel-mute__on { display: none; }
.reel-mute.is-muted .reel-mute__off { display: block; }
.reel-phone.is-playing .reel-mute { opacity: 1; }
@media (hover: hover) and (pointer: fine) { .reel-phone:hover .reel-mute { opacity: 1; } }
@media (hover: none) { .reel-mute { opacity: 1; } }
/* "Click for sound" while the browser still blocks audio */
.reel-badge { position: absolute; top: 12px; left: 10px; z-index: 3; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px 6px 8px; border-radius: 999px; background: rgba(12, 14, 13, 0.62); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; pointer-events: none; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.reel-badge[hidden] { display: none; }
.reel-badge svg { width: 14px; height: 14px; }
/* thin progress bar along the bottom of the screen while playing */
.reel-progress { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 3px; background: rgba(255, 255, 255, 0.22); opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.reel-progress b { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.reel-phone.is-playing .reel-progress { opacity: 1; }

/* Long-form films (YouTube long-form page): 16:9 cards in the same rows, with the same frame look,
   shadows, lift and hover/tap behaviour as the reels. About two per view on desktop; drag for more. */
.reel-cat__track--wide .reel-phone.lf-card, .wshow__track .reel-phone.lf-card { flex-basis: calc((100% - var(--gap)) / 2.15); padding: 6px; border-radius: 22px; background: linear-gradient(145deg, #2b2e2f, #0c0d0d 40%, #1d1f20); }
.lf-card__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: #000; }
.lf-card__brand { position: absolute; left: 12px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 6px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); pointer-events: none; }
.lf-card__brand img { width: 20px; height: 20px; border-radius: 50%; }
/* Website showcase cards: the long-form frame with a site screenshot inside. Hovering scrolls slowly
   down a full-page screenshot (--scroll is set per card from its height) and back up on leave. */
.web-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; transition: object-position 0.9s var(--ease); -webkit-user-drag: none; user-select: none; }
@media (hover: hover) and (pointer: fine) {
  .web-card:hover .web-card__img { object-position: 50% 100%; transition: object-position var(--scroll, 6s) linear; }
  .reel-cat__track.is-free .web-card:hover .web-card__img { object-position: 50% 0; transition-duration: 0.9s; }
}
@media (prefers-reduced-motion: reduce) { .web-card__img, .web-card:hover .web-card__img { transition: none; object-position: 50% 0; } }
.web-card .lf-card__brand { max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Home website showcase: two endless rows moving in opposite directions (no pause), full width with
   the same soft edges as the showcase rows: the fade covers the page margin on each side. Cards are the
   long-form size (2.15 per content width on desktop, 1.4 on tablets, 88% on phones). */
.wshow {
  --gap: clamp(12px, 1.6vw, 24px);
  --col: min(var(--wrap), 100vw - 2 * var(--gutter));
  --wc-w: calc((var(--col) - var(--gap)) / 2.15);
  --fade: max(var(--gutter), (100vw - var(--wrap)) / 2);
  display: grid; gap: clamp(4px, 0.8vw, 12px); overflow: hidden; padding: 30px 0 58px; margin: -30px 0 -40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) calc(var(--fade) * 0.3), rgba(0, 0, 0, 0.62) calc(var(--fade) * 0.65), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0, 0, 0, 0.62) calc(100% - var(--fade) * 0.65), rgba(0, 0, 0, 0.18) calc(100% - var(--fade) * 0.3), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, 0.18) calc(var(--fade) * 0.3), rgba(0, 0, 0, 0.62) calc(var(--fade) * 0.65), #000 var(--fade), #000 calc(100% - var(--fade)), rgba(0, 0, 0, 0.62) calc(100% - var(--fade) * 0.65), rgba(0, 0, 0, 0.18) calc(100% - var(--fade) * 0.3), transparent 100%);
}
.wshow__row { padding: 10px 0 18px; }
.wshow__track { display: flex; gap: var(--gap); width: max-content; animation: wshow-left var(--dur, 70s) linear infinite; will-change: transform; }
.wshow__row[data-dir="right"] .wshow__track { animation-name: wshow-right; }
.wshow__track .reel-phone.lf-card { flex: 0 0 var(--wc-w); scroll-snap-align: none; }
.wshow__track img { -webkit-user-drag: none; }
.wshow--design { --dc-h: calc((var(--wc-w) - 12px) * 9 / 16); }
.wshow__track .reel-phone.lf-card.design-card { flex: 0 0 auto; width: calc(var(--dc-h) * var(--ar, 1) + 12px); }
.design-card .lf-card__screen { aspect-ratio: var(--ar, 1); }
.design-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
/* draggable "Recent work." rows on sub-pages: same card height as a long-form card, width from the item */
.reel-cat--recent { container-type: inline-size; }
.reel-cat--recent .reel-cat__track { --dc-h: calc(((100cqi - var(--gap)) / 2.15 - 12px) * 9 / 16); }
.reel-cat__track .reel-phone.lf-card.design-card { flex: 0 0 auto; width: calc(var(--dc-h) * var(--ar, 1.778) + 12px); }
@media (max-width: 1024px) { .reel-cat--recent .reel-cat__track { --dc-h: calc(((100cqi - var(--gap)) / 1.4 - 12px) * 9 / 16); } }
@media (max-width: 640px) { .reel-cat--recent .reel-cat__track { --dc-h: calc((100cqi * 0.88 - 10px) * 9 / 16); } }
.design-card .lf-card__brand { max-width: calc(100% - 24px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes wshow-left { from { transform: translateX(0); } to { transform: translateX(calc(-50% - var(--gap) / 2)); } }
@keyframes wshow-right { from { transform: translateX(calc(-50% - var(--gap) / 2)); } to { transform: translateX(0); } }
@media (max-width: 1024px) { .wshow { --wc-w: calc((var(--col) - var(--gap)) / 1.4); } }
@media (max-width: 640px) {
  .wshow { --wc-w: calc(var(--col) * 0.88); }
  .wshow__track .reel-phone.lf-card { padding: 5px; border-radius: 18px; }
}
/* reduced motion: no movement; each row scrolls sideways by hand instead */
@media (prefers-reduced-motion: reduce) {
  .wshow__track { animation: none; }
  .wshow__row { overflow-x: auto; scrollbar-width: none; }
}
/* A category with no films yet: one quiet card in the same frame (not playable, so no lift). */
.lf-soon { display: grid; place-content: center; justify-items: center; gap: 8px; padding: 24px; text-align: center; color: #fff; background: radial-gradient(120% 90% at 50% 0%, rgba(9, 107, 109, 0.42), transparent 62%), linear-gradient(160deg, #161819, #0b0c0c); }
.lf-soon__icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 4px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: rgba(255, 255, 255, 0.06); }
.lf-soon__icon svg { width: 22px; height: 22px; }
.lf-soon__title { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.1; }
.lf-soon__text { max-width: 30ch; font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, 0.66); }
.reel-cat__track .reel-phone.lf-card--soon { scroll-snap-align: start; }
@media (hover: hover) and (pointer: fine) {
  .reel-cat__track .reel-phone.lf-card--soon:hover { transform: none; box-shadow: 0 0 0 1.5px #3a3d3e, 0 1px 2px rgba(38, 32, 22, 0.06), 0 8px 16px -4px rgba(38, 32, 22, 0.10), 0 24px 40px -12px rgba(38, 32, 22, 0.18); }
  .reel-cat__track .reel-phone.lf-card--soon:hover::after { opacity: 1; filter: blur(7px); }
}

/* ---------- module: chapter player */
.m-player { display: grid; grid-template-columns: 1.6fr 0.8fr; gap: 14px; }
.m-player__screen { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #0b0c0c; }
.m-player__screen video { transition: opacity 0.35s; }
.m-player__screen.is-swapping video { opacity: 0.2; }
.m-player__bar { position: absolute; left: 16px; right: 16px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.25); overflow: hidden; }
.m-player__bar b { display: block; height: 100%; width: var(--p, 0%); background: #fff; }
.m-player__list { display: grid; gap: 8px; align-content: start; }
.m-player__list button { width: 100%; display: grid; grid-template-columns: 56px 1fr 20px; align-items: center; gap: 10px; padding: 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); text-align: left; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.m-player__list button span { font-family: var(--mono); font-size: 12px; color: var(--mute); }
.m-player__list button b { font-family: var(--display); font-weight: 600; font-stretch: 106%; letter-spacing: -0.03em; }
.m-player__list button svg { width: 16px; height: 16px; opacity: 0.35; }
.m-player__list button:hover { border-color: var(--accent); }
.m-player__list button.on { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.m-player__list button.on span { color: rgba(255, 255, 255, 0.75); }
.m-player__list button.on svg { opacity: 1; }

/* ---------- module: variants */
.m-variants__tabs { margin-bottom: 18px; flex-wrap: wrap; }
.m-win { display: inline-flex; padding: 2px 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-family: var(--mono); font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; vertical-align: middle; margin-left: 4px; }
.tabs button.on .m-win { background: var(--accent-ink); color: var(--accent); }
.m-var { display: none; grid-template-columns: 0.9fr 1.1fr; gap: 16px; }
.m-var.on { display: grid; animation: mfade 0.5s var(--ease); }
@keyframes mfade { from { opacity: 0; transform: translateY(10px); } }
.m-var__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: #0b0c0c; }
.m-var__hook { position: absolute; left: 14px; right: 14px; bottom: 14px; padding: 12px 14px; border-radius: 14px; background: rgba(12, 14, 13, 0.55); color: #fff; font-weight: 600; font-size: 15px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.m-var__metrics { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.m-var__metrics h3 { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.05em; font-size: clamp(1.6rem, 1rem + 1.4vw, 2.4rem); }
.m-var__metrics > p { color: var(--mute); margin-top: -8px; }
.m-var__metric { display: grid; grid-template-columns: 150px 1fr 70px; align-items: center; gap: 14px; font-size: 14px; }
.m-var__metric em { font-style: normal; font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.2rem; text-align: right; }
.m-var__track { height: 10px; border-radius: 10px; background: var(--line-2); overflow: hidden; }
.m-var__track b { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--accent); transition: width 0.9s var(--ease); }
.m-var.on .m-var__track b { width: var(--w); }

/* ---------- module: before / after */
.m-ba { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-xl); overflow: hidden; background: #0b0c0c; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.m-ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.m-ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.m-ba--grade .m-ba__before img { filter: saturate(0.25) contrast(0.7) brightness(1.15) sepia(0.12); }
.m-ba--ux .m-ba__before img { filter: grayscale(1) contrast(0.85) brightness(1.08) blur(1.5px); }
.m-ba--wire .m-ba__before img { filter: grayscale(1) contrast(2.6) brightness(1.5) blur(0.6px); opacity: 0.55; }
.m-ba--wire .m-ba__before { background: #f3f2ee; }
.m-ba__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(9, 107, 109, 0.18) 1px, transparent 1px), linear-gradient(90deg, rgba(9, 107, 109, 0.18) 1px, transparent 1px); background-size: 40px 40px; }
.m-ba--sketch .m-ba__before img { filter: grayscale(1) contrast(1.8) brightness(1.2) sepia(0.25); }
.m-ba__label { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(12, 14, 13, 0.55); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.m-ba__label--l { left: 16px; } .m-ba__label--r { right: 16px; background: var(--accent); }
.m-ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; pointer-events: none; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15); }
.m-ba__handle svg:first-child, .m-ba__handle svg:last-child { position: absolute; top: 50%; width: 18px; height: 18px; margin-top: -9px; color: #fff; }
.m-ba__handle::before { content: ""; position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: var(--accent); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); }
.m-ba__handle svg:first-child { left: -16px; z-index: 1; } .m-ba__handle svg:last-child { left: 1px; z-index: 1; }
.m-ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

/* ---------- module: waveform */
.m-wave { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--panel); color: var(--panel-text); }
.m-wave .tabs { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.1); }
.m-wave .tabs button { color: var(--panel-mute); }
.m-wave .tabs button.on { color: var(--accent-ink); }
.m-wave__bars { display: flex; align-items: center; gap: 4px; height: 200px; margin: 30px 0; }
.m-wave__bars span { flex: 1; height: calc(var(--h) * 100%); border-radius: 4px; background: rgba(255, 255, 255, 0.35); transform-origin: center; animation: wbar 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.07s); }
.m-wave.is-raw .m-wave__bars span:nth-child(3n) { background: rgba(255, 120, 90, 0.55); }
.m-wave.is-mix .m-wave__bars span { height: calc((0.45 + var(--h) * 0.35) * 100%); background: var(--accent); animation-duration: 1.4s; }
@keyframes wbar { from { transform: scaleY(0.35); } to { transform: scaleY(1); } }
.m-wave__meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.m-wave__meters div { padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.08); }
.m-wave__meters small { display: block; font-size: 12px; color: var(--panel-mute); }
.m-wave__meters b { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.04em; font-size: 1.5rem; }

/* ---------- module: kinetic type */
.m-kin__stage { position: relative; aspect-ratio: 16 / 8; border-radius: var(--r-xl); overflow: hidden; background: #050606; display: grid; place-items: center; isolation: isolate; }
.m-kin__bg { position: absolute; inset: 0; z-index: -1; opacity: 0.35; }
.m-kin__words { position: relative; display: grid; place-items: center; }
.m-kin__words span { grid-area: 1 / 1; font-family: var(--display); font-weight: 800; font-stretch: 125%; letter-spacing: -0.07em; font-size: clamp(2.6rem, 1rem + 7vw, 8rem); line-height: 1; color: #fff; opacity: 0; }
.m-kin.is-bold .m-kin__words span.on { animation: kbold 0.9s var(--ease) both; }
.m-kin.is-minimal .m-kin__words span { font-weight: 300; font-stretch: 100%; letter-spacing: -0.03em; }
.m-kin.is-minimal .m-kin__words span.on { animation: kmin 1.1s var(--ease) both; }
.m-kin.is-glitch .m-kin__words span.on { animation: kglitch 0.8s steps(2) both; text-shadow: 3px 0 #2ed8c3, -3px 0 #f79a18; }
@keyframes kbold { 0% { opacity: 0; transform: scale(1.4); filter: blur(12px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes kmin { 0% { opacity: 0; letter-spacing: 0.3em; } 100% { opacity: 1; letter-spacing: -0.03em; } }
@keyframes kglitch { 0% { opacity: 0; transform: translateX(-12px) skewX(12deg); } 50% { opacity: 1; transform: translateX(8px) skewX(-8deg); } 100% { opacity: 1; transform: none; } }
.m-kin__lower { position: absolute; left: clamp(16px, 3vw, 36px); bottom: clamp(16px, 3vw, 32px); padding: 12px 18px 12px 16px; border-left: 4px solid var(--accent); background: rgba(255, 255, 255, 0.08); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: klower 1.2s var(--ease) both; }
.m-kin__lower b { display: block; font-size: 16px; } .m-kin__lower small { font-size: 12px; opacity: 0.75; }
@keyframes klower { from { transform: translateX(-30px); opacity: 0; } }
.m-kin .tabs { margin-top: 16px; }

/* ---------- module: roadmap / checklist */
.m-road { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.m-road__list { display: grid; gap: 10px; margin-top: 22px; }
.m-road__list[hidden] { display: none; }
.m-road__list label { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); cursor: pointer; font-weight: 500; transition: border-color 0.25s; }
.m-road__list label:hover { border-color: var(--accent); }
.m-road__list input { position: absolute; opacity: 0; pointer-events: none; }
.m-road__box { width: 26px; height: 26px; border-radius: 8px; border: 1.5px solid var(--line-2); display: grid; place-items: center; color: transparent; flex: none; transition: background-color 0.25s, border-color 0.25s, color 0.25s; }
.m-road__box svg { width: 16px; height: 16px; }
.m-road__list input:checked + .m-road__box { background: var(--accent); border-color: var(--accent); color: #fff; }
.m-road__list input:checked ~ span:last-child { text-decoration: line-through; color: var(--mute); }
.m-road__list input:focus-visible + .m-road__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-road__prog { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; margin-top: 22px; font-size: 14px; color: var(--mute); }
.m-road__track { height: 8px; border-radius: 8px; background: var(--line-2); overflow: hidden; }
.m-road__track b { display: block; height: 100%; width: var(--p, 0%); background: var(--accent); transition: width 0.5s var(--ease); }
.m-road__prog em { font-style: normal; font-weight: 700; color: var(--ink); }

/* ---------- module: search results */
.m-serp { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); }
.m-serp__bar { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 16px; }
.m-serp__bar svg { width: 20px; height: 20px; color: var(--mute); }
.m-serp__list { position: relative; height: calc(6 * 84px); margin-top: 18px; }
.m-serp__row { position: absolute; left: 0; right: 0; top: calc(var(--pos) * 84px); height: 76px; padding: 12px 16px; border-radius: 16px; transition: top 1.2s var(--ease), background-color 0.4s; }
.m-serp__row small { font-size: 12px; color: var(--mute); }
.m-serp__row b { display: block; color: #1a57c7; font-weight: 500; font-size: 17px; }
[data-theme="dark"] .m-serp__row b { color: #8ab4f8; }
.m-serp__row span { display: block; font-size: 13.5px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-serp__row--us { background: rgba(9, 107, 109, 0.08); border: 1.5px solid var(--accent); padding-right: 70px; }
.m-serp__row--us b { color: var(--accent); font-weight: 700; }
.m-serp__rank { position: absolute; right: 16px; top: 50%; translate: 0 -50%; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 1.6rem; color: var(--accent); }
.m-serp__rank i { font-style: normal; }

/* ---------- module: funnel */
.m-funnel { padding: clamp(20px, 3vw, 36px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.m-funnel__rows { display: grid; gap: 14px; margin-top: 26px; }
.m-funnel__row { display: grid; grid-template-columns: 130px 1fr 64px; align-items: center; gap: 16px; font-weight: 500; }
.m-funnel__track { height: 44px; border-radius: 12px; background: var(--line); overflow: hidden; }
.m-funnel__track b { display: block; height: 100%; width: var(--w); border-radius: 12px; background: linear-gradient(90deg, var(--accent), #1fa6d8); transition: width 0.9s var(--ease); }
.m-funnel__row em { font-style: normal; font-family: var(--display); font-weight: 800; font-size: 1.2rem; text-align: right; }
.m-funnel__note { margin-top: 18px; font-size: 14px; color: var(--mute); }
.m-funnel__note b { color: var(--accent); }

/* ---------- module: dashboards */
.m-dash { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); }
.m-dash__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.m-dash__kpis { display: flex; gap: clamp(16px, 3vw, 40px); flex-wrap: wrap; }
.m-dash__kpis small { display: block; font-size: 12.5px; color: var(--mute); }
.m-dash__kpis b { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.05em; font-size: clamp(1.6rem, 1rem + 1.2vw, 2.2rem); }
.m-dash__chart { width: 100%; height: clamp(180px, 22vw, 260px); margin-top: 22px; overflow: visible; }
.m-dash__grid line { stroke: var(--line-2); stroke-dasharray: 4 6; }
.m-dash__line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; transition: d 0.8s var(--ease); }
.m-dash__area { transition: d 0.8s var(--ease); }
.m-bars { display: grid; gap: 12px; margin-top: 24px; }
.m-bars__row { display: grid; grid-template-columns: minmax(150px, 220px) 1fr 70px; align-items: center; gap: 14px; font-size: 14.5px; }
.m-bars__track { height: 14px; border-radius: 14px; background: var(--line); overflow: hidden; }
.m-bars__track b { display: block; height: 100%; width: var(--w); border-radius: 14px; background: var(--accent); transition: width 0.8s var(--ease); }
.m-bars__row em { font-style: normal; font-weight: 700; text-align: right; }
.m-kpis { width: 100%; border-collapse: collapse; margin-top: 18px; }
.m-kpis th { text-align: left; font-weight: 500; font-size: 13px; color: var(--mute); padding: 10px 8px; border-bottom: 1px solid var(--line-2); }
.m-kpis td { padding: 18px 8px; border-bottom: 1px solid var(--line); }
.m-kpis td b { font-family: var(--display); font-weight: 800; font-stretch: 110%; font-size: 1.25rem; }
.m-delta { display: inline-flex; padding: 4px 10px; border-radius: 999px; background: rgba(9, 107, 109, 0.12); color: var(--accent); font-weight: 600; font-size: 13px; }
.m-delta.is-down { background: rgba(214, 69, 61, 0.12); color: #d6453d; }
[data-theme="dark"] .m-delta { color: #8fd3d1; }
.m-rings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 24px; }
.m-ring { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.m-ring svg { width: min(150px, 100%); aspect-ratio: 1; transform: rotate(-90deg); }
.m-ring circle { fill: none; stroke: var(--line-2); stroke-width: 10; }
.m-ring .m-ring__v { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 327; stroke-dashoffset: calc(327 - 327 * var(--v) / 100); transition: stroke-dashoffset 1s var(--ease); }
.m-ring b { position: absolute; top: min(75px, 50%); left: 50%; translate: -50% -50%; font-family: var(--display); font-weight: 800; font-size: 2rem; }
.m-ring span { font-size: 14px; font-weight: 500; }

/* ---------- module: gallery */
.m-gal__vid { aspect-ratio: 4 / 5; }

/* ---------- module: browser */
.m-browser .tabs { margin-bottom: 18px; }
.m-browser__frame { margin: 0 auto; width: 100%; border-radius: 18px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); transition: width 0.7s var(--ease); }
.m-browser.is-tablet .m-browser__frame { width: min(560px, 100%); }
.m-browser.is-mobile .m-browser__frame { width: min(320px, 100%); }
.m-browser__chrome { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
.m-browser__chrome i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.m-browser__chrome i:first-child { background: #ff6159; } .m-browser__chrome i:nth-child(2) { background: #ffbd2e; } .m-browser__chrome i:nth-child(3) { background: #28c941; }
.m-browser__chrome span { margin-left: 12px; flex: 1; max-width: 360px; height: 24px; line-height: 24px; padding: 0 12px; border-radius: 8px; background: var(--surface-2); font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-browser__view { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.m-browser.is-mobile .m-browser__view { aspect-ratio: 9 / 16; }
.m-browser.is-tablet .m-browser__view { aspect-ratio: 3 / 4; }
.m-browser__view img { width: 100%; height: 100%; object-fit: cover; }
.m-code { position: absolute; inset: 0; margin: 0; padding: clamp(18px, 3vw, 34px); background: #0d1117; color: #c9d1d9; font-family: var(--mono); font-size: clamp(11px, 1.1vw, 14px); line-height: 1.7; overflow: auto; opacity: 0; transition: opacity 0.4s; white-space: pre; }
.m-code i { color: #8b949e; font-style: normal; } .m-code b { color: #ff7b72; font-weight: 400; } .m-code u { color: #d2a8ff; text-decoration: none; } .m-code s { color: #a5d6ff; text-decoration: none; } .m-code em { color: #79c0ff; font-style: normal; }
.m-browser.is-code .m-code { opacity: 1; }
.m-cms { position: absolute; padding: 6px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; opacity: 0; transform: scale(0.9); transition: opacity 0.3s, transform 0.4s var(--ease); box-shadow: 0 0 0 9999px transparent; }
.m-cms::before { content: ""; position: absolute; inset: -12px; border: 2px dashed rgba(9, 107, 109, 0.9); border-radius: 10px; pointer-events: none; }
.m-cms--1 { left: 8%; top: 12%; } .m-cms--2 { right: 10%; top: 38%; } .m-cms--3 { left: 30%; bottom: 12%; }
.m-browser.is-editor .m-cms { opacity: 1; transform: none; }
.m-browser.is-editor .m-browser__view img { filter: brightness(0.75); }

/* ---------- module: calendar + heatmap */
.m-cal { display: grid; grid-template-columns: 1.4fr 0.6fr; gap: 16px; padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.m-cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.m-cal__grid small { text-align: center; font-family: var(--mono); font-size: 11px; color: var(--mute); padding-bottom: 4px; }
.m-cal__day { position: relative; aspect-ratio: 1; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; font-weight: 500; display: grid; place-items: center; transition: border-color 0.2s, background-color 0.2s; }
.m-cal__day.has { cursor: pointer; } .m-cal__day:not(.has) { color: var(--mute); }
.m-cal__day.has:hover { border-color: var(--accent); }
.m-cal__day.on { background: var(--accent); color: #fff; border-color: var(--accent); }
.m-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; }
.m-cal__day .m-dot { position: absolute; bottom: 7px; left: 50%; translate: -50% 0; }
.m-dot--ig { background: #e1306c; } .m-dot--tt { background: #111; box-shadow: 0 0 0 1.5px #25f4ee; } .m-dot--li { background: #0a66c2; } .m-dot--fb { background: #1877f2; }
.m-cal__day.on .m-dot { box-shadow: 0 0 0 2px #fff; }
.m-cal__detail { padding: 22px; border-radius: var(--r-md); background: var(--surface-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.m-cal__detail small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); }
.m-cal__detail b { font-family: var(--display); font-weight: 700; font-stretch: 108%; letter-spacing: -0.04em; font-size: 1.4rem; line-height: 1.15; }
.m-cal__detail span { color: var(--mute); font-size: 14px; }
.m-cal__legend { margin-top: auto; padding-top: 18px; display: grid; gap: 6px; font-size: 13px; color: var(--mute); }
.m-cal__legend span { display: flex; align-items: center; gap: 8px; }
.m-heat { padding: clamp(18px, 3vw, 32px); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
.m-heat__grid { display: grid; grid-template-columns: 44px repeat(var(--cols), 1fr); gap: 6px; margin-top: 22px; }
.m-heat__grid small { font-family: var(--mono); font-size: 11px; color: var(--mute); display: grid; place-items: center; }
.m-heat__grid i { aspect-ratio: 2 / 1; border-radius: 8px; background: rgba(9, 107, 109, calc(0.08 + var(--v, 0) * 0.92)); transition: background-color 0.5s; }
.m-heat__grid i.best { box-shadow: 0 0 0 2px var(--ink); }
.m-heat__best { margin-top: 16px; font-size: 15px; color: var(--mute); }
.m-heat__best b { color: var(--ink); }

/* ---------- module: chat */
.m-chat { max-width: 640px; margin: 0 auto; border-radius: var(--r-xl); background: var(--surface-2); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.m-chat__head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.m-chat__head img { width: 34px; height: 34px; border-radius: 50%; }
.m-chat__head small { color: var(--mute); font-size: 12.5px; }
.m-chat__replay { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; transition: background-color 0.25s, color 0.25s; }
.m-chat__replay svg { width: 14px; height: 14px; }
.m-chat__replay:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.m-chat__list { display: flex; flex-direction: column; gap: 10px; padding: 22px 18px; min-height: 380px; }
.m-msg { max-width: 78%; padding: 12px 16px; border-radius: 20px; font-size: 15px; line-height: 1.4; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.m-msg.on { opacity: 1; transform: none; }
.m-msg--them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.m-msg--us { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 6px; }
.m-msg--typing { display: none; align-self: flex-end; gap: 4px; padding: 14px 16px; background: var(--accent); border-bottom-right-radius: 6px; opacity: 1; transform: none; }
.m-msg--typing.on { display: inline-flex; }
.m-msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: mtype 1s infinite; }
.m-msg--typing i:nth-child(2) { animation-delay: 0.15s; } .m-msg--typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes mtype { 50% { opacity: 0.3; transform: translateY(-3px); } }
.m-chat__foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--mute); }
.m-chat__foot span { display: inline-flex; align-items: center; gap: 6px; }
.m-chat__foot svg { width: 15px; height: 15px; color: var(--accent); }
.m-chat__foot b { color: var(--ink); }

/* ---------- page transitions (cross-document view transitions, progressive enhancement) */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-old(root) { animation: vt-out 0.32s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.55s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-14px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(18px); } }
main { animation: page-in 0.7s var(--ease) both; }
@keyframes page-in { from { opacity: 0; } }

/* ---------- sub-page responsive */
@media (max-width: 1100px) {
  .reel-cat__track .reel-phone { flex-basis: calc((100% - 2 * var(--gap)) / 3.25); }
  .reel-cat__track--wide .reel-phone.lf-card { flex-basis: calc((100% - var(--gap)) / 1.4); }
  .sp-related { grid-template-columns: repeat(3, 1fr); }
  .sp-steps { grid-template-columns: repeat(2, 1fr); }
  .sp-steps li::after { display: none; }
  .m-rings { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .sp-split, .sp-points, .m-player, .m-var.on, .m-cal { grid-template-columns: 1fr; }
  .sp-media { aspect-ratio: 4 / 4.2; }
  .sp-tiles { grid-template-columns: 1fr 1fr; }
  .sp-tile { aspect-ratio: 4 / 5; min-height: 0; }
  .m-var__media { aspect-ratio: 16 / 10; }
}
@media (max-width: 680px) {
  .sp-tiles { grid-template-columns: 1fr; }
  .sp-ed__media { aspect-ratio: 4 / 3; }
  .sp-related { grid-template-columns: 1fr 1fr; }
  .sp-steps { grid-template-columns: 1fr; }
  .sp-points__list li { grid-template-columns: 34px 1fr 20px; padding: 16px; }
  .mphone__ui, .mphone__who { display: none; }
  .reel-cat__track .reel-phone { flex-basis: 64%; }
  .reel-cat__track--wide .reel-phone.lf-card { flex-basis: 88%; padding: 5px; border-radius: 18px; }
  .lf-soon { gap: 6px; padding: 16px; }
  .lf-soon__icon { width: 38px; height: 38px; margin-bottom: 2px; }
  .lf-soon__icon svg { width: 18px; height: 18px; }
  .lf-soon__text { font-size: 13px; }
  .lf-soon .lf-card__brand { display: none; }
  .reel-cat__head { margin-bottom: 14px; }
  .m-var__metric { grid-template-columns: 1fr 64px; }
  .m-var__metric .m-var__track { grid-column: 1 / -1; grid-row: 2; }
  .m-ba { aspect-ratio: 4 / 3; }
  .m-wave__bars { height: 130px; gap: 2px; }
  .m-wave__meters { grid-template-columns: 1fr; }
  .m-kin__stage { aspect-ratio: 4 / 3; }
  .m-funnel__row { grid-template-columns: 1fr 56px; }
  .m-funnel__row .m-funnel__track { grid-column: 1 / -1; grid-row: 2; height: 30px; }
  .m-bars__row { grid-template-columns: 1fr 56px; }
  .m-bars__row .m-bars__track { grid-column: 1 / -1; grid-row: 2; }
  .m-serp__row span { display: none; }
  .m-serp__list { height: calc(6 * 70px); }
  .m-serp__row { top: calc(var(--pos) * 70px); height: 62px; }
  .m-heat__grid { grid-template-columns: 34px repeat(var(--cols), 1fr); gap: 4px; }
  .m-msg { max-width: 88%; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  main { animation: none; }
}

/* ---------------------------------------------------------------- home: client reviews + FAQ + CTA */
/* Review collage: cards keep their own height and pack into columns like a pinboard (main.js sets each
   card's row span from its height; grid rows are 8px). 4 columns on desktop, 2 on tablet, 1 on phones.
   Wide looks (split, banner) take two columns. Six card looks, as in the reference collage. */
.rwall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 8px; grid-auto-flow: row dense; column-gap: 18px; align-items: start; }
.no-js .rwall { grid-auto-rows: auto; row-gap: 18px; }
/* only a few cards (e.g. just the two videos): same card width, centred instead of left-aligned */
.rwall--few { grid-template-columns: repeat(var(--cols), minmax(0, 300px)); justify-content: center; }
.rc { position: relative; align-self: start; margin: 0 0 18px; padding: 22px; border-radius: 18px; background: #fff; color: #0c0e0d; box-shadow: 0 1px 2px rgba(12, 14, 13, 0.05), 0 22px 44px -30px rgba(12, 14, 13, 0.3); }
.rc__headline { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.03em; font-size: clamp(19px, 1.5vw, 22px); line-height: 1.15; }
.rc__headline--big { font-size: clamp(24px, 2.4vw, 34px); }
.rtext { margin: 0; font-size: 14.5px; line-height: 1.6; color: #3a3c3b; }
.rby { display: grid; gap: 1px; min-width: 0; }
.rby b { font-weight: 700; font-size: 15px; line-height: 1.25; }
.rby small, .rc figcaption small { font-size: 12.5px; color: #75746f; }
.rc figcaption { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; }
.rc__photo, .rc__mini { display: block; flex: none; border-radius: 50%; object-fit: cover; object-position: center top; }
.rphoto--initials { display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; letter-spacing: 0.02em; }
.rtag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; border: 1px solid rgba(12, 14, 13, 0.12); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: #3c3e3d; white-space: nowrap; }
.rstars { position: relative; display: inline-block; flex: none; line-height: 0; }
.rstars__row { display: inline-flex; gap: 2px; white-space: nowrap; color: rgba(12, 14, 13, 0.15); }
.rstars__fill { position: absolute; top: 0; left: 0; bottom: 0; overflow: hidden; color: #e8a400; }
.rstars svg { width: 16px; height: 16px; flex: none; fill: currentColor; }

/* 1. Speech bubble: words with a round photo beside them, a little tail */
.rc--bubble::after { content: ""; position: absolute; left: 34px; bottom: -9px; width: 20px; height: 20px; border-radius: 3px; background: #fff; transform: rotate(45deg); }
.rc__bubble { display: flex; align-items: flex-start; gap: 14px; }
.rc__bubble .rtext { flex: 1; }
.rc--bubble .rc__photo { width: 56px; height: 56px; box-shadow: 0 0 0 3px #fff, 0 6px 16px -6px rgba(0, 0, 0, 0.3); }
.rc--bubble .rphoto--initials { font-size: 18px; }
.rc--bubble figcaption .rstars { margin-left: auto; }

/* 2. Spotlight: round photo breaking out of the top, stars, headline, words */
.rc--spotlight { margin-top: 46px; padding-top: 54px; text-align: center; }
.rc--spotlight > .rc__photo { position: absolute; top: -42px; left: 50%; translate: -50% 0; width: 84px; height: 84px; box-shadow: 0 0 0 5px #fff, 0 10px 24px -10px rgba(0, 0, 0, 0.35); }
.rc--spotlight .rphoto--initials { font-size: 24px; }
.rc--spotlight > .rstars { margin-bottom: 10px; }
.rc--spotlight .rc__headline { margin-bottom: 10px; }
.rc--spotlight figcaption { justify-content: center; flex-direction: column; }

/* 3. Portrait: a big framed photo (or the video) on top, words, a signature-style name */
.rc--portrait { padding: 10px 10px 20px; }
.rc__frame { position: relative; overflow: hidden; border-radius: 12px; aspect-ratio: 4 / 5; background: #e9e7e2; }
.rc__frame .rc__pic { width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 0; }
.rc--portrait .rc__headline, .rc--portrait .rtext { padding: 0 10px; }
.rc--portrait .rc__headline { margin-top: 16px; }
.rc--portrait .rtext { margin-top: 12px; }
.rc--portrait figcaption { padding: 0 10px; flex-direction: column; align-items: flex-start; gap: 2px; }
.rc__sign { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1.1; color: #1a1c1b; }
.rc--portrait figcaption .rstars { margin-top: 8px; }

/* 4. Split: photo (or video) on the left, their words on the right; two columns wide */
.rc--split { grid-column: span 2; display: grid; grid-template-columns: 44% 1fr; padding: 0; overflow: hidden; }
.rc__side { position: relative; min-height: 340px; background: #e9e7e2; }
.rc__side .rc__pic { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; border-radius: 0; }
.rc__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(22px, 2.4vw, 32px); }
.rc__body figcaption { margin-top: 4px; }
.rc__body figcaption .rstars { flex-basis: 100%; }
.rc__body > .rtag { align-self: flex-start; }
.rc__mini { width: 44px; height: 44px; }

/* 5. Compact: small round photo on top, headline, stars, words */
.rc--compact { margin-top: 34px; padding-top: 42px; text-align: center; }
.rc--compact > .rc__photo { position: absolute; top: -32px; left: 50%; translate: -50% 0; width: 64px; height: 64px; box-shadow: 0 0 0 4px #fff, 0 8px 20px -8px rgba(0, 0, 0, 0.35); }
.rc--compact > .rstars { margin: 8px 0 10px; }
.rc--compact figcaption { justify-content: center; }

/* 6. Banner: wide card with a big headline, words and a row of client photos */
/* photo centred on the top edge (like spotlight and compact), headline below it */
.rc--banner { grid-column: span 2; margin-top: 62px; padding: 78px clamp(22px, 3vw, 44px) clamp(26px, 3vw, 40px); text-align: center; }
.rc--banner > .rc__photo { position: absolute; top: -60px; left: 50%; translate: -50% 0; width: 120px; height: 120px; box-shadow: 0 0 0 5px #fff, 0 12px 28px -12px rgba(0, 0, 0, 0.35); }
.rc--banner .rphoto--initials { font-size: 34px; }
.rc--banner .rtext { max-width: 60ch; margin: 12px auto 0; }
.rc--banner figcaption { justify-content: center; }

/* 7. Mini: a small card: photo and name on one line, stars, a short line of words */
.rc--mini { padding: 18px 18px 20px; }
.rc--mini figcaption { margin: 0 0 10px; flex-wrap: nowrap; }
.rc--mini .rc__photo { width: 44px; height: 44px; }
.rc--mini .rphoto--initials { font-size: 15px; }
.rc--mini > .rstars { display: block; width: max-content; margin-bottom: 8px; }
.rc--mini .rtext { font-size: 14px; }

/* Video card: just the video with a thin white border (no name or text) */
.rc--plainvideo { padding: 7px; overflow: hidden; background: #fff; }
.rc--plainvideo .rc__frame { border-radius: 12px; }
/* Client-call photo: just the picture with the same thin white border (6:5, so two stack to one video's height) */
.rc--photo { padding: 7px; overflow: hidden; background: #fff; }
.rc--photo img { display: block; width: 100%; height: auto; aspect-ratio: 6 / 5; object-fit: cover; border-radius: 12px; background: #e9e7e2; }

/* Even block (build.mjs fixedWall): video | two photos | video | two short reviews on top, all ending on one
   line; the other reviews below in rows of equal-height cards. No masonry (grid-auto-rows: auto). */
.rwall--fixed { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: auto; grid-auto-flow: row; gap: 18px; align-items: stretch; }
.rwall--fixed > .rc { align-self: stretch; margin-bottom: 0; }
.rwall--fixed > .rc--banner, .rwall--fixed > .rc--split { grid-column: auto; } /* one column each, so rows stay even */
.rwall--fixed > .rslot { margin-top: 0; display: flex; flex-direction: column; }
.rwall--fixed .rslot .rc__frame { flex: 1 1 auto; } /* video fills its block (cover) */
.rwall--fixed .rc--photo img { flex: 1 1 auto; min-height: 0; } /* photo fills its block (cover) */
.rslot--v1 { grid-column: 1; grid-row: 1 / span 2; }
.rslot--p1 { grid-column: 2; grid-row: 1; }
.rslot--p2 { grid-column: 2; grid-row: 2; }
.rslot--v2 { grid-column: 3; grid-row: 1 / span 2; }
.rslot--a { grid-column: 4; grid-row: 1; }
.rslot--b { grid-column: 4; grid-row: 2; }
@media (min-width: 641px) {
  /* every card in the rows below starts on the same line (room for the biggest round photo on top) */
  .rwall--fixed > .rc:not(.rslot) { margin-top: 62px; }
}
@media (max-width: 1024px) {
  /* two columns: video beside the photos, then the two short reviews beside the second video */
  .rslot--v1 { grid-column: 1; grid-row: 1 / span 2; }
  .rslot--p1 { grid-column: 2; grid-row: 1; }
  .rslot--p2 { grid-column: 2; grid-row: 2; }
  .rslot--a { grid-column: 1; grid-row: 3; }
  .rslot--b { grid-column: 1; grid-row: 4; }
  .rslot--v2 { grid-column: 2; grid-row: 3 / span 2; }
}

/* Video reviews: poster first (loaded as the card nears the screen), nothing else until play is pressed */
.rc--video .rc__frame { aspect-ratio: 9 / 16; background: #121212; }
.rc--video .rc__side { background: #121212; min-height: 380px; }
.rvid__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; background: #121212; }
.rc--split.rc--video .rvid__video { object-fit: contain; } /* a vertical video shown whole on the dark side */
.rvid__play { position: absolute; left: 50%; top: 50%; z-index: 2; translate: -50% -50%; display: grid; place-items: center; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 50%; background: #fff; color: #121212; cursor: pointer; box-shadow: 0 14px 34px -10px rgba(0, 0, 0, 0.55); transition: transform 0.35s var(--ease), opacity 0.3s; }
.rvid__play svg { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.rvid__play:hover { transform: scale(1.07); }
.rvid__play:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.rvid__pill { position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; background: rgba(12, 14, 13, 0.45); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: opacity 0.3s; pointer-events: none; }
.rc--video.is-playing .rvid__play, .rc--video.is-playing .rvid__pill { opacity: 0; pointer-events: none; }

/* FAQ: 2 columns of cards (1 on phones); one answer open at a time (main.js). */
.qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.qa__item { border-radius: 20px; background: #fff; color: #0c0e0d; box-shadow: 0 1px 2px rgba(12, 14, 13, 0.04), 0 18px 40px -30px rgba(12, 14, 13, 0.25); }
.qa__h { margin: 0; font: inherit; }
.qa__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 64px; padding: 18px 20px 18px 22px; border: 0; border-radius: 20px; background: none; color: inherit; text-align: left; font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; line-height: 1.3; cursor: pointer; }
.qa__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.qa__icon { position: relative; width: 34px; height: 34px; flex: none; border-radius: 50%; background: var(--bg); transition: background 0.3s, color 0.3s; color: #0c0e0d; }
.qa__icon::before, .qa__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 2px; background: currentColor; translate: -50% -50%; transition: transform 0.35s var(--ease); }
.qa__icon::after { transform: rotate(90deg); }
.qa__item.is-open .qa__icon { background: var(--accent); color: #fff; }
.qa__item.is-open .qa__icon::after { transform: rotate(0deg); } /* + turns into – */
.qa__a { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows 0.4s var(--ease), visibility 0.4s; }
.qa__item.is-open .qa__a, .no-js .qa__a { grid-template-rows: 1fr; visibility: visible; }
.qa__inner { overflow: hidden; }
.qa__inner p { margin: 0; padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: #4a4c4a; }

/* "Still have a question?" card */
.rq-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(28px, 4vw, 48px); padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); }
.rq-cta__h { font-family: var(--display); font-weight: 800; font-stretch: 112%; letter-spacing: -0.035em; font-size: clamp(26px, 3vw, 40px); line-height: 1; color: var(--panel-text); }
.rq-cta p { margin-top: 10px; color: var(--panel-mute); font-size: 15px; }
.rq-cta__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.rq-cta .btn--light { --btn-bg: #fff; --btn-fg: #0c0e0d; box-shadow: none; }
.rq-cta .btn--glass { --btn-bg: transparent; border-color: rgba(255, 255, 255, 0.4); }

[data-theme="dark"] .rc, [data-theme="dark"] .qa__item { background: var(--surface); color: var(--ink); }
[data-theme="dark"] .rc--bubble::after { background: var(--surface); }
[data-theme="dark"] .rtext, [data-theme="dark"] .qa__inner p { color: var(--ink-2); }
[data-theme="dark"] .rby small, [data-theme="dark"] .rc figcaption small { color: var(--mute); }
[data-theme="dark"] .rc__sign { color: var(--ink); }
[data-theme="dark"] .rtag { color: var(--ink-2); border-color: var(--line-2); }
[data-theme="dark"] .rstars__row { color: rgba(236, 235, 230, 0.18); }
[data-theme="dark"] .qa__icon { color: var(--ink); background: var(--surface-2); }

@media (max-width: 1024px) {
  .rwall { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .qa { grid-template-columns: 1fr; }
  .rq-cta__btns, .rq-cta__btns .btn { width: 100%; }
  .rq-cta__btns .btn { justify-content: space-between; }
}
@media (max-width: 640px) {
  .rwall { grid-template-columns: 1fr; }
  .rc--split, .rc--banner { grid-column: auto; }
  .rc--banner { margin-top: 50px; padding-top: 64px; }
  .rc--banner > .rc__photo { top: -48px; width: 96px; height: 96px; }
  .rc--banner .rphoto--initials { font-size: 28px; }
  .rc--split { grid-template-columns: 1fr; }
  .rc__side { min-height: 0; aspect-ratio: 4 / 3; }
  .rc--split.rc--video .rc__side { aspect-ratio: 9 / 16; max-height: 78vh; }
}

/* Reviews on phones: compact, like the desktop block. The two videos side by side, the two call photos
   side by side (smaller) below them, then the review cards two per row with equal heights per row. */
@media (max-width: 640px) {
  .rwall.rwall--fixed { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .rwall--fixed .rslot--v1 { grid-column: 1; grid-row: 1; }
  .rwall--fixed .rslot--v2 { grid-column: 2; grid-row: 1; }
  .rwall--fixed .rslot--p1 { grid-column: 1; grid-row: 2; }
  .rwall--fixed .rslot--p2 { grid-column: 2; grid-row: 2; }
  .rwall--fixed .rslot--a { grid-column: 1; grid-row: 3; }
  .rwall--fixed .rslot--b { grid-column: 2; grid-row: 3; }
  .rwall--fixed > .rc { padding: 14px; border-radius: 16px; }
  .rwall--fixed > .rc--plainvideo, .rwall--fixed > .rc--photo { padding: 5px; border-radius: 14px; }
  .rwall--fixed .rc__frame, .rwall--fixed .rc--photo img { border-radius: 10px; }
  .rwall--fixed .rvid__play { width: 46px; height: 46px; }
  .rwall--fixed .rvid__play svg { width: 18px; height: 18px; margin-left: 2px; }
  .rwall--fixed .rvid__pill { top: 8px; left: 8px; height: 22px; padding: 0 8px; font-size: 8.5px; }
  .rwall--fixed .rtext { font-size: 12.5px; line-height: 1.5; }
  .rwall--fixed .rby b { font-size: 13.5px; }
  .rwall--fixed .rstars svg { width: 12px; height: 12px; }
  .rwall--fixed .rtag { height: 22px; padding: 0 8px; font-size: 9px; letter-spacing: 0.06em; }
  .rwall--fixed .rc figcaption { margin-top: 10px; gap: 6px 8px; }
  /* round photos on top: one size, and every card in a row starts on the same line */
  .rwall--fixed > .rc:not(.rslot) { margin-top: 30px; }
  .rwall--fixed > .rc--spotlight, .rwall--fixed > .rc--compact, .rwall--fixed > .rc--banner { padding-top: 38px; }
  .rwall--fixed > .rc--spotlight > .rc__photo, .rwall--fixed > .rc--compact > .rc__photo, .rwall--fixed > .rc--banner > .rc__photo { top: -28px; width: 56px; height: 56px; box-shadow: 0 0 0 4px #fff, 0 8px 18px -8px rgba(0, 0, 0, 0.35); }
  .rwall--fixed .rc--spotlight .rphoto--initials, .rwall--fixed .rc--compact .rphoto--initials, .rwall--fixed .rc--banner .rphoto--initials { font-size: 18px; }
  .rwall--fixed .rc--banner .rtext { margin-top: 8px; }
  .rwall--fixed .rc__bubble { gap: 8px; }
  .rwall--fixed .rc--bubble .rc__photo { width: 36px; height: 36px; box-shadow: 0 0 0 2px #fff, 0 4px 10px -4px rgba(0, 0, 0, 0.3); }
  .rwall--fixed .rc--bubble .rphoto--initials { font-size: 13px; }
  .rwall--fixed .rc--bubble::after { left: 22px; width: 16px; height: 16px; bottom: -7px; }
  .rwall--fixed .rc--mini figcaption { gap: 8px; margin-bottom: 8px; }
  .rwall--fixed .rc--mini .rc__photo { width: 34px; height: 34px; }
  .rwall--fixed .rc--mini .rphoto--initials { font-size: 12px; }
}

/* very narrow phones: the quote stepper says "Details" so all three steps fit on one line */
@media (max-width: 400px) { .stepper__long { display: none; } .stepper__short { display: inline; } }
