:root {
  --ink: #091522;
  --ink-soft: #142536;
  --paper: #f3efe5;
  --paper-bright: #fbfaf6;
  --paper-deep: #e4ddd0;
  --white: #ffffff;
  --muted: #61707d;
  --muted-light: #aeb9c3;
  --blue: #68aee8;
  --blue-bright: #8ec9fb;
  --copper: #d77c56;
  --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: 84px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::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);
  border-radius: 2px;
  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(96px, 12vw, 180px);
}

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

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

.display-heading {
  margin-bottom: 0;
  max-width: 17ch;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.1vw, 6.6rem);
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.055em;
}

.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.9rem;
  font-weight: 700;
  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: 70px;
  color: var(--ink);
  background: rgba(243, 239, 229, 0.92);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

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

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

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

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.2vw, 36px);
}

.primary-nav a {
  position: relative;
  color: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  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: 9px 13px;
  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(760px, 100svh);
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.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.76) contrast(1.04);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 10, 18, 0.92) 0%, rgba(3, 10, 18, 0.66) 46%, rgba(3, 10, 18, 0.22) 100%),
    linear-gradient(0deg, rgba(3, 10, 18, 0.95) 0%, transparent 44%, rgba(3, 10, 18, 0.32) 100%);
}

.hero-grid {
  opacity: 0.14;
  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) + 70px);
  padding-bottom: 150px;
}

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

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

.hero h1 {
  max-width: 12.5ch;
  margin-bottom: clamp(24px, 4vh, 38px);
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7.4vw, 8.3rem);
  font-weight: 400;
  line-height: 0.91;
  letter-spacing: -0.062em;
  text-wrap: balance;
}

.hero-intro {
  max-width: 780px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.03rem, 1.45vw, 1.26rem);
  line-height: 1.62;
}

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

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 32px;
  padding: 13px 20px;
  border: 1px solid transparent;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.button:hover {
  transform: translateY(-2px);
}

.button-light {
  color: var(--ink);
  background: var(--paper-bright);
}

.text-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
}

.play-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 50%;
  font-size: 0.56rem;
  transition: color 220ms ease, background 220ms ease, transform 220ms var(--ease);
}

.text-button:hover .play-mark {
  color: var(--ink);
  background: var(--white);
  transform: scale(1.06);
}

.duration {
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.72rem;
  font-weight: 500;
}

.hero-footer {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  min-height: 82px;
  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.74rem;
}

.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 9px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(132, 216, 170, 0.12);
}

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

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

/* Proof and thesis */

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

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

.proof-item {
  min-height: 126px;
  padding: 10px clamp(18px, 2.5vw, 40px);
  border-left: 1px solid var(--line-light);
}

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

.proof-item strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.055em;
}

.proof-item strong span {
  color: var(--copper);
  font-family: var(--sans);
  font-size: 0.5em;
  letter-spacing: 0;
}

.proof-item p {
  max-width: 23ch;
  margin-bottom: 0;
  color: var(--muted-light);
  font-size: 0.76rem;
  line-height: 1.5;
}

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

.thesis-grid {
  display: grid;
  grid-template-columns: minmax(160px, 0.55fr) minmax(0, 2.45fr);
  gap: clamp(30px, 7vw, 120px);
}

.thesis-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 88px);
  max-width: 990px;
  margin-top: clamp(54px, 8vw, 110px);
  margin-left: auto;
  color: #334454;
}

.thesis-copy p {
  margin-bottom: 0;
  font-size: clamp(1rem, 1.35vw, 1.17rem);
  line-height: 1.8;
}

/* Work */

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

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.65fr);
  gap: clamp(40px, 8vw, 140px);
  align-items: end;
  margin-bottom: clamp(66px, 9vw, 130px);
}

.section-lede {
  max-width: 43ch;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.feature-case {
  display: grid;
  grid-template-columns: minmax(0, 1.13fr) minmax(390px, 0.87fr);
  min-height: 850px;
  color: var(--paper-bright);
  background: var(--ink);
  box-shadow: 0 30px 80px rgba(9, 21, 34, 0.13);
}

.feature-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: #17293c;
}

.feature-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.72) contrast(1.06);
}

.media-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 13, 22, 0.88), transparent 56%), linear-gradient(90deg, transparent 70%, rgba(5, 13, 22, 0.36));
  pointer-events: none;
}

.media-caption {
  position: absolute;
  top: 28px;
  right: 28px;
  left: 28px;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.product-architecture {
  position: absolute;
  right: clamp(22px, 4vw, 52px);
  bottom: clamp(28px, 5vw, 62px);
  left: clamp(22px, 4vw, 52px);
  display: grid;
  grid-template-columns: 1.3fr 26px repeat(3, 0.75fr);
  align-items: center;
  gap: 8px;
  padding: 18px;
  background: rgba(8, 20, 32, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.15);
  -webkit-backdrop-filter: blur(13px);
  backdrop-filter: blur(13px);
}

.arch-node {
  padding: 10px 8px;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.67rem;
  text-align: center;
}

.arch-main {
  color: var(--white);
  border-color: var(--blue);
}

.arch-line {
  height: 1px;
  background: var(--blue);
}

.feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(42px, 6vw, 88px);
}

.case-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 44px;
  padding-bottom: 16px;
  color: var(--muted-light);
  border-bottom: 1px solid var(--line-light);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.availability-tag {
  margin-bottom: 26px;
  color: var(--green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.availability-tag span {
  margin-right: 7px;
  font-size: 0.58rem;
}

.feature-copy h3 {
  max-width: 11ch;
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 4.65rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.case-summary {
  margin-bottom: 40px;
  color: #c5ced6;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.7;
}

.case-story {
  margin-bottom: 38px;
}

.case-story > div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 20px;
  padding-block: 17px;
  border-top: 1px solid var(--line-light);
}

.case-story dt {
  color: var(--blue-bright);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.case-story dd {
  color: var(--muted-light);
  font-size: 0.81rem;
  line-height: 1.65;
}

.case-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.case-facts li {
  padding: 6px 9px;
  color: #c7d3de;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.68rem;
}

.product-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin-top: 30px;
  color: var(--paper-bright);
}

.product-link-secondary {
  color: var(--muted-light);
}

/* ── Product Narrative (TayzoPrompter cinematic section) ── */

.product-narrative {
  position: relative;
  background: #05070c;
}

.product-narrative::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(79, 134, 245, 0.35) 30%, rgba(131, 201, 250, 0.45) 50%, rgba(79, 134, 245, 0.35) 70%, transparent 95%);
}

.pn-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 1200px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.pn-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pn-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #05070c 0%, rgba(5, 7, 12, 0.72) 35%, rgba(5, 7, 12, 0.18) 60%, rgba(5, 7, 12, 0.44) 100%);
  pointer-events: none;
}

.pn-hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
  padding: 0 clamp(24px, 4vw, 64px) clamp(72px, 10vh, 140px);
  text-align: center;
}

.pn-kicker {
  margin-bottom: 0;
  color: #83c9fa;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  animation: pnKickerIn 1s var(--ease) forwards;
  animation-play-state: paused;
}

.pn-hero.is-animating .pn-kicker {
  animation-play-state: running;
}

.pn-sequence {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
}

.pn-moment {
  position: absolute;
  width: 100%;
  margin: 0;
  padding: 0 12px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #f4f7fb;
  opacity: 0;
  animation: pnMoment 3s var(--ease) forwards;
  animation-delay: calc(0.6s + var(--i) * 3s);
  animation-play-state: paused;
}

.pn-hero.is-animating .pn-moment {
  animation-play-state: running;
}

.pn-reveal {
  opacity: 0;
  animation: pnReveal 1.8s var(--ease) 13s forwards;
  animation-play-state: paused;
}

.pn-hero.is-animating .pn-reveal {
  animation-play-state: running;
}

.pn-title {
  margin-bottom: 16px;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  background: linear-gradient(118deg, #b6e1ff 0%, #79c4fb 34%, #4f86f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pn-tagline {
  margin-bottom: 20px;
  color: #f4f7fb;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.6rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.pn-hero-sub {
  margin: 0;
  color: rgba(131, 201, 250, 0.6);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pn-narrative {
  padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 64px);
}

.pn-narrative-inner {
  max-width: 580px;
  margin: 0 auto;
}

.pn-block {
  margin-bottom: clamp(72px, 9vw, 120px);
}

.pn-block:last-child {
  margin-bottom: 0;
}

.pn-block p {
  margin-bottom: 1.3em;
  color: #8a95a5;
  font-family: var(--sans);
  font-size: clamp(0.97rem, 1.15vw, 1.08rem);
  line-height: 1.82;
}

.pn-block p:first-child {
  color: #f4f7fb;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
}

.pn-block p:last-child {
  margin-bottom: 0;
  color: #b4c1cd;
}

.pn-closing {
  padding: clamp(60px, 8vw, 120px) clamp(24px, 4vw, 64px) clamp(100px, 12vw, 180px);
  text-align: center;
  border-top: 1px solid rgba(131, 201, 250, 0.06);
}

.pn-closing-inner {
  max-width: 600px;
  margin: 0 auto;
}

.pn-closing-quote {
  margin-bottom: 24px;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: #f4f7fb;
}

.pn-closing-body {
  margin-bottom: 32px;
  color: #8a95a5;
  font-family: var(--sans);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.78;
}

.pn-closing-final {
  margin-bottom: 8px;
  color: #a3adbc;
  font-family: var(--sans);
  font-size: clamp(0.94rem, 1.1vw, 1.04rem);
  line-height: 1.78;
}

.pn-closing-emphasis {
  margin-bottom: 48px;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  background: linear-gradient(118deg, #b6e1ff 0%, #79c4fb 34%, #4f86f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pn-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.pn-link-primary,
.pn-link-secondary {
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.25s ease;
}

.pn-link-primary {
  color: #83c9fa;
}

.pn-link-primary:hover {
  color: #b6e1ff;
}

.pn-link-secondary {
  color: #566373;
}

.pn-link-secondary:hover {
  color: #a3adbc;
}

@keyframes pnKickerIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes pnMoment {
  0% { opacity: 0; transform: translateY(20px); }
  12% { opacity: 1; transform: translateY(0); }
  78% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-8px); }
}

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

@media (max-width: 820px) {
  .pn-hero {
    height: 80vh;
  }

  .pn-sequence {
    height: 90px;
  }
}

@media (max-width: 560px) {
  .pn-hero {
    height: 70vh;
    min-height: 480px;
  }

  .pn-sequence {
    height: 72px;
    margin: 20px 0;
  }

  .pn-hero-content {
    padding-bottom: clamp(40px, 7vh, 90px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pn-sequence {
    display: none;
  }

  .pn-kicker,
  .pn-reveal {
    opacity: 1;
    animation: none;
  }
}

/* ── Leadership Narrative ─────────────────────────────────────────────── */

.leadership-narrative {
  position: relative;
  background: #0c0e11;
}

.leadership-narrative::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, rgba(212, 149, 106, 0.3) 30%, rgba(212, 149, 106, 0.4) 50%, rgba(212, 149, 106, 0.3) 70%, transparent 95%);
}

/* Sticky video background */

.ln-video-bg {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

.ln-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.45) brightness(0.24);
  transition: opacity 1.8s ease;
}

.ln-bg-taylor {
  opacity: 1;
  z-index: 0;
}

.ln-bg-zoe {
  opacity: 0;
  z-index: 1;
}

.leadership-narrative.is-zoe-active .ln-bg-taylor {
  opacity: 0;
}

.leadership-narrative.is-zoe-active .ln-bg-zoe {
  opacity: 1;
}

.ln-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    0deg,
    rgba(12, 14, 17, 0.75) 0%,
    rgba(12, 14, 17, 0.35) 30%,
    rgba(12, 14, 17, 0.2) 55%,
    rgba(12, 14, 17, 0.5) 100%
  );
  pointer-events: none;
}

/* Scrolling content layer */

.ln-scroll-content {
  position: relative;
  z-index: 1;
  margin-top: -100vh;
}

/* Hero */

.ln-hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ln-hero-content {
  width: 100%;
  max-width: 840px;
  padding: 0 clamp(24px, 4vw, 64px) clamp(72px, 10vh, 120px);
  text-align: center;
}

.ln-kicker {
  margin-bottom: 28px;
  color: #d4956a;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ln-title {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #f4f0ea;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

/* Narrative */

.ln-narrative {
  padding: clamp(80px, 10vw, 160px) clamp(24px, 4vw, 64px);
  background: transparent;
}

.ln-narrative-inner {
  max-width: 580px;
  margin: 0 auto;
}

.ln-block {
  margin-bottom: clamp(72px, 9vw, 120px);
}

.ln-block:last-child {
  margin-bottom: 0;
}

.ln-block p {
  margin-bottom: 1.3em;
  color: #9a958e;
  font-family: var(--sans);
  font-size: clamp(0.97rem, 1.15vw, 1.08rem);
  line-height: 1.82;
}

.ln-block p:first-child {
  color: #f4f0ea;
  font-size: clamp(1.06rem, 1.3vw, 1.2rem);
}

.ln-block p:last-child {
  margin-bottom: 0;
  color: #c4b8aa;
}

/* Crossfade trigger (invisible marker) */

.ln-crossfade-trigger {
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
}

/* Watch film CTA */

.ln-film-cta {
  max-width: 580px;
  margin: 0 auto clamp(72px, 9vw, 120px);
}

.ln-watch-link {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border: 1px solid rgba(212, 149, 106, 0.2);
  border-radius: 12px;
  background: rgba(212, 149, 106, 0.04);
  text-decoration: none;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease);
}

.ln-watch-link:hover {
  background: rgba(212, 149, 106, 0.1);
  border-color: rgba(212, 149, 106, 0.4);
  transform: translateY(-2px);
}

.ln-play-circle {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(212, 149, 106, 0.8);
  box-shadow: 0 0 30px rgba(212, 149, 106, 0.2);
  color: #fff;
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, background 0.3s ease;
}

.ln-play-circle svg {
  width: 20px;
  height: 20px;
  margin-left: 2px;
}

.ln-watch-link:hover .ln-play-circle {
  transform: scale(1.1);
  background: rgba(212, 149, 106, 0.95);
  box-shadow: 0 0 50px rgba(212, 149, 106, 0.35);
}

.ln-watch-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ln-watch-label {
  color: #f4f0ea;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.ln-watch-meta {
  color: #9a958e;
  font-family: var(--serif);
  font-size: 0.82rem;
  font-style: italic;
}

.ln-film-duration {
  margin-left: 6px;
  color: #6b665f;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.76rem;
}

/* Closing */

.ln-closing {
  padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 64px) clamp(100px, 12vw, 180px);
  background: #0c0e11;
  border-top: 1px solid rgba(212, 149, 106, 0.06);
}

.ln-closing-inner {
  max-width: 580px;
  margin: 0 auto;
}

.ln-closing-emphasis {
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.01em;
  background: linear-gradient(118deg, #f0d0b0 0%, #d4956a 50%, #c07850 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Leadership Responsive */

@media (max-width: 820px) {
  .ln-hero {
    min-height: 85vh;
  }
}

@media (max-width: 560px) {
  .ln-hero {
    min-height: 75vh;
  }

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

  .ln-play-circle svg {
    width: 18px;
    height: 18px;
  }

  .ln-watch-link {
    padding: 16px 20px;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ln-bg-video {
    display: none;
  }

  .ln-video-bg {
    background: #0c0e11;
  }
}

.case-list {
  margin-top: clamp(80px, 11vw, 160px);
  border-top: 1px solid var(--line);
}

.case-row {
  display: grid;
  grid-template-columns: 0.28fr 0.85fr 1.4fr;
  gap: clamp(24px, 5vw, 82px);
  padding-block: clamp(62px, 8vw, 112px);
  border-bottom: 1px solid var(--line);
}

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

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

.case-title h3 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.4vw, 3.9rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

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

.case-body > p {
  font-size: clamp(0.98rem, 1.25vw, 1.08rem);
  line-height: 1.78;
}

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

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

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

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

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

/* 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, 100px);
  border-bottom: 1px solid var(--line-light);
}

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

.principles li {
  display: grid;
  grid-template-columns: 0.42fr 1.58fr;
  gap: 40px;
  padding-block: clamp(42px, 5vw, 72px);
  border-bottom: 1px solid var(--line-light);
}

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

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

.principles h3 {
  max-width: 17ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 3.25rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

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

/* AI */

.ai-section {
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background: var(--blue-bright);
}

.ai-section::before {
  position: absolute;
  top: -50%;
  right: -16%;
  width: 70vw;
  height: 70vw;
  border: 1px solid rgba(9, 21, 34, 0.2);
  border-radius: 50%;
  content: "";
}

.ai-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: center;
  min-height: 820px;
  padding-block: clamp(100px, 12vw, 170px);
}

.ai-copy h2 {
  max-width: 12ch;
  margin-bottom: 36px;
  font-family: var(--serif);
  font-size: clamp(3rem, 5.5vw, 6.2rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.ai-copy > p:not(.eyebrow) {
  max-width: 63ch;
  font-size: 1rem;
  line-height: 1.75;
}

.agent-loop {
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(9, 21, 34, 0.22);
  list-style: none;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.agent-loop li {
  display: grid;
  grid-template-columns: 44px 0.7fr 1.3fr;
  gap: 18px;
  align-items: center;
  min-height: 92px;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(9, 21, 34, 0.18);
}

.agent-loop li:last-child {
  border-bottom: 0;
}

.agent-loop span {
  font-family: var(--serif);
  font-size: 1.35rem;
}

.agent-loop strong {
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.agent-loop small {
  color: #2f5067;
  font-size: 0.73rem;
}

/* Experience and capabilities */

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

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(420px, 1.07fr);
  gap: clamp(70px, 11vw, 180px);
}

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

.experience-intro .display-heading {
  max-width: 12ch;
  font-size: clamp(2.8rem, 4.7vw, 5.6rem);
}

.experience-intro > p:not(.section-index) {
  max-width: 53ch;
  margin-block: 38px 28px;
  color: var(--muted);
  line-height: 1.75;
}

.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, 58px);
  padding-block: 40px;
  border-bottom: 1px solid var(--line);
}

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

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

.career-timeline .company {
  margin-bottom: 16px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 700;
}

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

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

.capabilities-heading {
  display: grid;
  grid-template-columns: 0.55fr 2.45fr;
  gap: clamp(30px, 7vw, 120px);
  margin-bottom: clamp(74px, 9vw, 130px);
}

.capability-list {
  margin-bottom: 0;
  border-top: 1px solid var(--line);
}

.capability-list > div {
  display: grid;
  grid-template-columns: 0.78fr 1.7fr;
  gap: clamp(30px, 8vw, 150px);
  padding-block: 34px;
  border-bottom: 1px solid var(--line);
}

.capability-list dt {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.capability-list dd {
  max-width: 74ch;
  color: #40505e;
  font-size: 0.9rem;
  line-height: 1.75;
}

/* Contact */

.contact {
  position: relative;
  min-height: 760px;
  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(142, 201, 251, 0.24);
  border-radius: 50%;
  transform: translateY(-50%);
}

.contact-orbit::before,
.contact-orbit::after {
  position: absolute;
  border: 1px solid rgba(215, 124, 86, 0.28);
  border-radius: 50%;
  content: "";
}

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

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

.contact-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(70px, 10vw, 160px);
  align-items: center;
  min-height: 760px;
  padding-block: 100px;
}

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

.contact h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 6.5vw, 7.7rem);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.contact-copy {
  position: relative;
  z-index: 1;
}

.contact-copy > p {
  margin-bottom: 36px;
  color: #b7c2cc;
  line-height: 1.75;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  text-decoration: none;
}

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

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

.site-footer {
  color: var(--muted-light);
  background: #050d16;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

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

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

/* Dialogs */

.media-dialog {
  width: min(1180px, calc(100% - 36px));
  max-width: none;
  max-height: calc(100svh - 36px);
  margin: auto;
  padding: 0;
  color: var(--paper-bright);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.45);
}

.media-dialog::backdrop {
  background: rgba(3, 8, 14, 0.84);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

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

.dialog-heading .eyebrow {
  margin-bottom: 5px;
  color: var(--muted-light);
}

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

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

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

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

.dialog-note {
  max-width: 88ch;
  margin-bottom: 22px;
  color: var(--muted-light);
  font-size: 0.8rem;
}

.demo-frame {
  height: min(70vh, 800px);
  min-height: 520px;
  background: var(--white);
}

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

.finance-dialog .dialog-shell {
  padding: 18px;
}

.finance-dialog .dialog-heading {
  align-items: center;
  margin-bottom: 10px;
}

.finance-dialog .dialog-heading h2 {
  font-size: clamp(1.35rem, 2.4vw, 2.5rem);
}

.finance-dialog .dialog-note {
  margin-bottom: 12px;
}

.finance-frame {
  height: calc(100svh - 168px);
  min-height: 580px;
  overflow: hidden;
  background: #f2f0e9;
  border: 1px solid rgba(255, 255, 255, 0.16);
}

/* Reveal motion */

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

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

/* Deep links must never wait for reveal observers before becoming readable. */
.js :target [data-reveal],
.js [data-reveal]:target {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */

@media (max-width: 1080px) {
  .feature-case {
    grid-template-columns: 1fr;
  }

  .feature-media {
    min-height: 65vw;
    max-height: 760px;
  }

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

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

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

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

@media (max-width: 820px) {
  :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: 16px clamp(22px, 4vw, 64px) 28px;
    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: 13px;
    border-bottom: 1px solid var(--line);
  }

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

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

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

  .hero-content {
    padding-bottom: 164px;
  }

  .hero h1 {
    max-width: 11ch;
  }

  .hero-footer {
    min-height: 94px;
    align-items: flex-start;
    padding-top: 18px;
  }

  .hero-footer p:last-child {
    display: none;
  }

  .video-toggle {
    bottom: 112px;
  }

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

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

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

  .proof-item:nth-child(4) {
    border-bottom: 0;
  }

  .thesis-grid,
  .capabilities-heading {
    grid-template-columns: 1fr;
  }

  .section-heading-row {
    grid-template-columns: 1fr;
    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;
  }

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

  .principles li {
    gap: 12px;
  }

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

  .ai-grid,
  .experience-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .ai-grid {
    min-height: auto;
  }

  .experience-intro {
    position: static;
  }

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

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

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

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

  .brand-name {
    display: none;
  }

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

  .hero-shade {
    background: linear-gradient(0deg, rgba(3, 10, 18, 0.96) 0%, rgba(3, 10, 18, 0.62) 66%, rgba(3, 10, 18, 0.42) 100%);
  }

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

  .hero-content {
    padding-bottom: 170px;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

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

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

  .button {
    width: 100%;
    justify-content: space-between;
  }

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

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

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

  .proof-item,
  .proof-item:nth-child(3) {
    min-height: 0;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-light);
    border-left: 0;
  }

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

  .proof-item p {
    max-width: 33ch;
  }

  .thesis-copy {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .feature-case {
    min-height: 0;
  }

  .feature-media {
    min-height: 480px;
  }

  .media-caption {
    right: 18px;
    left: 18px;
  }

  .media-caption span:last-child {
    display: none;
  }

  .product-architecture {
    right: 16px;
    bottom: 18px;
    left: 16px;
    grid-template-columns: 1fr;
  }

  .arch-line {
    width: 1px;
    height: 12px;
    margin-inline: auto;
  }

  .product-architecture .arch-node:not(.arch-main):not(:nth-last-child(1)) {
    display: none;
  }

  .feature-copy {
    padding: 38px 22px 48px;
  }

  .feature-copy h3 {
    max-width: 13ch;
  }

  .case-story > div {
    grid-template-columns: 1fr;
    gap: 7px;
  }

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

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

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

  .outcome-line,
  .capability-list > div {
    grid-template-columns: 1fr;
  }

  .agent-loop li {
    grid-template-columns: 34px 1fr;
  }

  .agent-loop small {
    grid-column: 2;
  }

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

  .contact {
    min-height: 700px;
  }

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

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

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

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

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

  .demo-frame {
    min-height: 62vh;
  }
}

@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;
  }

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

@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);
  }
}
