/* Tory Negrete, Optimal Dad Society. One room: the wall, the mat, the lights. */
@font-face {
  font-family: "Gloock";
  src: url("../fonts/gloock-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Golos Text";
  src: url("../fonts/golos-text-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --wall: #494c50;
  --wall-up: #575b60;
  --ceil: #2b2d30;
  --mat: #17181a;
  --mat-up: #26282b;
  --light: #f4f6f7;
  --ink: #f4f6f7;
  --ink-soft: #d6d9dc;
  --ink-mat-soft: #a9adb2;
  --tube: #8a8e93;
  --dark: #17181a;
  --dark-soft: #4b4e52;
  --focus: #f4f6f7;
  --focus-dark: #17181a;
  --shade: rgba(10, 11, 12, 0.34);
  --white: #ffffff;
  --melt: linear-gradient(to bottom, transparent 0, #000 16%);
  --melt-down: linear-gradient(to bottom, #000 55%, transparent 100%);
  --font-d: "Gloock", "Times New Roman", serif;
  --font-b: "Golos Text", "Segoe UI", sans-serif;
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --r: 6px;
  --r-lg: 14px;
  --gut: max(20px, env(safe-area-inset-left));
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
  --t-on: 520ms;
  --t-lift: 620ms;
  --t-move: 280ms;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font-family: var(--font-b);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-synthesis: none;
  overflow-x: clip;
}
::selection { background: var(--light); color: var(--dark); }
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
h1, h2, h3 { font-family: var(--font-d); font-weight: 400; line-height: 1.08; margin: 0; text-wrap: balance; overflow-wrap: break-word; min-width: 0; letter-spacing: -0.005em; }
p { margin: 0 0 var(--s3); }
a { color: inherit; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.lit a:focus-visible, .lit button:focus-visible, .lit input:focus-visible, .lit:focus-visible { outline-color: var(--focus-dark); }
.num { font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.skip { position: absolute; left: var(--gut); top: -4rem; z-index: 50; background: var(--light); color: var(--dark); padding: 0.75rem 1rem; border-radius: var(--r); font-weight: 600; }
.skip:focus-visible { top: 0.5rem; outline-color: var(--focus-dark); }

/* The ceiling: a sticky bar with his hexagon lights */
.top { position: sticky; top: 0; z-index: 40; background: var(--ceil); }
.busy { display: flex; gap: 2px; margin-right: auto; }
.hx { position: relative; width: 29px; height: 26px; display: grid; place-items: center; }
.hx svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hx .base { fill: none; stroke: var(--tube); stroke-width: 2; opacity: 0.5; }
.hx .tube { fill: none; stroke: var(--light); stroke-width: 2.6; }
.hx b { position: relative; font-family: var(--font-d); font-weight: 400; font-size: 0.9375rem; line-height: 1; color: var(--light); }
.top-in { position: relative; display: flex; align-items: center; gap: 6px; min-height: 60px; padding: 8px var(--gut); max-width: 72rem; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: var(--s1); min-height: 44px; min-width: 44px; flex: 0 0 auto; text-decoration: none; font-weight: 650; font-size: 0.9375rem; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 1.15rem; border: 0; border-radius: var(--r); font: inherit; font-weight: 700; font-size: 1rem; white-space: nowrap; text-decoration: none; cursor: pointer; background: var(--light); color: var(--dark); box-shadow: 0 2px 10px var(--shade); }
.btn:active { transform: translateY(1px); }
.btn-s { min-height: 44px; padding: 0 0.7rem; font-size: 0.9375rem; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--light); }
.menu-btn { min-height: 44px; min-width: 44px; padding: 0 0.7rem; border: 0; border-radius: var(--r); background: var(--ceil); color: var(--ink); font: inherit; font-weight: 600; font-size: 0.9375rem; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--tube); }
.nav { position: relative; display: grid; gap: 2px; padding: 0 var(--gut) var(--s3); background: var(--ceil); max-width: 72rem; margin: 0 auto; }
.nav a { display: flex; align-items: center; min-height: 48px; font-family: var(--font-d); font-size: 1.25rem; text-decoration: none; border-top: 1px solid var(--dark-soft); }
.nav a[aria-current="page"] { color: var(--ink-mat-soft); }
.js .nav:not(.is-open) { display: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--white); }
  .btn-line:hover { background: var(--light); color: var(--dark); }
  .menu-btn:hover { box-shadow: inset 0 0 0 1.5px var(--light); }
  .nav a:hover, .foot a:hover, .txt a:hover { text-decoration-thickness: 2px; }
  .cal button.day:hover { box-shadow: inset 0 0 0 2px var(--light); }
}
@media (max-width: 47.99rem) { .brand span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); } }
@media (max-width: 22.4rem) { .top-in { flex-wrap: wrap; row-gap: 4px; } .brand { margin-right: auto; } .busy { order: 5; width: 100%; justify-content: center; margin: 0; } }

/* Layout */
.wrap { max-width: 40rem; margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--s6) 0; }
.sec-mat { background: var(--mat); }
.sec-tight { padding: var(--s5) 0; }
.txt p { max-width: 34rem; }
.soft { color: var(--ink-soft); }
.sec-mat .soft { color: var(--ink-mat-soft); }
.big { font-family: var(--font-d); font-size: clamp(1.5rem, 6.4vw, 2.1rem); line-height: 1.16; margin: 0 0 var(--s4); max-width: 22ch; text-wrap: balance; }
.src { font-size: 0.875rem; color: var(--ink-soft); }
.sec-mat .src { color: var(--ink-mat-soft); }
h2 { font-size: clamp(2rem, 9vw, 3rem); margin-bottom: var(--s2); }
.step h2 { margin-bottom: 0; }
h3 { font-size: clamp(1.45rem, 6vw, 1.9rem); margin: var(--s5) 0 var(--s2); }
h3:first-child { margin-top: 0; }

/* First screen */
.first { padding-top: 0.6rem; }
.first-words { padding: 0 var(--gut); max-width: 40rem; margin: 0 auto; }
.who { max-width: 40rem; margin: 0 auto 0.55rem; font-size: 0.9375rem; color: var(--ink-mat-soft); }
.h1-busy { display: block; text-transform: uppercase; font-size: clamp(4rem, 20.5vw, 6rem); line-height: 0.84; letter-spacing: 0.05em; margin-bottom: 0.12em; }
.first h1 { font-size: clamp(1.25rem, 6.2vw, 3rem); margin-bottom: var(--s1); text-wrap: wrap; }
.first-photo { margin: 0; }
.first-photo img { width: 100%; -webkit-mask-image: var(--melt); mask-image: var(--melt); }
.first-mat { position: relative; margin-top: -7rem; background: var(--mat); padding: 0.8rem var(--gut) var(--s4); box-shadow: 0 -10px 24px var(--shade); }
.first-mat .offer { max-width: 40rem; margin: 0 auto 0.15rem; font-family: var(--font-d); font-size: 1.45rem; line-height: 1.15; }
.first-mat .join-wrap { max-width: 40rem; margin: 0 auto; }
.first-mat.is-in .offer, .first-mat.is-in .who { display: none; }
.ceil { margin: 0 0 var(--s5); }
.ceil img { width: 100%; -webkit-mask-image: var(--melt-down); mask-image: var(--melt-down); }
.sec:has(> .ceil) { padding-top: 0; }
.busy-row { display: flex; gap: 0.5rem; margin: 0 0 var(--s3); font-family: var(--font-d); font-size: 2.6rem; line-height: 0.9; color: var(--light); }
.page-top { padding-top: var(--s4); }
.page-top h1 { font-size: clamp(2.2rem, 10.5vw, 4rem); margin-bottom: var(--s2); }
.page-top .lede { font-size: 1.125rem; max-width: 32rem; }
.top-photo { margin: var(--s4) auto 0; }
.top-photo img { width: 100%; max-height: 26rem; object-fit: cover; -webkit-mask-image: var(--melt); mask-image: var(--melt); }

/* The sign-up */
.join label, .code label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.3rem; }
.join-row { display: flex; gap: var(--s1); }
.join-row input { flex: 1 1 auto; min-width: 0; min-height: 50px; padding: 0 0.85rem; border: 2px solid var(--tube); border-radius: var(--r); background: var(--mat-up); color: var(--ink); font: inherit; font-size: 1rem; }
.join-row input::placeholder { color: var(--ink-mat-soft); }
.join-row .btn { flex: 0 0 auto; min-height: 50px; }
.join-note { font-size: 0.875rem; color: var(--ink-mat-soft); margin: 0.45rem 0 0; }
.join-alert { font-size: 0.9375rem; font-weight: 600; margin: 0.5rem 0 0; }
.join-alert:empty { display: none; }
.join-open { font-size: 0.9375rem; margin: var(--s2) 0 0; color: var(--ink-mat-soft); }
.join-open a { color: var(--ink); font-weight: 600; }
.join-open.is-back { color: var(--ink); font-family: var(--font-d); font-size: 1.35rem; }
.join-open.is-back a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; margin-left: 0.35rem; border-radius: var(--r); background: var(--light); color: var(--dark); font-family: var(--font-b); font-size: 1rem; font-weight: 700; text-decoration: none; }
@media (max-width: 22.4rem) { .join-row { flex-direction: column; } }
.code h3 { margin: 0 0 var(--s1); }
.code p { margin: 0 0 var(--s2); }
.code b { overflow-wrap: anywhere; }
.code-more { display: flex; flex-wrap: wrap; gap: var(--s1); margin-top: var(--s2); }
.linkish { min-height: 44px; padding: 0 0.7rem; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; font-size: 0.9375rem; font-weight: 600; text-decoration: underline; text-underline-offset: 0.2em; cursor: pointer; }
.linkish:disabled { color: var(--ink-mat-soft); text-decoration: none; cursor: default; }

/* "You're in": a panel switched on */
.in { background: var(--light); color: var(--dark); border-radius: var(--r-lg); padding: var(--s4) var(--s3) var(--s3); box-shadow: 0 8px 30px var(--shade); }
.in h3 { font-size: 2.3rem; margin: 0 0 var(--s1); }
.in p { margin: 0 0 var(--s2); }
.in-two { display: grid; gap: var(--s1); margin: var(--s3) 0; }
.in-opt { border: 2px solid var(--dark); border-radius: var(--r); padding: var(--s2) var(--s3); }
.in-opt strong { display: block; font-family: var(--font-d); font-weight: 400; font-size: 1.3rem; line-height: 1.15; }
.in-opt p { margin: 0.2rem 0 0; }
.in-opt .btn { margin-top: var(--s1); background: var(--dark); color: var(--light); box-shadow: none; }
.in-q { font-size: 0.875rem; color: var(--dark-soft); }
.pv { font-size: 0.875rem; color: var(--dark-soft); }
.day1 { margin-top: var(--s3); background: var(--mat); color: var(--ink); border-radius: var(--r-lg); padding: var(--s3); max-width: 21rem; margin-left: auto; margin-right: auto; }
.day1 .d1-day { font-size: 0.875rem; font-weight: 600; color: var(--ink-mat-soft); margin: 0; }
.day1 .d1-name { font-family: var(--font-d); font-size: 1.7rem; line-height: 1.1; margin: 0 0 0.15rem; }
.day1 ol { list-style: none; margin: var(--s2) 0; padding: 0; display: grid; gap: 6px; }
.day1 li { background: var(--mat-up); border-radius: var(--r); padding: 0.6rem 0.7rem; font-size: 0.9375rem; line-height: 1.3; }
.day1 li span { display: block; color: var(--ink-mat-soft); font-size: 0.875rem; }
.day1 .btn { width: 100%; }
.day1 .pv { color: var(--ink-mat-soft); margin: var(--s2) 0 0; }
.in:focus-visible, .day1:focus-visible { outline-offset: 4px; }

/* B, U, S, Y */
.step { display: flex; align-items: flex-end; gap: var(--s3); margin-bottom: var(--s4); }
.ltr { font-family: var(--font-d); font-size: 6rem; line-height: 0.8; color: var(--light); flex: 0 0 auto; text-shadow: 0 6px 18px var(--shade); }
.step h2 { font-size: clamp(1.85rem, 8.4vw, 2.8rem); }
.step-sub { margin: 0.35rem 0 0; font-size: 1.0625rem; line-height: 1.35; color: var(--ink-soft); }
.sec-mat .step-sub { color: var(--ink-mat-soft); }
.plain-list { list-style: none; margin: 0 0 var(--s4); padding: 0; }
.plain-list li { padding: var(--s2) 0; border-top: 1px solid var(--tube); max-width: 34rem; }
.sec-mat .plain-list li { border-top-color: var(--dark-soft); }

/* Photos: as shot, lifting out of the dark */
.ph { position: relative; margin: var(--s4) 0; border-radius: var(--r); overflow: hidden; background: var(--mat); }
.ph img, .ph video { width: 100%; }
.ph figcaption { padding: 0.6rem 0.75rem; font-size: 0.875rem; line-height: 1.4; color: var(--ink-mat-soft); background: var(--mat); }
.ph .cover { position: absolute; inset: 0; background: var(--mat); opacity: 0; pointer-events: none; }
.ph-bleed { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); border-radius: 0; }
.ph-small { max-width: 17rem; }
.strip { display: flex; gap: var(--s1); overflow-x: auto; margin: var(--s4) calc(var(--gut) * -1); padding: 0 var(--gut) var(--s1); scrollbar-width: thin; scrollbar-color: var(--tube) transparent; }
.strip .ph { flex: 0 0 72%; max-width: 19rem; margin: 0; }
.face-row { display: flex; gap: var(--s3); align-items: center; margin: var(--s4) 0; }
.face-row img { width: 96px; height: 96px; border-radius: 50%; flex: 0 0 auto; }
.face-row p { margin: 0; font-family: var(--font-d); font-size: 1.25rem; line-height: 1.25; }
.loop-wrap { position: relative; }
.loop-btn { position: absolute; right: 8px; top: 8px; min-height: 44px; min-width: 44px; padding: 0 0.8rem; border: 0; border-radius: var(--r); background: var(--mat); color: var(--ink); font: inherit; font-size: 0.875rem; font-weight: 600; cursor: pointer; }
html:not(.js) .loop-btn, html:not(.js) .rank-go, html:not(.js) .rank-again { display: none; }
.client { max-width: 19rem; margin: var(--s4) auto; }

/* Fix the ranking */
.rank { list-style: none; margin: var(--s4) 0 var(--s3); padding: 0; display: grid; gap: 6px; }
.rank li { display: flex; align-items: center; gap: var(--s2); min-height: 52px; padding: 0.5rem 0.8rem; border-radius: var(--r); background: var(--mat-up); font-size: 1rem; line-height: 1.3; }
.rank .n { font-family: var(--font-d); font-size: 1.5rem; width: 1.6rem; flex: 0 0 auto; color: var(--ink-mat-soft); }
.rank .fixed { box-shadow: inset 0 0 0 1.5px var(--tube); background: transparent; }
.rank .fixed small { display: block; font-size: 0.8125rem; color: var(--ink-mat-soft); }
.rank .you { background: var(--light); color: var(--dark); font-weight: 700; box-shadow: 0 4px 16px var(--shade); }
.rank .you .n { color: var(--dark); }
.rank-say { min-height: 5.2rem; font-size: 1.0625rem; max-width: 34rem; }
.rank-acts { display: flex; flex-wrap: wrap; gap: var(--s1); }
.rank-fix { margin-top: var(--s4); padding: var(--s3); border-radius: var(--r-lg); box-shadow: inset 0 0 0 2px var(--light); }
.rank-fix .big { margin-bottom: var(--s2); }
.js .rank-fix:not(.is-on) { display: none; }

/* The calendar: Mon to Sun across, week 1 and week 2 as rows */
.cal { margin: var(--s4) 0 var(--s2); }
.cal-head, .cal-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-head { margin-bottom: 4px; }
.cal-head span { text-align: center; font-size: 0.75rem; font-weight: 600; color: var(--ink-mat-soft); }
.cal-week { margin-bottom: 4px; }
.cal .wk { font-size: 0.8125rem; font-weight: 600; color: var(--ink-mat-soft); margin: var(--s2) 0 4px; }
.cal .day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 58px; padding: 4px 0 6px; border: 0; border-radius: var(--r); background: var(--mat-up); color: var(--ink); font: inherit; width: 100%; }
.cal button.day { cursor: pointer; }
.cal .day .d { position: absolute; left: 5px; top: 3px; font-size: 0.75rem; font-weight: 600; color: var(--ink-mat-soft); }
.cal .day .w { font-size: 0.75rem; font-weight: 700; white-space: nowrap; line-height: 1.1; }
.cal .day.s { justify-content: center; padding: 14px 0 4px; }
.cal .day.s .w { display: grid; place-items: center; width: min(100%, 44px); aspect-ratio: 40 / 36; background: var(--light); color: var(--dark); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); font-family: var(--font-d); font-weight: 400; font-size: 1.05rem; }
.cal .day.o { box-shadow: inset 0 0 0 1.5px var(--tube); background: transparent; }
.cal .day.k { box-shadow: inset 0 0 0 2px var(--light); background: transparent; }
.cal .day[aria-pressed="true"] { outline: 2px solid var(--light); outline-offset: 2px; }
.cal-key { list-style: none; display: grid; grid-template-columns: 1fr; gap: 2px; padding: 0; font-size: 0.875rem; color: var(--ink-mat-soft); margin: var(--s2) 0 0; max-width: 34rem; }
.cal-key b { display: inline-block; min-width: 3.2rem; color: var(--ink); }
.cal-note { font-size: 0.875rem; color: var(--ink-mat-soft); margin: var(--s1) 0 var(--s3); }
.day-card { margin-top: var(--s3); padding: var(--s3); border-radius: var(--r-lg); background: var(--mat-up); min-height: 7.5rem; }
.day-card h3 { margin: 0 0 var(--s1); font-size: 1.45rem; }
.day-card p { margin: 0; }
.js .day-list { display: none; }
.day-list { list-style: none; margin: var(--s3) 0 0; padding: 0; }
.day-list li { padding: var(--s1) 0; border-top: 1px solid var(--dark-soft); }

/* Sessions */
.tabs { display: flex; gap: var(--s1); margin: var(--s3) 0; }
.tabs button { flex: 1 1 0; min-height: 48px; border: 0; border-radius: var(--r); background: transparent; color: var(--ink); font: inherit; font-weight: 700; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--tube); }
.tabs button[aria-pressed="true"] { background: var(--light); color: var(--dark); box-shadow: none; }
html:not(.js) .tabs { display: none; }
.sess h3 { margin: var(--s4) 0 var(--s2); }
.sess ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.sess li { padding: 0.75rem 0.85rem; border-radius: var(--r); background: var(--wall-up); line-height: 1.3; }
.sess li span { display: block; font-weight: 700; font-size: 0.9375rem; margin-top: 0.15rem; }
.js .sess[hidden] { display: none; }
.note { font-size: 0.9375rem; color: var(--ink-soft); border-left: 0; padding: var(--s2) var(--s3); border-radius: var(--r); box-shadow: inset 0 0 0 1.5px var(--tube); max-width: 34rem; }
.sec-mat .note { color: var(--ink-mat-soft); }

/* FAQ */
.faq details { border-top: 1px solid var(--tube); max-width: 36rem; }
.faq details:last-child { border-bottom: 1px solid var(--tube); }
.faq summary { display: flex; align-items: center; min-height: 56px; padding: var(--s1) 0; font-weight: 700; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; padding-left: var(--s3); font-family: var(--font-d); font-size: 1.5rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 var(--s3); }

/* The close: the form on the mat */
.close { background: var(--mat); padding: var(--s6) 0 var(--s5); }
.close .big { max-width: 20ch; }

/* Footer */
.foot { background: var(--ceil); padding: var(--s5) 0 var(--s4); font-size: 0.9375rem; }
.foot .wrap { display: grid; gap: var(--s3); }
.foot-brand { display: flex; align-items: center; gap: var(--s2); font-weight: 650; }
.foot-brand img { width: 48px; height: 48px; border-radius: 50%; }
.foot-tag { font-family: var(--font-d); font-size: 1.6rem; margin: 0; }
.foot nav { display: flex; flex-wrap: wrap; gap: 0 var(--s3); }
.foot nav a, .foot .ig { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.more { margin: 0; }
.more a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.foot small { display: block; font-size: 0.8125rem; color: var(--ink-mat-soft); line-height: 1.5; }
.foot p { margin: 0; }

.js .hx:not(.on) .tube { opacity: 0; }
.js .hx:not(.on) b { color: var(--tube); }

/* Motion: lights on. Only under script and when motion is welcome; end states otherwise. */
@keyframes flick { 0% { opacity: 0.12; } 18% { opacity: 1; } 32% { opacity: 0.25; } 52% { opacity: 1; } 66% { opacity: 0.55; } 100% { opacity: 1; } }
@keyframes reflick { 0% { opacity: 1; } 14% { opacity: 0.3; } 30% { opacity: 1; } 46% { opacity: 0.5; } 62% { opacity: 1; } 100% { opacity: 1; } }
@keyframes tick { 0% { opacity: 0.25; transform: scale(0.86); } 100% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: no-preference) {
  .js .hx.on .tube, .js .hx.on b { animation: flick var(--t-on) linear both; }
  .js .busy.all .hx.on .tube, .js .busy.all .hx.on b { animation-delay: calc(var(--i, 0) * 160ms); }
  .js .busy-row[data-rv]:not(.is-in) span { opacity: 0.16; }
  .js .busy-row[data-rv].is-in span { animation: flick var(--t-on) linear both; animation-delay: calc(var(--i, 0) * 160ms); }
  .js.lit .h1-busy { animation: reflick 640ms linear both; }
  .js .ltr[data-rv]:not(.is-in) { opacity: 0.16; }
  .js .ltr[data-rv].is-in { animation: flick var(--t-on) linear both; }
  .js .ph[data-rv]:not(.is-in) .cover { opacity: 0.72; }
  .js .ph[data-rv] .cover { transition: opacity var(--t-lift) var(--ease); }
  .js .cal[data-rv].is-in .day.s { animation: tick 320ms var(--ease) both; animation-delay: calc(var(--i, 0) * 70ms); }
  .rank li { transition: transform var(--t-move) var(--ease); }
  .in { animation: flick var(--t-on) linear both; }
  .btn { transition: transform 120ms var(--ease); }
}
@media (prefers-reduced-motion: reduce) {
  .rank li { transition: none; }
}

/* Wider screens */
@media (min-width: 48rem) {
  body { font-size: 1.125rem; }
  .wrap { max-width: 44rem; }
  .strip .ph { flex-basis: 15rem; }
}
@media (min-width: 62rem) {
  .first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); column-gap: var(--s5); max-width: 72rem; margin: 0 auto; padding: var(--s5) var(--gut) var(--s6); align-items: end; }
  .first-words { grid-column: 1; grid-row: 1; padding: 0; margin: 0; max-width: none; }
  .first-photo { grid-column: 2; grid-row: 1 / span 2; }
  .first-photo img { border-radius: var(--r); }
  .first-mat { grid-column: 1; grid-row: 2; margin-top: var(--s4); border-radius: var(--r-lg); padding: var(--s4); box-shadow: 0 8px 30px var(--shade); }
  .wrap { max-width: 46rem; }
  .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s5); align-items: start; }
  .cols .ph { margin-top: 0; }
  .ph-bleed { margin-left: 0; margin-right: 0; border-radius: var(--r); }
  .wrap-wide { max-width: 46rem; }
  .strip { margin: var(--s4) 0; padding: 0; overflow: visible; }
  .strip .ph { flex: 1 1 0; max-width: none; }
  .step { position: relative; }
  .step .ltr { position: absolute; right: calc(100% + 1.5rem); bottom: 0; }
  .ceil { max-width: 46rem; margin-left: auto; margin-right: auto; }
  .top-photo img { border-radius: var(--r); }
  .nav { display: flex; gap: var(--s4); padding-bottom: var(--s2); }
  .nav a { border-top: 0; font-size: 1.1rem; }
}
