/* server/src/main/resources/site/templates/style.css
   The one stylesheet of every business site. It loads nothing (no fonts, no images, no imports) and runs nothing.
   Built from the CSS-only pieces in user-interface/components/ (glow-hero, blur-in-headline, rise-in,
   two-tone-title, hours-booking-card, border-light, action-bar), ported by hand: no grain image, no svg.
   Motion (made VISIBLE 2026-11-26, his words: "where are the animations that fancy websites have"):
   - on load (time, only under prefers-reduced-motion: no-preference; each one ends by itself): the name comes out of
     a blur, the words and buttons rise, a light sweeps across the main button (5 times, then stops), a number marked
     .tick counts up from 0, a hero picture (.hero-picture on <body>) settles from a zoom; the hero lights drift.
   - while scrolling (scroll timelines, only where the browser has them, inside the one @supports guard): the hero
     picture zooms and drifts down as the hero leaves, sections slide up, the hours rows slide in one after another,
     the hours card's ring of light runs. Scroll-linked motion moves and scales only, never fades (a half-scrolled
     section keeps full contrast).
   Everywhere else, and under reduced motion, the page is simply there, still. Only transform, translate, scale,
   filter, background-position, opacity on load, and custom properties are animated, so nothing moves the layout
   (SiteMotionTest). */

/* ---- the palette of each kind of business (the renderer puts tone-<kind> on <body>) ---- */
body {
  --bg: #23140d;
  --glow-a: #c4561d;
  --glow-b: #f2c14e;
  --btn: #f2c14e;
  --on-btn: #23140d;
  --paper: #fbf8f3;
  --ink: #1f1c19;
  --muted: #625b53;
  --accent: #8a3b12;
  --line: rgb(31 28 25 / 0.12);
  --hero-ink: #f7f4ee;
  --hero-muted: rgb(247 244 238 / 0.8);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --display: var(--sans);
  --radius: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

.tone-restaurant { --bg: #23140d; --glow-a: #c4561d; --glow-b: #f2c14e; --btn: #f2c14e; --on-btn: #23140d; --paper: #fbf8f3; --ink: #1f1c19; --muted: #625b53; --accent: #8a3b12; --display: var(--serif); }
.tone-barber { --bg: #0a1324; --glow-a: #2f5fb3; --glow-b: #c39a4a; --btn: #d2ab5c; --on-btn: #0a1324; --paper: #f5f2ea; --ink: #121822; --muted: #5b5e66; --accent: #1d3f7a; --display: var(--serif); }
.tone-salon { --bg: #26101d; --glow-a: #c2447b; --glow-b: #f0b3cb; --btn: #f3bcd2; --on-btn: #26101d; --paper: #fcf6f8; --ink: #221a1e; --muted: #6a5a62; --accent: #8e2f5c; --display: var(--serif); }
.tone-nails { --bg: #351726; --glow-a: #e2729a; --glow-b: #f5d9bd; --btn: #f6dcc3; --on-btn: #351726; --paper: #fff8f2; --ink: #2a1c20; --muted: #6d5b5f; --accent: #a23a62; --display: var(--serif); }
.tone-electric { --bg: #111317; --glow-a: #ffb000; --glow-b: #4a5262; --btn: #ffc23d; --on-btn: #111317; --paper: #f4f4f1; --ink: #15171b; --muted: #5a5d63; --accent: #855600; }
.tone-cleaning { --bg: #052d2b; --glow-a: #18a99a; --glow-b: #c8f5ee; --btn: #ffffff; --on-btn: #052d2b; --paper: #f6fbfa; --ink: #102321; --muted: #4f6462; --accent: #0b6a62; }
.tone-photo { --bg: #0a0a0a; --glow-a: #b8862f; --glow-b: #6b6258; --btn: #d6ad57; --on-btn: #0a0a0a; --paper: #f6f4ef; --ink: #161514; --muted: #5f5b55; --accent: #7a5a1e; --display: var(--serif); }
.tone-tailor { --bg: #221220; --glow-a: #8e4474; --glow-b: #eadcc6; --btn: #eadcc6; --on-btn: #221220; --paper: #f8f3ea; --ink: #211a1d; --muted: #66595c; --accent: #6e2f57; --display: var(--serif); }
.tone-floral { --bg: #1c271d; --glow-a: #8aa679; --glow-b: #f3b5c4; --btn: #f4bccb; --on-btn: #1c271d; --paper: #fbf7f3; --ink: #1c201b; --muted: #5d6359; --accent: #4b6440; --display: var(--serif); }
.tone-plumbing { --bg: #081d31; --glow-a: #2286cc; --glow-b: #a3b6c6; --btn: #9fd8f5; --on-btn: #081d31; --paper: #f3f6f9; --ink: #111a22; --muted: #56606a; --accent: #14598a; }
.tone-events { --bg: #0f1832; --glow-a: #ff6b55; --glow-b: #4565c4; --btn: #ff8a77; --on-btn: #0f1832; --paper: #fff8f4; --ink: #1a1b24; --muted: #605c64; --accent: #b0361f; }
.tone-pet { --bg: #12301e; --glow-a: #43955a; --glow-b: #f2d49a; --btn: #f2d49a; --on-btn: #12301e; --paper: #faf8ef; --ink: #18201a; --muted: #5b6156; --accent: #2f6b3f; }
.tone-auto { --bg: #111316; --glow-a: #d63a2f; --glow-b: #5c6670; --btn: #ff7366; --on-btn: #111316; --paper: #f3f3f3; --ink: #141618; --muted: #595d62; --accent: #a3271f; }

/* ---- the page ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  line-height: 1.1;
  text-wrap: balance;
}

p,
ul,
dl,
address {
  margin: 0;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

time {
  white-space: nowrap;
}

/* ---- the hero: the business's two colours as slow lights on a deep ground (glow-hero) ---- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: clip;
  display: flex;
  min-height: clamp(28rem, 66svh, 44rem);
  padding: 1rem 1.25rem 3.25rem;
  background-color: var(--bg);
  background-image:
    radial-gradient(60% 45% at 85% 100%, color-mix(in srgb, var(--glow-b) 20%, transparent), transparent 70%),
    radial-gradient(80% 70% at 100% 0%, color-mix(in srgb, var(--glow-a) 32%, transparent), transparent 70%),
    radial-gradient(70% 80% at 0% 100%, color-mix(in srgb, var(--glow-b) 18%, transparent), transparent 70%);
  color: var(--hero-ink);
  view-timeline-name: --hero;
}

.hero-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* a picture behind the hero (the page that has one puts .hero-picture on <body> and the picture on .hero-light) */
.hero-picture .hero-light {
  transform-origin: 50% 40%;
}

.hero-light::before,
.hero-light::after {
  content: "";
  position: absolute;
  width: 92vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.7;
}

.hero-light::before {
  left: -30vmax;
  bottom: -52vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow-b) 70%, transparent), color-mix(in srgb, var(--glow-b) 22%, transparent) 50%, transparent);
}

.hero-light::after {
  right: -28vmax;
  top: -50vmax;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--glow-a) 90%, transparent), color-mix(in srgb, var(--glow-a) 30%, transparent) 50%, transparent);
}

/* the dark pool behind the words, so the name always reads */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(60% 50% at 30% 62%, color-mix(in srgb, var(--bg) 70%, transparent), transparent 75%);
}

.hero-in {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
}

.topnav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  width: fit-content;
  padding: 0.3rem;
  list-style: none;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background-color: rgb(255 255 255 / 0.06);
}

.topnav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 0.95rem;
  border-radius: 999px;
  color: var(--hero-ink);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.topnav a:hover {
  background-color: rgb(255 255 255 / 0.1);
}

.hero a:focus-visible {
  outline-color: var(--btn);
}

.hero-words {
  display: grid;
  gap: 1.1rem;
  max-width: 46rem;
}

.hero h1 {
  font-size: clamp(2.7rem, 1.6rem + 6vw, 5.6rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}

.hero .summary {
  max-width: 34rem;
  color: var(--hero-muted);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
  line-height: 1.45;
}

/* the name comes out of a soft blur once, on load (blur-in-headline) */
.blur-in .line {
  display: block;
}

/* ---- buttons: the first one is the main action ---- */
.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
  list-style: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border: 1px solid rgb(255 255 255 / 0.24);
  border-radius: 999px;
  background-color: rgb(255 255 255 / 0.06);
  color: var(--hero-ink);
  font-weight: 650;
  text-decoration: none;
  transition: background-color 0.2s ease, translate 0.2s var(--ease), box-shadow 0.2s ease;
}

.btn:hover {
  background-color: rgb(255 255 255 / 0.14);
}

.buttons li:first-child .btn {
  border-color: transparent;
  background-color: var(--btn);
  color: var(--on-btn);
  box-shadow: 0 14px 34px -14px var(--btn);
}

.buttons li:first-child .btn:hover {
  background-color: color-mix(in srgb, var(--btn) 86%, #fff);
}

/* the light that sweeps across the main button: a bright band, parked off the button until it moves */
.buttons li:first-child .btn,
.actionbar a:first-child {
  background-image: linear-gradient(105deg, transparent 42%, rgb(255 255 255 / 0.7) 50%, transparent 58%);
  background-repeat: no-repeat;
  background-size: 300% 100%;
  background-position: 100% 0;
}

/* a number that counts up from 0 (the page writes <span class="tick"><span>123</span></span> and sets --tick-to:
   123 in its own stylesheet). The real number is always the text; the counting copy is drawn over it only while
   the animation runs (--tick-on is 1 then), so a still page, or one without the animation, shows the real number. */
@property --tick {
  syntax: "<integer>";
  inherits: false;
  initial-value: 0;
}

@property --tick-on {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.tick {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  counter-reset: tick var(--tick);
}

.tick > span {
  display: inline-block;
  scale: calc(1 - var(--tick-on));
}

.tick::after {
  content: counter(tick);
  content: counter(tick) / "";
  position: absolute;
  inset: 0;
  text-align: right;
  scale: var(--tick-on);
}

/* ---- main ---- */
main {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.25rem;
}

main > section,
main > .announcement {
  margin-top: clamp(3rem, 2rem + 4vw, 5.5rem);
}

.announcement {
  padding: 1rem 1.25rem;
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  border-radius: 16px;
  background-color: color-mix(in srgb, var(--accent) 7%, var(--paper));
  font-weight: 600;
}

main h2 {
  margin-bottom: 1.5rem;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

/* two-tone-title: the first sentence bright, the rest muted, one size */
.two-tone {
  max-width: 20ch;
  color: var(--muted);
}

.two-tone b {
  font-weight: inherit;
  color: var(--ink);
}

h3 {
  font-size: 1.3rem;
  letter-spacing: -0.015em;
}

/* a heading on the left, its card on the right, on wide screens */
@media (min-width: 860px) {
  .split {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: 3rem;
    align-items: start;
  }

  .split > h2 {
    margin-bottom: 0;
    padding-top: 0.5rem;
  }
}

.card {
  padding: clamp(1.25rem, 3.5vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background-color: #fff;
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 24px 48px -32px rgb(0 0 0 / 0.25);
}

/* ---- the order section (restaurants) ---- */
#order ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  align-items: center;
  padding: 0;
  list-style: none;
}

/* ---- the hours card (hours-booking-card), dark, with a ring of light (border-light) ---- */
.hours-card {
  position: relative;
  display: grid;
  gap: 1.25rem;
  border-color: rgb(255 255 255 / 0.08);
  background-color: var(--bg);
  background-image: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--glow-a) 22%, transparent), transparent 65%);
  color: var(--hero-ink);
  box-shadow: 0 30px 60px -30px color-mix(in srgb, var(--bg) 80%, transparent);
}

.hours > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-variant-numeric: tabular-nums;
}

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

.hours dt {
  font-weight: 650;
}

.hours dd {
  margin: 0;
  text-align: right;
}

.hours .shut {
  color: var(--hero-muted);
}

.closures {
  padding-left: 1.1rem;
  color: var(--hero-muted);
  font-size: 0.95rem;
}

.hours-card a:not(.btn) {
  color: var(--hero-ink);
}

.hours-card a:focus-visible {
  outline-color: var(--btn);
}

@property --ring {
  syntax: "<angle>";
  inherits: false;
  initial-value: 300deg;
}

.lit {
  view-timeline-name: --lit;
}

.lit::after {
  content: "";
  position: absolute;
  inset: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(from var(--ring), transparent 0deg 200deg, color-mix(in srgb, var(--glow-b) 85%, transparent) 280deg, var(--btn) 325deg, #fff 345deg, var(--btn) 352deg, transparent 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* ---- the menu (restaurants) ---- */
.menu-sections {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 860px) {
  .menu-sections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.menu-sections h3 {
  margin-bottom: 0.75rem;
}

.menu-sections ul {
  padding: 0;
}

.item {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.item:last-child {
  border-bottom: 0;
}

.item-name {
  flex: 1 1 auto;
  font-weight: 650;
}

.price {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--accent);
}

.item-notes {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.93rem;
}

.menu-note,
.allergen {
  margin-top: 1rem;
  color: var(--muted);
}

/* ---- about, photos, contact, getting here ---- */
#about p + p {
  margin-top: 1rem;
}

#about p {
  max-width: 40rem;
  font-size: 1.15rem;
}

.photos {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

figure {
  margin: 0;
}

figure img {
  border-radius: 16px;
}

figcaption {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.contact-card {
  display: grid;
  gap: 0.75rem;
}

address {
  font-style: normal;
  font-size: 1.15rem;
  font-weight: 600;
}

#practical ul {
  padding-left: 1.1rem;
}

#practical li + li {
  margin-top: 0.4rem;
}

footer {
  max-width: 68rem;
  margin: clamp(3.5rem, 2rem + 5vw, 6rem) auto 0;
  padding: 1.5rem 1.25rem 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.93rem;
}

footer p + p {
  margin-top: 0.4rem;
}

/* ---- the action bar: Book, Call, Text under the thumb, on phones only (action-bar) ---- */
.actionbar {
  display: none;
}

/* phones: a shorter hero, so the name sits near the top instead of under an empty band (2026-11-26) */
@media (max-width: 720px) {
  .hero {
    min-height: clamp(22rem, 52svh, 32rem);
  }
}

@media (max-width: 720px) {
  .actionbar {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 60;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: 26px;
    background-color: color-mix(in srgb, var(--bg) 95%, transparent);
    box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.55);
  }

  .actionbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 10px;
    border-radius: 18px;
    background-color: rgb(255 255 255 / 0.08);
    color: var(--hero-ink);
    font-weight: 650;
    text-decoration: none;
  }

  .actionbar a:first-child {
    background-color: var(--btn);
    color: var(--on-btn);
  }

  .actionbar a:focus-visible {
    outline-color: var(--btn);
  }

  body {
    padding-bottom: calc(92px + env(safe-area-inset-bottom, 0px));
  }
}

/* ---- dark mode: the page goes dark, the colours of the business stay ---- */
@media (prefers-color-scheme: dark) {
  body[class] {
    --paper: #121214;
    --ink: #f1eee9;
    --muted: #b3ada6;
    --line: rgb(255 255 255 / 0.12);
    --accent: color-mix(in srgb, var(--btn) 80%, #fff);
  }

  .card {
    background-color: #1b1b1f;
  }

  .hours-card {
    background-color: var(--bg);
  }

  .announcement {
    background-color: #1b1b1f;
  }
}

/* ---- motion by time: only when the visitor has not asked for less; each one on load ends by itself ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero-light::before {
    animation: drift-a 20s ease-in-out infinite alternate;
  }

  .hero-light::after {
    animation: drift-b 20s ease-in-out infinite alternate-reverse;
  }

  .hero-picture .hero-light {
    animation: pic-settle 3.2s var(--ease) both;
  }

  .blur-in .line {
    animation: blur-in 1.1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.15s both;
  }

  .hero .summary,
  .hero .buttons {
    animation: rise 0.8s var(--ease) 0.45s both;
  }

  .hero .buttons {
    animation-delay: 0.55s;
  }

  .buttons li:first-child .btn,
  .actionbar a:first-child {
    animation: sweep 4s ease-in-out 1.4s 5;
  }

  .tick {
    animation: tick 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) 0.7s backwards;
  }

  .actionbar {
    animation: bar-in 0.6s var(--ease) 0.9s both;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover {
    translate: 0 -2px;
  }
}

@keyframes drift-a {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(9vmax, -7vmax) scale(1.12); }
}

@keyframes drift-b {
  from { transform: translate(0, 0) scale(1.08); }
  to { transform: translate(-10vmax, 6vmax) scale(0.96); }
}

@keyframes pic-settle {
  from { scale: 1.18; }
}

@keyframes blur-in {
  from { opacity: 0; filter: blur(14px); translate: 0 0.22em; }
  60% { filter: blur(0); }
}

@keyframes rise {
  from { opacity: 0; translate: 0 22px; }
}

/* the band crosses the button in the first 35% of each 4 s, then waits off the button */
@keyframes sweep {
  from { background-position: 100% 0; }
  35%,
  to { background-position: 0% 0; }
}

/* --tick-on stays 1 to the end; with fill "backwards" it falls back to 0 once the count is done */
@keyframes tick {
  from { --tick: 0; --tick-on: 1; }
  to { --tick: var(--tick-to, 0); --tick-on: 1; }
}

@keyframes bar-in {
  from { translate: 0 calc(100% + 24px); }
}

/* ---- the keyframes of scroll-linked motion: move and scale only, never opacity ---- */
@keyframes rise-scroll {
  from { translate: 0 3.5rem; scale: 0.96; }
}

@keyframes pic-drift {
  to { transform: translateY(10%) scale(1.2); }
}

@keyframes row-in {
  from { translate: -1.1rem 0; }
}

@keyframes ring {
  from { --ring: 0deg; }
  to { --ring: 360deg; }
}

/* ---- motion by scroll: the hero picture drifts, sections and hours rows slide in, the hours ring runs ---- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .hero-picture .hero-light {
      animation-name: pic-settle, pic-drift;
      animation-duration: 3.2s, auto;
      animation-timing-function: var(--ease), linear;
      animation-delay: 0s, 0s;
      animation-iteration-count: 1, 1;
      animation-direction: normal, normal;
      animation-fill-mode: both, both;
      animation-timeline: auto, --hero;
      animation-range: normal, exit 0% exit 100%;
    }

    main > section {
      /* slide only, never fade: a section half in view must keep full contrast (axe, 2026-11-26) */
      animation-name: rise-scroll;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: view();
      animation-range: entry 0% entry 50%;
    }

    /* the rows of the hours card, one after another, on the card's own timeline */
    .hours > div {
      animation-name: row-in;
      animation-duration: auto;
      animation-timing-function: var(--ease);
      animation-fill-mode: both;
      animation-timeline: --lit;
      animation-range: entry 10% entry 45%;
    }

    .hours > div:nth-child(2) { animation-range: entry 18% entry 53%; }
    .hours > div:nth-child(3) { animation-range: entry 26% entry 61%; }
    .hours > div:nth-child(4) { animation-range: entry 34% entry 69%; }
    .hours > div:nth-child(5) { animation-range: entry 42% entry 77%; }
    .hours > div:nth-child(6) { animation-range: entry 50% entry 85%; }
    .hours > div:nth-child(n + 7) { animation-range: entry 58% entry 93%; }

    .lit::after {
      animation-name: ring;
      animation-duration: auto;
      animation-timing-function: linear;
      animation-fill-mode: both;
      animation-timeline: --lit;
      animation-range: entry 0% exit 100%;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light::before,
  .hero-light::after,
  .hero-picture .hero-light,
  .blur-in .line,
  .hero .summary,
  .hero .buttons,
  .buttons li:first-child .btn,
  .actionbar a:first-child,
  .tick,
  .actionbar,
  main > section,
  .hours > div,
  .lit::after {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
