/* Vayence Inc — tokens from Figma (v2) */
:root {
  --bg: #ffffff;
  --surface: #f7f6f6;
  --surface-2: #eeebeb;
  --surface-3: #e5e1e1; /* a step darker than the page, for inset panels */
  --ink: #1f1b1c;
  --ink-2: #4b4546;
  --muted: #766e6f;
  --line: #e8e4e4;
  --line-strong: #d4cdce;
  --brand: #ff797d;
  --brand-hover: #f6666b;
  --brand-ink: #d9444a;
  --brand-soft: #ffefef;
  --white: #ffffff;

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

  /* corner radii */
  --r-xl: 20px;  /* sections, video cards */
  --r-lg: 16px;  /* cards, photos */
  --r-md: 12px;  /* rows, inner cards */
  --r-sm: 10px;  /* icon boxes, fields, chips with corners */

  --pad-x: 56px;
  --pad-y: 72px;
  --gap: 12px;
  --inset: 48px; /* content inset inside full-bleed video cards */
}

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

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, p, ol, ul, dl, dd, figure, figcaption, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- Type styles ---------- */
.display { font-size: 96px; font-weight: 400; line-height: 0.96; letter-spacing: -0.045em; }
.display, .h2, .h3, .sensory__title { text-wrap: balance; }
.statement, .lead { text-wrap: pretty; }
.h2      { font-size: 56px; font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; }
.h3      { font-size: 30px; font-weight: 400; line-height: 1.15; letter-spacing: -0.025em; }
.title   { font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; }
.title-s { font-size: 18px; font-weight: 500; line-height: 1.3;  letter-spacing: -0.01em; }
.lead    { font-size: 20px; font-weight: 400; line-height: 1.5;  letter-spacing: -0.01em; color: var(--ink-2); }
.body    { font-size: 16px; font-weight: 400; line-height: 1.55; letter-spacing: -0.005em; }
.small   { font-size: 14px; font-weight: 400; line-height: 1.5; }
.label   { font-size: 13px; font-weight: 500; line-height: 1.3; }
.mission { font-size: 44px; font-weight: 400; line-height: 1.18; letter-spacing: -0.03em; color: var(--muted); }
.mission span { color: var(--ink); }

/* Two-tone editorial statement: ink lead-in, muted continuation */
.statement {
  max-width: 860px;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.22;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.statement--lg { max-width: 900px; font-size: 34px; line-height: 1.18; letter-spacing: -0.028em; }
.statement .muted { color: #a39b9c; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}

/* Lucide icons, inlined so they take currentColor */
.i { display: block; width: 1em; height: 1em; flex-shrink: 0; }

.muted { color: var(--muted); }
.ink-2 { color: var(--ink-2); }
.brand-ink { color: var(--brand-ink); }

/* ---------- Layout ---------- */
.page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

main { display: flex; flex-direction: column; gap: var(--gap); }

.section {
  border-radius: var(--r-xl);
  padding: var(--pad-y) var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.section--white { background: var(--bg); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.section__title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 700px;
}
.section__lead { max-width: 420px; flex-shrink: 0; }
.section__lead--wide { max-width: 460px; }

/* Label column + body column, separated from what's above by a hairline */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.split__body { display: flex; flex-direction: column; align-items: flex-start; gap: 32px; }
/* a split that opens its section needs no divider above it */
.section > .split:first-child { padding-top: 0; border-top: 0; }

.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Components ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--brand-ink);
  white-space: nowrap;
}

.pill {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
.btn img { transition: transform .2s ease; }
.btn:hover img { transform: translate(2px, -2px); }
.btn:focus-visible,
.nav__item:focus-visible,
.link-pill:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }

.btn--primary { background: var(--brand); color: var(--white); }
.btn--primary:hover { background: var(--brand-hover); }
.btn--secondary { background: var(--bg); color: var(--ink); border: 1px solid var(--line-strong); padding: 14px 22px; }
.btn--secondary:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark:hover { background: #3a3435; }
.btn--s { padding: 9px 14px; font-size: 13px; letter-spacing: 0; }

.icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--r-sm);
  background: var(--brand-soft);
  flex-shrink: 0;
}
.icon-box--lg { width: 64px; height: 64px; }

/* ---------- Header ----------
   Frosted bar floating over the hero video. JS sets --p from 0 (over the
   video: clear glass, white logo) to 1 (scrolled past it: white bar, ink). */
.header {
  --p: 1;
  --q: 1; /* foreground (logo, text) — flips faster than the glass fills in */
  position: fixed;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 50;
  width: min(1384px, calc(100% - 56px));
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  column-gap: 20px;
  padding: 6px 6px 6px 18px;
  background: rgb(255 255 255 / calc(.1 + .78 * var(--p)));
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgb(31 27 28 / calc(.08 * var(--p)));
}
.header.is-open,
.header.has-panel { --p: 1 !important; --q: 1 !important; }

.logo { display: block; flex-shrink: 0; }
/* the logo is dark artwork: flatten to black, then invert towards white */
.logo img { width: 124px; height: auto; filter: brightness(0) invert(calc(1 - var(--q))); }

/* Top-level items: label + chevron; underline on hover, panel on click */
.nav { display: flex; align-items: center; gap: 8px; }
.nav__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border: 0;
  background: none;
  color: color-mix(in srgb, var(--ink-2) calc(var(--q) * 100%), #fff);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
}
.nav__label { position: relative; }
.nav__label::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  border-radius: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.nav__item:hover,
.nav__item[aria-expanded="true"],
.nav__item[aria-current="page"] { color: color-mix(in srgb, var(--ink) calc(var(--q) * 100%), #fff); }
.nav__item:hover .nav__label::after,
.nav__item[aria-expanded="true"] .nav__label::after,
.nav__item[aria-current="page"] .nav__label::after { transform: scaleX(1); }
.nav__chevron { width: 14px; height: 14px; transition: transform .3s cubic-bezier(.2, .7, .2, 1); }
.nav__item[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

/* Dropdown panel: drops down from under the bar */
.nav__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 32px;
  padding: 28px;
  background: rgb(255 255 255 / .94);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgb(31 27 28 / .12);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0 round 14px);
  transform: translateY(-6px);
  transition: clip-path .45s cubic-bezier(.2, .7, .2, 1), opacity .25s ease, transform .45s cubic-bezier(.2, .7, .2, 1), visibility .45s;
}
.nav__group.is-open .nav__panel {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0 round 14px);
  transform: none;
}
.nav__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 8px 0; }
.nav__kicker { font-size: 13px; font-weight: 500; color: var(--brand-ink); }
.nav__blurb { max-width: 300px; font-size: 22px; line-height: 1.25; letter-spacing: -0.015em; color: var(--ink); }
.nav__all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.nav__all .i { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__all:hover .i { transform: translateX(3px); }
.nav__links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; align-content: start; }
.nav__link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0 6px;
  border-top: 1px solid var(--line);
}
.nav__link-title { font-size: 15px; font-weight: 500; color: var(--ink); transition: color .2s ease; }
.nav__link-desc { font-size: 13px; line-height: 1.4; color: var(--muted); }
.nav__link:hover .nav__link-title,
.nav__link:focus-visible .nav__link-title { color: var(--brand-ink); }
.nav__link:focus-visible { outline: none; }

.header__actions { display: flex; align-items: center; gap: 6px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / calc(.18 + .62 * var(--p)));
  cursor: pointer;
}
.menu-toggle:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 2px; }
.menu-toggle span {
  position: absolute;
  left: 12px;
  width: 14px;
  height: 1.5px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--ink) calc(var(--q) * 100%), #fff);
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), opacity .2s ease;
}
.menu-toggle span:nth-child(1) { top: 13.25px; }
.menu-toggle span:nth-child(2) { top: 18.25px; }
.menu-toggle span:nth-child(3) { top: 23.25px; }
.menu-toggle:hover span:nth-child(1) { transform: translateY(-1.5px); }
.menu-toggle:hover span:nth-child(3) { transform: translateY(1.5px); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- Videos ---------- */
.video__media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-block {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  /* fill the first screen; the header floats on top */
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  border-radius: var(--r-xl);
  background: var(--ink);
  isolation: isolate;
}
/* darken the bright studio wall so the white marks stay legible */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(31, 27, 28, .55) 0%, rgba(31, 27, 28, .2) 45%, rgba(31, 27, 28, 0) 70%),
    linear-gradient(180deg, rgba(31, 27, 28, .3) 0%, rgba(31, 27, 28, 0) 25%),
    linear-gradient(0deg, rgba(31, 27, 28, .3) 0%, rgba(31, 27, 28, 0) 30%);
}
.hero-video__award,
.hero-video__brand {
  position: absolute;
  z-index: 1;
  filter: drop-shadow(0 2px 16px rgba(0, 0, 0, .25));
}
.hero-video__award {
  left: var(--inset);
  bottom: var(--inset);
  width: clamp(120px, 20vw, 300px);
  height: auto;
}
.hero-video__brand {
  right: var(--inset);
  bottom: var(--inset);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.hero-video__mark { width: 20px; height: 20px; }

/* ---------- Hero: title | statement, then labelled rows ---------- */
.intro__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: start;
}
.intro__title {
  font-size: clamp(40px, 4.3vw, 62px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}
/* two fixed lines on wide screens */
.intro__title span { display: block; white-space: nowrap; }
.intro__lead { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.intro__lead > .small { max-width: 560px; color: var(--ink-2); }
.intro__lead .actions { margin-top: 8px; }

.rows { border-top: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 48px;
  align-items: baseline;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.row__body { display: flex; flex-direction: column; gap: 6px; }
.row__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}
.row__label .i { width: 15px; height: 15px; color: var(--brand-ink); }
.row__title { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; }
.row__desc { max-width: 620px; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* highlighted row breaks out slightly past the content edge */
.row--feature {
  align-items: stretch;
  margin: 8px -32px;
  padding: 32px;
  border-bottom: 0;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.row:has(+ .row--feature),
.row:last-child { border-bottom: 0; }
.row__aside { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.row__photo {
  position: relative;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--ink);
}
.row__photo img { width: 100%; height: 100%; object-fit: cover; }
.row__photo figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgb(255 255 255 / .85);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.row--feature .row__body { justify-content: flex-start; }
.row__stat {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 24px;
  font-size: 88px;
  line-height: 1;
  letter-spacing: -0.045em;
}
.row__stat .small { margin-top: 10px; letter-spacing: 0; color: var(--muted); }
.row__foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: auto;
  padding-top: 24px;
}
.row__foot .small { max-width: 460px; color: var(--muted); }

/* ---------- Media cards: full-width dark card over a video or photo ---------- */
.media-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  gap: 32px;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 560px;
  max-height: calc(100vh - 32px);
  max-height: calc(100svh - 32px);
  padding: var(--inset);
  border-radius: var(--r-xl);
  background: var(--ink);
  color: var(--white);
}
.media-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.media-card > .video__media,
.media-card__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.media-card__title {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* sensory overwhelm: title top-left, triggers bottom-right */
.sensory { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr auto; }
.sensory .video__media { filter: saturate(.6) brightness(.85); }
.sensory::after {
  background:
    linear-gradient(180deg, rgba(18, 15, 16, .78) 0%, rgba(18, 15, 16, .55) 45%, rgba(18, 15, 16, .85) 100%);
}
.sensory__title {
  grid-column: 1 / -1;
  align-self: start;
  max-width: 720px;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.sensory__title span { color: rgba(255, 255, 255, .55); }
.sensory__label {
  align-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .6);
}
/* stretch so every divider runs the same height; content stays top-aligned */
.sensory__stats { display: flex; align-items: stretch; align-self: end; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 190px;
  padding: 0 24px;
  border-left: 1px solid rgba(255, 255, 255, .28);
}

.stat__title { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; }
.stat__desc { font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .7); }

/* ---------- How it works ---------- */
.step__top { display: flex; }
.step__num { font-size: 13px; font-weight: 500; color: var(--muted); }
.step {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
  min-height: 340px;
  padding: 32px;
  background: var(--bg);
  border-radius: var(--r-lg);
}
.step__text { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Recognition: photo card, awards bottom-left ---------- */
.awards-card { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }
.awards-card .media-card__bg { object-position: 50% 12%; }
.awards-card::after {
  background:
    linear-gradient(0deg, rgba(18, 15, 16, .88) 0%, rgba(18, 15, 16, .35) 55%, rgba(18, 15, 16, .55) 100%),
    linear-gradient(90deg, rgba(18, 15, 16, .55) 0%, rgba(18, 15, 16, 0) 60%);
}
.awards-card__head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; max-width: 640px; }
.awards-card__lead { max-width: 420px; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.chip--glass { color: rgba(255, 255, 255, .7); }
.awards-list { align-self: end; width: min(640px, 100%); }
.awards-list li {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
}
.awards-list h3 { font-size: 20px; font-weight: 400; line-height: 1.3; letter-spacing: -0.015em; }
.awards-list p { margin-top: 2px; font-size: 13px; line-height: 1.45; color: rgba(255, 255, 255, .65); }
.awards-list__logo {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 72px;
  height: 44px;
}
.awards-list__logo img { width: auto; height: auto; max-width: 72px; max-height: 40px; }
.awards-list__text { flex: 1; min-width: 0; }
.awards-list__year {
  flex-shrink: 0;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
}

/* ---------- Partners: logo marquee ---------- */
.partners { overflow: hidden; }
.marquee {
  margin-inline: calc(-1 * var(--pad-x));
  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);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 88px; padding-right: 88px; }
.marquee__group img { width: auto; height: auto; max-width: 190px; max-height: 52px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Releases ---------- */
.posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  transition: background-color .25s ease;
}
.post-card:hover { background: var(--surface-2); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 22px 24px 24px; }
.post-card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.tag {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-ink);
  font-size: 12px;
  font-weight: 500;
}
.post-card__title { font-size: 22px; font-weight: 400; line-height: 1.25; letter-spacing: -0.015em; text-wrap: balance; }
.post-card__excerpt { font-size: 15px; line-height: 1.5; color: var(--muted); }
.post-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.post-card__more .i { width: 16px; height: 16px; transition: transform .2s ease; }
.post-card:hover .post-card__more .i { transform: translateX(3px); }
/* releases page: lead story spans two columns */
.posts--grid > .post-card:first-child { grid-column: span 2; }
.posts--grid > .post-card:first-child .post-card__media { aspect-ratio: 16 / 8; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14px;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.filter:hover { border-color: var(--ink); }
.filter[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }

.post-view { display: flex; flex-direction: column; gap: 40px; }
.post-view__back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
}
.post-view__back .i { width: 16px; height: 16px; }
.post-view__head { display: flex; flex-direction: column; gap: 16px; max-width: 880px; }
.post-view__title { font-size: clamp(36px, 4.4vw, 60px); font-weight: 400; line-height: 1.04; letter-spacing: -0.04em; text-wrap: balance; }
.post-view__media { aspect-ratio: 16 / 8; overflow: hidden; border-radius: var(--r-lg); background: var(--ink); }
.post-view__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.post-view__body { display: flex; flex-direction: column; gap: 20px; max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }
.post-view .quote { flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px; }
.post-view .quote__cite { flex-basis: auto; }
.post-view__more { display: flex; flex-direction: column; gap: 24px; padding-top: 32px; border-top: 1px solid var(--line); }

.subscribe__form { display: flex; flex-direction: column; gap: 8px; width: min(440px, 100%); }
.subscribe__form .newsletter__form { background: var(--surface); }

/* ---------- Products: featured case study ---------- */
.case {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--r-xl);
  background: var(--surface);
}
.case__media { display: block; min-height: 100%; overflow: hidden; background: var(--ink); }
.case__media img { width: 100%; height: 100%; min-height: 460px; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.case:hover .case__media img { transform: scale(1.03); }
.case__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; padding: 48px; }
.case__title { font-size: 56px; font-weight: 400; line-height: 1; letter-spacing: -0.04em; }
.case__lead { max-width: 480px; font-size: 17px; line-height: 1.55; color: var(--ink-2); }
.case__facts { align-self: stretch; margin: 8px 0 12px; }
.case__facts div { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-top: 1px solid var(--line-strong); }
.case__facts dt { font-size: 13px; color: var(--muted); }
.case__facts dd { font-size: 15px; color: var(--ink); }

/* breadcrumb on the dark product card */
.crumbs { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255, 255, 255, .6); }
.crumbs a { color: rgba(255, 255, 255, .85); transition: color .2s ease; }
.crumbs a:hover { color: var(--white); }
.crumbs [aria-current] { color: var(--white); }

/* ---------- Sub pages: clear the fixed header ---------- */
.subpage { padding-top: 76px; }
.product-hero .product-hero__head {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  max-width: 640px;
}
.product-hero .sensory__stats { grid-column: 2; }

/* ---------- About ---------- */
.about-row { display: flex; gap: 64px; }
.about__head { flex: 0 0 400px; }
.about__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.about__intro { max-width: 640px; }

/* ---------- Team ---------- */
.member {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 32px;
  background: var(--surface);
  border-radius: var(--r-lg);
}
.member__header { display: flex; align-items: center; gap: 18px; }
.avatar {
  width: 88px;
  height: 88px;
  flex-shrink: 0;
  border-radius: 999px;
  object-fit: cover;
  background: var(--surface-2);
}
.member__name { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  flex-shrink: 0;
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  transition: background-color .2s ease;
}
.link-pill:hover { background: var(--brand-soft); }

.career__row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--line-strong);
}
.career__row dt { flex: 0 0 110px; }
.career__row dd { flex: 1; min-width: 0; color: var(--ink); }
.career__row--muted dt,
.career__row--muted dd { color: var(--muted); }

.quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 40px 48px;
  background: var(--brand-soft);
  border-radius: var(--r-lg);
}
.quote__text {
  max-width: 820px;
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.quote__cite { flex: 0 0 300px; color: var(--brand-ink); }

/* ---------- Contact ---------- */
.contact-row { display: flex; gap: 80px; }
.contact__info {
  flex: 0 0 520px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.contact__info .lead { max-width: 500px; }
.email-card {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--brand-soft);
  border-radius: var(--r-md);
  overflow-wrap: anywhere;
  transition: background-color .2s ease;
}
.email-card:hover { background: #ffe4e4; }

.form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form__row { display: flex; gap: 16px; }
.form__row .field { flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.field__box {
  width: 100%;
  height: 52px;
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.field__box::placeholder { color: var(--muted); }
.field__box:hover { border-color: var(--line-strong); }
.field__box:focus { border-color: var(--brand); background: var(--bg); }
.field__box.is-invalid { border-color: var(--brand-ink); }
.field__box--area { height: 148px; padding: 16px 18px; resize: vertical; }
.field__select {
  appearance: none;
  padding-right: 44px;
  line-height: 1.2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23766e6f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  cursor: pointer;
}
.form__submit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; padding-top: 8px; }
.form__status { color: var(--brand-ink); }
.form__status:empty { display: none; }

/* ---------- Footer ---------- */
.footer {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding: 56px 40px 32px;
}
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.newsletter { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 440px; max-width: 100%; }
.newsletter__form {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 6px 6px 6px 22px;
  background: var(--bg);
  border: 1px solid transparent;
  border-radius: 999px;
  transition: border-color .2s ease;
}
.newsletter__form:focus-within { border-color: var(--brand); }
.newsletter__form input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.newsletter__form input::placeholder { color: var(--muted); }

.footer__cols { display: flex; gap: 72px; }
.footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__col a { color: var(--ink-2); transition: color .2s ease; }
.footer__col a.label { color: var(--muted); }
.footer__col a:hover { color: var(--brand-ink); }

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-strong);
}
.footer__disclaimer { max-width: 560px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee__group { flex-wrap: wrap; justify-content: center; gap: 40px 64px; padding: 0 var(--pad-x); width: 100vw; max-width: 100%; }
  .btn, .btn img { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .display { font-size: 80px; }
  .statement--lg { font-size: 32px; }
  .contact-row { gap: 56px; }
  .contact__info { flex-basis: 42%; }
  .quote__text { font-size: 24px; }
  .stat { width: 160px; padding: 0 20px; }
  .sensory__title { font-size: 48px; }
}

@media (max-width: 1100px) {
  :root { --pad-x: 40px; --pad-y: 56px; --inset: 32px; }

  /* header: logo + CTA + menu button on one row; the nav drops down below
     as an accordion (each group expands its own links) */
  .menu-toggle { display: block; }
  .nav {
    order: 3;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height .5s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, padding .5s cubic-bezier(.2, .7, .2, 1), visibility .5s;
  }
  .header.is-open .nav { max-height: 80vh; padding: 8px 0 4px; opacity: 1; visibility: visible; overflow-y: auto; }
  .nav__group {
    border-top: 1px solid var(--line);
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity .3s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
  }
  .header.is-open .nav__group { opacity: 1; transform: none; }
  .header.is-open .nav__group:nth-child(2) { transition-delay: .05s; }
  .header.is-open .nav__group:nth-child(3) { transition-delay: .1s; }
  .nav__item { width: 100%; justify-content: space-between; padding: 15px 6px; font-size: 17px; letter-spacing: -0.01em; }
  .nav__label::after { display: none; }
  .nav__item[aria-current="page"] { color: var(--brand-ink); }
  .nav__chevron { width: 18px; height: 18px; }
  .nav__panel {
    position: static;
    display: block;
    max-height: 0;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
    border-radius: 0;
    clip-path: none;
    transform: none;
    overflow: hidden;
    transition: max-height .45s cubic-bezier(.2, .7, .2, 1), opacity .3s ease, visibility .45s;
  }
  .nav__group.is-open .nav__panel { max-height: 420px; padding-bottom: 10px; }
  .nav__intro { display: none; }
  .nav__links { grid-template-columns: 1fr; gap: 0; }
  .nav__link { padding: 11px 6px 11px 14px; border-top: 0; }
  .nav__link-desc { display: none; }

  .h2 { font-size: 48px; }
  .mission { font-size: 36px; }
  .display { font-size: 72px; }
  .statement { font-size: 26px; }
  .statement--lg { font-size: 28px; }

  .split { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .intro__head { grid-template-columns: 1fr; gap: 28px; }
  .intro__title { font-size: 56px; }
  .row { grid-template-columns: 1fr; gap: 8px; }
  .row--feature { grid-template-columns: 1fr; margin: 8px -20px; padding: 24px 20px; }
  .row__aside { flex-direction: row; align-items: flex-start; gap: 16px; }
  .row__photo { max-width: none; }
  .media-card__title { font-size: 44px; }
  .awards-card { aspect-ratio: auto; max-height: none; min-height: 680px; }
  .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .posts > .post-card:nth-child(3):last-child { display: none; }
  .marquee__group { gap: 64px; padding-right: 64px; }
  .marquee__group img { max-width: 150px; max-height: 44px; }

  .sensory {
    aspect-ratio: auto;
    max-height: none;
    min-height: 600px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr auto auto;
    gap: 24px;
  }
  .sensory__title { font-size: 42px; }
  .sensory__stats { display: grid; grid-template-columns: repeat(2, 1fr); align-items: stretch; gap: 28px 0; }
  .product-hero .sensory__stats { grid-column: auto; }
  .stat { width: auto; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section__lead, .section__lead--wide { max-width: 640px; }

  .grid--3 { grid-template-columns: 1fr; }
  .step { min-height: 240px; }


  .about-row { flex-direction: column; gap: 32px; }
  .about__head { flex-basis: auto; }

  .grid--2 { grid-template-columns: 1fr; }
  .quote { flex-direction: column; align-items: flex-start; gap: 20px; padding: 32px; }
  .quote__cite { flex-basis: auto; }

  .contact-row { flex-direction: column; gap: 48px; }
  .contact__info { flex-basis: auto; }

  .footer { padding: 48px var(--pad-x) 32px; }
  .footer__top { flex-direction: column; }
  .footer__cols { flex-wrap: wrap; gap: 40px 56px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
  :root { --pad-x: 20px; --pad-y: 44px; --gap: 8px; --inset: 20px; --r-xl: 16px; --r-lg: 14px; }
  html { scroll-padding-top: 76px; }

  .page { padding: 8px; }
  .header { top: 16px; width: calc(100% - 32px); padding: 5px 5px 5px 14px; border-radius: 12px; column-gap: 12px; }
  .logo img { width: 104px; }
  .header__cta { padding: 8px 12px; font-size: 12px; }
  .header__cta img { display: none; }
  .menu-toggle { width: 34px; height: 34px; }
  .menu-toggle span { left: 10px; }
  .menu-toggle span:nth-child(1) { top: 11.25px; }
  .menu-toggle span:nth-child(2) { top: 16.25px; }
  .menu-toggle span:nth-child(3) { top: 21.25px; }

  .display { font-size: 46px; letter-spacing: -0.04em; }
  .h2 { font-size: 34px; }
  .h3 { font-size: 24px; }
  .title { font-size: 19px; }
  .lead { font-size: 17px; }
  .mission { font-size: 26px; }
  .quote__text { font-size: 19px; }
  .statement { font-size: 21px; line-height: 1.28; }
  .statement--lg { font-size: 22px; line-height: 1.26; }

  .section { gap: 32px; }
  .section__title { gap: 16px; }

  /* phone: taller crop so the overlaid marks have room under the header */
  .hero-video { aspect-ratio: 4 / 5; max-height: none; }
  .hero-video__award { width: 38%; }
  .hero-video__brand { gap: 6px; font-size: 12px; }
  .hero-video__mark { width: 14px; height: 14px; }
  .split__body { gap: 24px; }
  .intro__title { font-size: 40px; }
  .intro__title span { white-space: normal; }
  .intro__lead { gap: 16px; }
  .row { padding: 20px 0; }
  .row__title { font-size: 18px; }
  .row--feature { grid-template-columns: 1fr; margin: 6px -12px; padding: 20px 16px; }
  .row__aside { flex-direction: column; gap: 16px; }
  .row__stat { margin-top: 16px; font-size: 64px; }
  .row__foot { flex-direction: column; align-items: flex-start; gap: 16px; }
  .media-card__title { font-size: 30px; }
  .awards-card { min-height: 640px; gap: 24px; }
  .awards-card__lead { font-size: 15px; }
  .awards-list h3 { font-size: 17px; }
  .awards-list__year { font-size: 22px; }
  .awards-list li { gap: 14px; }
  .awards-list__logo { flex-basis: 52px; height: 36px; }
  .awards-list__logo img { max-width: 52px; max-height: 32px; }
  .marquee__group { gap: 48px; padding-right: 48px; }
  .marquee__group img { max-width: 120px; max-height: 36px; }
  .posts, .posts--grid { grid-template-columns: 1fr; }
  .posts > .post-card:nth-child(3):last-child { display: flex; }
  .posts--grid > .post-card:first-child { grid-column: auto; }
  .posts--grid > .post-card:first-child .post-card__media { aspect-ratio: 16 / 10; }
  .post-card__body { padding: 18px 18px 20px; }
  .post-card__title { font-size: 19px; }
  .post-view { gap: 28px; }
  .post-view__body { font-size: 16px; }
  .subpage { padding-top: 60px; }

  .sensory { min-height: 0; aspect-ratio: 3 / 4; gap: 20px; }
  .sensory__title { font-size: 30px; }
  .sensory__stats { gap: 20px 0; }
  .stat { padding: 0 12px; gap: 4px; }
  .stat__title { font-size: 22px; }
  .stat__desc { font-size: 12px; }

  .grid--3 { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 24px; gap: 28px; }
  .case { grid-template-columns: 1fr; }
  .case__media img { min-height: 0; aspect-ratio: 4 / 3; }
  .case__body { padding: 24px 20px 28px; }
  .case__title { font-size: 40px; }
  .case__facts div { grid-template-columns: 96px minmax(0, 1fr); }

  .member { padding: 20px; gap: 22px; }
  .member__header { flex-wrap: wrap; gap: 12px 14px; }
  .avatar { width: 64px; height: 64px; }
  .member__name { flex: 1 1 calc(100% - 80px); }
  .member__name .h3 { font-size: 22px; }
  .member__header .link-pill { margin-left: 78px; }
  .email-card { padding: 16px 18px; }
  .email-card .title { font-size: 17px; }
  .career__row { flex-direction: column; gap: 2px; padding: 12px 0; }
  .career__row dt { flex-basis: auto; }

  .quote { padding: 22px 20px; }
  .form__row { flex-direction: column; }
  .footer { padding: 40px var(--pad-x) 28px; gap: 40px; }
  .footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; }
  .footer__col:last-child { grid-column: 1 / -1; }
  .actions { width: 100%; }
  .actions .btn { flex: 1 1 100%; justify-content: center; }
}
