/* Layout: a Reels-style wall of her vertical videos, introduced by headlines set
   like on-screen captions. Everything else stays quiet: white space by day, near-black at night. */
:root {
  /* Page colors (these switch for dark mode below) */
  --bg: #ffffff;
  --fg: #18161d;
  --muted: #5d5966;
  --band: #f3f2f6;
  --wash: #f3f2f6;
  --wash-deep: #e7e5ec;
  --raised: #ffffff;
  --btn-bg: #18161d;
  --btn-fg: #ffffff;
  --btn-hover: #2a2731;
  --contact-bg: #18161d;
  --foot-bg: #111015;
  --lift: rgba(24, 22, 29, 0.28);
  --focus: #18161d;
  --tint-0: #fff1b8;
  --tint-1: #ffdcd6;
  --tint-2: #d9e8ff;
  --tint-3: #d4f3e5;
  --tint-4: #e9e0fb;

  /* Colors that stay the same in both modes: the video surfaces and the caption yellow */
  --ink: #18161d;
  --ink-soft: #2a2731;
  --ink-softer: #3a3642;
  --ink-deep: #111015;
  --on-ink: #ffffff;
  --on-ink-muted: #bdb8c7;
  --caption: #ffd23f;
  --caption-hover: #ffdc66;
  --on-caption: #18161d;
  --rec: #f0353d;
  --shade: rgba(24, 22, 29, 0.8);
  --shade-clear: rgba(24, 22, 29, 0);
  --chip: rgba(24, 22, 29, 0.6);
  --progress-track: rgba(255, 255, 255, 0.3);
  --player-bg: rgba(17, 16, 21, 0.96);

  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 14px;
  /* Light is the default for everyone. "only light" asks browsers and apps that force
     dark mode to leave it alone; the toggle in the header switches to the dark design. */
  color-scheme: only light;
}

/* Dark design, turned on by the toggle (remembered per visitor). */
:root[data-theme="dark"] {
  --bg: #0e0d11;
  --fg: #f3f1f6;
  --muted: #a9a4b4;
  --band: #16141b;
  --wash: #211f27;
  --wash-deep: #2d2a34;
  --raised: #2a2731;
  --btn-bg: #f3f1f6;
  --btn-fg: #18161d;
  --btn-hover: #dcd9e2;
  --contact-bg: #1d1b23;
  --foot-bg: #08070a;
  --lift: rgba(0, 0, 0, 0.5);
  --focus: #f3f1f6;
  --tint-0: #3b3313;
  --tint-1: #3f2724;
  --tint-2: #1e2b40;
  --tint-3: #1b3329;
  --tint-4: #2c2542;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent; /* no colored box flashing on tap (phones) */
}
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 1.0625rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

/* Paints the strip behind a phone's status bar so content never shows through it. */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--bg);
}

[hidden] { display: none !important; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p, figure { margin: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-left: max(clamp(16px, 4vw, 40px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(16px, 4vw, 40px), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 20;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 600;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

section[id], main[id] { scroll-margin-top: 72px; }

/* ---------- Small shared pieces ---------- */

.label {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 0.75rem/1.2 var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.rec {
  display: inline-block;
  flex: none;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rec);
}
.rec--live { animation: rec 1.6s ease-in-out infinite; }
@keyframes rec { 50% { opacity: 0.25; } }

/* The on-screen caption look: a solid block behind each line of text. */
.cap {
  padding: 0 0.2em 0.04em;
  border-radius: 0.14em;
  background-image: linear-gradient(var(--caption), var(--caption));
  background-repeat: no-repeat;
  background-size: 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: var(--on-caption);
}
.cap--wipe { animation: wipe 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.2s both; }
@keyframes wipe { from { background-size: 0% 100%; } }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 1rem/1 var(--body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s, transform 0.15s;
}
.btn:hover { background: var(--btn-hover); }
.btn:active { transform: translateY(1px); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 0.92rem; }
.btn--soft { background: var(--wash); color: var(--fg); }
.btn--soft:hover { background: var(--wash-deep); }
.btn--yellow { background: var(--caption); color: var(--on-caption); }
.btn--yellow:hover { background: var(--caption-hover); }

/* ---------- Header ---------- */

.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 9;
  background: var(--bg);
}
.top__in { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.brand {
  margin-right: auto;
  font: 800 1.2rem/1 var(--display);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
}
.top__actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--wash);
  color: var(--fg);
  cursor: pointer;
  transition: background-color 0.15s;
}
.theme-toggle:hover { background: var(--wash-deep); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .i-sun,
:root[data-theme="dark"] .theme-toggle .i-moon { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun { display: block; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
.nav a:hover { color: var(--fg); }

/* ---------- Hero ---------- */

.hero { padding-block: clamp(36px, 7vw, 88px) clamp(40px, 6vw, 80px); }
.hero__in { display: grid; gap: 48px; align-items: center; }
.hero__text { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.hero__title {
  max-width: 14ch;
  font-weight: 800;
  font-size: clamp(2.3rem, 4.4vw + 1rem, 4.6rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.hero__lede { max-width: 36rem; color: var(--muted); font-size: clamp(1.08rem, 0.4vw + 1rem, 1.25rem); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__feature { display: none; position: relative; }
/* The tilted video gets its own layer so its edges stay smooth, and no background
   behind the video, so no thin line shows around it. */
.hero__feature .card {
  transform: rotate(2.5deg);
  box-shadow: 0 14px 28px -14px var(--lift);
  will-change: transform;
  backface-visibility: hidden;
}
.hero__feature .card:not(.is-missing) { background: transparent; }
.sticker {
  position: absolute;
  top: 28px;
  left: -28px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--caption);
  color: var(--on-caption);
  font: 800 1rem/1 var(--display);
  letter-spacing: -0.01em;
  transform: rotate(-5deg);
  pointer-events: none;
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 112px); }
.section-head { display: grid; gap: 12px; max-width: 40rem; margin-bottom: clamp(24px, 4vw, 44px); }
.section-head h2, .about__text h2 {
  font-weight: 800;
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.section-sub { color: var(--muted); }

/* ---------- Video wall ---------- */

.work { padding-top: 8px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--on-ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}
.card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover video { transform: scale(1.03); }
.card__shade {
  position: absolute;
  inset: auto 0 0;
  height: 50%;
  background: linear-gradient(to top, var(--shade), var(--shade-clear));
  pointer-events: none;
}
.card__chip {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 7px;
  background: var(--chip);
  font: 500 0.72rem/1 var(--mono);
  font-variant-numeric: tabular-nums;
}
.card__chip svg { width: 10px; height: 10px; }
.card__time:empty { display: none; }
.card__title {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  font: 700 clamp(0.98rem, 0.5vw + 0.82rem, 1.18rem)/1.2 var(--display);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.card__note {
  display: block;
  margin-top: 3px;
  color: var(--on-ink-muted);
  font: 500 0.8rem/1.3 var(--body);
  letter-spacing: 0;
}
.card__soon {
  display: none;
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  color: var(--muted);
  font: 500 0.68rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* A video that isn't uploaded yet shows as a colored title card. */
.card.is-missing { background: var(--tint, var(--wash)); color: var(--fg); }
.card.is-missing video,
.card.is-missing .card__shade,
.card.is-missing .card__chip { display: none; }
.card.is-missing .card__soon { display: block; }
.card.is-missing .card__title { font-weight: 800; font-size: clamp(1.15rem, 1vw + 0.9rem, 1.55rem); line-height: 1.12; letter-spacing: -0.02em; }
.card.is-missing .card__note { color: var(--muted); }
.card--feature.is-missing .card__soon { display: none; }
.tint-0 { --tint: var(--tint-0); }
.tint-1 { --tint: var(--tint-1); }
.tint-2 { --tint: var(--tint-2); }
.tint-3 { --tint: var(--tint-3); }
.tint-4 { --tint: var(--tint-4); }

/* The last tile invites the next brand in and fills out the final row. */
.card--cta {
  aspect-ratio: auto;
  min-height: 210px;
  padding: 18px;
  text-decoration: none;
  container-type: inline-size;
}
.cta__in { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; height: 100%; }
.cta__text { display: grid; gap: 14px; }
.card--cta .label { color: var(--on-ink-muted); }
.cta__title {
  font: 800 clamp(1.3rem, 1.2vw + 1rem, 1.85rem)/1.24 var(--display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.cta__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; }
.cta__go svg { width: 16px; height: 16px; transition: transform 0.15s; }
.card--cta:hover .cta__go svg { transform: translateX(3px); }
@container (min-width: 520px) {
  .cta__in { flex-direction: row; align-items: flex-end; }
  .cta__text { max-width: 26rem; }
}

/* ---------- About ---------- */

.about { background: var(--band); }
.about__in { display: grid; gap: 36px; align-items: center; }
.about__photo {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--tint-0);
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__photo-empty {
  display: none;
  position: absolute;
  inset: 0;
  place-items: center;
  color: var(--muted);
  font: 500 0.75rem/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.about__photo.is-missing img { display: none; }
.about__photo.is-missing .about__photo-empty { display: grid; }
.about__text { display: grid; gap: 18px; max-width: 36rem; min-width: 0; }
.fit { display: grid; gap: 10px; margin-top: 6px; }
.mini { font: 700 1rem/1.2 var(--body); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 999px; background: var(--raised); font-size: 0.92rem; font-weight: 600; }
.based { display: flex; align-items: center; gap: 8px; color: var(--muted); font: 500 0.82rem/1.3 var(--mono); }
.based svg { width: 16px; height: 16px; flex: none; }

/* ---------- Services and steps ---------- */

.services__list, .steps__list { display: grid; margin: 0; padding: 0; list-style: none; }
.services__list { gap: 32px 56px; }
.services__list li, .steps__list li { display: grid; gap: 8px; align-content: start; }
.services__list h3, .steps__list h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.services__list p, .steps__list p { max-width: 32rem; color: var(--muted); }

.spec {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 44px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--wash);
  font: 500 0.8rem/1.5 var(--mono);
  letter-spacing: 0.03em;
}
.spec strong { font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; }
.spec span { white-space: nowrap; }

.steps { background: var(--band); }
.steps__list { gap: 32px; counter-reset: step; }
.steps__list li { gap: 10px; counter-increment: step; }
.steps__list li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  justify-self: start;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  border-radius: 12px;
  background: var(--caption);
  color: var(--on-caption);
  font: 800 1.5rem/1 var(--display);
}

/* ---------- Contact and footer ---------- */

.contact { background: var(--contact-bg); color: var(--on-ink); --focus: var(--caption); }
.contact__in { display: grid; gap: 22px; justify-items: start; }
.contact__title {
  font-weight: 800;
  font-size: clamp(2.3rem, 4vw + 1rem, 4.2rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.contact__lede { max-width: 34rem; font-size: clamp(1.08rem, 0.4vw + 1rem, 1.25rem); }
.contact__note { max-width: 34rem; color: var(--on-ink-muted); }
.email { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 10px; min-width: 0; max-width: 100%; }
.email__addr {
  min-width: 0;
  color: var(--on-ink);
  font: 700 clamp(1.3rem, 2vw + 0.8rem, 2.1rem)/1.25 var(--display);
  letter-spacing: -0.02em;
  text-decoration: underline;
  text-decoration-color: var(--caption);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
  overflow-wrap: anywhere;
}
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 0; padding: 0; list-style: none; }
.socials a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--ink-soft);
  color: var(--on-ink);
  font-weight: 600;
  text-decoration: none;
}
.socials a:hover { background: var(--ink-softer); }
.socials a span { color: var(--on-ink-muted); font: 500 0.85rem/1 var(--mono); }

.foot { background: var(--foot-bg); color: var(--on-ink-muted); --focus: var(--caption); }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 26px; font-size: 0.9rem; }
.foot a { color: var(--on-ink); }

/* ---------- Video player ---------- */

.player {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding:
    max(14px, env(safe-area-inset-top, 0px))
    max(16px, env(safe-area-inset-right, 0px))
    max(14px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  border: 0;
  background: var(--player-bg);
  color: var(--on-ink);
  color-scheme: dark;
  --focus: var(--caption);
}
.player[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 14px; }
.player::backdrop { background: var(--player-bg); }

/* The stage is the same size for every video, so the arrows below and the close button
   above never move. Inside it, a strip of three slides (previous, current, next) follows
   your finger; site.js moves the strip and swaps which videos sit on each slide. */
.player__stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  touch-action: none; /* every touch here is a swipe or a tap that site.js handles */
}
.player__track {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 24px; /* same as GAP in site.js */
  transform: translateX(calc(-100% - 24px));
}
.slide {
  --ar: 0.5625; /* the video's width / height, set from the video itself */
  flex: 0 0 100%;
  min-width: 0;
  height: 100%;
  display: grid;
  place-items: center;
  padding-top: 58px;
  container-type: size;
}
.player__box {
  position: relative;
  width: min(100cqw, calc(100cqh * var(--ar)), calc(960px * var(--ar)));
  aspect-ratio: var(--ar);
}
.player__close {
  position: absolute;
  z-index: 2; /* above the sliding strip */
  top: max(14px, env(safe-area-inset-top, 0px));
  right: max(16px, env(safe-area-inset-right, 0px));
}
/* A bigger invisible target around the close button, so a slightly-off tap still counts. */
.player__close::after { content: ""; position: absolute; inset: -12px; }
.player__frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-deep);
  cursor: pointer;
}
/* Each slide shows an exact still of its video's first frame; the video covers it as soon as
   it has a picture of its own, so nothing flashes or jumps when a video starts. */
.player__still,
.player__frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.player__frame video { opacity: 0; }
.player__frame video.is-ready { opacity: 1; }

/* The player's own controls: a play sign while paused, a progress line you can drag, and a
   sound button. */
.player__paused {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.player__paused svg {
  width: 64px;
  height: 64px;
  padding: 16px 14px 16px 18px;
  border-radius: 50%;
  background: var(--chip);
  color: var(--on-ink);
}
.player__frame.is-paused .player__paused { opacity: 1; }
.player__frame.is-scrubbing .player__paused { opacity: 0; }

/* --p is how far through the video we are, from 0 to 1 (set in site.js). The strip is much
   taller than the line so a finger can grab it easily. */
.player__scrub {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 36px;
  cursor: pointer;
  touch-action: none;
}
.player__scrub:focus-visible { outline-offset: -4px; border-radius: 0 0 var(--radius) var(--radius); }
.player__rail {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  height: 3px;
  transition: height 0.15s;
}
.player__scrub:hover .player__rail,
.player__frame.is-scrubbing .player__rail { height: 5px; }
.player__progress {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  overflow: hidden;
  background: var(--progress-track);
}
.player__progress-fill {
  position: absolute;
  inset: 0;
  background: var(--on-ink);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}
.player__knob {
  position: absolute;
  top: 50%;
  left: calc(var(--p, 0) * 100%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  border-radius: 50%;
  background: var(--on-ink);
  box-shadow: 0 1px 4px var(--chip);
  transition: transform 0.15s;
}
.player__frame.is-scrubbing .player__knob { transform: scale(1.4); }
.player__time {
  position: absolute;
  left: 50%;
  bottom: 46px;
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--chip);
  color: var(--on-ink);
  font: 500 0.82rem/1 var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s;
  pointer-events: none;
}
.player__frame.is-scrubbing .player__time { opacity: 1; }
.player__sound {
  position: absolute;
  right: 10px;
  bottom: 40px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--chip);
  color: var(--on-ink);
  cursor: pointer;
}
.player__sound svg { width: 20px; height: 20px; }
.player__sound .i-off,
.player.is-muted .player__sound .i-on { display: none; }
.player.is-muted .player__sound .i-off { display: block; }
.player__frame.is-missing { cursor: default; }
.player__frame.is-missing .player__paused,
.player__frame.is-missing .player__scrub,
.player__frame.is-missing .player__time,
.player__frame.is-missing .player__sound { display: none; }
.player__missing {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--on-ink-muted);
  text-align: center;
}
.player__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-self: center;
  width: min(100%, 520px);
  height: 60px;
}
.player__info { flex: 1; min-width: 0; text-align: center; }
.player__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font: 700 1.05rem/1.25 var(--display);
}
.player__count { margin-top: 2px; color: var(--on-ink-muted); font: 500 0.75rem/1.2 var(--mono); font-variant-numeric: tabular-nums; }
.player__btn {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink-soft);
  color: var(--on-ink);
  cursor: pointer;
}
.player__btn:hover { background: var(--ink-softer); }
.player__btn svg { width: 18px; height: 18px; }

/* ---------- 404 page ---------- */

.lost { display: grid; gap: 28px; justify-items: start; padding-block: 18vh; }
.lost h1 { font-weight: 800; font-size: clamp(2.2rem, 4vw + 1rem, 4rem); line-height: 1.14; letter-spacing: -0.035em; }

/* ---------- Wider screens ---------- */

@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .services__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 760px) {
  .nav { display: flex; }
  .hero__in { grid-template-columns: minmax(0, 1fr) clamp(240px, 25vw, 300px); gap: clamp(40px, 6vw, 96px); }
  .hero__feature { display: block; }
  .about__in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); }
  .steps__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
}

@media (min-width: 1000px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rec--live, .cap--wipe { animation: none; }
  .card video, .btn, .cta__go svg, .theme-toggle { transition: none; }
  .card:hover video { transform: none; }
}
