/* home.css: the homepage only. It loads after city.css and reuses its tokens, header, countdown tiles, midnight state
   (.countdown-block + .celebration-msg: nothing moves at midnight), FAQ and footer. Mobile first.
   The one bold element is the year ring of the share card (images/og/default.jpg): a thin gradient ring that closes as
   the year runs out, with the spark waiting at 12 o'clock. Everything else stays quiet. Glass without backdrop-filter
   (ruling R51). Live states (rows, the next midnight, the overlay) change paint properties only, never the layout. */

.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===== Header ===== */
.home-brand { display: flex; align-items: center; gap: .5rem; margin: 0; }
.home-brand__mark { display: block; flex: none; }
.home-brand__name {
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 800; letter-spacing: .3px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
[data-theme="light"] .home-brand__name { background-image: linear-gradient(135deg, #dc2626, #7c3aed, #0369a1); }

/* ===== Page ===== */
main.home-main {
  position: relative; z-index: 1; flex: 1;
  width: 100%; max-width: 1120px; margin: 0 auto; padding: 4.25rem 1rem 3rem;
  display: flex; flex-direction: column; gap: 3rem;
}
main.home-main > * { min-width: 0; margin: 0; }
.section-lede { max-width: 62ch; margin: -.35rem 0 1.1rem; font-size: .9375rem; line-height: 1.6; color: var(--text-secondary); }
.section-more { margin: 1rem 0 0; font-size: .9375rem; }

/* ===== Hero ===== */
.home-hero { position: relative; display: flex; flex-direction: column; }
/* The ring shows only from 960 px, where it has a column of its own; below that it would sit over the title (the year in
   the title runs the full width of a phone or tablet). */
.year-ring {
  display: none;
  position: absolute; z-index: -1; overflow: visible; pointer-events: none;
}
.year-ring__track { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 1.5; }
.year-ring__arc { fill: none; stroke: url(#year-ring-grad); stroke-width: 2.5; stroke-linecap: round; opacity: .9; }
.year-ring.is-drawn .year-ring__arc { transition: stroke-dashoffset 1.4s cubic-bezier(.22,.8,.2,1); }
.year-ring__spark { fill: #fff; filter: drop-shadow(0 0 6px rgba(255,107,107,.9)) drop-shadow(0 0 14px rgba(192,132,252,.7)); }
[data-theme="light"] .year-ring__track { stroke: rgba(40,20,80,0.10); }
[data-theme="light"] .year-ring__spark { fill: #7c3aed; filter: drop-shadow(0 0 6px rgba(124,58,237,.45)); }
.home-hero.is-new-year .year-ring__spark { animation: spark-ignite 1.8s ease-out both; }
@keyframes spark-ignite {
  0% { transform: scale(1); }
  35% { transform: scale(1.9); }
  100% { transform: scale(1.15); }
}
.year-ring__spark { transform-box: fill-box; transform-origin: center; }
/* The ring's reading: how much of the year has gone, in the arc's own gradient, so the arc explains itself. SVG text in
   the ring's 200-unit box: it scales with the ring and takes no part in the page layout, so filling or changing it moves
   nothing. Shown from 960 px, where the ring has a column of its own; below that the ring is hidden. */
.year-ring__meter { display: none; }
.year-ring__pct {
  font-family: var(--font-display); font-size: 58px; font-weight: 800; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums lining-nums; fill: url(#year-ring-grad);
}
.year-ring__unit { font-size: 29px; letter-spacing: 0; }
.year-ring__caption { font-family: var(--font-body); font-size: 11.5px; font-weight: 500; fill: var(--text-secondary); }
[data-theme="light"] .year-ring__pct { fill: url(#year-ring-ink); }
/* Midnight: 100% in the greeting's gold, and the greeting itself (assets/home.js). Fill only, so nothing moves. */
.home-hero.is-new-year .year-ring__pct { fill: url(#year-ring-gold); }
[data-theme="light"] .home-hero.is-new-year .year-ring__pct { fill: url(#year-ring-gold-ink); }
.home-hero.is-new-year .year-ring__caption { fill: var(--text); }

.home-title { margin: 0 0 1.1rem; font-family: var(--font-display); line-height: 1; }
.home-title__year {
  display: block; white-space: nowrap;
  font-size: clamp(2.5rem, 12.4vw, 5.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: .98;
  background: var(--h1-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  padding-bottom: .06em; /* descenders of the gradient fill */
}
.home-title__sub {
  display: block; margin-top: .4rem;
  font-size: clamp(1.15rem, 5vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; color: var(--text);
}

.home-countdown .countdown-label-city { margin-top: .1rem; }
/* The digits fill their tile's width, so "--" turning into numbers (or 9 into 10) never moves a box. */
.home-countdown .countdown-num { align-self: stretch; text-align: center; }

/* Time zone menu: the caption of the countdown, kept outside .countdown-block so it stays usable after midnight. */
.home-zone { display: flex; align-items: center; gap: .65rem; margin-top: 1rem; }
.home-zone__label { flex: none; font-size: .8125rem; font-weight: 600; color: var(--text-secondary); }
.home-zone__select {
  flex: 1 1 auto; min-width: 0; width: 100%; max-width: 22rem; min-height: 2.75rem;
  padding: .55rem 2.4rem .55rem .9rem; border: 1px solid var(--hairline-strong); border-radius: 12px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23C084FC' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E") no-repeat right .9rem center / .75rem auto;
  color: var(--text); font-family: var(--font-body); font-size: .9375rem; line-height: 1.3;
  -webkit-appearance: none; appearance: none; cursor: pointer; text-overflow: ellipsis;
}
.home-zone__select:hover { border-color: var(--ink-accent); }
[data-theme="light"] .home-zone__select { background-color: rgba(255,255,255,0.8); }
.home-zone__select option { color: initial; }

/* Share, calendar, sound */
.home-actions { position: relative; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: .85rem; }
.home-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem;
  padding: .5rem .8rem; border: 1px solid var(--hairline-strong); border-radius: 999px;
  background: var(--surface); color: var(--text);
  font-family: var(--font-body); font-size: .8125rem; font-weight: 600; line-height: 1.2; white-space: nowrap;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.home-btn:hover { background: var(--glass-hover); border-color: var(--ink-accent); }
.home-btn__icon { display: block; flex: none; }
/* White 13 px text: 5.0:1 at the gradient's lightest point, 6.0:1 on hover (WCAG AA is 4.5:1; tests/home.test.js). */
#share-countdown { border-color: transparent; color: #fff; background: linear-gradient(135deg, #c93a4d, #8a4bd6); }
#share-countdown:hover { background: linear-gradient(135deg, #b5323f, #7a3fc4); }
.home-btn__icon--done, .home-btn.is-done .home-btn__icon--share { display: none; }
.home-btn.is-done .home-btn__icon--done { display: block; }
.home-btn__icon--sound-on, #sound-toggle[aria-pressed="true"] .home-btn__icon--sound-off { display: none; }
#sound-toggle[aria-pressed="true"] .home-btn__icon--sound-on { display: block; }
#sound-toggle[aria-pressed="true"] { border-color: var(--accent-4); background: rgba(251,191,36,0.12); }
[data-theme="light"] #sound-toggle[aria-pressed="true"] { border-color: #b45309; background: rgba(217,119,6,0.12); }

.home-answer { margin: 1.4rem 0 0; }

/* ===== Next to celebrate ===== */
.next-up { padding: 1.1rem 1.15rem 1.15rem; }
.next-up__title {
  display: flex; align-items: center; gap: .55rem; margin: 0 0 .55rem;
  font-family: var(--font-body); font-size: .875rem; font-weight: 600; letter-spacing: .01em; color: var(--ink-accent);
}
.next-up__title::before {
  content: ''; flex: none; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--accent-4); box-shadow: 0 0 0 3px rgba(251,191,36,0.2);
}
.next-up[data-live] .next-up__title::before { animation: live-dot 2.4s ease-in-out infinite; }
@keyframes live-dot { 50% { box-shadow: 0 0 0 6px rgba(251,191,36,0.05); } }
/* One line for the place (scripts/pages/home.js keeps it short), two for the time, one for the countdown: the live text
   may change, the box may not. */
.next-up__place {
  margin: 0; min-height: 1.3em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; line-height: 1.3; color: var(--text);
}
.next-up__when { margin: .2rem 0 0; min-height: 2.9em; font-size: .875rem; line-height: 1.45; color: var(--text-secondary); }
.next-up__countdown {
  margin: .25rem 0 .9rem; min-height: 1.3em; line-height: 1.3;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; letter-spacing: .01em;
  font-variant-numeric: tabular-nums lining-nums; color: #fde68a;
}
[data-theme="light"] .next-up__countdown { color: #b45309; }
.next-up__link {
  display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1rem;
  border: 1px solid var(--hairline-strong); border-radius: 999px;
  color: var(--text); font-size: .875rem; font-weight: 600; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.next-up__link::after {
  content: ''; width: .42em; height: .42em; margin-left: .6em; flex: none;
  border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: rotate(45deg); opacity: .8;
}
.next-up__link:hover { background: var(--glass-hover); border-color: var(--ink-accent); text-decoration: none; }

/* ===== Find your city: midnight's path, first to last ===== */
.city-tools { display: grid; gap: .5rem; margin: 0 0 1rem; }
.city-tools__label { font-size: .8125rem; font-weight: 600; color: var(--text-secondary); }
.city-tools__input {
  width: 100%; min-height: 2.75rem; padding: .55rem .9rem .55rem 2.4rem;
  border: 1px solid var(--hairline-strong); border-radius: 12px; color: var(--text);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8b8d0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat .8rem center / 1rem auto;
  font-family: var(--font-body); font-size: 1rem;
}
.city-tools__input::placeholder { color: var(--text-secondary); }
[data-theme="light"] .city-tools__input { background-color: rgba(255,255,255,0.8); }
.city-tools__count { margin: 0; min-height: 1.4em; font-size: .8125rem; color: var(--text-secondary); }
.city-suggest:empty { display: none; }
.city-suggest {
  margin: .25rem 0 0; padding: .7rem .9rem; border-left: 2px solid var(--accent-4);
  background: rgba(251,191,36,0.07); border-radius: 0 12px 12px 0;
  font-size: .9375rem; line-height: 1.55; color: var(--body-text);
}
[data-theme="light"] .city-suggest { border-left-color: #b45309; background: rgba(217,119,6,0.08); }
.city-suggest a { font-weight: 600; color: var(--text); } /* underlined by city.css; the accent ink is under 4.5:1 on this tint */

.wc-list { list-style: none; position: relative; margin: 0; padding: 0; }
.wc-list::before { /* the rail: midnight's path from the first row to the last */
  content: ''; position: absolute; top: 1.35rem; bottom: 1.35rem; left: .3rem; width: 1px;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2) 45%, var(--accent-3));
  opacity: .45;
}
.wc-row {
  position: relative; display: grid; grid-template-columns: 5.6rem minmax(0, 1fr); grid-template-rows: auto auto 1fr;
  column-gap: .75rem; padding: .8rem 0 .85rem 1.35rem; border-top: 1px solid var(--hairline);
}
.wc-row:last-child { border-bottom: 1px solid var(--hairline); }
.wc-row::before { /* the stop on the rail */
  content: ''; position: absolute; left: 0; top: 1.2rem; width: .65rem; height: .65rem; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--hairline-strong); box-sizing: border-box;
}
.wc-row__offset {
  grid-column: 1; grid-row: 1; margin: 0;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; line-height: 1.35; color: var(--text);
  font-variant-numeric: tabular-nums;
}
.wc-row__time { grid-column: 1; grid-row: 2 / 4; margin: .1rem 0 0; font-size: .75rem; line-height: 1.4; color: var(--text-secondary); }
.wc-row__date, .wc-row__clock { display: block; }
.wc-row__live {
  grid-column: 2; grid-row: 1; margin: 0; min-height: 1.35em; line-height: 1.35;
  font-size: .875rem; font-weight: 600; color: var(--text-secondary);
  font-variant-numeric: tabular-nums lining-nums; letter-spacing: .01em;
}
.wc-row__cities { grid-column: 2; grid-row: 2 / 4; list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: .4rem 0 0; padding: 0; }
.wc-city {
  display: inline-flex; align-items: center; min-height: 2.25rem; padding: .2rem .8rem;
  border: 1px solid var(--hairline); border-radius: 999px; background: var(--surface);
  color: var(--text); font-size: .875rem; line-height: 1.2; text-decoration: none;
  transition: background .2s, border-color .2s;
}
.wc-city:hover { background: rgba(192,132,252,0.1); border-color: var(--ink-accent); text-decoration: none; }
/* Live states, written by home.js. Paint only. */
.wc-row[data-state="next"]::before { background: var(--accent-4); border-color: var(--accent-4); box-shadow: 0 0 0 4px rgba(251,191,36,0.18); }
.wc-row[data-state="next"] .wc-row__live { color: #fde68a; }
.wc-row[data-state="celebrated"]::before { background: var(--accent-5); border-color: var(--accent-5); }
.wc-row[data-state="celebrated"] .wc-row__live { color: #6ee7b7; }
[data-theme="light"] .wc-row[data-state="next"] .wc-row__live { color: #92400e; }
[data-theme="light"] .wc-row[data-state="celebrated"] .wc-row__live { color: #065f46; }
.wc-row[data-yours] .wc-row__offset { color: var(--accent-4); }
[data-theme="light"] .wc-row[data-yours] .wc-row__offset { color: #92400e; } /* 6.2:1 on --bg (#b45309 was 4.42:1 at 16.8 px) */
.wc-row[data-yours] .wc-city { border-color: rgba(251,191,36,0.55); }
.wc-empty { margin: 1rem 0 0; color: var(--text-secondary); }

/* ===== Facts ===== */
.facts-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; }
.fact {
  display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: .95rem .95rem 1rem;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--surface);
  color: var(--text-secondary); text-decoration: none; transition: border-color .2s, background .2s;
}
.fact:hover { border-color: var(--ink-accent); background: var(--glass-hover); text-decoration: none; }
.fact__value {
  font-family: var(--font-display); font-size: clamp(1.6rem, 7.4vw, 2.3rem); font-weight: 800; line-height: 1;
  letter-spacing: -0.02em; color: var(--text); font-variant-numeric: lining-nums;
}
.fact__text { font-size: .8125rem; line-height: 1.45; }

/* ===== Traditions ===== */
.tradition-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-bottom: 1px solid var(--hairline); }
.tradition { padding: .9rem 0 1rem; border-top: 1px solid var(--hairline); }
.tradition__name { margin: 0 0 .3rem; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.tradition__link { color: var(--text); text-decoration: none; } /* a heading link, not a link in running text */
.tradition__link:hover { color: var(--ink-accent); text-decoration: none; }
.tradition__place {
  display: block; margin-bottom: .15rem;
  font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-accent);
}
.tradition__text { margin: 0; max-width: 62ch; font-size: .9375rem; line-height: 1.6; color: var(--text-secondary); }

/* ===== Greetings ===== */
.greeting-list { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; margin: 0; padding: 0; }
.greeting {
  display: flex; flex-direction: column; gap: .2rem; padding: .85rem .9rem .9rem;
  border: 1px solid var(--hairline); border-radius: var(--radius-sm); background: var(--surface);
}
.greeting__phrase {
  margin: 0; font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--text);
  overflow-wrap: anywhere; unicode-bidi: plaintext;
}
/* overflow-wrap: anywhere above is off for CJK so a phrase is not cut at an arbitrary character. Chinese and Korean keep a phrase together
   at a space or break opportunity (keep-all). Japanese has no word spaces, so breaking between characters is correct; line-break: strict
   keeps the break out of the places Japanese typography forbids (kinsoku). A long Japanese phrase may take two lines in a narrow card. */
.greeting__phrase:lang(zh), .greeting__phrase:lang(ko) { word-break: keep-all; line-break: strict; overflow-wrap: break-word; }
.greeting__phrase:lang(ja) { line-break: strict; overflow-wrap: break-word; }
.greeting__phrase:lang(ja), .greeting__phrase:lang(zh), .greeting__phrase:lang(hi), .greeting__phrase:lang(ar) { font-family: var(--font-body); }
.greeting__roman { margin: 0; font-size: .8125rem; font-style: italic; line-height: 1.4; color: var(--text-secondary); }
.greeting__lang { margin: auto 0 0; padding-top: .3rem; font-size: .75rem; font-weight: 600; color: var(--ink-accent); }

/* ===== FAQ (city.css styles the items) ===== */
.home-faq .section-title { margin-bottom: .75rem; }

/* ===== The midnight overlay ===== */
.celebration { /* opaque: the page behind must not show through the greeting */
  position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 1.5rem;
  background: radial-gradient(120% 80% at 50% 40%, #1f0840 0%, #0c0118 62%); color: #fff; text-align: center;
}
.celebration__canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.celebration__stage { position: relative; display: grid; grid-template-rows: auto auto; justify-items: center; }
.celebration__lead {
  grid-row: 1; margin: 0 0 .5rem; font-size: 1rem; font-weight: 600; letter-spacing: .02em; color: #d8b4fe;
}
.celebration__count, .celebration__title { grid-row: 2; grid-column: 1; margin: 0; align-self: center; }
.celebration__count {
  font-family: var(--font-display); font-weight: 800; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(7rem, 42vw, 16rem); font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, #FF6B6B, #C084FC 55%, #38BDF8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.celebration__count.is-ticking { animation: count-pop .45s cubic-bezier(.34,1.56,.64,1); }
@keyframes count-pop { from { transform: scale(.72); opacity: .2; } to { transform: none; opacity: 1; } }
.celebration__title {
  max-width: 14ch; font-family: var(--font-display); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em;
  font-size: clamp(2.8rem, 13vw, 6.5rem); text-wrap: balance;
  background: linear-gradient(135deg, #FBBF24, #FF6B6B 45%, #C084FC 80%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
/* One state at a time, stacked in the same grid cell: switching states repaints, nothing moves. */
.celebration[data-state="sequence"] .celebration__title,
.celebration[data-state="greeting"] .celebration__lead,
.celebration[data-state="greeting"] .celebration__count { opacity: 0; visibility: hidden; }
.celebration[data-state="greeting"] .celebration__title { animation: greet-in 1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes greet-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.celebration__close {
  position: absolute; left: 50%; bottom: max(2rem, calc(env(safe-area-inset-bottom, 0px) + 1.25rem)); transform: translateX(-50%);
  min-height: 2.75rem; padding: .55rem 1.6rem; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  background: rgba(255,255,255,0.08); color: #fff; font-family: var(--font-body); font-size: .9375rem; font-weight: 600; cursor: pointer;
}
.celebration__close:hover { background: rgba(255,255,255,0.16); }
.celebration__close:focus-visible { outline: 2px solid #fde68a; outline-offset: 3px; }

@media (max-width: 399px) {
  .home-actions { gap: .35rem; }
  .home-btn { flex: 1 1 auto; padding: .5rem .6rem; }
}
/* ===== Wider screens ===== */
@media (min-width: 641px) {
  main.home-main { padding: 6rem 1.5rem 4rem; gap: 4rem; }
  .home-actions { gap: .6rem; }
  .next-up { padding: 1.4rem 1.6rem 1.5rem; }
  .next-up__when { min-height: 1.45em; }
  .wc-row { grid-template-columns: 7rem minmax(0, 1fr); }
  .facts-list { gap: .85rem; } /* stays at two columns until 960px: at 768px a fourth of the width is too narrow for "26 hours" at the largest size */
  .tradition-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
  .greeting-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
}
@media (min-width: 960px) {
  .facts-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-hero { display: grid; grid-template-columns: minmax(0, 37rem) minmax(0, 1fr); column-gap: 3rem; align-items: start; }
  .home-hero > * { grid-column: 1; }
  .year-ring { display: block; position: relative; z-index: auto; grid-column: 2; grid-row: 1 / span 6; justify-self: center; align-self: center; top: 0; right: 0; width: min(25rem, 100%); height: auto; aspect-ratio: 1; }
  .year-ring__meter { display: inline; }
  .home-main > .next-up { max-width: 37rem; }
  .wc-list { columns: 2; column-gap: 3rem; }
  .wc-list::before { display: none; }
  .wc-row { break-inside: avoid; }
  .wc-row:last-child { border-bottom: 0; }
  .tradition-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-faq { max-width: 50rem; }
}

@media (prefers-reduced-motion: reduce) {
  .year-ring.is-drawn .year-ring__arc { transition: none; }
  .home-hero.is-new-year .year-ring__spark, .next-up[data-live] .next-up__title::before,
  .celebration__count.is-ticking, .celebration[data-state="greeting"] .celebration__title { animation: none; }
}
@media (forced-colors: active) {
  .home-title__year, .home-brand__name, .celebration__count, .celebration__title { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
  .year-ring__pct, .year-ring__caption { fill: CanvasText !important; }
}
