:root {
  --paper: #f4efe5;
  --paper-deep: #e4dbcc;
  --ink: #181611;
  --ink-soft: #39342c;
  --muted: #736a5f;
  --line: rgba(24, 22, 17, 0.16);
  --gold: #a67b3f;
  --wine: #7f3041;
  --seam-ocean-amber: #b77836;
  --seam-ocean-blue: #294752;
  --seam-formation-wine: var(--wine);
  --seam-observation-light-opacity: 0.12;
  --seam-project-graphite: #34332f;
  --seam-project-copper: #9a6b39;
  --seam-london-blue: #596873;
  --seam-london-paper: #d8d0c3;
  --seam-making-light-opacity: 0.12;
  --white: #fffaf1;
  --header-bg: rgba(244, 239, 229, 0.78);
  --header-solid: rgba(244, 239, 229, 0.96);
  --panel: rgba(255, 250, 241, 0.54);
  --soft-shadow: 0 26px 80px rgba(58, 43, 25, 0.14);
  --prototype-max: 1320px;
  --editorial-gutter: clamp(20px, 5vw, 76px);
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #11120f;
    --paper-deep: #1a1b16;
    --ink: #f3eee4;
    --ink-soft: #d7cfc1;
    --muted: #9f978a;
    --line: rgba(243, 238, 228, 0.15);
    --gold: #c9a565;
    --wine: #d6a0ab;
    --seam-ocean-amber: #c9924c;
    --seam-ocean-blue: #203b43;
    --seam-formation-wine: var(--wine);
    --seam-observation-light-opacity: 0.16;
    --seam-project-graphite: #232622;
    --seam-project-copper: #bc8b51;
    --seam-london-blue: #475964;
    --seam-london-paper: #b7afa3;
    --seam-making-light-opacity: 0.16;
    --white: #fff9ee;
    --header-bg: rgba(17, 18, 15, 0.78);
    --header-solid: rgba(17, 18, 15, 0.96);
    --panel: rgba(255, 249, 238, 0.035);
    --soft-shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  }
}

body {
  background: var(--paper);
}

.site-header {
  background: var(--header-bg);
  border-bottom-color: color-mix(in srgb, var(--line) 58%, transparent);
  padding-inline: max(var(--editorial-gutter), calc((100vw - 1920px) / 2 + var(--editorial-gutter)));
}

.site-header.is-scrolled {
  box-shadow: 0 10px 32px color-mix(in srgb, var(--ink) 5%, transparent);
}

.wordmark {
  font-size: 18px;
  min-width: 164px;
}

.site-nav {
  gap: clamp(14px, 1.8vw, 28px);
  letter-spacing: 0.045em;
}

.nav-toggle {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  display: none;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 10px 0;
  text-transform: uppercase;
}

.nav-toggle:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.hero {
  gap: clamp(44px, 6.5vw, 104px);
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, 0.72fr);
  max-width: var(--prototype-max);
  min-height: max(760px, 100svh);
  padding: calc(var(--header-height) + 42px) var(--editorial-gutter) clamp(76px, 8vw, 118px);
}

.hero::before {
  bottom: clamp(30px, 4.5vw, 62px);
  color: color-mix(in srgb, var(--ink) 4%, transparent);
  font-size: clamp(82px, 11vw, 178px);
  left: var(--editorial-gutter);
}

.hero::after {
  background: color-mix(in srgb, var(--gold) 72%, var(--line));
  left: var(--editorial-gutter);
  right: var(--editorial-gutter);
}

.hero-copy {
  align-self: center;
  transform: translateY(-1.5vh);
}

.hero h1 {
  font-size: clamp(66px, 7.3vw, 116px);
  letter-spacing: -0.035em;
  line-height: 0.91;
}

.hero h1 span {
  margin-left: clamp(14px, 3.5vw, 56px);
  margin-top: 0.09em;
}

.hero-lede {
  max-width: 610px;
}

.hero-media {
  --rx: 0deg;
  --ry: 0deg;
  align-self: center;
  aspect-ratio: 0.78;
  background: var(--paper-deep);
  border: 0;
  border-radius: 2px 2px 24px 2px;
  box-shadow: var(--soft-shadow);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  transform: perspective(1300px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 280ms ease;
}

.hero-media::before {
  border: 0;
  color: rgba(255, 250, 241, 0.82);
  left: 22px;
  padding: 0;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.42);
  top: 22px;
  width: auto;
}

.hero-media::after {
  background: linear-gradient(180deg, rgba(14, 14, 12, 0.02), rgba(14, 14, 12, 0.16));
  inset: 0;
}

.hero-media img {
  height: 100%;
  object-position: center top;
  transform: scale(1.015) translateZ(24px);
}

.hero-note {
  bottom: clamp(32px, 5vw, 68px);
  left: var(--editorial-gutter);
}

.photo-prologue {
  margin: 0 auto;
  max-width: 1600px;
  padding: clamp(34px, 5vw, 76px) var(--editorial-gutter) clamp(86px, 11vw, 160px);
  perspective: 1500px;
}

.photo-prologue-frame {
  --rx: 0deg;
  --ry: 0deg;
  margin: 0;
  transform: translate3d(0, var(--prologue-shift, 0px), 0) perspective(1500px) rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.photo-prologue-plane {
  background: #13150f;
  box-shadow: 0 34px 100px rgba(20, 18, 12, 0.24);
  overflow: visible;
}

.photo-prologue-plane img {
  display: block;
  height: auto;
  transform: none;
  width: 100%;
}

.photo-prologue-frame figcaption {
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 11px;
  font-weight: 700;
  justify-content: space-between;
  letter-spacing: 0.08em;
  padding: 14px 0 18px;
  text-transform: uppercase;
}

.section {
  max-width: 1240px;
  padding-block: clamp(84px, 11vw, 144px);
}

.section-heading {
  grid-template-columns: minmax(190px, 0.28fr) minmax(0, 1fr);
  margin-bottom: clamp(54px, 8vw, 96px);
}

.section-heading h2,
.intro h2,
.split-copy h2,
.photo-heading h2,
.contact h2 {
  letter-spacing: -0.028em;
}

.intro {
  padding-top: clamp(64px, 8vw, 108px);
}

.intro-grid {
  gap: clamp(54px, 9vw, 120px);
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
}

.intro h2 {
  font-size: clamp(48px, 5vw, 72px);
  line-height: 1;
}

.intro-copy {
  font-size: clamp(17px, 1.4vw, 20px);
}

.highlights {
  border-bottom: 1px solid var(--line);
  margin-top: clamp(68px, 9vw, 112px);
}

.highlight {
  min-height: 280px;
  transition: background 240ms ease, transform 240ms ease;
}

.highlight:hover {
  background: var(--panel);
  transform: translateY(-5px);
}

.education-grid,
.experience-lens,
.timeline {
  border-color: var(--line);
}

.education-item,
.timeline-item {
  transition: background 240ms ease, padding 240ms ease;
}

.education-item:hover,
.timeline-item:hover {
  background: var(--panel);
  padding-inline: clamp(12px, 1.5vw, 22px);
}

.experience-lens article {
  min-height: 210px;
}

.experience-lens article > span {
  color: var(--wine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 4.3vw, 66px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.experience-lens article > strong {
  margin-top: 22px;
}

.experience-lens article > small {
  max-width: 22ch;
}

.projects-section {
  max-width: 1240px;
}

.project-curation,
.project-archive {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.project-archive {
  margin-top: clamp(84px, 10vw, 132px);
}

.project-artifact {
  display: none;
}

.group-title {
  color: var(--ink);
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.03em;
  margin-bottom: clamp(30px, 5vw, 54px);
}

.project-featured {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: clamp(30px, 5vw, 72px);
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1fr);
  min-height: 360px;
  padding: clamp(30px, 4vw, 48px) 0;
  position: relative;
}

.project-featured::after {
  background: var(--gold);
  bottom: -1px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.project-featured:hover::after {
  transform: scaleX(1);
}

.project-featured--reverse .project-media {
  order: 2;
}

.project-featured--reverse .project-copy {
  padding-left: clamp(0px, 2vw, 26px);
}

.project-media {
  align-items: center;
  aspect-ratio: auto;
  background: color-mix(in srgb, var(--paper-deep) 74%, var(--paper));
  border: 0;
  box-shadow: 0 20px 52px color-mix(in srgb, var(--ink) 10%, transparent);
  display: flex;
  min-height: 300px;
  overflow: hidden;
  padding: clamp(12px, 1.5vw, 20px);
  transition: box-shadow 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-media img {
  height: auto;
  max-height: 420px;
  object-fit: contain;
  transform: none;
  width: 100%;
}

.project-featured:hover .project-media {
  box-shadow: 0 28px 68px color-mix(in srgb, var(--ink) 16%, transparent);
  transform: translateY(-8px);
}

.project-featured:hover .project-media img {
  transform: none;
}

.project-copy h3 {
  font-size: clamp(36px, 4.2vw, 58px);
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.project-copy > p:not(.project-type) {
  font-size: clamp(16px, 1.3vw, 19px);
  max-width: 560px;
}

.analytics {
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.74fr);
}

.analytics-media {
  gap: 14px;
}

.analytics .project-media {
  min-height: 0;
  padding: 10px;
}

.project-media-pair {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
}

.project-media-pair img {
  max-height: 330px;
}

.project-links,
.archive-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.project-links a,
.project-archive-item > a,
.archive-links a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.project-archive-list {
  border-bottom: 1px solid var(--line);
}

.project-archive-item {
  align-items: center;
  border-top: 1px solid var(--line);
  display: grid;
  gap: clamp(18px, 3vw, 38px);
  grid-template-columns: 152px minmax(0, 1fr) minmax(128px, auto);
  padding: 22px 0;
  transition: background 220ms ease, padding 220ms ease;
}

.project-archive-item:hover {
  background: var(--panel);
  padding-inline: 16px;
}

.project-archive-item > img {
  background: color-mix(in srgb, var(--paper-deep) 74%, var(--paper));
  height: 92px;
  object-fit: contain;
  width: 152px;
}

.project-archive-item h3 {
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1;
  margin: 5px 0 8px;
}

.project-archive-item p:not(.project-type) {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  max-width: 680px;
}

.editorial-split {
  gap: 0;
  margin-inline: auto;
  margin-block: clamp(80px, 12vw, 160px);
  max-width: min(1440px, calc(100% - (var(--editorial-gutter) * 2)));
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.split-media {
  align-self: center;
  aspect-ratio: 1800 / 1201;
  min-height: 0;
}

.split-media img {
  height: 100%;
  object-fit: contain;
}

.split-copy {
  align-content: center;
  padding: clamp(52px, 7vw, 110px);
}

.ucl-chapter-mark {
  color: #d8b675;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin: 0 0 30px;
  text-transform: uppercase;
}

.photography-section {
  max-width: 1540px;
  padding-inline: var(--editorial-gutter);
}

.photography-section .section-heading {
  max-width: 1180px;
}

.photo-heading h2 {
  font-size: clamp(58px, 7vw, 108px);
  line-height: 0.92;
}

.photo-gallery {
  columns: 3 320px;
  column-gap: clamp(12px, 1.6vw, 24px);
  display: block;
}

.photo-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.photo-filters button {
  appearance: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  padding: 10px 16px;
  text-transform: uppercase;
}

.photo-filters button[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.photo-status {
  color: var(--muted);
  font-size: 12px;
  margin: 10px 0 0;
}

.photo-item,
.photo-panorama,
.photo-landscape,
.photo-wide,
.photo-tall {
  break-inside: avoid;
  display: inline-block;
  margin: 0 0 clamp(12px, 1.6vw, 24px);
  overflow: visible;
  width: 100%;
}

.photo-item[hidden] {
  display: none !important;
}

.photo-open {
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: zoom-in;
  display: block;
  padding: 0;
  width: 100%;
}

.photo-item img,
.photo-panorama img {
  aspect-ratio: auto;
  box-shadow: 0 16px 48px color-mix(in srgb, var(--ink) 12%, transparent);
  height: auto;
  object-fit: contain;
  transform: none;
  transition: box-shadow 320ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  width: 100%;
}

.photo-item:hover img {
  box-shadow: 0 24px 66px color-mix(in srgb, var(--ink) 19%, transparent);
  transform: translateY(-5px);
}

.photo-lightbox {
  background: rgba(10, 10, 8, 0.96);
  border: 0;
  color: #f7f1e7;
  height: 100%;
  margin: 0;
  max-height: none;
  max-width: none;
  padding: clamp(18px, 3vw, 38px);
  width: 100%;
}

.photo-lightbox::backdrop {
  background: rgba(6, 6, 5, 0.82);
}

.photo-lightbox-stage {
  align-items: center;
  display: grid;
  gap: 20px;
  grid-template-columns: auto minmax(0, 1fr) auto;
  height: 100%;
}

.photo-lightbox figure {
  display: grid;
  gap: 14px;
  height: 100%;
  margin: 0;
  min-height: 0;
  place-items: center;
}

.photo-lightbox img {
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.44);
  height: auto;
  max-height: calc(100dvh - 132px);
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.photo-lightbox figcaption {
  display: flex;
  font-size: 12px;
  gap: 24px;
  justify-content: space-between;
  max-width: 900px;
  width: 100%;
}

.photo-lightbox button {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(247, 241, 231, 0.3);
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 11px 14px;
  text-transform: uppercase;
}

.photo-lightbox-close {
  position: absolute;
  right: clamp(18px, 3vw, 38px);
  top: clamp(18px, 3vw, 38px);
  z-index: 2;
}

.contact {
  max-width: 1240px;
  padding-top: clamp(110px, 14vw, 190px);
}

.contact-inner {
  min-height: 480px;
}

.contact-primary {
  display: grid;
  gap: 12px;
}

.contact-primary a,
.contact-primary button,
.contact-secondary a {
  align-items: baseline;
  display: flex;
  justify-content: space-between;
}

.contact-links .contact-primary a,
.contact-links .contact-primary button {
  font-size: clamp(19px, 1.7vw, 25px);
}

.contact-links .contact-secondary a {
  border-bottom: 0;
  font-size: 15px;
}

.contact-primary span,
.contact-secondary span {
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-primary strong,
.contact-secondary strong {
  font-weight: 500;
}

.contact-secondary {
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
}

.contact-secondary summary {
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.05em;
  padding: 12px 0;
  text-transform: uppercase;
}

.contact-secondary > div {
  display: grid;
}

.contact-secondary a {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  padding: 12px 0;
}

:where(a, button, summary):focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.photo-prologue-bridge {
  color: rgba(244, 239, 229, 0.68);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.8vw, 42px);
  line-height: 1.08;
  margin: clamp(34px, 5vw, 72px) 0 0;
  max-width: 920px;
}

@media (max-width: 1180px) {
  :root {
    --header-height: 76px;
  }

  .site-header {
    align-items: center;
    flex-direction: row;
    gap: 18px;
    height: 76px;
    min-height: 76px;
    padding-block: 0;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    gap: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    left: auto;
    margin: 0;
    max-width: 390px;
    overflow: visible;
    padding: 18px 22px 22px;
    position: fixed;
    right: var(--editorial-gutter);
    top: 76px;
    white-space: normal;
    width: min(390px, calc(100vw - (var(--editorial-gutter) * 2)));
  }

  .site-header.is-nav-open .site-nav {
    background: var(--header-solid);
    border: 1px solid var(--line);
    box-shadow: 0 22px 60px color-mix(in srgb, var(--ink) 16%, transparent);
    display: grid;
  }

  .site-header.is-nav-open .site-nav a {
    color: var(--ink);
    padding: 14px 10px;
  }

  .header-contact,
  .language-switch {
    margin-left: 0;
    position: static;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(330px, 0.7fr);
  }

  .project-featured,
  .analytics {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .header-contact {
    display: none;
  }

  .hero {
    gap: 42px;
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 74px;
    padding-top: calc(var(--header-height) + 58px);
  }

  .hero-copy {
    transform: none;
  }

  .hero h1 span {
    margin-left: 0;
  }

  .hero-media {
    aspect-ratio: 4 / 5;
    justify-self: end;
    max-width: min(100%, 520px);
    width: 82%;
  }

  .hero-note {
    bottom: 24px;
  }

  .photo-prologue {
    padding-top: 24px;
  }

  .section-heading,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .project-featured,
  .analytics {
    gap: 28px;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-featured--reverse .project-media {
    order: initial;
  }

  .project-featured--reverse .project-copy {
    padding-left: 0;
  }

  .editorial-split {
    grid-template-columns: 1fr;
  }

  .split-media {
    aspect-ratio: 1800 / 1201;
    min-height: 0;
  }

  .project-archive-item {
    grid-template-columns: 108px minmax(0, 1fr);
  }

  .project-archive-item > img {
    height: 84px;
    width: 108px;
  }

  .project-archive-item > a,
  .project-archive-item > .archive-links {
    grid-column: 2;
  }

  .photo-lightbox-stage {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .photo-lightbox-nav {
    bottom: 18px;
    position: absolute;
  }

  .photo-lightbox-previous {
    left: 18px;
  }

  .photo-lightbox-next {
    right: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --editorial-gutter: 18px;
    --header-height: 66px;
  }

  .site-header {
    height: 66px;
    min-height: 66px;
    padding-inline: 18px;
  }

  .site-nav {
    grid-template-columns: 1fr;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    right: 18px;
    top: 66px;
    width: calc(100vw - 36px);
  }

  .wordmark {
    font-size: 16px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero h1 {
    font-size: clamp(54px, 16vw, 78px);
  }

  .hero-media {
    width: 92%;
  }

  .photo-prologue {
    padding-bottom: 92px;
  }

  .photo-prologue-frame figcaption {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .section {
    padding-block: 82px;
  }

  .project-media {
    min-height: 220px;
  }

  .project-media-pair {
    grid-template-columns: 1fr 1.25fr;
  }

  .project-archive-item {
    align-items: start;
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .project-archive-item > img {
    height: 74px;
    width: 84px;
  }

  .contact-primary a,
  .contact-primary button,
  .contact-secondary a {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .photo-filters {
    gap: 6px;
  }

  .photo-filters button {
    padding: 9px 12px;
  }

  .photo-gallery {
    columns: 2 138px;
    column-gap: 10px;
  }

  .photo-item,
  .photo-panorama,
  .photo-landscape,
  .photo-wide,
  .photo-tall {
    margin-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .photo-prologue-frame,
  .project-featured,
  .project-media,
  .photo-item img,
  .education-item,
  .timeline-item,
  .highlight {
    transform: none !important;
    transition: none !important;
  }
}

/* Immersive hero correction: one continuous dark stage, matching the approved target. */
.immersive-stage {
  background: #0b0b09;
  color: #f4efe5;
  isolation: isolate;
  position: relative;
}

body:not(.is-beyond-stage) .site-header,
body:not(.is-beyond-stage) .site-header.is-scrolled {
  background: rgba(11, 11, 9, 0.38);
  border-bottom-color: rgba(226, 186, 111, 0.18);
  box-shadow: none;
  color: #f4efe5;
}

body:not(.is-beyond-stage) .wordmark span:last-child,
body:not(.is-beyond-stage) .site-nav a,
body:not(.is-beyond-stage) .nav-toggle,
body:not(.is-beyond-stage) .header-contact a,
body:not(.is-beyond-stage) .header-contact button,
body:not(.is-beyond-stage) .language-switch,
body:not(.is-beyond-stage) .language-switch button {
  color: rgba(244, 239, 229, 0.7);
}

body:not(.is-beyond-stage) .site-nav a:hover,
body:not(.is-beyond-stage) .site-nav a.is-active,
body:not(.is-beyond-stage) .header-contact a:hover,
body:not(.is-beyond-stage) .header-contact button:hover,
body:not(.is-beyond-stage) .language-switch button:hover,
body:not(.is-beyond-stage) .language-switch button[aria-pressed="true"] {
  color: #fffaf1;
}

body.is-beyond-stage .site-header {
  background: var(--header-solid);
  color: var(--ink);
}

.immersive-stage .hero {
  align-items: center;
  color: #f4efe5;
  display: grid;
  grid-template-columns: minmax(340px, 520px) minmax(0, 1fr);
  height: max(680px, 100vh);
  height: max(680px, 100svh);
  height: max(680px, 100dvh);
  isolation: isolate;
  max-width: none;
  min-height: 680px;
  overflow: hidden;
  padding: calc(var(--header-height) + 46px) max(clamp(44px, 7.4vw, 114px), calc((100vw - 1920px) / 2 + 114px)) 38px;
  position: relative;
}

.immersive-stage .hero::before {
  content: none;
}

.immersive-stage .hero::after {
  background: #b78b46;
  bottom: 0;
  left: clamp(44px, 3vw, 56px);
  opacity: 0.82;
  right: clamp(44px, 3vw, 56px);
}

.hero-backdrop {
  height: 104%;
  left: 50%;
  max-width: none;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  top: -2%;
  transform: translateX(-50%) perspective(1600px) scale(1.025) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transform-origin: center;
  transition: transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: min(104%, 1996px);
  z-index: -1;
}

.hero-backdrop img {
  display: block;
  height: 100%;
  image-rendering: auto;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.immersive-stage .hero-copy {
  align-self: start;
  max-width: 500px;
  transform: translateY(24px);
  z-index: 2;
}

.immersive-stage .hero .eyebrow {
  color: #c7a158;
  font-size: 12px;
  margin-bottom: 28px;
}

.immersive-stage .hero h1 {
  color: #f6f0e5;
  font-size: clamp(64px, 5.25vw, 86px);
  letter-spacing: -0.035em;
  line-height: 0.9;
  max-width: 500px;
}

.immersive-stage .hero h1 span {
  color: #d6a2b0;
  margin-left: 0;
  margin-top: 0.12em;
}

.immersive-stage .hero-lede {
  color: rgba(246, 240, 229, 0.82);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.38;
  margin-top: 34px;
  max-width: 430px;
}

.immersive-stage .hero-actions {
  margin-top: 28px;
}

.immersive-stage .button.primary {
  background: #fffaf1;
  border-color: #fffaf1;
  color: #11110e;
}

.immersive-stage .button.ghost {
  border-color: transparent;
  border-bottom-color: #b78b46;
  color: #f4efe5;
}

.immersive-stage .hero-media,
.immersive-stage .hero-note {
  display: none;
}

.immersive-stage .photo-prologue {
  background: #0b0b09;
  color: #f4efe5;
  margin: 0;
  max-width: none;
  padding: 0 max(clamp(44px, 3vw, 56px), calc((100vw - 1920px) / 2 + 56px)) clamp(42px, 5vw, 72px);
}

.immersive-stage .photo-prologue-frame {
  margin: 0;
}

.immersive-stage .photo-prologue-frame figcaption {
  border-bottom: 0;
  color: #c7a158;
  font-size: 12px;
  letter-spacing: 0.045em;
  padding: 12px 2px 14px;
}

.immersive-stage .photo-prologue-plane {
  background: #0b0b09;
  box-shadow: none;
  overflow: visible;
}

.immersive-stage .photo-prologue-plane img {
  height: auto;
  transform: none;
  width: 100%;
}

@media (max-width: 820px) {
  .immersive-stage .hero {
    align-items: start;
    display: block;
    height: 100vh;
    height: 100dvh;
    min-height: 760px;
    padding: 150px 26px 58px;
  }

  .hero-backdrop {
    height: 100%;
    inset: 0;
    opacity: 0.62;
    transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    width: 100%;
  }


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

  .immersive-stage .hero-copy {
    max-width: 330px;
    transform: none;
  }

  .immersive-stage .hero h1 {
    font-size: clamp(58px, 17vw, 78px);
    max-width: 330px;
  }

  .immersive-stage .hero-lede {
    font-size: 16px;
    max-width: 310px;
  }

  .immersive-stage .photo-prologue {
    padding: 0 18px 40px;
  }
}

@media (max-width: 380px) {
  .immersive-stage .hero {
    min-height: 100dvh;
    padding: 112px 20px 42px;
  }

  .immersive-stage .hero-copy {
    max-width: 100%;
    transform: translateY(-46px);
  }

  .hero-backdrop {
    opacity: 1;
  }

  .hero-backdrop::after {
    background: linear-gradient(90deg, rgba(11, 11, 9, 0.96) 0%, rgba(11, 11, 9, 0.8) 44%, rgba(11, 11, 9, 0.12) 78%);
    content: "";
    inset: 0;
    position: absolute;
  }

  .immersive-stage .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
  }

  .immersive-stage .hero h1,
  body[data-lang="zh"] .immersive-stage .hero h1 {
    font-size: clamp(42px, 13.5vw, 52px);
    max-width: 100%;
  }

  .immersive-stage .hero-lede,
  body[data-lang="zh"] .immersive-stage .hero-lede {
    font-size: 14px;
    line-height: 1.38;
    margin-top: 22px;
    max-width: 270px;
  }

  .immersive-stage .hero-actions {
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 16px;
  }

  .immersive-stage .button {
    font-size: 9px;
    min-height: 44px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-backdrop {
    transform: none !important;
    transition: none !important;
  }
}

@media (prefers-color-scheme: light) {
  .immersive-stage {
    background: #f3ede2;
    color: #211c16;
  }

  body:not(.is-beyond-stage) .site-header,
  body:not(.is-beyond-stage) .site-header.is-scrolled {
    background: rgba(243, 237, 226, 0.76);
    border-bottom-color: rgba(121, 91, 49, 0.18);
    color: #211c16;
  }

  body:not(.is-beyond-stage) .wordmark span:last-child,
  body:not(.is-beyond-stage) .site-nav a,
  body:not(.is-beyond-stage) .nav-toggle,
  body:not(.is-beyond-stage) .header-contact a,
  body:not(.is-beyond-stage) .header-contact button,
  body:not(.is-beyond-stage) .language-switch,
  body:not(.is-beyond-stage) .language-switch button {
    color: rgba(48, 41, 32, 0.68);
  }

  body:not(.is-beyond-stage) .site-nav a:hover,
  body:not(.is-beyond-stage) .site-nav a.is-active,
  body:not(.is-beyond-stage) .header-contact a:hover,
  body:not(.is-beyond-stage) .header-contact button:hover,
  body:not(.is-beyond-stage) .language-switch button:hover,
  body:not(.is-beyond-stage) .language-switch button[aria-pressed="true"] {
    color: #17130f;
  }

  .immersive-stage .hero {
    color: #211c16;
  }

  .immersive-stage .hero::after {
    background: #a77a3e;
  }

  .immersive-stage .hero .eyebrow,
  .immersive-stage .photo-prologue-frame figcaption {
    color: #8c632d;
  }

  .immersive-stage .hero h1 {
    color: #1d1914;
  }

  .immersive-stage .hero h1 span {
    color: #9c5968;
  }

  .immersive-stage .hero-lede {
    color: rgba(38, 32, 25, 0.78);
  }


  .immersive-stage .button.primary {
    background: #1d1914;
    border-color: #1d1914;
    color: #fffaf1;
  }

  .immersive-stage .button.ghost {
    border-bottom-color: #9b723b;
    color: #211c16;
  }

  .immersive-stage .photo-prologue {
    background: #f3ede2;
    color: #211c16;
  }

  .immersive-stage .photo-prologue-plane {
    background: #f3ede2;
  }

  .photo-prologue-bridge {
    color: rgba(33, 28, 22, 0.68);
  }

  @media (max-width: 380px) {
    .hero-backdrop::after {
      background: linear-gradient(90deg, rgba(243, 237, 226, 0.98) 0%, rgba(243, 237, 226, 0.86) 44%, rgba(243, 237, 226, 0.16) 78%);
    }
  }
}

/* Story prototype: a quiet narrative spine with three spatial chapters. */
.story-rail {
  align-items: flex-start;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: fixed;
  right: clamp(12px, 1.4vw, 26px);
  top: 50%;
  transform: translateY(-50%);
  z-index: 12;
}

.story-rail-track {
  background: color-mix(in srgb, var(--ink) 14%, transparent);
  bottom: 22px;
  left: 29px;
  overflow: hidden;
  position: absolute;
  top: 22px;
  width: 1px;
  z-index: -1;
}

.story-rail-track span {
  background: var(--gold);
  display: block;
  height: 0;
  transition: height 180ms linear;
  width: 100%;
}

.story-rail a {
  align-items: center;
  color: inherit;
  display: flex;
  min-height: 44px;
  min-width: 44px;
  padding-inline: 8px;
  position: relative;
  text-decoration: none;
}

.story-rail a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.story-rail a > span {
  align-items: center;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 24%, var(--paper));
  border-radius: 50%;
  display: flex;
  font-size: 7px;
  height: 17px;
  justify-content: center;
  letter-spacing: 0;
  transition: background 220ms ease, border-color 220ms ease, color 220ms ease, transform 220ms ease;
  width: 17px;
}

.story-rail a strong {
  background: color-mix(in srgb, var(--paper) 94%, var(--paper-deep));
  border: 1px solid color-mix(in srgb, var(--ink) 18%, var(--paper));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--ink) 10%, transparent);
  border-radius: 2px;
  font-size: 9px;
  letter-spacing: 0.08em;
  margin-left: 8px;
  opacity: 0;
  padding: 7px 10px;
  pointer-events: none;
  text-transform: uppercase;
  transform: translateX(5px);
  transition: opacity 220ms ease, transform 220ms ease;
  white-space: nowrap;
}

.story-rail a[aria-current="true"] > span,
.story-rail a:hover > span,
.story-rail a:focus-visible > span {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--paper);
  transform: scale(1.12);
}

.story-rail a[aria-current="true"] strong,
.story-rail a:hover strong,
.story-rail a:focus-visible strong {
  opacity: 1;
  transform: translateX(0);
}

.story-heading-copy {
  min-width: 0;
}

.story-bridge {
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(18px, 1.7vw, 25px);
  font-style: italic;
  line-height: 1.35;
  margin: 18px 0 0;
  max-width: 640px;
}

.intro > .story-bridge {
  margin: 14px 0 clamp(40px, 6vw, 72px) min(29%, 286px);
}

.contact .story-bridge {
  margin-top: 24px;
}

.spatial-scene {
  --scene-rx: 0deg;
  --scene-ry: 0deg;
  --scene-rx-inverse: 0deg;
  --scene-ry-inverse: 0deg;
  --scene-shift: 0px;
  perspective: 1600px;
  transform-style: preserve-3d;
}

.project-portal {
  align-items: center;
  background: #11120f;
  color: #f4efe5;
  display: grid;
  gap: clamp(36px, 6vw, 88px);
  grid-template-columns: minmax(250px, 0.62fr) minmax(480px, 1.38fr);
  margin: 0;
  min-height: clamp(620px, 72vw, 780px);
  overflow: hidden;
  padding: clamp(52px, 7vw, 96px);
  position: relative;
}

.project-portal-stage {
  margin: 0 0 clamp(92px, 12vw, 160px);
  position: relative;
}

.project-portal::before {
  border: 1px solid rgba(201, 165, 101, 0.28);
  content: "";
  inset: clamp(18px, 2vw, 30px);
  pointer-events: none;
  position: absolute;
}

.project-portal-copy {
  position: relative;
  transform: translate3d(0, calc(var(--scene-shift) * -0.25), 70px);
  z-index: 4;
}

.project-portal-copy > span,
.story-ribbon-header > div > span {
  color: #c9a565;
  display: block;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.project-portal-copy h3 {
  color: #fffaf1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 5.5vw, 82px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin: 0;
}

.project-portal-copy h3 span {
  display: block;
}

.project-portal-copy p {
  color: rgba(244, 239, 229, 0.66);
  font-size: 14px;
  line-height: 1.6;
  margin: 30px 0 0;
  max-width: 32ch;
}

.project-portal-stack {
  height: clamp(470px, 45vw, 610px);
  position: relative;
  transform: translate3d(0, var(--scene-shift), 0) rotateX(var(--scene-rx)) rotateY(var(--scene-ry));
  transform-style: preserve-3d;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.project-portal-frame {
  background: #eee7da;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  margin: 0;
  padding: clamp(9px, 1vw, 14px) clamp(9px, 1vw, 14px) 34px;
  position: absolute;
  transform-style: preserve-3d;
  transition: filter 300ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
  width: min(72%, 480px);
}

.project-portal-frame img {
  background: #e6dfd2;
  display: block;
  height: auto;
  max-height: 370px;
  object-fit: contain;
  width: 100%;
}

.project-portal-frame figcaption {
  color: #4b4439;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.12em;
  padding-top: 10px;
  text-transform: uppercase;
}

.project-portal-frame--interface {
  left: -2%;
  top: 18%;
  transform: translate3d(-3%, 0, 38px) rotateY(8deg) rotateZ(-4deg);
  z-index: 1;
}

.project-portal-frame--space {
  left: 23%;
  top: 6%;
  transform: translate3d(0, 0, 124px) rotateY(-4deg) rotateZ(2deg);
  z-index: 3;
}

.project-portal-frame--evidence {
  bottom: 2%;
  right: -4%;
  transform: translate3d(2%, 0, 72px) rotateY(-9deg) rotateZ(4deg);
  z-index: 2;
}

.project-portal:hover .project-portal-frame--interface {
  transform: translate3d(-8%, -2%, 62px) rotateY(5deg) rotateZ(-5deg);
}

.project-portal:hover .project-portal-frame--space {
  transform: translate3d(0, -3%, 150px) rotateY(-2deg) rotateZ(1deg);
}

.project-portal:hover .project-portal-frame--evidence {
  transform: translate3d(7%, 2%, 90px) rotateY(-6deg) rotateZ(5deg);
}

.editorial-split.spatial-scene {
  overflow: visible;
  transform-style: preserve-3d;
}

.editorial-split.spatial-scene::before {
  background: color-mix(in srgb, #11120f 88%, var(--paper));
  box-shadow: 0 36px 110px color-mix(in srgb, var(--ink) 22%, transparent);
  content: "";
  inset: clamp(-18px, -1.5vw, -8px);
  position: absolute;
  transform: translateZ(-40px);
  z-index: -1;
}

.editorial-split.spatial-scene .split-media {
  transform: translate3d(-2%, var(--scene-shift), 46px) rotateY(var(--scene-ry));
  transform-origin: right center;
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-split.spatial-scene .split-copy {
  transform: translate3d(2%, calc(var(--scene-shift) * -0.35), 84px) rotateY(var(--scene-ry-inverse));
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-split .split-copy > .story-bridge {
  color: rgba(244, 239, 229, 0.72);
  font-size: clamp(18px, 1.8vw, 25px);
  margin: 22px 0;
}

.story-ribbon {
  border-block: 1px solid var(--line);
  margin: 0 calc(var(--editorial-gutter) * -1) clamp(100px, 12vw, 170px);
  overflow: hidden;
  padding: 28px 0 clamp(32px, 4vw, 54px);
}

.story-ribbon-header {
  align-items: end;
  display: flex;
  justify-content: space-between;
  padding: 0 var(--editorial-gutter) 26px;
}

.story-ribbon-header > div > span {
  color: var(--gold);
  margin-bottom: 8px;
}

.story-ribbon-header p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
  max-width: 520px;
}

.story-ribbon-drag {
  border-bottom: 1px solid var(--gold);
  color: var(--ink);
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.08em;
  padding: 8px 0;
  text-transform: uppercase;
}

.story-ribbon-track {
  cursor: grab;
  display: flex;
  gap: clamp(14px, 2vw, 28px);
  overflow-x: auto;
  padding: 10px var(--editorial-gutter) 24px;
  scroll-padding-inline: var(--editorial-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
  user-select: none;
}

.story-ribbon-track.is-dragging {
  cursor: grabbing;
}

.story-ribbon-item {
  appearance: none;
  background: color-mix(in srgb, var(--paper-deep) 76%, var(--paper));
  border: 0;
  box-shadow: 0 22px 64px color-mix(in srgb, var(--ink) 15%, transparent);
  color: var(--ink);
  cursor: zoom-in;
  flex: 0 0 auto;
  margin: 0;
  padding: 8px 8px 12px;
  scroll-snap-align: center;
  text-align: left;
  transform: none;
  transition: box-shadow 260ms ease;
}

.story-ribbon-item:nth-child(even) {
  transform: none;
}

.story-ribbon-item img {
  display: block;
  height: auto;
  max-height: clamp(290px, 29vw, 420px);
  max-width: min(72vw, 560px);
  object-fit: contain;
  pointer-events: none;
  width: auto;
}

.story-ribbon-item span {
  display: block;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.1em;
  padding: 10px 2px 0;
  text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
  .story-ribbon-item {
    transform: perspective(1200px) rotateY(-1deg);
    transition: box-shadow 260ms ease, transform 260ms ease;
  }

  .story-ribbon-item:nth-child(even) {
    transform: perspective(1200px) rotateY(1deg) translateY(6px);
  }

  .story-ribbon-item:hover,
  .story-ribbon-item:focus-visible {
    box-shadow: 0 32px 88px color-mix(in srgb, var(--ink) 22%, transparent);
    transform: perspective(1200px) rotateY(0) translateY(-6px);
  }

  .story-ribbon-track.is-dragging .story-ribbon-item,
  .story-ribbon-track.is-dragging .story-ribbon-item:nth-child(even) {
    transform: none !important;
    transition: none;
  }
}

@media (max-width: 1180px) {
  .story-rail {
    display: none;
  }

  .project-portal {
    grid-template-columns: minmax(220px, 0.55fr) minmax(420px, 1.45fr);
    padding-inline: clamp(38px, 5vw, 62px);
  }
}

@media (max-width: 820px) {
  .intro > .story-bridge {
    margin-left: 0;
  }

  .project-portal {
    display: block;
    min-height: 0;
    padding: 54px 26px 30px;
  }

  .project-portal-copy {
    transform: none;
  }

  .project-portal-copy p {
    max-width: 46ch;
  }

  .project-portal-stack {
    display: flex;
    gap: 14px;
    height: auto;
    margin-top: 44px;
    overflow-x: auto;
    padding: 10px 6px 24px;
    scroll-snap-type: x mandatory;
    transform: none;
  }

  .project-portal-frame,
  .project-portal-frame--interface,
  .project-portal-frame--space,
  .project-portal-frame--evidence,
  .project-portal:hover .project-portal-frame--interface,
  .project-portal:hover .project-portal-frame--space,
  .project-portal:hover .project-portal-frame--evidence {
    flex: 0 0 min(78vw, 400px);
    inset: auto;
    position: relative;
    scroll-snap-align: center;
    transform: none;
    width: auto;
  }

  .editorial-split.spatial-scene .split-media,
  .editorial-split.spatial-scene .split-copy {
    transform: none;
  }

  .story-ribbon-header {
    align-items: flex-start;
    gap: 20px;
  }

  .story-ribbon-item img {
    max-height: 320px;
    max-width: 74vw;
  }
}

@media (max-width: 640px) {
  .story-bridge {
    font-size: 17px;
  }

  .project-portal {
    margin-inline: -18px;
  }

  .project-portal-copy h3 {
    font-size: clamp(48px, 16vw, 68px);
  }

  .story-ribbon {
    margin-inline: -18px;
  }

  .story-ribbon-header {
    padding-inline: 18px;
  }

  .story-ribbon-header p {
    display: none;
  }

  .story-ribbon-track {
    padding-inline: 18px;
    scroll-padding-inline: 18px;
  }

  .story-ribbon-item img {
    max-height: 270px;
    max-width: 78vw;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-rail-track span,
  .project-portal-stack,
  .project-portal-frame,
  .editorial-split.spatial-scene .split-media,
  .editorial-split.spatial-scene .split-copy,
  .story-ribbon-item {
    transform: none !important;
    transition: none !important;
  }
}

/* Cinematic journey: one measured camera language across the portfolio. */
.mobile-chapter {
  display: none;
}

.cinematic-scene {
  --scene-progress: 0;
  --scene-enter: 0;
  --scene-exit: 0;
  --scene-travel: 0;
  position: relative;
}

.cinematic-seam {
  inset: auto var(--editorial-gutter) 0;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.cinematic-seam--observation-formation {
  height: clamp(120px, 16vw, 220px);
  overflow: clip;
}

.cinematic-seam--observation-formation::before {
  background: color-mix(
    in srgb,
    var(--seam-ocean-amber) calc((1 - var(--seam-observation-formation)) * 100%),
    var(--gold)
  );
  content: "";
  height: 1.5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translate3d(0, calc((1 - var(--seam-observation-formation)) * -18px), 0)
    scaleX(calc(0.22 + (var(--seam-observation-formation) * 0.66)));
  transform-origin: left center;
  z-index: 1;
}

.cinematic-seam--observation-formation::after {
  background:
    radial-gradient(circle at 28% 45%, color-mix(in srgb, var(--seam-ocean-amber) calc((1 - var(--seam-observation-formation)) * 56%), transparent), transparent 44%),
    radial-gradient(circle at 76% 62%, color-mix(in srgb, var(--seam-formation-wine) calc(var(--seam-observation-formation) * 44%), transparent), transparent 46%),
    linear-gradient(110deg, color-mix(in srgb, var(--seam-ocean-blue) calc((1 - var(--seam-observation-formation)) * 48%), transparent), color-mix(in srgb, var(--gold) calc(var(--seam-observation-formation) * 38%), transparent));
  content: "";
  inset: 0;
  opacity: var(--seam-observation-light-opacity);
  position: absolute;
  transform: translate3d(0, calc((0.5 - var(--seam-observation-formation)) * 24px), 0);
  z-index: 0;
}

[data-cinematic-mode="compact"] .cinematic-seam--observation-formation::after {
  opacity: 0.08;
  transform: none;
}

[data-cinematic-mode="static"] .cinematic-seam--observation-formation {
  height: 32px;
}

[data-cinematic-mode="static"] .cinematic-seam--observation-formation::before {
  background: var(--gold);
  transform: scaleX(0.88);
}

[data-cinematic-mode="static"] .cinematic-seam--observation-formation::after {
  opacity: 0;
  transform: none;
}

.cinematic-seam--making-communication {
  height: clamp(140px, 18vw, 240px);
  overflow: clip;
}

.cinematic-seam--making-communication::after {
  background:
    radial-gradient(circle at 26% 48%, color-mix(in srgb, var(--seam-project-copper) calc((1 - var(--seam-making-communication)) * 52%), transparent), transparent 45%),
    radial-gradient(circle at 76% 54%, color-mix(in srgb, var(--seam-london-blue) calc(var(--seam-making-communication) * 48%), transparent), transparent 44%),
    linear-gradient(112deg, color-mix(in srgb, var(--seam-project-graphite) calc((1 - var(--seam-making-communication)) * 42%), transparent), color-mix(in srgb, var(--seam-london-paper) calc(var(--seam-making-communication) * 38%), transparent));
  content: "";
  inset: 0;
  opacity: var(--seam-making-light-opacity);
  position: absolute;
  transform: translate3d(0, calc((0.5 - var(--seam-making-communication)) * 24px), 0);
}

[data-cinematic-mode="compact"] .cinematic-seam--making-communication::after {
  opacity: 0.08;
  transform: none;
}

[data-cinematic-mode="static"] .cinematic-seam--making-communication {
  height: 32px;
}

[data-cinematic-mode="static"] .cinematic-seam--making-communication::before {
  background: var(--gold);
  content: "";
  height: 1.5px;
  left: 0;
  position: absolute;
  right: 0;
  top: 50%;
  transform: scaleX(0.88);
  transform-origin: left center;
}

[data-cinematic-mode="static"] .cinematic-seam--making-communication::after {
  opacity: 0;
  transform: none;
}

.cinematic-scene--arrival {
  height: max(680px, 100dvh);
  min-height: 680px;
  perspective: 1800px;
}

[data-cinematic-mode="full"] .cinematic-scene--arrival .hero-copy {
  transform: translate3d(0, calc(24px - (var(--scene-exit) * 18px)), calc(var(--scene-exit) * -34px));
  transition: none;
}

[data-cinematic-mode="full"] .cinematic-scene--arrival .hero-backdrop {
  transform: translateX(-50%) translate3d(0, calc(var(--scene-exit) * -10px), calc(var(--scene-exit) * -46px)) perspective(1600px) scale(calc(1.025 - (var(--scene-exit) * 0.012))) rotateX(var(--pointer-rx, 0deg)) rotateY(var(--pointer-ry, 0deg));
  transition: none;
}

.cinematic-scene--arrival::before {
  background: linear-gradient(180deg, transparent 35%, color-mix(in srgb, #b77836 22%, transparent) 100%);
  content: "";
  inset: 55% 0 0;
  opacity: calc(var(--scene-exit) * 0.7);
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.cinematic-scene--observation {
  perspective: 1600px;
  position: relative;
}

[data-cinematic-mode="full"] .cinematic-scene--observation {
  min-height: 130dvh;
}

.cinematic-scene--observation > figcaption,
.cinematic-scene--observation > .photo-prologue-plane,
.cinematic-scene--observation > .photo-prologue-bridge {
  position: relative;
  z-index: 1;
}

[data-cinematic-mode="full"] .cinematic-scene--observation > figcaption {
  padding-top: calc(var(--header-height) + 14px);
  position: sticky;
  top: 0;
}

[data-cinematic-mode="full"] .cinematic-scene--observation .photo-prologue-plane {
  position: sticky;
  top: calc(var(--header-height) + 56px);
  transform: translate3d(0, calc(var(--scene-travel) * -18px), 0) rotateX(calc(var(--scene-travel) * -2deg)) rotateY(var(--pointer-ry, 0deg));
  transform-origin: center center;
}

.cinematic-scene--observation .photo-prologue-plane {
  overflow: visible;
}

.cinematic-scene--observation .photo-prologue-plane img {
  height: auto;
  object-fit: contain;
  transform: none;
  width: 100%;
}

.cinematic-scene--observation .photo-prologue-bridge {
  opacity: clamp(0, calc((var(--scene-progress) - 0.34) * 4), 1);
  transform: translateY(calc((1 - var(--scene-enter)) * 18px));
}

.cinematic-chapter--formation {
  background:
    radial-gradient(circle at 82% 12%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--paper-deep) 78%, var(--paper)), var(--paper) 34%);
  color: var(--ink);
  min-height: 180dvh;
  overflow: clip;
  padding-top: clamp(24px, 4vw, 56px);
  position: relative;
}

[data-cinematic-mode="full"] .cinematic-chapter--formation {
  padding-top: clamp(12px, 2vw, 28px);
}

[data-cinematic-mode="full"] .cinematic-chapter--formation .intro {
  padding-top: clamp(84px, 10vw, 132px);
}

[data-cinematic-mode="full"] .cinematic-chapter--formation .intro-grid,
[data-cinematic-mode="full"] .cinematic-chapter--formation .highlights,
[data-cinematic-mode="full"] .cinematic-chapter--formation .education-grid {
  transform: translate3d(0, calc(var(--scene-travel) * -12px), 0);
}

.cinematic-chapter--formation .education-item {
  --formation-index: 0;
  transform: translate3d(calc((1 - var(--scene-enter)) * var(--formation-index) * 14px), calc((1 - var(--scene-enter)) * 18px), 0);
}

.cinematic-chapter--formation .education-item:nth-child(2) {
  --formation-index: 1;
}

.cinematic-scene--practice {
  min-height: 170dvh;
  perspective: 1500px;
}

[data-cinematic-mode="full"] .cinematic-scene--practice > .section-heading {
  background: linear-gradient(180deg, var(--paper) 78%, transparent);
  padding-bottom: 32px;
  position: sticky;
  top: calc(var(--header-height) + 24px);
  z-index: 3;
}

.cinematic-scene--practice .timeline-item[data-cinematic-experience-item] {
  --item-focus: 0;
  opacity: calc(0.48 + (var(--item-focus) * 0.52));
  transform: translate3d(calc((1 - var(--item-focus)) * 12px), calc((1 - var(--item-focus)) * 18px), calc(var(--item-focus) * 30px));
  transform-origin: left center;
}

.cinematic-scene--practice .timeline-item[data-cinematic-experience-item]:focus-within {
  opacity: 1;
}

.project-portal-frame[data-project-plane-index] {
  --project-focus: 0;
  --project-hover-lift: 0px;
  filter: saturate(calc(0.72 + (var(--project-focus) * 0.28))) brightness(calc(0.78 + (var(--project-focus) * 0.22)));
  opacity: calc(0.5 + (var(--project-focus) * 0.5));
  translate: 0 var(--project-hover-lift);
}

[data-cinematic-mode="full"] .project-portal-stage {
  min-height: 185dvh;
}

[data-cinematic-mode="full"] .project-portal-stage .project-portal {
  height: clamp(560px, calc(100dvh - var(--header-height) - 40px), 780px);
  min-height: 0;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

[data-cinematic-mode="full"] .project-portal-frame--interface[data-project-plane-index] {
  transform: translate3d(calc(-3% - ((1 - var(--project-focus)) * 8%)), calc((1 - var(--project-focus)) * 10px), calc(38px + (var(--project-focus) * 88px))) rotateY(calc(8deg - (var(--project-focus) * 6deg))) rotateZ(-4deg);
}

[data-cinematic-mode="full"] .project-portal-frame--space[data-project-plane-index] {
  transform: translate3d(0, calc((1 - var(--project-focus)) * 10px), calc(62px + (var(--project-focus) * 94px))) rotateY(calc(-4deg + (var(--project-focus) * 3deg))) rotateZ(2deg);
}

[data-cinematic-mode="full"] .project-portal-frame--evidence[data-project-plane-index] {
  opacity: calc((0.5 + (var(--project-focus) * 0.5)) * clamp(0, calc((1 - var(--seam-making-communication)) / 0.15), 1));
  rotate: y calc((1 - var(--seam-making-communication)) * 2deg);
  translate: 0 calc(((1 - var(--seam-making-communication)) * 18px) + var(--project-hover-lift));
  transform: translate3d(calc(2% + ((1 - var(--project-focus)) * 8%)), calc((1 - var(--project-focus)) * 10px), calc(50px + (var(--project-focus) * 82px))) rotateY(calc(-9deg + (var(--project-focus) * 7deg))) rotateZ(4deg);
}

.project-portal:hover .project-portal-frame[data-project-plane-index] {
  --project-hover-lift: -8px;
}

.cinematic-scene--communication {
  perspective: 1600px;
}

[data-cinematic-mode="full"] .cinematic-scene--communication .split-media {
  opacity: clamp(0, calc((var(--seam-making-communication) - 0.85) / 0.15), 1);
  transform: translate3d(calc((1 - var(--scene-enter)) * -18px), calc(var(--scene-travel) * 12px), 46px) rotateY(calc((1 - var(--scene-enter)) * 2deg + var(--pointer-ry, 0deg)));
}

[data-cinematic-mode="full"] .cinematic-scene--communication .split-copy {
  opacity: clamp(0.48, var(--scene-enter), 1);
  transform: translate3d(calc((1 - var(--scene-enter)) * 18px), calc(var(--scene-travel) * -6px), 70px);
}

.cinematic-scene--communication .split-media img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

[data-cinematic-mode="compact"] .project-portal-frame--evidence,
[data-cinematic-mode="compact"] .cinematic-scene--communication .split-media {
  transition: opacity 160ms ease;
}

[data-cinematic-mode="compact"] .project-portal-frame--evidence {
  opacity: calc((0.5 + (var(--project-focus) * 0.5)) * clamp(0, calc((1 - var(--seam-making-communication)) / 0.15), 1));
}

[data-cinematic-mode="compact"] .cinematic-scene--communication .split-media {
  opacity: clamp(0, calc((var(--seam-making-communication) - 0.85) / 0.15), 1);
}

[data-cinematic-mode="static"] .project-portal-frame--evidence,
[data-cinematic-mode="static"] .cinematic-scene--communication .split-media,
[data-cinematic-mode="static"] .cinematic-seam--making-communication::after {
  rotate: none !important;
  transform: none !important;
  transition: none !important;
  translate: none !important;
}

[data-cinematic-mode="static"] .project-portal-frame--evidence,
[data-cinematic-mode="static"] .cinematic-scene--communication .split-media {
  opacity: 1;
}

[data-cinematic-mode="static"] .project-portal:hover .project-portal-frame[data-project-plane-index] {
  --project-hover-lift: 0px;
}

[data-cinematic-mode="full"] .story-ribbon[data-ribbon-cinematic-stage] {
  min-height: 150dvh;
  overflow: visible;
  position: relative;
}

[data-cinematic-mode="full"] .story-ribbon[data-ribbon-cinematic-stage] .story-ribbon-header {
  background: linear-gradient(180deg, var(--paper) 86%, transparent);
  position: sticky;
  top: var(--header-height);
  z-index: 4;
}

[data-cinematic-mode="full"] .story-ribbon-track {
  position: sticky;
  top: calc(var(--header-height) + 116px);
}

.cinematic-scene--seeing {
  background: linear-gradient(180deg, var(--paper) 0%, color-mix(in srgb, var(--paper-deep) 70%, var(--paper)) 38%, var(--paper) 100%);
}

.cinematic-scene--ending {
  background: linear-gradient(180deg, var(--paper), color-mix(in srgb, var(--paper-deep) 82%, var(--paper)));
  border-top: 1px solid var(--line);
}

@media (max-width: 1279px) {
  .story-rail {
    display: none;
  }

  .mobile-chapter {
    background: color-mix(in srgb, var(--header-solid) 86%, transparent);
    border: 1px solid var(--line);
    color: var(--muted);
    display: block;
    font-size: 9px;
    font-weight: 750;
    left: var(--editorial-gutter);
    letter-spacing: 0.08em;
    margin: 0;
    padding: 7px 9px;
    pointer-events: none;
    position: fixed;
    text-transform: uppercase;
    top: calc(var(--header-height) + 10px);
    z-index: 10;
  }

  .cinematic-scene--observation,
  .cinematic-chapter--formation,
  .cinematic-scene--practice,
  .project-portal-stage,
  .story-ribbon[data-ribbon-cinematic-stage] {
    min-height: auto;
  }

  [data-cinematic-mode="compact"] .cinematic-scene--observation .photo-prologue-plane {
    transform: translate3d(0, calc(var(--scene-travel) * -10px), 0) rotateX(calc(var(--scene-travel) * -1deg));
  }
}

@media (max-width: 767px) {
  .immersive-stage .hero {
    --mobile-hero-veil: linear-gradient(90deg, rgba(11, 11, 9, 0.98) 0%, rgba(11, 11, 9, 0.9) 48%, rgba(11, 11, 9, 0.38) 76%, rgba(11, 11, 9, 0.06) 100%);
    height: 100dvh;
    min-height: 100dvh;
    padding: calc(var(--header-height) + 42px) 18px 28px;
  }

  .hero-backdrop {
    height: 92%;
    inset: 8% -18% auto 14%;
    opacity: 1;
    transform: perspective(1600px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    width: auto;
  }

  .hero-backdrop::after {
    background: var(--mobile-hero-veil);
    content: "";
    inset: 0;
    position: absolute;
  }

  .hero-backdrop img {
    object-position: 74% center;
  }

  .immersive-stage .hero-copy {
    max-width: min(80vw, 330px);
    position: relative;
    transform: none;
    z-index: 2;
  }

  .immersive-stage .hero h1 {
    font-size: clamp(48px, 14vw, 64px);
  }

  .immersive-stage .hero-lede {
    margin-top: 20px;
    max-width: min(76vw, 300px);
  }

  .immersive-stage .hero-actions {
    margin-top: 18px;
  }

  .mobile-chapter {
    left: 18px;
    top: calc(var(--header-height) + 8px);
  }

  .cinematic-chapter--formation {
    overflow: visible;
    padding-top: 0;
  }

}

@media (max-width: 767px) and (prefers-color-scheme: light) {
  .immersive-stage .hero {
    --mobile-hero-veil: linear-gradient(90deg, rgba(243, 237, 226, 0.98) 0%, rgba(243, 237, 226, 0.9) 48%, rgba(243, 237, 226, 0.4) 76%, rgba(243, 237, 226, 0.08) 100%);
  }
}

[data-cinematic-mode="static"] .cinematic-scene,
[data-cinematic-mode="static"] .cinematic-chapter,
[data-cinematic-mode="static"] [data-cinematic-layer] {
  min-height: auto;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cinematic-seam::before,
  .cinematic-seam::after {
    transition: none !important;
  }

  .cinematic-scene,
  .cinematic-chapter,
  [data-cinematic-layer] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .story-ribbon-item,
  .story-ribbon-item:nth-child(even) {
    transform: none !important;
    transition: none !important;
  }
}
