@font-face {
  font-family: "GT America Compressed";
  src: url("assets/fonts/GT-America-Compressed-Black-Trial.otf") format("opentype");
  font-weight: 900;
  font-display: swap;
}
html { background: #385765; }
.postcard-test { background: var(--limestone); }
.mountain-hero { position: relative; height: 92svh; min-height: 650px; max-height: 1100px; overflow: hidden; color: var(--salt); background: #385765; }
.mountain-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.mountain-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(14 14 14 / 12%), transparent 65%); pointer-events: none; }
.mountain-brand { position: absolute; z-index: 1; top: 36px; left: var(--gutter); width: 130px; }
.mountain-brand img { width: 100%; height: auto; }
.postcard-waitlist.apply-button { position: absolute; z-index: 2; top: 36px; right: var(--gutter); display: inline-flex; align-items: center; gap: 9px; min-height: 36px; padding: 9px 14px; border: 1px solid rgb(251 248 248 / 65%); border-radius: 0; color: var(--salt); background: rgb(56 87 101 / 28%); font: 500 10px/1.4 "GT America Mono", monospace; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background .2s ease, border-color .2s ease; overflow: visible; }
.postcard-waitlist.apply-button::before { content: ""; position: absolute; inset: -5px; }
.postcard-waitlist.apply-button:hover { background: rgb(251 248 248 / 14%); border-color: var(--salt); }
.postcard-waitlist.apply-button:focus-visible { outline: 2px solid var(--salt); outline-offset: 5px; }
.postcard-status-dot { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: var(--orange); }
.mountain-copy { position: absolute; z-index: 1; top: 19%; left: 24px; right: 24px; text-align: center; }
.mountain-copy h1 { font: 900 clamp(52.7px, 5.27vw, 85px)/.95 "GT America Compressed", sans-serif; letter-spacing: 0; text-transform: uppercase; }
.mountain-edition { margin-top: 26px; font: 500 11px/1.6 "GT America Mono", monospace; letter-spacing: .04em; text-transform: uppercase; }
.mountain-apply.apply-button { --cta-fill: var(--salt); --cta-size: 48px; margin: 24px auto 0; font-size: 10px; cursor: pointer; }
.mountain-apply .cta-label { padding: 0 22px; }
.postcard { position: relative; }
.postcard-stage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 0; padding: 60px var(--gutter) max(160px, 25svh); }
.postcard-stage::before { content: ""; position: absolute; top: 40px; bottom: 80px; left: 50%; width: 1px; background: #8b8782; }
.postcard-introduction { align-self: start; max-width: 470px; margin: 0; padding-right: 48px; font: 400 18.4px/1.65 "GT America", sans-serif; }
.postcard-manifesto { margin-left: clamp(35px, 5vw, 80px); min-width: 0; }
.postcard-chapter { font: 500 clamp(16px, 1.35vw, 21px)/1.7 "GT America Mono", monospace; letter-spacing: -.025em; }
.postcard-chapter + .postcard-chapter { margin-top: 56px; }
.postcard-chapter p + p { margin-top: 14px; }
.manifesto-flow { position: relative; padding-top: 32px; }
.team-signature { display: block; width: min(280px, 90%); height: auto; margin: 32px 0 0; color: var(--carbon); transform: rotate(-4deg); }
.postcard-stamp { position: absolute; left: var(--gutter); bottom: 70px; width: min(164px, 15vw); height: auto; color: var(--carbon); filter: brightness(0); opacity: .23; pointer-events: none; }
.team-signature path { stroke-dasharray: 1; stroke-dashoffset: var(--undrawn, 0); }
.postcard.scroll-manifesto { height: var(--reading-space); }
.scroll-manifesto .postcard-stage { position: sticky; top: 0; height: var(--reading-height); padding-bottom: 60px; }
.scroll-manifesto .postcard-manifesto { overflow: hidden; min-height: 0; mask-image: linear-gradient(to bottom, transparent, #000 28px, #000 100%); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 28px, #000 100%); }
.scroll-manifesto .manifesto-flow { will-change: transform; }
.scroll-manifesto .postcard-stage::before { bottom: 40px; }
.floating-access.apply-button { position: fixed; z-index: 30; right: max(24px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; width: auto; min-height: 48px; margin: 0; padding: 10px 16px; border: 0; border-radius: 0; background: var(--limestone); color: #54514d; font: 500 14px/1.5 "GT America Mono", monospace; letter-spacing: .02em; text-transform: none; cursor: pointer; box-shadow: none; }
.floating-access.apply-button { opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .2s ease; }
.floating-access.apply-button.is-ready { opacity: 1; visibility: visible; pointer-events: auto; }
.floating-access.apply-button span { display: inline-flex; align-items: center; gap: 7px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.floating-access.apply-button::before, .floating-access.apply-button::after { content: none; }
.floating-access.apply-button:hover { color: var(--carbon); }
.application-open .floating-access.apply-button { visibility: hidden; opacity: 0; pointer-events: none; }
.type-word { display: inline-block; white-space: nowrap; }
.type-char { visibility: hidden; }
.type-char.revealed { visibility: visible; }
.type-char.caret { position: relative; }
.type-char.caret::after { content: ""; position: absolute; right: -2px; bottom: .08em; width: 1px; height: .9em; background: currentColor; }
@media (max-width: 700px) {
  .mountain-hero { height: calc(100svh - 16px); min-height: 560px; max-height: none; }
  .mountain-brand { top: calc(env(safe-area-inset-top, 0px) + 24px); left: max(24px, env(safe-area-inset-left, 0px)); width: 104px; }
  .postcard-waitlist.apply-button { top: calc(env(safe-area-inset-top, 0px) + 24px); right: max(24px, env(safe-area-inset-right, 0px)); min-height: 34px; padding: 8px 11px; gap: 7px; font-size: 9px; }
  .mountain-copy { top: 23%; left: 20px; right: 20px; }
  .mountain-copy h1 { font-size: clamp(34.85px, 9.18vw, 61.2px); line-height: .98; }
  .mountain-edition { max-width: 260px; margin: 24px auto 0; font-size: 9px; }
  .mountain-photo { object-position: 55% 50%; }
  .postcard-stage { grid-template-columns: 1fr; padding: 36px 24px max(140px, 25svh) 42px; gap: 48px; }
  .scroll-manifesto .postcard-stage { grid-template-rows: minmax(0, 1fr); padding-top: calc(12px + env(safe-area-inset-top, 0px)); padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); gap: 0; }
  .postcard > .postcard-introduction { padding: 36px 24px 28px 42px; margin: 0; }
  .postcard-stage::before { top: 32px; bottom: 80px; left: 24px; }
  .postcard-introduction { max-width: 100%; padding: 0; font-size: 16.1px; }
  .postcard-manifesto { margin-left: 0; }
  .postcard-stamp { left: 42px; bottom: 28px; width: 100px; opacity: .23; }
  .postcard-chapter { font-size: 15px; line-height: 1.7; }
  .postcard-chapter p + p { margin-top: 14px; }
  .postcard-chapter + .postcard-chapter { margin-top: 44px; }
  .floating-access.apply-button { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .postcard-waitlist.apply-button { transition: none; }
  .floating-access.apply-button { transition: none; }
  .type-char { visibility: visible; }
  .type-char.caret::after { display: none; }
}

/* A framed photographic ending for this separate postcard test. */
.postcard-test .closing-shell { padding: 0 2% 2%; }
.postcard-test .closing { height: clamp(480px, 56vw, 860px); }
.postcard-test .closing-scene img { object-position: 45% 80%; transform: scale(1.18); transform-origin: 45% 100%; }
.postcard-test .closing .closing-apply { --cta-size: 52px; min-width: 0; font-size: 11px; margin-top: 24px; }
.postcard-test .closing-apply .cta-label { padding: 0 20px; }
@media (max-width: 767px) {
  .postcard-test .closing { height: 420px; }
  .postcard-test .closing-content { padding-inline: 12px; }
  .postcard-test .closing .closing-apply { --cta-size: 44px; font-size: 9px; }
  .postcard-test .closing-apply .cta-label { padding-inline: 12px; }
  .postcard-test .closing-footer { inset-inline: 12px; font-size: 8px; }
}

/* Brief brand arrival. CSS removes the overlay even if scripts fail. */
.arrival { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; background: #000; pointer-events: none; animation: arrival-out .42s cubic-bezier(.4,0,.2,1) 1.05s forwards; }
.arrival-logo { display: block; width: clamp(220px, 24vw, 300px); max-width: 75vw; height: auto;  }
.arrival-stone { transform-box: fill-box; transform-origin: center; animation: arrival-stone-drop .48s var(--drop) both; }
@keyframes arrival-stone-drop {
  0% { transform: translateY(-280px); animation-timing-function: cubic-bezier(.55,0,.8,.45); }
  76% { transform: translateY(0); animation-timing-function: ease-out; }
  88% { transform: translateY(-3px); animation-timing-function: ease-in; }
  100% { transform: translateY(0); }
}
@keyframes arrival-out { to { opacity: 0; visibility: hidden; } }
.mountain-apply.apply-button { --cta-size: 52.8px; font-size: 11px; }
.mountain-apply .cta-label { padding-inline: 24.2px; }
.reading-cue { display: none; }
.scroll-manifesto .reading-cue { display: flex; position: absolute; bottom: 28px; right: var(--gutter); align-items: center; gap: 14px; font: 10px/1.4 "GT America Mono", monospace; text-transform: uppercase; letter-spacing: .06em; transition: opacity .25s; }
.has-started .reading-cue { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .arrival { display: none; } }

/* In the static/short-screen story, keep the action below the reading content. */
.floating-access.apply-button.in-flow { position: relative; inset: auto; display: flex; width: max-content; max-width: calc(100% - 48px); margin: 0 24px 36px auto; opacity: 1; visibility: visible; pointer-events: auto; }
.application-open .floating-access.apply-button.in-flow { visibility: hidden; }
