@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 500; font-display: swap; src: url("assets/fonts/cormorant-regular.ttf") format("truetype"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/cormorant-italic.ttf") format("truetype"); }
:root {
  color-scheme: dark;
  --ink: #10100f;
  --ivory: #f2eee4;
  --muted: #c0bdb4;
  --gold: #d2b475;
  --line: rgb(210 180 117 / 24%);
  --serif: "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --gutter: clamp(1.5rem, 5.5vw, 7rem);
}

* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: auto; }
body { margin: 0; color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
html.is-loading, html.is-loading body { overflow: hidden; overscroll-behavior: none; }
html.is-loading body { position: fixed; inset: 0; width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .3em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
::selection { color: var(--ink); background: var(--gold); }
.serif { font-family: var(--serif); font-weight: 400; }
.text-gold { color: var(--gold); }
.text-ivory { color: var(--ivory); }
.eyebrow { font-size: .64rem; font-weight: 500; letter-spacing: .23em; line-height: 1.8; text-transform: uppercase; }
.display, .headline { margin: .24em 0; font-weight: 400; letter-spacing: -.045em; text-wrap: balance; }
.display { font-size: clamp(5rem, 9.3vw, 10rem); line-height: .87; }
.headline { font-size: clamp(3.4rem, 5.5vw, 6.6rem); line-height: .98; }
.serif em { font-weight: 400; }

.site-header {
  position: absolute; inset: 0 0 auto; z-index: 5;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: max(1.5rem, env(safe-area-inset-top)) var(--gutter) 1rem;
}
.wordmark { font-size: 1.6rem; text-decoration: none; white-space: nowrap; }
.wordmark-dot { color: var(--gold); }
.text-button {
  display: inline-flex; min-height: 44px; align-items: center; justify-content: center;
  border: 0; background: none; color: var(--ivory); cursor: pointer;
  padding: .5rem 0; font-size: .72rem; line-height: 1.5;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: .4em;
}
.text-button:hover { color: var(--gold); text-decoration-color: currentColor; }
.portfolio-nav { display: flex; align-items: center; gap: clamp(.75rem, 2vw, 2rem); }
.portfolio-nav .text-button { white-space: nowrap; }
.button { min-height: 44px; border: 1px solid var(--line); padding: .7rem 1.4rem; background: transparent; color: var(--ivory); cursor: pointer; }
.button:hover { border-color: var(--gold); }

/* Without JavaScript the regular HTML reflection is the complete experience. */
.experience { display: none; }
.is-cinematic .experience { display: block; }
.stage {
  position: relative; width: 100%; height: 100vh; height: 100svh;
  overflow: hidden; isolation: isolate; background: var(--ink) url("assets/poster-desktop-hq.webp") center / cover;
}
.sequence, .dust, .shade, .overlays { position: absolute; inset: 0; width: 100%; height: 100%; }
.sequence { z-index: 0; display: block; }
.shade {
  z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgb(0 0 0 / 66%), transparent 49%, rgb(0 0 0 / 32%)),
    linear-gradient(0deg, rgb(0 0 0 / 50%), transparent 30%, transparent 80%, rgb(0 0 0 / 25%));
}
.dust { z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: .42; }
.overlays { z-index: 3; pointer-events: none; }
.story-panel {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  width: min(36vw, 36rem); opacity: 0; visibility: hidden;
}
.story-panel--right { left: auto; right: var(--gutter); }
.story-panel--opening { top: 51%; }
.story-panel--arrival { top: 66%; }
.story-panel__body { max-width: 24rem; margin: 1.8rem 0 0; font-size: .88rem; color: var(--muted); line-height: 1.75; text-wrap: pretty; }
.scene-footer {
  position: absolute; z-index: 4; inset: auto var(--gutter) max(1.6rem, env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; pointer-events: none;
}
.scene-footer .eyebrow { color: var(--muted); }
.scene-progress { font-size: .65rem; letter-spacing: .15em; font-variant-numeric: tabular-nums; color: var(--gold); }
.journey-track { position: absolute; bottom: 0; left: 0; right: 0; z-index: 4; height: 1px; background: var(--line); }
#journey-progress { height: 100%; background: var(--gold); transform: scaleX(0); transform-origin: left center; }

/* The native cursor stays visible; these are light, non-interactive accents. */
.cursor-tracker { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0; transition: opacity 180ms ease; }
.cursor-tracker.is-visible { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; width: 0; height: 0; will-change: transform; }
.cursor-dot::after { content: ""; position: absolute; width: 3px; height: 3px; margin: -1.5px; border-radius: 50%; background: #e7cb91; box-shadow: 0 0 10px rgb(210 180 117 / 50%); }
.cursor-ring > span { display: block; width: 32px; height: 32px; margin: -16px; border: 1px solid rgb(210 180 117 / 55%); border-radius: 50%; transition: transform 180ms ease, border-color 180ms ease; }
.cursor-tracker.is-interactive .cursor-ring > span { transform: scale(1.45); border-color: var(--gold); }
.cursor-tracker.is-pressed .cursor-ring > span { transform: scale(.8); }
.pointer-light { position: absolute; top: 0; left: 0; width: 0; height: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity 240ms ease; mix-blend-mode: screen; will-change: transform; }
.pointer-light::after { content: ""; position: absolute; left: -160px; top: -160px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgb(210 180 117 / 9%), rgb(210 180 117 / 3%) 38%, transparent 70%); }
.pointer-light.is-visible { opacity: 1; }
@media (max-width: 700px), (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-tracker, .pointer-light { display: none; }
}

.loader { position: fixed; z-index: 100; inset: 0; padding: 2rem; display: grid; place-items: center; overflow-y: auto; background: var(--ink); }
.loader::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgb(0 0 0 / 74%), rgb(0 0 0 / 84%)), url("assets/poster-desktop-hq.webp") center / cover; }
.loader__inner { position: relative; width: min(100%, 30rem); text-align: center; }
.loader__title { margin: .3em 0 .55em; font-size: clamp(3.5rem, 8vw, 6rem); letter-spacing: -.055em; line-height: 1; }
#loading-status { color: var(--muted); font-size: .8rem; line-height: 1.8; }
progress { display: block; width: 100%; height: 2px; margin-top: 2rem; border: 0; background: var(--line); color: var(--gold); appearance: none; }
progress::-webkit-progress-bar { background: var(--line); }
progress::-webkit-progress-value { background: var(--gold); }
progress::-moz-progress-bar { background: var(--gold); }
.loader__count { font-size: .65rem; letter-spacing: .15em; color: var(--gold); font-variant-numeric: tabular-nums; }
.loader__error { color: var(--ivory); font-size: .85rem; line-height: 1.7; overflow-wrap: anywhere; }
.loader__actions { display: flex; justify-content: center; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.5rem; }

.transcript { max-width: 66rem; padding: 10rem var(--gutter) 4rem; margin: auto; }
.transcript .display { font-size: clamp(4.8rem, 10vw, 8rem); }
.transcript__intro { color: var(--muted); margin: 2rem 0 5rem; line-height: 1.8; }
.transcript section { padding: 4rem 0; border-top: 1px solid var(--line); }
.transcript section > p:last-child { color: var(--muted); line-height: 1.8; }
.transcript .headline { font-size: clamp(3rem, 6vw, 5rem); }
/* Accessible to assistive technology; no duplicate visible copy over the film. */
.is-cinematic .transcript {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.site-footer { padding: 3rem var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); }
.site-footer > .serif { font-size: 1.6rem; }
.site-footer > div { display: flex; gap: 2rem; flex-wrap: wrap; }
.noscript { text-align: center; font-size: .85rem; padding: 2rem; color: var(--muted); }

/* The film resolves into a real, readable testimony. */
.testimony { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 780px; background: #11110f; scroll-margin-top: 2rem; }
.testimony__image { position: relative; min-height: 660px; overflow: hidden; }
.testimony__image picture, .testimony__image img { display: block; width: 100%; height: 100%; }
.testimony__image img { position: absolute; inset: 0; object-fit: cover; object-position: 53% 50%; opacity: .75; }
.testimony__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #11110f, transparent 30%), linear-gradient(90deg, transparent 75%, #11110f); }
.testimony__image > span { position: absolute; z-index: 1; bottom: 3.5rem; left: var(--gutter); }
.testimony__words { padding: 7rem var(--gutter) 6rem 4vw; align-self: center; }
.testimony__words .headline { font-size: clamp(3.5rem, 5.3vw, 6rem); }
#testimony-title { scroll-margin-top: 2rem; }
.testimony__body { max-width: 32rem; margin-top: 2rem; color: var(--muted); font-size: .94rem; line-height: 1.9; }
.testimony__body p { margin: 0 0 1.4em; }
.signature { color: var(--ivory); font-size: 2.2rem; margin-top: 2.5rem; font-style: italic; }
.signature span { margin-left: .5em; font: .64rem var(--sans); letter-spacing: .04em; color: var(--muted); }
.scripture { padding: 8rem var(--gutter) 9rem; text-align: center; background: #e8e4da; color: #24241f; }
.scripture > .eyebrow { color: #69522a; }
.scripture blockquote { max-width: 62rem; margin: 2rem auto; font-size: clamp(2.3rem, 4.1vw, 4.5rem); line-height: 1.15; letter-spacing: -.025em; text-wrap: balance; }
.scripture__reference { display: inline-block; min-height: 44px; padding: .7rem .5rem; font-size: .62rem; letter-spacing: .15em; text-transform: uppercase; text-decoration-color: #9b8c70; }
.scripture__line { width: 3rem; height: 1px; background: #99825a; margin: 4rem auto; }
.scripture .scripture__second { max-width: 44rem; font-size: clamp(1.9rem, 2.7vw, 3rem); }
html:not(.is-cinematic) .testimony { padding-top: 5rem; }

@media (max-width: 700px) {
  .wordmark { font-size: 1.3rem; }
  .site-header .text-button { font-size: .64rem; }
  .story-panel, .story-panel--right, .story-panel--opening {
    left: var(--gutter); right: var(--gutter); top: auto; bottom: 14%;
    width: auto; transform: none;
  }
  .stage { background-image: url("assets/poster-mobile-hq.webp"); }
  .story-panel--arrival { top: auto; bottom: 12%; }
  .display { font-size: clamp(4.5rem, 17vw, 7rem); }
  .headline { font-size: clamp(3rem, 12vw, 5rem); }
  .story-panel__body { font-size: .82rem; margin-top: 1.2rem; max-width: 20rem; }
  .shade { background: linear-gradient(0deg, rgb(0 0 0 / 86%), rgb(0 0 0 / 16%) 70%, rgb(0 0 0 / 30%)); }
  .eyebrow { font-size: .58rem; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .site-footer > div { gap: 1rem; }
  .testimony { grid-template-columns: 1fr; min-height: 0; }
  .testimony__image { min-height: 430px; height: 66svh; max-height: 580px; }
  .testimony__image img { object-position: center 43%; }
  .testimony__image::after { background: linear-gradient(0deg, #11110f, transparent 50%); }
  .testimony__image > span { bottom: 1.5rem; }
  .testimony__words { padding: 2rem var(--gutter) 4rem; }
  .is-cinematic .testimony__image { display: none; }
  .is-cinematic .testimony__words { padding-top: 5rem; }
  .testimony__words .headline { font-size: 3.9rem; }
  .testimony__body { font-size: .9rem; }
  .scripture { padding: 5rem var(--gutter); }
  .scripture blockquote br { display: none; }
}
@media (max-height: 500px) and (orientation: landscape) {
  .story-panel, .story-panel--opening { top: 49%; bottom: auto; transform: translateY(-50%); }
  .display { font-size: 4rem; }
  .headline { font-size: 3rem; }
  .story-panel__body { margin-top: .5rem; font-size: .75rem; }
  .scene-footer { bottom: .65rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dust { display: none; }
}
