/* photobird.app — one stylesheet for the home page, the legal pages and the 404.
   Paper, one warm ink in three strengths, one accent, the walnut the app's books lie on
   (DESIGN_SYSTEM.md). The interface face is the system's own; nothing here is printed in a book,
   so there is no serif. Motion is CSS scroll-driven animation, and the one script turns the page;
   with less motion asked for, everything simply sits still. */
:root {
  --paper: #fefdfc;
  --paper-2: #f7f3ed;
  --ink-strong: #2b241c;
  --ink: #584a3b;
  --ink-muted: #7a6b5a;
  --hairline: #e9e1d6;
  --accent: #007db0;
  --accent-deep: #005c8d;
  --walnut: #3f2114;
  --wood-top: #703a23;
  --wood-bottom: #3b1f1f;
  --cream: #f8efe4;
  --bezel: #1d1d1f;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1068px;
  --gutter: 22px;
  --nav: 52px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.53 var(--font); letter-spacing: -0.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh; display: flex; flex-direction: column;
}
body > main { flex: 1 0 auto; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 0.18em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: 0 auto; }
.wrap.narrow { width: min(820px, 100% - 2 * var(--gutter)); text-align: center; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---- the App Store switch (index.html's data-store) ---- */
html[data-store="soon"] .if-live, html[data-store="live"] .if-soon { display: none !important; }

/* ---- the bar across the top ---- */
.nav { position: sticky; top: 0; z-index: 10;
  background: rgba(254, 253, 252, 0.8); -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent; }
.nav.ruled { border-bottom-color: var(--hairline); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: var(--nav); }
.brand { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-strong); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 22px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 24px; font-size: 13px; letter-spacing: -0.005em; }
.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--ink-strong); text-decoration: none; }
.nav-links .pill { padding: 4px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; }
.nav-links .pill:hover { background: var(--accent-deep); color: #fff; }

/* ---- type shared by the home page's sections ---- */
.home h2 {
  margin: 0 auto; color: var(--ink-strong); text-wrap: balance;
  font: 700 clamp(36px, 5.4vw, 68px)/1.06 var(--font-display); letter-spacing: -0.032em;
}
.home .sub {
  margin: clamp(16px, 2vw, 24px) auto 0; max-width: 32em; color: var(--ink); text-wrap: pretty;
  font-size: clamp(19px, 1.9vw, 23px); line-height: 1.42; letter-spacing: -0.016em;
}
.band { padding: clamp(104px, 13vw, 176px) 0 0; }

/* ---- the hero ---- */
.hero { text-align: center; padding: clamp(60px, 8.5vw, 120px) 0 clamp(56px, 7vw, 96px); }
.eyebrow { margin: 0 0 clamp(12px, 1.6vw, 18px); color: var(--accent-deep); font: 600 clamp(19px, 2vw, 24px)/1.2 var(--font-display); letter-spacing: -0.02em; }
.hero h1 {
  margin: 0 auto; max-width: 13.5em; color: var(--ink-strong); text-wrap: balance;
  font: 700 clamp(44px, 7vw, 96px)/1.02 var(--font-display); letter-spacing: -0.038em;
}
.hero .lede {
  margin: clamp(20px, 2.6vw, 30px) auto 0; max-width: 26em; color: var(--ink); text-wrap: balance;
  font-size: clamp(20px, 2vw, 25px); line-height: 1.38; letter-spacing: -0.018em;
}
.get { display: flex; flex-direction: column; align-items: center; margin-top: clamp(30px, 3.6vw, 42px); }
.soon {
  display: inline-flex; align-items: center; gap: 10px; margin: 0;
  padding: 11px 22px 11px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hairline);
  box-shadow: 0 1px 2px rgba(63, 33, 20, 0.06), 0 6px 18px -8px rgba(63, 33, 20, 0.18);
  color: var(--ink-strong); font-size: 16px; font-weight: 500; letter-spacing: -0.01em; line-height: 1.2;
}
.soon::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(0, 125, 176, 0.14); }
.badge img { width: 150px; height: auto; }
.badge:hover { opacity: 0.85; }
.free { margin: 14px 0 0; color: var(--ink-muted); font-size: 15px; letter-spacing: -0.005em; }

/* ---- the turn: the book on the walnut ----
   Without the script (or with less motion asked for): the still from the middle of the turn, its
   title above it on the paper. With it (html.scrub, site.js): a tall section whose stage stays put
   while the page turns under the reader's scrolling, either on the walnut with the title on the
   wood, or (.as-picture, a phone held upright) the frame across the width with its wood carried
   on above it for the title. */
.turn { position: relative; }
.home .turn-title { margin: 0 auto clamp(28px, 3.4vw, 44px); padding: 0 var(--gutter); text-align: center; }
.stage { position: relative; overflow: hidden; aspect-ratio: 1680 / 914; max-height: 92vh; margin: 0 auto;
  background: linear-gradient(var(--wood-top), var(--wood-bottom)); }
.stage picture, .stage .poster { width: 100%; height: 100%; }
.stage .poster { object-fit: cover; }
.frames, .stage-title { display: none; }
html.scrub .home .turn-title, html.scrub .turn-title { position: absolute; width: 1px; height: 1px; margin: 0; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html.scrub .turn { height: 290vh; }
html.scrub .stage { position: sticky; top: var(--nav); height: calc(100vh - var(--nav)); height: calc(100svh - var(--nav)); aspect-ratio: auto; max-height: none; }
html.scrub .stage picture { opacity: 0; }
html.scrub .frames { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
html.scrub .stage-title {
  display: block; position: absolute; left: 0; right: 0; top: clamp(16px, 5vh, 72px); margin: 0 auto; padding: 0 var(--gutter);
  text-align: center; color: var(--cream); text-shadow: 0 1px 18px rgba(30, 12, 6, 0.35); text-wrap: balance;
  font: 700 clamp(28px, min(4.4vw, 7.2vh), 60px)/1.06 var(--font-display); letter-spacing: -0.032em;
  opacity: var(--title, 1); transform: translateY(calc((var(--title, 1) - 1) * 18px));
}

/* ---- simple by design ---- */
.window { width: min(1000px, 92vw); margin: clamp(48px, 6vw, 80px) auto 0; }
.window img { width: 100%; filter: drop-shadow(0 2px 3px rgba(43, 36, 28, 0.12)) drop-shadow(0 34px 50px rgba(43, 36, 28, 0.28)); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: clamp(64px, 8vw, 112px); }
.tile { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center;
  background: var(--paper-2); border-radius: 30px; padding: clamp(36px, 4vw, 52px) clamp(28px, 3.6vw, 48px) 0; text-align: center; }
.tile h3 { margin: 0; color: var(--ink-strong); text-wrap: balance; font: 700 clamp(25px, 2.5vw, 32px)/1.12 var(--font-display); letter-spacing: -0.026em; }
.tile p { margin: 12px auto 0; max-width: 24em; font-size: 17px; line-height: 1.47; color: var(--ink); text-wrap: pretty; }
/* A page of the book close up (the app's own picture), filling the tile's foot and running off its
   sides, its top dissolving into the tile; over it the one control that made it, drawn here in the
   app's own colours (its layouts panel, its caption box) so it is sharp at any size. Not a
   screenshot of the whole window: a wall of grey boxes and a keyboard said "amateur" (Kevin,
   2026-10-27). */
.tile .scene { position: relative; align-self: stretch; margin: auto calc(-1 * clamp(28px, 3.6vw, 48px)) 0; padding-top: clamp(28px, 3.4vw, 40px); }
.tile .scene img { display: block; width: 100%; -webkit-mask-image: linear-gradient(transparent, #000 22%); mask-image: linear-gradient(transparent, #000 22%); }
/* A photo cut across by the picture's top edge only softens it: dissolved further, it reads as a ghost. */
.tile .scene.macro img { -webkit-mask-image: linear-gradient(transparent, #000 9%); mask-image: linear-gradient(transparent, #000 9%); }
.picker, .type { position: absolute; left: 50%; bottom: clamp(16px, 2.4vw, 28px); translate: -50% 0; box-sizing: border-box; text-align: left;
  background: #f9f7f3; box-shadow: 0 0 0 0.5px rgba(43, 36, 28, 0.12), 0 2px 5px rgba(43, 36, 28, 0.1), 0 24px 48px -18px rgba(43, 36, 28, 0.5); }
.picker { width: min(84%, 380px); padding: 11px 13px 13px; border-radius: 13px; }
.tile .picker p { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; max-width: none; color: #6b5f52; font: 700 10px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; }
.tile .picker p::after { content: ""; flex: 1; height: 1px; background: rgba(43, 36, 28, 0.12); }
.lays { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.lay { position: relative; aspect-ratio: 1.3; border-radius: 2px; background: #fcfbf9; box-shadow: 0 0 0 0.5px #d2cec4, 0 1px 2px rgba(43, 36, 28, 0.1); }
.lay.on { box-shadow: 0 0 0 0.5px #d2cec4, 0 0 0 3.5px #ebe5d7, 0 0 0 4.5px #d1c09e; }
.lay i, .lay b { position: absolute; background: #cfcecc; }
.lay.k-side i { top: 6%; bottom: 6%; left: 6%; width: 43%; }
.lay.k-side i + i { left: 51%; }
.lay.k-worded i { bottom: 17%; }
.lay b { bottom: 9%; left: 6%; width: 27%; height: 1.5px; background: #b4afa7; }
.lay b + b { left: 51%; }
.lay.k-middle i { top: 22%; bottom: 22%; left: 6%; width: 41%; }
.lay.k-middle i + i { left: 53%; }
.lay.k-stack i { top: 6%; left: 25%; right: 25%; height: 42%; }
.lay.k-stack i + i { top: 52%; }
.type { display: flex; gap: 6px; padding: 6px; border-radius: 12px; white-space: nowrap; }
.type span { display: inline-flex; align-items: center; gap: 9px; padding: 6px 10px; border-radius: 7px; background: #fff;
  box-shadow: 0 0 0 0.5px #d2cec4; color: var(--ink-strong); font-size: 14px; line-height: 1.25; letter-spacing: -0.01em; }
.type span::after { content: ""; width: 5px; height: 5px; margin: -3px 1px 0; border: solid var(--ink-muted); border-width: 0 1.5px 1.5px 0; rotate: 45deg; }

/* ---- the devices, drawn round the app's own pictures ---- */
.phone, .ipad, .duo-closed { position: relative; background: var(--bezel); box-shadow: inset 0 0 0 1.5px #3b3b3e, 0 2px 4px rgba(43, 36, 28, 0.12), 0 30px 60px -22px rgba(43, 36, 28, 0.5); }
.phone { --w: 230px; width: var(--w); padding: calc(var(--w) * 0.034); border-radius: calc(var(--w) * 0.16); }
.phone img { width: 100%; border-radius: calc(var(--w) * 0.128); }
.phone::after { content: ""; position: absolute; left: 50%; top: calc(var(--w) * 0.062); width: calc(var(--w) * 0.29); height: calc(var(--w) * 0.083);
  transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone.large { --w: clamp(236px, 26vw, 300px); }
.ipad { --w: 250px; width: var(--w); padding: calc(var(--w) * 0.042); border-radius: calc(var(--w) * 0.075); }
.ipad img { width: 100%; border-radius: calc(var(--w) * 0.036); }
.duo-closed { --w: clamp(220px, 24vw, 280px); width: var(--w); padding: calc(var(--w) * 0.045); border-radius: calc(var(--w) * 0.11);
  border-left: calc(var(--w) * 0.03) solid #2c2c2f; }
.duo-closed img { width: 100%; border-radius: calc(var(--w) * 0.07); }
.mac { --w: min(700px, 74vw); width: calc(var(--w) * 1.14); margin: 0 auto; }
.mac-screen { width: var(--w); margin: 0 auto; padding: calc(var(--w) * 0.024) calc(var(--w) * 0.024) calc(var(--w) * 0.034);
  background: var(--bezel); border-radius: calc(var(--w) * 0.032) calc(var(--w) * 0.032) 0 0; box-shadow: inset 0 0 0 1.5px #3b3b3e; }
.mac-screen img { width: 100%; }
.mac-base { position: relative; height: calc(var(--w) * 0.032); border-radius: 0 0 calc(var(--w) * 0.05) calc(var(--w) * 0.05) / 0 0 100% 100%;
  background: linear-gradient(#e6e6e8, #c4c5c8 55%, #9fa0a4); box-shadow: 0 24px 40px -18px rgba(43, 36, 28, 0.45); }
.mac-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 16%; height: 38%; transform: translateX(-50%);
  border-radius: 0 0 8px 8px; background: #b3b4b8; }

/* ---- a year in pictures: the Library's walnut table ---- */
.table { margin-top: clamp(52px, 6vw, 80px); padding: clamp(64px, 8vw, 116px) 0;
  background: radial-gradient(ellipse 80% 70% at 50% 0%, rgba(255, 214, 170, 0.16), transparent 70%), url("/home/walnut.webp") center / 1100px repeat; }
.cards { display: flex; justify-content: center; align-items: flex-end; gap: clamp(14px, 3.6vw, 52px); width: min(1180px, 100% - 2 * var(--gutter)); margin: 0 auto; }
.card { width: min(330px, 29vw); border-radius: 2px; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35), 0 22px 34px -10px rgba(0, 0, 0, 0.55); }
.card.c3 { width: min(262px, 23vw); }

/* ---- always in sync ---- */
.sync { background: var(--paper-2); padding-bottom: clamp(96px, 12vw, 160px); }
.devices { position: relative; width: min(1040px, 100% - 2 * var(--gutter)); margin: clamp(56px, 7vw, 96px) auto 0; padding-bottom: 2%; }
.devices .ipad { --w: min(250px, 26vw); position: absolute; left: 2%; bottom: 0; }
.devices .phone { --w: min(150px, 15.5vw); position: absolute; right: 4%; bottom: 0; }

/* ---- share it; made for iPhone Duo ---- */
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: clamp(40px, 6vw, 96px); }
.split.flip { grid-template-columns: 0.9fr 1.1fr; }
.split.flip .split-text { order: 2; }
.split .split-text { text-align: left; }
.split h2, .split .sub { margin-left: 0; }
.split .phone, .split .duo-closed { justify-self: center; }
.kicker { margin: 14px 0 0; color: var(--accent-deep); font: 600 clamp(21px, 2.2vw, 28px)/1.2 var(--font-display); letter-spacing: -0.022em; }
.duo { background: var(--paper-2); margin-top: clamp(104px, 13vw, 176px); padding-bottom: clamp(104px, 13vw, 176px); }

/* ---- order a beautiful hardcover. or not. ---- */
/* The printed book itself, at home on a coffee table: a photograph, its corners rounded like the
   page's other pictures, between the words and the price. */
.printed { width: min(1000px, 92vw); margin: clamp(40px, 5vw, 64px) auto 0; }
.printed img { display: block; width: 100%; border-radius: clamp(16px, 2vw, 24px);
  box-shadow: 0 1px 3px rgba(43, 36, 28, 0.12), 0 30px 60px -28px rgba(43, 36, 28, 0.45); }
.hardcover .price { display: inline-block; margin: clamp(28px, 3.4vw, 40px) auto 0; padding: 14px 26px; border-radius: 999px;
  background: #fff; border: 1px solid var(--hairline); box-shadow: 0 1px 2px rgba(63, 33, 20, 0.05);
  color: var(--ink-strong); font-size: 17px; line-height: 1.4; text-wrap: balance; }
.hardcover .price strong { font-weight: 600; }
.hardcover .fine { margin: 16px 0 0; color: var(--ink-muted); font-size: 15px; }

/* ---- your photos stay yours ---- */
.privacy { background: var(--paper-2); margin-top: clamp(104px, 13vw, 176px); padding-bottom: clamp(88px, 11vw, 140px); }
.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(44px, 5vw, 64px); padding: 0; list-style: none; }
.promises li { background: #fff; border-radius: 24px; padding: 34px 30px 36px; text-align: center; }
.promises svg { width: 38px; height: 38px; margin: 0 auto; fill: none; stroke: var(--accent-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; display: block; }
.promises h3 { margin: 16px 0 0; color: var(--ink-strong); font: 700 22px/1.2 var(--font-display); letter-spacing: -0.022em; }
.promises p { margin: 8px 0 0; font-size: 16px; line-height: 1.48; }
.more { margin-top: 30px; text-align: center; font-size: 17px; }

/* ---- the sign-off ---- */
.close { text-align: center; padding: clamp(104px, 12vw, 160px) 0 clamp(80px, 9vw, 120px); }
.app-icon { width: 96px; height: 96px; margin: 0 auto 24px; border-radius: 22.5%; box-shadow: 0 1px 2px rgba(43, 36, 28, 0.12), 0 12px 28px -10px rgba(43, 36, 28, 0.35); }
.close h2 { font-size: clamp(32px, 4vw, 48px) !important; }
.close .sub { margin-top: 10px !important; }
.elsewhere { margin: clamp(48px, 6vw, 64px) auto 0; max-width: 30em; padding: 18px 24px; border-radius: 18px; background: var(--paper-2);
  color: var(--ink); font-size: 15px; line-height: 1.5; text-wrap: pretty; }

/* ---- legal and support pages ---- */
.doc { width: min(600px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: clamp(48px, 7vw, 96px) 0 clamp(72px, 9vw, 120px); }
.doc h1 { margin: 0; color: var(--ink-strong); font: 700 clamp(36px, 5vw, 56px)/1.05 var(--font-display); letter-spacing: -0.034em; }
.doc .meta { margin: 14px 0 0; color: var(--ink-muted); font-size: 15px; }
.doc .meta span { white-space: nowrap; }
.doc .intro { margin-top: 32px; padding-bottom: 8px; font-size: 20px; line-height: 1.5; color: var(--ink-strong); letter-spacing: -0.016em; }
.doc h2 { margin: 48px 0 0; color: var(--ink-strong);
  font: 600 23px/1.25 var(--font-display); letter-spacing: -0.022em; }
.doc h3 { margin: 28px 0 0; color: var(--ink-strong); font: 600 18px/1.3 var(--font-display); letter-spacing: -0.016em; }
.doc p, .doc ul { margin: 12px 0 0; }
.doc ul { padding-left: 1.2em; }
.doc li { margin: 8px 0 0; padding-left: 0.2em; }
.doc li::marker { color: var(--ink-muted); }
.doc strong { color: var(--ink-strong); font-weight: 600; }
.doc .contact { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--hairline); color: var(--ink-muted); font-size: 15px; }
.doc .write { display: inline-block; margin-top: 18px; padding: 10px 20px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 500; font-size: 16px; }
.doc .write:hover { background: var(--accent-deep); text-decoration: none; }

/* ---- a page that is not here ---- */
.missing { min-height: calc(100vh - 52px - 120px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 72px 0; }
.missing h1 { margin: 0; color: var(--ink-strong); font: 700 clamp(36px, 5vw, 56px)/1.05 var(--font-display); letter-spacing: -0.034em; }
.missing p { margin: 14px 0 0; max-width: 28em; font-size: 19px; line-height: 1.45; }
.missing .home { margin-top: 22px; font-size: 17px; }

/* ---- footer ---- */
.foot { background: var(--paper-2); border-top: 1px solid var(--hairline); color: var(--ink-muted); font-size: 12.5px; line-height: 1.4; letter-spacing: -0.005em; }
.foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px;
  padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 0; }
.foot nav a { color: var(--ink); }
.foot nav a + a::before { content: ""; display: inline-block; width: 1px; height: 0.8em; margin: 0 12px; background: #cdbfad; vertical-align: -0.05em; }
.foot nav a:hover { color: var(--ink-strong); }

/* ---- motion: things rise into place as they come into view ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 24%; }
    .card { animation: deal linear both; animation-timeline: view(); }
    .card.c1 { --tilt: -4deg; animation-range: entry 0% cover 32%; }
    .card.c2 { --tilt: 3deg; animation-range: entry 12% cover 44%; }
    .card.c3 { --tilt: -2deg; animation-range: entry 24% cover 56%; }
    .devices .mac { animation: rise-far linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    .devices .ipad { animation: from-left linear both; animation-timeline: view(); animation-range: entry 30% cover 50%; }
    .devices .phone { animation: from-right linear both; animation-timeline: view(); animation-range: entry 45% cover 62%; }
  }
}
@keyframes rise { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes rise-far { from { opacity: 0; transform: translateY(90px) scale(0.96); } to { opacity: 1; transform: none; } }
@keyframes deal { from { opacity: 0; transform: translateY(120px) rotate(var(--tilt, 0deg)); } to { opacity: 1; transform: none; } }
@keyframes from-left { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes from-right { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .pair { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 48px; }
  .split.flip .split-text { order: 0; }
  .split .split-text { text-align: center; }
  .split h2, .split .sub { margin-left: auto; }
  .promises { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 699px) {
  :root { --gutter: 20px; }
  .stage { aspect-ratio: 1080 / 695; }
  .cards { gap: 3vw; }
  .devices { padding-bottom: 4%; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
  .doc h2 { margin-top: 40px; }
  /* The layouts panel and the caption box's two menus, smaller and low on the desk, clear of the
     photographs and the caption above them. */
  .picker { bottom: 10px; width: min(84%, 300px); padding: 9px 10px 10px; border-radius: 11px; }
  .tile .picker p { margin-bottom: 8px; font-size: 9px; }
  .lays { gap: 7px; }
  .type { bottom: 10px; gap: 4px; padding: 4px; border-radius: 10px; }
  .type span { gap: 7px; padding: 4px 8px; border-radius: 6px; font-size: 12.5px; }
}
@media (max-width: 380px) {
  .nav-links a:not(.pill) { display: none; }
}

/* ---- printed: everything in place, the turn as its still ---- */
@media print {
  .nav { position: static; }
  .reveal, .card, .devices > * { animation: none !important; opacity: 1 !important; transform: none !important; }
  html.scrub .turn { height: auto !important; }
  html.scrub .stage { position: relative; top: auto !important; height: auto !important; aspect-ratio: 1680 / 914; }
  html.scrub .stage picture { opacity: 1; }
  html.scrub .frames, html.scrub .stage-title { display: none; }
  html.scrub .home .turn-title, html.scrub .turn-title { position: static; width: auto; height: auto; margin: 0 auto 28px; overflow: visible; clip-path: none; white-space: normal; }
}
