@font-face {
  font-family: "VCR OSD Mono";
  src: url("fonts/VCR_OSD_MONO.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --night: #030309;
  --night-2: #0d0e18;
  --night-line: #24263a;
  --night-line-strong: #3a3d55;
  --night-ink: #f2f3f8;
  --night-soft: #aab2c8;

  --paper: #f6f5f0;
  --paper-tint: #eeece4;
  --card: #ffffff;
  --sage: #e8efeb;
  --ink: #12141b;
  --ink-body: #3b404d;
  --ink-mute: #6b7180;
  --line: #e3e0d7;
  --line-strong: #cbc6b8;

  --blue: #4574c7;
  --blue-deep: #3462c4;
  --on-blue: #05080f;
  --orange: #ff9000;
  --teal: #16ceb9;
  --teal-deep: #0b7d70;

  --metlok-orange: #f5653f;
  --metlok-forest: #0f281c;
  --metlok-mist: #b7dbd2;
  --metlok-paper: #eaece2;

  --client-accent: var(--metlok-orange);
  --client-deep: var(--metlok-forest);
  --client-deep-2: #1d4a35;
  --client-mist: var(--metlok-mist);
  --client-paper: var(--metlok-paper);

  --font-display: "VCR OSD Mono", ui-monospace, monospace;
  --font-mono: "Inconsolata", ui-monospace, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: min(1160px, calc(100% - 40px));
  --r-lg: 16px;
  --r: 12px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(18, 20, 27, 0.04), 0 18px 40px -18px rgba(18, 20, 27, 0.18);
  --shadow-soft: 0 1px 2px rgba(18, 20, 27, 0.04), 0 10px 24px -14px rgba(18, 20, 27, 0.14);
}

.study-rab {
  --client-accent: #e83040;
  --client-deep: #0d315f;
  --client-deep-2: #1a508f;
  --client-mist: #b7cbe4;
  --client-paper: #f4f1ea;
}

.study-rab .hero-card-brand img { width: 78px; }

.study-rab .hero-photo img { object-position: center center; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

button,
a { font: inherit; color: inherit; }

button { cursor: pointer; }

a { text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 60;
  background: var(--night);
  color: var(--night-ink);
  padding: 8px 14px;
  border-radius: var(--r-sm);
}

.skip:focus { top: 12px; }

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

figure { margin: 0; }

/* ---------- Type ---------- */

h1,
h2,
.wordmark,
.stat-value,
.node-num,
.rail-num {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  margin: 0 0 22px;
  color: var(--ink);
}

h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.3rem);
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
}

h3 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  color: var(--ink);
}

p {
  margin: 0 0 14px;
  color: var(--ink-body);
}

p:last-child { margin-bottom: 0; }

.tag,
.kicker,
.pill,
.claim-label {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: var(--blue-deep);
}

.tag::before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--blue);
}

.kicker {
  margin: 0 0 8px;
  color: var(--blue-deep);
}

.lede {
  font-size: 1.1rem;
  max-width: 52ch;
}

.text-link {
  color: var(--teal-deep);
  font-weight: 600;
}

.section {
  padding: 96px 0;
}

.section-tint { background: var(--paper-tint); }

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.section-intro {
  max-width: 48ch;
  font-size: 1.05rem;
  margin: 0;
}

/* ---------- Agency band (UPPR Hand chrome and about) ---------- */

.agency {
  background:
    radial-gradient(720px 360px at 100% 0%, rgba(69, 116, 199, 0.16), rgba(69, 116, 199, 0) 70%),
    radial-gradient(560px 300px at 0% 100%, rgba(22, 206, 185, 0.1), rgba(22, 206, 185, 0) 70%),
    var(--night);
  color: var(--night-ink);
  border-bottom: 3px solid var(--blue);
}

.topbar { border-bottom: 1px solid var(--night-line); }

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.wordmark {
  text-decoration: none;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--night-ink);
}

.topbar-end {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topbar-label {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--night-soft);
}

.topbar-cta {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--blue);
  color: var(--on-blue);
  text-decoration: none;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.about { padding: 56px 0 48px; }

.about-grid {
  display: grid;
  gap: 32px;
}

.about-statement {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.45rem, 3.2vw, 2.25rem);
  line-height: 1.1;
  color: var(--night-ink);
  margin: 0 0 16px;
}

.about-copy p:not(.tag):not(.about-statement) {
  color: var(--night-soft);
  font-size: 1.05rem;
  max-width: 54ch;
}

.about-stats {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--night-line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.03);
  align-self: end;
}

.about-stats div {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 6px;
  padding: 20px 18px;
}

.about-stats div + div { border-left: 1px solid var(--night-line); }

.about-stats dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--night-soft);
  line-height: 1.35;
}

.about-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.05;
  white-space: nowrap;
  color: var(--night-ink);
}

.about-reach {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 32px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
}

.reach-line {
  margin: 0;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  line-height: 1.15;
  color: var(--night-ink);
}

.reach-hq {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--night-soft);
}

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

.hero {
  position: relative;
  padding: 72px 0 88px;
  background:
    radial-gradient(900px 420px at 88% 0%, color-mix(in srgb, var(--client-mist) 45%, transparent), transparent 70%),
    radial-gradient(700px 360px at 0% 100%, color-mix(in srgb, var(--client-accent) 8%, transparent), transparent 70%),
    var(--paper);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--night);
  color: var(--night-ink);
}

.pill-label { color: var(--blue); }

.pill-divider {
  width: 1px;
  height: 12px;
  background: var(--night-line-strong);
}

.beats {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  gap: 10px;
}

.beats li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-weight: 500;
}

.beats li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--client-accent);
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.hero-frame { position: relative; }

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 24px -16px -24px 24px;
  border-radius: var(--r-lg);
  background: linear-gradient(140deg, var(--client-deep) 0%, var(--client-deep-2) 100%);
  z-index: 0;
}

.hero-photo {
  position: relative;
  z-index: 1;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-card {
  position: relative;
  z-index: 2;
  margin: -56px 16% 0 -12px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-card-brand {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--client-deep);
}

.hero-card-brand img { width: 92px; height: auto; }

.hero-card dl {
  margin: 0;
  padding: 16px 20px 0;
  display: grid;
  gap: 10px;
}

.hero-card dt {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero-card dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
}

.swatches {
  display: flex;
  gap: 6px;
  padding: 14px 20px 16px;
}

.swatches i {
  display: block;
  width: 26px;
  height: 8px;
  border-radius: 2px;
}

.sw-orange { background: var(--client-accent); }
.sw-forest { background: var(--client-deep); }
.sw-mist { background: var(--client-mist); }
.sw-paper { background: var(--client-paper); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* ---------- Results bento ---------- */

.section-results {
  padding-top: 88px;
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.bento {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.claim {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}

.claim::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  width: 44px;
  height: 3px;
  background: var(--teal);
}

.claim-label { color: var(--ink-mute); }

.stat-value {
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  margin: 4px 0 0;
  color: var(--ink);
}

.claim-text {
  margin: auto 0 0;
  font-size: 1rem;
  color: var(--ink-body);
  max-width: 44ch;
}

.claim-revenue {
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(69, 116, 199, 0.22), rgba(69, 116, 199, 0) 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(22, 206, 185, 0.14), rgba(22, 206, 185, 0) 70%),
    var(--night);
  border-color: var(--night);
  color: var(--night-ink);
  min-height: 300px;
}

.study-metlok .claim-revenue {
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(69, 116, 199, 0.22), rgba(69, 116, 199, 0) 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(22, 206, 185, 0.14), rgba(22, 206, 185, 0) 70%),
    linear-gradient(0deg, rgba(3, 3, 9, 0.92) 0%, rgba(3, 3, 9, 0) 42%),
    linear-gradient(90deg, var(--night) 0%, rgba(3, 3, 9, 0.9) 40%, rgba(3, 3, 9, 0.5) 75%, rgba(3, 3, 9, 0.2) 100%),
    url("metlok-roofing/assets/photos/roof-tiles.webp") 70% center / cover no-repeat,
    var(--night);
}

.study-rab .claim-revenue {
  background:
    radial-gradient(520px 300px at 100% 0%, rgba(69, 116, 199, 0.22), rgba(69, 116, 199, 0) 70%),
    radial-gradient(420px 260px at 0% 100%, rgba(22, 206, 185, 0.14), rgba(22, 206, 185, 0) 70%),
    linear-gradient(0deg, rgba(3, 3, 9, 0.92) 0%, rgba(3, 3, 9, 0) 42%),
    linear-gradient(90deg, var(--night) 0%, rgba(3, 3, 9, 0.9) 40%, rgba(3, 3, 9, 0.5) 75%, rgba(3, 3, 9, 0.2) 100%),
    url("real-american-beer/assets/photos/cooler-cans.jpg") 70% center / cover no-repeat,
    var(--night);
}

.claim-revenue::before { background: var(--blue); }

.claim-revenue .claim-label { color: var(--orange); }

.claim-revenue .stat-value { color: var(--night-ink); }

.stat-xl { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 10ch; }

.claim-revenue .claim-text { color: var(--night-soft); }

.claim-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.claim-note {
  margin: 8px 0 0;
  font-size: 0.92rem;
  color: var(--ink-mute);
  line-height: 1.45;
}

.claim-wide .claim-text { margin: 0; }

/* ---------- Strategy and execution ---------- */

.start-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

.start-banner {
  position: relative;
  margin: 40px 0 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 2.6 / 1;
  background: #0a0a0c;
  box-shadow: var(--shadow);
}

.start-banner > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 18%;
}

.start-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(3, 3, 9, 0.42), rgba(3, 3, 9, 0.08) 46%, rgba(3, 3, 9, 0.28) 100%);
}

.start-banner-mark {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.start-banner-mark img:first-child {
  width: min(36%, 340px);
  height: auto;
}

.start-banner-flag {
  width: 64px;
  height: auto;
  margin-top: 4px;
}

.start-banner-mark p {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(0.78rem, 1.5vw, 1.15rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}

.start-grid h2 { margin-bottom: 20px; }

.start-grid p { max-width: 58ch; font-size: 1.05rem; }

.before-card {
  background: var(--night);
  color: var(--night-ink);
  border-radius: var(--r-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
}

.before-title {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 18px;
}

.before-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}

.before-card li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  font-size: 1.08rem;
  font-weight: 500;
}

.before-card li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--night-line);
  transform-origin: left center;
}

.before-card li span {
  font-family: var(--font-display);
  color: var(--teal);
  font-size: 0.95rem;
}

.before-card.is-armed .before-title,
.before-card.is-armed li {
  opacity: 0;
  transform: translateY(-14px);
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.before-card.is-armed li::before {
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.6, 0, 0.2, 1);
}

.before-card.is-in .before-title,
.before-card.is-in li {
  opacity: 1;
  transform: none;
}

.before-card.is-in li::before { transform: scaleX(1); }

.before-card.is-in li:nth-child(1),
.before-card.is-in li:nth-child(1)::before { transition-delay: 0.2s; }

.before-card.is-in li:nth-child(2),
.before-card.is-in li:nth-child(2)::before { transition-delay: 0.42s; }

.before-card.is-in li:nth-child(3),
.before-card.is-in li:nth-child(3)::before { transition-delay: 0.64s; }

/* ---------- Image treatments ---------- */

.split-card {
  display: grid;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.split-copy {
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-media {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.split-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255, 255, 255, 0) 18%);
}

.float-caption {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}

.family-banner {
  position: relative;
  margin-top: 28px;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--client-deep);
  box-shadow: var(--shadow-soft);
  display: grid;
}

.family-banner img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.family-banner figcaption {
  position: relative;
  padding: 26px 28px 30px;
  background: var(--client-deep);
}

.family-banner figcaption::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 90px;
  background: linear-gradient(0deg, var(--client-deep) 0%, transparent 100%);
}

.family-banner .kicker { color: var(--client-accent); }

.family-banner p { color: var(--client-paper); font-size: 1.05rem; }

.product-mat {
  margin-top: 28px;
  padding: 28px;
  border-radius: var(--r-lg);
  background: linear-gradient(135deg, var(--sage) 0%, #f3f2ec 100%);
  border: 1px solid #d9e3dd;
  display: grid;
  gap: 20px;
  align-items: center;
}

.product-copy p { max-width: 40ch; }

.plate {
  background: var(--card);
  border-radius: var(--r);
  padding: 8px 8px 0;
  box-shadow: var(--shadow-soft);
}

.plate img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--r-sm);
}

.plate figcaption {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 10px 6px 12px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
}

.plate figcaption span {
  font-family: var(--font-display);
  color: var(--blue-deep);
  font-size: 0.85rem;
}

/* ---------- Switch basics ---------- */

.switch-panel[hidden] { display: none !important; }

/* Markets */

.segmented {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 5px;
  margin: 0 0 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

.segmented button {
  border: 0;
  background: transparent;
  color: var(--ink-body);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.segmented button:hover { color: var(--ink); background: var(--paper); }

.segmented button[aria-expanded="true"] {
  background: var(--night);
  color: var(--night-ink);
}

.market-panel:not([hidden]) {
  display: grid;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.market-panel .split-media { min-height: 280px; }

.market-copy {
  padding: 30px 32px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.market-copy h3 { font-size: 1.45rem; }

/* Work console */

.console {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.switch-item { border-bottom: 1px solid var(--line); }

.switch-item:last-child { border-bottom: 0; }

.switch-item h3 { position: relative; margin: 0; font-size: inherit; }

.switch-timer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

.switch-item button { position: relative; }

.switch.is-autoplay .switch-item.is-open .switch-timer,
.switch.is-autoplay .flow button[aria-expanded="true"] .switch-timer { animation: switch-timer var(--autoplay, 8s) linear forwards; }

.switch.is-autoplay.is-paused .switch-item.is-open .switch-timer,
.switch.is-autoplay.is-paused .flow button[aria-expanded="true"] .switch-timer { animation-play-state: paused; }

@keyframes switch-timer { to { transform: scaleX(1); } }

.switch-item button {
  width: 100%;
  display: flex;
  align-items: baseline;
  gap: 14px;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 18px 22px;
  color: var(--ink);
  transition: background 0.15s ease;
}

.switch-item button:hover { background: var(--paper); }

.switch-item button[aria-expanded="true"] {
  background: var(--paper);
  box-shadow: inset 3px 0 0 var(--blue);
}

.rail-num {
  font-size: 0.9rem;
  color: var(--ink-mute);
  flex: none;
}

.switch-item button[aria-expanded="true"] .rail-num { color: var(--blue-deep); }

.rail-title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.switch-item .switch-panel { padding: 0 22px 24px; }

.stage-photo {
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--paper-tint);
}

.stage-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stage-photo-tall img { object-position: center 30%; }

.stage-creatives {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding: 28px 32px;
  aspect-ratio: 16 / 9;
  border-radius: var(--r);
  background:
    radial-gradient(420px 220px at 90% 0%, color-mix(in srgb, var(--client-mist) 90%, transparent), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, color-mix(in srgb, var(--client-accent) 16%, transparent), transparent 70%),
    var(--sage);
  overflow: hidden;
}

.stage-creatives img {
  height: 100%;
  width: auto;
  max-width: 30%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 20px 40px -20px rgba(18, 20, 27, 0.45);
}

.stage-creatives img:nth-child(1) { transform: rotate(-4deg) translateY(10px); }
.stage-creatives img:nth-child(2) { position: relative; z-index: 1; transform: scale(1.06); }
.stage-creatives img:nth-child(3) { transform: rotate(4deg) translateY(10px); }

.stage-browser {
  border-radius: var(--r);
  padding: 28px 28px 0;
  background:
    radial-gradient(420px 220px at 90% 0%, color-mix(in srgb, var(--client-mist) 90%, transparent), transparent 70%),
    radial-gradient(360px 200px at 0% 100%, color-mix(in srgb, var(--client-accent) 16%, transparent), transparent 70%),
    var(--sage);
  overflow: hidden;
}

.browser {
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 20px 40px -20px rgba(18, 20, 27, 0.35);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 12px;
  background: var(--night);
}

.dots { display: inline-flex; gap: 6px; }

.dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dots i:nth-child(1) { background: var(--blue); }
.dots i:nth-child(2) { background: var(--orange); }
.dots i:nth-child(3) { background: var(--teal); }

.url {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--night-soft);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 999px;
  padding: 2px 12px;
}

.browser img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top center;
}

.stage-copy { padding-top: 22px; }

.stage-copy p { max-width: 62ch; }

.stage-solo { padding-top: 8px; }

.stage-lead {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  max-width: 28ch;
}

.aside-note {
  font-size: 0.92rem;
  color: var(--ink-mute);
  padding-left: 14px;
  border-left: 2px solid var(--line-strong);
}

.stage-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-metrics span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  color: var(--ink-body);
}

.stage-metrics strong {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--ink);
  margin-right: 4px;
}

.scope-quote {
  margin: 32px 0 0;
  padding: 30px 34px;
  border-radius: var(--r-lg);
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  box-shadow: var(--shadow-soft);
}

.scope-quote p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink);
  font-weight: 500;
  max-width: 72ch;
}

.work-close {
  display: grid;
  gap: 18px;
  margin-top: 32px;
  align-items: stretch;
}

.work-close .scope-quote {
  margin: 0;
  display: flex;
  align-items: center;
}

.work-photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-soft);
}

.work-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* System flow */

.flow {
  position: relative;
  display: grid;
  gap: 12px;
  margin: 0 0 20px;
}

.flow button {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
  text-align: left;
  padding: 20px 20px 18px;
  border-radius: var(--r);
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.flow button:hover { border-color: var(--line-strong); }

.node-num { font-size: 0.9rem; color: var(--blue-deep); }

.node-title { font-weight: 600; font-size: 1.05rem; }

.node-metric { font-size: 0.9rem; color: var(--ink-mute); }

.flow button[aria-expanded="true"] {
  background: var(--night);
  border-color: var(--night);
  color: var(--night-ink);
}

.flow button[aria-expanded="true"] .node-num { color: var(--teal); }

.flow button[aria-expanded="true"] .node-metric { color: var(--night-soft); }

.flow button .switch-timer {
  left: 16px;
  right: 16px;
  bottom: 0;
  background: var(--teal);
}

.flow-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-soft);
}

.flow-lead {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
  max-width: 60ch;
}

.study-metlok-v2 .path {
  list-style: none;
  position: relative;
  margin: 0;
  padding: 6px 0;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: inset 3px 0 0 var(--blue), var(--shadow-soft);
}

.study-metlok-v2 .path::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 34px;
  bottom: 34px;
  width: 10px;
  background:
    linear-gradient(color-mix(in srgb, var(--blue) 55%, var(--line)), color-mix(in srgb, var(--blue) 55%, var(--line))) center / 2px 100% no-repeat,
    radial-gradient(circle at 50% 4px, var(--blue-deep) 4px, transparent 4.5px),
    radial-gradient(circle at 50% calc(100% - 4px), var(--blue-deep) 4px, transparent 4.5px);
}

.study-metlok-v2 .path li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 4px 8px;
  align-items: start;
  margin: 0;
  padding: 22px 22px 22px 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.study-metlok-v2 .path li + li { border-top: 1px solid var(--line); }

.study-metlok-v2 .path-num {
  grid-row: 1 / span 2;
  align-self: start;
  justify-self: center;
  width: max-content;
  margin: 0;
  padding: 2px 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: 0.02em;
  text-align: center;
  color: var(--blue-deep);
  background: var(--card);
  position: relative;
  z-index: 1;
}

.study-metlok-v2 .path h3 { margin: 0; font-size: 1.15rem; }

.study-metlok-v2 .path-metric {
  display: inline-block;
  margin: 8px 0 0;
  padding: 4px 12px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.85rem;
  line-height: 1.3;
  color: var(--ink-body);
}

.study-metlok-v2 .path-copy { grid-column: 2; }

.study-metlok-v2 .path-lead {
  margin: 10px 0 6px;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--ink);
}

.study-metlok-v2 .path-copy p:last-child { margin: 0; }

.stack-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  padding: 4px 30px 6px;
}

.stack-step {
  padding: 22px 0 24px;
}

.stack-step + .stack-step {
  border-top: 1px solid var(--line);
}

.stack-kicker {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 4px;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
}

.stack-kicker span {
  color: var(--blue-deep);
  font-variant-numeric: tabular-nums;
}

.stack-label {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--ink-mute);
}

.stack-step .flow-lead { margin-bottom: 8px; }

/* Gallery */

.gallery {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-tint);
  box-shadow: var(--shadow-soft);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.tile:hover img { transform: scale(1.04); }

.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(3, 3, 9, 0.72) 0%, rgba(3, 3, 9, 0) 46%);
  pointer-events: none;
}

.tile-caption {
  position: absolute;
  z-index: 1;
  left: 18px;
  right: 18px;
  bottom: 16px;
  text-align: left;
  color: #ffffff;
  font-weight: 500;
  font-size: 0.95rem;
}

.reel-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px 16px;
  grid-template-columns: minmax(0, 300px);
  justify-content: center;
}

.reel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.reel-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--night);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.reel-frame iframe {
  position: absolute;
  top: -54px;
  left: -1px;
  width: calc(100% + 2px);
  height: calc(100% + 54px);
  border: 0;
  pointer-events: none;
}

.reel-hit {
  position: absolute;
  inset: 0;
  z-index: 1;
  cursor: pointer;
}

a.reel-frame {
  display: block;
}

.reel-frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reel-fallback {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  text-decoration: none;
}

#zero .section-head { grid-template-columns: 1fr; }

.zero-grid {
  display: grid;
  gap: 32px;
  align-items: stretch;
}

.zero-intro {
  margin: 0 0 28px;
  max-width: 68ch;
  font-size: 1.05rem;
}

.zero-video {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  min-height: 0;
}

.video-frame {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--night);
  box-shadow: var(--shadow);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.zero-video figcaption {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: center;
}

#zero .zero-result {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
}

#zero .zero-result p {
  margin: 0;
  max-width: none;
}

.device {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex: none;
}

.device img {
  width: min(180px, 52vw);
  height: auto;
  display: block;
}

dialog.lightbox {
  width: min(1080px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  padding: 18px;
  border: 0;
  border-radius: var(--r-lg);
  background: var(--night);
  color: var(--night-ink);
}

dialog.lightbox::backdrop { background: rgba(3, 3, 9, 0.82); }

.lightbox img {
  width: auto;
  max-width: 100%;
  max-height: 74vh;
  height: auto;
  margin-inline: auto;
  border-radius: var(--r-sm);
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
  margin-top: 14px;
}

.lightbox-bar p { margin: 0; color: var(--night-soft); }

.lightbox-close {
  border: 1px solid var(--night-line);
  background: var(--night-2);
  color: var(--night-ink);
  padding: 8px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 12px;
}

/* Takeaway */

#close { padding-top: 0; }

.takeaway {
  display: grid;
  gap: 36px;
  padding: 52px 44px;
  border-radius: 20px;
  background:
    radial-gradient(600px 320px at 100% 0%, rgba(69, 116, 199, 0.18), rgba(69, 116, 199, 0) 70%),
    radial-gradient(500px 300px at 0% 100%, rgba(22, 206, 185, 0.12), rgba(22, 206, 185, 0) 70%),
    var(--night);
  color: var(--night-ink);
  box-shadow: var(--shadow);
}

.takeaway h2 { color: var(--night-ink); margin-bottom: 20px; }

.takeaway p { color: var(--night-soft); font-size: 1.05rem; }

.tag-dark { color: var(--blue); }

.takeaway-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--night-line);
}

.takeaway .takeaway-quote {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.3rem;
  line-height: 1.35;
  color: var(--night-ink);
  margin: 0 0 24px;
}

.close-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(242, 243, 248, 0.3);
  color: var(--night-ink);
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 13px;
}

.btn-solid {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--on-blue);
}

.site-footer {
  padding: 28px 0 40px;
  color: var(--ink-mute);
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

/* ---------- Desktop ---------- */

@media (min-width: 860px) {
  .section-head {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 40px;
  }

  .section-head .section-intro { justify-self: end; }

  .hero-grid { grid-template-columns: 1.02fr 0.98fr; gap: 64px; }

  .start-grid { grid-template-columns: 1.15fr 0.85fr; gap: 64px; }

  .work-close { grid-template-columns: minmax(0, 1fr) 260px; gap: 22px; }

  .zero-grid { grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; align-items: stretch; }

  .zero-video { height: 100%; }

  .zero-video .video-frame {
    flex: 1 1 auto;
    aspect-ratio: auto;
    min-height: 0;
  }

  #zero .zero-result {
    flex-direction: row;
    align-items: center;
    gap: 36px;
  }

  #zero .zero-result .device { align-self: center; }

  #zero .zero-result .device img { width: 210px; }

  .split-card { grid-template-columns: 1.05fr 0.95fr; }

  .split-media { min-height: 420px; }

  .split-media::after { background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 22%); }

  .fade-right::after { background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 22%); }

  .family-banner { grid-template-columns: 1.5fr 1fr; }

  .family-banner img { aspect-ratio: auto; height: 100%; min-height: 380px; }

  .family-banner figcaption {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 36px 36px 8px;
  }

  .family-banner figcaption::before {
    left: auto;
    right: 100%;
    top: 0;
    bottom: 0;
    width: 140px;
    height: auto;
    background: linear-gradient(270deg, var(--client-deep) 0%, transparent 100%);
  }

  .product-mat {
    grid-template-columns: 1fr 1fr;
    padding: 34px;
    gap: 22px;
  }

  .product-copy { grid-column: 1 / -1; }

  .market-panel:not([hidden]) { grid-template-columns: 1.35fr 1fr; }

  .market-panel .split-media { min-height: 400px; }

  .switch[data-layout="rail"] {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    grid-template-rows: repeat(6, auto) 1fr;
    align-items: start;
    background: linear-gradient(90deg, var(--paper) 0, var(--paper) 339px, var(--line) 339px, var(--line) 340px, transparent 340px);
  }

  .switch[data-layout="rail"] .switch-item { display: contents; }

  .switch[data-layout="rail"] .switch-item h3 {
    grid-column: 1;
    border-bottom: 1px solid var(--line);
  }

  .switch[data-layout="rail"] .switch-item button:hover { background: var(--card); }

  .switch[data-layout="rail"] .switch-item button[aria-expanded="true"] { background: var(--card); }

  .switch[data-layout="rail"] .switch-panel:not([hidden]) {
    grid-column: 2;
    grid-row: 1 / -1;
    padding: 28px 30px 30px;
  }

  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
  }

  .flow.flow-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .flow::before {
    content: "";
    position: absolute;
    left: 6%;
    right: 6%;
    top: 50%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--line-strong) 0 8px, transparent 8px 14px);
    z-index: 0;
  }

  .takeaway { grid-template-columns: 1.2fr 0.9fr; gap: 48px; padding: 60px 56px; }

  .study-metlok-v2 .path::before { left: 12px; top: 46px; bottom: 46px; }

  .study-metlok-v2 .path li {
    grid-template-columns: 100px minmax(180px, 240px) minmax(0, 1fr);
    align-items: center;
    column-gap: 28px;
    padding: 28px 36px 28px 0;
  }

  .study-metlok-v2 .path-num {
    grid-row: auto;
    align-self: center;
    margin: 0;
    font-size: 2rem;
  }

  .study-metlok-v2 .path-copy { grid-column: auto; }

  .study-metlok-v2 .path-lead { margin-top: 0; }
}

@media screen and (min-width: 600px) {
  .bento { grid-template-columns: 1fr 1fr; }

  .claim-revenue,
  .claim-wide { grid-column: 1 / -1; }

  .claim-revenue { min-height: 0; }

  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .reel-grid {
    grid-template-columns: repeat(2, minmax(0, 280px));
    justify-content: start;
  }
}

@media screen and (min-width: 1024px) {
  .about-grid { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: end; }

  .bento {
    grid-template-columns: 1.15fr 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .claim-revenue { grid-column: auto; grid-row: 1 / span 2; min-height: 300px; }

  .claim-wide { grid-column: 2 / span 2; }

  .study-metlok-v2 .bento { grid-template-columns: 1fr 1fr; }

  .study-metlok-v2 .claim-wide { grid-column: 1 / -1; }

  .product-mat { grid-template-columns: 0.9fr 1fr 1fr; }

  .product-copy { grid-column: auto; }

  .plate:nth-of-type(2) { transform: translateY(18px); }
}

@media screen and (min-width: 900px) {
  .reel-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 920px;
    justify-content: start;
  }
}

@media screen and (max-width: 859px) {
  .about { padding: 40px 0 36px; }

  .about-reach { margin-top: 28px; padding-top: 20px; }

  .hero { padding: 40px 0 56px; }

  .hero-grid { gap: 40px; }

  .hero-frame::before { inset: 16px -10px -16px 16px; }

  .hero-card { margin: -36px 8px 0; }

  .section { padding: 64px 0; }

  .start-banner { aspect-ratio: 1.7 / 1; }

  .start-banner-mark img:first-child { width: min(58%, 260px); }

  .section-head { margin-bottom: 30px; }

  .topbar-label { display: none; }

  .claim { padding: 24px 22px 22px; }

  .claim::before { left: 22px; }

  .split-copy { padding: 28px 24px; }

  .fade-right::after { background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 18%); }

  .family-banner figcaption { padding: 22px 22px 26px; }

  .product-mat { padding: 20px; }

  .segmented {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr) minmax(0, 0.8fr);
    width: 100%;
    border-radius: var(--r);
  }

  .segmented button {
    border-radius: var(--r-sm);
    padding: 10px 8px;
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .market-copy { padding: 24px 24px 28px; }

  .switch-item button { padding: 16px 18px; scroll-margin-top: 12px; }

  .switch-item button::after {
    content: "";
    flex: none;
    align-self: center;
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid var(--ink-mute);
    border-bottom: 2px solid var(--ink-mute);
    transform: translateY(-2px) rotate(45deg);
    transition: transform 0.15s ease;
  }

  .switch-item button[aria-expanded="true"]::after {
    border-color: var(--blue-deep);
    transform: translateY(2px) rotate(-135deg);
  }

  .switch-item .switch-panel { padding: 6px 18px 22px; }

  .stage-browser { padding: 18px 18px 0; }

  .stage-creatives { gap: 10px; padding: 22px 16px; }

  .scope-quote { padding: 24px 22px; }

  .scope-quote p { font-size: 1.05rem; }

  .flow { grid-template-columns: 1fr 1fr; gap: 10px; }

  .flow button { padding: 16px 16px 14px; }

  .flow-panel { padding: 22px 22px; }

  .stack-card { padding: 2px 22px 4px; }

  .flow-lead { font-size: 1.08rem; }

  .takeaway { padding: 36px 22px; gap: 28px; }

  .takeaway-cta { padding: 22px; }

  .takeaway .takeaway-quote { font-size: 1.05rem; }
}

@media screen and (max-width: 599px) {
  .topbar-inner { min-height: 64px; }

  .topbar-cta { padding: 0 14px; font-size: 12px; }

  .about-stats { grid-template-columns: 1fr 1fr; }

  .about-stats div { padding: 16px 16px; }

  .pill { font-size: 11px; letter-spacing: 0.08em; gap: 9px; padding: 7px 13px; }

  .close-links .btn { flex: 1 1 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .tile img,
  .tile:hover img,
  .study-index a,
  .study-index a:hover { transition: none; transform: none; }
}

/* ---------- Print ---------- */

@media print {
  @page { size: letter; margin: 0.45in; }

  html,
  body {
    background: #ffffff;
    font-size: 9pt;
    line-height: 1.38;
  }

  * {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    box-shadow: none !important;
  }

  .skip,
  .gallery-note,
  .lightbox,
  .section-intro.gallery-note { display: none !important; }

  a { text-decoration: none; }

  h1 { font-size: 19pt; margin-bottom: 8pt; }

  h2 { font-size: 13pt; }

  h3 { font-size: 10pt; margin-bottom: 4pt; }

  h2, h3 { break-after: avoid; }

  p { margin-bottom: 4pt; }

  .section { padding: 12pt 0; }

  .section-head {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: end;
    gap: 14pt;
    margin-bottom: 10pt;
  }

  .section-intro { font-size: 8.5pt; }

  .tag, .kicker, .pill, .claim-label { font-size: 7pt; margin-bottom: 3pt; }

  .topbar-inner { min-height: 0; padding: 7pt 0; }

  .wordmark { font-size: 12pt; }

  .topbar-label { font-size: 7pt; }

  .topbar-cta { min-height: 0; padding: 3pt 8pt; font-size: 7pt; }

  .about { padding: 8pt 0 7pt; }

  .agency .tag { margin-bottom: 2pt; }

  .about-grid { grid-template-columns: 1.15fr 1fr; gap: 18pt; align-items: end; }

  .about-statement { font-size: 13pt; margin-bottom: 4pt; }

  .about-copy p:not(.tag):not(.about-statement) { font-size: 8.5pt; }

  .about-stats div { padding: 6pt 8pt; gap: 2pt; }

  .about-stats dt { font-size: 6.5pt; }

  .about-stats dd { font-size: 12pt; }

  .about-reach { margin-top: 8pt; padding-top: 6pt; }

  .reach-line { font-size: 10pt; }

  .reach-hq { font-size: 7pt; }

  .hero { padding: 14pt 0 12pt; background: var(--paper); }

  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 18pt;
  }

  .pill { margin-bottom: 8pt; padding: 3pt 8pt; }

  .beats { gap: 3pt; margin-bottom: 8pt; }

  .lede { font-size: 9pt; }

  .pill { gap: 5pt; padding: 3pt 8pt; }

  .pill-divider { height: 7pt; }

  .hero-photo { aspect-ratio: 2 / 1; }

  .hero-frame::before { inset: 10pt -8pt -10pt 10pt; }

  .hero-card { margin: -22pt 10% 0 -6pt; }

  .hero-card-brand { padding: 4pt 9pt; }

  .hero-card-brand img { width: 50px; }

  .hero-card dl { gap: 3pt; padding: 6pt 9pt 0; }

  .hero-card dt { font-size: 6.5pt; }

  .hero-card dd { font-size: 7.5pt; }

  .swatches { padding: 5pt 9pt 7pt; }

  .bento {
    display: grid;
    grid-template-columns: 1.15fr 1fr 1fr;
    gap: 8pt;
  }

  .claim { padding: 11pt 12pt; gap: 5pt; border-radius: 10px; }

  .claim::before { left: 12pt; }

  .claim-revenue { grid-row: 1 / span 2; min-height: 0; }

  .claim-wide { grid-column: 2 / span 2; }

  .stat-value { font-size: 17pt; }

  .stat-xl { font-size: 22pt; }

  .claim-text { font-size: 8.5pt; }

  .claim-note { font-size: 7.5pt; margin-top: 3pt; }

  .claim-split { padding-top: 6pt; gap: 8pt; }

  #results { break-after: page; }

  .start-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 18pt; }

  .start-banner { aspect-ratio: auto; height: 1.7in; margin-top: 12pt; box-shadow: none; break-inside: avoid; }

  .start-banner-mark img:first-child { width: 1.6in; }

  .start-banner-flag { width: 0.42in; }

  .start-grid p { font-size: 9pt; }

  .start-grid h2 { margin-bottom: 6pt; }

  .before-card { padding: 11pt 12pt; }

  .before-title { margin-bottom: 4pt; font-size: 7pt; }

  .before-card li { padding: 5pt 0; font-size: 8.5pt; gap: 8pt; }

  .before-card .before-title,
  .before-card li { opacity: 1 !important; transform: none !important; }

  .before-card li::before { transform: none !important; }

  .split-card { grid-template-columns: 1.1fr 0.9fr; display: grid; }

  .split-copy { padding: 12pt 14pt; }

  .split-media { min-height: 1.9in; }

  .split-media::after { background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0) 22%); }

  .fade-right::after { background: linear-gradient(270deg, #ffffff 0%, rgba(255, 255, 255, 0) 22%); }

  .float-caption { font-size: 7pt; padding: 2pt 7pt; bottom: 6pt; right: 6pt; }

  .family-banner { display: grid; grid-template-columns: 1.4fr 1fr; margin-top: 10pt; break-inside: avoid; }

  .family-banner img { aspect-ratio: auto; height: 1.5in; }

  .family-banner figcaption { padding: 10pt 12pt 10pt 4pt; display: flex; flex-direction: column; justify-content: center; }

  .family-banner figcaption::before { display: none; }

  .family-banner p { font-size: 8.5pt; }

  .product-mat {
    display: grid;
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 10pt;
    padding: 10pt;
    margin-top: 10pt;
    break-inside: avoid;
  }

  .plate { padding: 4pt 4pt 0; }

  .plate img { aspect-ratio: auto; height: 0.85in; }

  .plate figcaption { padding: 4pt 2pt 5pt; font-size: 7.5pt; }

  .switch-panel,
  .switch-panel[hidden] { display: block !important; }

  .segmented { display: none; }

  #markets .switch {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8pt;
  }

  .market-panel,
  .market-panel:not([hidden]) {
    display: block !important;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    break-inside: avoid;
  }

  .market-panel .split-media { min-height: 0; height: 1.05in; }

  .market-panel .split-media::after { display: none; }

  .market-copy { padding: 7pt 9pt 9pt; }

  .market-copy h3 { font-size: 9.5pt; }

  .market-copy p { font-size: 8pt; }

  .console { border-radius: 10px; }

  #work .switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  #work .switch-item {
    display: block;
    border-bottom: 1px solid var(--line);
    border-right: 1px solid var(--line);
    break-inside: avoid;
    padding-bottom: 6pt;
  }

  #work .switch-item button,
  #work .switch-item button[aria-expanded="true"] {
    background: transparent;
    box-shadow: none !important;
    padding: 7pt 9pt 4pt;
  }

  .switch-timer { display: none; }

  .rail-num { color: var(--blue-deep) !important; font-size: 8pt; }

  .rail-title { font-size: 9pt; }

  #work .switch-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; }

  #work .switch-item .switch-panel { padding: 0 9pt; }

  .stage-photo,
  .stage-browser {
    float: left;
    width: 1.05in;
    height: 0.72in;
    margin: 2pt 8pt 2pt 0;
    padding: 0;
    aspect-ratio: auto;
    border-radius: 6px;
  }

  .stage-creatives {
    display: grid;
    float: left;
    grid-template-columns: repeat(3, 0.4in);
    aspect-ratio: auto;
    height: auto;
    gap: 3pt;
    margin: 2pt 8pt 2pt 0;
    padding: 0;
    background: none;
  }

  .stage-creatives img {
    width: 0.4in;
    height: auto;
    max-width: none;
    border-radius: 4px;
    box-shadow: none;
    transform: none !important;
  }

  .stage-browser .browser-bar { display: none; }

  .browser { border-radius: 6px; }

  .browser img {
    height: 0.72in;
    object-fit: contain;
    object-position: top center;
    background: #fff;
  }

  .stage-copy { padding-top: 0; }

  .stage-copy p { font-size: 8pt; }

  .aside-note { padding-left: 0; border: 0; }

  .stage-metrics { display: block; }

  .stage-metrics span { display: inline; border: 0; padding: 0; background: transparent; font-size: 8pt; }

  .stage-metrics span + span::before { content: " · "; }

  .switch-item::after { content: ""; display: block; clear: both; }

  .scope-quote { margin-top: 10pt; padding: 10pt 14pt; break-inside: avoid; }

  .work-close { grid-template-columns: minmax(0, 1fr) 1.5in; gap: 10pt; margin-top: 10pt; break-inside: avoid; }

  .work-close .scope-quote { margin-top: 0; }

  .work-photo { aspect-ratio: auto; height: 1.9in; box-shadow: none; }

  .scope-quote p { font-size: 9pt; }

  #work .section-intro { display: none; }

  .flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8pt;
    margin-bottom: 6pt;
  }

  .flow button,
  .flow button[aria-expanded="true"] {
    padding: 7pt 8pt;
    background: var(--card);
    color: var(--ink);
    border-color: var(--line);
  }

  .flow button[aria-expanded="true"] .node-num { color: var(--blue-deep); }

  .flow button[aria-expanded="true"] .node-metric { color: var(--ink-mute); }

  .node-title { font-size: 9pt; }

  .node-metric, .node-num { font-size: 7.5pt; }

  #system .switch {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8pt;
  }

  #system .flow { grid-column: 1 / -1; }

  .study-metlok-v2 .path { padding: 0; box-shadow: none; }

  .study-metlok-v2 .path::before { display: none; }

  .study-metlok-v2 .path li {
    break-inside: avoid;
    grid-template-columns: 28pt minmax(0, 1fr);
    column-gap: 8pt;
    padding: 7pt 0;
  }

  .study-metlok-v2 .path h3 { font-size: 10pt; }

  .study-metlok-v2 .path-num { font-size: 11pt; background: transparent; }

  .study-metlok-v2 .path-metric {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 7.5pt;
  }

  .study-metlok-v2 .path-lead,
  .study-metlok-v2 .path-copy p:last-child { font-size: 8.5pt; }

  .study-metlok-v2 .path-lead { margin: 2pt 0; }

  .flow-panel { padding: 7pt 8pt; border-radius: 8px; }

  .stack-card { padding: 0; box-shadow: none; }

  .stack-step { break-inside: avoid; padding: 6pt 0; }

  .flow-lead { font-size: 8.5pt; }

  .flow-panel p { font-size: 8pt; }

  .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8pt; }

  .reel-frame { display: none !important; }

  .reel-grid {
    display: block !important;
    max-width: none;
  }

  .reel { break-inside: avoid; margin: 0 0 3pt; }

  .reel-fallback {
    display: block;
    font-size: 8pt;
    color: var(--ink);
  }

  #zero .switch { grid-template-columns: repeat(3, 1fr); }

  .zero-video { display: none; }

  .zero-intro { font-size: 9pt; margin-bottom: 6pt; }

  .zero-grid { grid-template-columns: 1fr; gap: 8pt; }

  #zero .zero-result {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 1.35in;
    align-items: center;
    gap: 10pt;
  }

  .device img { width: 1.25in; }

  .stage-lead { font-size: 10pt; }

  .tile { aspect-ratio: auto; height: 1.35in; border-radius: 10px; }

  .tile-caption { font-size: 7.5pt; left: 8pt; bottom: 6pt; }

  #close { padding-top: 6pt; }

  .takeaway {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 16pt;
    padding: 18pt 20pt;
    break-inside: avoid;
  }

  .takeaway h2 { margin-bottom: 6pt; }

  .takeaway p { font-size: 8.5pt; }

  .takeaway-cta { padding: 12pt; }

  .takeaway .takeaway-quote { font-size: 10pt; margin-bottom: 10pt; }

  .btn { padding: 5pt 10pt; font-size: 7.5pt; }

  .site-footer { display: none; }
}

/* ---------- Internal index ---------- */

.page-index .topbar { border-bottom: 0; }

.page-index main { padding: 72px 0 96px; }

.index-head { max-width: 40rem; margin-bottom: 40px; }

.index-head h1 { margin-bottom: 16px; }

.study-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}

.study-index a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.study-index a:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.study-index figure {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--paper-tint);
}

.study-index img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.study-index .index-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  padding: 22px 22px 24px;
}

.study-index .index-body > * { margin: 0; }

.study-index .index-body > .index-go { margin-top: auto; }

.study-index h2 {
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  line-height: 1.12;
}

.study-index p { font-size: 1rem; }

.index-go {
  margin-top: auto;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

@media (min-width: 860px) {
  .study-index { grid-template-columns: 1fr 1fr; }
}
