/* Matt Gregory: one busy Tuesday, daylight to dark. Tokens written for this site only. */
@font-face {
  font-family: "Young Serif";
  src: url("../fonts/young-serif-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+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Karla";
  src: url("../fonts/karla-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  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+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --pine: #d2b499;
  --pine-shade: #c4a487;
  --pine-light: #e2cbb4;
  --ink: #0d1730;
  --ink-soft: #33291f;
  --blue: #2563ea;
  --blue-press: #1b4fc6;
  --night: #0a1230;
  --night-lift: #17224a;
  --lime: #d4f25c;
  --lime-press: #c2e23f;
  --white: #ffffff;
  --night-text: #dfe5f6;
  --warn: #8f1d12;
  --shade: rgba(13, 23, 48, 0.2);
  --ground: var(--pine);
  --text: var(--ink);
  --focus: var(--ink);
  --display: "Young Serif", "Iowan Old Style", "Palatino Linotype", "Book Antiqua", serif;
  --body: "Karla", "Segoe UI", "Helvetica Neue", sans-serif;
  --step-0: 1.0625rem;
  --step--1: 0.9375rem;
  --step--2: 0.875rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.75rem, 7.2vw, 2.6rem);
  --step-3: clamp(1.95rem, 8.7vw, 3.5rem);
  --gut: max(16px, env(safe-area-inset-left), calc((100% - 68rem) / 2));
  --gut-r: max(16px, env(safe-area-inset-right), calc((100% - 68rem) / 2));
  --s1: 0.5rem;
  --s2: 0.75rem;
  --s3: 1rem;
  --s4: 1.5rem;
  --s5: 2.5rem;
  --s6: 4rem;
  --r-s: 6px;
  --r-m: 14px;
  --wide: 68rem;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-settle: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --quick: 160ms;
  --std: 260ms;
  --slow: 560ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--pine);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 500;
  line-height: 1.5;
  font-synthesis: none;
  overflow-x: clip;
}
::selection { background: var(--blue); color: var(--white); }
img, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; margin: 0; text-wrap: balance; overflow-wrap: break-word; min-width: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: 1.5rem; line-height: 1.1; }
p { margin: 0 0 var(--s3); max-width: 62ch; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.09em; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, video:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip { position: absolute; left: var(--gut); top: -5rem; z-index: 30; background: var(--white); color: var(--ink); padding: 0.75rem 1rem; border-radius: var(--r-s); font-weight: 700; }
.skip:focus-visible { top: 0.5rem; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }

/* Header: it follows the light of the chapter under it */
.top { position: relative; top: 0; z-index: 20; display: flex; align-items: center; gap: 8px; min-height: 56px; padding: 6px var(--gut-r) 6px var(--gut); background: var(--pine); color: var(--ink); flex-wrap: wrap; }
.js .top { position: sticky; }
.top::before, .top::after { content: ""; position: absolute; inset: 0; opacity: 0; pointer-events: none; z-index: -1; }
.top::before { background: var(--blue); }
.top::after { background: var(--night); }
html[data-light="blue"] .top::before { opacity: 1; }
html[data-light="night"] .top::after { opacity: 1; }
html[data-light="blue"] .top, html[data-light="night"] .top { color: var(--white); --focus: var(--lime); }
.top__me { display: flex; align-items: center; gap: 8px; min-height: 44px; margin-right: auto; text-decoration: none; font-weight: 700; font-size: 1rem; white-space: nowrap; }
.top__me img { width: 36px; height: 36px; border-radius: 50%; }
.top__menu { min-width: 56px; min-height: 44px; padding: 0 10px; border: 2px solid currentColor; border-radius: var(--r-s); background: transparent; color: inherit; font: 700 0.9375rem/1 var(--body); cursor: pointer; }
.menu { display: flex; flex-basis: 100%; flex-direction: column; padding: 4px 0 10px; }
.js .menu { display: none; }
.js .menu.is-open { display: flex; }
.menu a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; font-weight: 700; text-decoration: none; border-top: 2px solid currentColor; }
.menu a[aria-current="page"] { text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 18px; border: 0; border-radius: var(--r-s); background: var(--blue); color: var(--white); font: 700 1.0625rem/1 var(--body); text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform var(--quick) var(--ease-out); }
.btn:active { transform: scale(0.97); background: var(--blue-press); }
.btn--sm { min-height: 44px; padding: 0 12px; font-size: 0.9375rem; }
.on-dark .btn, html[data-light="blue"] .top .btn, html[data-light="night"] .top .btn { background: var(--lime); color: var(--ink); }
.on-dark .btn:active { background: var(--lime-press); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--blue-press); }
  .on-dark .btn:hover, html[data-light="blue"] .top .btn:hover, html[data-light="night"] .top .btn:hover { background: var(--lime-press); }
  .top__menu:hover, .menu a:hover { text-decoration: underline; }
  .bend__btn:hover, .cal__day:hover { border-color: var(--lime); }
}

/* Chapters */
.ch { padding: var(--s5) var(--gut-r) var(--s5) var(--gut); background: var(--pine); color: var(--ink); }
.ch h2 { margin-bottom: var(--s3); }
.ch--blue { background: var(--blue); color: var(--white); --focus: var(--lime); }
.ch--night { background: var(--night); color: var(--white); --focus: var(--lime); }
.ch--light { background: var(--pine-light); }
.lede { font-size: var(--step-1); line-height: 1.4; }
.split { display: grid; gap: var(--s4); }

/* His photos, with his kind of label on them */
.shot { position: relative; margin: 0; }
.shot__door { overflow: hidden; border-radius: var(--r-s); background: var(--pine-shade); }
.shot img, .shot video { width: 100%; object-fit: cover; }
.shot--wide img { aspect-ratio: 4 / 3; }
.shot--tall img { aspect-ratio: 4 / 5; }
.shot--band img { aspect-ratio: 4 / 1; }
.tag { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); margin: 0; padding: 7px 10px 8px; border-radius: var(--r-s); background: var(--white); color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.25; box-shadow: 0 2px 10px var(--shade); }
.tag--top { top: 10px; bottom: auto; }
.tag--big { position: static; display: block; max-width: 34rem; padding: 14px 16px 16px; font-family: var(--display); font-weight: 400; font-size: clamp(1.45rem, 6.2vw, 2.1rem); line-height: 1.12; box-shadow: none; }
.tags { display: grid; gap: 8px; justify-items: start; margin: 0 0 var(--s4); list-style: none; }
.tags .tag { position: static; box-shadow: none; }
.tags__q { margin: 0 0 var(--s2); font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.loop__pause { position: absolute; right: 10px; top: 10px; min-width: 64px; min-height: 44px; border: 0; border-radius: var(--r-s); background: var(--white); color: var(--ink); font: 700 0.9375rem/1 var(--body); cursor: pointer; }

/* Home's first screen */
.first { padding: var(--s2) 0 var(--s4); background: var(--pine); }
.first h1 { padding: 0 var(--gut-r) 0 var(--gut); margin-bottom: var(--s2); font-size: clamp(1.8rem, 8.4vw, 2.5rem); }
.first__photo { position: relative; margin: 0; }
.first__photo img { width: 100%; height: clamp(210px, 64vw, 250px); object-fit: cover; object-position: 50% 6%; }
.tag--line { max-width: 17.5rem; padding: 9px 12px 11px; font-family: var(--display); font-weight: 400; font-size: 1.2rem; line-height: 1.14; }
.first__body { padding: 0 var(--gut-r) 0 var(--gut); }
.first__sub { margin: var(--s2) 0 var(--s2); }

/* Page tops (other pages) */
.pagetop { padding: var(--s4) var(--gut-r) var(--s4) var(--gut); }
.pagetop h1 { margin-bottom: var(--s2); }
.pagetop .shot { margin-top: var(--s3); }
.pagetop .shot img { aspect-ratio: 5 / 4; object-position: 50% 8%; }

/* The sign-up */
.signup { max-width: 30rem; margin: 0; }
.signup label { display: block; margin-bottom: 4px; font-weight: 700; font-size: var(--step--1); }
.signup__row { display: flex; flex-wrap: wrap; gap: 8px; }
.signup input { flex: 1 1 11rem; min-width: 0; height: 50px; padding: 0 12px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--white); color: var(--ink); font: 500 1rem/1 var(--body); }
.signup input::placeholder { color: var(--ink-soft); opacity: 0.75; }
.signup .btn { flex: 1 0 auto; }
.signup__note { margin: 8px 0 0; font-size: var(--step--2); }
.signup__msg { margin: 8px 0 0; padding: 8px 10px; border-radius: var(--r-s); background: var(--white); color: var(--warn); font-weight: 700; font-size: var(--step--1); }
.signup__msg:empty { display: none; }
.join-open { margin: 10px 0 0; font-size: var(--step--1); }
.join-open a { font-weight: 700; display: inline-flex; align-items: center; min-height: 44px; }
.join-open.is-back { padding: 10px 12px; border-radius: var(--r-s); background: var(--white); color: var(--ink); font-weight: 700; }
.join-open.is-back a { margin-left: 6px; padding: 0 12px; border-radius: var(--r-s); background: var(--blue); color: var(--white); text-decoration: none; }

/* "You're in": the last label of the day */
.in { margin-top: 4px; padding: 16px; border-radius: var(--r-m); background: var(--white); color: var(--ink); --focus: var(--ink); box-shadow: 0 6px 24px var(--shade); }
.in h3 { font-size: 1.75rem; margin-bottom: 4px; }
.in p { margin-bottom: 8px; }
.in__ways { display: grid; gap: 8px; margin: 8px 0; list-style: none; }
.in__way { padding: 10px 12px; border-radius: var(--r-s); background: var(--pine-light); }
.in__way strong { display: block; }
.in__way--now { background: var(--night); color: var(--white); --focus: var(--lime); }
.in__way--now .btn { margin-top: 8px; background: var(--lime); color: var(--ink); }
.in__small { font-size: var(--step--2); margin: 8px 0 0; }
.in__code { display: grid; gap: 8px; margin-top: 10px; }
.in__code input { width: 100%; flex: none; letter-spacing: 0.2em; font-weight: 700; font-size: 1.25rem; }
.in__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.linkbtn { min-height: 44px; padding: 0 10px; border: 2px solid var(--ink); border-radius: var(--r-s); background: var(--white); color: var(--ink); font: 700 0.9375rem/1 var(--body); cursor: pointer; }
.linkbtn[disabled] { border-color: var(--pine-shade); color: var(--ink-soft); cursor: default; }
.day1 { margin: 12px 0 0; padding: 16px 14px; max-width: 20rem; border-radius: 22px; background: var(--night); color: var(--white); --focus: var(--lime); }
.day1 h4 { margin: 0 0 2px; font: 400 1.5rem/1.1 var(--display); }
.day1 ol { margin: 10px 0; list-style: none; display: grid; gap: 6px; }
.day1 li { display: flex; justify-content: space-between; gap: 10px; padding: 9px 10px; border-radius: var(--r-s); background: var(--night-lift); font-weight: 700; }
.day1 .btn { width: 100%; background: var(--lime); color: var(--ink); }
.day1 p { color: var(--night-text); font-size: var(--step--2); margin: 10px 0 0; }

/* How's your Tuesday? */
.bend { display: grid; gap: var(--s3); max-width: 34rem; }
.bend__choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bend__btn { min-height: 52px; padding: 6px 10px; border: 2px solid var(--white); border-radius: var(--r-s); background: transparent; color: var(--white); font: 700 1rem/1.15 var(--body); text-align: left; cursor: pointer; }
.bend__btn[aria-pressed="true"] { background: var(--white); color: var(--ink); }
.bend__card { padding: 16px; border-radius: var(--r-m); background: var(--white); color: var(--ink); --focus: var(--ink); }
.bend__head { margin: 0 0 8px; font: 400 2.25rem/1 var(--display); }
.bend__moves { list-style: none; display: grid; gap: 4px; margin-bottom: 12px; }
.bend__moves li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-top: 2px solid var(--pine-light); font-weight: 700; line-height: 1.2; }
.bend__sets { display: flex; gap: 5px; flex: none; }
.bend__sets i { width: 18px; height: 18px; border-radius: 4px; background: var(--blue); transform-origin: 100% 50%; }
.bend[data-sets="2"] .bend__sets i:nth-child(3), .bend[data-sets="1"] .bend__sets i:nth-child(n+2) { transform: scaleX(0); opacity: 0; }
.bend__line { margin: 0 0 6px; min-height: 1.55em; }
.bend__quote { margin: 0 0 10px; min-height: 3.1em; font-weight: 700; }
.bend__done { display: flex; align-items: center; gap: 6px; margin: 0; padding-top: 10px; border-top: 2px solid var(--pine-light); color: var(--ink); font-weight: 700; }
.bend__done svg { width: 18px; height: 18px; flex: none; color: var(--blue); }
.piece { position: relative; isolation: isolate; }
.piece::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--night); opacity: 0; pointer-events: none; }
.piece.is-night::before { opacity: 1; }
.piece__after { margin-top: var(--s3); }

/* Lists in his words */
.his { list-style: none; display: grid; gap: 0; counter-reset: his; max-width: 36rem; margin-bottom: var(--s3); }
.his li { counter-increment: his; display: grid; grid-template-columns: 2rem 1fr; padding: 9px 0; border-top: 2px solid currentColor; font-weight: 700; }
.his li::before { content: counter(his); font-family: var(--display); font-weight: 400; font-size: 1.25rem; line-height: 1.2; }
.his--plain li { grid-template-columns: 1fr; font-weight: 500; }
.his--plain li::before { content: none; }
.areas { display: grid; gap: 12px; margin: var(--s3) 0; list-style: none; max-width: 36rem; }
.areas strong { display: block; font-family: var(--display); font-weight: 400; font-size: 1.35rem; }
.strip { display: flex; gap: 10px; margin: 0 calc(-1 * var(--gut-r)) var(--s3) calc(-1 * var(--gut)); padding: 0 var(--gut-r) 6px var(--gut); overflow-x: auto; list-style: none; scrollbar-width: thin; }
.strip li { flex: 0 0 72%; max-width: 20rem; }
.strip img { width: 100%; border-radius: var(--r-s); }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: var(--s3) 0; }
.pair .shot img { aspect-ratio: 4 / 5; }
.fold { max-width: 38rem; border-top: 2px solid currentColor; }
.fold:last-of-type { border-bottom: 2px solid currentColor; }
.fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 8px 0; font-weight: 700; cursor: pointer; list-style: none; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font: 400 1.6rem/1 var(--display); flex: none; }
.fold[open] summary::after { content: "\2212"; }
.fold p { margin: 0 0 12px; }
.quote { max-width: 34rem; margin: var(--s3) 0; padding: 0; font: 400 clamp(1.35rem, 5.6vw, 1.9rem)/1.18 var(--display); }
.week { list-style: none; display: grid; gap: 0; max-width: 36rem; margin-bottom: var(--s3); }
.week li { display: grid; grid-template-columns: 6.2rem 1fr; gap: 8px; padding: 9px 0; border-top: 2px solid currentColor; }
.week b { font-weight: 700; }

/* The fortnight, laid out like any calendar */
.cal { max-width: 34rem; margin: 0 0 var(--s3); }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal__dow { text-align: center; font-weight: 700; font-size: var(--step--2); padding-bottom: 2px; }
.cal__wk { grid-column: 1 / -1; margin: 6px 0 0; font-weight: 700; font-size: var(--step--2); }
.cal__day { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 1px; min-height: 58px; padding: 5px 0 4px; border: 2px solid var(--ink); border-radius: var(--r-s); background: transparent; color: var(--ink); font: 700 1rem/1 var(--body); }
button.cal__day { cursor: pointer; width: 100%; }
.cal__day svg { width: 20px; height: 20px; }
.cal__day--s { background: var(--blue); border-color: var(--blue); color: var(--white); }
.cal__day--s svg { color: var(--lime); }
.cal__day--c { background: var(--white); }
.cal__day--t { background: var(--lime); border-color: var(--ink); }
.cal__day--k { background: var(--night); border-color: var(--night); color: var(--white); }
.cal__day[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }
.cal__key { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 12px 0 0; list-style: none; font-size: var(--step--1); }
.cal__key li { display: flex; align-items: center; gap: 8px; }
.cal__key i { flex: none; width: 20px; height: 20px; border-radius: 4px; border: 2px solid var(--ink); }
.cal__key .k-s { background: var(--blue); border-color: var(--blue); }
.cal__key .k-c { background: var(--white); }
.cal__key .k-t { background: var(--lime); }
.cal__key .k-k { background: var(--night); border-color: var(--night); }
.cal__detail { margin: 12px 0 0; padding: 12px 14px; border-radius: var(--r-s); background: var(--white); color: var(--ink); min-height: 5.5rem; }
.cal__detail strong { display: block; font: 400 1.35rem/1.15 var(--display); margin-bottom: 4px; }
.cal__detail p { margin: 0; }
.cal__note { font-size: var(--step--2); }
.draft { max-width: 36rem; margin: var(--s3) 0 0; padding: 8px 10px; border: 2px dashed currentColor; border-radius: var(--r-s); font-size: var(--step--2); }
.daylist { list-style: none; display: grid; max-width: 36rem; }
.daylist li { display: grid; grid-template-columns: 4.6rem 1fr; gap: 8px; padding: 8px 0; border-top: 2px solid currentColor; }

/* Close and footer */
.close h2 { max-width: 22ch; }
.nb { white-space: nowrap; }
.foot { padding: var(--s4) var(--gut-r) calc(var(--s4) + env(safe-area-inset-bottom)) var(--gut); background: var(--night); color: var(--night-text); --focus: var(--lime); font-size: var(--step--1); }
.foot__name { color: var(--white); font-weight: 700; }
.foot__links { display: flex; flex-wrap: wrap; gap: 0 18px; list-style: none; margin-bottom: var(--s2); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.more-row { display: flex; flex-wrap: wrap; gap: 0 22px; }
.close__say { max-width: 24ch; font-size: clamp(1.5rem, 6.4vw, 2.2rem); line-height: 1.1; }
.foot p { margin-bottom: 6px; }
.foot__ig { display: inline-flex; align-items: center; min-height: 44px; }

/* Motion: doors open, labels land, the day's marks tick on. Only when script runs and motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
  .top::before, .top::after, .piece::before { transition: opacity 500ms ease; }
  .bend__sets i { transition: transform 180ms var(--ease-out), opacity 180ms var(--ease-out); }
  .bend__moves li:nth-child(2) i { transition-delay: 30ms; }
  .bend__moves li:nth-child(3) i { transition-delay: 60ms; }
  .bend__moves li:nth-child(4) i { transition-delay: 90ms; }
  .bend__moves li:nth-child(5) i { transition-delay: 120ms; }
  .js .door:not(.is-in) .shot__door > * { clip-path: inset(0 100% 0 0); }
  .js .door--right:not(.is-in) .shot__door > * { clip-path: inset(0 0 0 100%); }
  .js .door .shot__door > * { transition: clip-path var(--slow) var(--ease-out); }
  .js .door:not(.is-in) .tag, .js .lands:not(.is-in) { opacity: 0; transform: scale(0.94) rotate(-1.5deg); }
  .js .door .tag, .js .lands { transition: opacity var(--std) var(--ease-out) 220ms, transform var(--std) var(--ease-settle) 220ms; }
  .js .tags.lands-each:not(.is-in) .tag { opacity: 0; transform: scale(0.94) rotate(-1.5deg); }
  .js .tags.lands-each .tag { transition: opacity var(--std) var(--ease-out), transform var(--std) var(--ease-settle); }
  .js .tags.lands-each .tag:nth-child(2) { transition-delay: 80ms; }
  .js .tags.lands-each .tag:nth-child(3) { transition-delay: 160ms; }
  .js .tags.lands-each .tag:nth-child(4) { transition-delay: 240ms; }
  .js .tags.lands-each .tag:nth-child(5) { transition-delay: 320ms; }
  .js .fades:not(.is-in) { opacity: 0; }
  .js .fades { transition: opacity 320ms var(--ease-out); }
  .js .cal.ticks:not(.is-in) .cal__day svg { opacity: 0; transform: scale(0.9); }
  .js .cal.ticks .cal__day svg { transition: opacity var(--std) var(--ease-out), transform var(--std) var(--ease-settle); transition-delay: calc(var(--i, 0) * 60ms); }
  .in, .day1 { animation: arrive 320ms var(--ease-out) both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(8px) scale(0.98); } to { opacity: 1; transform: none; } }
}

/* 320 and under: the name folds into the photo, the form stacks itself */
@media (max-width: 22.4rem) {
  .top__me span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .bend__choices { grid-template-columns: 1fr; }
  .cal__key { grid-template-columns: 1fr; }
}

/* Wider screens */
@media (min-width: 52rem) {
  :root { --gut: max(24px, calc((100% - 68rem) / 2)); --gut-r: max(24px, calc((100% - 68rem) / 2)); }
  .ch, .pagetop { padding-top: var(--s6); padding-bottom: var(--s6); }
  .first { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 30rem); grid-template-areas: "h photo" "body photo"; column-gap: var(--s5); align-content: center; padding: var(--s5) var(--gut-r) var(--s6) var(--gut); }
  .first h1 { grid-area: h; align-self: end; padding: 0; font-size: 3.6rem; }
  .first__photo { grid-area: photo; }
  .first__photo img { height: auto; aspect-ratio: 5 / 4; border-radius: var(--r-s); }
  .first__body { grid-area: body; padding: 0; }
  .tag--line { max-width: 22rem; font-size: 1.5rem; }
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: var(--s5); align-items: start; }
  .split--flip { grid-template-columns: minmax(0, 24rem) minmax(0, 1fr); }
  .split--flip > .shot { order: -1; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  .piece { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 34rem); column-gap: var(--s5); align-content: start; }
  .piece > * { grid-column: 1; }
  .piece > .bend { grid-column: 2; grid-row: 1 / span 6; }
  .pagetop__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 24rem); gap: var(--s5); align-items: center; }
  .pagetop .shot { margin-top: 0; }
  .strip { margin: 0 0 var(--s3); padding: 0 0 6px; }
  .strip li { flex-basis: 15rem; }
  .pair { max-width: 34rem; }
}

/* The page links sit in the header only when there is room for them on one line */
@media (min-width: 62rem) {
  .top { flex-wrap: nowrap; }
  .top__menu { display: none; }
  .menu, .js .menu, .js .menu.is-open { display: flex; flex-direction: row; flex-basis: auto; order: 2; gap: 4px; padding: 0; }
  .menu a { border-top: 0; padding: 0 10px; min-height: 44px; white-space: nowrap; }
  .top__me { order: 1; }
  .top .btn { order: 3; }
}
