@charset "UTF-8";

/* ==========================================================================
   Design tokens
   ========================================================================== */

:root {
  --page-width: 1260px;
  --page-gutter: max(24px, calc((100vw - var(--page-width)) / 2));
  --viewport-height: 100svh;
  --viewport-content-width: 1260px;
  --viewport-inline-gutter: max(24px, calc((100% - var(--viewport-content-width)) / 2));
  --desktop-frame-height: calc(var(--viewport-height) * 1.1);
  --desktop-frame-padding-block: calc(var(--viewport-height) * 0.15);
  --nav-height: 52px;
  --section-space: clamp(104px, 12vw, 180px);
  --layout-card-gap: 18px;
  --archive-media-height: 620px;
  --archive-copy-min-height: 126px;
  --mokey-orange: #dd7817;
  --mokey-orange-soft: #fff0df;
  --color-accent: #dd7817;
  --color-accent-hover: #c96b12;
  --color-accent-pressed: #ad590d;
  --color-accent-soft: #fff0df;
  --focus-ring: 0 0 0 3px rgba(221, 120, 23, 0.25);
  --mokey-ink: #08090b;
  --mokey-dark-surface: #171719;
  --mokey-dark-label: #f5f5f7;
  --mokey-dark-secondary: #a1a1a6;
  scroll-behavior: smooth;
}

:root[data-theme="dark"] {
  --mokey-orange-soft: rgba(221, 120, 23, 0.15);
  --color-accent: #dd7817;
  --color-accent-hover: #ed8b2d;
  --color-accent-pressed: #f4a257;
  --color-accent-soft: rgba(221, 120, 23, 0.15);
  --focus-ring: 0 0 0 3px rgba(221, 120, 23, 0.32);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --mokey-orange-soft: rgba(221, 120, 23, 0.15);
    --color-accent: #dd7817;
    --color-accent-hover: #ed8b2d;
    --color-accent-pressed: #f4a257;
    --color-accent-soft: rgba(221, 120, 23, 0.15);
    --focus-ring: 0 0 0 3px rgba(221, 120, 23, 0.32);
  }
}

/* ==========================================================================
   Base document and shared utilities
   ========================================================================== */

* {
  box-sizing: border-box;
}

/* Keep intentionally hidden sections out of layout even when component rules set display. */
[hidden] {
  display: none !important;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-padding-top: 0;
}

body {
  max-width: 100%;
  margin: 0;
  overflow-x: clip;
  color: var(--color-label);
  background: var(--color-canvas);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.dialog-open {
  overflow: hidden;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
}

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

a {
  color: inherit;
}

::selection {
  color: var(--color-label);
  background: var(--color-accent-soft);
}

.skip-link {
  position: fixed;
  z-index: 2000;
  top: 8px;
  left: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-round);
  color: var(--color-label-on-accent);
  background: var(--color-accent);
  transform: translateY(-140%);
  transition: transform var(--duration-fast) var(--ease-out);
}

.skip-link:focus {
  transform: translateY(0);
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-shell {
  width: min(calc(100% - 48px), var(--page-width));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: clamp(0.76rem, 1.2vw, 0.875rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

/* ==========================================================================
   Sticky chapter navigation
   ========================================================================== */

nav.sticky-nav,
.nav {
  position: sticky;
  z-index: 100;
  top: 20px;
  display: flex;
  width: fit-content;
  max-width: 95%;
  padding: 8px;
  margin: 0 auto -57px;
  overflow-x: auto;
  justify-content: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  -webkit-overflow-scrolling: touch;
}

nav.sticky-nav::-webkit-scrollbar {
  height: 4px;
}

nav.sticky-nav::-webkit-scrollbar-thumb {
  border-radius: var(--radius-round);
  background: rgba(0, 0, 0, 0.18);
}

.nav-link,
.nav__link {
  padding: 10px 20px;
  border-radius: 20px;
  color: var(--color-label);
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 160ms var(--ease-out),
    box-shadow 180ms ease;
}

.nav-link.active,
.nav__link.active {
  color: #fff;
  background: #000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link:active,
.nav__link:active {
  transform: scale(0.97);
}

:root[data-theme="dark"] :is(nav.sticky-nav, .nav) {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(36, 36, 38, 0.78);
}

:root[data-theme="dark"] :is(.nav-link, .nav__link) {
  background: rgba(255, 255, 255, 0.05);
}

.nav-link:focus-visible,
.nav__link:focus-visible,
.hero__scroll:focus-visible,
.gallery-play:focus-visible,
.gallery-tab:focus-visible,
.process-gallery__buttons button:focus-visible,
.media-button:focus-visible,
.archive-card a:focus-visible,
.site-footer a:focus-visible,
.image-dialog__close:focus-visible,
.record-card summary:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  padding: clamp(120px, 15vh, 180px) var(--page-gutter) 72px;
  overflow: hidden;
  align-items: center;
  grid-template-columns: minmax(300px, 0.82fr) minmax(520px, 1.18fr);
  background:
    radial-gradient(circle at 76% 44%, rgba(255, 178, 89, 0.24), transparent 32%),
    linear-gradient(180deg, #fafafa 0%, #f2f2f4 100%);
  isolation: isolate;
}

:root[data-theme="dark"] .hero {
  background:
    radial-gradient(circle at 76% 44%, rgba(221, 120, 23, 0.2), transparent 34%),
    linear-gradient(180deg, #111214 0%, #08090a 100%);
}

.hero__glow {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 7vw;
  width: min(52vw, 780px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 221, 181, 0.65) 0%, rgba(255, 221, 181, 0) 66%);
  filter: blur(8px);
  transform: translateY(-50%);
}

:root[data-theme="dark"] .hero__glow {
  opacity: 0.22;
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero__eyebrow,
.hero__title,
.hero__statement,
.hero__intro,
.hero__tags {
  opacity: 0;
  transform: translateY(26px);
}

body.is-ready .hero__eyebrow,
body.is-ready .hero__title,
body.is-ready .hero__statement,
body.is-ready .hero__intro,
body.is-ready .hero__tags {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out);
}

body.is-ready .hero__title { transition-delay: 80ms; }
body.is-ready .hero__statement { transition-delay: 150ms; }
body.is-ready .hero__intro { transition-delay: 210ms; }
body.is-ready .hero__tags { transition-delay: 270ms; }

.hero__title {
  margin: 0;
  color: var(--color-label);
  font-size: clamp(5.2rem, 11vw, 10rem);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.hero__title span {
  display: block;
}

.hero__title-en {
  margin-top: 0.24em;
  color: transparent;
  font-size: 0.47em;
  font-weight: 680;
  letter-spacing: -0.045em;
  line-height: 1;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--color-label) 42%, transparent);
}

.hero__statement {
  margin: 32px 0 0;
  color: var(--mokey-orange);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__intro {
  max-width: 29rem;
  margin: 12px 0 0;
  color: var(--color-label-secondary);
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  font-weight: 540;
  letter-spacing: -0.02em;
  line-height: 1.55;
}

.hero__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.hero__tags span {
  display: inline-grid;
  min-height: 32px;
  padding: 0 14px;
  place-items: center;
  border: 1px solid var(--color-separator);
  border-radius: var(--radius-round);
  color: var(--color-label-secondary);
  background: color-mix(in srgb, var(--color-surface) 60%, transparent);
  font-size: var(--text-meta);
  font-weight: 650;
}

.hero__media {
  position: relative;
  z-index: 1;
  margin: 0;
  text-align: center;
}

.hero__product {
  width: min(58vw, 800px);
  height: auto;
  margin-inline: auto;
  opacity: 0;
  filter: drop-shadow(0 44px 42px rgba(67, 40, 19, 0.2));
  transform: translate3d(0, calc(54px + var(--hero-shift, 0px)), 0) scale(0.92);
}

body.is-ready .hero__product {
  opacity: 1;
  transform: translate3d(0, var(--hero-shift, 0px), 0) scale(1);
  transition:
    opacity 1000ms 130ms var(--ease-out),
    transform 1000ms 130ms var(--ease-out);
}

.hero__media figcaption {
  margin-top: -20px;
  color: var(--color-label-tertiary);
  font-size: var(--text-caption);
  letter-spacing: 0.035em;
}

.hero__scroll {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 50%;
  display: flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-round);
  color: var(--color-label-tertiary);
  font-size: var(--text-meta);
  font-weight: 600;
  text-decoration: none;
  transform: translateX(-50%);
}

.hero__scroll svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.section-heading {
  max-width: 880px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-heading h2,
.chapter-heading h2 {
  margin: 0;
  color: inherit;
  font-size: clamp(2.65rem, 6vw, 5.4rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--color-label-secondary);
  font-size: var(--text-body-large);
  line-height: 1.7;
}

.highlights {
  padding-block: var(--section-space);
}

.highlights.section-shell {
  width: 100%;
  padding-inline: var(--page-gutter);
  margin-inline: 0;
}

.media-gallery {
  position: relative;
}

.media-gallery__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  min-height: 560px;
  overflow: hidden;
  border-radius: clamp(24px, 3vw, 38px);
  background: #111;
  box-shadow: var(--shadow-media);
}

.highlight-panel {
  position: absolute;
  inset: 0;
  display: grid;
  padding: clamp(28px, 5vw, 68px);
  overflow: hidden;
  align-items: end;
  color: #fff;
  opacity: 0;
  transform: scale(1.015);
  transition:
    opacity 560ms var(--ease-out),
    transform 760ms var(--ease-out);
}

.highlight-panel[hidden] {
  display: grid;
  visibility: hidden;
}

.highlight-panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: scale(1);
}

.highlight-panel > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.highlight-panel__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.2) 62%, transparent 80%);
}

.highlight-panel__copy {
  position: relative;
  z-index: 2;
  max-width: 510px;
  opacity: 0;
  transform: translateY(22px);
}

.highlight-panel.is-active .highlight-panel__copy {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 560ms 140ms var(--ease-out),
    transform 560ms 140ms var(--ease-out);
}

.highlight-panel__copy .eyebrow {
  color: var(--mokey-orange);
}

.highlight-panel__copy h3 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 680;
  letter-spacing: -0.055em;
  line-height: 1;
}

.highlight-panel__copy p:last-child {
  max-width: 450px;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.35vw, 1.16rem);
  line-height: 1.62;
}

.highlight-panel--product {
  align-items: center;
  grid-template-columns: 0.92fr 1.08fr;
  background:
    radial-gradient(circle at 70% 48%, rgba(229, 151, 74, 0.42), transparent 32%),
    #121214;
}

.highlight-panel--product > img {
  position: relative;
  inset: auto;
  width: 88%;
  height: 88%;
  margin-left: auto;
  object-fit: contain;
  order: 2;
  filter: drop-shadow(0 34px 28px rgba(0, 0, 0, 0.28));
}

.highlight-panel--product .highlight-panel__copy {
  grid-column: 1;
  grid-row: 1;
}

.highlight-panel--interface {
  background: linear-gradient(145deg, #0b1017, #1b2634);
}

.highlight-panel--interface > img {
  inset: auto 3% 3% auto;
  width: 62%;
  height: 80%;
  border-radius: 20px;
  object-fit: contain;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.42));
}

.highlight-panel--interface::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, #0b1017 0%, rgba(11, 16, 23, 0.88) 38%, transparent 72%);
}

.highlight-panel--interface .highlight-panel__copy {
  z-index: 3;
}

.media-gallery__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.gallery-play,
.process-gallery__buttons button,
.image-dialog__close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--color-label-secondary);
  background: var(--color-selection);
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out),
    transform var(--duration-press) var(--ease-out);
}

.gallery-play svg,
.process-gallery__buttons svg,
.image-dialog__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-play__play {
  display: none;
}

.gallery-play[aria-pressed="true"] .gallery-play__pause {
  display: none;
}

.gallery-play[aria-pressed="true"] .gallery-play__play {
  display: block;
}

.gallery-tabs {
  display: flex;
  min-height: 52px;
  padding: 4px;
  gap: 2px;
  border-radius: var(--radius-round);
  background: var(--color-selection);
}

.gallery-tab {
  position: relative;
  min-height: 44px;
  padding: 0 16px;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-round);
  color: var(--color-label-secondary);
  background: transparent;
  font-size: var(--text-meta);
  font-weight: 650;
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.gallery-tab span {
  position: relative;
  z-index: 1;
}

.gallery-tab.is-active {
  color: var(--color-label);
  background: var(--color-surface-raised);
  box-shadow: var(--shadow-control);
}

/* ==========================================================================
   Long-form chapters
   ========================================================================== */

.chapter {
  padding-block: var(--section-space);
}

.chapter--light {
  background: var(--color-canvas-grouped);
}

#insight {
  padding-block: 0;
}

#strategy {
  padding-block: 0;
}

#experience {
  padding-block: 0;
}

.insight-overview {
  padding-top: var(--section-space);
}

.insight-evidence {
  display: flow-root;
  padding-bottom: var(--section-space);
}

.strategy-foundation {
  padding-top: var(--section-space);
}

.strategy-evolution {
  display: flow-root;
  padding-bottom: var(--section-space);
}

.experience-overview {
  padding-top: var(--section-space);
}

.experience-medication,
.experience-expression,
.experience-companion {
  display: flow-root;
}

.experience-companion {
  padding-bottom: var(--section-space);
}

.experience-flow-group {
  --experience-flow-gap: var(--layout-card-gap);
}

.chapter--dark {
  color: var(--mokey-dark-label);
  background: var(--mokey-ink);
}

.chapter--engineering {
  background:
    radial-gradient(circle at 12% 20%, color-mix(in srgb, var(--color-accent) 10%, transparent), transparent 30%),
    var(--color-canvas);
}

.chapter-heading {
  display: grid;
  max-width: 1080px;
  margin-bottom: clamp(64px, 9vw, 120px);
  align-items: start;
  grid-template-columns: 90px 1fr;
}

.chapter-heading__number {
  margin: 0;
  color: var(--color-label-tertiary);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.chapter--dark .chapter-heading__number {
  color: var(--mokey-dark-secondary);
}

.chapter--dark .eyebrow {
  color: var(--mokey-orange);
}

.stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.35fr 1fr 1fr;
}

.stat-card {
  min-height: 360px;
  padding: clamp(28px, 3.5vw, 46px);
  border-radius: var(--radius-media);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.stat-card--hero {
  background:
    radial-gradient(circle at 80% 15%, rgba(255, 185, 109, 0.55), transparent 34%),
    var(--color-surface);
}

.stat-card__value {
  margin: 0 0 auto;
  color: var(--color-label);
  font-size: clamp(4.2rem, 7vw, 7.4rem);
  font-weight: 750;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.stat-card__value span {
  margin-left: 0.04em;
  color: var(--mokey-orange);
  font-size: 0.46em;
  vertical-align: top;
}

.stat-card h3 {
  margin: 120px 0 10px;
  font-size: var(--text-title-3);
  letter-spacing: -0.02em;
}

.stat-card p:last-child {
  margin: 0;
  color: var(--color-label-secondary);
  font-size: var(--text-body);
  line-height: 1.65;
}

.source-note {
  margin: 14px 4px 0;
  color: var(--color-label-tertiary);
  font-size: var(--text-caption);
}

.pain-grid {
  display: grid;
  margin-top: clamp(64px, 8vw, 108px);
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.story-card {
  display: grid;
  min-height: 0;
  padding: clamp(32px, 4vw, 52px);
  border-radius: var(--radius-media);
  background: var(--color-surface);
  grid-template-rows: auto;
  box-shadow: var(--shadow-card);
}

.story-card h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.story-card ul {
  display: grid;
  padding: 0;
  margin: 24px 0 0;
  gap: 10px;
  color: var(--color-label-secondary);
  line-height: 1.65;
  list-style: none;
}

.story-card li {
  position: relative;
  padding-left: 18px;
}

.story-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  content: "";
  background: var(--color-accent);
}

.edge-media {
  margin: clamp(64px, 9vw, 120px) 0 0;
}

.edge-media .media-button {
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--color-surface);
}

.market-research__canvas {
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(10px, 1.6vw, 24px);
  align-items: stretch;
  gap: clamp(8px, 1.25vw, 18px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background-color: #fff;
  background-image: url("../market-research/market-research-grid.svg");
  background-repeat: repeat;
  background-size: 64px 64px;
}

.edge-media .market-research__panel {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
}

.edge-media img {
  width: 100%;
  aspect-ratio: 2.68;
  object-fit: cover;
}

.edge-media figcaption {
  max-width: 820px;
  margin: 20px auto 0;
  color: var(--color-label-secondary);
  font-size: var(--text-body-large);
  line-height: 1.68;
}

.strategy-pillars {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.strategy-pillars article {
  --pillar-icon-size:
    calc(
      var(--mokey-type-footnote-leading) +
      12px +
      var(--mokey-type-media-leading)
    );

  display: grid;
  min-height: 280px;
  padding: clamp(30px, 4vw, 52px);
  align-content: start;
  align-items: start;
  column-gap: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-media);
  grid-template-columns: var(--pillar-icon-size) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  background:
    radial-gradient(circle at 85% 0%, rgba(221, 120, 23, 0.14), transparent 35%),
    var(--mokey-dark-surface);
}

.pillar-icon {
  display: grid;
  width: var(--pillar-icon-size);
  height: var(--pillar-icon-size);
  margin: 0;
  place-items: center;
  border-radius: calc(var(--pillar-icon-size) * 0.28);
  color: var(--mokey-orange);
  background: rgba(221, 120, 23, 0.14);
  grid-column: 1;
  grid-row: 1 / span 3;
}

.pillar-icon svg {
  width: 50%;
  height: 50%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.strategy-pillars article > .eyebrow,
.strategy-pillars article > h3,
.strategy-pillars article > p:last-child {
  min-width: 0;
  grid-column: 2;
}

.strategy-pillars article > .eyebrow {
  grid-row: 1;
}

.strategy-pillars article > h3 {
  grid-row: 2;
}

.strategy-pillars article > p:last-child {
  grid-row: 3;
}

.strategy-pillars h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.045em;
}

.strategy-pillars p:last-child {
  max-width: 460px;
  margin: 20px 0 0;
  color: var(--mokey-dark-secondary);
  font-size: var(--text-body-large);
  line-height: 1.68;
}

.process-gallery {
  margin-top: clamp(96px, 12vw, 160px);
}

.process-gallery__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 26px;
}

.process-gallery__header h3 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.045em;
}

.process-gallery__buttons {
  display: flex;
  gap: 10px;
}

.process-gallery__buttons button {
  color: var(--mokey-dark-label);
  background: rgba(255, 255, 255, 0.12);
}

.process-gallery__buttons button:disabled {
  color: #86868b;
  background: rgba(255, 255, 255, 0.06);
  cursor: default;
}

.process-gallery__buttons button:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.48);
}

.process-track {
  --process-card-width: min(78vw, 820px);
  --process-track-start: var(--page-gutter);
  --process-track-end: max(
    var(--page-gutter),
    calc((100vw - var(--process-card-width)) / 2)
  );

  display: grid;
  margin-inline: calc((100vw - min(100vw - 48px, var(--page-width))) / -2);
  padding: 0 var(--process-track-end) 20px var(--process-track-start);
  overflow-x: auto;
  gap: 18px;
  grid-auto-columns: var(--process-card-width);
  grid-auto-flow: column;
  scroll-padding-inline: var(--process-track-start) var(--process-track-end);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.process-track::-webkit-scrollbar {
  display: none;
}

.process-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-media);
  background: var(--mokey-dark-surface);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.process-card:first-child {
  scroll-snap-align: start;
}

.process-card__media {
  display: grid;
  aspect-ratio: 16 / 8.8;
  overflow: hidden;
  place-items: center;
  background: #fff;
}

.process-card__media img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.process-card__copy {
  padding: 28px 30px 34px;
}

.process-card__copy h4 {
  width: 100%;
  max-width: none;
  margin: 0;
  color: var(--mokey-dark-label);
  font-size: clamp(1.65rem, 3vw, 2.5rem);
  letter-spacing: -0.035em;
}

.process-card__copy p:last-child {
  width: 100%;
  max-width: none;
  margin: 12px 0 0;
  color: var(--mokey-dark-secondary);
  line-height: 1.65;
}

.naming-card {
  display: grid;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(38px, 6vw, 72px);
  gap: 52px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-media);
  align-items: end;
  grid-template-columns: 1.1fr 0.9fr;
  background:
    radial-gradient(circle at 12% 20%, rgba(221, 120, 23, 0.24), transparent 34%),
    var(--mokey-dark-surface);
}

.naming-card h3 {
  margin: 0;
  font-size: clamp(2.8rem, 6vw, 6.2rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.naming-card h3 span {
  color: #f5a24f;
}

.naming-card > div:last-child {
  color: var(--mokey-dark-secondary);
  font-size: var(--text-body-large);
  line-height: 1.7;
}

.naming-card > div:last-child p {
  margin: 0;
}

.naming-card__slogan {
  margin-top: 18px !important;
  color: var(--mokey-dark-label);
  font-weight: 700;
}

.cinema-frame {
  margin: 0;
}

.cinema-frame img {
  width: 100%;
  border-radius: var(--radius-media);
  box-shadow: var(--shadow-media);
}

.cinema-frame figcaption {
  max-width: 800px;
  margin: 22px auto 0;
  color: var(--color-label-secondary);
  font-size: var(--text-body-large);
  line-height: 1.68;
}

.storyboard {
  display: grid;
  margin-top: clamp(80px, 10vw, 140px);
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.storyboard__copy {
  padding: clamp(36px, 5vw, 64px);
}

.storyboard__heading {
  max-width: 520px;
}

.storyboard__body {
  display: grid;
  margin-top: clamp(28px, 3.5vw, 48px);
  align-items: stretch;
  gap: clamp(28px, 4vw, 52px);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.storyboard__copy h3 {
  max-width: 430px;
  margin: 0;
  font-size: clamp(2.3rem, 4.5vw, 4.2rem);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

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

.storyboard__copy li {
  display: grid;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--color-separator);
  gap: 14px;
  grid-template-columns: 38px 1fr;
}

.storyboard__copy li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.storyboard__copy li > span {
  color: var(--color-accent);
  font-family: var(--mokey-font-display);
  font-size: var(--mokey-type-eyebrow-size);
  font-weight: 750;
  line-height: var(--mokey-type-eyebrow-leading);
}

.storyboard__copy strong {
  display: block;
  margin-bottom: 4px;
}

.storyboard__copy li p {
  margin: 0;
  color: var(--color-label-secondary);
  line-height: 1.55;
}

.storyboard__media {
  display: flex;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  align-items: flex-start;
  justify-content: flex-start;
  background: #fff;
}

.storyboard__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left top;
}

.media-button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: zoom-in;
}

.media-button img {
  transition: transform 520ms var(--ease-out);
}

/* Continuous experience cards */

.expression-card,
.app-card,
.dimension-card {
  display: grid;
  margin-top: var(--layout-card-gap);
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.expression-card {
  grid-template-columns: 0.88fr 1.12fr;
}

.expression-card__copy,
.app-card__copy,
.dimension-card__copy {
  padding: clamp(36px, 5vw, 64px);
}

.expression-card__copy {
  align-self: center;
}

.expression-card__copy h3,
.app-card__copy h3,
.dimension-card__copy h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.expression-card__copy > p:not(.eyebrow),
.app-card__copy > p:not(.eyebrow) {
  margin: 22px 0 0;
  color: var(--color-label-secondary);
  line-height: 1.7;
}

.expression-card__media {
  display: grid;
  min-height: 560px;
  place-items: center;
  background: #080a0d;
}

.expression-card__media img {
  width: 100%;
}

.mood-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 26px;
  gap: 8px;
}

.mood-list span {
  padding: 7px 12px;
  border-radius: var(--radius-round);
  color: var(--color-accent);
  background: var(--color-accent-soft);
  font-size: var(--text-meta);
  font-weight: 650;
}

.app-card {
  grid-template-columns: 1.24fr 0.76fr;
}

.app-card__media {
  display: grid;
  min-height: 620px;
  padding: clamp(24px, 4vw, 52px);
  place-items: center;
  background:
    radial-gradient(circle at 42% 20%, rgba(221, 120, 23, 0.18), transparent 34%),
    #0d1118;
}

.app-card__media img {
  filter: drop-shadow(0 28px 35px rgba(0, 0, 0, 0.38));
}

.app-card__copy dl {
  display: grid;
  margin: 28px 0 0;
  gap: 16px;
}

.app-card__copy dl div {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-separator);
}

.app-card__copy dl div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.app-card__copy dt {
  margin-bottom: 4px;
  font-weight: 750;
}

.app-card__copy dd {
  margin: 0;
  color: var(--color-label-secondary);
  font-size: var(--text-meta);
  line-height: 1.55;
}

.app-card__example {
  font-size: var(--text-meta);
}

.record-card {
  margin-top: var(--layout-card-gap);
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-card);
}

.record-card summary {
  display: flex;
  min-height: 98px;
  padding: 24px 30px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
}

.record-card summary::-webkit-details-marker {
  display: none;
}

.record-card summary .eyebrow {
  margin-bottom: 5px;
}

.record-card summary strong {
  font-size: var(--text-title-3);
}

.record-card summary svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  transition: transform var(--duration-regular) var(--ease-out);
}

.record-card[open] summary svg {
  transform: rotate(180deg);
}

.record-card__content {
  display: grid;
  padding: 0 30px 30px;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.record-card__content > div {
  padding: 24px;
  border-radius: var(--radius-medium);
  background: var(--color-canvas-grouped);
}

.record-card__content h3 {
  margin: 0 0 10px;
  font-size: var(--text-body-large);
}

.record-card__content p {
  margin: 0;
  color: var(--color-label-secondary);
  font-size: var(--text-meta);
  line-height: 1.7;
}

/* Engineering cards */

.engineering-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, 1fr);
}

.engineering-card {
  min-height: 500px;
  padding: clamp(34px, 4.5vw, 58px);
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--color-canvas-grouped);
}

.engineering-card h3 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 4rem);
  letter-spacing: -0.05em;
  line-height: 1.03;
}

.engineering-card p:not(.eyebrow) {
  color: var(--color-label-secondary);
  line-height: 1.7;
}

.engineering-card__summary {
  display: grid;
  padding-inline-start: 1.15em;
  margin: 0.8em 0 0;
  color: var(--color-label-secondary);
  gap: 0.55em;
}

.engineering-card__summary li {
  padding-inline-start: 0.15em;
}

.engineering-card__summary li::marker {
  color: var(--color-accent);
}

.engineering-card--portrait {
  display: grid;
  padding-bottom: 0;
  grid-template-rows: auto 1fr;
  background:
    radial-gradient(circle at 50% 80%, rgba(255, 188, 113, 0.42), transparent 38%),
    var(--color-canvas-grouped);
}

.engineering-card--portrait img {
  width: min(82%, 460px);
  margin: 24px auto -12%;
  align-self: end;
  filter: drop-shadow(0 30px 26px rgba(0, 0, 0, 0.16));
}

.engineering-card--features {
  color: var(--mokey-dark-label);
  background: var(--mokey-ink);
}

.engineering-card--features .eyebrow {
  color: var(--mokey-orange);
}

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

.feature-list li {
  display: flex;
  min-height: 62px;
  padding: 14px 0;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list li:last-child {
  border-bottom: 0;
}

.feature-list span {
  color: var(--mokey-dark-secondary);
  font-size: var(--text-meta);
  text-align: right;
}

.engineering-card--wide {
  display: grid;
  min-height: 0;
  padding: clamp(34px, 4.5vw, 58px) clamp(34px, 5vw, 74px);
  align-items: start;
  grid-column: 1 / -1;
  grid-template-columns: 0.72fr 1.28fr;
  background: var(--color-canvas-grouped);
}

.engineering-card--wide .engineering-card__copy {
  padding-right: 30px;
}

.engineering-card--wide .media-button {
  align-self: start;
}

.engineering-card--wide img {
  width: 100%;
}

.engineering-card--hardware {
  background:
    radial-gradient(circle at 90% 10%, color-mix(in srgb, var(--color-accent) 19%, transparent), transparent 36%),
    var(--color-canvas-grouped);
}

.chip-list {
  display: flex;
  flex-wrap: wrap;
  margin-top: 44px;
  gap: 9px;
}

.chip-list span {
  padding: 10px 14px;
  border: 1px solid var(--color-separator);
  border-radius: var(--radius-round);
  color: var(--color-label-secondary);
  background: color-mix(in srgb, var(--color-surface) 70%, transparent);
  font-size: var(--text-meta);
  font-weight: 600;
}

.engineering-card--charge {
  background:
    radial-gradient(circle at 80% 80%, rgba(221, 120, 23, 0.2), transparent 36%),
    var(--color-canvas-grouped);
}

.engineering-card__note {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--color-separator);
  font-size: var(--text-meta);
}

.dimension-card {
  grid-template-columns: 0.78fr 1.22fr;
}

.dimension-card__copy {
  align-self: center;
}

.dimension-card__copy dl {
  display: grid;
  margin: 34px 0 0;
  gap: 0;
}

.dimension-card__copy dl div {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--color-separator);
}

.dimension-card__copy dt {
  color: var(--color-label-secondary);
  font-size: var(--text-meta);
}

.dimension-card__copy dd {
  margin: 0;
  font-size: var(--text-meta);
  font-weight: 720;
}

.dimension-card__media {
  background: #fff;
}

.dimension-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.design-statement {
  max-width: 1000px;
  margin: clamp(90px, 11vw, 150px) auto 0;
  text-align: center;
}

.design-statement blockquote {
  margin: 0;
  color: var(--color-label);
  font-size: clamp(1.65rem, 3.2vw, 3rem);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.38;
}

/* Source archive */

.archive {
  padding-block: var(--section-space);
}

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

.archive-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-media);
  background: var(--color-canvas-grouped);
  box-shadow: var(--shadow-card);
}

.archive-card__preview {
  position: relative;
  z-index: 0;
  display: grid;
  height: var(--archive-media-height);
  padding: 38px;
  place-items: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(221, 120, 23, 0.16), transparent 42%),
    #111;
}

.archive-card__preview img {
  width: auto;
  height: 100%;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.archive-card__copy {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: var(--archive-copy-min-height);
  padding: 26px 28px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: var(--color-canvas-grouped);
}

.archive-card__copy .eyebrow {
  margin-bottom: 6px;
}

.archive-card__copy h3 {
  margin: 0;
  font-size: var(--text-title-3);
  letter-spacing: -0.02em;
}

.archive-card__copy a,
.site-footer a {
  display: inline-flex;
  min-height: 44px;
  padding: 0 16px;
  align-items: center;
  border-radius: var(--radius-round);
  color: var(--color-accent);
  font-size: var(--text-meta);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-out),
    background-color var(--duration-fast) var(--ease-out);
}

.archive-card__deck-cover {
  position: relative;
  display: grid;
  height: var(--archive-media-height);
  padding: clamp(42px, 6vw, 72px);
  overflow: hidden;
  align-content: start;
  color: #fff;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 170, 82, 0.55), transparent 30%),
    radial-gradient(circle at 16% 80%, rgba(221, 120, 23, 0.38), transparent 36%),
    #111214;
}

.archive-card__deck-cover::after {
  position: absolute;
  right: -14%;
  bottom: -30%;
  width: 78%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow:
    0 0 0 38px rgba(255, 255, 255, 0.025),
    0 0 0 78px rgba(255, 255, 255, 0.018);
}

.archive-card__page-count {
  display: grid;
  margin-bottom: 80px;
  justify-items: start;
}

.archive-card__page-count > span {
  font-size: clamp(7rem, 15vw, 13rem);
  font-weight: 760;
  letter-spacing: -0.09em;
  line-height: 0.8;
  transform: translateX(-0.06em);
}

.archive-card__page-count > p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 1.1rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: left;
  text-transform: uppercase;
}

.archive-card__deck-cover > strong {
  font-size: clamp(2rem, 4vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.site-footer {
  display: flex;
  width: min(calc(100% - 48px), var(--page-width));
  min-height: 180px;
  margin-inline: auto;
  padding-block: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-top: 1px solid var(--color-separator);
}

.site-footer p {
  margin: 0;
}

.site-footer p:first-child {
  margin-bottom: 8px;
  color: var(--color-label);
  font-size: var(--text-body-large);
  font-weight: 720;
}

.site-footer p:last-child {
  color: var(--color-label-tertiary);
  font-size: var(--text-meta);
}

.image-dialog {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: clamp(20px, 4vw, 52px);
  margin: 0;
  overflow: hidden;
  border: 0;
  color: #fff;
  background: rgba(4, 6, 9, 0.96);
}

.image-dialog:not([open]) {
  display: none;
}

.image-dialog::backdrop {
  background: rgba(4, 6, 9, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.image-dialog__viewport {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  overflow: hidden;
  place-items: center;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.image-dialog__image {
  width: auto;
  max-width: none;
  height: auto;
  max-height: none;
  opacity: 0;
  object-fit: contain;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  border-radius: var(--radius-small);
  box-shadow: var(--shadow-modal);
  cursor: default;
  transition:
    opacity 160ms var(--ease-out),
    transform 180ms var(--ease-out);
  will-change: transform;
  -webkit-user-drag: none;
}

.image-dialog__image.is-ready {
  opacity: 1;
}

.image-dialog__image.is-zoomed {
  cursor: grab;
}

.image-dialog__image.is-gesturing {
  cursor: grabbing;
  transition: opacity 160ms var(--ease-out);
}

.image-dialog__close {
  position: absolute;
  z-index: 2;
  top: 16px;
  right: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.theme-toggle {
  width: 44px;
  height: 44px;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 720ms var(--ease-out),
    transform 720ms var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .nav-link:hover:not(.active),
  .nav__link:hover:not(.active) {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.02);
  }

  :root[data-theme="dark"] :is(.nav-link:hover:not(.active), .nav__link:hover:not(.active)) {
    background: rgba(255, 255, 255, 0.1);
  }

  .gallery-play:hover,
  .image-dialog__close:hover {
    color: var(--color-accent);
    background: var(--color-accent-soft);
  }

  .process-gallery__buttons button:not(:disabled):hover {
    color: #1d1d1f;
    background: #f5f5f7;
  }

  .process-gallery__buttons button:not(:disabled):active {
    color: #1d1d1f;
    background: #d2d2d7;
  }

  .gallery-play:active,
  .image-dialog__close:active {
    transform: scale(0.95);
  }

  .process-gallery__buttons button:not(:disabled):active {
    transform: scale(0.95);
  }

  .gallery-tab:hover {
    color: var(--color-label);
  }

  .media-button:hover img {
    transform: scale(1.012);
  }

  .archive-card__copy a:hover,
  .site-footer a:hover {
    background: var(--color-accent-soft);
  }
}

@media (max-width: 1068px) {
  :root {
    --section-space: clamp(88px, 12vw, 132px);
    --archive-media-height: 540px;
  }

  .hero {
    min-height: max(780px, 100svh);
    padding-top: 128px;
    grid-template-columns: minmax(270px, 0.8fr) minmax(420px, 1.2fr);
  }

  .hero__product {
    width: min(62vw, 680px);
  }

  .media-gallery__stage {
    aspect-ratio: auto;
    min-height: 500px;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card--hero {
    grid-column: 1 / -1;
  }

  .stat-card {
    min-height: 330px;
  }

  .stat-card h3 {
    margin-top: 88px;
  }

  .expression-card,
  .app-card,
  .dimension-card {
    grid-template-columns: 1fr;
  }

  .expression-card__media {
    min-height: auto;
    order: -1;
  }

  .app-card__media {
    min-height: 480px;
  }

  .dimension-card__media {
    max-height: 700px;
    order: -1;
  }

}

@media (max-width: 900px) {
  nav.sticky-nav,
  .nav {
    width: fit-content;
    max-width: 95%;
    padding: 10px;
    margin-bottom: -61px;
    justify-content: flex-start;
  }
}

@media (max-width: 734px) {
  :root {
    --page-gutter: 20px;
    --nav-height: 48px;
    --section-space: 84px;
    --archive-media-height: 500px;
    --archive-copy-min-height: 118px;
  }

  .section-shell {
    width: min(calc(100% - 40px), var(--page-width));
  }

  .hero {
    display: flex;
    min-height: max(760px, 100svh);
    padding: 118px 20px 74px;
    flex-direction: column;
    justify-content: flex-start;
    background:
      radial-gradient(circle at 50% 72%, rgba(255, 178, 89, 0.28), transparent 34%),
      linear-gradient(180deg, #fafafa 0%, #f2f2f4 100%);
  }

  :root[data-theme="dark"] .hero {
    background:
      radial-gradient(circle at 50% 72%, rgba(221, 120, 23, 0.22), transparent 36%),
      linear-gradient(180deg, #111214 0%, #08090a 100%);
  }

  .hero__copy {
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .hero__title {
    font-size: clamp(4.8rem, 25vw, 7.6rem);
  }

  .hero__statement {
    margin-top: 24px;
  }

  .hero__intro {
    margin-inline: auto;
    overflow-wrap: anywhere;
  }

  .hero__tags {
    justify-content: center;
    margin-top: 20px;
  }

  .hero__media {
    width: 100%;
    margin-top: 18px;
  }

  .hero__product {
    width: min(94vw, 570px);
    margin-inline: auto;
  }

  .hero__media figcaption {
    margin-top: -14px;
  }

  .hero__scroll {
    display: none;
  }

  .section-heading h2,
  .chapter-heading h2 {
    font-size: clamp(2.5rem, 11vw, 4.1rem);
  }

  .media-gallery__stage {
    aspect-ratio: auto;
    min-height: min(680px, 78svh);
  }

  .highlight-panel {
    padding: 26px;
  }

  .highlight-panel > img {
    object-position: 60% center;
  }

  .highlight-panel__scrim {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.87) 0%, rgba(0, 0, 0, 0.08) 75%);
  }

  .highlight-panel__copy h3 {
    font-size: clamp(2.3rem, 10vw, 3.7rem);
  }

  .highlight-panel--product {
    padding-top: 44px;
    align-items: end;
    grid-template-columns: 1fr;
  }

  .highlight-panel--product > img {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: 62%;
    margin: 0;
    object-fit: contain;
  }

  .highlight-panel--interface > img {
    inset: 2% 0 auto;
    width: 100%;
    height: 60%;
  }

  .highlight-panel--interface::after {
    background: linear-gradient(0deg, #0b1017 0%, rgba(11, 16, 23, 0.24) 72%);
  }

  .media-gallery__controls {
    align-items: flex-start;
  }

  .gallery-tabs {
    max-width: calc(100% - 56px);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .gallery-tabs::-webkit-scrollbar {
    display: none;
  }

  .gallery-tab {
    padding-inline: 14px;
    white-space: nowrap;
  }

  .chapter-heading {
    margin-bottom: 58px;
    gap: 12px;
    grid-template-columns: 1fr;
  }

  .chapter-heading__number {
    font-size: var(--text-body);
  }

  .stat-grid,
  .pain-grid,
  .strategy-pillars,
  .naming-card,
  .storyboard__copy,
  .record-card__content,
  .engineering-grid,
  .archive-grid {
    grid-template-columns: 1fr;
  }

  .stat-card--hero {
    grid-column: auto;
  }

  .stat-card {
    min-height: 300px;
  }

  .stat-card h3 {
    margin-top: 74px;
  }

  .pain-grid {
    margin-top: 60px;
  }

  .story-card {
    min-height: 0;
  }

  .edge-media img {
    aspect-ratio: 16 / 9;
    object-fit: contain;
    background: #fff;
  }

  .edge-media .market-research__panel {
    height: auto;
    aspect-ratio: 4 / 3;
    background: transparent;
  }

  .market-research__canvas {
    grid-template-columns: 1fr;
  }

  .strategy-pillars article {
    min-height: 0;
  }

  .process-gallery {
    margin-top: 84px;
  }

  .process-gallery__header h3 {
    max-width: 240px;
  }

  .process-track {
    --process-card-width: 88vw;
    --process-track-start: 20px;
    --process-track-end: max(20px, calc((100vw - var(--process-card-width)) / 2));

    margin-inline: -20px;
    padding-inline: var(--process-track-start) var(--process-track-end);
    grid-auto-columns: var(--process-card-width);
    scroll-padding-inline: var(--process-track-start) var(--process-track-end);
  }

  .process-card__media {
    aspect-ratio: 16 / 10;
  }

  .naming-card {
    margin-top: 40px;
    gap: 38px;
  }

  .cinema-frame img {
    min-height: 430px;
    object-fit: cover;
  }

  .storyboard {
    margin-top: 72px;
  }

  .storyboard__body {
    gap: 32px;
    grid-template-columns: 1fr;
  }

  .storyboard__media img {
    height: auto;
    object-fit: contain;
  }

  .expression-card__copy,
  .app-card__copy,
  .dimension-card__copy {
    padding: 32px 26px 38px;
  }

  .app-card__media {
    min-height: 360px;
    padding: 18px;
  }

  .record-card summary {
    min-height: 92px;
    padding: 20px 22px;
  }

  .record-card__content {
    padding: 0 18px 18px;
  }

  .engineering-card {
    min-height: 440px;
    padding: 32px 26px;
  }

  .engineering-card--portrait {
    padding-bottom: 0;
  }

  .engineering-card--wide {
    min-height: 0;
    padding: 32px 24px;
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .engineering-card--wide .engineering-card__copy {
    padding-right: 0;
  }

  .engineering-card--wide .media-button {
    margin-top: 28px;
  }

  .feature-list li {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
  }

  .feature-list span {
    text-align: left;
  }

  .dimension-card__media {
    max-height: 520px;
  }

  .design-statement {
    margin-top: 80px;
  }

  .archive-card__preview {
    padding: 28px;
  }

  .archive-card__copy {
    padding: 22px;
  }

  .site-footer {
    width: calc(100% - 40px);
    padding-block: 38px;
    align-items: flex-start;
    flex-direction: column;
  }

  .image-dialog {
    padding: 16px;
  }

  .image-dialog__close {
    top: 12px;
    right: 12px;
  }

  .theme-toggle {
    right: 12px;
    bottom: 12px;
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 420px) {
  .hero {
    min-height: 760px;
  }

  .hero__eyebrow {
    max-width: 280px;
    margin-inline: auto;
  }

  .media-gallery__stage {
    min-height: 620px;
  }

  .gallery-tab {
    padding-inline: 12px;
  }

  .process-gallery__buttons {
    gap: 6px;
  }

  .archive-card__copy {
    align-items: flex-start;
    flex-direction: column;
  }
}

/*
 * Desktop viewport frames
 * JavaScript refreshes both custom properties when the page opens or the
 * browser viewport changes. Each explicit frame shares the same geometry.
 */
@media (min-width: 901px) {
  :is(
    .highlights.section-shell,
    .strategy-foundation.section-shell,
    .strategy-evolution.section-shell,
    .insight-overview.section-shell,
    .insight-evidence.section-shell,
    .experience-overview.section-shell
  ) {
    width: 100%;
    height: var(--desktop-frame-height);
    min-height: var(--desktop-frame-height);
    max-height: var(--desktop-frame-height);
    padding-block: var(--desktop-frame-padding-block);
    padding-inline: var(--viewport-inline-gutter);
    margin-inline: 0;
  }

  .hero {
    width: 100%;
    height: var(--desktop-frame-height);
    min-height: var(--desktop-frame-height);
    padding:
      var(--desktop-frame-padding-block)
      var(--viewport-inline-gutter)
      var(--desktop-frame-padding-block);
    grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  }

  .hero__copy,
  .hero__media {
    min-width: 0;
  }

  .hero__title {
    font-size: clamp(4.8rem, min(11vw, 18vh), 10rem);
  }

  .hero__product {
    width: min(58vw, 800px, calc((var(--viewport-height) - 168px) * 1.015625));
    max-width: 100%;
  }

  .highlights.section-shell {
    display: grid;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .highlights .section-heading {
    margin-bottom: clamp(20px, 3.5vh, 38px);
  }

  .highlights .section-heading h2 {
    font-size: clamp(2.5rem, min(6vw, 8.5vh), 5.4rem);
  }

  .highlights .media-gallery {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .highlights .media-gallery__stage {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .highlights .highlight-panel {
    padding: clamp(26px, min(4.5vw, 6vh), 60px);
  }

  .highlights .highlight-panel__copy h3 {
    font-size: clamp(2rem, min(5vw, 6.8vh), 4.4rem);
  }

  .highlights .highlight-panel__copy p:last-child {
    margin-top: clamp(12px, 2vh, 20px);
    font-size: clamp(0.95rem, min(1.35vw, 2.4vh), 1.16rem);
  }

  .highlights .media-gallery__controls {
    margin-top: clamp(12px, 2vh, 20px);
  }

  .strategy-foundation.section-shell {
    display: grid;
    overflow: hidden;
    align-content: center;
    gap: 0;
  }

  .strategy-foundation .chapter-heading {
    margin-bottom: clamp(64px, 9vw, 120px);
  }

  .strategy-foundation .strategy-pillars {
    margin-top: 0;
  }

  .strategy-foundation .strategy-pillars article {
    min-height: 0;
    padding: clamp(24px, min(3vw, 4vh), 44px);
  }

  .strategy-foundation .naming-card {
    min-height: 0;
    padding: clamp(26px, min(4.2vw, 5vh), 54px);
    margin-top: clamp(16px, 2.4vh, 28px);
    gap: clamp(24px, 3vw, 44px);
  }

  .strategy-evolution.section-shell {
    display: grid;
    overflow: visible;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
  }

  .strategy-evolution .process-gallery {
    display: grid;
    width: 100%;
    min-height: 0;
    min-width: 0;
    margin-top: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .strategy-evolution .process-gallery__header {
    width: 100%;
    min-width: 0;
    margin-bottom: clamp(18px, 3vh, 26px);
  }

  .strategy-evolution .process-track {
    --process-track-gutter:
      max(
        24px,
        calc((100vw - var(--viewport-content-width)) / 2)
      );
    --process-track-start: var(--process-track-gutter);
    --process-track-end: max(
      var(--process-track-gutter),
      calc((100vw - var(--process-card-width)) / 2)
    );

    width: 100vw;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin-inline: calc(0px - var(--process-track-gutter)) 0;
    justify-self: start;
    grid-template-rows: minmax(0, 1fr);
  }

  .strategy-evolution .process-card {
    display: grid;
    height: 100%;
    min-height: 0;
    grid-template-rows:
      minmax(0, 1fr)
      var(--process-card-copy-height, auto);
  }

  .strategy-evolution .process-card__media {
    height: 100%;
    min-height: 0;
    aspect-ratio: auto;
    background: #fff;
  }

  .strategy-evolution .process-card__copy {
    min-height: 0;
  }

  .insight-overview.section-shell {
    overflow: hidden;
  }

  .insight-overview .stat-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  .insight-overview .stat-card--hero {
    grid-column: auto;
  }

  .insight-evidence.section-shell {
    display: grid;
    overflow: hidden;
    gap: clamp(24px, 3vh, 32px);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .insight-evidence .pain-grid {
    margin-top: 0;
  }

  .insight-evidence .edge-media {
    display: grid;
    width: 100%;
    min-height: 0;
    margin: 0;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .insight-evidence .edge-media .media-button {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 0;
    aspect-ratio: auto;
  }

  .insight-evidence .edge-media .market-research__panel {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    object-fit: contain;
    background: transparent;
  }

  .insight-evidence .edge-media figcaption {
    margin-top: clamp(10px, 1.5vh, 16px);
  }

  .experience-overview.section-shell {
    display: grid;
    overflow: hidden;
    grid-template-rows: auto minmax(0, 1fr);
  }

  .experience-overview .cinema-frame {
    display: grid;
    min-height: 0;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .experience-overview .cinema-frame img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .experience-overview .cinema-frame figcaption {
    margin-top: clamp(12px, 2vh, 22px);
  }

  .experience-medication.section-shell,
  .experience-expression.section-shell,
  .experience-companion.section-shell {
    width: 100%;
    padding-inline: var(--viewport-inline-gutter);
    margin-inline: 0;
  }

  .experience-flow-group {
    display: grid;
    gap: var(--experience-flow-gap);
  }

  .experience-medication .storyboard {
    margin-top: 0;
  }

  .experience-expression .expression-card {
    width: 100%;
    margin-top: 0;
  }

  .experience-companion.section-shell {
    padding-bottom: var(--section-space);
  }

  .experience-companion .app-card {
    margin-top: 0;
  }

  .experience-companion .record-card {
    margin-top: var(--experience-flow-gap);
  }
}

@media (min-width: 901px) and (max-height: 740px) {
  .insight-overview .chapter-heading,
  .strategy-foundation .chapter-heading {
    margin-bottom: 56px;
  }

  .insight-overview .stat-card {
    min-height: 0;
    padding: 24px;
  }

  .insight-overview .stat-card h3 {
    margin-top: 64px;
  }

  .insight-overview .source-note {
    margin-top: 8px;
  }

}

/*
 * Apple OS–inspired typography scale.
 * The Mokey wordmark (.hero__title-cn / .hero__title-en) intentionally keeps
 * its original sizing and proportions.
 */
:root {
  --mokey-type-display-size: 48px;
  --mokey-type-display-leading: 52px;
  --mokey-type-media-size: 28px;
  --mokey-type-media-leading: 35px;
  --mokey-type-eyebrow-size: 21px;
  --mokey-type-eyebrow-leading: 21px;
  --mokey-type-intro-size: 21px;
  --mokey-type-intro-leading: 29px;
  --mokey-type-body-size: 17px;
  --mokey-type-body-leading: 23px;
  --mokey-type-footnote-size: 12px;
  --mokey-type-footnote-leading: 16px;
  --mokey-font-display:
    "SF Pro SC", "SF Pro Display", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", sans-serif;
  --mokey-font-text:
    "SF Pro SC", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "PingFang SC", "Microsoft YaHei", sans-serif;
}

.eyebrow {
  margin-bottom: 12px;
  font-family: var(--mokey-font-text);
  font-size: var(--mokey-type-footnote-size);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: var(--mokey-type-footnote-leading);
  text-transform: none;
}

.hero__eyebrow {
  margin-bottom: 20px;
  font-family: var(--mokey-font-display);
  font-size: 21px;
  letter-spacing: 0.011em;
  line-height: 28px;
}

.section-heading > .eyebrow,
.chapter-heading .eyebrow {
  margin-bottom: 12px;
  font-family: var(--mokey-font-display);
  font-size: var(--mokey-type-eyebrow-size);
  letter-spacing: 0.011em;
  line-height: var(--mokey-type-eyebrow-leading);
}

.section-heading h2,
.chapter-heading h2,
.highlights .section-heading h2 {
  font-family: var(--mokey-font-display);
  font-size: var(--mokey-type-display-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: var(--mokey-type-display-leading);
}

.section-heading > p:last-child {
  margin-top: 24px;
  color: var(--color-label-secondary);
  font-family: var(--mokey-font-display);
  font-size: var(--mokey-type-intro-size);
  font-weight: 600;
  letter-spacing: 0.011em;
  line-height: var(--mokey-type-intro-leading);
}

.hero__statement {
  margin-top: 20px;
  font-family: var(--mokey-font-text);
  font-size: var(--mokey-type-body-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 20px;
}

.hero__intro {
  margin-top: 12px;
  font-family: var(--mokey-font-text);
  font-size: var(--mokey-type-body-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: 25px;
}

.highlight-panel__copy h3,
.highlights .highlight-panel__copy h3,
.story-card h3,
.strategy-pillars h3,
.process-gallery__header h3,
.storyboard__copy h3,
.expression-card__copy h3,
.app-card__copy h3,
.dimension-card__copy h3,
.engineering-card h3,
.design-statement blockquote,
.archive-card__deck-cover > strong {
  font-family: var(--mokey-font-display);
  font-size: var(--mokey-type-media-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: var(--mokey-type-media-leading);
}

.naming-card h3 {
  font-family: var(--mokey-font-display);
  font-size: var(--mokey-type-display-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: var(--mokey-type-display-leading);
}

.stat-card h3,
.process-card__copy h4,
.app-card__copy dt,
.record-card summary strong,
.record-card__content h3,
.archive-card__copy h3,
.site-footer p:first-child {
  font-family: var(--mokey-font-text);
  font-size: var(--mokey-type-body-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: var(--mokey-type-body-leading);
}

.highlight-panel__copy p:last-child,
.highlights .highlight-panel__copy p:last-child,
.stat-card p:last-child,
.story-card ul,
.edge-media figcaption,
.strategy-pillars p:last-child,
.process-card__copy p:last-child,
.naming-card > div:last-child,
.cinema-frame figcaption,
.storyboard__copy li p,
.expression-card__copy > p:not(.eyebrow),
.app-card__copy > p:not(.eyebrow),
.app-card__copy dd,
.record-card__content p,
.engineering-card p:not(.eyebrow):not(.engineering-card__note),
.engineering-card__summary,
.feature-list li,
.dimension-card__copy dt,
.dimension-card__copy dd {
  font-family: var(--mokey-font-text);
  font-size: var(--mokey-type-body-size);
  font-weight: 600;
  letter-spacing: normal;
  line-height: var(--mokey-type-body-leading);
}

.highlight-panel__copy p:last-child,
.highlights .highlight-panel__copy p:last-child,
.strategy-pillars p:last-child,
.process-card__copy p:last-child,
.expression-card__copy > p:not(.eyebrow),
.app-card__copy > p:not(.eyebrow),
.engineering-card p:not(.eyebrow):not(.engineering-card__note) {
  margin-top: 0.8em;
}

.stat-card h3,
.record-card__content h3 {
  margin-bottom: 0;
}

.stat-card p:last-child,
.story-card ul,
.record-card__content p {
  margin-top: 0.8em;
}

.hero__media figcaption,
.source-note,
.engineering-card p.engineering-card__note,
.site-footer p:last-child {
  font-family: var(--mokey-font-text);
  font-size: var(--mokey-type-footnote-size);
  font-weight: 400;
  letter-spacing: normal;
  line-height: var(--mokey-type-footnote-leading);
}

.engineering-card p.engineering-card__note {
  margin-bottom: 0;
}

@media (max-width: 1068px) {
  :root {
    --mokey-type-display-size: 40px;
    --mokey-type-display-leading: 44px;
    --mokey-type-media-size: 24px;
    --mokey-type-media-leading: 31px;
    --mokey-type-eyebrow-size: 19px;
    --mokey-type-eyebrow-leading: 26px;
    --mokey-type-intro-size: 19px;
    --mokey-type-intro-leading: 27px;
  }

  .section-heading > .eyebrow,
  .chapter-heading .eyebrow {
    margin-bottom: 10px;
    letter-spacing: 0.012em;
  }

  .section-heading > p:last-child {
    margin-top: 18px;
  }
}

@media (max-width: 734px) {
  :root {
    --mokey-type-display-size: 32px;
    --mokey-type-display-leading: 39px;
    --mokey-type-media-size: 17px;
    --mokey-type-media-leading: 23px;
    --mokey-type-eyebrow-size: 17px;
    --mokey-type-eyebrow-leading: 23px;
    --mokey-type-intro-size: 17px;
    --mokey-type-intro-leading: 25px;
    --mokey-type-body-size: 14px;
    --mokey-type-body-leading: 21px;
  }

  .hero__eyebrow {
    margin-bottom: 20px;
    font-size: 19px;
    letter-spacing: 0.012em;
    line-height: 26px;
  }

  .section-heading > .eyebrow,
  .chapter-heading .eyebrow {
    margin-bottom: 8px;
    letter-spacing: normal;
  }

  .section-heading > p:last-child {
    margin-top: 14px;
    letter-spacing: normal;
  }

  .highlight-panel__copy p:last-child,
  .highlights .highlight-panel__copy p:last-child,
  .strategy-pillars p:last-child,
  .process-card__copy p:last-child,
  .expression-card__copy > p:not(.eyebrow),
  .app-card__copy > p:not(.eyebrow),
  .engineering-card p:not(.eyebrow):not(.engineering-card__note) {
    margin-top: 0.8em;
  }
}

@media (prefers-reduced-transparency: reduce) {
  nav.sticky-nav,
  .nav,
  .image-dialog__close {
    background: var(--color-surface-raised);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .image-dialog::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  nav.sticky-nav,
  .nav,
  .strategy-pillars article,
  .process-card,
  .naming-card {
    border-width: 2px;
  }

  .highlight-panel__scrim {
    background: rgba(0, 0, 0, 0.72);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero__eyebrow,
  .hero__title,
  .hero__statement,
  .hero__intro,
  .hero__tags,
  .hero__product,
  .reveal,
  .highlight-panel__copy {
    opacity: 1;
    transform: none;
  }
}
