:root {
  --ink: #091522;
  --ink-soft: #142536;
  --ink-deep: #05090e;
  --paper: #f3efe5;
  --paper-bright: #fbfaf6;
  --paper-deep: #e4ddd0;
  --white: #ffffff;
  --muted: #61707d;
  --muted-light: #aeb9c3;
  --blue: #68aee8;
  --blue-bright: #9bd6ff;
  --copper: #d77c56;
  --copper-soft: #e9b08f;
  --green: #84d8aa;
  --line: rgba(9, 21, 34, 0.16);
  --line-light: rgba(255, 255, 255, 0.16);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Baskerville, Georgia, serif;
  --shell: 1440px;
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --chapter-start-space: clamp(160px, 11vw, 210px);
  --chapter-end-space: clamp(92px, 7vw, 118px);
  --chapter-label-gap: clamp(24px, 1.8vw, 30px);
  --transition-before-space: clamp(88px, 7vw, 112px);
  --transition-rule-gap: clamp(34px, 3vw, 46px);
  --transition-max-width: 1040px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  background: var(--ink);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]) {
  overflow: hidden;
}

::selection {
  color: var(--paper-bright);
  background: var(--copper);
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

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

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

img,
video,
iframe {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p,
ol,
ul,
dl,
dd,
figure {
  margin-top: 0;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper-bright);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.page-shell {
  width: min(100%, var(--shell));
  margin-inline: auto;
  padding-inline: clamp(22px, 4vw, 64px);
}

.section-pad {
  padding-block: clamp(92px, 10vw, 150px);
}

.eyebrow,
.section-index {
  margin-bottom: 18px;
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.section-index {
  color: var(--muted);
}

.display-heading {
  max-width: 17ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 5.6vw, 6.15rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.052em;
  text-wrap: balance;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 750;
  line-height: 1.8;
  text-decoration: none;
}

.inline-link span {
  transition: transform 220ms var(--ease);
}

.inline-link:hover span {
  transform: translate(3px, -3px);
}

/* Header */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(22px, 4vw, 64px);
  color: var(--white);
  border-bottom: 1px solid transparent;
  transition: height 300ms var(--ease), color 300ms ease, background 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled,
.site-header.nav-open {
  height: 68px;
  color: var(--ink);
  background: rgba(243, 239, 229, 0.93);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-name {
  font-size: 0.86rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.75vw, 28px);
}

.primary-nav a {
  position: relative;
  color: inherit;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.015em;
  text-decoration: none;
}

.primary-nav a:not(.nav-resume)::after {
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.primary-nav a:hover::after,
.primary-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-resume {
  padding: 8px 12px;
  border: 1px solid currentColor;
  border-radius: 100px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 11px 8px;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 25px;
  height: 1px;
  margin: 6px auto;
  background: currentColor;
  transition: transform 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Hero */

.hero {
  position: relative;
  display: grid;
  min-height: max(720px, 100svh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink) url("hero-poster.webp") center / cover no-repeat;
}

.hero-video,
.hero-shade,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-video {
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.92) contrast(1.03);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.95) 0%, rgba(3, 10, 18, 0.5) 45%, rgba(3, 10, 18, 0.1) 75%, transparent 100%),
    linear-gradient(0deg, rgba(3, 10, 18, 0.9) 0%, transparent 48%, rgba(3, 10, 18, 0.25) 100%);
}

.hero-grid {
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 76%);
  mask-image: linear-gradient(90deg, #000, transparent 76%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-height) + 34px);
  padding-bottom: 118px;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: clamp(18px, 2.7vh, 28px);
  color: rgba(255, 255, 255, 0.78);
}

.hero-eyebrow span {
  color: var(--copper-soft);
}

.hero h1 {
  max-width: 1080px;
  margin-bottom: clamp(20px, 2.8vh, 30px);
  font-family: var(--serif);
  font-size: clamp(3.3rem, 5.9vw, 7rem);
  font-weight: 400;
  line-height: 1.0;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.hero-intro {
  max-width: 720px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

.story-invitation {
  display: inline-grid;
  grid-template-columns: 46px auto 20px;
  gap: 14px;
  align-items: center;
  min-width: 318px;
  min-height: 70px;
  padding: 10px 16px 10px 11px;
  color: var(--ink);
  background: var(--paper-bright);
  border: 1px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
  transition: transform 240ms var(--ease), box-shadow 240ms ease, background 240ms ease;
}

.story-invitation:hover {
  background: var(--white);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(-3px);
}

.story-play {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--white);
  background: var(--copper);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(215, 124, 86, 0.45);
  animation: storyPulse 2.8s ease-out infinite;
}

.story-play svg {
  margin-left: 2px;
}

.story-invitation-copy {
  display: grid;
  gap: 1px;
}

.story-invitation-copy strong {
  font-size: 0.9rem;
  letter-spacing: -0.01em;
}

.story-invitation-copy small {
  color: var(--muted);
  font-size: 0.7rem;
}

.story-arrow {
  justify-self: end;
  color: var(--muted);
  font-size: 0.85rem;
  transition: transform 220ms var(--ease);
}

.story-invitation:hover .story-arrow {
  transform: translate(3px, -3px);
}

.hero-work-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding-block: 12px;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
}

.hero-work-link span {
  transition: transform 220ms var(--ease);
}

.hero-work-link:hover span {
  transform: translateY(4px);
}

@keyframes storyPulse {
  0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(215, 124, 86, 0.42); }
  82% { box-shadow: 0 0 0 10px rgba(215, 124, 86, 0); }
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 66px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line-light);
}

.hero-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: #258dff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(37, 141, 255, 0.16);
}

.hero-status {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: left;
}

.status-primary {
  display: flex;
  align-items: center;
  color: var(--white) !important;
  font-family: var(--sans);
  font-size: clamp(0.7rem, 1.2vw, 0.76rem) !important;
  font-weight: 550 !important;
  line-height: 1.35 !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.status-secondary {
  color: rgba(255, 255, 255, 0.52) !important;
  font-family: var(--sans);
  font-size: clamp(0.62rem, 1.05vw, 0.68rem) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
  padding-left: 16px;
  text-transform: none !important;
  letter-spacing: normal !important;
}

.video-toggle {
  position: absolute;
  z-index: 3;
  right: clamp(22px, 4vw, 64px);
  bottom: 84px;
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(3, 10, 18, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 100px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  cursor: pointer;
  font-size: 0.65rem;
}

.pause-icon {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.12em;
}

/* Proof and point of view */

.proof-strip {
  color: var(--paper-bright);
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 40px;
}

.proof-item {
  padding: 12px clamp(24px, 3.5vw, 48px);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.proof-item:first-child {
  padding-left: 0;
  border-left: 0;
}

.proof-item:last-child {
  padding-right: 0;
}

.proof-icon {
  color: #258dff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-metric {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 3.8vw, 4.4rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--white);
  margin-bottom: 12px;
}

.proof-metric--word {
  display: flex;
  min-height: clamp(2.85rem, 4.18vw, 4.94rem);
  align-items: flex-end;
  font-size: clamp(2.45rem, 3.1vw, 3.75rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.metric-suffix {
  color: #258dff;
  font-size: 0.85em;
  margin-left: 1px;
}

.metric-prefix {
  font-size: 0.85em;
  margin-right: 2px;
}

.proof-headline {
  margin: 0 0 14px 0;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #258dff;
}

.proof-copy {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
  max-width: 32ch;
}

.metrics-transition {
  max-width: var(--transition-max-width);
  margin-inline: auto;
  margin-bottom: 0;
  padding-top: var(--transition-rule-gap);
  padding-bottom: var(--chapter-end-space);
  color: rgba(255, 255, 255, 0.72);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.95rem);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

/* Editorial story chapters */

.story-chapter {
  border-bottom: 1px solid var(--line);
}

.story-chapter.section-pad {
  padding-top: var(--chapter-start-space);
  padding-bottom: var(--chapter-end-space);
}

.story-chapter--paper {
  background: var(--paper);
}

.story-chapter--bright {
  background: var(--paper-bright);
}

.story-chapter--deep {
  background: var(--paper-deep);
}

.story-chapter--financial-film {
  position: relative;
  isolation: isolate;
  min-height: clamp(760px, 88svh, 920px);
  overflow: hidden;
  color: var(--white);
  background: #07121f url("thinking-and-writing-poster.webp") center / cover no-repeat;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.financial-chapter-video,
.financial-chapter-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.financial-chapter-video {
  z-index: -2;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(0.66) saturate(0.82) contrast(1.06);
  transform: scale(1.015);
}

.financial-chapter-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.84) 0%, rgba(3, 10, 18, 0.46) 48%, rgba(3, 10, 18, 0.78) 100%),
    linear-gradient(0deg, rgba(3, 10, 18, 0.74) 0%, rgba(3, 10, 18, 0.12) 58%, rgba(3, 10, 18, 0.38) 100%);
}

.financial-chapter-content {
  position: relative;
  z-index: 1;
}

.story-chapter--financial-film .story-chapter-title .section-index {
  color: #8fc8ff;
}

.story-chapter--financial-film .story-chapter-title h2 {
  color: var(--white);
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.3);
}

.story-chapter--financial-film .story-chapter-copy {
  color: rgba(238, 245, 251, 0.82);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.32);
}

.story-chapter--financial-film .outcome-line {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.story-chapter--financial-film .outcome-line span {
  color: rgba(200, 220, 237, 0.66);
}

.story-chapter--financial-film .outcome-line strong {
  color: rgba(255, 255, 255, 0.94);
}

.story-chapter--financial-film .inline-link {
  color: #eef7ff;
  border-bottom-color: rgba(238, 247, 255, 0.55);
}

.story-chapter--financial-film .chapter-transition {
  color: rgba(211, 226, 238, 0.76);
  border-top-color: rgba(255, 255, 255, 0.18);
}

.story-chapter-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(58px, 10vw, 160px);
  align-items: start;
}

.story-chapter-title .section-index {
  margin-bottom: var(--chapter-label-gap);
  color: var(--muted);
}

.story-chapter-title h2 {
  max-width: 14ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.75rem, 4.75vw, 5.4rem);
  font-weight: 400;
  line-height: 0.99;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.story-chapter-copy {
  max-width: 680px;
  padding-top: 43px;
  color: #344655;
}

.story-chapter-copy > p {
  margin-bottom: 1.25em;
  font-size: clamp(0.96rem, 1.12vw, 1.05rem);
  line-height: 1.75;
}

.story-chapter-copy > p:last-of-type {
  margin-bottom: 0;
}

.chapter-transition {
  max-width: var(--transition-max-width);
  margin: var(--transition-before-space) auto 0;
  padding: var(--transition-rule-gap) clamp(18px, 4vw, 64px) 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.15rem);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}

.chapter-transition--dark {
  color: #9ba8b5;
  border-top-color: rgba(255, 255, 255, 0.12);
}

.thesis {
  background: var(--paper-bright);
}

.thesis-grid {
  display: grid;
  grid-template-columns: 0.45fr 2.55fr;
  gap: clamp(36px, 8vw, 140px);
}

.thesis .display-heading {
  max-width: 19ch;
}

.thesis-copy {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(54px, 7vw, 90px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.thesis-copy p {
  margin-bottom: 0;
  color: #394b5b;
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.75;
}

.thesis-copy p:first-child {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.75vw, 1.7rem);
  line-height: 1.45;
}

/* Enterprise work */

.enterprise-work {
  background: var(--paper);
}

.enterprise-work .display-heading {
  max-width: 20ch;
  font-size: clamp(2.75rem, 4.7vw, 5.3rem);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.65fr);
  gap: clamp(44px, 8vw, 140px);
  align-items: end;
}

.section-lede {
  max-width: 49ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.case-list {
  margin-top: clamp(64px, 8vw, 110px);
  border-top: 1px solid var(--line);
}

.case-row {
  display: grid;
  grid-template-columns: 0.2fr 0.88fr 1.35fr;
  gap: clamp(24px, 5vw, 78px);
  padding-block: clamp(56px, 7vw, 96px);
  border-bottom: 1px solid var(--line);
}

.case-number {
  color: var(--copper);
  font-family: var(--serif);
  font-size: clamp(1.9rem, 2.7vw, 3rem);
  line-height: 1;
}

.case-title .eyebrow {
  color: var(--muted);
}

.case-title h3 {
  max-width: 14ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3.15vw, 3.55rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.043em;
  text-wrap: balance;
}

.case-body {
  max-width: 680px;
  color: #344655;
}

.case-body > p {
  font-size: clamp(0.96rem, 1.15vw, 1.05rem);
  line-height: 1.76;
}

.story-block {
  margin-bottom: 24px;
}

.story-block:last-of-type {
  margin-bottom: 0;
}

.story-block h4 {
  margin: 0 0 6px 0;
  font-family: var(--sans);
  font-size: 0.66rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
}

.story-block p {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.92rem, 1.12vw, 1.02rem);
  line-height: 1.62;
  color: #344655;
}

.outcome-line {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 18px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.outcome-line span {
  color: var(--muted);
  font-size: 0.63rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.outcome-line strong {
  color: var(--ink);
  font-size: 0.76rem;
}

@media (min-width: 621px) {
  .outcome-line {
    grid-template-columns: 1fr;
  }

  .outcome-line span {
    display: none;
  }
}

.case-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 14px;
  margin-top: 26px;
}

.case-actions > span {
  color: var(--muted);
  font-size: 0.65rem;
}

/* Product documentary */

.product-documentary {
  color: #e9eef4;
  background: var(--ink-deep);
}

.product-film {
  position: relative;
  display: flex;
  min-height: clamp(740px, 88svh, 880px);
  align-items: stretch;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 28%, rgba(39, 140, 255, 0.12), transparent 34%),
    linear-gradient(135deg, #07101a, #04080d);
}

.product-film-video,
.product-film-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.product-film-video {
  object-fit: cover;
  filter: saturate(0.86) contrast(1.04);
  opacity: 0;
  transition: opacity 420ms ease;
}

.product-film-video.is-media-ready {
  opacity: 1;
}

.product-film-shade {
  background:
    linear-gradient(90deg, rgba(4, 8, 13, 0.8) 0%, rgba(4, 8, 13, 0.28) 60%, rgba(4, 8, 13, 0.12) 100%),
    linear-gradient(0deg, #05090e 0%, rgba(5, 9, 14, 0.45) 38%, rgba(5, 9, 14, 0.05) 70%);
}

.product-film-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--chapter-start-space);
  padding-bottom: var(--chapter-end-space);
}

.product-film-content::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -50vw;
  right: -50vw;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 9, 14, 0.9) 0%, rgba(5, 9, 14, 0.9) 20%, rgba(5, 9, 14, 0.6) 55%, rgba(5, 9, 14, 0.2) 80%, transparent 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  mask-image: linear-gradient(90deg, black 0%, black 20%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, black 0%, black 20%, rgba(0, 0, 0, 0.6) 55%, rgba(0, 0, 0, 0.2) 80%, transparent 100%);
  pointer-events: none;
}

@media (min-width: 621px) {
  .product-film-content::before {
    right: calc(100% - 900px);
    background: linear-gradient(90deg, rgba(5, 9, 14, 0.92) 0%, rgba(5, 9, 14, 0.92) calc(50vw + 200px), rgba(5, 9, 14, 0.6) calc(50vw + 450px), rgba(5, 9, 14, 0.25) calc(50vw + 650px), transparent calc(50vw + 850px));
    mask-image: linear-gradient(90deg, black 0%, black calc(50vw + 200px), rgba(0, 0, 0, 0.6) calc(50vw + 450px), rgba(0, 0, 0, 0.25) calc(50vw + 650px), transparent calc(50vw + 850px));
    -webkit-mask-image: linear-gradient(90deg, black 0%, black calc(50vw + 200px), rgba(0, 0, 0, 0.6) calc(50vw + 450px), rgba(0, 0, 0, 0.25) calc(50vw + 650px), transparent calc(50vw + 850px));
  }
}

.product-film-content .section-index {
  margin-bottom: var(--chapter-label-gap);
  color: var(--blue-bright);
}

.product-film-content h2 {
  max-width: 13ch;
  margin-bottom: clamp(28px, 2.4vw, 36px);
  font-family: var(--serif);
  font-size: clamp(3.35rem, 6.3vw, 7rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.06em;
  text-wrap: balance;
}

.product-film-content > p:last-child {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(233, 238, 244, 0.76);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.9vw, 1.75rem);
  line-height: 1.45;
}

.product-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.85fr);
  gap: clamp(70px, 11vw, 170px);
  padding-block: clamp(92px, 11vw, 156px);
}

.product-narrative {
  max-width: 660px;
}

.product-narrative p {
  margin-bottom: 1.3em;
  color: #9ba8b5;
  font-size: clamp(0.97rem, 1.15vw, 1.08rem);
  line-height: 1.78;
}

.product-narrative .product-opening {
  color: #f4f7fb;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.25vw, 2.2rem);
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.product-narrative .product-closing {
  margin-top: 38px;
  margin-bottom: 0;
  color: var(--blue-bright);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.7rem);
}

.product-responsibility {
  align-self: start;
  padding: clamp(28px, 3.5vw, 48px);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(155, 214, 255, 0.18);
}

.product-responsibility > .eyebrow {
  color: var(--blue-bright);
}

.product-responsibility dl {
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.product-responsibility dl > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 20px;
  padding-block: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.product-responsibility dt {
  color: #f4f7fb;
  font-family: var(--serif);
  font-size: 1.02rem;
  line-height: 1.35;
}

.product-responsibility dd {
  color: #8f9cac;
  font-size: 0.74rem;
  line-height: 1.6;
}

.product-outcome > p:not(.eyebrow) {
  margin-bottom: 0;
  color: #f4f7fb;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 2.15rem);
  line-height: 1.42;
  letter-spacing: -0.02em;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
  margin-top: 30px;
}

.product-links a {
  color: #82909f;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.product-links .product-link-primary {
  color: var(--blue-bright);
}

.product-links a:hover {
  color: var(--white);
}

.product-documentary > .chapter-transition {
  margin-top: clamp(-64px, -4vw, -48px);
  padding-bottom: var(--chapter-end-space);
}

/* Systems and behavior */

.systems-work {
  background: var(--paper-deep);
}

.compact-heading .display-heading {
  max-width: 15ch;
}

/* Leadership documentary */

.leadership-documentary {
  color: #f4f0ea;
  background: #0b0d10;
}

.leadership-hero {
  position: relative;
  display: flex;
  min-height: clamp(740px, 88svh, 880px);
  align-items: stretch;
  overflow: hidden;
  background: #0b0d10 url("drone-possibility-poster.jpg") center / cover no-repeat;
}

.leadership-hero-video,
.leadership-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.leadership-hero-video {
  object-fit: cover;
  filter: saturate(0.58) brightness(0.66);
}

.leadership-hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 13, 16, 0.78), rgba(11, 13, 16, 0.18) 72%),
    linear-gradient(0deg, #0b0d10 0%, rgba(11, 13, 16, 0.34) 42%, rgba(11, 13, 16, 0.14) 75%);
}

.leadership-hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--chapter-start-space);
  padding-bottom: var(--chapter-end-space);
}

.leadership-hero-content .section-index {
  margin-bottom: var(--chapter-label-gap);
  color: var(--copper-soft);
}

.leadership-hero-content h2 {
  max-width: 14ch;
  margin-bottom: clamp(28px, 2.4vw, 36px);
  font-family: var(--serif);
  font-size: clamp(3.15rem, 5.8vw, 6.6rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.057em;
  text-wrap: balance;
}

.leadership-hero-content > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: rgba(244, 240, 234, 0.72);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
}

.leadership-body {
  padding-block: clamp(90px, 11vw, 160px);
}

.leadership-copy {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: clamp(30px, 5vw, 76px);
  margin-bottom: clamp(70px, 9vw, 118px);
}

.leadership-copy p {
  margin-bottom: 0;
  color: #aaa49c;
  font-size: clamp(0.95rem, 1.1vw, 1.04rem);
  line-height: 1.78;
}

.leadership-copy .leadership-opening {
  color: #f4f0ea;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: -0.02em;
}

.leadership-copy--editorial {
  grid-template-columns: 1fr;
  max-width: 780px;
}

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

.film-story {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background: #16191e;
  border: 1px solid rgba(212, 149, 106, 0.18);
}

.film-story video,
.film-story-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.film-story video {
  object-fit: cover;
  filter: saturate(0.72);
  transition: transform 700ms var(--ease), filter 500ms ease;
}

.film-story-shade {
  z-index: 1;
  background:
    linear-gradient(0deg, rgba(7, 8, 10, 0.96) 0%, rgba(7, 8, 10, 0.34) 68%, rgba(7, 8, 10, 0.12) 100%),
    linear-gradient(90deg, rgba(7, 8, 10, 0.32), transparent);
}

.film-story a {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(26px, 4vw, 48px);
  color: #f4f0ea;
  text-decoration: none;
}

.film-story:hover video {
  filter: saturate(0.9);
  transform: scale(1.035);
}

.film-play {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 24px;
  place-items: center;
  color: #19110d;
  background: var(--copper-soft);
  border-radius: 50%;
  transition: transform 240ms var(--ease), background 240ms ease;
}

.film-play svg {
  margin-left: 2px;
}

.film-story:hover .film-play {
  background: var(--white);
  transform: scale(1.08);
}

.film-kicker {
  margin-bottom: 9px;
  color: var(--copper-soft);
  font-size: 0.65rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.film-story strong {
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 3.1rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.film-story small {
  margin-top: 12px;
  color: #aaa49c;
  font-size: 0.8rem;
}

.leadership-closing {
  max-width: 760px;
  margin: clamp(68px, 9vw, 110px) auto 0;
  color: var(--copper-soft);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.8vw, 2.7rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
  text-align: center;
}

.leadership-outcome p {
  margin-bottom: 24px;
}

.leadership-outcome .inline-link {
  color: #f4f0ea;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0;
}

/* Approach */

.approach {
  color: var(--paper-bright);
  background: var(--ink-soft);
}

.approach .section-index,
.approach .section-lede {
  color: var(--muted-light);
}

.approach-heading {
  padding-bottom: clamp(58px, 7vw, 96px);
  border-bottom: 1px solid var(--line-light);
}

.principles {
  margin: 0;
  padding: 0;
  list-style: none;
}

.principles li {
  display: grid;
  grid-template-columns: 0.3fr 1.7fr;
  gap: 40px;
  padding-block: clamp(38px, 4.5vw, 62px);
  border-bottom: 1px solid var(--line-light);
}

.principle-index {
  color: var(--copper-soft);
  font-family: var(--serif);
  font-size: 1.4rem;
}

.principles li > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 8vw, 150px);
}

.principles h3 {
  max-width: 18ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.75rem, 2.7vw, 2.95rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.033em;
}

.principles p {
  max-width: 49ch;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 0.93rem;
  line-height: 1.72;
}

.ai-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(50px, 9vw, 140px);
  margin-top: clamp(80px, 10vw, 140px);
  padding: clamp(40px, 6vw, 78px);
  color: var(--ink);
  background: var(--blue-bright);
}

.ai-note .eyebrow {
  margin-bottom: 20px;
}

.ai-note h3 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 4.1rem);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.ai-note > div:last-child {
  align-self: end;
}

.ai-note > div:last-child p {
  max-width: 58ch;
  font-size: 0.94rem;
  line-height: 1.72;
}

.ai-note > div:last-child p:last-child {
  margin-bottom: 0;
}

/* Experience */

.experience {
  background: var(--paper-bright);
}

.experience.section-pad {
  padding-top: var(--chapter-start-space);
  padding-bottom: var(--chapter-end-space);
}

.experience-intro .section-index,
.contact .section-index {
  margin-bottom: var(--chapter-label-gap);
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  gap: clamp(68px, 10vw, 160px);
}

.experience-intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.experience-intro .display-heading {
  max-width: 13ch;
  font-size: clamp(2.7rem, 4.4vw, 5.1rem);
}

.experience-intro > p:not(.section-index) {
  max-width: 52ch;
  margin-block: 34px 26px;
  color: var(--muted);
  line-height: 1.72;
}

.career-timeline {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.career-timeline li {
  display: grid;
  grid-template-columns: 105px 1fr;
  gap: clamp(22px, 4vw, 54px);
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.career-timeline time,
.timeline-period {
  padding-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.career-timeline h3 {
  margin-bottom: 3px;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.career-timeline .company {
  margin-bottom: 13px;
  color: var(--copper);
  font-size: 0.73rem;
  font-weight: 750;
}

.career-timeline div > p:last-child {
  max-width: 59ch;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.62;
}

.range-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  margin-top: clamp(80px, 9vw, 120px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.range-strip span {
  padding: 10px 18px;
  color: var(--muted);
  border-left: 1px solid var(--line);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.range-strip span:first-child {
  border-left: 0;
}

/* Contact */

.contact {
  position: relative;
  min-height: 750px;
  overflow: hidden;
  color: var(--paper-bright);
  background: var(--ink);
}

.contact-orbit {
  position: absolute;
  top: 50%;
  right: -18vw;
  width: 62vw;
  height: 62vw;
  border: 1px solid rgba(155, 214, 255, 0.18);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  border: 1px solid rgba(155, 214, 255, 0.12);
  border-radius: 50%;
  content: "";
}

.contact-orbit::before {
  inset: 15%;
}

.contact-orbit::after {
  inset: 33%;
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  gap: clamp(60px, 10vw, 160px);
  min-height: 750px;
  align-items: center;
}

.contact .section-index {
  color: var(--blue-bright);
}

.contact h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.2vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.057em;
}

.contact-copy {
  max-width: 600px;
}

.contact-copy > p {
  color: var(--muted-light);
  line-height: 1.72;
}

.contact-copy > p:nth-child(2) {
  color: var(--paper-bright);
}

.contact-email {
  display: inline-flex;
  gap: 10px;
  margin-top: 26px;
  color: var(--blue-bright);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  text-decoration: none;
}

.contact-links {
  display: flex;
  gap: 28px;
  margin-top: 28px;
}

.contact-links a {
  color: var(--muted-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
}

.contact a:hover {
  color: var(--white);
}

.site-footer {
  color: var(--muted-light);
  background: var(--ink-deep);
  border-top: 1px solid var(--line-light);
}

.site-footer .page-shell {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.site-footer p,
.site-footer a {
  margin: 0;
  font-size: 0.68rem;
}

.site-footer a {
  text-decoration: none;
}

/* Dialogs */

.media-dialog {
  width: min(1120px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  color: var(--paper-bright);
  background: var(--ink-deep);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.media-dialog::backdrop {
  background: rgba(2, 6, 10, 0.86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.dialog-shell {
  padding: clamp(22px, 3vw, 42px);
}

.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.dialog-heading .eyebrow {
  margin-bottom: 7px;
  color: var(--blue-bright);
}

.dialog-heading h2 {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1;
}

.dialog-close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--paper-bright);
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
}

.video-frame iframe,
.demo-frame iframe,
.finance-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.dialog-note {
  max-width: 88ch;
  margin: -4px 0 24px;
  color: var(--muted-light);
  font-size: 0.76rem;
}

.demo-frame,
.finance-frame {
  min-height: 70vh;
  overflow: hidden;
  background: var(--paper-bright);
}

.finance-dialog {
  width: min(1400px, calc(100% - 24px));
}

/* Reveal motion */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 750ms ease, transform 900ms var(--ease);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js [data-reveal]:target {
  opacity: 1;
  transform: none;
}

/* Responsive */

@media (max-width: 1120px) {
  .primary-nav {
    gap: 14px;
  }

  .primary-nav a {
    font-size: 0.71rem;
  }

  .case-row {
    grid-template-columns: 62px 0.9fr 1.3fr;
    gap: 28px;
  }

  .product-story {
    gap: 64px;
  }

  .experience-grid {
    grid-template-columns: 1fr 1fr;
    gap: 68px;
  }

  .range-strip {
    grid-template-columns: repeat(3, 1fr);
  }

  .range-strip span:nth-child(4) {
    border-left: 0;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    height: 70px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 1;
    top: 69px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 14px clamp(22px, 4vw, 64px) 26px;
    color: var(--ink);
    background: rgba(243, 239, 229, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 30px 50px rgba(9, 21, 34, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-14px);
    transition: opacity 200ms ease, transform 240ms var(--ease);
  }

  .site-header.nav-open .primary-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 0.8rem;
  }

  .primary-nav a:not(.nav-resume)::after {
    display: none;
  }

  .nav-resume {
    margin-top: 12px;
    padding-inline: 0;
    border: 0;
    border-radius: 0;
  }

  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.4rem, 9vw, 5.4rem);
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-block: 48px;
  }

  .proof-item {
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px clamp(20px, 3vw, 40px);
    min-height: 0;
  }

  .proof-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .proof-item:nth-child(even) {
    padding-right: 0;
  }

  .proof-item:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 36px;
  }

  .proof-item:nth-child(n+3) {
    padding-top: 36px;
  }

  .thesis-grid,
  .section-heading-row,
  .product-story,
  .ai-note,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .thesis-copy,
  .leadership-copy {
    grid-template-columns: 1fr;
  }

  .thesis-copy {
    max-width: 720px;
  }

  .section-heading-row {
    align-items: start;
  }

  .section-lede {
    max-width: 58ch;
  }

  .case-row {
    grid-template-columns: 52px 1fr;
  }

  .case-body {
    grid-column: 2;
  }

  .case-title h3 {
    max-width: 18ch;
  }

  .product-story {
    gap: 70px;
  }

  .product-narrative {
    max-width: 720px;
  }

  .leadership-copy {
    max-width: 760px;
  }

  .film-story {
    min-height: 440px;
  }

  .principles li,
  .principles li > div {
    grid-template-columns: 1fr;
  }

  .principles li {
    gap: 10px;
  }

  .principles li > div {
    gap: 20px;
  }

  .ai-note {
    gap: 40px;
  }

  .ai-note h3 {
    max-width: 17ch;
  }

  .experience-intro {
    position: static;
  }

  .contact-grid {
    align-content: center;
    gap: 66px;
  }

  .contact-copy {
    max-width: 640px;
  }
}

@media (max-width: 620px) {
  .page-shell {
    padding-inline: 20px;
  }

  .financial-chapter-video {
    object-position: 48% center;
    filter: brightness(0.72) saturate(0.82) contrast(1.05);
  }

  .financial-chapter-shade {
    background:
      linear-gradient(180deg, rgba(3, 10, 18, 0.62) 0%, rgba(3, 10, 18, 0.54) 38%, rgba(3, 10, 18, 0.7) 100%),
      linear-gradient(90deg, rgba(3, 10, 18, 0.64) 0%, rgba(3, 10, 18, 0.34) 50%, rgba(3, 10, 18, 0.64) 100%);
  }

  .section-pad {
    padding-block: 88px;
  }

  .brand-name {
    display: none;
  }

  .hero {
    min-height: max(760px, 100svh);
  }

  .hero-video {
    object-position: 62% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 10, 18, 0.97) 0%, rgba(3, 10, 18, 0.68) 68%, rgba(3, 10, 18, 0.46) 100%);
  }

  .hero-grid {
    background-size: 60px 60px;
  }

  .hero-content {
    padding-top: 96px;
    padding-bottom: 118px;
  }

  .hero-eyebrow {
    margin-bottom: 18px;
  }

  .hero h1 {
    max-width: 10.5ch;
    font-size: clamp(3.05rem, 13.8vw, 4.45rem);
    line-height: 1.0;
  }

  .hero-intro {
    font-size: 0.91rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 13px;
  }

  .story-invitation {
    width: 100%;
    min-width: 0;
  }

  .hero-footer {
    min-height: 62px;
  }

  .hero-location {
    display: none;
  }

  .video-toggle {
    right: 20px;
    bottom: 76px;
  }

  .video-toggle-label {
    display: none;
  }

  .proof-grid {
    grid-template-columns: 1fr;
    padding-block: 40px;
  }

  .proof-item,
  .proof-item:nth-child(3) {
    min-height: 0;
    padding: 32px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

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

  .proof-item:first-child {
    padding-top: 0;
  }

  .proof-copy {
    max-width: none;
  }

  .thesis-copy {
    margin-top: 44px;
  }

  .case-row {
    grid-template-columns: 1fr;
  }

  .case-body {
    grid-column: 1;
  }

  .case-number {
    font-size: 1.45rem;
  }

  .outcome-line,
  .product-responsibility dl > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .product-film,
  .leadership-hero {
    min-height: 70svh;
  }

  .product-film-content h2,
  .leadership-hero-content h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .product-story {
    padding-block: 84px;
  }

  .product-responsibility {
    padding: 26px 20px;
  }

  .film-grid {
    grid-template-columns: 1fr;
  }

  .film-story {
    min-height: 440px;
  }

  .film-story a {
    padding: 26px 22px;
  }

  .ai-note {
    padding: 34px 24px;
  }

  .career-timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

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

  .range-strip span:nth-child(odd) {
    border-left: 0;
  }

  .range-strip span:nth-child(4) {
    border-left: 1px solid var(--line);
  }

  .contact {
    min-height: 720px;
  }

  .contact-grid {
    min-height: 720px;
  }

  .contact h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .contact-email {
    overflow-wrap: anywhere;
    font-size: 1.03rem;
  }

  .site-footer .page-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 26px;
  }

  .site-footer p:nth-child(2) {
    display: none;
  }

  .media-dialog {
    width: calc(100% - 14px);
    max-height: calc(100svh - 14px);
  }

  .dialog-shell {
    padding: 18px;
  }

  .demo-frame,
  .finance-frame {
    min-height: 64vh;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .hero h1 {
    max-width: 980px;
    font-size: clamp(3.2rem, 5.4vw, 4.7rem);
  }

  .hero-content {
    padding-top: 105px;
    padding-bottom: 100px;
  }

  .hero-eyebrow {
    margin-bottom: 16px;
  }

  .hero-intro {
    margin-bottom: 20px;
  }

  .story-invitation {
    min-height: 64px;
  }

  .video-toggle {
    bottom: 76px;
  }
}

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

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

  .hero-video,
  .financial-chapter-video,
  .product-film-video,
  .leadership-hero-video,
  .film-story video {
    display: none;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Film-first hero and cinematic opening chapter. */
.hero-title-rule {
  margin-bottom: clamp(36px, 5vh, 56px);
}

.hero-actions {
  margin-top: 0;
}

.story-invitation {
  min-width: 400px;
  gap: 28px;
}

.story-invitation:focus-visible {
  outline: 1px solid rgba(93, 200, 247, 0.75);
  outline-offset: 12px;
  border-radius: 4px;
}

.story-play-container {
  width: 96px;
  height: 96px;
}

.story-play-circle {
  width: 62px;
  height: 62px;
}

.story-invitation-eyebrow {
  margin-bottom: 5px;
  font-size: 0.7rem;
}

.story-invitation-title {
  font-size: clamp(1.55rem, 2vw, 1.9rem);
}

.story-invitation-timeline {
  max-height: 20px;
  margin-top: 9px;
  overflow: visible;
  visibility: visible;
  opacity: 0.62;
}

body.film-is-open {
  overflow: hidden;
}

.story-dialog {
  width: 100vw;
  height: 100svh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  color: var(--paper-bright);
  background: rgba(2, 6, 10, 0.76);
  border: 0;
  opacity: 0;
  transform: translate(var(--story-shift-x, 0), var(--story-shift-y, 0)) scale(0.88);
  transform-origin: var(--story-origin-x, 50vw) var(--story-origin-y, 50vh);
  transition: opacity 440ms ease, transform 560ms var(--ease);
}

.story-dialog.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.story-dialog.is-closing {
  opacity: 0;
  transform: translate(var(--story-shift-x, 0), var(--story-shift-y, 0)) scale(0.92);
  transition-duration: 360ms, 420ms;
}

.story-dialog::backdrop {
  background: rgba(1, 4, 7, 0);
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
  transition: background 420ms ease, backdrop-filter 520ms ease, -webkit-backdrop-filter 520ms ease;
}

.story-dialog.is-visible::backdrop {
  background: rgba(1, 4, 7, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(0.78);
  backdrop-filter: blur(16px) saturate(0.78);
}

.story-dialog.is-closing::backdrop {
  background: rgba(1, 4, 7, 0);
  -webkit-backdrop-filter: blur(0) saturate(1);
  backdrop-filter: blur(0) saturate(1);
}

.story-dialog .dialog-shell {
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: center;
  padding: 8px;
}

.story-dialog .dialog-heading {
  width: min(94vw, calc((100svh - 60px) * 1.7778), 1800px);
  align-items: center;
  margin: 0 auto 4px;
}

.story-film-copy {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.story-film-copy h2,
.story-film-copy span,
.story-film-copy p {
  margin: 0;
}

.story-film-copy h2 {
  flex: 0 0 auto;
  font-family: var(--sans);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.13em;
  line-height: 1;
  text-transform: uppercase;
}

.story-film-copy span {
  flex: 0 0 auto;
  color: var(--tayzo-cyan, #5dc8f7);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
}

.story-film-copy p {
  display: flex;
  align-items: center;
  min-width: 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  letter-spacing: 0.015em;
  white-space: nowrap;
}

.story-film-copy p::before {
  content: '';
  width: 3px;
  height: 3px;
  flex: 0 0 auto;
  margin-right: 12px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.story-dialog .dialog-close {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.24);
  transition: color 220ms ease, background 220ms ease, border-color 220ms ease, transform 220ms var(--ease);
}

.story-dialog .dialog-close:hover,
.story-dialog .dialog-close:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  outline: none;
  transform: rotate(4deg);
}

.story-dialog .video-frame {
  width: min(94vw, calc((100svh - 60px) * 1.7778), 1800px);
  margin: 0 auto;
  background:
    radial-gradient(circle at 50% 45%, rgba(37, 141, 255, 0.1), transparent 36%),
    #020406;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: clamp(10px, 1.4vw, 20px);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(37, 141, 255, 0.05);
}

.story-player-mount,
.story-player-mount iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.story-player-mount iframe {
  z-index: 2;
  display: block;
  border: 0;
  opacity: 0;
  transition: opacity 360ms ease;
}

.story-player-status {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  margin: 0;
  color: rgba(255, 255, 255, 0.46);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
  transition: opacity 260ms ease;
}

.video-frame.is-player-ready .story-player-mount iframe {
  opacity: 1;
}

.video-frame.is-player-ready .story-player-status {
  opacity: 0;
}

.video-frame.has-player-error .story-player-status {
  width: min(80%, 420px);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-align: center;
}

@media (max-width: 620px) {
  .hero-title-rule {
    margin-bottom: 32px;
  }

  .story-invitation {
    min-width: 0;
    gap: 18px;
  }

  .story-play-container {
    width: 76px;
    height: 76px;
  }

  .story-play-circle {
    width: 48px;
    height: 48px;
  }

  .story-invitation-title {
    font-size: 1.3rem;
  }

  .story-dialog .dialog-shell {
    padding: 12px;
  }

  .story-dialog .dialog-heading,
  .story-dialog .video-frame {
    width: min(calc(100vw - 24px), calc((100svh - 94px) * 1.7778));
  }

  .story-dialog .dialog-heading {
    margin-bottom: 12px;
  }

  .story-film-copy {
    flex-wrap: wrap;
    gap: 6px 10px;
  }

  .story-film-copy p {
    width: 100%;
    font-size: 0.66rem;
    white-space: normal;
  }

  .story-film-copy p::before {
    display: none;
  }

  .story-dialog .dialog-close {
    width: 44px;
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-dialog,
  .story-dialog::backdrop {
    transition-duration: 0.01ms !important;
  }
}

/* Editorial refinements */

.hero-work-link {
  color: rgba(255, 255, 255, 0.82);
  border-bottom-color: rgba(255, 255, 255, 0.46);
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

@media (max-width: 900px) {
  :root {
    --chapter-start-space: clamp(120px, 16vw, 150px);
    --chapter-end-space: clamp(88px, 11vw, 104px);
    --transition-before-space: clamp(76px, 10vw, 96px);
    --transition-rule-gap: clamp(32px, 5vw, 40px);
  }

  .story-chapter-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .story-chapter-title h2 {
    max-width: 18ch;
  }

  .story-chapter-copy {
    max-width: 720px;
    padding-top: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --chapter-start-space: 112px;
    --chapter-end-space: 88px;
    --chapter-label-gap: 24px;
    --transition-before-space: 72px;
    --transition-rule-gap: 32px;
  }

  .story-chapter-grid {
    gap: 36px;
  }

  .story-chapter-title h2 {
    font-size: clamp(2.7rem, 12vw, 3.8rem);
  }
}

@media (prefers-contrast: more) {
  :root {
    --muted: #41515e;
    --muted-light: #d5dde4;
    --line: rgba(9, 21, 34, 0.38);
    --line-light: rgba(255, 255, 255, 0.38);
  }
}

/* Hero refinement: cinematic introduction */

.site-header {
  animation: heroHeaderIn 900ms var(--ease) 100ms both;
}

.site-header:not(.is-scrolled):not(.nav-open) {
  height: 106px;
  padding-inline: clamp(28px, 3.8vw, 72px);
}

.site-header:not(.is-scrolled):not(.nav-open) .brand {
  gap: 16px;
}

.site-header:not(.is-scrolled):not(.nav-open) .brand-mark {
  width: 52px;
  height: 52px;
  font-size: 0.83rem;
  font-weight: 700;
}

.site-header:not(.is-scrolled):not(.nav-open) .brand-name {
  font-size: 0.98rem;
  font-weight: 700;
}

.site-header:not(.is-scrolled):not(.nav-open) .primary-nav {
  gap: clamp(17px, 2.2vw, 38px);
}

.site-header:not(.is-scrolled):not(.nav-open) .primary-nav a {
  font-size: 0.67rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-header:not(.is-scrolled):not(.nav-open) .primary-nav a:not(.nav-resume)::after {
  bottom: -14px;
  height: 2px;
  background: #258dff;
}

.site-header:not(.is-scrolled):not(.nav-open) .primary-nav a[href="#work"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.site-header:not(.is-scrolled):not(.nav-open) .nav-resume {
  padding: 11px 17px;
  border-color: #258dff;
}

.hero {
  min-height: max(720px, 100svh);
  background-position: center center;
}

.hero-video {
  object-position: center center;
  filter: saturate(0.92) contrast(1.03) brightness(0.96);
  animation: videoExposureFlash 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1400ms both;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(2, 10, 18, 0.98) 0%, rgba(2, 10, 18, 0.95) 25%, rgba(2, 10, 18, 0.75) 45%, rgba(2, 10, 18, 0.2) 70%, transparent 95%),
    linear-gradient(0deg, rgba(2, 9, 16, 0.9) 0%, transparent 52%, rgba(2, 9, 16, 0.3) 100%);
}

.hero-grid {
  opacity: 0.035;
  background-size: 112px 112px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 66%);
  mask-image: linear-gradient(90deg, #000, transparent 66%);
}

.hero-lens-flare {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 168px;
  height: 168px;
  z-index: 0;
  pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(37, 141, 255, 0.22) 18%, rgba(37, 141, 255, 0.06) 42%, transparent 70%);
  opacity: 0;
  mix-blend-mode: screen;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation: lensFlareFlash 2.4s cubic-bezier(0.16, 1, 0.3, 1) 1400ms both;
}

.hero-content {
  align-self: stretch;
  padding-top: clamp(156px, 17.6vh, 180px);
  padding-bottom: 118px;
}

.hero-eyebrow {
  gap: 11px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  animation: heroUiIn 800ms var(--ease) 250ms both;
}

.hero-eyebrow span {
  color: inherit;
}

.hero-eyebrow i,
.hero-location i {
  display: inline-block;
  width: 4px;
  height: 4px;
  flex: 0 0 auto;
  background: #258dff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(37, 141, 255, 0.72);
}

.hero h1 {
  max-width: 670px;
  margin-bottom: 0;
  font-size: clamp(3.8rem, 5.15vw, 5.3rem);
  line-height: 1.0;
  letter-spacing: -0.055em;
  text-wrap: initial;
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-right: 0.08em;
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}

.hero-line > span {
  display: block;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(112%) rotateX(-16deg);
  transform-origin: left bottom;
  animation: heroLineIn 1050ms var(--ease) both;
}

.hero-line:nth-child(1) > span { animation-delay: 340ms; }
.hero-line:nth-child(2) > span { animation-delay: 450ms; }
.hero-line:nth-child(3) > span { animation-delay: 560ms; }
.hero-line:nth-child(4) > span { animation-delay: 670ms; }

.hero h1 em {
  color: #278eff;
  font-style: normal;
  text-shadow: 0 0 30px rgba(39, 142, 255, 0.14);
}

.hero-title-rule {
  display: block;
  width: 78px;
  height: 1px;
  margin-top: 26px;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #258dff 0 78%, rgba(37, 141, 255, 0.2) 78% 100%);
  transform-origin: left;
  animation: heroRuleIn 700ms var(--ease) 900ms both;
}

.hero-intro {
  max-width: 560px;
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(0.86rem, 1.08vw, 1rem);
  line-height: 1.55;
  animation: heroUiIn 800ms var(--ease) 820ms both;
}

.hero-actions {
  display: block;
  margin-top: 32px;
  animation: heroUiIn 850ms var(--ease) 960ms both;
}

.story-invitation {
  display: flex;
  align-items: center;
  gap: 24px;
  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  text-align: left;
  outline: none;
  /* Cinematic entry animation properties */
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 1.5s var(--ease), transform 1.5s var(--ease);
  min-width: 320px;
}

.story-invitation:hover {
  background: transparent;
  box-shadow: none;
  transform: none;
}

.story-invitation.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.story-play-container {
  position: relative;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  isolation: isolate;
}

.story-play-ring {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(37, 141, 255, 0.35);
  border-radius: 50%;
  animation: ringBreathe 6s ease-in-out infinite;
  transition: transform 0.8s var(--ease), border-color 0.8s var(--ease), box-shadow 0.8s var(--ease);
}

.story-play-circle {
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  background: rgba(3, 10, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.8s var(--ease), background-color 0.8s var(--ease), border-color 0.8s var(--ease), box-shadow 0.8s var(--ease);
}

.story-play-circle svg {
  margin-left: 3px; /* visual alignment of play triangle */
  transition: color 0.8s var(--ease);
}

.story-invitation:hover .story-play-circle,
.story-invitation:focus-visible .story-play-circle {
  transform: scale(1.06);
  border-color: rgba(37, 141, 255, 0.5);
  box-shadow: 0 0 15px rgba(37, 141, 255, 0.25);
  background: rgba(9, 21, 34, 0.95);
}

.story-invitation:hover .story-play-ring,
.story-invitation:focus-visible .story-play-ring {
  transform: scale(1.12);
  border-color: rgba(37, 141, 255, 0.8);
  box-shadow: 0 0 30px rgba(37, 141, 255, 0.35);
  animation-play-state: paused;
}

.story-invitation-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-invitation-eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #258dff;
  margin-bottom: 2px;
  opacity: 0.85;
  transition: opacity 0.8s var(--ease);
}

.story-invitation-title {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--white);
  line-height: 1.2;
  transition: color 0.8s var(--ease);
}

.story-invitation-subtitle {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.6);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.8s var(--ease), opacity 0.8s var(--ease), margin-top 0.8s var(--ease), visibility 0.8s;
}

.story-invitation:hover .story-invitation-subtitle,
.story-invitation:focus-visible .story-invitation-subtitle {
  max-height: 60px;
  opacity: 0.75;
  margin-top: 6px;
  visibility: visible;
}

.story-invitation-timeline {
  display: flex;
  align-items: center;
  gap: 12px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  visibility: hidden;
  transition: max-height 0.8s var(--ease), opacity 0.8s var(--ease), margin-top 0.8s var(--ease), visibility 0.8s;
}

.story-invitation:hover .story-invitation-timeline,
.story-invitation:focus-visible .story-invitation-timeline {
  max-height: 20px;
  opacity: 0.7;
  margin-top: 8px;
  visibility: visible;
}

.story-time-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.4);
}

.story-timeline-track {
  display: flex;
  gap: 6px;
  width: 90px;
  align-items: center;
}

.story-timeline-segment {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  position: relative;
}

.story-timeline-segment::after {
  content: '';
  display: block;
  width: 1px;
  height: 4px;
  background: rgba(255, 255, 255, 0.16);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes ringBreathe {
  0% {
    opacity: 0.4;
    transform: scale(1);
    box-shadow: 0 0 12px rgba(37, 141, 255, 0.1);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(37, 141, 255, 0.3);
  }
  100% {
    opacity: 0.4;
    transform: scale(1);
    box-shadow: 0 0 12px rgba(37, 141, 255, 0.1);
  }
}

@keyframes lensFlareFlash {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.95);
  }
  8% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.05);
  }
  22% {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(1.02);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes videoExposureFlash {
  0% {
    filter: saturate(0.92) contrast(1.03) brightness(0.96);
  }
  8% {
    filter: saturate(1.1) contrast(1.15) brightness(1.22);
  }
  100% {
    filter: saturate(0.92) contrast(1.03) brightness(0.96);
  }
}

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transform: translateX(-50%);
  animation: heroUiInCentered 800ms var(--ease) 1250ms both;
}

.scroll-mouse {
  position: relative;
  display: block;
  width: 18px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 10px;
}

.scroll-mouse::after {
  position: absolute;
  top: 5px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: #258dff;
  border-radius: 2px;
  content: "";
  transform: translateX(-50%);
  animation: scrollWheel 2.2s ease-in-out infinite;
}

.hero-scroll-cue i {
  display: block;
  width: 1px;
  height: 34px;
  background: linear-gradient(#258dff, rgba(37, 141, 255, 0.15));
}

.hero-footer {
  min-height: 64px;
  border-top: 0;
  animation: heroUiIn 800ms var(--ease) 1150ms both;
}

.hero-footer p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.61rem;
  font-weight: 650;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: #258dff;
  box-shadow: 0 0 0 5px rgba(37, 141, 255, 0.11), 0 0 14px rgba(37, 141, 255, 0.5);
}

.hero-location {
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero-location i {
  width: 3px;
  height: 3px;
}

.video-toggle {
  right: clamp(28px, 3.8vw, 72px);
  bottom: 82px;
  min-height: 39px;
  gap: 10px;
  padding: 8px 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(2, 10, 18, 0.34);
  border-color: rgba(255, 255, 255, 0.2);
  font-size: 0.68rem;
  animation: heroUiIn 800ms var(--ease) 1200ms both;
}

@keyframes heroHeaderIn {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroLineIn {
  0% { opacity: 0; filter: blur(7px); letter-spacing: -0.02em; transform: translateY(112%) rotateX(-16deg); }
  55% { opacity: 1; }
  100% { opacity: 1; filter: blur(0); letter-spacing: inherit; transform: translateY(0) rotateX(0); }
}

@keyframes heroUiIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroUiInCentered {
  from { opacity: 0; transform: translate(-50%, 15px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@keyframes heroRuleIn {
  from { opacity: 0; transform: scaleX(0); }
  to { opacity: 1; transform: scaleX(1); }
}

@keyframes storyRingBreathe {
  0% { opacity: 0; transform: scale(0.72); }
  26% { opacity: 0.42; }
  72%, 100% { opacity: 0; transform: scale(1.18); }
}

@keyframes storyHalo {
  0%, 100% { opacity: 0.45; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.075); }
}

@keyframes storyCoreBreathe {
  0%, 100% { box-shadow: 0 0 0 7px rgba(37, 141, 255, 0.035), 0 0 24px rgba(37, 141, 255, 0.12); }
  50% { box-shadow: 0 0 0 10px rgba(37, 141, 255, 0.06), 0 0 38px rgba(37, 141, 255, 0.28); }
}

@keyframes scrollWheel {
  0%, 100% { opacity: 0.3; transform: translate(-50%, 0); }
  45% { opacity: 1; }
  70% { opacity: 0; transform: translate(-50%, 8px); }
}

@media (max-width: 1160px) {
  .site-header:not(.is-scrolled):not(.nav-open) .primary-nav {
    gap: 17px;
  }

  .site-header:not(.is-scrolled):not(.nav-open) .primary-nav a {
    font-size: 0.62rem;
    letter-spacing: 0.12em;
  }

  .hero h1 {
    font-size: clamp(3.55rem, 5.25vw, 4.7rem);
  }
}

@media (max-width: 900px) {
  .site-header:not(.is-scrolled):not(.nav-open) {
    height: 78px;
  }

  .site-header:not(.is-scrolled):not(.nav-open) .brand-mark {
    width: 44px;
    height: 44px;
  }

  .hero-content {
    align-self: end;
    padding-top: 108px;
  }

  .hero h1 {
    max-width: 650px;
    font-size: clamp(3.55rem, 7.3vw, 4.7rem);
  }

  .hero-scroll-cue {
    display: none;
  }
}

@media (max-width: 620px) {
  .site-header:not(.is-scrolled):not(.nav-open) {
    height: 72px;
    padding-inline: 20px;
  }

  .site-header:not(.is-scrolled):not(.nav-open) .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.7rem;
  }

  .hero {
    min-height: max(760px, 100svh);
  }

  .hero-video {
    object-position: 68% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(2, 10, 18, 0.98) 0%, rgba(2, 10, 18, 0.79) 60%, rgba(2, 10, 18, 0.5) 100%),
      linear-gradient(90deg, rgba(2, 10, 18, 0.62), rgba(2, 10, 18, 0.2));
  }

  .hero-grid {
    opacity: 0.025;
    background-size: 70px 70px;
  }

  .hero-content {
    padding-top: 100px;
    padding-bottom: 104px;
  }

  .hero-eyebrow {
    gap: 8px;
    margin-bottom: 17px;
    font-size: 0.56rem;
    letter-spacing: 0.13em;
  }

  .hero-eyebrow i {
    width: 3px;
    height: 3px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.85rem, 12.6vw, 3.65rem);
    line-height: 1.0;
  }

  .hero-title-rule {
    width: 64px;
    margin-top: 18px;
    margin-bottom: 14px;
  }

  .hero-intro {
    max-width: 37em;
    margin-bottom: 10px;
    font-size: 0.83rem;
    line-height: 1.48;
  }

  .hero-actions {
    display: block;
  }

  .hero-lens-flare {
    width: 140px;
    height: 140px;
  }

  .story-invitation {
    gap: 16px;
    min-width: 0;
  }

  .story-play-container {
    width: 72px;
    height: 72px;
  }

  .story-play-ring {
    animation-duration: 8s;
  }

  .story-play-circle {
    width: 44px;
    height: 44px;
  }

  .story-play-circle svg {
    width: 16px;
    height: 16px;
  }

  .story-invitation-title {
    font-size: 1.15rem;
  }

  .story-invitation-subtitle {
    max-height: none;
    opacity: 0.7;
    margin-top: 4px;
    visibility: visible;
    overflow: visible;
    font-size: 0.78rem;
  }

  .story-invitation-timeline {
    max-height: none;
    opacity: 0.65;
    margin-top: 6px;
    visibility: visible;
    overflow: visible;
  }

  .hero-footer {
    min-height: 56px;
  }

  .hero-footer p {
    max-width: 270px;
    font-size: 0.53rem;
    letter-spacing: 0.16em;
  }

  .video-toggle {
    right: 20px;
    bottom: 66px;
    min-width: 36px;
    min-height: 36px;
    justify-content: center;
    padding: 8px 10px;
  }
}

@media (max-height: 780px) and (min-width: 901px) {
  .hero-content {
    padding-top: 104px;
    padding-bottom: 88px;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
  }

  .hero h1 {
    max-width: 590px;
    font-size: clamp(3.15rem, 4.35vw, 3.9rem);
  }

  .hero-title-rule {
    margin-top: 14px;
    margin-bottom: 11px;
  }

  .hero-intro {
    max-width: 540px;
    margin-bottom: 4px;
    font-size: 0.82rem;
  }

  .story-invitation {
    gap: 16px;
  }

  .story-play-container {
    width: 76px;
    height: 76px;
  }

  .story-play-circle {
    width: 46px;
    height: 46px;
  }

  .video-toggle {
    bottom: 72px;
  }
}


/* ==========================================================================
   Interactive Metric Card – Brand Reveal Footer
   ========================================================================== */

.proof-item[data-interactive-card] {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle lift on hover */
.proof-item[data-interactive-card]:hover,
.proof-item[data-interactive-card].is-revealed {
  transform: translateY(-3px);
}

/* Icon micro-animation */
.proof-item[data-interactive-card] .proof-icon svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.4s var(--ease);
}

.proof-item[data-interactive-card]:hover .proof-icon svg,
.proof-item[data-interactive-card].is-revealed .proof-icon svg {
  transform: translateY(-1px) scale(1.06);
  color: var(--blue-bright);
}

/* ---- Reveal footer (hidden layer beneath body copy) ---- */

.reveal-footer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.4s var(--ease),
              transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-item[data-interactive-card]:hover .reveal-footer,
.proof-item[data-interactive-card].is-revealed .reveal-footer {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}

/* Thin rule separator */
.reveal-footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 20px 0 14px;
}

/* Dot-separated names */
.reveal-footer-names {
  margin: 0 0 12px;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.38);
}

/* Agency list variant — slightly more prominent */
.reveal-footer-names--list {
  font-weight: 450;
  font-style: italic;
  color: rgba(255, 255, 255, 0.42);
}

/* View link */
.view-brands-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  opacity: 0;
  transform: translateY(3px);
  transition: opacity 0.35s var(--ease) 0.15s,
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
              color 0.25s ease;
  pointer-events: none;
  text-decoration: none;
}

.proof-item[data-interactive-card]:hover .view-brands-link,
.proof-item[data-interactive-card].is-revealed .view-brands-link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.view-brands-link:hover {
  color: var(--blue-bright);
}

.view-brands-link .arrow {
  transition: transform 0.25s var(--ease);
}

.view-brands-link:hover .arrow {
  transform: translateX(3px);
}

/* ---- Metrics narrative (inline below proof grid) ---- */

.metrics-narrative {
  max-width: 640px;
  margin-inline: auto;
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.metrics-narrative-headline {
  margin: 0 0 16px;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.72);
  text-wrap: balance;
}

.metrics-narrative-body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(0.84rem, 1vw, 0.92rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.38);
  max-width: 54ch;
  margin-inline: auto;
  text-wrap: balance;
}

/* ---- Full Brands Portfolio Dialog ---- */

.portfolio-dialog {
  width: min(880px, calc(100% - 32px));
}

.portfolio-dialog .dialog-intro {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 68ch;
  margin: 8px 0 40px;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  padding-left: 18px;
}

.brands-columns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 40px;
}

.brand-item {
  font-family: var(--sans);
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.55);
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: color 0.2s ease;
}

.brand-item:hover {
  color: var(--white);
}

@media (max-width: 768px) {
  .brands-columns-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 24px;
  }

  .portfolio-dialog .dialog-intro {
    font-size: 0.95rem;
    padding-left: 14px;
  }
}

@media (max-width: 480px) {
  .brands-columns-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}


/* Resume Chooser Modal */
.resume-dialog {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: var(--ink-deep);
  color: var(--paper-bright);
  border-radius: 12px;
  padding: 0;
  max-width: 360px;
  width: calc(100% - 32px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.3s var(--ease),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              overlay 0.3s allow-discrete,
              display 0.3s allow-discrete;
}

.resume-dialog[open] {
  opacity: 1;
  transform: scale(1);
}

@starting-style {
  .resume-dialog[open] {
    opacity: 0;
    transform: scale(0.95);
  }
}

.resume-dialog::backdrop {
  background: rgba(2, 6, 10, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.3s var(--ease),
              overlay 0.3s allow-discrete,
              display 0.3s allow-discrete;
}

.resume-dialog[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .resume-dialog[open]::backdrop {
    opacity: 0;
  }
}

.resume-dialog-shell {
  padding: 24px;
}

.resume-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.resume-dialog-header h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--white);
}

.resume-dialog-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.resume-dialog-close:hover {
  color: var(--white);
}

.resume-dialog-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.resume-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  color: var(--paper-bright);
  text-decoration: none;
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 550;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.resume-option-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.resume-option-btn:active {
  transform: translateY(0);
}

.resume-option-btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--blue-bright);
}

.resume-option-btn .file-ext {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  font-weight: 400;
  margin-left: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .hero-eyebrow,
  .hero-line > span,
  .hero-title-rule,
  .hero-intro,
  .hero-actions,
  .hero-footer,
  .video-toggle {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero-scroll-cue {
    opacity: 1;
    filter: none;
    transform: translateX(-50%);
  }
}

/* Keep the film invitation dominant after all responsive editorial rules. */
.hero-title-rule { margin-bottom: clamp(36px, 5vh, 56px); }
.hero-actions { margin-top: 0; }
.story-invitation { min-width: 400px; gap: 28px; }
.story-play-container { width: 96px; height: 96px; }
.story-play-circle { width: 62px; height: 62px; }
.story-invitation-eyebrow { margin-bottom: 5px; font-size: 0.7rem; }
.story-invitation-title { font-size: clamp(1.55rem, 2vw, 1.9rem); }
.story-invitation-timeline { max-height: 20px; margin-top: 9px; overflow: visible; visibility: visible; opacity: 0.62; }

@media (max-width: 620px) {
  .hero-title-rule { margin-bottom: 32px; }
  .story-invitation { min-width: 0; gap: 18px; }
  .story-play-container { width: 76px; height: 76px; }
  .story-play-circle { width: 48px; height: 48px; }
  .story-invitation-title { font-size: 1.3rem; }
}

/* Mockup-matched film invitation: translucent framed panel with a persistent timeline. */
.story-invitation {
  width: min(470px, calc(100vw - 48px));
  min-width: 0;
  min-height: 132px;
  gap: 24px;
  padding: 22px 31px;
  color: var(--white);
  background:
    radial-gradient(ellipse 62% 105% at 50% 50%, rgba(1, 7, 12, 0.5) 0%, rgba(3, 10, 17, 0.26) 56%, transparent 100%),
    radial-gradient(ellipse 58% 100% at 0% 0%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.035) 48%, transparent 76%),
    radial-gradient(ellipse 58% 100% at 100% 100%, rgba(255, 255, 255, 0.095) 0%, rgba(255, 255, 255, 0.025) 48%, transparent 76%),
    linear-gradient(118deg, rgba(28, 36, 43, 0.58), rgba(8, 14, 20, 0.48));
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 14px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    inset 1px 0 0 rgba(255, 255, 255, 0.025),
    0 15px 38px rgba(0, 0, 0, 0.16);
  -webkit-backdrop-filter: blur(12px) saturate(0.78);
  backdrop-filter: blur(12px) saturate(0.78);
  transition:
    opacity 1.5s var(--ease),
    transform 1.5s var(--ease),
    background-color 300ms ease,
    border-color 300ms ease,
    box-shadow 300ms ease;
}

.story-invitation:hover,
.story-invitation:focus-visible {
  background:
    radial-gradient(ellipse 62% 105% at 50% 50%, rgba(1, 7, 12, 0.46) 0%, rgba(3, 10, 17, 0.22) 56%, transparent 100%),
    radial-gradient(ellipse 58% 100% at 0% 0%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.045) 48%, transparent 76%),
    radial-gradient(ellipse 58% 100% at 100% 100%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.035) 48%, transparent 76%),
    linear-gradient(118deg, rgba(31, 40, 48, 0.62), rgba(9, 16, 23, 0.5));
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 1px 0 0 rgba(255, 255, 255, 0.035),
    0 19px 46px rgba(0, 0, 0, 0.2);
}

.story-invitation:focus-visible {
  outline: 2px solid rgba(37, 141, 255, 0.9);
  outline-offset: 4px;
  border-radius: 15px;
}

.story-play-container {
  width: 76px;
  height: 76px;
}

.story-play-ring {
  border-color: #258dff;
  box-shadow:
    0 0 24px rgba(37, 141, 255, 0.2),
    inset 0 0 18px rgba(37, 141, 255, 0.05);
}

.story-play-circle {
  width: 50px;
  height: 50px;
  background: rgba(3, 10, 18, 0.78);
  border-color: rgba(255, 255, 255, 0.72);
}

.story-invitation-details {
  min-width: 0;
}

.story-invitation-eyebrow {
  margin-bottom: 4px;
  color: #258dff;
  font-size: 0.63rem;
  letter-spacing: 0.2em;
  opacity: 1;
}

.story-invitation-title {
  font-size: clamp(1.38rem, 1.6vw, 1.58rem);
  line-height: 1.12;
}

.story-invitation-timeline {
  max-height: 20px;
  gap: 15px;
  margin-top: 9px;
  overflow: visible;
  visibility: visible;
  opacity: 0.75;
}

.story-time-label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
}

.story-timeline-track {
  width: 88px;
}

.story-timeline-segment,
.story-timeline-segment::after {
  background: rgba(255, 255, 255, 0.34);
}

@media (max-width: 620px) {
  .story-invitation {
    width: 100%;
    min-height: 108px;
    gap: 14px;
    padding: 16px 15px;
    border-radius: 13px;
    -webkit-backdrop-filter: blur(10px) saturate(0.8);
    backdrop-filter: blur(10px) saturate(0.8);
  }

  .story-play-container {
    width: 62px;
    height: 62px;
  }

  .story-play-circle {
    width: 40px;
    height: 40px;
  }

  .story-invitation-eyebrow {
    margin-bottom: 4px;
    font-size: 0.58rem;
    letter-spacing: 0.17em;
  }

  .story-invitation-title {
    font-size: clamp(1rem, 4.5vw, 1.14rem);
    line-height: 1.15;
  }

  .story-invitation-timeline {
    gap: 10px;
    margin-top: 6px;
  }

  .story-time-label {
    font-size: 0.66rem;
  }

  .story-timeline-track {
    width: min(86px, 24vw);
    gap: 5px;
  }
}

@media (max-width: 360px) {
  .story-invitation {
    gap: 12px;
    padding-inline: 13px;
  }

  .story-play-container {
    width: 58px;
    height: 58px;
  }

  .story-play-circle {
    width: 38px;
    height: 38px;
  }
}

/* Mobile-first cinematic hero. Desktop intentionally remains unchanged. */
.hero-awakening {
  display: none;
}

@media (max-width: 620px) {
  .hero {
    display: flex;
    min-height: 100svh;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-content {
    width: 100%;
    align-self: flex-start;
    padding-top: 104px;
    padding-bottom: 0;
  }

  .hero-eyebrow {
    gap: 7px;
    margin-bottom: 15px;
    font-size: clamp(0.48rem, 2.15vw, 0.55rem);
    letter-spacing: 0.115em;
    white-space: nowrap;
  }

  .hero h1 {
    max-width: 9.3em;
    font-size: clamp(2.55rem, 11.2vw, 3.05rem);
    line-height: 0.98;
    letter-spacing: -0.052em;
  }

  .hero-line {
    padding-bottom: 0.16em;
    margin-bottom: -0.16em;
  }

  .hero-line:nth-child(3) > span {
    max-width: 7.2em;
  }

  .hero-title-rule {
    width: 60px;
    margin-top: 17px;
    margin-bottom: 23px;
  }

  .hero-actions {
    width: 100%;
    margin-top: 0;
  }

  .story-invitation {
    width: 100%;
    min-height: 104px;
    gap: 15px;
    padding: 15px 16px;
    border-radius: 15px;
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.1),
      0 18px 44px rgba(0, 0, 0, 0.24);
  }

  .story-play-container {
    width: 66px;
    height: 66px;
  }

  .story-play-circle {
    width: 43px;
    height: 43px;
  }

  .story-invitation-eyebrow {
    margin-bottom: 4px;
    font-size: 0.57rem;
    letter-spacing: 0.18em;
  }

  .story-invitation-title {
    max-width: 14em;
    font-size: clamp(1.02rem, 4.55vw, 1.15rem);
    line-height: 1.12;
  }

  .story-invitation-timeline {
    gap: 10px;
    margin-top: 7px;
  }

  .hero-footer {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-height: 82px;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 10px;
    margin-top: auto;
    padding: 18px 66px 18px 20px;
  }

  .hero-status {
    gap: 0;
  }

  .status-primary {
    max-width: none !important;
    font-size: 0.7rem !important;
    white-space: nowrap;
  }

  .status-secondary {
    display: none;
  }

  .hero-location {
    display: flex;
    gap: 9px;
  }

  .hero-footer .hero-location {
    max-width: none;
    font-size: 0.49rem;
    letter-spacing: 0.13em;
    white-space: nowrap;
  }

  .video-toggle {
    right: 20px;
    bottom: 21px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .hero-scroll-cue {
    display: none;
  }

  .hero-awakening {
    position: absolute;
    z-index: 12;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    padding: 0;
    place-content: center;
    justify-items: center;
    gap: 30px;
    color: var(--white);
    background:
      radial-gradient(circle at 50% 46%, rgba(37, 141, 255, 0.12), transparent 27%),
      linear-gradient(180deg, rgba(2, 8, 14, 0.5), rgba(2, 8, 14, 0.82));
    border: 0;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 780ms var(--ease), visibility 780ms, transform 950ms var(--ease);
  }

  .hero-awaiting-touch .hero-awakening {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .hero-is-awake .hero-awakening {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
  }

  .awakening-orb {
    position: relative;
    display: grid;
    width: 138px;
    height: 138px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background:
      radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.18), transparent 22%),
      radial-gradient(circle, rgba(37, 141, 255, 0.15), rgba(3, 11, 19, 0.68) 64%, rgba(2, 8, 14, 0.92));
    box-shadow:
      inset 0 0 34px rgba(37, 141, 255, 0.12),
      0 0 70px rgba(37, 141, 255, 0.2);
    animation: awakeningBreathe 3.8s ease-in-out infinite;
  }

  .awakening-orb::after {
    position: absolute;
    inset: -22px;
    border: 1px solid rgba(37, 141, 255, 0.14);
    border-radius: 50%;
    content: '';
    animation: awakeningRipple 3.8s ease-out infinite;
  }

  .awakening-orbit {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
  }

  .awakening-orbit-one {
    inset: 10px;
    border-top: 1px solid rgba(93, 200, 247, 0.9);
    border-right: 1px solid transparent;
    border-bottom: 1px solid rgba(37, 141, 255, 0.18);
    border-left: 1px solid transparent;
    animation: awakeningOrbit 9s linear infinite;
  }

  .awakening-orbit-two {
    inset: 23px;
    border-top: 1px solid transparent;
    border-right: 1px solid rgba(255, 255, 255, 0.42);
    border-bottom: 1px solid transparent;
    border-left: 1px solid rgba(37, 141, 255, 0.24);
    animation: awakeningOrbit 6.5s linear infinite reverse;
  }

  .awakening-core {
    position: relative;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 50%;
    background: rgba(2, 9, 16, 0.74);
    box-shadow: 0 0 26px rgba(37, 141, 255, 0.22);
  }

  .awakening-core span {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .awakening-copy {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.59rem;
    font-weight: 720;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: awakeningCopy 2.8s ease-in-out infinite;
  }

  .hero-awaiting-touch .hero-video {
    animation-play-state: paused;
  }

  .hero-awaiting-touch .hero-eyebrow,
  .hero-awaiting-touch .hero-line > span,
  .hero-awaiting-touch .hero-title-rule,
  .hero-awaiting-touch .hero-actions,
  .hero-awaiting-touch .hero-footer,
  .hero-awaiting-touch .video-toggle {
    animation-play-state: paused;
  }
}

@media (max-width: 360px), (max-height: 680px) and (max-width: 620px) {
  .hero-content {
    padding-top: 92px;
  }

  .hero-eyebrow {
    margin-bottom: 11px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 2.7rem);
  }

  .hero-title-rule {
    margin-top: 13px;
    margin-bottom: 17px;
  }

  .story-invitation {
    min-height: 94px;
    padding-block: 12px;
  }

  .story-play-container {
    width: 58px;
    height: 58px;
  }

  .hero-footer {
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
}

@keyframes awakeningOrbit {
  to { transform: rotate(360deg); }
}

@keyframes awakeningBreathe {
  0%, 100% { transform: scale(0.985); box-shadow: inset 0 0 34px rgba(37, 141, 255, 0.1), 0 0 52px rgba(37, 141, 255, 0.14); }
  50% { transform: scale(1.035); box-shadow: inset 0 0 42px rgba(37, 141, 255, 0.16), 0 0 84px rgba(37, 141, 255, 0.27); }
}

@keyframes awakeningRipple {
  0% { opacity: 0; transform: scale(0.86); }
  28% { opacity: 0.55; }
  100% { opacity: 0; transform: scale(1.17); }
}

@keyframes awakeningCopy {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
  .awakening-orb,
  .awakening-orb::after,
  .awakening-orbit,
  .awakening-copy {
    animation: none !important;
  }
}
