/* byballad.com — Ballad LLC. Built to the mockup "Ballad Software Minimalist Hero (2)"
   (Devon and ChatGPT, 2026-11-14): Cormorant Garamond, whitespace, greyscale.

   THE RULES OF THIS PAGE (the mockup's interaction notes)
     - The five products are one selector: one selection at a time, and none to begin with.
       Choosing one asks for an appointment about it; letting it go takes the asking back.
     - There are two birds, and each is the other's reverse. The head's is the light / dark
       switch. The company's opens what the company says of itself (THE COMPANY SAYS MORE).
     - The appointment is part of this page, shut until it is asked for (mockup "Ballad
       Dark-Mode Appointment Scheduler (1)", then Devon's banner, 2026-11-15).
     - Two things change the page's length: the company saying more, and the appointment
       opening and shutting. site.js owns each motion on one clock of its own.
     - Nothing else an interaction does moves the layout: states change transform, shadow
       and colour only. No other state changes a box's size, margin or border width.
     - Restrained. The type and the white space are the page. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
/* the italic: one line of the page is set in it (the company's "Founded August 2026") */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

/* ---- the two modes: every colour on the page is one of these ---- */
:root {
  color-scheme: light;
  --page: #fcfcfb;
  --tile: #ffffff;
  --ink: #161616;
  --soft: #4a4a4a;
  --muted: #6f6f6f;
  --rule: #dadada;
  --edge: #b9b9b9;      /* the outline of something that can be pressed or typed in */
  --card: #ffffff;      /* the appointment's panel and its boxes */
  --warn: #a3342b;      /* a box that still needs an answer */
  --key: #1a1a1a;       /* the dark button, and a selected tile */
  --key-ink: #ffffff;
  --tile-edge: rgba(0, 0, 0, 0.04);
  --tile-up: #ffffff;   /* a tile under the hand (the dark mode's lightens: its shadow has little to show on) */
  --tile-edge-up: rgba(0, 0, 0, 0.06);
  --shadow-rest: 0 1px 2px rgba(0, 0, 0, 0.05), 0 8px 22px rgba(0, 0, 0, 0.08);
  --shadow-lift: 0 3px 6px rgba(0, 0, 0, 0.08), 0 22px 44px rgba(0, 0, 0, 0.21);   /* under the hand (louder: Devon, 2026-11-15) */
  --shadow-turn: 0 2px 4px rgba(0, 0, 0, 0.06), 0 16px 34px rgba(0, 0, 0, 0.14);   /* the quiet turn's, the hover's as it was */
  --shadow-seat: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-in: inset 0 2px 5px rgba(0, 0, 0, 0.45);
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #121212;
  --tile: #1e1e1e;
  --ink: #e6e6e6;
  --soft: #bdbdbd;
  --muted: #929292;
  --rule: #2c2c2c;
  --edge: #4b4b4b;
  --card: #171717;
  --warn: #e2877c;
  --key: #e6e6e6;
  --key-ink: #161616;
  --tile-edge: rgba(255, 255, 255, 0.07);
  --tile-up: #2c2c2c;
  --tile-edge-up: rgba(255, 255, 255, 0.16);
  --shadow-rest: 0 1px 2px rgba(0, 0, 0, 0.5), 0 8px 22px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 3px 6px rgba(0, 0, 0, 0.55), 0 22px 44px rgba(0, 0, 0, 0.8);
  --shadow-turn: 0 2px 4px rgba(0, 0, 0, 0.5), 0 16px 34px rgba(0, 0, 0, 0.6);
  --shadow-seat: 0 1px 2px rgba(0, 0, 0, 0.6);
  --shadow-in: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

*, *::before, *::after { box-sizing: border-box; }
/* THE SCROLL BAR (Devon, 2026-11-15). The window's own is not drawn: the page has the CRM's
   pill in its place, seen only while the page moves, and pressed short at an end as the page
   gives there (site.js THE PAGE'S SCROLL owns both; the head's script sets data-scroll before
   the page is drawn, so nothing shifts). Without the script the window keeps a bar, thin and
   in the page's own colours. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: thin; scrollbar-color: var(--edge) var(--page); }
:root[data-scroll="own"] { scrollbar-width: none; }
:root[data-scroll="own"]::-webkit-scrollbar { width: 0; height: 0; }
/* the pill: Ballad_CRM_Demo's .drawer__scrollbar, on the window. An indicator, no pointer. */
.scrollbar { position: fixed; top: 0; right: 5px; z-index: 20; width: 5px; height: 0; border-radius: 999px; background: var(--edge); opacity: 0; pointer-events: none; transition: opacity 0.3s ease, background-color 0.3s ease; }
.scrollbar.is-active { opacity: 0.85; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 20px;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.3s ease, color 0.3s ease;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 6px; }

/* wide enough for the five products in one row; the page's own blocks are centred in it */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 64px; }
/* how far the foot stands from what is above it: --gap with the appointment shut, --gap-asking
   with it open, --asking between. The foot and the Privacy Policy's fold both stand by it. */
.wrap { --gap: 150px; --gap-asking: 150px; --to-foot: calc(var(--gap) + (var(--gap-asking) - var(--gap)) * var(--asking)); }

/* ---- a tile: the white square the bird and the product glyphs stand on ---- */
.tile {
  display: grid;
  place-items: center;
  flex: none;
  background: var(--tile);
  color: var(--ink);
  border-radius: 22%;
  box-shadow: 0 0 0 1px var(--tile-edge), var(--shadow-rest);
  transition: transform 0.18s ease-out, box-shadow 0.22s ease, background-color 0.3s ease, color 0.3s ease;
}
/* the bird, drawn from its one raster as a mask, so it takes the mode's ink */
.tile__bird {
  display: block;
  width: 46%;
  aspect-ratio: 374 / 576;
  background: currentColor;
  -webkit-mask: url("assets/ballad-bird.png") center / contain no-repeat;
  mask: url("assets/ballad-bird.png") center / contain no-repeat;
}

/* ---- THE BIRD IS THE SWITCH: press it and the page turns ---- */
.bird { display: block; border-radius: 22%; -webkit-tap-highlight-color: transparent; }
/* THE TWO BIRDS ARE EACH OTHER'S REVERSE (Devon, 2026-11-15: "if ones light, the other is
   dark"). The company's stands in the page's own mode; the head's stands in the other one
   (his word the same day: "swap the middle ballad for the white one and default the top one
   for the black", so the middle of the page does not read dark button, dark bird, dark
   product). There is always a light bird and a dark bird, and turning the page swaps them.
   The reversed tile takes the page's reverse pair (the dark button's), and everything a tile
   does follows. A paper's button (the Privacy Policy's lock, the Terms of Service's page)
   takes the same reverse while its paper is open: selected, with its shadow and its hover
   (below). */
.bird--reverse .tile,
.doc__button[aria-expanded="true"] .tile { --tile: var(--key); --tile-up: var(--key); --ink: var(--key-ink); --tile-edge: var(--key); --tile-edge-up: var(--key); }
/* a bird under the hand, and pressed; a paper's button is a tile button the same way */
.bird:hover .tile, .doc__button:hover .tile { transform: translateY(-4px); background: var(--tile-up); box-shadow: 0 0 0 1px var(--tile-edge-up), var(--shadow-lift); }
.bird:active .tile, .doc__button:active .tile { transform: translateY(1px); box-shadow: 0 0 0 1px var(--tile-edge), var(--shadow-seat); transition-duration: 0.07s; }

/* ---- the dark button ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--key);
  color: var(--key-ink);
  border-radius: 14px;
  padding: 11px 21px 12px;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  box-shadow: var(--shadow-seat);
  transition: transform 0.18s ease-out, box-shadow 0.22s ease, background-color 0.3s ease, color 0.3s ease;
}
.btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(1px); box-shadow: var(--shadow-seat); transition-duration: 0.07s; }
.btn--big { border-radius: 16px; padding: 17px 48px 19px; font-size: 22px; }
/* waiting: grey, flat, and it does not answer the hand. Chosen, it takes its ink over the
   same third of a second everything else on the page turns in. */
.btn:disabled { background: var(--rule); color: var(--muted); box-shadow: none; cursor: default; }
.btn:disabled:hover, .btn:disabled:active { transform: none; box-shadow: none; }

/* ---- the head ---- */
.head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; }
.brand { display: flex; align-items: center; gap: 18px; }
.brand .tile { width: 56px; height: 56px; }
.brand__rule { align-self: stretch; width: 1px; background: var(--rule); transition: background-color 0.3s ease; }
.brand__words { display: block; }
.brand__name { display: block; font-size: 30px; font-weight: 500; line-height: 1; letter-spacing: 0.42em; margin-right: -0.42em; }
.brand__line { display: block; margin: 9px -0.42em 0 0; font-size: 9.5px; font-weight: 500; line-height: 1; letter-spacing: 0.42em; text-transform: uppercase; color: var(--soft); transition: color 0.3s ease; }
.nav { display: flex; align-items: center; gap: 50px; }
.nav__link { font-size: 18px; font-weight: 500; transition: color 0.18s ease; }
.nav__link:hover { color: var(--muted); }

/* ---- the hero ---- */
.hero { text-align: center; padding-top: 128px; }
.hero__title { margin: 0; font-size: clamp(42px, 7.6vw, 78px); font-weight: 500; line-height: 1.04; letter-spacing: -0.005em; text-wrap: balance; }
.hero__sub { margin: 20px auto 0; max-width: 18.6em; font-size: clamp(22px, 3.1vw, 31px); font-weight: 400; line-height: 1.3; color: var(--soft); transition: color 0.3s ease; }

/* the hero's button */
.hero .btn { margin-top: 58px; }

/* ---- the company ---- */
/* The bird, a hairline and the words, side by side and centred as one: as it was at the
   start (Devon, 2026-11-15, after a day of lines under it: "revert the button to how we
   had it at the start. jsut the vetical line"). Nothing stands under it at rest. */
.company { display: grid; grid-template-columns: auto 1px auto; justify-content: center; align-items: center; column-gap: 34px; padding-top: 140px; scroll-margin-top: 40px; }
.company .tile { width: 80px; height: 80px; }
.company__rule { align-self: stretch; background: var(--rule); transition: background-color 0.3s ease; }
.company__name { margin: 0; font-size: 27px; font-weight: 500; line-height: 1.1; letter-spacing: 0.42em; margin-right: -0.42em; text-transform: uppercase; }
.company__say { margin: 12px 0 0; font-size: 21px; color: var(--soft); transition: color 0.3s ease; }

/* THE COMPANY SAYS MORE (Devon, 2026-11-15: "instead of dark mode transfer here, im thinking
   we make a reveal of more buisness info"). The company's bird is pressed and what the
   company says of itself comes out; pressed again it goes back the way it came.

   IT COMES OUT FROM BEHIND A LINE. --to-banner under the company there is always a line
   across the page's middle, and what the company says stands behind it:
     - with the appointment open, that line is the top of its banner (his words: "when the
       button is pressed, have the divider line come out from behind 'request appointment'
       pulling the text and secondary divider line. and return the same way");
     - with it shut, it is a short hairline of the company's own, over the products, as wide
       as what comes out (his: "for when request appointment isnt opent ... maybe more
       breathing room and a small divider a line above the prooducts"). It stands exactly
       where the banner's top comes to, so the banner, arriving, covers it, and leaving,
       uncovers it: the two are never seen one over the other.
   Pressed, the line and all under it go down, and the piece comes out over it: a hairline
   leading, then the words, until the hairline stands --air under the company. With the
   banner the piece ends in a second hairline, --to-banner over the banner. Without it the
   piece ends at the short line itself, which is its closing line (two lines, not three).
   Nothing changes its ink; the line it comes out over is what hides it.

   HOW. The fold is the room between the company and that line: at rest --to-banner less
   --air tall (--rest), and empty. It grows downward to what is in it (--about-h) and what
   stands after that (--tail: nothing, or with the banner --to-banner), and what is in it
   starts --rest down, behind the line, and ends at the fold's top. Both run on --telling,
   0 to 1, one clock in site.js. The fold takes no room of its own at rest (its margins
   give back what it stands in), so the company's own bird, hairline and name never move.
   The short line is drawn on the pixel under the fold, the one the banner's top takes.

   data-about on the root says where it stands: "shut", "moving" or "open". Without the
   script it is absent, and the fold is simply open. --line is how wide the piece is, of
   the company's own width (his sketch: narrower than the bird and the words together). */
.company { --air: 44px; --line: 78%; --tail: 0px; }
:root[data-appt] .company { --tail: var(--to-banner); }
.company__fold { --rest: calc(var(--to-banner) - var(--air)); grid-column: 1 / -1; justify-self: center; width: 0; min-width: var(--line); min-height: var(--rest); margin: var(--air) 0 calc(var(--to-banner) * -1); padding-bottom: var(--tail); overflow: clip; box-shadow: 0 1px 0 var(--rule); }
/* with the banner there and the piece out, the piece's own second hairline stands where the
   short line stood, and the short line is not drawn under the banner's place */
:root[data-appt]:not([data-about="shut"]) .company__fold { box-shadow: none; }
:root[data-about="shut"] .company__fold { height: var(--rest); padding-bottom: 0; }
:root[data-about="shut"] .company__more { visibility: hidden; }
:root[data-about="moving"] .company__fold { height: calc(var(--rest) + (var(--about-h, 0px) + var(--tail) - var(--rest)) * var(--telling, 0)); padding-bottom: 0; }
:root[data-about="moving"] .company__more { transform: translateY(calc(var(--rest) * (1 - var(--telling, 0)))); }
.company__more { padding: 44px 0 46px; border-top: 1px solid var(--rule); text-align: center; transition: border-color 0.3s ease; }
:root[data-appt] .company__more { border-bottom: 1px solid var(--rule); }
/* OPEN, THE BIRD IS LIT: pressed in and in the page's reverse, as a chosen product's tile is
   (Devon, 2026-11-15: "when pressed have the button change color/highlight when open"). It
   takes it when it is pressed and gives it up when it is pressed again. */
.bird[aria-expanded="true"] .tile,
.bird[aria-expanded="true"]:hover .tile {
  transform: translateY(1px);
  background: var(--key);
  color: var(--key-ink);
  box-shadow: 0 0 0 1px var(--key), var(--shadow-in), var(--shadow-seat);
}
.company__lead { margin: 0; font-size: 27px; font-weight: 500; line-height: 1.2; text-wrap: balance; }
.company__more p { margin: 24px 0 0; font-size: 21px; line-height: 1.42; color: var(--soft); text-wrap: balance; transition: color 0.3s ease; }
.company__lead + p { margin-top: 28px; }
.company__more .company__since { margin-top: 36px; font-size: 20px; font-style: italic; color: var(--muted); }

/* ---- THE PRODUCTS: one selector, five places ----------------------------------------
   AT REST they stand in two rows, three and then two centred under them, at their full size,
   and none is chosen.
   WHEN THE APPOINTMENT OPENS they go into one row under its banner (THE BANNER, THE ROW),
   and when it shuts they go back the way they came.

   Every measure of a product is a multiple of one unit, --u (its name's and its words' sizes
   are --name and --say of them, which the narrower windows set). At rest the unit is 1px. In
   the row it is whatever lets five stand side by side, so a product in the row is the product
   at rest, whole, at a smaller size: the same words on the same lines. That is what lets the
   move be nothing but each product travelling and shrinking (site.js gives each its way; see
   THE APPOINTMENT OPENS AND SHUTS there). */
.products {
  container-type: inline-size;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  row-gap: 104px;
  max-width: 896px;
  margin: 0 auto;
  /* on the way: what the open page's products and banner take, more or less than the two rows
     did, is given up as it opens (site.js sets --drop) */
  margin-bottom: calc(var(--drop, 0px) * (1 - var(--asking)));
  padding-top: calc(var(--to-banner) + 110px); /* the company's short line is --to-banner down; the tiles 110px under it (146 in all, before the line) */
  scroll-margin-top: 40px;
}
.product {
  --u: 1px;
  --name: 39;
  --say: 21;
  grid-column: span 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 26px 6px;
  -webkit-tap-highlight-color: transparent;
}
/* the two of the second row stand centred under the three */
.product:nth-child(4) { grid-column: 2 / span 2; }
/* the hairline between two products: it starts under the tile's middle, as drawn */
.product + .product::before { content: ""; position: absolute; left: 0; top: calc(var(--u) * 54); bottom: 0; width: 1px; background: var(--rule); transition: background-color 0.3s ease; }
.product:nth-child(4)::before { content: none; } /* the first of its row has nothing to its left */
.product .tile { width: calc(var(--u) * 80); height: calc(var(--u) * 80); }
.product .tile svg { width: calc(var(--u) * 46); height: calc(var(--u) * 46); }
.product__name { margin-top: calc(var(--u) * 26); font-size: calc(var(--u) * var(--name)); font-weight: 500; line-height: 1.1; letter-spacing: 0.01em; transition: color 0.3s ease; }
.product__say { margin-top: calc(var(--u) * 14); max-width: 11.2em; font-size: calc(var(--u) * var(--say)); line-height: 1.26; text-wrap: balance; transition: color 0.3s ease; }

/* under the hand: the tile lifts, and it is meant to be seen (Devon, 2026-11-15: "our hover a
   little louder"). It rises 5 units (5px at rest) over a deeper, wider shadow; the dark mode's tile lightens
   too, because a shadow has little to show on a dark page. Nothing clips a shadow anywhere
   on the page: it fades to nothing on every side (measured; see the README). */
.product:hover .tile { transform: translateY(calc(var(--u) * -5)); background: var(--tile-up); box-shadow: 0 0 0 1px var(--tile-edge-up), var(--shadow-lift); }
/* pressed: it seats */
.product:active .tile { transform: translateY(var(--u)); box-shadow: 0 0 0 1px var(--tile-edge), var(--shadow-seat); transition-duration: 0.07s; }
/* selected: the tile is pressed in and stays lit; it does not lift again */
.product[aria-checked="true"] .tile,
.product[aria-checked="true"]:hover .tile {
  transform: translateY(var(--u));
  background: var(--key);
  color: var(--key-ink);
  box-shadow: 0 0 0 1px var(--key), var(--shadow-in), var(--shadow-seat);
}
/* THE QUIET TURN: while nobody is at the selector, the tiles not chosen rise and settle one
   at a time, slowly, each in its turn (site.js gives the turn). It is the hover's lift as it
   was before the hover was made louder (3px, --shadow-turn), taken slowly: it stays quiet.
   It moves no layout. */
.product.is-turn .tile { animation: quiet-turn 2.6s ease-in-out both; }
@keyframes quiet-turn {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 1px var(--tile-edge), var(--shadow-rest); }
  50% { transform: translateY(calc(var(--u) * -3)); box-shadow: 0 0 0 1px var(--tile-edge), var(--shadow-turn); }
}

/* ---- THE APPOINTMENT ---------------------------------------------------------------
   Shut until it is asked for: by Request Appointment, or by choosing a product. --asking is
   how far open it is, 0 to 1: site.js runs it up over one clock and back down over the same
   one, and everything that moves reads it, so it all moves as one, either way: the banner's
   rise, the products' way under it into their row, the fold's height and ink, the mark under
   the chosen product and the foot's distance.

   data-appt on the root says where it stands: absent (shut), "moving" (on its way, either
   way) or "open". "moving" is laid out as "open" is, and each thing is carried back toward
   where it stands at rest by what is left of the way (1 - --asking). */
:root { --asking: 0; --mark-drop: 44px; --mark-wide: 64px; --to-banner: 120px; }
:root[data-appt="open"] { --asking: 1; }

/* THE BANNER (Devon, 2026-11-15: "put a divider line below request appointment too, and the
   buttons can slide under the request appointment, and out of the lower divider line. behind
   the divider lines as if its a banner ... so that comes up as buttons go down").
   The title between two rules, with a body of the page's own colour, standing over the
   products. Shut it has no height. Opening, it comes up from behind the foot's line and rises
   past the products to its place above them, and they pass behind it on their way down: what
   is behind the banner is not seen, so a product and its shadow are cut at the two rules
   while it passes. That edge is the banner's and is meant. */
.banner { height: 0; overflow: clip; visibility: hidden; scroll-margin-top: 40px; }
:root[data-appt] .banner {
  position: relative;
  z-index: 2;
  height: auto;
  overflow: visible;
  visibility: visible;
  margin-top: var(--to-banner); /* the company's fold ends at this edge (THE COMPANY SAYS MORE) */
  padding: 86px 0 84px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--page);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
/* on its way: --rise is how far under its place the foot's line is (site.js). It is whole
   by the time it has come a twentieth of the way, before it reaches a product. */
:root[data-appt="moving"] .banner { transform: translateY(calc(var(--rise, 0px) * (1 - var(--asking)))); opacity: calc(var(--asking) * 20); }
.appt__title { margin: 0; text-align: center; font-size: clamp(40px, 5.8vw, 62px); font-weight: 500; line-height: 1.06; }
.appt__lede { margin: 26px 0 0; text-align: center; font-size: 24px; line-height: 1.3; color: var(--soft); text-wrap: balance; transition: color 0.3s ease; }
/* without the script there is no appointment section: how to ask instead */
.appt__plain { margin: 60px 0 0; text-align: center; font-size: 21px; color: var(--soft); }
.appt__plain a { text-decoration: underline; text-underline-offset: 3px; }

/* THE ROW: five across under the banner. They are the one choice of what the appointment is
   for (there was a second row of five in the form; Devon, 2026-11-15: "we have two sets of
   the same buttons ... i dont like this"). The unit is a fifth of the row's width, less the
   gap, over a product's measure: 248 units, which is its description's 235 and the air that
   keeps the words off the hairlines. */
:root[data-appt] .products { grid-template-columns: repeat(5, 1fr); row-gap: 0; max-width: none; padding-top: 96px; }
:root[data-appt] .product,
:root[data-appt] .product:nth-child(4) { grid-column: auto; padding: 0 6px calc(var(--u) * 6); }
:root[data-appt] .product { --u: min(1px, calc((20cqw - 12px) / 248)); }
:root[data-appt] .product:nth-child(4)::before { content: ""; opacity: var(--asking); }
/* on its way: at --asking 0 each product is where and as large as it stands at rest, at 1 it
   is in its place in the row. Its way is measured from its tile (site.js): --dx and --dy the
   way, --grow how much larger it is at rest. Its hairline keeps the place and the length it
   had (--w0 the product's width at rest, --rest how much shorter it was). */
:root[data-appt="moving"] .product {
  transform-origin: 50% 0;
  transform:
    translate(calc(var(--dx, 0px) * (1 - var(--asking))), calc(var(--dy, 0px) * (1 - var(--asking))))
    scale(calc(1 + (var(--grow, 1) - 1) * (1 - var(--asking))));
}
:root[data-appt="moving"] .product + .product::before {
  left: calc((50% - var(--w0, 0px) / var(--grow, 1) / 2) * (1 - var(--asking)));
  bottom: calc(var(--rest, 0px) * (1 - var(--asking)));
  width: calc(1px / (1 + (var(--grow, 1) - 1) * (1 - var(--asking)))); /* a pixel wide on the glass, whatever the product's size on its way */
}
/* the mark under the chosen product */
:root[data-appt] .product[aria-checked="true"]::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--mark-drop) * -1); width: var(--mark-wide); height: 3px; margin-left: calc(var(--mark-wide) / -2); border-radius: 2px; background: var(--ink); opacity: var(--asking); transition: background-color 0.3s ease; }

/* THE FOLD: the month, the times and the form, under the row. Shut, it has no height and is
   not seen; on its way it is as tall as the way has come; open, as tall as what is in it. */
.appt__fold { height: 0; overflow: clip; visibility: hidden; opacity: var(--asking); }
:root[data-appt="moving"] .appt__fold { height: calc(var(--appt-h, 0px) * var(--asking)); visibility: visible; }
:root[data-appt="open"] .appt__fold { height: auto; overflow: visible; visibility: visible; }
.appt__inner { padding-top: 124px; }

/* THE REQUEST IS SENT: THE BANNER BECOMES THE RECEIPT (Devon, 2026-11-17, to "the form goes
   back the way it came, the heading turns to Appointment Requested where they are already
   looking, a mark is drawn over it, and a line repeats what was asked for": "go").
   The banner has two faces, one shown at a time: the asking (the title and its line) and the
   receipt ("Appointment Requested", the mark under it, what was asked for, the thanks).

   data-sent on the root says where it stands: absent (asking), "moving" (on its way, either
   way) or "sent". site.js runs it on one clock, two things one after the other, and back the
   same way:
     --sent, 0 to 1   everything goes down as one (Devon, 2026-11-17: "lets have the calendar
                      drop and the appointment requested drop happen together"): the month
                      and the form go back behind the foot's line (the fold's height, as it
                      opened); the banner takes the height its receipt needs; and what the
                      banner says goes down, the asking out behind the lower rule and the
                      receipt in from behind the upper one, a banner's height apart
                      (--face-way), cut at the rules as a product is;
     --ring, --tick   the mark is drawn: the ring from its top, then the tick.
   "moving" is laid out with both faces in one place and the heights in pixels, read off the
   page laid out asking and then sent (--face-a, --face-b, --work-h). Sent, the work is put
   away and the fold is empty, so the appointment shuts from there as it does from anywhere. */
:root { --sent: 0; --ring: 0; --tick: 0; }
:root[data-sent="sent"] { --sent: 1; --ring: 1; --tick: 1; }
:root:not([data-sent]) .banner__face--sent,
:root[data-sent="sent"] .banner__face--ask,
:root[data-sent="sent"] .appt__work { display: none; }
:root[data-sent="sent"] .appt__inner { padding-top: 0; }
:root[data-sent="moving"] .banner { overflow: clip; }
:root[data-sent="moving"] .banner__faces { display: grid; height: calc(var(--face-a, 0px) + (var(--face-b, 0px) - var(--face-a, 0px)) * var(--sent)); }
:root[data-sent="moving"] .banner__face { grid-area: 1 / 1; align-self: start; min-width: 0; }
:root[data-sent="moving"] .banner__face--ask { transform: translateY(calc(var(--face-way, 0px) * var(--sent))); }
:root[data-sent="moving"] .banner__face--sent { transform: translateY(calc(var(--face-way, 0px) * (var(--sent) - 1))); }
:root[data-sent="moving"] .appt__fold { height: calc(var(--work-h, 0px) * (1 - var(--sent))); overflow: clip; }
/* the receipt, from the top: the title (the keyboard is handed to it, so it is not ringed),
   the mark in the middle under it, then the details: what was asked for in the page's ink and
   the thanks in the line's own grey.
   Devon, 2026-11-17: "do appointment requested check mark in middle then details below it".
   The mark stood over the title first, then in the title's line before its words; this is
   the third place and the one that stands. */
/* THE MARK (Devon, 2026-11-17: "make the check bigger and make it smoother. whatever that
   looks like"): 92px, in a finer line now that it is larger (it was 64px). The ring is drawn
   from its top and round, the tick out of its close. Each is a dash as long as itself with a
   gap after it, held back a unit past its start while it is not drawn, so a round end never
   shows as a dot before the line begins. */
.mark { display: block; width: 92px; height: 92px; margin: 32px auto 0; fill: none; stroke: currentColor; stroke-width: 1.05; stroke-linecap: round; stroke-linejoin: round; }
.mark__ring { stroke-dasharray: 76px 160px; stroke-dashoffset: calc(77px * (1 - var(--ring))); }
.mark__tick { stroke-dasharray: 17px 40px; stroke-dashoffset: calc(18px * (1 - var(--tick))); }
.banner__face--sent .appt__title:focus { outline: none; }
.appt__receipt { margin: 24px 0 0; text-align: center; font-size: 26px; font-weight: 500; line-height: 1.3; font-variant-numeric: lining-nums; text-wrap: balance; }
.appt__receipt-part { white-space: nowrap; } /* the product, the day, the time: each kept whole */
.banner__face--sent .appt__lede { margin-top: 12px; }

/* spaced caps: a box's name */
.caps { font-size: 12.5px; font-weight: 700; line-height: 1.2; letter-spacing: 0.28em; text-transform: uppercase; }

/* the month and the times on one side, who is asking on the other */
.appt__cols { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); gap: 84px; align-items: start; }
.sched { padding: 48px 46px 50px; background: var(--card); border: 1px solid var(--rule); border-radius: 14px; font-variant-numeric: lining-nums; transition: background-color 0.3s ease, border-color 0.3s ease; }

.cal__head { display: flex; align-items: center; justify-content: space-between; }
.cal__month { margin: 0; font-size: 30px; font-weight: 500; line-height: 1.2; }
.cal__nav { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--ink); transition: background-color 0.18s ease, color 0.18s ease; }
.cal__nav:hover:not(:disabled) { background: var(--rule); }
.cal__nav:disabled { color: var(--rule); cursor: default; }
.cal__weekdays, .cal__days { display: grid; grid-template-columns: repeat(7, 1fr); justify-items: center; }
.cal__weekdays { margin-top: 40px; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--soft); }
.cal__days { margin-top: 18px; row-gap: 14px; }
.day { display: grid; place-items: center; width: 100%; max-width: 46px; aspect-ratio: 1; border-radius: 50%; font-size: 22px; font-weight: 600; line-height: 1; transition: background-color 0.18s ease, color 0.18s ease; }
.day:hover:not(:disabled):not(.is-chosen) { background: var(--rule); }
.day:disabled { font-weight: 400; color: var(--muted); opacity: 0.55; cursor: default; }
.day.is-chosen { background: var(--key); color: var(--key-ink); }

.slots__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-top: 46px; padding-top: 48px; border-top: 1px solid var(--rule); transition: border-color 0.3s ease; }
.slots__head .caps { margin: 0; }
.slots__date { font-size: 20px; color: var(--soft); white-space: nowrap; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.slot { min-height: 48px; padding: 6px 4px 8px; border: 1px solid var(--edge); border-radius: 9px; font-size: 20px; font-weight: 500; line-height: 1.2; white-space: nowrap; transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease; }
.slot:hover:not(:disabled):not(.is-chosen) { border-color: var(--ink); }
.slot.is-chosen { background: var(--key); color: var(--key-ink); border-color: var(--key); }
.slot:disabled { cursor: default; }
/* a time that cannot be asked for: grey and faint, as a day that cannot be is */
.slot.is-held { font-weight: 400; color: var(--muted); opacity: 0.55; }
.slots__none { grid-column: 1 / -1; margin: 0; font-size: 20px; color: var(--soft); }
.slots__zone { margin: 34px 0 0; font-size: 18px; color: var(--soft); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 28px; padding-top: 6px; }
.field { grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: auto; }
.field .caps { display: block; }
.box {
  display: block;
  width: 100%;
  height: 58px;
  margin: 16px 0 0;
  padding: 0 18px 2px;
  border: 1px solid var(--edge);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 22px;
  font-weight: 500;
  font-variant-numeric: lining-nums;
  transition: border-color 0.18s ease, background-color 0.3s ease, color 0.3s ease;
}
.box--tall { height: 168px; padding: 15px 18px; line-height: 1.3; resize: vertical; }
/* THE NOTE'S HINT: things a visitor might say, one fading into the next (site.js gives the
   turn). It stands where the box's first words will, in the placeholder's own ink, takes no
   pointer, and is gone the moment the box holds anything. Two faces, one over the other, so
   one can fade out as the other fades in. */
.ask { position: relative; margin-top: 16px; }
.ask .box { margin-top: 0; }
.ask__hint { position: absolute; inset: 0; pointer-events: none; font-size: 22px; font-weight: 400; line-height: 1.3; color: var(--muted); transition: color 0.3s ease; }
.ask__hint span { position: absolute; top: 16px; left: 19px; right: 19px; opacity: 0; transition: opacity 0.9s ease; }
.ask__hint span.is-on { opacity: 1; }
.box:not(:placeholder-shown) + .ask__hint { visibility: hidden; }
.box::placeholder { color: var(--muted); opacity: 1; font-weight: 400; }
.box:hover { border-color: var(--muted); }
.box:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; border-radius: 10px; }
.box[aria-invalid="true"] { border-color: var(--warn); }
/* a field no person fills in */
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn--wide { grid-column: 1 / -1; display: flex; width: 100%; margin-top: 16px; border-radius: 12px; padding: 19px 20px 22px; font-size: 25px; }
.note { grid-column: 1 / -1; display: flex; align-items: center; gap: 26px; padding: 28px 30px; border: 1px solid var(--rule); border-radius: 12px; transition: border-color 0.3s ease; }
.note svg { flex: none; }
.note__rule { align-self: stretch; width: 1px; background: var(--rule); transition: background-color 0.3s ease; }
.note p { margin: 0; font-size: 21px; line-height: 1.3; text-wrap: balance; }

[hidden] { display: none !important; }

/* ---- the foot ---- */
/* its distance from what is above is --to-foot (see .wrap). It stands in front of the banner
   and the Privacy Policy, with a body of the page's colour: both come up from behind its line. */
.foot { position: relative; z-index: 3; margin-top: var(--to-foot); border-top: 1px solid var(--rule); padding: 34px 0 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; background: var(--page); font-size: 16px; font-weight: 500; line-height: 1.3; transition: border-color 0.3s ease, background-color 0.3s ease; }
.foot p { margin: 0; }
.foot__rule { align-self: stretch; width: 1px; min-height: 26px; background: var(--rule); transition: background-color 0.3s ease; }
.foot a { transition: color 0.18s ease; }
.foot a:hover { color: var(--muted); }

/* ---- the Privacy Policy's page ---- */
.doc { max-width: 700px; margin: 0 auto; padding-top: 96px; }
.doc h1, .doc .doc__title { margin: 0; font-size: clamp(40px, 6vw, 60px); font-weight: 500; line-height: 1.05; }
/* the effective date, and the room under the title: 14px (.doc p's) until Devon, 2026-11-16,
   "add more breathing room below the title", then 30 until "MORE BREATHING ROOM BELOW IT".
   Its size and colour are .doc p's. (It once said 19px and --muted here, which .doc p
   outranked, so they were never seen and were taken out.) */
.doc .doc__date { margin-top: 48px; }
.doc h2 { margin: 48px 0 0; font-size: 28px; font-weight: 600; line-height: 1.15; }
.doc h3 { margin: 30px 0 0; font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--ink); }
.doc h2 + h3 { margin-top: 20px; }
.doc strong { font-weight: 700; color: var(--ink); }
.doc p, .doc li { font-size: 21px; line-height: 1.42; color: var(--soft); }
.doc p { margin: 14px 0 0; }
.doc ul { margin: 12px 0 0; padding-left: 24px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--ink); }
.doc + .foot { margin-top: 110px; }

/* ---- THE PAPERS, ON THE HOME PAGE: each comes up from behind the foot's line ----
   (Devon, 2026-11-15, for the Privacy Policy; 2026-11-16, the Terms of Service the same.)
   Its link in the foot is pressed: the foot goes down and the paper comes out over its line,
   the title first; pressed again it goes back behind the line. Its text is its own page's,
   put here by site.js when it is asked for. One is out at a time (site.js).

   HOW. A paper's fold is the room between the page and the foot's line: at rest --to-foot
   tall and empty, taking no room of its own (its margin gives back what it stands in), so the
   foot is where it always was; the two folds stand in the same place. The paper stands
   --to-foot down in it, which at rest is just behind the foot's line. Opening, the fold grows
   by the paper (--paper-h) and the room under it, on --out, 0 to 1, one clock in site.js.
   The paper does not move on the page: the foot's line going down is what uncovers it.

   data-out on the fold says where it stands: absent (shut), "moving" or "open". */
/* THE ROOM OVER IT is --over, more than the foot's own distance (Devon, 2026-11-16: "add
   significantly more breathing room above it"; it was --to-foot, 150px). The fold's own top
   padding stays --to-foot, so at rest it is exactly as tall as that padding and takes no
   room; the rest of the room is the paper's own top padding, inside the fold, behind the
   foot's line with the paper (put on the fold, it would make the fold taller than its rest
   height and push the foot down at rest). The line goes down through that room before the
   title comes out over it. Open, the window goes to the fold's top, so the room is seen (it
   went to the title, 40px under its top, before). THE SAME ROOM IS UNDER IT, between the
   paper's end and the foot's line (Devon, the same day: "the same breathing room ...
   between title and the products, should be the same between the end of the privacy
   policy and footer"; it was the foot's own distance, --to-foot).
   The fold clips top and bottom only, which is all the reveal needs: across, the button's
   shadow is let out past the fold's side (on a tablet or a phone the button stands at it). */
.paper { --over: 280px; height: var(--to-foot); min-height: var(--to-foot); margin-bottom: calc(var(--to-foot) * -1); padding-top: var(--to-foot); overflow: visible clip; }
.paper .doc { padding-top: max(0px, var(--over) - var(--to-foot)); visibility: hidden; }
.paper[data-out] .doc { visibility: visible; }
.paper[data-out="moving"] { height: calc(var(--to-foot) + (var(--paper-h, 0px) + var(--over)) * var(--out, 0)); }
.paper[data-out="open"] { height: auto; padding-bottom: var(--over); }
/* WHAT SHUTS IT FROM INSIDE (Devon, 2026-11-16; site.js has the how).
   THE TITLE is a button ("make the Private Policy title hoverable annd clickable. it will
   close the policy text"): it looks as it did, and under the hand it greys the way the
   head's and the foot's links do and rises a little, as the dark button does ("give
   privacy policy a little hover when over it"). */
.doc__shut { text-align: left; transition: color 0.18s ease, transform 0.18s ease-out; }
.doc__shut:hover { color: var(--muted); transform: translateY(-3px); }
.doc__shut:active { transform: translateY(1px); transition-duration: 0.07s; }
/* ITS HEAD IS LAID OUT AS THE COMPANY IS (Devon, 2026-11-16, with a picture of the company:
   "put button bsided it, vertical divider line an efective undrneath the title"): the button,
   a hairline, and the words, the title and under it the effective date as close as the
   company's line is to its name. The room the title was given under it ("MORE BREATHING ROOM
   BELOW IT") is now under the head, before the text: 96px (48, then 64, until "increse the
   breathing room under this title by 50%"). Left-aligned with the text, where the company
   is centred on the page.
   THE BUTTON (the Privacy Policy's lock, the Terms of Service's page) is the company's tile
   size. While its paper is open it is selected, in the page's reverse as the head's bird is
   (above), with the tile's shadow and the birds' hover ("it needs its own hover effect and
   drop shadow like the other buttons", then "it should come out selected because its open");
   the company's pressed-in lit look would take both away. Before this the lock stood on the
   title's line, then right of the Contact lines. */
.doc__head { display: grid; grid-template-columns: auto 1px minmax(0, 1fr); align-items: center; column-gap: 34px; }
.doc__rule { align-self: stretch; background: var(--rule); transition: background-color 0.3s ease; }
.doc .doc__words .doc__date { margin-top: 12px; }
.doc .doc__head + * { margin-top: 96px; }
.doc__button { display: block; border-radius: 22%; -webkit-tap-highlight-color: transparent; }
.doc__button .tile { width: 80px; height: 80px; }
.doc__button .tile svg { width: 57%; height: 57%; }

/* ---- THE TWO SIDES END LEVEL (Devon, 2026-11-15: "lets make both these columns the same
   height. add the breathing room to the right"). Side by side, the form is as tall as the
   month's card, whatever that is that month: its rows are its boxes, and the note takes the
   room that is left, so the request button and the note under it stand at the card's foot.
   The note is not resized by hand here; it already has the room. One over the other (900px
   and under) they are each their own height. ---- */
@media (min-width: 901px) {
  .appt__cols { align-items: stretch; }
  .form { grid-template-rows: auto auto 1fr auto auto; }
  .field--fill { display: flex; flex-direction: column; }
  .field--fill .ask { flex: 1; display: flex; min-height: 168px; }
  .field--fill .box--tall { flex: 1; height: auto; resize: none; }
}
/* ---- a narrower window: less between the appointment's two sides, and THE ROW IS COMPACT.
   Five whole products do not fit side by side here, so in the row each is its tile and its
   name: the unit is what lets the widest name stand in a fifth of the row (a name is about
   four of its sizes wide). Its words were read above; on the way they stay where they stood
   (--say-y, --say-w: site.js) and fade, and open they are not there. ---- */
@media (max-width: 1199px) {
  .appt__cols { gap: 48px; }
  .sched { padding: 32px 30px 34px; }
  :root[data-appt] .product,
  :root[data-appt] .product:nth-child(4) { padding: 0 2px calc(var(--u) * 6); }
  :root[data-appt] .product { --u: min(1px, calc((20cqw - 8px) / (var(--name) * 4))); }
  :root[data-appt="open"] .product__say { display: none; }
  :root[data-appt="moving"] .product__say { position: absolute; left: 50%; top: calc(var(--say-y, 0px) / var(--grow, 1)); width: calc(var(--say-w, 0px) / var(--grow, 1)); max-width: none; margin: 0; translate: -50% 0; opacity: calc(1 - var(--asking) * 2.5); }
}
/* ---- narrower windows ---- */
@media (max-width: 900px) {
  .wrap { padding: 0 32px; }
  .nav { gap: 28px; }
  .company { padding-top: 110px; }
  .products { row-gap: 84px; padding-top: calc(var(--to-banner) + 90px); }
  .product { --name: 33; --say: 19; padding: 0 16px 6px; }
  .wrap { --gap: 120px; }
  .paper { --over: 220px; }
  .foot { flex-wrap: wrap; justify-content: center; text-align: center; row-gap: 14px; }
  /* the month and the form stand one over the other */
  .appt__cols { grid-template-columns: minmax(0, 1fr); gap: 80px; }
  .sched { width: 100%; max-width: 520px; margin: 0 auto; }
  .form { padding-top: 0; }
}
/* ---- a phone: one column ---- */
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .head { padding-top: 26px; }
  .nav__link, .nav .btn { display: none; } /* the hero's button is the next thing down */
  .brand { gap: 14px; }
  .brand .tile { width: 48px; height: 48px; }
  .brand__name { font-size: 25px; }
  .brand__line { font-size: 8.5px; }
  .hero { padding-top: 84px; }
  .hero .btn { margin-top: 44px; }
  .btn--big { padding: 15px 34px 17px; font-size: 20px; }
  /* the company in one column, centred: the bird, the words, and what it says of itself */
  .company { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding-top: 96px; }
  .company__rule { display: none; }
  .company__words { margin-top: 22px; }
  .company__name { font-size: 23px; }
  .company__say { font-size: 20px; }
  /* what comes out is the column's width: it needs all of it to read */
  .company { --air: 32px; --line: 100%; }
  .company__fold { grid-column: 1; }
  .company__more { padding: 34px 0 38px; }
  .company__lead { font-size: 24px; }
  .company__more p { font-size: 20px; }
  .company__more .company__since { font-size: 19px; }
  .products { grid-template-columns: 1fr; row-gap: 0; padding-top: calc(var(--to-banner) + 70px); }
  .product, .product:nth-child(4) { grid-column: auto; padding: 44px 8px; }
  .product:first-child { padding-top: 0; }
  .product + .product::before,
  .product:nth-child(4)::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; bottom: auto; width: auto; height: 1px; background: var(--rule); }
  .product { --name: 36; --say: 20; }
  /* the banner and the compact row on a phone: closer together, the row without hairlines.
     On the way, the hairlines that stood between the products at rest stay where they stood
     (one unit of the row is 1 / --grow of a pixel at rest) and fade. */
  :root { --mark-drop: 22px; --mark-wide: 28px; }
  :root { --to-banner: 84px; }
  :root[data-appt] .banner { padding: 54px 0 52px; scroll-margin-top: 24px; }
  :root[data-appt] .products { padding-top: 54px; }
  :root[data-appt] .product,
  :root[data-appt] .product:nth-child(4),
  :root[data-appt] .product:first-child { padding: 0 1px calc(var(--u) * 6); }
  :root[data-appt] .product { --u: min(1px, calc((20cqw - 4px) / (var(--name) * 4))); }
  :root[data-appt="open"] .product + .product::before,
  :root[data-appt="open"] .product:nth-child(4)::before { content: none; }
  :root[data-appt="moving"] .product + .product::before,
  :root[data-appt="moving"] .product:nth-child(4)::before {
    content: "";
    left: calc(50% - var(--w0, 0px) * 0.28 / var(--grow, 1));
    right: auto;
    top: calc(-44px / var(--grow, 1));
    bottom: auto;
    width: calc(var(--w0, 0px) * 0.56 / var(--grow, 1));
    height: calc(1px / var(--grow, 1));
    opacity: calc(1 - var(--asking) * 8); /* gone before the products have closed up on one another */
  }
  .appt__inner { padding-top: 70px; }
  .appt__lede { margin-top: 20px; font-size: 21px; }
  .mark { width: 72px; height: 72px; margin-top: 24px; }
  .appt__receipt { margin-top: 18px; font-size: 22px; }
  .banner__face--sent .appt__lede { margin-top: 10px; }
  .appt__cols { gap: 64px; }
  .sched { padding: 30px 18px 32px; }
  .cal__month { font-size: 26px; }
  .cal__days { row-gap: 6px; }
  .day { font-size: 20px; }
  .slots { gap: 10px; }
  .slot { font-size: 19px; }
  .form { grid-template-columns: 1fr; gap: 38px; }
  .field--half { grid-column: 1 / -1; }
  .box { font-size: 21px; }
  .ask__hint { font-size: 21px; }
  .note { gap: 18px; padding: 22px 20px; }
  .note p { font-size: 20px; }
  .wrap { --gap: 70px; --gap-asking: 90px; }
  .foot { flex-direction: column; row-gap: 12px; padding: 30px 0 40px; }
  .foot__rule { display: none; }
  .doc { padding-top: 64px; }
  .doc p, .doc li { font-size: 20px; }
  .doc .doc__date { margin-top: 36px; }
  /* a paper's head on a phone: a smaller button and gaps, so the title keeps one line */
  .doc__head { column-gap: 20px; }
  .doc__button .tile { width: 52px; height: 52px; }
  .doc .doc__head + * { margin-top: 72px; }
  .paper { --over: 150px; }
}

/* ---- a device set to reduce motion: everything is simply where it ends up ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
