:root {
  --ink: #111111;
  --ink-raised: #151515;
  --cream: #f7f4ee;
  --paper: #ede5d8;
  --paper-light: #f7f4ee;
  --muted: #8c8a86;
  --amber: #d6954c;
  --red: #d44738;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --ease-interface: cubic-bezier(.2, .8, .2, 1);
  --ease-cinematic: cubic-bezier(.16, .76, .18, 1);
  --ease-photograph: cubic-bezier(.18, .72, .16, 1);
  --duration-fast: 180ms;
  --duration-normal: 520ms;
  --duration-slow: 1100ms;
  --page-gutter: clamp(22px, 6.4vw, 32px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); scrollbar-color: #403b35 var(--ink); }
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
img { display: block; max-width: 100%; }
button, input { font: inherit; }
a { color: inherit; }
::selection { color: #16120e; background: #dba15f; }
:focus-visible { outline: 2px solid #e1aa69; outline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dark {
  color: var(--cream);
  background-color: var(--ink);
  background-image: radial-gradient(circle at 70% 28%, rgba(255,255,255,.018), transparent 38%);
}
.paper { background: var(--paper); color: #161514; }
.wordmark { width: 76px; height: auto; }
.eyebrow {
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--amber);
}
.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 25px;
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-interface), background var(--duration-fast) ease, color var(--duration-fast) ease;
}
.button:active { transform: scale(.975); }
.button-light { background: var(--cream); color: #111; }
.button-light:hover { background: #fffdfa; }
.button:disabled { cursor: wait; opacity: .68; }

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: max(24px, env(safe-area-inset-top)) var(--page-gutter) max(28px, env(safe-area-inset-bottom));
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  width: 80vw;
  height: 80vw;
  left: 44%;
  bottom: -16%;
  border: 1px solid rgba(244,240,232,.1);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(217,148,75,.07);
  z-index: -1;
}
.hero-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 14px rgba(232,78,69,.5);
}
.hero-copy {
  position: relative;
  z-index: 4;
  margin-top: clamp(72px, 13svh, 126px);
  max-width: 390px;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(42px, 12.3vw, 64px);
  line-height: .96;
  letter-spacing: -.055em;
  font-weight: 660;
}
.hero-line { display: block; }
.hero-after { color: #8d8983; }
.hero-copy > p:not(.eyebrow) {
  max-width: min(100%, 300px);
  margin: 22px 0 24px;
  color: #9e9993;
  font-size: 15px;
  line-height: 1.5;
}
.hero-copy .button { min-width: 176px; }
.phone-mockup {
  position: relative;
  overflow: visible;
  width: min(68vw, 282px);
  aspect-ratio: 510 / 1110;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: clamp(28px, 10.8%, 42px);
  background: #090909;
  box-shadow:
    0 36px 86px rgba(0,0,0,.54),
    0 0 0 1px #050505,
    inset 0 0 0 1px rgba(255,255,255,.07);
}
.phone-mockup::before,
.phone-mockup::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 3px;
  border: 1px solid rgba(255,255,255,.09);
  background: #111;
}
.phone-mockup::before {
  top: 29%;
  right: -5px;
  height: 14%;
  border-radius: 0 2px 2px 0;
}
.phone-mockup::after {
  top: 20%;
  left: -5px;
  height: 7%;
  border-radius: 2px 0 0 2px;
  box-shadow: 0 49px 0 #111, 0 49px 0 1px rgba(255,255,255,.045);
}
.phone-screen {
  position: absolute;
  inset: 3px;
  overflow: hidden;
  border-radius: clamp(25px, 10.1%, 38px);
  background: #050505;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.035);
  container-type: inline-size;
}

/* Native SwiftUI interface, translated directly from the After app source. */
.app-native {
  position: absolute;
  inset: 0;
  overflow: hidden;
  color: #f7f4ee;
  background: #111;
  font-family: var(--sans);
  font-size: 3.65cqi;
  line-height: 1.25;
}
.app-native *, .memory-app-view * { box-sizing: border-box; }
.app-status {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  width: 100%;
  height: 11cqi;
  padding: 4.8cqi 7cqi 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  font-size: 3.1cqi;
  font-weight: 650;
  letter-spacing: -.02em;
}
.app-status-icons { font-size: 2.4cqi; letter-spacing: .28em; }
.home-indicator {
  position: absolute;
  z-index: 12;
  left: 36%;
  bottom: 1.8cqi;
  width: 28%;
  height: 1.2cqi;
  border-radius: 999px;
  background: currentColor;
  opacity: .82;
}
.app-wordmark {
  position: absolute;
  top: 14cqi;
  left: 7cqi;
  font-size: 7.8cqi;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.085em;
}
.app-primary {
  position: absolute;
  left: 6.2cqi;
  right: 6.2cqi;
  bottom: 7.2cqi;
  min-height: 14.5cqi;
  display: grid;
  place-items: center;
  border: .2cqi solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: #111;
  background: #f7f4ee;
  box-shadow: 0 2.4cqi 5.5cqi rgba(0,0,0,.25);
  font-size: 3.8cqi;
  font-weight: 650;
}

.app-onboarding { background: #111; }
.onboarding-visual {
  position: absolute;
  top: 49cqi;
  left: 0;
  width: 100%;
  height: 48cqi;
  display: grid;
  place-items: center;
}
.aperture-mark {
  position: relative;
  width: 24cqi;
  aspect-ratio: 1;
  border: .65cqi solid #f7f4ee;
  border-radius: 50%;
  box-shadow: inset 0 0 0 3.5cqi #111, inset 0 0 0 4.1cqi rgba(247,244,238,.62);
}
.aperture-mark::before,
.aperture-mark::after {
  content: "";
  position: absolute;
  inset: 4.5cqi;
  border: .45cqi solid rgba(247,244,238,.86);
  transform: rotate(45deg);
}
.aperture-mark::after { transform: rotate(15deg); }
.onboarding-copy {
  position: absolute;
  left: 7cqi;
  right: 7cqi;
  top: 111cqi;
}
.onboarding-copy h3 {
  margin: 0;
  font-size: 9.4cqi;
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 730;
}
.onboarding-copy p {
  margin: 5cqi 0 0;
  color: #8c8a86;
  font-size: 4.4cqi;
  line-height: 1.46;
}
.app-pager {
  position: absolute;
  bottom: 25.5cqi;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 1.8cqi;
}
.app-pager i { width: 1.6cqi; height: 1.6cqi; border-radius: 999px; background: rgba(247,244,238,.22); }
.app-pager i.active { width: 5cqi; background: #f7f4ee; }

.app-nav, .roll-nav {
  position: absolute;
  z-index: 3;
  top: 11cqi;
  left: 0;
  right: 0;
  height: 12cqi;
  padding: 0 6.2cqi;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  align-items: center;
  font-size: 3.65cqi;
}
.app-nav b, .roll-nav b { text-align: center; font-weight: 650; white-space: nowrap; }
.app-nav span:last-child, .roll-nav span:last-child { text-align: right; }
.create-body {
  position: absolute;
  inset: 28cqi 6.2cqi 27cqi;
}
.step-label {
  display: block;
  margin-bottom: 5.4cqi;
  color: #d6954c;
  font-size: 2.7cqi;
  font-weight: 750;
  letter-spacing: .09em;
}
.create-body h3 {
  margin: 0 0 8cqi;
  font-size: 9.6cqi;
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 720;
}
.app-field {
  position: relative;
  min-height: 13.5cqi;
  padding: 4cqi;
  display: flex;
  align-items: center;
  border-radius: 4cqi;
  color: #f7f4ee;
  background: rgba(255,255,255,.08);
  font-size: 5cqi;
}
.field-caret { width: .45cqi; height: 6cqi; margin-left: .6cqi; background: #d6954c; animation: caret-blink 1.1s step-end infinite; }
@keyframes caret-blink { 50% { opacity: 0; } }
.suggestions { margin-top: 4cqi; display: grid; gap: 3cqi; color: #8c8a86; font-size: 3cqi; }
.film-options { display: grid; gap: 2.5cqi; }
.film-options > div {
  min-height: 13cqi;
  padding: 0 4cqi;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 4cqi;
  background: rgba(255,255,255,.05);
  font-size: 3.9cqi;
}
.film-options > div.selected { background: rgba(255,255,255,.12); }
.film-options i { width: 5cqi; height: 5cqi; display: grid; place-items: center; border: .35cqi solid #797671; border-radius: 50%; font-size: 3cqi; font-style: normal; }
.film-options .selected i { border-color: #d6954c; color: #111; background: #d6954c; }
.app-helper { margin: 4.8cqi 0 0; color: #8c8a86; font-size: 3.25cqi; line-height: 1.45; }
.app-helper.large { margin-top: -1cqi; font-size: 4.2cqi; line-height: 1.46; }
.timing-body h3 { margin-bottom: 6cqi; }
.app-fact { margin-top: 8cqi; display: flex; align-items: center; gap: 3cqi; font-size: 3.7cqi; }
.app-fact + .app-fact { margin-top: 4.5cqi; }
.lock-mark, .mini-aperture { width: 5cqi; color: #d6954c; text-align: center; font-size: 3.3cqi; }

.app-live-roll { background: #111; }
.roll-nav span { font-size: 5.8cqi; font-weight: 300; }
.roll-body { position: absolute; inset: 39cqi 6.2cqi 58cqi; text-align: center; }
.live-label { display: flex; align-items: center; justify-content: center; gap: 2cqi; font-size: 2.8cqi; font-weight: 750; letter-spacing: .06em; }
.live-label i { width: 2.1cqi; height: 2.1cqi; border-radius: 50%; background: #d44738; box-shadow: 0 0 3cqi rgba(212,71,56,.56); }
.native-film { margin-top: 7cqi; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; }
.native-film > span { grid-column: 1 / -1; margin-bottom: 1.5cqi; color: #8c8a86; font-size: 2.45cqi; font-weight: 750; letter-spacing: .2em; }
.native-film strong { grid-column: 2; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 25cqi; line-height: .88; font-weight: 180; letter-spacing: -.09em; }
.native-film small { grid-column: 3; align-self: end; padding: 0 0 2cqi 1.8cqi; color: #8c8a86; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 4cqi; text-align: left; }
.roll-body > p { margin: 5cqi 0 0; color: #8c8a86; font-size: 3.6cqi; line-height: 1.4; }
.roll-body h4 { margin: 7cqi 0 4cqi; font-size: 4.6cqi; font-weight: 520; }
.participant-row { display: flex; align-items: center; justify-content: center; }
.participant-row i {
  width: 9cqi;
  height: 9cqi;
  margin-left: -1.8cqi;
  display: grid;
  place-items: center;
  border: .65cqi solid #111;
  border-radius: 50%;
  color: #f7f4ee;
  background: rgba(214,149,76,.22);
  font-size: 2.45cqi;
  font-style: normal;
  font-weight: 700;
}
.participant-row i:first-child { margin-left: 0; }
.roll-actions { position: absolute; left: 0; right: 0; bottom: 7cqi; height: 48cqi; text-align: center; }
.roll-actions .app-primary { top: 0; bottom: auto; }
.roll-actions > span { position: absolute; top: 18cqi; left: 0; right: 0; color: #8c8a86; font-size: 2.8cqi; }
.roll-actions > small { position: absolute; bottom: 3cqi; left: 0; right: 0; color: #8c8a86; font-size: 2.5cqi; }

.app-camera { background: #090909; }
.camera-world { position: absolute; inset: 0; overflow: hidden; background: linear-gradient(165deg, #31241c 0%, #151419 43%, #08090a 100%); }
.camera-world::before { content: ""; position: absolute; width: 92cqi; height: 82cqi; left: -15cqi; top: 36cqi; border-radius: 48% 52% 12% 10%; background: linear-gradient(135deg, rgba(214,149,76,.32), rgba(79,32,25,.25) 52%, transparent); filter: blur(1.2cqi); transform: rotate(-8deg); }
.camera-world::after { content: ""; position: absolute; width: 30cqi; height: 60cqi; right: 7cqi; top: 48cqi; border-radius: 50% 50% 32% 32%; background: rgba(8,7,9,.72); box-shadow: 0 0 12cqi rgba(212,71,56,.18); }
.camera-world i { position: absolute; border-radius: 50%; background: #d6954c; box-shadow: 0 0 7cqi rgba(214,149,76,.6); }
.camera-world i:nth-child(1) { width: 2cqi; height: 2cqi; left: 16cqi; top: 28cqi; }
.camera-world i:nth-child(2) { width: 1.4cqi; height: 1.4cqi; right: 19cqi; top: 39cqi; background: #d44738; }
.camera-world i:nth-child(3) { width: 2.6cqi; height: 2.6cqi; left: 56cqi; top: 20cqi; }
.camera-shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.56), transparent 29%, transparent 57%, rgba(0,0,0,.76)); }
.camera-top { position: absolute; z-index: 4; top: 12cqi; left: 5cqi; right: 5cqi; display: grid; grid-template-columns: 1fr 1.5fr 1fr; align-items: start; }
.camera-top > span { width: 11cqi; height: 11cqi; display: grid; place-items: center; font-size: 6.2cqi; }
.camera-top > span:last-child { justify-self: end; }
.camera-top div { text-align: center; }
.camera-top small { display: block; color: #8c8a86; font-size: 2.5cqi; font-weight: 750; letter-spacing: .18em; }
.camera-top b { display: block; margin-top: 1cqi; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 3.5cqi; letter-spacing: .06em; }
.flash-mark { transform: rotate(10deg); }
.camera-bottom { position: absolute; z-index: 4; left: 6cqi; right: 6cqi; bottom: 6cqi; text-align: center; }
.camera-bottom p { margin: 0 0 5cqi; font-size: 3.3cqi; opacity: .82; }
.camera-controls { height: 23cqi; display: grid; grid-template-columns: 1fr 1.6fr 1fr; align-items: center; }
.camera-controls > span { font-size: 7cqi; }
.native-shutter { width: 21cqi; aspect-ratio: 1; justify-self: center; border: 1.2cqi solid #f7f4ee; border-radius: 50%; box-shadow: inset 0 0 0 2.1cqi transparent, inset 0 0 0 9cqi #f7f4ee; }
.camera-bottom > small { display: block; margin-top: 2cqi; font-size: 2.8cqi; opacity: .72; }
.hero-visual {
  position: absolute;
  z-index: 1;
  right: -5vw;
  bottom: -54px;
  width: min(52vw, 230px);
  aspect-ratio: 510 / 1110;
  opacity: .84;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 91%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 91%, transparent);
}
.scroll-note {
  position: absolute;
  z-index: 5;
  bottom: max(22px, env(safe-area-inset-bottom));
  left: var(--page-gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #68645f;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.scroll-note span { width: 28px; height: 1px; background: #68645f; }

@media (max-height: 640px) {
  .hero-visual { right: 8px; bottom: -30px; width: 120px; opacity: .76; }
  .reel-device { --device-y: 15svh !important; }
}

.reel-film { position: relative; min-height: 592svh; }
.reel-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.reel-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 54%, rgba(255,255,255,.05), transparent 36%);
  pointer-events: none;
}
.ambient-orbit {
  position: absolute;
  border: 1px solid rgba(244,240,232,.07);
  border-radius: 50%;
  transition: transform var(--duration-slow) var(--ease-cinematic);
}
.orbit-one { width: 85vw; height: 85vw; }
.orbit-two { width: 118vw; height: 118vw; }
.reel-device {
  --device-y: 5svh;
  z-index: 2;
  width: min(61vw, 268px);
  transform: translateY(var(--device-y));
  transition: transform var(--duration-slow) var(--ease-cinematic), opacity var(--duration-normal) ease;
}
@media (max-width: 699px) and (max-height: 640px) and (orientation: portrait) {
  .reel-device { --device-y: min(21svh, 120px) !important; width: min(53vw, 172px); }
}
.reel-device .phone-screen > .screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.018);
  transition: opacity 280ms ease, transform 720ms var(--ease-cinematic);
}
.reel-device .phone-screen > .screen.is-active { opacity: 1; transform: scale(1); }
.camera-flash {
  position: absolute;
  inset: 3px;
  z-index: 8;
  pointer-events: none;
  border-radius: clamp(25px, 10.1%, 38px);
  background: #fffdf6;
  opacity: 0;
}
.reel-device.is-capturing { animation: shutter-haptic 280ms var(--ease-interface); }
.reel-device.is-capturing .camera-flash { animation: camera-flash 260ms ease-out; }
@keyframes camera-flash { 0% { opacity: 0; } 22% { opacity: .92; } 100% { opacity: 0; } }
@keyframes shutter-haptic { 0%,100% { transform: translateY(var(--device-y)) scale(1); } 45% { transform: translateY(var(--device-y)) scale(.992); } }
.capture-button {
  position: absolute;
  z-index: 9;
  left: 33%;
  bottom: 6%;
  width: 34%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
}
.reel-device[data-active-state="capture"] .capture-button,
.reel-device[data-active-state="no-preview"] .capture-button { opacity: 1; pointer-events: auto; }
.capture-button:focus-visible { outline: 2px solid var(--amber); outline-offset: -11px; }
.reel-scenes { position: relative; z-index: 3; margin-top: -100svh; pointer-events: none; }
.reel-scene { min-height: 82svh; position: relative; padding: max(84px, 11svh) var(--page-gutter) 0; pointer-events: none; }
.scene-copy {
  position: sticky;
  top: max(82px, calc(env(safe-area-inset-top) + 58px));
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .65s ease, transform .65s ease;
}
.reel-scene.is-active .scene-copy { opacity: 1; transform: none; }
.scene-copy span { color: var(--amber); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.scene-copy h2 {
  margin: 11px 0 0;
  font-size: clamp(29px, 8.6vw, 46px);
  line-height: 1.03;
  letter-spacing: -.045em;
  font-weight: 620;
}

.development {
  position: relative;
  min-height: 1260px;
  padding: 116px var(--page-gutter) 138px;
  overflow: hidden;
}
.development::before {
  content: "";
  position: absolute;
  inset: 25% -40% auto;
  height: 600px;
  background: radial-gradient(circle, rgba(217,148,75,.1), transparent 65%);
  filter: blur(25px);
}
.development-intro { position: relative; z-index: 2; max-width: 480px; }
.live { display: flex; align-items: center; gap: 9px; color: #85817c; }
.development h2 {
  margin: 0;
  max-width: 330px;
  font-size: clamp(38px, 11.2vw, 64px);
  line-height: .98;
  letter-spacing: -.05em;
  font-weight: 620;
}
.photo-stage {
  position: relative;
  z-index: 2;
  width: min(calc(100vw - (var(--page-gutter) * 2)), 420px);
  height: 500px;
  margin: 112px auto 70px;
  transition: transform 900ms var(--ease-cinematic), filter 900ms ease;
}
.print {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 62%;
  margin: 0;
  padding: 9px 9px 32px;
  background: #f5f1e8;
  border-radius: 2px;
  box-shadow: 0 28px 58px rgba(0,0,0,.5), 0 2px 7px rgba(0,0,0,.3);
  opacity: 0;
  will-change: transform, opacity;
}
.print img { width: 100%; height: auto; aspect-ratio: 1 / 1.08; object-fit: cover; }
.print-five { width: 76%; padding: 8px 8px 25px; }
.print-five img { aspect-ratio: 543 / 390; object-fit: contain; background: #c98769; }
.development.is-developing .print { animation: land-photo var(--land-duration, 1.15s) var(--land-ease, var(--ease-photograph)) forwards; }
.development.is-developing .print-one { --from-x: -178%; --from-y: -170%; --x: -10px; --y: 10px; --rot: -8deg; --land-duration: 1.18s; --land-ease: cubic-bezier(.16,.72,.18,1); animation-delay: .28s; }
.development.is-developing .print-two { --from-x: 96%; --from-y: -205%; --x: 8px; --y: 4px; --rot: 7deg; --land-duration: 1.05s; --land-ease: cubic-bezier(.22,.68,.15,1); animation-delay: 1.4s; }
.development.is-developing .print-three { --from-x: -196%; --from-y: 70%; --x: -5px; --y: -3px; --rot: -3.5deg; --land-duration: 1.12s; --land-ease: cubic-bezier(.14,.76,.2,1); animation-delay: 2.26s; }
.development.is-developing .print-four { --from-x: 112%; --from-y: -64%; --x: 5px; --y: 2px; --rot: 4.5deg; --land-duration: 1.04s; --land-ease: cubic-bezier(.2,.7,.13,1); animation-delay: 3.62s; }
.development.is-developing .print-five { --from-x: 8%; --from-y: -222%; --x: 0px; --y: -5px; --rot: 1.2deg; --land-duration: 1.28s; --land-ease: cubic-bezier(.12,.78,.17,1); animation-delay: 5.08s; }
.print-one { z-index: 1; }
.print-two { z-index: 2; }
.print-three { z-index: 3; }
.print-four { z-index: 4; }
.print-five { z-index: 5; }
@keyframes land-photo {
  0% { opacity: 0; transform: translate(var(--from-x), var(--from-y)) rotate(calc(var(--rot) * 2.1)) scale(1.08); }
  74% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y) - 3px)) rotate(calc(var(--rot) * .92)) scale(.996); }
  100% { opacity: 1; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rot)) scale(1); }
}
.development.is-ready .photo-stage { transform: translateY(-8px) scale(.988); filter: drop-shadow(0 18px 24px rgba(0,0,0,.18)); }
.development.is-complete .print {
  animation: none !important;
  opacity: 1;
  transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) rotate(var(--rot)) scale(1);
}
.development.is-complete .processing-track i { width: 100%; transition: none; }
.processing { position: relative; z-index: 2; max-width: 410px; margin: 0 auto; }
.processing-line { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.processing-line span { width: 7px; height: 7px; border: 1px solid #77726d; border-radius: 50%; transition: background .4s ease, border .4s ease; }
.processing-line span.done { background: var(--amber); border-color: var(--amber); }
.processing-line b { font-weight: 520; }
.processing-track { height: 1px; margin-top: 15px; background: #2c2a28; overflow: hidden; }
.processing-track i { display: block; width: 0; height: 100%; background: var(--amber); transition: width 7s var(--ease-cinematic); }
.development.is-developing .processing-track i { width: 100%; }
.processing p { color: #68645f; font-size: 11px; }

.memory-box {
  position: relative;
  overflow: hidden;
  padding: 148px var(--page-gutter) 260px;
  border-radius: 54px 54px 0 0;
  margin-top: -54px;
  isolation: isolate;
  box-shadow: 0 -10px 42px rgba(0,0,0,.34), inset 0 2px 0 rgba(255,255,255,.48);
}
.js .memory-box { opacity: .94; transform: translateY(26px) scale(.998); transition: opacity 900ms ease, transform 1100ms var(--ease-cinematic); }
.js .memory-box.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.memory-box::before {
  content: "";
  position: absolute;
  inset: 7px 6% auto;
  height: 1px;
  background: rgba(94,65,34,.11);
}
.paper-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .2;
  background-image: radial-gradient(rgba(40,29,18,.25) .5px, transparent .6px);
  background-size: 6px 6px;
}
.memory-heading { text-align: center; max-width: 560px; margin: 0 auto 90px; }
.amber { color: #bf7937; }
.memory-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(48px, 13vw, 80px);
  line-height: .91;
  letter-spacing: -.055em;
  font-weight: 700;
}
.memory-object {
  position: relative;
  width: min(100%, 510px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper-light);
  border-radius: 30px;
  box-shadow: 0 30px 75px rgba(58,39,20,.2), 0 1px 0 rgba(255,255,255,.7) inset;
  transform: rotate(-.75deg);
}
.memory-app-view {
  padding: 34px 20px 40px;
  color: #111;
  background: #ede5d8;
  container-type: inline-size;
}
.memory-native-nav { display: flex; align-items: center; justify-content: space-between; font-size: 5.4cqi; font-weight: 320; }
.memory-native-nav span { width: 11cqi; height: 11cqi; display: grid; place-items: center; }
.memory-native-title { margin: 9cqi 0 7cqi; text-align: center; }
.memory-native-title > span, .memory-context > span, .memory-facts span {
  color: #b87335;
  font-size: 2.55cqi;
  font-weight: 760;
  letter-spacing: .2em;
}
.memory-native-title h3 { margin: 2.2cqi 0 2cqi; font-family: var(--serif); font-size: 9.8cqi; line-height: 1; letter-spacing: -.045em; }
.memory-native-title p { margin: 0; color: #81796f; font-size: 2.6cqi; font-weight: 720; letter-spacing: .15em; }
.memory-native-cover {
  position: relative;
  height: 57cqi;
  overflow: hidden;
  display: flex;
  align-items: end;
  padding: 4.6cqi;
  border-radius: 1.6cqi;
  color: #f7f4ee;
  background: linear-gradient(135deg, rgba(214,149,76,.96), rgba(212,71,56,.63) 48%, #111 100%);
  box-shadow: 0 4cqi 8cqi rgba(52,35,17,.18);
}
.memory-native-cover::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.memory-native-cover > div { position: relative; z-index: 2; }
.memory-native-cover h4 { margin: 0 0 3cqi; font-size: 5.3cqi; }
.cover-aperture { position: absolute; top: -9cqi; right: -5cqi; color: rgba(255,255,255,.1); font-size: 32cqi; transform: rotate(-14deg); }
.participant-row.light { justify-content: flex-start; }
.participant-row.light i { width: 7.8cqi; height: 7.8cqi; border-color: rgba(17,17,17,.58); font-size: 2.1cqi; }
.participant-row.light b { margin-left: 3cqi; font-size: 2.8cqi; font-weight: 560; }
.memory-facts { margin-top: 5cqi; padding: 5cqi; display: grid; grid-template-columns: 1fr 1fr; gap: 5cqi 4cqi; border-radius: 1.5cqi; background: rgba(247,244,238,.72); }
.memory-facts div { display: grid; gap: 1.2cqi; }
.memory-facts span { color: #8c8a86; font-size: 2.25cqi; letter-spacing: .13em; }
.memory-facts b { font-family: var(--serif); font-size: 3.8cqi; font-weight: 650; }
.memory-context { margin-top: 7cqi; }
.memory-context > span { font-size: 2.35cqi; letter-spacing: .16em; }
.memory-context p { margin: 3cqi 0 0; font-family: var(--serif); font-size: 3.65cqi; line-height: 1.5; }
.editorial-memory { position: relative; max-width: 620px; margin: 170px auto 0; }
.script-note { text-align: center; margin: 0 0 64px; font-family: var(--serif); font-size: 31px; font-style: italic; }
.memory-spread { position: relative; min-height: 580px; }
.editorial-photo { position: absolute; width: 78%; margin: 0; }
.editorial-photo img { width: 100%; height: auto; aspect-ratio: 1 / 1.06; object-fit: cover; box-shadow: 0 22px 45px rgba(52,35,17,.18); }
.editorial-photo figcaption { margin-top: 10px; color: #8b8278; font-size: 12px; }
.tilt-left { left: 0; top: 0; z-index: 1; transform: rotate(-3.2deg); }
.tilt-right { right: -4%; top: 170px; z-index: 2; transform: rotate(2.6deg); }
.editorial-memory blockquote { margin: 190px 0 0; text-align: center; font-family: var(--serif); font-size: clamp(48px, 12vw, 72px); line-height: .96; letter-spacing: -.045em; }

.waitlist { position: relative; padding: 156px var(--page-gutter) 130px; text-align: left; overflow: hidden; }
.waitlist::before { content: ""; position: absolute; width: min(90vw, 580px); height: min(90vw, 580px); right: -45%; top: -12%; border: 1px solid #242321; border-radius: 50%; }
.waitlist > * { position: relative; z-index: 1; }
.waitlist > .eyebrow { width: min(100%, 430px); margin-left: auto; margin-right: auto; }
.waitlist h2 { width: min(100%, 430px); margin: 0 auto; font-size: clamp(48px, 12.2vw, 72px); line-height: .9; letter-spacing: -.06em; font-weight: 620; }
.waitlist > p:not(.eyebrow) { width: min(100%, 430px); margin: 26px auto 48px; color: #827e78; font-size: 15px; line-height: 1.5; }
.waitlist-form { display: grid; gap: 18px; width: min(100%, 430px); margin: 0 auto; text-align: left; }
.waitlist-form label { display: grid; gap: 8px; }
.waitlist-form .field-label { color: #aaa49d; font-size: 11px; letter-spacing: .08em; }
.waitlist-form input { width: 100%; min-height: 58px; border: 1px solid #302e2b; border-radius: 4px; padding: 0 17px; color: var(--cream); background: #151513; outline: 0; transition: border-color var(--duration-fast) ease, background var(--duration-fast) ease; }
.waitlist-form input:focus { border-color: #9f8f7e; background: #181816; }
.waitlist-form label.is-invalid input, .waitlist-form input[aria-invalid="true"] { border-color: #a8514b; }
.field-error { display: none; color: #c97770; font-size: 11px; line-height: 1.35; letter-spacing: .01em; }
.waitlist-form label.is-invalid .field-error { display: block; }
.waitlist-form input::placeholder { color: #66615b; }
.waitlist-form .button { width: 100%; margin-top: 6px; justify-content: space-between; }
.waitlist-success { display: none; width: min(100%, 430px); min-height: 340px; margin: 0 auto; text-align: center; place-items: center; align-content: center; }
.waitlist-success:focus-visible { outline: none; }
.success-print { width: 94px; margin: 0 auto 34px; padding: 5px 5px 17px; background: var(--cream); box-shadow: 0 15px 34px rgba(0,0,0,.42); transform: rotate(-2deg); }
.success-print img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.success-status { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 16px; color: var(--amber); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.success-status i { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.waitlist-success h3 { margin: 0; font-size: 34px; letter-spacing: -.04em; }
.waitlist-success p { max-width: 260px; margin: 12px auto 0; color: #77726c; line-height: 1.5; }
.waitlist.is-complete .waitlist-form { display: none; }
.waitlist.is-complete .waitlist-success { display: grid; }
.waitlist.is-complete .success-print { animation: success-settle 720ms var(--ease-photograph) both; }
@keyframes success-settle { from { opacity: 0; transform: translateY(-20px) rotate(-6deg) scale(1.04); } to { opacity: 1; transform: translateY(0) rotate(-2deg) scale(1); } }

.footer { padding: 54px var(--page-gutter) max(34px, env(safe-area-inset-bottom)); border-top: 1px solid #242321; display: grid; gap: 38px; }
.footer-note { color: #8a8580; font-size: 12px; line-height: 1.6; }
.footer-note p { margin: 0; }
.footer-note a { display: inline-flex; min-height: 44px; align-items: center; color: var(--cream); text-underline-offset: 3px; }
.footer nav { display: flex; gap: 25px; }
.footer nav a { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; color: #6f6b66; font-size: 11px; text-decoration: none; transition: color var(--duration-fast) ease; }
.footer nav a:hover, .footer nav a:focus-visible { color: var(--cream); }

@media (max-width: 699px) {
  .hero-visual { bottom: -84px; }
  .hero-copy { margin-top: clamp(66px, 11svh, 94px); }
  .hero-copy h1 { max-width: 350px; }
  .hero-copy > p:not(.eyebrow) { margin-block: 20px 24px; }

  .scene-copy { max-width: calc(100vw - (var(--page-gutter) * 2)); }
  .reel-device { --device-y: 18svh; }

  .development {
    min-height: 1160px;
    padding-top: 104px;
    padding-bottom: 118px;
  }
  .development h2 { max-width: 340px; }
  .photo-stage { height: 460px; margin-block: 92px 58px; }

  .memory-box {
    padding-top: 118px;
    padding-bottom: 200px;
    border-radius: 38px 38px 0 0;
  }
  .memory-heading { margin-bottom: 68px; }
  .memory-heading h2 { font-size: clamp(44px, 12.2vw, 62px); line-height: .93; }
  .memory-object { width: calc(100% - 10px); border-radius: 24px; }
  .editorial-memory { margin-top: 136px; }
  .script-note { margin-bottom: 52px; font-size: 28px; }
  .editorial-photo { width: 74%; }
  .tilt-left { left: 3%; }
  .tilt-right { right: 2%; }
  .editorial-memory blockquote { margin-top: 154px; font-size: clamp(44px, 11.4vw, 62px); }

  .waitlist { padding-top: 128px; padding-bottom: 108px; }
  .waitlist h2 { font-size: clamp(44px, 11.8vw, 62px); line-height: .93; }
  .waitlist > p:not(.eyebrow) { margin-block: 22px 40px; }
  .waitlist-form { gap: 20px; }
  .waitlist-form input { min-height: 60px; padding-inline: 18px; }
  .waitlist-form .button { min-height: 60px; }

  .footer { padding-top: 48px; padding-bottom: max(44px, calc(env(safe-area-inset-bottom) + 24px)); gap: 28px; }
  .footer nav { flex-wrap: wrap; gap: 12px 16px; }
}

@media (max-width: 340px) {
  .hero-visual { right: -14vw; bottom: -118px; }
}

@media (min-width: 700px) {
  .hero { padding-inline: 6vw; }
  .hero-copy { margin-left: 4vw; }
  .hero-visual { right: -20px; bottom: -44px; width: 242px; }
  .scene-copy { margin-left: 7vw; }
  .development { padding-inline: 8vw; }
  .development-intro { margin-left: 5vw; }
  .memory-spread { min-height: 690px; }
  .footer { grid-template-columns: 1fr auto auto; align-items: end; padding-inline: 6vw; }
}

@media (min-width: 1000px) {
  .hero-copy h1 { font-size: clamp(70px, 5.5vw, 86px); }
  .hero-copy { max-width: 560px; }
  .hero-visual { width: 310px; right: 2vw; bottom: -62px; }
  .reel-device { width: 292px; }
  .scene-copy { margin-left: 11vw; }
  .photo-stage { --stage-x: 14vw; margin-top: 40px; transform: translateX(var(--stage-x)); }
  .development.is-ready .photo-stage { transform: translateX(var(--stage-x)) translateY(-8px) scale(.988); }
  .development { min-height: 1020px; }
  .development-intro { position: absolute; top: 170px; left: 6vw; }
  .processing { position: absolute; right: 8vw; bottom: 120px; width: 330px; }
  .memory-object { width: 500px; }
  .memory-spread { min-height: 720px; }
  .waitlist { padding-block: 190px 160px; }
}

@media (min-width: 1200px) {
  .hero-copy { max-width: 700px; }
  .hero-visual { right: 11vw; }
}

@media (orientation: landscape) and (max-height: 500px) {
  .reel-film { min-height: 700svh; }
  .reel-device { --device-y: 2svh !important; width: min(28vw, 150px); }
  .reel-scene { min-height: 100svh; padding-top: 48px; }
  .scene-copy { top: 48px; max-width: 260px; margin-left: 7vw; }
  .scene-copy h2 { font-size: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .development.is-developing .print { animation-name: reduced-print !important; animation-duration: 420ms !important; animation-timing-function: ease-out !important; }
  .development.is-developing .print-one { animation-delay: 0ms !important; }
  .development.is-developing .print-two { animation-delay: 180ms !important; }
  .development.is-developing .print-three { animation-delay: 320ms !important; }
  .development.is-developing .print-four { animation-delay: 460ms !important; }
  .development.is-developing .print-five { animation-delay: 640ms !important; }
  .reel-device.is-capturing .camera-flash { animation: none; opacity: .08; }
  @keyframes reduced-print {
    from { opacity: 0; transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px) - 7px)) rotate(var(--rot, 0deg)); }
    to { opacity: 1; transform: translate(calc(-50% + var(--x, 0px)), calc(-50% + var(--y, 0px))) rotate(var(--rot, 0deg)); }
  }
}
