/* Dahlia's Bakehouse: a grower's seed catalogue printed in five inks. */

:root {
  /* Inks. README palette, deepened where text needs AA contrast. */
  --paper: #FAF6F0;
  --surface: #FFFFFF;
  --pink: #E8A598;
  --sage: #A3B18A;
  --choc: #3D2314;
  --rose: #A8405A;      /* deepest ink: this season, placeholder marks */
  --taupe: #74604F;     /* secondary text on paper/white (5.5:1) */
  --sage-ink: #56663F;  /* sage as text or mark on light grounds */
  --choc-soft: #5E3A28; /* secondary text on pink (4.9:1) */

  --font-display: "Young Serif", Georgia, serif;
  --font-text: "Schibsted Grotesk", system-ui, sans-serif;

  --radius-card: 16px;
  --radius-panel: 24px;
  --radius-pill: 9999px;
  --shadow: 0 4px 20px rgba(61, 35, 20, 0.06);
  --shadow-lift: 0 16px 36px rgba(61, 35, 20, 0.14);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --gutter: clamp(1rem, 4vw, 3rem);
  --inset: max(var(--gutter), calc((100% - 76rem) / 2 + var(--gutter))); /* matches .wrap's content edge */
  --section: clamp(4.5rem, 10vw, 8rem);
  --masthead: 3.75rem;
  --focus: var(--choc);

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-padding-top: calc(var(--masthead) + 1rem);
  scrollbar-color: var(--choc) var(--paper);
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--choc);
  font: 400 1.0625rem/1.6 var(--font-text);
  caret-color: var(--rose);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.3rem, 5.5vw, 3.75rem); letter-spacing: -0.015em; }
h3 { font-size: 1.4rem; }
p { margin: 0; text-wrap: pretty; }

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2.5px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap { max-width: 76rem; margin: 0 auto; padding: 0 var(--gutter); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 20;
  background: var(--choc); color: var(--paper);
  padding: 0.6rem 1rem; border-radius: var(--radius-pill);
}
.skip:focus { top: 0.6rem; }

/* Placeholder proof mark: every fact still to be supplied carries it. */
.tbc {
  text-decoration: underline wavy var(--rose) 1px;
  text-underline-offset: 0.3em;
  text-decoration-skip-ink: none;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.5rem;
  border: 1.5px solid var(--choc);
  border-radius: var(--radius-pill);
  background: var(--choc);
  color: var(--paper);
  font: 600 1rem/1.2 var(--font-text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.btn:hover { background: var(--pink); color: var(--choc); }
@media (prefers-reduced-motion: no-preference) {
  .btn:active { transform: scale(0.97); }
}
.btn-ghost { background: transparent; color: var(--choc); }
.btn-ghost:hover { background: var(--choc); color: var(--paper); }
.btn-sm { min-height: 2.5rem; padding: 0.45rem 1.1rem; font-size: 0.95rem; }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Masthead: the catalogue's running head ---------- */

.masthead {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; gap: 1.5rem;
  min-height: var(--masthead);
  padding: 0.6rem var(--inset);
  background: var(--pink);
  border-bottom: 1px solid var(--choc);
}
.wordmark {
  font: 400 1.35rem/1 var(--font-display);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
}
.masthead ul { display: flex; gap: 1.75rem; margin: 0; padding: 0; list-style: none; }
.masthead nav a { font-weight: 500; text-decoration: none; white-space: nowrap; }
.masthead nav a:hover { text-decoration: underline; text-decoration-thickness: 1.5px; }
@media (max-width: 60rem) {
  .masthead nav { display: none; }
}

/* ---------- Cover ---------- */

.cover {
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: min(calc(100svh - var(--masthead)), 54rem);
  padding: clamp(3rem, 7vw, 5.5rem) var(--inset);
  background: var(--pink);
}
.cover-text { position: relative; z-index: 1; max-width: 38rem; }
.cover h1 {
  font-size: clamp(3.5rem, 10vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
}
.cover h1 span { display: block; padding-left: 0.55em; }
.edition {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.5rem 0;
  border-block: 1.5px solid var(--choc);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tagline {
  margin-top: 1.5rem;
  font: 400 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--font-display);
}
.cover .actions { margin-top: 1.75rem; }

.today {
  display: inline-grid;
  gap: 0.35rem;
  margin-top: 2rem;
  padding: 0.85rem 1.25rem;
  border: 1.5px solid var(--choc);
  border-radius: var(--radius-card);
}
.today-address {
  font: 400 clamp(1.75rem, 3.4vw, 2.5rem)/1.08 var(--font-display);
  text-decoration: none;
  margin: 0.2rem 0 0.35rem;
}
.today-address:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.today-note { font-size: 0.85rem; color: var(--choc-soft); }
.today-note a { color: var(--choc); font-weight: 600; }
.today strong, .status {
  display: flex; align-items: center; gap: 0.55rem;
  font: 400 1.2rem/1.3 var(--font-display);
}
[data-state] > strong::before, .status::before {
  content: "";
  flex: none;
  width: 0.6rem; height: 0.6rem;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  align-self: flex-start;
  margin-top: 0.4em;
}
[data-state="open"] > strong::before, .status[data-state="open"]::before {
  background: var(--sage-ink); border-color: var(--sage-ink);
}
[data-state="unknown"] > strong::before, .status[data-state="unknown"]::before { display: none; }

/* The dahlia print: rose and paper petals, chocolate key line. */
.bloom {
  position: absolute;
  right: -22vw;
  top: 50%;
  width: min(110vh, 76vw);
  translate: 0 -50%;
  --d1: var(--rose); --d2: var(--paper); --d3: var(--sage);
  stroke: var(--choc);
  stroke-width: 1.4;
  stroke-linejoin: round;
}
.bloom .leaves { fill: var(--sage); }
.bloom .leaves path { vector-effect: non-scaling-stroke; }
.bloom .ring, .bloom .leaves { transform-box: view-box; transform-origin: 50% 50%; }

@media (prefers-reduced-motion: no-preference) {
  .bloom .ring {
    animation: bloom-open 1.8s var(--ease-out) both;
    animation-delay: calc(var(--i) * 0.11s + 0.15s);
  }
  .bloom .leaves { animation: leaves-open 1.6s var(--ease-out) both; }
}
@keyframes bloom-open { from { transform: scale(0.3) rotate(-50deg); } }
@keyframes leaves-open { from { transform: scale(0.55) rotate(-18deg); } }

@media (max-width: 72rem) {
  .bloom { width: 62vw; right: -20vw; }
}
@media (max-width: 52rem) {
  .cover { align-items: end; padding-top: 48vw; }
  .bloom { top: -20vw; right: -22vw; width: 80vw; translate: none; }
  .cover h1 span { padding-left: 0.4em; }
}

/* ---------- Section heads ---------- */

.section-head { max-width: 44rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head > p { margin-top: 1rem; max-width: 60ch; }
.sample-note { color: var(--rose); font-size: 0.92rem; font-weight: 500; }

/* ---------- Catalogue ---------- */

.catalogue { padding: var(--section) 0; }
.catalogue .section-head > p:not(.sample-note) { color: var(--taupe); }

.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.filters button {
  min-height: 2.75rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--choc);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--choc);
  font: 600 0.95rem/1 var(--font-text);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.filters button:hover { background: var(--pink); }
.filters button[aria-pressed="true"] { background: var(--choc); color: var(--paper); }

.packets {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15.5rem, 1fr));
  grid-auto-flow: dense;
  gap: clamp(1rem, 2.5vw, 1.75rem);
  margin: 0; padding: 0; list-style: none;
}

/* Each category prints in its own ink; the season takes the deepest. */
.packet { --field: var(--pink); --ink: var(--choc); --d1: var(--rose); --d2: var(--paper); --d3: var(--sage); }
.packet[data-cat="pastries"] { --field: var(--sage); --d1: var(--paper); --d2: var(--pink); --d3: var(--choc); }
.packet[data-cat="cupcakes"] { --field: var(--choc); --ink: var(--paper); --d1: var(--pink); --d2: var(--paper); --d3: var(--rose); }
.packet[data-cat="seasonal"] { --field: var(--rose); --ink: var(--paper); --d1: var(--pink); --d2: var(--paper); --d3: var(--sage); }
.packet[data-cat="cakes"]:nth-child(even) { --d1: var(--paper); --d2: var(--rose); --d3: var(--choc); }
.packet[data-cat="pastries"]:nth-child(even) { --d1: var(--choc); --d2: var(--paper); --d3: var(--pink); }
.packet[data-cat="cupcakes"]:nth-child(even) { --d1: var(--sage); --d2: var(--pink); --d3: var(--paper); }
.packet[data-cat="seasonal"]:nth-child(even) { --d1: var(--paper); --d2: var(--sage); --d3: var(--pink); }

.packet {
  display: flex;
  filter: drop-shadow(0 4px 10px rgba(61, 35, 20, 0.08)); /* drop-shadow, so it follows the crimp */
  transition: transform 0.55s var(--ease-out), filter 0.55s var(--ease-out);
}
.packet-sheet {
  display: flex;
  flex: 1;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--surface);
}
/* The pinked seal along a packet's top edge. */
.packet-sheet, .cotw-sheet, .baker-plate {
  --crimp: 6px;
  mask:
    radial-gradient(var(--crimp) at 50% 0, #0000 96%, #000) 50% 0 / calc(var(--crimp) * 2.5) calc(var(--crimp) * 1.5) repeat-x,
    linear-gradient(#000 0 0) 0 calc(var(--crimp) * 1.5) / 100% 100% no-repeat;
}
.packet-front {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 5 / 4;
  padding: 2.75rem 1rem 1.25rem;
  background: var(--field);
  color: var(--ink);
  border-bottom: 1.5px dashed var(--ink); /* the packet's glue fold */
}
.packet-no {
  position: absolute; top: 0.9rem; left: 1rem; right: 1rem;
  display: flex; justify-content: space-between; gap: 0.5rem;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.packet-no span { font-weight: 500; }
.packet .art {
  width: 64%;
  aspect-ratio: 1;
  stroke: var(--choc);
  stroke-width: 1.2;
  stroke-linejoin: round;
  transition: transform 0.9s var(--ease-out);
}
.packet-label {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 1.15rem 1.25rem 1.35rem;
}
.packet-label h3 { font-size: 1.35rem; line-height: 1.15; }
.packet-label p { color: var(--taupe); font-size: 0.95rem; line-height: 1.5; }
.packet-label .tag {
  padding: 0.15rem 0.65rem;
  border: 1px solid var(--rose);
  border-radius: var(--radius-pill);
  color: var(--rose);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.packet-ask { margin-top: auto; padding-top: 0.35rem; font-size: 0.92rem; font-weight: 600; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .packet:hover { transform: translateY(-6px) rotate(-0.6deg); filter: drop-shadow(0 14px 16px rgba(61, 35, 20, 0.16)); }
  .packet:hover .art { transform: rotate(20deg) scale(1.05); }
}

@media (min-width: 56rem) {
  .packet[data-cat="seasonal"] { grid-column: span 2; }
  .packet[data-cat="seasonal"] .packet-sheet { flex-direction: row; }
  .packet[data-cat="seasonal"] .packet-front {
    flex: none;
    width: 50%;
    aspect-ratio: auto;
    border-bottom: 0;
    border-right: 1.5px dashed var(--ink);
  }
  .packet[data-cat="seasonal"] .art { width: 74%; }
  .packet[data-cat="seasonal"] .packet-label { justify-content: center; padding: 1.75rem; }
  .packet[data-cat="seasonal"] .packet-label h3 { font-size: 1.85rem; }
  .packet[data-cat="seasonal"] .packet-ask { margin-top: 0.75rem; }
}

@media (max-width: 36rem) {
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1);
    padding: 0.25rem var(--gutter);
  }
  .filters button { flex: none; }
  .packet-sheet { flex-direction: row; }
  .packet-front {
    flex: none;
    width: 38%;
    aspect-ratio: auto;
    padding: 2.25rem 0.75rem 1rem;
    border-bottom: 0;
    border-right: 1.5px dashed var(--ink);
  }
  .packet-no { top: 0.75rem; left: 0.75rem; }
  .packet .packet-no span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .packet .art { width: 82%; }
  .packet-label { padding: 1rem 1rem 1.1rem; }
  .packet-label h3 { font-size: 1.2rem; }
}

.catalogue-empty {
  padding: 2rem;
  border: 1.5px dashed var(--taupe);
  border-radius: var(--radius-card);
  color: var(--taupe);
  max-width: 44rem;
}

/* ---------- Cake of the week: one big packet, deepest ink ---------- */

.cotw { padding: var(--section) 0; background: var(--sage); }
.cotw-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas: "head plate" "body plate";
  grid-template-rows: auto 1fr;
  gap: 1.75rem clamp(2rem, 6vw, 5rem);
}
.cotw-head { grid-area: head; align-self: end; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 0.95; }
.cotw-plate { grid-area: plate; margin: 0; filter: drop-shadow(0 4px 10px rgba(61, 35, 20, 0.08)); }
.cotw-sheet {
  --crimp: 8px;
  --d1: var(--pink); --d2: var(--paper); --d3: var(--sage);
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  padding: 3.25rem 1.5rem 1.5rem;
  border-radius: var(--radius-panel);
  background: var(--rose);
  color: var(--paper);
}
.cotw-sheet .packet-no { display: block; top: 1.4rem; left: 1.5rem; right: 1.5rem; }
.cotw-sheet .art { width: 80%; aspect-ratio: 1; stroke: var(--choc); stroke-width: 1.3; stroke-linejoin: round; }
.cotw-plate figcaption { margin-top: 0.75rem; font-size: 0.9rem; }
.cotw-body { grid-area: body; }
.cotw-body h3 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.cotw-body p { margin-top: 1rem; max-width: 46ch; }
.cotw-body h3 + p { font-size: 1.15rem; }
.cotw-body .tbc { text-decoration-color: var(--choc); }
.cotw-sample { font-size: 0.9rem; font-weight: 500; }
.cotw-body .actions { margin-top: 2rem; }

@media (max-width: 52rem) {
  .cotw-grid { grid-template-columns: 1fr; grid-template-areas: "head" "plate" "body"; grid-template-rows: none; }
  .cotw-sheet { aspect-ratio: 5 / 4; }
  .cotw-sheet .art { width: 64%; }
}

/* ---------- Meet Dahlia ---------- */

.baker { padding: var(--section) 0; }
.baker-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.baker-photo { margin: 0; filter: drop-shadow(0 4px 10px rgba(61, 35, 20, 0.08)); }
.baker-plate {
  --crimp: 8px;
  padding: 1.75rem 0.9rem 0.9rem;
  border-radius: var(--radius-panel);
  background: var(--pink);
}
.baker-plate img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
}
.baker-photo figcaption { margin-top: 0.75rem; color: var(--taupe); font-size: 0.9rem; }
.baker-text p { margin-top: 1.1rem; max-width: 52ch; }
.baker-text p:first-of-type { font: 400 clamp(1.25rem, 2.2vw, 1.5rem)/1.45 var(--font-display); }
.baker-text .btn { margin-top: 2rem; }

@media (max-width: 52rem) {
  .baker-grid { grid-template-columns: 1fr; }
}

/* ---------- Instagram ---------- */

.insta { padding: var(--section) 0; background: var(--pink); }
.insta .section-head > p { color: var(--choc-soft); }
.handle {
  display: inline-block;
  margin-top: 1rem;
  font: 400 clamp(1.6rem, 4vw, 2.6rem)/1.1 var(--font-display);
  overflow-wrap: anywhere;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.5vw, 1rem);
  margin: 0; padding: 0; list-style: none;
}
.tile a {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  padding: 0.75rem;
  border-radius: var(--radius-card);
  background: var(--tile);
  color: var(--tile-ink);
  box-shadow: var(--shadow);
  text-align: center;
  text-decoration: none;
  font: 400 clamp(1rem, 1.6vw, 1.3rem)/1.15 var(--font-display);
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}
.tile .art { width: 70%; aspect-ratio: 1; stroke: var(--choc); stroke-width: 1.1; stroke-linejoin: round; }
.tile-choc { --tile: var(--choc); --tile-ink: var(--pink); --d1: var(--pink); --d2: var(--paper); --d3: var(--rose); }
.tile-paper { --tile: var(--paper); --tile-ink: var(--choc); --d1: var(--rose); --d2: var(--pink); --d3: var(--sage); }
.tile-sage { --tile: var(--sage); --tile-ink: var(--choc); --d1: var(--paper); --d2: var(--pink); --d3: var(--choc); }
.tile-rose { --tile: var(--rose); --tile-ink: var(--paper); }
.tile-choc a:focus-visible { outline-color: var(--choc); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .tile a:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
}
@media (max-width: 52rem) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Back cover: find us, contact, hours ---------- */

.backcover {
  --focus: var(--pink);
  padding: var(--section) 0 clamp(3rem, 6vw, 4.5rem);
  background: var(--choc);
  color: var(--paper);
}
.backcover h2 { margin-bottom: clamp(2rem, 4vw, 3rem); }
.backcover h3 { font-size: 1.6rem; margin-bottom: 1.25rem; }
.backcover .tbc { text-decoration-color: var(--pink); }
.backcover ::selection { background: var(--pink); color: var(--choc); }
.backcover a { text-decoration-color: var(--pink); }
.address-big {
  font: 400 clamp(2.2rem, 7.5vw, 5.5rem)/1 var(--font-display);
  letter-spacing: -0.02em;
}
.address-big a { text-decoration-thickness: 2px; text-underline-offset: 0.12em; }
.address-big a:hover { text-decoration-thickness: 4px; }
.backcover .btn { margin: 1.75rem 0 clamp(3rem, 6vw, 4.5rem); background: var(--pink); border-color: var(--pink); color: var(--choc); }
.backcover .btn:hover { background: var(--paper); border-color: var(--paper); }
.backcover-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 5rem);
}
.contact dl { margin: 0; }
.contact dl > div {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid rgba(250, 246, 240, 0.22);
}
.contact dt {
  padding-top: 0.2rem;
  color: var(--pink);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.contact dd { margin: 0; font-size: 1.1rem; overflow-wrap: anywhere; }
.note { margin-top: 1.5rem; color: var(--sage); }

.hours .status { color: var(--pink); }
.backcover .status[data-state="open"]::before { background: var(--sage); border-color: var(--sage); } /* sage-ink is 2.3:1 on chocolate */
.hours-when { margin-top: 0.9rem; padding-top: 0.9rem; border-top: 1px solid rgba(250, 246, 240, 0.22); font-size: 1.1rem; }

@media (max-width: 52rem) {
  .backcover-grid { grid-template-columns: 1fr; }
  .contact dl > div { grid-template-columns: 5.5rem 1fr; }
}

.footer { padding: 1.5rem 0 2rem; background: var(--choc); color: var(--sage); font-size: 0.9rem; }
.footer-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250, 246, 240, 0.22);
}
.footer .legend { margin-left: auto; }
.footer .tbc { text-decoration-color: var(--pink); }
.footer a { --focus: var(--pink); text-decoration-color: var(--pink); }

/* ---------- Scroll entrances: only where the browser drives them ---------- */

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .packet {
      animation: deal var(--ease-out) both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}
@keyframes deal { from { translate: 0 3.5rem; rotate: 3deg; } }

/* Filter reflow: packets glide to their new places. */
::view-transition-group(*) { animation-duration: 0.5s; animation-timing-function: var(--ease-out); }
