* { box-sizing: border-box; }
@font-face { font-family: 'Bebas Neue'; src: url('assets/bebas-neue-regular.ttf') format('truetype'); font-style: normal; font-weight: 400; font-display: swap; }
:root { color-scheme: dark; font-family: Arial, Helvetica, sans-serif; color: #f3f2ed; background: #000; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 8px; }
.skip-link { position: fixed; z-index: 20; top: -80px; left: 20px; padding: 16px; background: #000; }
.skip-link:focus { top: 20px; }
.header { position: fixed; inset: 0 0 auto; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 30px 3.5vw; mix-blend-mode: difference; }
.brand { font-size: clamp(24px, 2.6vw, 38px); font-weight: 700; letter-spacing: -2px; line-height: .8; }
.brand > span:not(.split-run) { display: block; font-size: 8px; letter-spacing: 5px; margin-top: 11px; margin-left: 2px; }
.studio, .eyebrow, .scroll-cue { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 2px; font-weight: 400; }
.studio { position: absolute; left: 50%; transform: translateX(-50%); }
.journey { height: 5500vh; position: relative; overflow-anchor: none; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: clip; isolation: isolate; }
.stage.roaming { cursor: grab; touch-action: none; }
.stage.roaming:active { cursor: grabbing; }
body:has(.stage.roaming) { user-select: none; }
.tiles, .shade { position: absolute; inset: 0; }
.tiles { z-index: 0; transform-origin: top left; }
.split-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; background: #000; }
.split-title-layer { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: none; mix-blend-mode: difference; }
.camera-blur { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: none; }
.split-source { z-index: 0; }
.split-dot { position: absolute; left: 50%; top: 50%; z-index: 2; width: clamp(8px, 1vw, 14px); height: clamp(8px, 1vw, 14px); border-radius: 50%; background: #f3f2ed; transform: translate(-50%, -50%); pointer-events: none; opacity: 0; }
.split-line { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; mix-blend-mode: difference; pointer-events: none; opacity: 0; }
.split-line line { stroke: #fff; stroke-width: clamp(10px, 1.2vw, 16px); stroke-linecap: round; vector-effect: non-scaling-stroke; }
.split-line.photo-split line { stroke-width: clamp(15px, 1.8vw, 24px); }
.split-line.light-split line { stroke-width: clamp(4px, .4vw, 8px); }
.shade { z-index: 1; }
.headline { z-index: 2; color: #fff; mix-blend-mode: difference; }
.split-title-layer .headline { mix-blend-mode: normal; }
.tile { position: absolute; top: 0; left: 0; overflow: hidden; border-radius: 28px; transform-origin: top left; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: contain; }
.photo-number { position: absolute; top: var(--photo-number-offset, 16px); left: var(--photo-number-offset, 16px); z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: #f3f2ed; color: #111; box-shadow: 0 2px 14px #0008; font: 700 15px/1 Arial, sans-serif; transform: scale(var(--photo-number-scale, 1)); transform-origin: top left; pointer-events: none; }
.shade { pointer-events: none; background: linear-gradient(180deg, #0003, transparent 28%, #0002 55%, #0009); }
.headline { position: absolute; left: 9vw; right: 9vw; top: 50%; transform: translateY(-50%); text-align: center; }
.headline .eyebrow { position: absolute; left: 0; right: 0; bottom: 100%; margin-bottom: 24px; }
.eyebrow { margin: 0 0 25px; font-size: 32.5px; line-height: 1.6; }
h1, h2 { -webkit-text-stroke: 1.6px currentColor; }
.eyebrow { -webkit-text-stroke: .7px currentColor; }
h1, h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(65px, 10.875vw, 187.5px); letter-spacing: .015em; line-height: .96; font-weight: 400; margin: 0; }
.period { color: #d8e2ae; }
.subtle { color: #d1d1ca; }
.scroll-cue { position: absolute; left: 50%; bottom: 33px; transform: translateX(-50%); font-size: 14px; z-index: 5; }
.scroll-cue > span:not(.split-run) { display: inline-block; margin-left: 12px; font-size: 19px; }
.chapter-nav { position: absolute; right: 3.5vw; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; z-index: 5; }
.chapter-nav a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; }
.chapter-nav a::before { content: ''; width: 5px; height: 5px; border: 1px solid #f3f2ed66; border-radius: 50%; background: #00000040; transition: background .2s; }
.chapter-nav a[aria-current]::before { background: #f3f2ed; border-color: #f3f2ed; }
.progress { position: absolute; inset: auto 0 0; height: 2px; background: #e3e9ca; transform: scaleX(0); transform-origin: left; }
.board-controls { position: absolute; z-index: 6; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; background: #080a0cdd; color: #f3f2ed; white-space: nowrap; font: 14px 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.stage:not(.roaming) .board-controls { display: none; }
.board-controls button { width: 32px; height: 32px; border: 1px solid #f3f2ed88; border-radius: 50%; background: transparent; color: inherit; font: 24px/1 Arial, sans-serif; cursor: pointer; }
.board-controls a { padding: 8px; }
.board-controls :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.roam-hint { display: none; position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 18px 28px; border-radius: 999px; background: #080a0cdd; color: #fff; pointer-events: none; white-space: nowrap; font: 24px 'Bebas Neue', sans-serif; letter-spacing: 2px; }
.roam-hint span { display: inline-block; margin-right: 14px; font: 28px Arial, sans-serif; animation: roam-drag .8s ease-in-out infinite alternate; }
.stage.roaming .roam-hint { display: block; animation: roam-cue 4s forwards; }
@keyframes roam-drag { to { transform: translateX(13px); } }
@keyframes roam-cue { 0% { opacity: 0; } 12%, 72% { opacity: 1; } 100% { opacity: 0; } }
@keyframes roam-cue-reduced { 0%, 80% { opacity: 1; } 100% { opacity: 0; } }
.waypoints { position: absolute; inset: 0; pointer-events: none; }
.waypoints div { position: absolute; height: 1px; left: 0; }
/* One pixel clears scroll-position rounding at the chapter boundaries. */
.contact-tile { background: url('assets/12-07.webp') center / cover; }
.contact-tile::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, #02080fd9, #02080fcc); opacity: var(--contact-dim, 1); }
.contact-layout { position: absolute; inset: 0 auto auto 0; overflow-y: auto; transform-origin: top left; padding: 90px 7vw 50px; display: grid; grid-template-columns: 1fr 1fr; align-content: safe center; align-items: center; gap: 48px 6vw; }
.contact-tile h2 { font-size: clamp(54px, 6.5vw, 110px); text-align: left; }
.contact-intro .eyebrow { font-size: 20px; margin-bottom: 22px; }
.contact-form { display: grid; gap: 28px; min-width: 0; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-form label { display: grid; gap: 12px; font-size: 12px; letter-spacing: .03em; min-width: 0; }
.contact-form input, .contact-form textarea { width: 100%; min-width: 0; border: 0; border-bottom: 1px solid #ffffff50; border-radius: 0; background: transparent; color: #f3f2ed; padding: 10px 0 14px; font: 16px/1.5 Arial, Helvetica, sans-serif; }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #b7b9b1; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible { outline: 2px solid #d8e2ae; outline-offset: 5px; }
.contact-form button { display: flex; justify-content: space-between; padding: 18px 22px; border: 1px solid #d8e2ae; background: #d8e2ae; color: #11140b; font: 20px 'Bebas Neue', sans-serif; letter-spacing: 1px; }
.contact-form button:disabled { cursor: not-allowed; }
.contact-note { font-size: 12px; line-height: 1.5; color: #aaa; margin: -12px 0 0; }
.no-script { padding: 100px 5vw 20px; }.no-script-image { width: 100%; border-radius: 28px; }
/* React Bits SplitText rise, with camera-directed entrances. */
.split-word { display: inline-block; white-space: nowrap; }
.split-text-segment, .split-text-piece { display: inline-block; color: inherit; line-height: inherit; vertical-align: baseline; }
.split-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; user-select: none; }
@media (max-width: 650px) {
  .header { padding: 26px 6vw; }.studio { display: none; }
  .headline { left: 6vw; right: 6vw; }
  h1, h2 { font-size: clamp(30px, 8vw, 50px); }
  .headline .eyebrow { font-size: 16px; line-height: 1.1; margin-bottom: 8px; }
  .eyebrow { font-size: 23.75px; letter-spacing: 1.5px; margin-bottom: 20px; }
  .photo-number { width: 30px; height: 30px; font-size: 11px; }
  .scroll-cue { bottom: 25px; font-size: 12px; }
  .chapter-nav { right: 4vw; }
  .contact-layout { grid-template-columns: 1fr; padding: 110px 17vw 40px 7vw; gap: 34px; }
  .contact-tile h2 { font-size: clamp(34px, 9vw, 54px); }
  .contact-fields { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { gap: 24px; }
  .board-controls { gap: 7px; bottom: 16px; font-size: 11px; }
  .board-controls button { width: 28px; height: 28px; }
}
@media (max-height: 550px) {
  .chapter-nav { gap: 0; }
  .chapter-nav a { height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .split-text-piece { transform: none !important; opacity: 1 !important; }
  .roam-hint span { animation: none; }
  .stage.roaming .roam-hint { animation: roam-cue-reduced 4s steps(1, end) forwards; }
}
