:root {
  color-scheme: dark;
  --navy: #000c26;
  --deep: #00081b;
  --paper: #f7f2eb;
  --ink: #000c26;
  --coral: #f08e80;
  --turquoise: #2abcb2;
  --muted: #d7dce5;
  --edge: clamp(24px, 6.35vw, 108px);
  --serif: Georgia, 'Times New Roman', serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--deep); color: var(--paper); font-family: var(--sans); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, figure, dl, dd { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
section[id], footer[id] { scroll-margin-top: 68px; }
.frame { width: min(100% - var(--edge) * 2, 1350px); margin-inline: auto; }
.skip { position: fixed; top: 8px; left: 8px; z-index: 20; padding: 14px; background: var(--paper); color: var(--ink); transform: translateY(-150%); }
.skip:focus { transform: none; }
.scroll-line { position: fixed; inset: 0 0 auto; z-index: 12; height: 2px; background: var(--coral); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; }
.topbar { position: fixed; z-index: 10; inset: 0 0 auto; border-bottom: 1px solid #fff3; background: #000c267d; backdrop-filter: blur(14px); transition: background .3s ease; }
.topbar.scrolled { background: #000c26f4; }
.topbar-inner { height: 68px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 20px; padding-inline: var(--edge); }
.wordmark { display: inline-flex; gap: 10px; align-items: center; width: max-content; line-height: 1; }
.wordmark img { width: 119px; height: auto; }
.topbar nav { display: flex; gap: clamp(18px, 3vw, 44px); font-size: 14px; color: #f7f2ebdf; }
.topbar nav a { padding-block: 10px; }
.topbar nav a:hover, .plain-link:hover { color: var(--coral); }
.top-contact { justify-self: end; border: 1px solid #f7f2eb7d; border-radius: 999px; padding: 7px 16px 8px; font-size: 14px; transition: background .2s, color .2s; }
.top-contact:hover { color: var(--ink); background: var(--paper); }
@keyframes enter { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--coral); font-size: 12px; font-weight: 650; letter-spacing: .17em; line-height: 1.5; }
.eyebrow span { display: block; width: 24px; height: 1px; background: currentColor; flex: 0 0 auto; }
.eyebrow.ink { color: var(--navy); }
h1, h2, .stop h3 { font-family: var(--sans); font-weight: 760; letter-spacing: -.072em; line-height: .97; }
h1 { margin: 24px 0 24px; font-size: clamp(80px, 11.6vw, 184px); line-height: .89; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; color: var(--coral); }
h2 { font-size: clamp(52px, 7.1vw, 112px); }
.paper h2 em { color: var(--navy); text-decoration: underline var(--coral) .065em; text-underline-offset: .12em; }
.button { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 23px 14px; font-weight: 650; font-size: 15px; min-height: 48px; transition: background .22s, transform .22s; }
.button-light { background: var(--coral); color: #000c26; }
.button-light:hover { background: var(--coral); transform: translateY(-2px); }
.paper { background: var(--paper); color: var(--ink); color-scheme: light; }
.origin, .roof, .trajectory, .foundation { padding-block: clamp(72px, 9.3vw, 150px); }
.origin-head, .trajectory-head { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(22px, 5vw, 82px); align-items: end; }
.origin-head h2, .roof h2, .trajectory h2, .project h2, .model h2, footer h2 { margin-top: 18px; }
.intro { font-size: clamp(18px, 1.75vw, 24px); line-height: 1.53; color: #d7dce5; }
.paper .intro { color: #3e485d; }
.metrics { display: grid; grid-template-columns: 1fr .85fr 1fr; margin-top: clamp(38px, 6vw, 90px); border-block: 1px solid #c9c3b4; }
.metrics div { padding: clamp(19px, 2.8vw, 37px) clamp(10px, 2.6vw, 36px); border-right: 1px solid #c9c3b4; }
.metrics div:first-child { padding-left: 0; }
.metrics div:last-child { padding-right: 0; border-right: 0; }
.metrics dd { font-family: var(--sans); font-weight: 760; font-size: clamp(36px, 6.2vw, 90px); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.084em; white-space: nowrap; line-height: 1; }
.metrics dd small { font-size: .43em; letter-spacing: -.055em; color: var(--navy); }
.metrics dt { color: #3e485d; margin-top: 10px; font-size: 15px; line-height: 1.4; max-width: 29ch; }
.triptych { display: flex; gap: 10px; margin-top: clamp(30px, 5vw, 76px); }
.life { isolation: isolate; position: relative; flex: 1; min-width: 0; min-height: clamp(210px, 26vw, 380px); display: flex; align-items: end; overflow: hidden; color: var(--paper); background: #363b2c; transition: flex .52s cubic-bezier(.2,.7,.25,1); }
.life img, .life::before { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; object-fit: cover; }
.life:nth-child(2) img { object-position: center 45%; }
.life::before { z-index: 0; content: ''; background: linear-gradient(0deg,#141611ef,transparent 71%); }
.life div { position: relative; z-index: 1; padding: clamp(16px, 2.8vw, 36px); }
.life h3 { font: 720 clamp(29px, 3.6vw, 54px)/1.1 var(--sans); letter-spacing: -.055em; }
.life p { margin-top: 8px; color: #f3efe6; font-size: 15px; }
@media (hover: hover) { .life:hover { flex: 1.45; } }
.project { background: var(--navy); padding-block: clamp(76px, 9vw, 136px); }
.project-head { max-width: 760px; }
.project-head .intro { margin-top: 23px; max-width: 490px; }
.tour { margin-top: clamp(28px, 5vw, 66px); }
.route { --track: 0; position: relative; display: grid; grid-template-columns: repeat(4,1fr); margin-bottom: 27px; }
.route::before, .route::after { position: absolute; z-index: 0; top: 8px; height: 1px; left: 12.5%; content: ''; pointer-events: none; }
.route::before { right: 12.5%; background: #4c5771; }
.route::after { right: 12.5%; background: var(--coral); transform: scaleX(var(--track)); transform-origin: left; transition: transform .45s ease; }
.route a { display: grid; justify-items: center; gap: 10px; position: relative; z-index: 1; color: #e1e5eb; font-size: 15px; text-align: center; padding-bottom: 7px; }
.route a i { display: block; width: 17px; height: 17px; border: 1px solid #a3adc0; border-radius: 50%; background: var(--navy); transition: border-color .25s, background .25s; }
.route a:is(:hover,[aria-current=location]) { color: var(--coral); }
.route a:is(:hover,[aria-current=location]) i { background: var(--coral); border-color: var(--coral); box-shadow: inset 0 0 0 3px var(--navy); }
.stop { min-height: 360px; display: grid; grid-template-columns: 1.65fr 1fr; background: #101d37; scroll-margin-top: 144px; }
.stop + .stop { margin-top: clamp(24px, 5vw, 68px); }
.stop-photo { position: relative; min-height: 370px; overflow: hidden; }
.stop-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stop-photo span { position: absolute; left: 14px; bottom: 14px; background: #000c26e6; color: #faf2df; font-size: 11px; font-weight: 650; letter-spacing: .095em; padding: 7px 10px; }
.stop-copy { padding: clamp(25px, 4vw, 66px); align-self: center; }
.stop h3 { font-size: clamp(33px, 4.1vw, 61px); line-height: 1; }
.stop p { color: #e4e6ed; font-size: clamp(16px, 1.48vw, 19px); line-height: 1.55; margin-top: 16px; }
.roof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 100px); align-items: center; }
.roof .intro { margin-top: 24px; max-width: 450px; }
.roof figure { padding: 14px; background: #fff; border: 1px solid #c9c3b4; }
.roof figure img { width: 100%; height: auto; }
.roof figcaption { margin-top: 6px; color: #565c50; font-size: 11px; font-weight: 650; letter-spacing: .105em; }
.roof-detail dl { margin-top: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.roof-detail dl div { border-top: 1px solid #b9b19f; padding-top: 12px; }
.roof-detail dt { font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.roof-detail dd { color: #3e485d; line-height: 1.48; font-size: 16px; }
.timeline { list-style: none; padding: 0; margin: clamp(38px, 6.2vw, 90px) 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.timeline li { border-top: 1px solid #bdb5a7; position: relative; padding: 26px 22px 0 0; }
.timeline li::before { content: ''; position: absolute; width: 10px; height: 10px; border-radius: 50%; top: -5px; background: var(--navy); }
.timeline li span { color: var(--navy); font-weight: 700; font-size: 14px; }
.timeline h3 { font: 720 clamp(26px, 3.3vw, 48px)/1.11 var(--sans); letter-spacing: -.045em; margin: 7px 0; }
.timeline p { color: #3e485d; line-height: 1.5; max-width: 30ch; }
.timing { margin-top: 35px; color: #3e485d; font-size: 14px; }
footer { background: #000c26; padding-block: 62px 22px; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 25px; align-items: end; }
footer h2 { font-size: clamp(45px, 6vw, 80px); }
.footer-links { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.plain-link { text-decoration: underline; text-underline-offset: 5px; font-size: 15px; }
.footer-base { margin-top: 47px; border-top: 1px solid #ffffff37; padding-top: 16px; display: flex; justify-content: space-between; gap: 13px; font-size: 13px; color: #d7dce5; }
.motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .65s ease, transform .65s cubic-bezier(.16,1,.3,1); }
.motion .reveal.in, .motion .reveal:focus-within { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .origin-head, .trajectory-head { grid-template-columns: 1fr .85fr; }
  .roof-grid { gap: 34px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .topbar-inner { grid-template-columns: 1fr auto; height: 60px; }
  .topbar nav { display: none; }
  section[id], footer[id] { scroll-margin-top: 60px; }
  h1 { font-size: clamp(74px, 18.5vw, 120px); }
  .origin-head, .trajectory-head, .roof-grid { grid-template-columns: 1fr; gap: 21px; }
  .metrics { grid-template-columns: 1fr 1fr; }
  .metrics div { padding: 16px 0 17px 14px; }
  .metrics div:nth-child(2) { border-right: 0; }
  .metrics div:last-child { grid-column: 1 / -1; display: flex; gap: 15px; align-items: center; border-top: 1px solid #c9c3b4; padding-left: 0; }
  .metrics div:last-child dt { margin-top: 0; }
  .triptych { display: grid; gap: 7px; }
  .life { min-height: 155px; }
  .life:nth-child(2) img { object-position: center 35%; }
  .route a { font-size: 14px; }
  .stop { grid-template-columns: 1fr; min-height: 0; }
  .stop-photo { min-height: auto; aspect-ratio: 1.65; }
  .stop-copy { min-height: 215px; }
  .timeline { grid-template-columns: 1fr; margin-left: 5px; }
  .timeline li { border-top: 0; border-left: 1px solid #bdb5a7; padding: 0 0 25px 20px; }
  .timeline li:last-child { padding-bottom: 1px; }
  .timeline li::before { top: 5px; left: -5px; }
  .footer-base { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .motion .reveal { opacity: 1; transform: none; }
}
.metrics div { display: flex; flex-direction: column; }
.metrics dd { order: -1; }
@media (max-width: 650px) {
  .metrics div:last-child { flex-direction: row; }
}
.source { font-size: 13px; color: #d8dfe8; text-decoration: underline; text-underline-offset: 4px; }
.origin { background: var(--coral); }
.origin .intro { color: #291d2c; }
.origin .eyebrow.ink, .origin h2 em { color: #000c26; }
.origin .triptych { margin-top: clamp(26px, 4vw, 62px); }
.route { position: sticky; top: 68px; z-index: 4; background: var(--navy); padding-block: 13px 10px; }
.route::before, .route::after { top: 21px; }
.route::after { background: var(--turquoise); }
.route a[aria-current=location] i { background: var(--turquoise); border-color: var(--turquoise); }
.stop { border-radius: 3px; overflow: clip; }
.stop:nth-of-type(even) { grid-template-columns: 1fr 1.65fr; background: #122240; }
.stop:nth-of-type(even) .stop-photo { order: 2; }
.roof { background: #f2e8de; }
.roof-detail dl div { border-color: #976863; }
.approach { background: var(--navy); padding-block: clamp(76px, 9vw, 145px); }
.approach-head .intro { max-width: 720px; margin-top: 23px; }
.approach-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(28px, 5vw, 74px); }
.approach-grid article { display: grid; grid-template-columns: .8fr 1fr; min-height: 230px; background: var(--coral); color: var(--ink); }
.approach-grid article:nth-child(2) { background: var(--turquoise); }
.approach-grid img { width: 100%; height: 100%; object-fit: cover; }
.approach-grid article div { padding: clamp(18px, 2.45vw, 39px); align-self: center; }
.approach-grid h3, .economy h3 { font: 730 clamp(24px, 3vw, 43px)/1.03 var(--sans); letter-spacing: -.055em; }
.approach-grid p, .economy p { margin-top: 12px; line-height: 1.52; }
.economy { border-top: 1px solid #62728e; padding-top: 24px; margin-top: clamp(28px, 5vw, 65px); display: grid; grid-template-columns: 1fr .85fr; gap: 24px; align-items: center; }
.economy p { margin-top: 0; color: var(--muted); font-size: clamp(17px, 1.7vw, 21px); }
.foundation { background: #e8f4f1; }
.foundation .metrics, .foundation .metrics div { border-color: #92aaa9; }
.trajectory { background: var(--coral); }
.trajectory .intro, .trajectory .eyebrow.ink, .trajectory h2 em, .trajectory .timeline li span, .trajectory .timeline p, .trajectory .timing { color: var(--ink); }
.trajectory .timeline li { border-color: #5b313990; }
.trajectory .timeline li::before { background: var(--navy); }
.footer-art { width: min(100% - var(--edge) * 2, 680px); height: clamp(115px, 25vw, 290px); margin: 28px auto 0; object-fit: contain; object-position: center bottom; }
.footer-base { margin-top: 12px; }
@media (max-width: 900px) {
  .approach-grid article { grid-template-columns: .67fr 1fr; }
}
@media (max-width: 650px) {
  h1 { font-size: clamp(56px, 16vw, 106px); }
  h2 { font-size: clamp(42px, 10.1vw, 66px); }
  .route { top: 60px; }
  .stop, .stop:nth-of-type(even) { grid-template-columns: 1fr; }
  .stop:nth-of-type(even) .stop-photo { order: 0; }
  .stop-copy { min-height: 0; }
  .approach-grid article { min-height: 178px; }
  .economy { gap: 10px; }
}
.history-film { scroll-margin-top: 68px; }
.scene {
  position: relative;
  min-height: max(590px, 91svh);
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: clip;
  padding-block: clamp(95px, 13svh, 150px) clamp(60px, 10svh, 128px);
  background: var(--navy);
}
.scene-visual, .scene-visual img, .scene-visual::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.scene-visual { z-index: -2; overflow: hidden; }
.scene-visual img {
  object-fit: cover;
  transform: translate3d(0, var(--drift, 0px), 0) scale(1.13);
}
.scene-visual::after {
  content: '';
  background: linear-gradient(90deg, #00081bca, #00081b4d 60%, #00081b10), linear-gradient(0deg,#00081be8, transparent 82%);
}
.scene h1, .scene h2 { margin: 20px 0 25px; }
.scene h1 { font-size: clamp(56px, 8.5vw, 150px); }
.scene h2 { font-size: clamp(48px, 7.3vw, 116px); }
.scene .intro { max-width: 470px; color: var(--paper); }
.scene-hill { min-height: 100svh; }
.scene-hill .scene-visual img { object-position: center 49%; }
.scene-hill .scene-visual::after { background: linear-gradient(0deg,#00081bf5, #00081b55 56%, #00081b15), linear-gradient(90deg,#00081b8c,transparent 71%); }
.film-next {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  margin-top: 20px;
  color: var(--coral);
  font-size: 15px;
}
.film-next:hover { text-decoration: underline; text-underline-offset: 5px; }
.film-next span { width: 1px; height: 26px; background: currentColor; transform-origin: top; }
.motion .scene-hill.in .film-next span { animation: line-in 1.15s .65s backwards; }
@keyframes line-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.scene-castle { align-items: center; background: var(--coral); color: var(--navy); }
.scene-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(26px, 5vw, 90px); align-items: center; }
.scene-castle :is(.eyebrow, em, .intro) { color: var(--navy); }
.scene-plate { background: var(--navy); padding: 8px; border-radius: 48% 48% 4px 4px; overflow: hidden; }
.scene-plate img { width: 100%; aspect-ratio: 1.04; object-fit: cover; object-position: 45% 50%; border-radius: 48% 48% 0 0; }
.scene-plate figcaption, .scene-credit { font-size: 11px; font-weight: 650; letter-spacing: .11em; color: var(--paper); }
.scene-plate figcaption { padding: 9px 5px 4px; }
.scene-credit { position: absolute; right: var(--edge); bottom: 20px; }
.scene-monks { background: #100d0d; }
.scene-monks .scene-visual img { filter: sepia(.35); object-position: center 51%; }
.scene-monks .scene-visual::after { background: linear-gradient(90deg,#13100cec,#15131355 72%), linear-gradient(0deg,#13100ce8,transparent 78%); }
.scene-war { background: #10090e; }
.scene-war .scene-visual img { filter: grayscale(1); opacity: .63; object-position: center 30%; }
.scene-war .scene-visual::after { background: linear-gradient(0deg,#10090ef5,#10090e6c 62%), linear-gradient(90deg,#10090ed9,transparent); }
.war-year {
  position: absolute;
  z-index: -1;
  right: 7vw;
  top: 9%;
  font-size: clamp(96px, 28vw, 440px);
  font-weight: 780;
  letter-spacing: -.08em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--coral) 60%, transparent);
  transform: translateY(calc(var(--drift, 0px) * -0.75));
}
.scene-labora .scene-visual img { object-position: center 58%; }
.scene-labora .scene-visual::after { background: linear-gradient(0deg,#000c26fa,#000c2665 60%,#000c2615), linear-gradient(90deg,#000c2688,transparent 73%); }
.scene-labora .eyebrow { color: var(--coral); }
.scene-labora h2 em { color: var(--coral); }
.motion .scene-hill.in .scene-copy > * { animation: scene-type .85s cubic-bezier(.16,1,.3,1) both; }
.motion .scene-hill.in .scene-copy > :nth-child(2) { animation-delay: .11s; }
.motion .scene-hill.in .scene-copy > :nth-child(3) { animation-delay: .21s; }
.motion .scene-hill.in .scene-copy > :nth-child(4) { animation-delay: .29s; }
@keyframes scene-type { from { opacity: .18; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.motion .life.in > div, .motion .approach-grid article.in > div, .motion .timeline li.in > *, .motion .metrics div.in > * { animation: scene-type .7s cubic-bezier(.16,1,.3,1) both; }
.motion .life:nth-child(2).in > div, .motion .timeline li:nth-child(2).in > *, .motion .metrics div:nth-child(2).in > * { animation-delay: .1s; }
.motion .life:nth-child(3).in > div, .motion .timeline li:nth-child(3).in > *, .motion .metrics div:nth-child(3).in > * { animation-delay: .2s; }
.motion .stop.in .stop-photo img { animation: project-cut 1.1s cubic-bezier(.16,1,.3,1) both; }
@keyframes project-cut { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (max-width: 650px) {
  .scene { min-height: max(610px, 88svh); }
  .scene-hill { min-height: 100svh; }
  .scene h1 { font-size: clamp(35px, 10vw, 58px); }
  .scene h2 { font-size: clamp(41px, 10.1vw, 66px); }
  .scene-split { grid-template-columns: 1fr; }
  .scene-plate { width: min(100%, 400px); }
  .scene-plate img { aspect-ratio: 1.55; }
  .scene-hill .scene-visual img { object-position: 53% 50%; }
  .scene-labora .scene-visual img { object-position: 43% 50%; }
  .scene-castle { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .scene-visual img, .war-year { transform: none; }
}
.approach h2 { margin-top: 18px; }
.scene-plate img { aspect-ratio: 1.25; object-position: 26% 50%; }
.scene-plate a:hover { text-decoration: underline; text-underline-offset: 3px; }
.motion .roof-detail.in figure { animation: plan-reveal .95s .13s cubic-bezier(.16,1,.3,1) both; }
@keyframes plan-reveal { from { opacity: .5; clip-path: inset(0 100% 0 0); } to { opacity: 1; clip-path: inset(0); } }
@media (pointer: coarse) {
  .scene-visual img { transform: translate3d(0, calc(var(--drift, 0px) * .5), 0) scale(1.075); }
}
@media (prefers-reduced-motion: reduce) {
  .motion .scene .scene-copy, .scene-visual img { transform: none !important; }
}

.text-line, .text-line > span { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .motion [data-scroll-cue] {
    --cue: 1;
    --enter: clamp(0, calc(var(--cue) * 2.25), 1);
    --title-one: clamp(0, calc((var(--cue) - .08) * 1.9), 1);
    --title-two: clamp(0, calc((var(--cue) - .21) * 1.65), 1);
    --body: clamp(0, calc((var(--cue) - .36) * 1.57), 1);
  }
  .motion [data-scroll-cue]:focus-within { --cue: 1 !important; }
  .motion [data-scroll-cue] > .eyebrow {
    opacity: var(--enter);
    transform: translateX(calc((var(--enter) - 1) * 18px));
  }
  .motion [data-scroll-cue] > :is(h2,h3) > .text-line {
    --line: var(--title-one);
    clip-path: inset(-.08em -.14em -.16em);
  }
  .motion [data-scroll-cue] > :is(h2,h3) > .text-line + .text-line { --line: var(--title-two); }
  .motion [data-scroll-cue] > :is(h2,h3) > .text-line > span {
    opacity: var(--line);
    transform: translateY(calc((1 - var(--line)) * 1.04em));
  }
  .motion [data-scroll-cue] > p:not(.eyebrow) {
    opacity: var(--body);
    transform: translateY(calc((1 - var(--body)) * 24px));
  }
  .motion .scene-plate {
    opacity: calc(.33 + var(--cue) * .67);
    clip-path: inset(0 calc((1 - var(--cue)) * 23%) 0 0);
    transform: translateX(calc((1 - var(--cue)) * 36px));
  }
  .motion .war-year {
    opacity: clamp(.1, calc(var(--scene-progress, 1) * 2.4), 1);
    transform: translateY(calc(var(--drift, 0px) * -.85)) scale(calc(1.09 - var(--scene-progress, 1) * .09));
    transform-origin: right center;
  }
  .motion .scene-labora .scene-visual img {
    filter: saturate(clamp(.25, calc(var(--scene-progress, 1) * 2.4), 1));
  }
}

:root {
  --navy: #000b25;
  --turquoise: #2abcb2;
  --radius: clamp(16px, 2.2vw, 32px);
  --nav-clearance: 88px;
}
:where(section[id], footer[id], .history-film) { scroll-margin-top: var(--nav-clearance); }
section[id], footer[id], .history-film { scroll-margin-top: var(--nav-clearance); }
.topbar, .topbar.scrolled {
  inset: 12px 0 auto;
  width: min(94%, 1330px);
  margin-inline: auto;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  color: var(--navy);
}
.topbar-inner {
  position: relative;
  height: 62px;
  padding-inline: clamp(14px, 2.2vw, 34px);
  border-radius: 999px;
  background: var(--coral);
  box-shadow: 0 6px 26px #000b2530;
  border: 1px solid #fff9;
  grid-template-columns: auto 1fr auto;
}
.topbar nav { color: var(--navy); }
.topbar .desktop-nav { justify-content: center; gap: clamp(12px, 2.35vw, 38px); }
.topbar .desktop-nav a:hover { color: var(--navy); }
.top-contact { border: 0; background: var(--navy); color: var(--paper); font-weight: 700; padding-inline: 20px; }
.top-contact:hover { background: #202b42; color: var(--paper); }
.mobile-nav { display: none; }
.welcome {
  min-height: 100svh;
  padding-block: 145px clamp(58px, 11svh, 125px);
  background: var(--navy);
}
.welcome .scene-visual { inset: 8px; width: auto; height: auto; border-radius: var(--radius); }
.welcome .scene-visual img { object-position: center 51%; }
.welcome .scene-visual::after {
  background: linear-gradient(90deg, #000b25ef, #000b2566 61%, #000b2515), linear-gradient(0deg,#000b25ec,transparent 71%);
}
.welcome-copy { position: relative; z-index: 1; }
.welcome h1 { font-size: clamp(57px, 10.1vw, 154px); line-height: .87; }
.welcome h1 > :is(span,em) { display: block; }
.welcome h1 > span { font-size: .59em; letter-spacing: -.055em; margin-bottom: .14em; }
.welcome .intro { max-width: 555px; font-size: clamp(17px, 1.65vw, 22px); }
.welcome .button { margin-top: 21px; }
.welcome-orbit { position: absolute; right: -15vw; top: -35vw; width: 90vw; aspect-ratio: 1; border: 1px solid #fdf3f271; border-radius: 50%; pointer-events: none; opacity: .43; }
.welcome-orbit::after { content: ''; position: absolute; inset: 7%; border: 1px solid #fdf3f255; border-radius: 50%; }
.welcome-inset { position: absolute; right: max(8%, var(--edge)); bottom: 13%; width: min(24vw, 350px); aspect-ratio: 1.49; border: 1px solid #fdf3f2a0; border-radius: var(--radius); overflow: clip; box-shadow: 0 20px 70px #000b2580; z-index: 0; }
.welcome-inset img { width: 100%; height: 100%; object-fit: cover; }
.history-film { position: relative; background: var(--navy); padding-block: clamp(64px, 10vw, 140px) 20px; }
.history-intro { padding-bottom: clamp(32px, 5vw, 70px); }
.history-intro h2, .team h2, .heritage h2, .partners h2 { margin-top: 18px; }
.history-nav {
  position: sticky;
  top: var(--nav-clearance);
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  width: min(86%, 870px);
  margin: 0 auto 14px;
  padding: 6px;
  border-radius: 999px;
  background: #000b25f2;
  border: 1px solid #fdf3f24d;
  backdrop-filter: blur(12px);
  overflow: clip;
}
.history-nav a { position: relative; text-align: center; padding: 9px 3px; border-radius: 999px; font-weight: 650; color: #fdf3f2c4; font-size: clamp(12px, 1.4vw, 15px); }
.history-nav a:is(:hover,[aria-current=location]) { color: var(--navy); background: var(--coral); }
.history-nav a:focus-visible { outline-offset: -3px; }
.history-film .scene { margin: 0 8px 8px; min-height: max(570px, 82svh); border-radius: var(--radius); scroll-margin-top: calc(var(--nav-clearance) + 52px); }
.history-film .scene-hill h2 { font-size: clamp(40px, 7.65vw, 116px); }
.scene-castle { align-items: end; background: #1c1820; color: var(--paper); }
.scene-castle :is(.eyebrow,em) { color: var(--coral); }
.scene-castle .intro { color: var(--paper); }
.scene-castle .scene-visual img { object-position: center 46%; }
.scene-castle .scene-visual::after { background: linear-gradient(0deg,#130e16fa,#17121ad6 27%,#17121a04 75%),linear-gradient(90deg,#18131b7a,#18131b08 72%); }
.scene-credit { z-index: 2; }
.scene-credit:hover { text-decoration: underline; text-underline-offset: 3px; }
.scene-labora { margin-inline: 8px; border-radius: var(--radius); }
.scene-labora h2 { font-size: clamp(42px, 7vw, 106px); }
.team, .partners, .heritage { padding-block: clamp(62px, 9.5vw, 137px); }
.team { background: var(--paper); }
.team .intro { margin-top: 20px; max-width: 590px; }
.team .source { color: var(--navy); display: inline-block; margin-top: 17px; }
.portrait-grid {
  display: grid;
  grid-template-columns: repeat(6,minmax(0,1fr));
  gap: clamp(8px,1.15vw,18px);
  padding: 0;
  margin: clamp(25px, 5vw, 60px) 0 0;
  list-style: none;
}
.portrait-grid li { background: #fff; overflow: clip; border-radius: calc(var(--radius) * .75); }
.portrait-grid img { width: 100%; aspect-ratio: .81; height: auto; object-fit: cover; border-radius: calc(var(--radius)*.63); }
.portrait-grid li div { display: grid; gap: 5px; padding: 12px 13px 15px; }
.portrait-grid strong { font-size: clamp(18px, 2vw, 27px); letter-spacing: -.045em; }
.portrait-grid span { font-size: 13px; color: #3e485d; }
.references { background: #fef0e6; padding-block: clamp(36px, 6.5vw, 90px); }
.references-inner, .logo-groups { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(18px, 4vw, 70px); align-items: center; }
.references h2 { font-size: clamp(30px, 3.75vw, 53px); letter-spacing: -.06em; margin-bottom: 12px; }
.logo-groups { grid-template-columns: 1fr 1fr; gap: 12px; }
.logo-group { padding: clamp(14px, 2vw, 23px); background: #fff9; border-radius: var(--radius); }
.logo-group h3 { font-size: 14px; margin-bottom: 11px; }
.logo-tiles { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.logo-tiles a { background: #fff; display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; padding: 9px 4px; min-height: 104px; border-radius: calc(var(--radius)/2); transition: transform .25s ease; }
.logo-tiles a:hover { transform: translateY(-5px); }
.logo-tiles img { width: 85%; height: 46px; object-fit: contain; }
.logo-tiles span { font-size: 11px; line-height: 1.35; }
.roof { background: #fef0e6; }
.roof-stories { display: grid; gap: clamp(14px, 3vw, 38px); margin-top: clamp(26px,5vw,66px); }
.roof-story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 4vw, 55px); align-items: center; background: #fff; border-radius: var(--radius); padding: clamp(10px,1.75vw,22px); }
.roof-story:nth-child(2) img { order: 2; }
.roof-story img { width: 100%; height: 100%; min-height: 255px; max-height: 415px; object-fit: cover; border-radius: calc(var(--radius)*.75); }
.roof-story div { padding: clamp(8px,2.1vw,32px); }
.roof-story h3 { font-size: clamp(28px, 4vw, 57px); letter-spacing: -.065em; margin-block: 10px 15px; line-height: 1; }
.roof-story p:not(.eyebrow), .heritage-grid p, .partner-grid dd { line-height: 1.55; }
.heritage { background: var(--navy); }
.heritage-grid, .partner-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(12px,1.65vw,22px); margin: clamp(27px, 5vw, 68px) 0 0; }
.heritage-grid article { background: #111e3b; border-radius: var(--radius); padding: 10px; }
.heritage-grid img { width: 100%; height: clamp(165px,21vw,290px); object-fit: contain; background: #fef0e6; border-radius: calc(var(--radius)*.75); }
.heritage-grid article:first-child img { background: #131219; object-fit: cover; object-position: center 47%; }
.heritage-grid article div { padding: clamp(12px,1.65vw,22px); }
.heritage-grid h3 { font-size: clamp(22px,2.4vw,34px); letter-spacing: -.045em; line-height: 1.08; margin-bottom: 12px; }
.heritage-grid p { color: #e4e6ed; }
.partners { background: var(--paper); }
.partner-grid div { background: #fff; border-radius: var(--radius); padding: clamp(20px,2.7vw,37px); }
.partner-grid dt { font-weight: 750; font-size: clamp(18px,2.1vw,26px); line-height: 1.12; margin-bottom: 9px; }
.partner-grid dd { color: #3e485d; }
:is(.life,.stop,.stop-photo,.approach-grid article,.approach-grid img) { border-radius: var(--radius); }
.approach-grid article { overflow: clip; }
.footer-base { margin-top: 35px; }
@media (max-width: 850px) {
  :root { --nav-clearance: 76px; }
  .topbar { inset-block-start: 9px; }
  .topbar-inner { height: 56px; grid-template-columns: 1fr auto; }
  .topbar .desktop-nav, .topbar .top-contact { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; gap: 4px; align-content: center; justify-content: center; list-style: none; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; background: var(--coral); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 17px; border-top: 2px solid var(--navy); }
  .mobile-nav nav { display: grid; gap: 0; position: absolute; right: 0; top: calc(100% + 8px); width: min(260px,100%); background: var(--coral); border-radius: 20px; padding: 12px; box-shadow: 0 9px 35px #000b2544; }
  .mobile-nav:not([open]) nav { display: none; }
  .mobile-nav nav a { padding: 10px; border-radius: 9px; }
  .mobile-nav nav a:hover { background: #000b2514; }
  .portrait-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .references-inner { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .welcome h1 { font-size: clamp(52px, 13.8vw, 88px); }
  .welcome-inset { width: min(29vw,140px); right: 9%; top: 16%; bottom: auto; }
  .welcome-orbit { width: 140vw; top: -45vw; right: -60vw; }
  .welcome .scene-visual img { object-position: 48% center; }
  .welcome .scene-visual::after { background: linear-gradient(0deg,#000b25fa,#000b25d8 43%,#000b2542 80%); }
  .history-nav { width: 95%; }
  .history-film .scene { min-height: max(570px,80svh); padding-bottom: 72px; }
  .history-film .scene-hill h2 { font-size: clamp(34px,9vw,67px); }
  .roof-story { grid-template-columns: 1fr; }
  .roof-story:nth-child(2) img { order: 0; }
  .roof-story img { max-height: 300px; min-height: 180px; }
  .heritage-grid, .partner-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion .welcome.in .welcome-copy > :is(.eyebrow,.intro,.button) { animation: scene-type .9s cubic-bezier(.16,1,.3,1) both; }
  .motion .welcome.in .welcome-copy .intro { animation-delay: .34s; }
  .motion .welcome.in .welcome-copy .button { animation-delay: .5s; }
  .motion .welcome.in h1 > span { animation: scene-type .9s .09s cubic-bezier(.16,1,.3,1) both; }
  .kinetic-letter { display: inline-block; }
  .motion .welcome.in .kinetic-letter { animation: letter-arrive 1.03s cubic-bezier(.17,.8,.2,1) both; animation-delay: calc(.13s + var(--letter) * 34ms); }
  .motion .welcome-orbit { transform: translate3d(calc(var(--drift,0px) * -1.8), calc(var(--drift,0px) * 1.6), 0) scale(calc(.9 + var(--scene-progress,.5) * .23)); }
  .motion .welcome-inset { transform: translate3d(calc(var(--drift,0px) * -.85), calc(var(--drift,0px) * -2.35), 0) rotate(calc(-7deg + var(--scene-progress,.5) * 12deg)); }
  .motion .welcome.in .welcome-inset img { animation: inset-open 1.4s .27s cubic-bezier(.15,.83,.2,1) both; }
  .motion .scene-castle .scene-visual img { transform: translate3d(0, calc(var(--drift,0px) * .92), 0) scale(calc(1.045 + var(--scene-progress,.5) * .2)); }
  .motion .history-film .scene .scene-copy { transform: translate3d(0, calc(var(--drift,0px) * -.64), 0); }
  .motion .scene-monks .scene-visual img { transform: translate3d(calc(var(--drift,0px) * .75), var(--drift,0px), 0) scale(1.15); }
  .motion .portrait-grid li { transition-delay: calc(var(--portrait,0) * 65ms); }
}
@keyframes letter-arrive {
  0% { opacity: 0; transform: translate3d(.14em,.8em,0) rotate(13deg) scale(.8); }
  70% { opacity: 1; transform: translate3d(0,-.045em,0) rotate(-1.6deg) scale(1.02); }
  100% { opacity: 1; transform: none; }
}
@keyframes inset-open {
  from { opacity: .1; clip-path: inset(14% 12% 18% 45%); transform: scale(1.25); }
  to { opacity: 1; clip-path: inset(0); transform: scale(1); }
}
.kinetic-letter { display: inline-block; }
.route { top: var(--nav-clearance); }
.stop { scroll-margin-top: calc(var(--nav-clearance) + 77px); }
@media (prefers-reduced-motion: no-preference) {
  .motion .scene .scene-visual img { scale: 1.025; }
  .motion .scene[data-history-stage] .scene-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(98deg, transparent 37%, #f5dbb925 54%, transparent 65%);
    opacity: .33;
    transform: translateX(calc((var(--scene-progress, .5) - .5) * 170%));
    pointer-events: none;
  }
}
.roof-story .source { color: var(--navy); display: inline-block; margin-top: 12px; }
@media (prefers-reduced-motion: no-preference) {
  .motion :is(.roof-story,.heritage-grid article).in img {
    animation: editorial-image 1.15s cubic-bezier(.16,1,.3,1) both;
  }
}
@keyframes editorial-image {
  from { clip-path: inset(14% 0 0 16% round 20px); opacity: .42; transform: scale(.965) translateX(14px); }
  to { clip-path: inset(0 round 20px); opacity: 1; transform: none; }
}

.topbar-inner { border-color: var(--coral); }
.topbar .desktop-nav a { font-weight: 650; }
.mobile-nav summary { background: #000b2514; }
.chapter-intro {
  position: relative;
  min-height: clamp(200px, 26vw, 365px);
  display: grid;
  align-items: center;
  padding-right: 28%;
  isolation: isolate;
}
.chapter-intro h2 { margin-top: 16px; }
.chapter-intro .intro { max-width: 62ch; }
.chapter-float, .work-inset, .stop-float {
  position: absolute;
  border-radius: var(--radius);
  overflow: clip;
  box-shadow: 0 17px 58px #000b2545;
  border: 2px solid #fff9;
  width: min(25vw, 320px);
  aspect-ratio: 1.48;
  pointer-events: none;
  z-index: 1;
  background: #eee3d7;
}
.chapter-float { right: 2.4%; top: 26%; rotate: -7deg; }
.chapter-float img, .work-inset img, .stop-float img { width: 100%; height: 100%; object-fit: cover; }
.origin-heading .chapter-float { rotate: 7deg; }
.village-choice {
  max-width: 29ch;
  font-size: clamp(27px, 4.5vw, 63px);
  font-weight: 760;
  letter-spacing: -.06em;
  line-height: 1.06;
  margin-top: 20px;
}
.village-copy { max-width: 72ch; font-size: clamp(17px, 2vw, 24px); line-height: 1.53; margin-top: 20px; }
.work-scenes { display: grid; gap: clamp(36px, 8vw, 104px); margin-top: clamp(24px, 6vw, 80px); }
.work-scene {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  align-items: center;
  border-radius: var(--radius);
  background: #fef0e6;
  color: var(--ink);
  padding: clamp(14px, 2.45vw, 38px);
  gap: clamp(18px, 6vw, 90px);
}
.work-scene:nth-child(2) { background: #bbeddf; }
.work-scene:nth-child(2) .work-visual { order: 2; }
.work-visual { position: relative; }
.work-visual > img { width: 100%; height: clamp(250px, 40vw, 520px); object-fit: cover; object-position: center 42%; border-radius: var(--radius); }
.work-inset { width: clamp(86px, 15vw, 205px); aspect-ratio: .97; left: -4%; bottom: -3%; rotate: -8deg; }
.work-scene:nth-child(2) .work-inset { left: auto; right: -3%; rotate: 9deg; }
.work-copy h3, .consult h3 { font-size: clamp(35px, 5vw, 75px); letter-spacing: -.072em; line-height: .96; margin: 15px 0 19px; }
.work-copy p:not(.eyebrow) { line-height: 1.58; }
.passion { margin: 8px; border-radius: var(--radius); }
.passion .scene-visual::after { background: linear-gradient(90deg, #000b25ee, #000b2530 95%),linear-gradient(0deg,#000b25e8,transparent 71%); }
.passion .chapter-float { right: 8%; top: 22%; width: min(25vw, 350px); rotate: 8deg; }
.passion .scene-copy { z-index: 2; }
.passion h2 { font-size: clamp(65px, 10.1vw, 158px); }
.passion .intro { max-width: 560px; }
.references h2 { font-size: clamp(47px, 7vw, 109px); }
.references .chapter-intro { margin-bottom: 20px; }
.logo-groups { align-items: start; }
.logo-tiles { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.logo-tiles a { min-height: 128px; }
.logo-tiles strong { font-size: clamp(13px, 1.4vw, 19px); line-height: 1.25; max-width: 14ch; }
.logo-tiles small { font-size: 11px; line-height: 1.35; color: #536079; }
.project-head { max-width: none; }
.stop { position: relative; }
.stop-float { width: clamp(78px, 12vw, 168px); aspect-ratio: 1.25; right: 39%; top: 6%; rotate: -9deg; z-index: 2; }
.stop:nth-of-type(even) .stop-float { right: auto; left: 39%; rotate: 8deg; }
.consult { margin-top: clamp(52px,8vw,108px); display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(22px,6vw,85px); align-items: center; padding: clamp(14px,4vw,48px); border-radius: var(--radius); background: #fef0e6; }
.consult h3 { font-size: clamp(31px,4.35vw,64px); }
@media (max-width: 850px) {
  .logo-groups, .consult { grid-template-columns: 1fr; }
  .chapter-intro { min-height: 170px; }
}
@media (max-width: 650px) {
  .chapter-intro { padding-right: 0; padding-top: 48px; }
  .chapter-float { top: -31px; right: 0; width: clamp(78px, 24vw, 165px); }
  .passion .chapter-float { top: 15%; }
  .passion h2 { font-size: clamp(50px, 13vw, 95px); }
  .work-scene { grid-template-columns: 1fr; gap: 24px; }
  .work-scene:nth-child(2) .work-visual { order: 0; }
  .work-copy { padding: 14px; }
  .stop-float, .stop:nth-of-type(even) .stop-float { top: 9px; right: 11px; left: auto; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion :is(.chapter-float,.work-inset,.stop-float) {
    transform: translate3d(0, var(--float-offset,0px), 0) rotate(var(--float-tilt,0deg));
  }
  .motion [data-scroll-cue] {
    --title-one: clamp(0, calc((var(--cue) - .04) * 2.12), 1);
    --title-two: clamp(0, calc((var(--cue) - .18) * 1.78), 1);
  }
  .motion [data-scroll-cue] > :is(h2,h3) > .text-line > span {
    transform-origin: left bottom;
    transform: translate3d(calc((var(--line) - 1) * 34px), calc((1 - var(--line)) * 1.44em), 0) rotate(calc((var(--line) - 1) * 7deg)) scale(calc(.9 + var(--line) * .1));
  }
  .motion [data-scroll-cue] > p:not(.eyebrow) { transform: translateY(calc((1 - var(--body)) * 52px)); }
  .motion .work-visual > img { animation: work-image linear both; animation-timeline: view(); animation-range: entry 0% cover 42%; }
  @keyframes work-image {
    0% { opacity: .43; clip-path: inset(14% 12% 0 25% round 28px); }
    100% { opacity: 1; clip-path: inset(0 round 28px); }
  }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 650px) {
  .motion :is(.chapter-float,.work-inset,.stop-float) { transform: translate3d(0,calc(var(--float-offset,0px) * .38),0) rotate(calc(var(--float-tilt,0deg) * .45)); }
}
:is(.foundation,.trajectory) .chapter-intro .intro { margin-top: 20px; }
@media (max-width: 430px) {
  .logo-tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .work-copy h3 { overflow-wrap: anywhere; }
}
