/* Hallboard's page: dark like the board, or light, as the visitor chooses. The system's own typeface
   (San Francisco on Apple devices); nothing is downloaded from another company. */

:root {
  color-scheme: dark;
  --bg: #000;
  --band: #0a0b10;
  --glow-a: #141a2e;         /* the board's blue */
  --glow-b: #2a1d16;         /* the board's warm corner */
  --card: #131419;
  --card-2: #1a1b22;
  --line: rgba(255, 255, 255, .12);
  --hair: rgba(255, 255, 255, .08);
  --bar: rgba(8, 9, 14, .72);
  --ink: #f5f5f7;
  --body: #a6a6ad;
  --faint: #6e6e76;
  --accent: #2f8cff;
  --warm: #ff9f0a;
  --green: #30d158;
  --red: #ff453a;
  --sheet: rgba(34, 36, 46, .86);
  --sheet-row: rgba(255, 255, 255, .07);
  --chip: rgba(70, 110, 190, .5);
  --chip-ink: #fff;
  --bezel: #101012;
  --device-shadow: 0 0 0 1px rgba(255, 255, 255, .14), 0 40px 110px -34px rgba(47, 140, 255, .3), 0 30px 70px -24px rgba(0, 0, 0, .9);
  --lift: 0 0 0 0 transparent;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  --edge: clamp(1.25rem, 5vw, 5rem);
  --wide: 76rem;
  --ease: cubic-bezier(.22, .8, .2, 1);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fff;
  --band: #f5f5f7;
  --glow-a: #e8f0fe;
  --glow-b: #fdf1e3;
  --card: #f5f5f7;
  --card-2: #fff;
  --line: rgba(0, 0, 0, .1);
  --hair: rgba(0, 0, 0, .08);
  --bar: rgba(255, 255, 255, .76);
  --ink: #1d1d1f;
  --body: #6e6e73;
  --faint: #86868b;
  --accent: #0071e3;
  --warm: #c9600a;
  --green: #1f9d44;
  --red: #e0352b;
  --sheet: rgba(255, 255, 255, .86);
  --sheet-row: rgba(0, 0, 0, .05);
  --chip: #1d1d1f;
  --chip-ink: #fff;
  --device-shadow: 0 0 0 1px rgba(0, 0, 0, .55), 0 44px 80px -36px rgba(0, 0, 0, .45), 0 18px 34px -18px rgba(0, 0, 0, .25);
  --lift: 0 24px 50px -30px rgba(0, 0, 0, .25);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--body); font: 400 1.0625rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background .4s, color .4s; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { color: var(--ink); margin: 0; font-weight: 600; letter-spacing: -.022em; text-wrap: balance; }
p, ul, ol, table { margin: 0; }
button, input { font: inherit; color: inherit; }

/* A picture that belongs to one of the two looks */
.in-light { display: none; }
:root[data-theme="light"] .in-light { display: block; }
:root[data-theme="light"] .in-dark { display: none; }

/* The bar at the top */
.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 1.25rem;
  padding: .6rem var(--edge); background: var(--bar); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px);
  border-bottom: 1px solid var(--hair); }
.top .name { flex: none; display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.125rem; color: var(--ink); letter-spacing: -.01em; }
.top .name:hover { text-decoration: none; }
.top .name img { width: 1.75rem; height: 1.75rem; }
.top nav { min-width: 0; flex: 1; display: flex; justify-content: flex-end; gap: clamp(.9rem, 2.2vw, 1.75rem); font-size: .875rem; overflow-x: auto; scrollbar-width: none; }
.top nav::-webkit-scrollbar { display: none; }
.top nav a { color: var(--body); white-space: nowrap; padding: .35rem 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); text-decoration: none; }
.theme { flex: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--card); cursor: pointer; display: grid; place-items: center; transition: transform .25s var(--ease); }
.theme:active { transform: scale(.9); }
.theme svg { width: 1.15rem; height: 1.15rem; fill: var(--ink); }
.theme .sun { display: none; }
:root[data-theme="light"] .theme .sun { display: block; }
:root[data-theme="light"] .theme .moon-i { display: none; }

/* An iPad: the picture is the whole screen, the border is the black of its glass. Never cropped. */
.ipad { position: relative; aspect-ratio: 3 / 4; width: 100%; border: clamp(4px, .7vw, 11px) solid var(--bezel); border-radius: clamp(14px, 2.6vw, 34px);
  overflow: hidden; background: var(--bezel); box-shadow: var(--device-shadow); }
.ipad.side { aspect-ratio: 4 / 3; }
.ipad img { width: 100%; height: 100%; object-fit: cover; }
.ipad .layer { position: absolute; inset: 0; opacity: 0; transform: scale(1.035); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.ipad .layer.on { opacity: 1; transform: none; }
.ipad.small { border-width: 5px; border-radius: 18px; }

/* The opening */
.open { position: relative; text-align: center; padding: clamp(3rem, 6vw, 5rem) var(--edge) 0;
  background: radial-gradient(120% 70% at 20% 0%, var(--glow-a), transparent 60%), radial-gradient(90% 60% at 100% 30%, var(--glow-b), transparent 65%), var(--bg); }
.open h1 { font-size: clamp(3rem, 9.5vw, 8rem); line-height: .98; font-weight: 700; letter-spacing: -.04em; }
.open .lede { margin: 1.5rem auto 0; max-width: 40rem; font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); opacity: .86; }
.open .soon { margin-top: 1.25rem; font-size: 1rem; }
.open .stage { margin: clamp(2rem, 4vw, 3.5rem) auto 0; max-width: min(40rem, 58vh); perspective: 1600px; padding-bottom: clamp(3rem, 8vw, 7rem); }
.open .stage.side { max-width: min(68rem, 112vh); }
.open .ipad { transform-origin: 50% 100%;
  transform: translateY(calc((1 - var(--p, 1)) * 6vh)) rotateX(calc((1 - var(--p, 1)) * 22deg)) scale(calc(.86 + .14 * var(--p, 1))); }

/* A sentence that lights up as it is read */
.say { padding: clamp(5rem, 14vw, 12rem) var(--edge); }
.say p { max-width: 62rem; margin: 0 auto; font-size: clamp(2rem, 5.2vw, 4.5rem); line-height: 1.08; font-weight: 600; letter-spacing: -.035em; color: var(--ink); }
.say .w { opacity: .16; transition: opacity .35s linear; }
.say .w.lit { opacity: 1; }

/* A chapter */
.chapter { padding: clamp(5rem, 12vw, 10rem) var(--edge); }
.chapter > .in { max-width: var(--wide); margin: 0 auto; }
.band { background: var(--band); }
.kind { font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 600; color: var(--accent); letter-spacing: -.01em; }
.kind.warm { color: var(--warm); }
.kind.leaf { color: var(--green); }
.chapter h2 { margin-top: .5rem; font-size: clamp(2.5rem, 6.4vw, 5.5rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; max-width: 14em; }
.chapter .intro { margin-top: 1.5rem; max-width: 40rem; font-size: clamp(1.1rem, 1.7vw, 1.35rem); line-height: 1.45; }
.centre { text-align: center; }
.centre h2, .centre .intro { margin-left: auto; margin-right: auto; }

/* Things that rise into place when they come into view */
.rise { opacity: 0; transform: translateY(2.5rem) scale(.985); transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.rise.seen { opacity: 1; transform: none; }
.rise.late { transition-delay: .12s; }
.rise.later { transition-delay: .24s; }

/* The doorbell: the page holds still while the board answers the door */
.scene { height: 340vh; background: linear-gradient(var(--bg), var(--band) 18%, var(--band) 82%, var(--bg)); }
.scene .hold { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(1.5rem, 5vw, 5rem);
  align-items: center; padding: 4.5rem var(--edge) 2rem; max-width: calc(var(--wide) + 2 * var(--edge)); margin: 0 auto; }
.scene .steps { position: relative; min-height: 22rem; }
.scene .step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(1.5rem); transition: opacity .6s var(--ease), transform .8s var(--ease); pointer-events: none; }
.scene .step.on { opacity: 1; transform: none; pointer-events: auto; }
.scene .step h2 { font-size: clamp(2.4rem, 5.4vw, 4.75rem); line-height: 1.02; font-weight: 700; letter-spacing: -.04em; margin-top: .5rem; }
.scene .step p.intro { margin-top: 1.25rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.45; max-width: 30rem; }
.scene .device { position: relative; justify-self: center; width: min(100%, 60vh); }
.scene .device.side { width: min(100%, 100vh); }
.bell { position: absolute; z-index: 3; top: -1.4rem; right: -1.4rem; width: 4.25rem; height: 4.25rem; border-radius: 50%; display: grid; place-items: center;
  background: var(--red); box-shadow: 0 10px 30px rgba(255, 69, 58, .5); opacity: 0; transform: scale(.4); transition: opacity .4s, transform .6s var(--ease); }
.bell svg { width: 2rem; height: 2rem; fill: #fff; transform-origin: 50% 10%; }
.bell::before, .bell::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--red); opacity: 0; }
.scene[data-step="1"] .bell { opacity: 1; transform: none; }
.scene[data-step="1"] .bell svg { animation: swing 1.1s ease-in-out infinite; }
.scene[data-step="1"] .bell::before { animation: ring 1.8s ease-out infinite; }
.scene[data-step="1"] .bell::after { animation: ring 1.8s ease-out .6s infinite; }
@keyframes swing { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 35% { transform: rotate(-14deg); } 55% { transform: rotate(9deg); } 75% { transform: rotate(-5deg); } }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.dots { display: flex; gap: .5rem; position: absolute; bottom: -3rem; left: 0; }
.dots i { width: 2rem; height: 3px; border-radius: 2px; background: var(--line); transition: background .4s; }
.dots i.on { background: var(--ink); }

/* Cards for the smaller things: words above, the whole iPad centred below */
.cards { display: grid; gap: clamp(.9rem, 1.6vw, 1.4rem); margin-top: clamp(2.5rem, 6vw, 5rem); grid-template-columns: repeat(12, minmax(0, 1fr)); }
.card { position: relative; grid-column: span 6; border-radius: clamp(1.25rem, 2.4vw, 2rem); overflow: hidden; background: var(--card);
  border: 1px solid var(--hair); box-shadow: var(--lift); display: flex; flex-direction: column; }
.band .card { background: var(--card-2); }
.card.quarter { grid-column: span 3; }
.card.third { grid-column: span 4; }
.card.full { grid-column: 1 / -1; }
.card .words { padding: clamp(1.4rem, 2.4vw, 2.1rem); }
.card h3 { font-size: clamp(1.4rem, 2.1vw, 1.9rem); line-height: 1.1; letter-spacing: -.03em; }
.card p { margin-top: .6rem; max-width: 32rem; }
.card .shot { margin-top: auto; padding: .5rem clamp(1.4rem, 2.4vw, 2.1rem) clamp(1.6rem, 2.6vw, 2.25rem); display: grid; place-items: center; }
.card .shot .ipad { width: min(100%, 17rem); }
.card .art { flex: 1; min-height: 11rem; display: grid; place-items: center; padding: 0 2rem 2rem; }
.cell { width: min(100%, 13rem); height: 5.5rem; border-radius: 1.4rem; border: 3px solid var(--ink); opacity: .9; padding: 6px; position: relative; }
.cell::after { content: ""; position: absolute; right: -11px; top: 32%; width: 6px; height: 36%; border-radius: 0 4px 4px 0; background: var(--ink); }
.cell i { display: block; height: 100%; width: 80%; border-radius: .9rem; background: var(--green); animation: charge 9s ease-in-out infinite; }
@keyframes charge { 0%, 100% { width: 80%; } 50% { width: 42%; } }
.moon { width: 6rem; height: 6rem; border-radius: 50%; box-shadow: inset -1.6rem -.6rem 0 0 var(--ink); animation: wake 8s ease-in-out infinite; }
@keyframes wake { 0%, 100% { opacity: .3; } 50% { opacity: .95; } }

/* A light you can turn up, here on the page */
.lamp { --on: .45; padding: 0 clamp(1.4rem, 2.4vw, 2.1rem) clamp(1.6rem, 2.6vw, 2.25rem); display: grid; grid-template-columns: auto minmax(0, 28rem); gap: 2rem; align-items: center; }
.lamp .tile { width: 11rem; height: 7.75rem; border-radius: 1.4rem; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between;
  background: rgb(calc(70 + 175 * var(--on)) calc(64 + 133 * var(--on)) calc(58 - 34 * var(--on))); border: 1px solid var(--line);
  box-shadow: 0 0 calc(110px * var(--on)) calc(16px * var(--on)) rgba(245, 197, 24, calc(.7 * var(--on))); transition: background .2s, box-shadow .2s; }
.lamp .tile b { color: #fff; font-weight: 600; display: block; }
.lamp .tile span { font-size: .8125rem; color: rgba(255, 255, 255, .88); }
.lamp .tile .bulb { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.lamp .bulb svg { width: 1.2rem; height: 1.2rem; fill: #7a5a00; }
.lamp label { display: block; font-size: .875rem; }
.lamp input[type=range] { width: 100%; margin-top: .6rem; accent-color: #f5c518; height: 2rem; }

/* Timers that really count */
.timers { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.onphoto { position: relative; border-radius: clamp(1.5rem, 3vw, 2.5rem); overflow: hidden; padding: clamp(1.25rem, 4vw, 3.5rem); display: grid; align-items: center; min-height: 36rem; }
.onphoto > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sheet { position: relative; border-radius: 2rem; padding: clamp(1.25rem, 2.4vw, 2rem); background: var(--sheet); -webkit-backdrop-filter: blur(24px) saturate(1.4); backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid var(--line); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.sheet .head { text-align: center; font-weight: 600; color: var(--ink); }
.sheet h3 { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 700; color: var(--faint); }
.sheet .rows { margin-top: .6rem; border-radius: 1.25rem; background: var(--sheet-row); min-height: 4.5rem; }
.sheet .row { display: grid; grid-template-columns: 1fr auto auto; gap: 1rem; align-items: center; padding: .9rem 1.1rem .75rem; position: relative; }
.sheet .row + .row { border-top: 1px solid var(--hair); }
.sheet .row b { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; color: var(--ink); letter-spacing: -.02em; }
.sheet .row time { font-variant-numeric: tabular-nums; font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.sheet .row .bar { grid-column: 1 / -1; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.sheet .row .bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 2px; }
.sheet .row.done b, .sheet .row.done time { color: var(--warm); }
.sheet .row.done { animation: nudge .5s ease-in-out 4; }
@keyframes nudge { 50% { transform: translateX(4px); } }
.sheet .row button { width: 1.6rem; height: 1.6rem; border-radius: 50%; border: 0; background: var(--faint); color: var(--bg); font-weight: 700; line-height: 1; cursor: pointer; }
.sheet .none { padding: 1.4rem 1.1rem; color: var(--faint); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.chips button { border: 0; border-radius: .9rem; padding: .7rem 1.1rem; background: var(--chip); color: var(--chip-ink); font-weight: 600; font-size: .9375rem; cursor: pointer; transition: transform .2s var(--ease), opacity .2s; }
.chips button:hover { opacity: .85; }
.chips button:active { transform: scale(.94); }
.sheet .try { margin-top: 1rem; font-size: .8125rem; color: var(--faint); }

/* Three whole iPads side by side */
.trio { margin-top: clamp(2.5rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3rem); }
.trio figure { margin: 0; }
.trio figcaption { margin-top: 1.5rem; }
.trio figcaption b { display: block; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }
.trio figcaption span { display: block; margin-top: .3rem; font-size: .9688rem; }

/* Two columns: words and a picture */
.pair { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.pair.flip .words { order: 2; }
.pair .device { justify-self: center; width: min(100%, 30rem); }
.pair .device.side { width: 100%; }
.points { list-style: none; padding: 0; margin-top: 2.5rem; display: grid; gap: 1.5rem; max-width: 34rem; }
.points li b { display: block; color: var(--ink); font-size: 1.2rem; letter-spacing: -.015em; }
.points li span { display: block; margin-top: .25rem; }
.photo { margin: 0; }
.photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: clamp(1.5rem, 3vw, 2.5rem); }

/* Everything, written out */
.all .groups { margin-top: clamp(2.5rem, 6vw, 4.5rem); columns: 3 17rem; column-gap: clamp(2rem, 4vw, 4rem); }
.all .group { break-inside: avoid; margin-bottom: 2.75rem; }
.all h3 { font-size: 1.3rem; padding-bottom: .7rem; border-bottom: 1px solid var(--line); }
.all ul { list-style: none; padding: 0; }
.all li { padding: .6rem 0; border-bottom: 1px solid var(--hair); font-size: .9688rem; }

/* Private, said once and large */
.private { text-align: center; background: radial-gradient(80% 90% at 50% 100%, var(--glow-a), transparent 70%), var(--bg); }
.private .lock { width: 4.5rem; height: 4.5rem; margin: 0 auto 2rem; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 0 80px rgba(48, 209, 88, .4); }
.private .lock svg { width: 2.1rem; height: 2.1rem; fill: #fff; }
.private h2 { margin-left: auto; margin-right: auto; max-width: 13em; }
.private .intro { margin-left: auto; margin-right: auto; }
.private .nos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 60rem; }
.private .nos div { border-radius: 1.4rem; padding: 1.6rem 1rem; background: var(--card); border: 1px solid var(--hair); }
.private .nos b { display: block; font-size: clamp(1.3rem, 2.2vw, 1.75rem); color: var(--ink); letter-spacing: -.025em; }
.private .nos span { font-size: .9rem; }

/* What it costs */
.cost .plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.75rem); margin: clamp(2.5rem, 5vw, 4rem) auto 0; max-width: 58rem; text-align: left; }
.plan { border-radius: 2rem; padding: clamp(1.6rem, 3vw, 2.5rem); background: var(--card); border: 1px solid var(--hair); }
.plan.full { border-color: var(--accent); background: linear-gradient(160deg, var(--glow-a), var(--card)); }
.plan h3 { font-size: 1.75rem; }
.plan .price { margin-top: .6rem; font-size: clamp(1.4rem, 2.2vw, 1.8rem); color: var(--ink); font-weight: 600; letter-spacing: -.02em; }
.plan p { margin-top: .75rem; }
.cost .note { margin: 2.5rem auto 0; max-width: 42rem; font-size: .9688rem; }
.store { display: inline-block; margin-top: 2.5rem; padding: .95rem 1.75rem; border-radius: 99px; background: var(--ink); color: var(--bg); font-weight: 600; }

/* The reading pages */
.read { padding: clamp(3rem, 7vw, 6rem) var(--edge) clamp(4rem, 8vw, 6rem); max-width: calc(46rem + 2 * var(--edge)); margin: 0 auto; }
.read h1 { font-size: clamp(2.8rem, 6vw, 4.75rem); line-height: 1; font-weight: 700; letter-spacing: -.04em; }
.read .dated { margin-top: 1rem; font-size: .9375rem; color: var(--faint); }
.read .first { margin-top: 2rem; font-size: 1.4rem; line-height: 1.4; letter-spacing: -.015em; color: var(--ink); max-width: 30em; }
.read h2 { font-size: 1.6rem; line-height: 1.15; margin-top: 3.25rem; }
.read h2 + p, .read h2 + ul, .read p + p, .read ul + p, .read p + ul { margin-top: .9rem; }
.read p, .read li { max-width: 36rem; }
.read ul { padding-left: 1.1rem; }
.read li + li { margin-top: .5rem; }
.read strong { color: var(--ink); font-weight: 600; }
.reads { margin-top: 1.25rem; width: 100%; border-collapse: collapse; font-size: .9688rem; line-height: 1.5; }
.reads th, .reads td { text-align: left; vertical-align: top; padding: .85rem 1rem .85rem 0; }
.reads thead th { font-weight: 600; font-size: .875rem; color: var(--ink); padding-bottom: .5rem; }
.reads tbody th { font-weight: 600; color: var(--ink); width: 24%; }
.reads tbody tr { border-top: 1px solid var(--line); }
.reads tbody tr:last-child { border-bottom: 1px solid var(--line); }
.reads + p { margin-top: 1.25rem; }

footer { border-top: 1px solid var(--hair); padding: 2rem var(--edge) 3rem; font-size: .8125rem; line-height: 1.7; color: var(--faint);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
footer p { max-width: 34rem; }
footer nav { display: flex; gap: 1.5rem; }
footer a { color: var(--ink); }
.credit { font-size: .75rem; }

@media (max-width: 1000px) {
  .card.quarter { grid-column: span 6; }
}
@media (max-width: 860px) {
  .card, .card.third { grid-column: 1 / -1; }
  .card.quarter { grid-column: span 6; }
  .card .shot .ipad { width: min(100%, 15rem); }
  .timers, .pair { grid-template-columns: minmax(0, 1fr); }
  .pair.flip .words { order: 0; }
  .pair .device { width: min(100%, 24rem); }
  .pair .device.side { width: 100%; }
  .onphoto { min-height: 0; }
  .trio { grid-template-columns: minmax(0, 1fr); max-width: 22rem; margin-left: auto; margin-right: auto; }
  .scene .hold { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; padding-top: 4.5rem; gap: 1rem; }
  .scene .steps { min-height: 13.5rem; }
  .scene .step h2 { font-size: clamp(2rem, 8vw, 2.75rem); }
  .scene .step p.intro { font-size: 1rem; margin-top: .6rem; }
  .scene .device { width: min(78vw, 44vh); }
  .scene .device.side { width: min(100%, 70vh); }
  .dots { display: none; }
  .bell { width: 3.25rem; height: 3.25rem; top: -1rem; right: -1rem; }
  .bell svg { width: 1.5rem; height: 1.5rem; }
  .private .nos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cost .plans { grid-template-columns: minmax(0, 1fr); }
  .lamp { grid-template-columns: minmax(0, 1fr); }
  .reads, .reads tbody, .reads tr, .reads th, .reads td { display: block; width: auto; }
  .reads thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .reads tbody th { padding-bottom: .2rem; width: auto; }
  .reads td { padding-top: .15rem; padding-bottom: .5rem; }
}
@media (max-width: 520px) {
  .card.quarter { grid-column: 1 / -1; }
}

/* For people who ask for less movement: everything is simply there. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise { opacity: 1; transform: none; transition: none; }
  .say .w { opacity: 1; }
  .open .ipad { transform: none; }
  .ipad .layer, .scene .step { transition: none; }
  .scene[data-step="1"] .bell svg, .scene[data-step="1"] .bell::before, .scene[data-step="1"] .bell::after, .sheet .row.done, .cell i, .moon { animation: none; }
}
/* Without the script nothing may stay hidden. */
.plain .rise { opacity: 1; transform: none; }
.plain .say .w { opacity: 1; }
.plain .scene { height: auto; }
.plain .scene .hold { position: static; height: auto; }
.plain .scene .steps { min-height: 0; }
.plain .scene .step { position: static; opacity: 1; transform: none; margin-bottom: 2.5rem; }
.plain .theme { display: none; }
