/* Self Actualized Technologies: the site's own look. The engine files (scene/fx/filmtype) stay unchanged. */

@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda.woff2) format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url(fonts/bodoni-moda-italic.woff2) format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant.woff2) format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(fonts/cormorant-italic.woff2) format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Jost"; src: url(fonts/jost.woff2) format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }

:root {
  --ink: #0b0a09;          /* near-black, from the night street */
  --ink-2: #16130f;
  --ivory: #f4ede1;        /* her coat, the travertine */
  --ivory-2: #ebe2d2;
  --stone: #8c7b68;        /* wet limestone */
  --stone-ink: #5f5244;
  --gold: #c9a45c;         /* the brass: saved for actions and the mark */
  --gold-hi: #e9d29a;
  --night: #121826;

  --display: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --serif: "Cormorant Garamond", "Garamond", serif;
  --sans: "Jost", "Futura", "Avenir Next", system-ui, sans-serif;

  --k-tshadow: 0 1px 2px rgb(8 7 6 / .9), 0 3px 12px rgb(8 7 6 / .65), 0 12px 44px rgb(8 7 6 / .55);
  --fx-accent: var(--gold);
  --fx-radius: 22px;
  --gutter: clamp(20px, 6vw, 96px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ink); color: var(--ivory);
  font-family: var(--sans); font-weight: 300; font-size: clamp(16px, 1.05vw + 10px, 19px); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 4px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ivory); color: var(--ink); padding: 10px 16px; }
.skip:focus { left: 8px; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--gutter); pointer-events: none;
  background: linear-gradient(rgb(11 10 9 / .55), transparent);
}
.site-header > * { pointer-events: auto; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand img { width: 34px; height: auto; }
.brand span { font-family: var(--display); font-size: 13px; letter-spacing: .32em; text-transform: uppercase; }
.brand span b { font-weight: 400; color: var(--gold-hi); }
.nav { display: flex; gap: clamp(14px, 2.4vw, 34px); font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.nav a { text-decoration: none; opacity: .86; padding: 10px 0; }
.nav a:hover { opacity: 1; color: var(--gold-hi); }
/* four apps in the nav: tighten the spacing on smaller desktops, then keep only the mark before the links touch it */
.nav a { white-space: nowrap; }
@media (max-width: 1400px) { .nav { gap: clamp(12px, 1.7vw, 26px); letter-spacing: .2em; } }
@media (max-width: 1220px) { .brand span { display: none; } }
@media (max-width: 800px) { .nav a:not(.nav-cta) { display: none; } }
@media (max-width: 720px) { .nav a:not(.nav-cta) { display: none; } .brand span { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 14px 28px;
  font-family: var(--sans); font-size: 13px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; transition: background .3s, color .3s, border-color .3s;
}
.btn-gold { background: linear-gradient(120deg, #b88f45, var(--gold) 40%, var(--gold-hi) 70%, #b88f45); color: var(--ink); text-shadow: none; }
.btn-gold:hover { background: var(--gold-hi); }
.btn-line { border: 1px solid currentColor; color: inherit; }
.btn-line:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.on-light .btn-line:hover { background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.btn svg { width: 16px; height: 16px; }

/* ---------- hero ---------- */
.hero .k-stage { background-color: var(--ink); }
.hero .shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 38%, rgb(10 9 8 / .58) 100%),
              linear-gradient(transparent 60%, rgb(10 9 8 / .45)); }
.hero .k-band { color: var(--ivory); text-shadow: var(--k-tshadow); }
.hero .k-band::before { content: ""; position: absolute; inset: -34% -14%; z-index: -1;
  background: radial-gradient(closest-side, rgb(10 9 8 / .62), transparent); }
.hero .k-band .btn { text-shadow: none; }

.eyebrow { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-hi); margin: 0 0 14px; }
.hero-title { font-family: var(--display); font-weight: 400; margin: 0; line-height: .95; letter-spacing: .04em; text-transform: uppercase; font-size: clamp(40px, 6.4vw, 112px); }
.hero-title small { display: block; font-size: .3em; letter-spacing: .62em; margin-top: .9em; color: var(--gold-hi); }
.hero-line { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(22px, 2.3vw, 36px); line-height: 1.25; margin: 18px 0 0; }

.band-first { top: auto; bottom: clamp(56px, 13vh, 150px); }
.band-app { max-width: 30rem; }
.band-app h2 { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.4vw, 72px); line-height: 1; margin: 0; letter-spacing: .01em; }
.band-app p { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 32px); line-height: 1.25; margin: 14px 0 0; }
.band-app .num { font-family: var(--display); font-style: italic; color: var(--gold-hi); font-size: 18px; margin-right: 10px; }
.band-end { left: 50%; right: auto; transform: translateX(-50%); top: clamp(96px, 16vh, 190px); bottom: auto; text-align: center; max-width: min(56rem, 92vw); }
.band-end h2 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5vw, 86px); line-height: 1.02; margin: 0; }
.band-end h2 em { font-style: italic; color: var(--gold-hi); }
.band-end p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 1.8vw, 28px); margin: 18px auto 30px; max-width: 34rem; }

/* words fixed to the film (positions are in film pixels, set in index.html) */
.ft-app { font-family: var(--display); color: var(--ivory); text-shadow: var(--k-tshadow); }
.ft-app i { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--gold-hi); }
.ft-tag { font-family: var(--serif); font-style: italic; color: var(--ivory); text-shadow: var(--k-tshadow); }
.ft-num { font-family: var(--sans); font-weight: 500; letter-spacing: .34em; color: var(--gold-hi); text-shadow: var(--k-tshadow); }

/* the scroll cue */
.cue { position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: .4em; text-transform: uppercase; color: var(--ivory); opacity: calc(1 - var(--k-p, 0) * 12); pointer-events: none; }
.cue::after { content: ""; width: 1px; height: 46px; background: linear-gradient(var(--gold-hi), transparent); animation: cue 2.2s var(--k-ease) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cue::after { animation: none; } }

/* ---------- sections ---------- */
section { position: relative; }
.wrap { width: min(1240px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.on-light { background: var(--ivory); color: var(--ink); }
.on-light .eyebrow { color: #7d5f27; }

/* manifesto */
.manifesto { padding: clamp(110px, 16vw, 220px) 0 clamp(90px, 12vw, 170px); }
.manifesto .grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.pyramid { position: relative; aspect-ratio: 1 / 1.02; max-width: 520px; width: 100%; justify-self: center; }
.pyramid svg { width: 100%; height: 100%; overflow: visible; }
.pyramid .tier { fill: none; stroke: #7d5f27; stroke-width: 1.2; }
.pyramid .peak { fill: url(#gold); }
.pyramid text { font-family: var(--sans); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; fill: var(--stone-ink); }
.pyramid text.top { fill: #7d5f27; font-weight: 500; }
.statement { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 4.2vw, 68px); line-height: 1.06; margin: 0 0 30px; letter-spacing: -.005em; }
.statement em { font-style: italic; color: #7d5f27; }
.manifesto p.lede { font-family: var(--serif); font-size: clamp(21px, 1.6vw, 26px); line-height: 1.5; color: #2c251d; margin: 0 0 22px; max-width: 34rem; }
.manifesto cite { display: block; font-style: normal; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--stone-ink); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgb(11 10 9 / .14); margin-top: clamp(70px, 9vw, 130px); }
.pillar { padding: 34px 28px 10px 0; text-decoration: none; display: block; }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid rgb(11 10 9 / .14); }
.pillar .k { font-family: var(--display); font-style: italic; color: #7d5f27; font-size: 20px; }
.pillar h3 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.4vw, 38px); margin: 8px 0 6px; }
.pillar p { margin: 0; color: #3b3228; }
.pillar h3 { text-wrap: balance; }
.pillar:hover h3 { color: #7d5f27; }
/* four apps: two by two on tablets */
@media (max-width: 1100px) and (min-width: 861px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .pillar:nth-child(odd) { padding-left: 0; border-left: 0; }
  .pillar:nth-child(n+3) { border-top: 1px solid rgb(11 10 9 / .14); }
}
@media (max-width: 860px) {
  .manifesto .grid { grid-template-columns: 1fr; }
  .pyramid { max-width: 340px; order: 2; }
  .pillars { grid-template-columns: 1fr; }
  .pillar + .pillar { padding-left: 0; border-left: 0; border-top: 1px solid rgb(11 10 9 / .14); }
}

/* app chapters */
.chapter { padding: clamp(100px, 13vw, 190px) 0; overflow: hidden; }
.chapter-head { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: center; margin-bottom: clamp(40px, 5vw, 70px); }
.app-icon { width: clamp(72px, 7vw, 96px); aspect-ratio: 1; border-radius: 24%; overflow: hidden; box-shadow: 0 18px 40px rgb(0 0 0 / .28), 0 0 0 1px rgb(201 164 92 / .35); }
.app-icon img, .app-icon svg { width: 100%; height: 100%; object-fit: cover; }
.chapter h2 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.6vw, 110px); line-height: .95; margin: 0; letter-spacing: -.01em; }
.chapter h2 .q { color: var(--gold); }
.chapter h2 { text-wrap: balance; }
.chapter .tagline { font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 38px); margin: 12px 0 0; line-height: 1.2; }
.chapter-body { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.chapter.flip .chapter-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); }
.chapter.flip .chapter-media { order: 2; }
.chapter-media .fx-tilt-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 50px 100px -30px rgb(0 0 0 / .55), 0 0 0 1px rgb(201 164 92 / .28); background: #111; }
.device { padding: clamp(10px, 1.1vw, 16px); border-radius: clamp(22px, 2.4vw, 34px); background: linear-gradient(145deg, #2a2724, #0d0c0b); box-shadow: 0 60px 120px -40px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .06); }
.device img { border-radius: clamp(12px, 1.4vw, 20px); }
.caption-note { font-size: 13px; letter-spacing: .04em; margin-top: 16px; opacity: .72; }
.chapter-copy p { margin: 0 0 22px; }
.chapter-copy .big { font-family: var(--serif); font-size: clamp(22px, 1.7vw, 27px); line-height: 1.45; }
.feature-list { list-style: none; padding: 0; margin: 30px 0 38px; border-top: 1px solid currentColor; border-color: rgb(127 110 90 / .35); }
.feature-list li { padding: 16px 0 16px 34px; border-bottom: 1px solid rgb(127 110 90 / .35); position: relative; }
.feature-list li::before { content: ""; position: absolute; left: 4px; top: 25px; width: 12px; height: 12px; transform: rotate(45deg); border: 1px solid var(--gold); }
.feature-list b { font-weight: 500; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.fine { font-size: 13px; opacity: .7; margin-top: 22px; max-width: 30rem; }
.fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.sections-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; list-style: none; }
.sections-row li { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; padding: 8px 14px; border: 1px solid rgb(127 110 90 / .4); border-radius: 999px; }
.sections-row li.on { border-color: var(--gold); color: #7d5f27; background: rgb(201 164 92 / .1); }
.on-dark { background: var(--ink); color: var(--ivory); }
.on-dark .sections-row li.on { color: var(--gold-hi); }
.chapter.night { background: radial-gradient(ellipse 80% 60% at 70% 30%, #17201f 0%, var(--ink) 70%); }
@media (max-width: 960px) {
  .chapter-body, .chapter.flip .chapter-body { grid-template-columns: 1fr; }
  .chapter.flip .chapter-media { order: 0; }
  .chapter-head { grid-template-columns: 1fr; gap: 18px; }
}

/* interlude still */
.interlude { height: min(86vh, 900px); height: min(86svh, 900px); overflow: hidden; display: grid; place-items: end start; }
.interlude img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.interlude::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 9 8 / .75), transparent 60%), linear-gradient(transparent 50%, rgb(10 9 8 / .6)); }
.interlude blockquote { position: relative; z-index: 1; margin: 0 var(--gutter) clamp(60px, 10vh, 120px); max-width: 40rem; }
.interlude blockquote p { font-family: var(--display); font-size: clamp(32px, 4vw, 64px); line-height: 1.08; margin: 0; }
.interlude blockquote p em { color: var(--gold-hi); }

/* closing */
.closing { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 140px var(--gutter); }
.closing > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 70% at 50% 40%, rgb(10 9 8 / .35), rgb(10 9 8 / .82)); }
.closing .inner { position: relative; z-index: 1; max-width: 72rem; }
.closing .mark { width: 92px; margin: 0 auto 34px; }
.closing h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 104px); line-height: 1; margin: 0 0 26px; }
.closing h2 em { color: var(--gold-hi); }
.closing h2 { max-width: 60rem; margin-left: auto; margin-right: auto; text-wrap: balance; }
.interlude blockquote p span { display: block; }
.closing p { font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.8vw, 28px); margin: 0 auto 40px; max-width: 36rem; }
.trio { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1120px; margin: 0 auto; }
.trio a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; text-decoration: none; text-align: left;
  background: rgb(20 18 15 / .55); border: 1px solid rgb(201 164 92 / .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: border-color .3s, transform .3s; }
.trio a:hover { border-color: var(--gold); transform: translateY(-2px); }
.trio img, .trio svg { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.trio b { display: block; font-weight: 500; font-size: 15px; }
.trio span { font-size: 13px; opacity: .75; }
@media (max-width: 1100px) { .trio { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; } }
@media (max-width: 760px) { .trio { grid-template-columns: 1fr; max-width: 420px; } }

/* footer */
footer { background: #070605; padding: 70px var(--gutter) 46px; font-size: 14px; }
footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; align-items: flex-start; border-bottom: 1px solid rgb(201 164 92 / .2); padding-bottom: 46px; }
footer .wordmark { width: min(440px, 80vw); }
footer nav { display: grid; grid-template-columns: repeat(2, auto); gap: 10px 46px; }
@media (min-width: 1000px) { footer nav { grid-template-columns: repeat(3, auto); } }
footer nav a { text-decoration: none; opacity: .8; }
footer nav a:hover { opacity: 1; color: var(--gold-hi); }
footer .legal { display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: space-between; padding-top: 26px; opacity: .6; font-size: 13px; }

/* static hero (reduced motion, no film): stack the captions over the poster */
.hero.k-static .k-band { position: relative; inset: auto; transform: none; opacity: 1; visibility: visible; margin: 0 0 clamp(18px, 3vh, 34px); max-width: 46rem; text-align: left; }
.hero.k-static .band-end p { margin-left: 0; }

/* screen-reader-only text */
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero-title em { font-style: italic; color: var(--gold-hi); text-transform: none; letter-spacing: 0; }
.band-first { left: auto; right: clamp(20px, 6vw, 96px); text-align: right; max-width: 46rem; }
.band-first .hero-title { font-size: clamp(38px, 5.2vw, 92px); text-transform: none; letter-spacing: -.005em; line-height: 1.02; }
.band-two { max-width: 34rem; }
.band-two .hero-line { font-size: clamp(26px, 2.6vw, 42px); }

/* the app names ride the iPad on wide screens and phones (filmtype, data-ft-replaces; the portrait film has
   its own phone.ipad track since 2026-11-25). The HTML captions show only until the film is ready, and in
   the still hero. */
@media (max-width: 720px) {
  .band-first { left: clamp(20px, 6vw, 96px); text-align: left; }
  .band-app { top: clamp(84px, 12vh, 120px); bottom: auto; }
}

/* ---------- legibility over the film: sturdier optical sizes, deeper scrims ---------- */
.hero-title, .band-app h2, .band-end h2, .ft-app { font-variation-settings: "opsz" 14; font-weight: 560; }
.ft-num { font-weight: 600; }
.ft-tag { font-weight: 500; }
.hero .k-band::before { inset: -40% -18%; background: radial-gradient(closest-side, rgb(10 9 8 / .74), rgb(10 9 8 / .35) 65%, transparent); }
.band-end::before { inset: -30% -10% !important; background: radial-gradient(closest-side, rgb(10 9 8 / .8), rgb(10 9 8 / .45) 70%, transparent) !important; }
.hero-line, .band-app p, .band-end p { font-weight: 500; }
.hero .eyebrow { font-weight: 600; }
.hero .shade { background: radial-gradient(ellipse 120% 90% at 50% 45%, transparent 34%, rgb(10 9 8 / .62) 100%),
  linear-gradient(transparent 55%, rgb(10 9 8 / .55)), linear-gradient(rgb(10 9 8 / .35), transparent 22%); }
.band-first { left: clamp(20px, 6vw, 96px); right: auto; text-align: left; max-width: 40rem; }
.band-first .hero-line { font-size: clamp(22px, 2vw, 32px); margin-top: 14px; color: var(--gold-hi); }

/* comfortable tap targets */
.brand { min-height: 44px; padding: 4px 0; }
.nav a { min-height: 44px; display: inline-flex; align-items: center; }
footer nav a { display: inline-flex; align-items: center; min-height: 44px; }
.trio .n { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--gold);
  font-family: var(--display); font-style: italic; font-size: 17px; color: var(--gold-hi); }
.band-first .hero-line { font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: .3em; text-transform: uppercase; }
/* the hero's action sits on the film, so it is glass (gold edge, ivory text), not a solid gold block */
.btn-glass { color: var(--ivory); border: 1px solid rgb(233 210 154 / .75); background: rgb(14 12 10 / .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); text-shadow: none; }
.btn-glass:hover { background: rgb(201 164 92 / .28); border-color: var(--gold-hi); }
.band-first { max-width: 34rem; }
.band-first::before { inset: -26% -16% -20% -16% !important;
  background: radial-gradient(ellipse 70% 70% at 45% 55%, rgb(10 9 8 / .84) 45%, rgb(10 9 8 / .55) 75%, transparent 100%) !important; }
.band-end::before { background: radial-gradient(closest-side, rgb(10 9 8 / .88), rgb(10 9 8 / .55) 70%, transparent) !important; }
.brand { min-width: 44px; justify-content: flex-start; padding-right: 6px; }
.band-first::before { inset: -45% -30% -40% -30% !important;
  background: radial-gradient(closest-side, rgb(10 9 8 / .86) 52%, rgb(10 9 8 / .5) 78%, transparent 100%) !important; }

/* lower-page display type: a sturdier optical size so hairlines hold at large sizes */
.statement, .chapter h2, .closing h2, .interlude blockquote p, .pillar h3 { font-variation-settings: "opsz" 26; font-weight: 500; }
.chapter .tagline, .closing p { font-weight: 500; }

/* header: once past the film it becomes a dark glass bar, readable over ivory and black alike */
.site-header { transition: background .4s, padding .4s, box-shadow .4s; }
.site-header.solid { background: rgb(11 10 9 / .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 rgb(201 164 92 / .22); padding-top: 12px; padding-bottom: 12px; }
.closing .mark { width: 110px; }
/* captions riding the iPad: sturdier strokes and a soft dark halo so city bokeh never breaks the letters */
.ft-app { font-variation-settings: "opsz" 11; font-weight: 640;
  text-shadow: 0 1px 2px rgb(8 7 6 / .95), 0 0 18px rgb(8 7 6 / .85), 0 0 46px rgb(8 7 6 / .75), 0 0 90px rgb(8 7 6 / .55); }
.ft-tag { font-weight: 600; text-shadow: 0 1px 2px rgb(8 7 6 / .95), 0 0 14px rgb(8 7 6 / .85), 0 0 36px rgb(8 7 6 / .7); }
.ft-num { text-shadow: 0 1px 2px rgb(8 7 6 / .95), 0 0 12px rgb(8 7 6 / .85); }
/* filmtype paints scaling captions on a canvas, which ignores font-variation-settings: use a fixed sturdy instance */
@font-face { font-family: "Bodoni Sturdy"; src: url(fonts/bodoni-sturdy.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
.ft-app { font-family: "Bodoni Sturdy", "Bodoni Moda", serif; font-weight: 400; font-variation-settings: normal; }
.band-end .btn { white-space: nowrap; }
/* interlude: the quote sits in the calm dark of her hair (upper left), clear of the iPad */
.interlude { place-items: start start; }
.interlude::after { background: radial-gradient(ellipse 60% 70% at 18% 22%, rgb(10 9 8 / .7), transparent 70%), linear-gradient(transparent 70%, rgb(10 9 8 / .5)); }
.interlude blockquote { margin: clamp(110px, 16vh, 170px) var(--gutter) 0; max-width: min(30rem, 36vw); }
.interlude blockquote p { font-size: clamp(30px, 3.2vw, 54px); }
@media (max-width: 760px) {
  .interlude img { object-position: 64% center; }
  .interlude blockquote { max-width: 72vw; margin-top: 96px; }
}

/* ---------- Photo Studio bar: fixed above the header, so it never moves the page ---------- */
:root { --promo-h: calc(44px + env(safe-area-inset-top, 0px)); }
html.promo-off { --promo-h: 0px; }
.promo {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: var(--promo-h); padding-top: env(safe-area-inset-top, 0px);
  display: flex; align-items: center; background: rgb(11 10 9 / .9);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: inset 0 -1px 0 rgb(201 164 92 / .3);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s;
}
html.promo-off .promo { transform: translateY(-100%); visibility: hidden; transition: transform .4s cubic-bezier(.2,.7,.2,1), visibility 0s .4s; }
.promo-link {
  flex: 1; align-self: stretch; display: flex; align-items: center; justify-content: center; gap: .7em; padding: 0 0 0 44px;
  font-family: var(--sans); font-weight: 400; font-size: 11px; line-height: 1; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ivory); text-decoration: none; white-space: nowrap; min-width: 0;
}
.promo-name { font-weight: 500; }
.promo-for { color: rgb(244 237 225 / .72); margin-left: -.25em; }
.promo-dot { color: var(--gold); }
.promo-cta { color: var(--gold-hi); text-decoration: underline; text-decoration-color: rgb(233 210 154 / .45); text-underline-offset: 4px; }
.promo-link:hover .promo-cta { text-decoration-color: var(--gold-hi); }
.promo-link:focus-visible, .promo-close:focus-visible { outline-offset: -4px; }
.promo-close {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; margin: 0; padding: 0; border: 0; background: none;
  color: rgb(244 237 225 / .7); cursor: pointer; border-radius: 0;
}
.promo-close:hover { color: var(--gold-hi); }
.site-header { top: var(--promo-h); transition: background .4s, padding .4s, box-shadow .4s, top .4s cubic-bezier(.2,.7,.2,1); }
@media (max-width: 620px) {
  .promo-long { display: none; }
  .promo-link { font-size: 10.5px; letter-spacing: .16em; gap: .6em; }
}
@media (max-width: 360px) {
  .promo-link { padding-left: 14px; letter-spacing: .1em; gap: .5em; }
}
/* while the bar shows, the film's top-anchored words step down by its height (they live in the fixed stage, so the page never moves) */
@media (max-width: 720px) {
  .band-app { top: calc(clamp(84px, 12vh, 120px) + var(--promo-h)); transition: top .4s cubic-bezier(.2,.7,.2,1); }
  .band-end { top: calc(clamp(96px, 16vh, 190px) + var(--promo-h)); transition: top .4s cubic-bezier(.2,.7,.2,1); }
}
@media (prefers-reduced-motion: reduce) { .band-end, .band-app { transition: none; } }
@media (prefers-reduced-motion: reduce) { .promo, html.promo-off .promo, .site-header { transition: none; } }

/* ---------- film loading ring: fills in gold while the film downloads ---------- */
.hero .k-ring {
  right: max(20px, env(safe-area-inset-right, 0px)); bottom: 24px; width: 30px; height: 30px; opacity: 1;
  background: conic-gradient(var(--gold-hi) calc(var(--k-load, 0) * 1turn), rgb(244 237 225 / .2) 0);
  -webkit-mask: radial-gradient(circle, transparent 58%, #000 61%); mask: radial-gradient(circle, transparent 58%, #000 61%);
  filter: drop-shadow(0 1px 3px rgb(8 7 6 / .8));
}
/* still-photo fallback (site.js): when the film can't play, the captions stack over the poster */
.hero.k-static .k-band { --k: 1 !important; }

/* ---------- film fills the whole screen on phones ----------
   The engine sizes the stage to the small viewport (Safari toolbar shown), so once the toolbar
   shrinks a dark strip showed under the film. Size it to the large viewport instead; the parts
   anchored to the bottom rise by the toolbar's height so they stay clear of it when it shows.
   On desktop both viewports are equal, so nothing changes there. */
.hero { --tb: 0px; --tb: calc(100lvh - 100svh); }
.hero:not(.k-static) .k-stage { height: 100lvh; }
.hero:not(.k-static) .band-first { bottom: calc(clamp(56px, 13vh, 150px) + var(--tb)); }
.hero:not(.k-static) .cue { bottom: calc(22px + var(--tb)); }
/* the list of apps keeps each name whole; on phones the opening words sit clear of the scroll cue */
.hero-line span { white-space: nowrap; }
.band-first .hero-line { text-wrap: balance; }
@media (max-width: 720px) { .hero:not(.k-static) .band-first { bottom: calc(max(108px, 13vh) + var(--tb)); } }
.hero:not(.k-static) .k-ring { bottom: calc(24px + var(--tb)); }
/* phone film mirror (site.js): a canvas over the phone video that shows each frame together with the words
   riding the iPad; it fades in with the film and goes away with it */
.hero .k-stage > canvas.sat-mirror { pointer-events: none; }
.k-media-ready .k-stage > canvas.sat-mirror { opacity: 1; }
.k-media-failed .k-stage > canvas.sat-mirror,
.k-static .k-stage > canvas.sat-mirror { display: none; }
