/* Hallmark · theme: custom · genre: playful · posture: restrained · shape: the front page is a wide photo-led page, every page past it is one column · redesign: restyle · hero: the photograph of a child, its own words on a cream panel at its bottom left · job: book one night with a sitter · nav: the logo band, and on the front page the logo with three section links and the booking button beside it · footer: two lines, the area she serves and the booking link · surface: absolute */
/* Phone first at 390 px. Every page past the front one is a 720 px column; the front page runs to 1200 px. Cream paper, white panels, navy ink, one open night per card. */
/* Hallmark · waive 7b · surface: absolute, named in the stamp · the brand sheet lists white beside the cream as a page colour, so panels, fields and button labels take --white from the token block. */
/* Hallmark · waive 90a · src/views holds server-rendered Hono views and no component folder · each page writes its own form and its own buttons, so there is no shared build for the book and pay controls to sit in. */
/* Hallmark · waive 80 · the drawn figure is the client's own logo, the face group copied out of her finished business card file · the closing band of the front page puts that same group over its top edge, redrawn in none of its lines and recoloured in none of its fills. */
/* Hallmark · waive 89a · --radius-control is 10px and --radius-card is 14px in the token block, and every button on the site is the one recipe · the owner's standing ruling fixes controls at 10 px and panels at 14 px, so a button inside a panel is the house look rather than a radius that drifted. */
/* Hallmark · answered F23 · the layout that writes head and body is shared by every parent page, and this ticket may not rewrite /book, /b or /sonya · the document names its language and titles itself in its own words, and the description is the one line left to add when that shell is reopened. */
/* Hallmark · dismissed 70 · each state line on /b and /sonya is read from the booking row when the page is built, so nothing prints a success no request earned. */
/* Hallmark · answered F1 · this client writes every page, email and message with straight quotes. */

/* The two families, copied from clients/sonya-on-site/logo/fonts and served from
   this origin, so no page asks another site for a font. Fredoka carries the page
   heading and the wordmark, Nunito carries everything else. */
@font-face {
  font-family: "SOS Fredoka";
  src: url("/fonts/Fredoka-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nunito";
  src: url("/fonts/Nunito-var.ttf") format("truetype");
  font-weight: 200 1000;
  font-style: normal;
  font-display: swap;
}

/* The brand sheet in variables. Nothing outside this block names a colour.
   --navy-deep is navy at 80 percent, for hover and pressed fills. --error is
   6.3 on the cream and 5.5 on the pink surface. --muted is 6.4 on the cream, for
   hours and hints. --line is the hairline on a panel, --edge the stronger line a
   field needs to be seen at all. The soft tints carry navy text; sky and pink
   stay on surfaces and never stand in for type. */
:root {
  color-scheme: light;
  --navy: #304C82;
  --sky: #8BC3F1;
  --pink: #FBC4CF;
  --white: #FFFFFF;
  --cream: #FFF8F2;
  --navy-deep: #263D68;
  --error: #A8322A;
  --muted: #4A5C7A;
  --line: #E6DCD1;
  --edge: #64748F;
  --sky-soft: #DCEBFB;
  --pink-soft: #FBE3EA;
  --ink: var(--navy);
  --panel: var(--white);
  --font-display: "SOS Fredoka", "Trebuchet MS", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
  --radius-card: 14px;
  --radius-control: 10px;
  --radius-field: 8px;
  --shadow: 0 2px 12px rgba(48, 76, 130, 0.12);
  /* The cream the hero panel is cut from: the page colour at 0.78, so the
     photograph reads through it under an 18 px blur. */
  --cream-glass: color-mix(in srgb, var(--cream) 78%, transparent);
  /* The baby from the logo, peeking. The face group is 1128 by 749 units and
     the business card shows it down to unit 333, so the strip the closing band
     shows is 333 / 1128 of the drawing's own width. This is the width a phone
     gets; the band sets a larger one from 60rem up. */
  --peek-w: 16rem;
  --peek-cut: calc(var(--peek-w) * 333 / 1128);
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
  scrollbar-color: var(--sky) var(--cream);
  -webkit-text-size-adjust: 100%;
}

::selection {
  background: var(--pink);
  color: var(--navy);
}

.site-head {
  background: var(--white);
  border-bottom: 3px solid var(--sky);
  padding: 0.9rem 1.1rem;
}

/* The logo and the column it sits in line up with the page under it. */
.brand {
  display: block;
  max-width: 45rem;
  margin: 0 auto;
}

.brand img {
  display: block;
  height: 3rem;
  width: auto;
}

/* The wordmark on Sonya's own pages, where her logo is not shown. */
.brand-name {
  max-width: 45rem;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}

main {
  max-width: 45rem;
  margin: 0 auto;
  padding: 1.4rem 1.1rem 3rem;
}

h1 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  line-height: 1.25;
  margin: 0 0 0.7rem;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.4rem;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
}

p {
  margin: 0 0 0.9rem;
}

a {
  color: var(--ink);
}

/* The first line under a page title, one step up from the rest. */
.lede {
  font-size: 1.125rem;
  max-width: 55ch;
}

.booked-time,
.rule-note {
  color: var(--muted);
}

.booked-time {
  font-size: 1.125rem;
  margin: 0 0 1.2rem;
}

.site-foot {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 45rem;
  margin: 0 auto;
  padding: 1.1rem;
}

.site-foot p {
  margin: 0 0 0.3rem;
}

/* Buttons, links and form buttons made to look the same and to sit one under
   the next on a phone. */
.actions {
  display: grid;
  gap: 0.6rem;
  margin: 1.2rem 0;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 120ms ease-out, border-color 120ms ease-out, color 120ms ease-out;
}

/* The second voice: the same shape, filled with the panel instead of the ink. */
.btn-quiet {
  background: var(--panel);
  color: var(--navy);
}

.btn:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.btn-quiet:hover {
  background: var(--sky-soft);
  border-color: var(--navy);
}

.btn:active {
  background: var(--navy-deep);
}

.btn-quiet:active {
  background: var(--sky);
}

button:disabled,
.btn:disabled {
  background: var(--muted);
  border-color: var(--muted);
  color: var(--white);
  cursor: not-allowed;
  opacity: 0.6;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--ink);
  border-radius: var(--radius-control);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 120ms ease-out, border-color 120ms ease-out;
}

button:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.pay button {
  background: var(--white);
  color: var(--ink);
}

/* One rule for every focus, shown at once and drawn outside the control. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}

.hours,
.nights,
.bookings,
.dates,
.pay {
  list-style: none;
  margin: 0.4rem 0 1rem;
  padding: 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--line);
}

.hours li:last-child {
  border-bottom: 0;
}

.hours li span:first-child {
  font-weight: 600;
}

.hours li span:last-child {
  color: var(--muted);
  text-align: right;
}

/* The main object on /book: one open night per card, tall enough for a thumb,
   the night named first and her hours for it under the name. */
.nights li {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 0.6rem;
}

.nights a {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  min-height: 3.25rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  transition: background-color 120ms ease-out;
}

.nights a:hover {
  background: var(--sky-soft);
}

.nights a:active {
  background: var(--sky);
}

.night-name {
  font-weight: 600;
}

.night-hours {
  color: var(--muted);
  white-space: nowrap;
}

.notice {
  border: 1px solid var(--line);
  background: var(--pink-soft);
  border-radius: var(--radius-field);
  padding: 0.7rem 0.9rem;
  margin: 0 0 1rem;
}

/* Only what a page says went wrong is set in the red. */
.notice[role="alert"] {
  border-color: var(--error);
  color: var(--error);
}

.status {
  font-weight: 600;
}

form {
  margin: 0 0 1.2rem;
}

label {
  display: block;
  margin: 1rem 0 0.25rem;
  font-weight: 600;
}

/* A ticked box is one tap along its whole row. */
label:has(input[type="checkbox"]) {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3rem;
}

input,
select,
textarea {
  display: block;
  width: 100%;
  min-height: 3rem;
  padding: 0.7rem 0.75rem;
  border: 1px solid var(--edge);
  border-radius: var(--radius-field);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  caret-color: var(--navy);
}

input[type="checkbox"] {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
  min-height: 0;
  padding: 0;
  accent-color: var(--navy);
}

input:hover,
select:hover,
textarea:hover {
  border-color: var(--navy);
}

textarea {
  min-height: 6rem;
}

.times {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.8rem 0;
}

.times label {
  margin: 0.4rem 0 0.25rem;
}

/* One labelled control, its help line and the gap to the next one. */
.field {
  margin: 0 0 0.9rem;
}

.field label {
  margin-top: 0;
}

.field .hint {
  margin-bottom: 0;
}

/* A card on the cream: white, hairline, one soft shadow, 14 px corners. */
.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem 1rem;
  margin: 0 0 1rem;
}

.panel > :first-child {
  margin-top: 0;
}

.panel > :last-child {
  margin-bottom: 0;
}

.pay li {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow);
  margin-bottom: 0.8rem;
  padding: 0.9rem;
}

.pay .method {
  display: block;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pay .copy {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: 0.5rem 0.6rem;
  margin: 0 0 0.6rem;
  overflow-wrap: anywhere;
  -webkit-user-select: all;
  user-select: all;
}

.pay .hint,
.hint,
.rule-note {
  color: var(--muted);
  font-size: 0.95rem;
}

.hold .pay {
  margin-top: 0.9rem;
}

/* The held booking: the money is the largest thing on the page, and the pay
   buttons follow it straight away. */
.amount {
  border-radius: var(--radius-card);
  background: var(--pink);
  color: var(--navy);
  padding: 0.9rem 1rem;
  margin: 0 0 0.8rem;
  font-size: 2.4rem;
  line-height: 1.15;
  text-wrap: balance;
}

.details,
.family {
  border-top: 1px solid var(--line);
  margin: 1.4rem 0;
}

.details > div,
.family > div {
  display: flex;
  gap: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--line);
}

.details dt,
.family dt {
  flex: 0 0 40%;
  max-width: 9rem;
  color: var(--muted);
}

.details dd,
.family dd {
  margin: 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

/* What the parent typed in her own words sits apart from the rows of values. */
.details .note,
.family .note {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  padding: 0.5rem 0.6rem;
}

/* Sonya's own pages, on her phone between jobs. */
.sonya main {
  padding-top: 0.9rem;
}

.group:first-of-type h2 {
  margin-top: 0.4rem;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  max-width: 45rem;
  margin: 0 auto;
  padding: 0.4rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.tabs a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.7rem;
  border-radius: var(--radius-field) var(--radius-field) 0 0;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
}

.tabs a:hover,
.tabs a[aria-current="true"] {
  background: var(--sky-soft);
  color: var(--navy);
}

.booking {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 0.9rem 1rem 1rem;
  margin-bottom: 0.8rem;
}

.booking .when,
.booking .money {
  font-weight: 700;
  margin: 0 0 0.2rem;
}

.booking .state {
  color: var(--muted);
  margin: 0;
}

.booking .family {
  margin: 0.8rem 0;
}

.booking-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.9rem;
}

.booking-actions form {
  margin: 0;
}

.family-page {
  margin: 0.8rem 0 0;
}

/* Her week, and the dates she changed by hand. */
.day {
  border-top: 1px solid var(--line);
  padding: 0.5rem 0 0.9rem;
}

.day-name {
  font-weight: 700;
  margin: 0.4rem 0 0;
}

.dates li {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}

.dates .date {
  font-weight: 700;
  white-space: nowrap;
  margin: 0;
}

.dates .state {
  color: var(--muted);
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

.dates form {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
}

.dates .btn {
  width: auto;
  min-height: 3rem;
  padding: 0.5rem 0.9rem;
}

.feed {
  overflow-wrap: anywhere;
}

.sign-out {
  max-width: 45rem;
  margin: 0 auto;
  padding: 0 1.1rem 2.4rem;
}

/* At 320 px a day's line has room for the day and her hours for it on one line
   only when the row stands a little smaller and the two parts stand closer. */
@media (max-width: 22.5rem) {
  .hours li {
    gap: 0.35rem;
    font-size: 0.85rem;
  }

  .hours li span:first-child {
    white-space: nowrap;
  }
}

@media (min-width: 30rem) {
  .nights a {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 40rem) {
  .booking-actions {
    grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  }
}

/* --------------------------------------------------------------------------
   The front page. Phone first: the photograph, then the words under it. From
   60rem the photograph fills a frame the whole content width and the words sit
   at its bottom left, on cream the photograph reads through.
   -------------------------------------------------------------------------- */

/* The front page is the one page that runs wide; every other page keeps the
   45rem column. */
main.main-wide {
  max-width: 75rem;
}

/* The front band keeps its room at the sides in the bar inside it, so the mark
   and the button land on the same two lines as the photograph under them, at
   1280 px, at 1920 px and at every width between. */
.site-head-front {
  padding: 0.7rem 0;
}

/* The logo at one end, the page's own links and the booking button at the
   other, lined up with the wide page under them. */
.head-bar {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 1.1rem;
}

.site-head-front .brand {
  max-width: none;
  margin: 0 auto 0 0;
}

/* The footer of the wide page lines up with the page above it. */
main.main-wide + .site-foot {
  max-width: 75rem;
}

/* A phone gets the mark and the button and no links. */
.head-links {
  display: none;
}

.head-links a {
  display: flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.7rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.head-links a:hover {
  color: var(--navy);
}

/* The buttons a parent can press on this page stand about 50 px: a thumb's 48
   px to hit, and no taller than that. */
.btn-head,
main.main-wide .btn {
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.hero {
  position: relative;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.hero-say {
  margin-top: 1.2rem;
}

.hero-say h1 {
  font-size: 2.4rem;
  line-height: 1.12;
  margin: 0 0 0.6rem;
}

.hero-say p {
  max-width: 42ch;
}

.hero-note {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0.7rem 0 0;
}

/* While the site cannot take a booking yet this line is the answer to the
   heading over it, so it wears the display face one step under that heading
   rather than reading as a third line of body text. */
.hero-open {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy);
  margin: 0;
}

/* One photograph to one side, one short block of words to the other. */
.split {
  display: grid;
  gap: 1.4rem;
  align-items: center;
  margin-top: 5rem;
}

.split-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
}

.split-say h2,
.block h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 1.1rem + 2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.6rem;
}

/* A heading inside one of the white panels names a box of numbers, not a turn
   of the page, so it stands well under the section headings over them. */
main.main-wide .panel h2 {
  font-size: 1.5rem;
}

.split-say p {
  max-width: 55ch;
}

/* The browser's own numbers, in the display face, one step of the page per
   line. */
.steps {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding-left: 1.7rem;
}

.steps li::marker {
  font-family: var(--font-display);
  font-weight: 600;
}

/* The space one front page section keeps from the one above it. */
.block {
  margin-top: 5rem;
}

.block p {
  max-width: 60ch;
}

/* The three towns, as large as the head over them. */
.towns {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 2.4rem;
  margin: 1.3rem 0 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1rem + 1.8vw, 2.6rem);
  line-height: 1.25;
}

/* The one way to start a booking at the end of the towns. */
.where-book {
  margin: 1.8rem 0 0;
}

/* Her week, her rate and her rule, one under the other until there is room for
   two columns. Each panel keeps its own height, so the short one shows no empty
   bottom. */
.panels {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

.panels > .panel {
  margin: 0;
}

/* The buttons under "Ask her first" sit in a row and wrap under one another
   when the row runs out. */
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact .btn {
  width: auto;
  min-width: 11rem;
}

/* The band the page closes on, and the baby from the logo over its top edge. */
.close {
  position: relative;
  margin-top: calc(4rem + var(--peek-cut));
  padding: 2.1rem 1.3rem 2.3rem;
  border-radius: var(--radius-card);
  background: var(--navy);
  color: var(--white);
}

.close-lead {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.1rem + 1.9vw, 2.9rem);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 1.2rem;
}

.close .btn {
  width: fit-content;
}

/* The frame is exactly the strip the card shows, so the chin is what gets cut.
   The face sits in the middle of the drawing, so on a phone the frame is run
   past the right edge of the band to bring that face to it. What hangs over is
   empty paper, and the page clips it. */
.peek-frame {
  position: absolute;
  top: calc(-1 * var(--peek-cut));
  right: -4.6rem;
  width: var(--peek-w);
  height: var(--peek-cut);
  overflow: hidden;
}

.peek {
  display: block;
  width: var(--peek-w);
  height: calc(var(--peek-w) * 749 / 1128);
}

/* The same button the rest of the site uses, turned round for a navy field. */
.btn-invert {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

.btn-invert:hover {
  background: var(--sky-soft);
  border-color: var(--sky-soft);
}

.btn-invert:active {
  background: var(--sky);
  border-color: var(--sky);
}

/* A navy ring on a navy band is no ring at all. */
.close a:focus-visible {
  outline-color: var(--white);
}

@media (min-width: 48rem) {
  .head-links {
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .panels {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1.5rem;
  }

  /* Her week is the long one, so it takes the left column all the way down.
     The rate sits over the cancellation rule in the right column. */
  .panel-hours {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .panel-price {
    grid-column: 2;
    grid-row: 1;
  }

  .panel-cancel {
    grid-column: 2;
    grid-row: 2;
  }

  /* There the button stands at its own width instead of across the page. */
  .where-book .btn {
    width: fit-content;
  }
}

@media (min-width: 60rem) {
  main.main-wide {
    padding-top: 1.1rem;
  }

  /* The frame takes the height the screen has left under the band at the top,
     so the whole hero is above the fold on a laptop. The crop keeps clear of
     the top of the child's hair. */
  .hero-photo {
    height: clamp(20rem, calc(100svh - 12.5rem), 37.5rem);
    object-fit: cover;
    object-position: 50% 25%;
  }

  /* The words sit at the bottom left of the photograph, so they never cover
     the hand placing the top block. */
  .hero-say {
    position: absolute;
    top: auto;
    bottom: 2.4rem;
    left: 2.4rem;
    transform: none;
    width: min(28rem, 40%);
    margin: 0;
    padding: 1.6rem 1.7rem 1.8rem;
    border-radius: var(--radius-card);
    background: var(--cream-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero-say h1 {
    font-size: clamp(2.5rem, 1rem + 2.5vw, 3.25rem);
  }

  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    margin-top: 6.5rem;
  }

  .split-flip .split-photo {
    order: 2;
  }

  .block {
    margin-top: 6.5rem;
  }

  /* From here the peek is larger and stands toward the right edge of the band.
     The room above the band is read off the same measurement, so it never lands
     on the section over it. */
  :root {
    --peek-w: 26rem;
  }

  .peek-frame {
    right: 3rem;
  }

  .close {
    margin-top: calc(4.5rem + var(--peek-cut));
    padding: 2.6rem 2.4rem 2.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
