/* =========================================================
   予你 · 视觉系统
   1. 令牌  2. 基础  3. 导航  4. 首屏  5. 区块
   6. 时间线  7. 照片墙  8. 誓言  9. 倒计时/祝福墙
   10. 灯箱  11. 动效  12. 响应式
   ========================================================= */

/* ---------- 1. 令牌 ---------- */
:root {
  --paper: #FDF9F5;
  --paper-alt: #F6EBE3;
  --rose: #C98B7E;
  --rose-deep: #8C4A45;
  --blush: #EDD2CC;
  --ink: #3E3431;
  --muted: #8A7A73;
  --gold: #D3B58A;

  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --font-sans: "Noto Sans SC", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  --font-hand: "Ma Shan Zheng", "STXingkai", "华文行楷", "KaiTi", cursive;
  --font-latin: "Cormorant Garamond", Georgia, "Times New Roman", serif;

  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 12px 40px rgba(201, 139, 126, .12);
  --shadow-lift: 0 18px 52px rgba(201, 139, 126, .20);

  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(72px, 10vw, 148px);
  --maxw: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- 2. 基础 ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 极轻纸纹，避免纯色发闷 */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }

h1, h2, h3, blockquote { font-family: var(--font-serif); font-weight: 400; margin: 0; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--blush); }

.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;
}

.skip-link {
  position: fixed; top: -60px; left: 16px; z-index: 100;
  padding: 10px 16px; border-radius: 999px;
  background: var(--ink); color: var(--paper);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--rose-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

.section {
  position: relative;
  padding: var(--section-y) var(--gutter);
  max-width: var(--maxw);
  margin-inline: auto;
}
.section--alt { background: var(--paper-alt); max-width: none; }
.section--alt > * { max-width: var(--maxw); margin-inline: auto; }

.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__index {
  font-family: var(--font-latin);
  font-size: .8rem;
  letter-spacing: .28em;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.section__title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  letter-spacing: .06em;
  line-height: 1.5;
}
.section__desc {
  color: var(--muted);
  font-size: .95rem;
  margin: 14px 0 0;
  max-width: 34ch;
}

/* ---------- 3. 导航 ---------- */
.nav {
  position: fixed;
  top: 16px; left: 50%;
  transform: translate(-50%, -140%);
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 18px;
  border-radius: 999px;
  background: rgba(253, 249, 245, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 139, 126, .18);
  box-shadow: 0 8px 30px rgba(140, 74, 69, .08);
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  opacity: 0;
}
.nav.is-visible { transform: translate(-50%, 0); opacity: 1; }

.nav__brand { display: flex; align-items: center; gap: 6px; font-family: var(--font-serif); font-size: .95rem; }
.nav__brand svg { width: 16px; height: 16px; fill: var(--rose); stroke: none; }

.nav__links { display: flex; gap: 2px; }
.nav__links a {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: .85rem;
  color: var(--muted);
  transition: color .25s var(--ease), background-color .25s var(--ease);
}
.nav__links a:hover { color: var(--rose-deep); background: rgba(237, 210, 204, .45); }
.nav__links a.is-active { color: var(--paper); background: var(--rose); }

/* ---------- 4. 首屏 ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 0 var(--gutter);
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% 0%, #FDF4EE 0%, var(--paper) 55%, #FBF1EA 100%);
}

.hero__glow {
  position: absolute;
  width: min(70vw, 720px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 210, 204, .55) 0%, rgba(237, 210, 204, 0) 68%);
  filter: blur(6px);
  animation: breathe 12s ease-in-out infinite;
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 2; max-width: 640px; }

.hero__eyebrow {
  font-family: var(--font-latin);
  font-size: .85rem;
  letter-spacing: .34em;
  color: var(--muted);
  margin: 0 0 clamp(20px, 4vw, 34px);
}

.hero__title {
  font-size: clamp(2.1rem, 6.2vw, 3.6rem);
  line-height: 1.55;
  letter-spacing: .08em;
}
.hero__title span { display: block; }
.hero__title span:last-child { color: var(--rose-deep); }

.hero__sub {
  margin: clamp(22px, 4vw, 32px) auto 0;
  max-width: 30ch;
  color: var(--muted);
  font-size: clamp(.9rem, 1.6vw, 1rem);
}

.hero__arrow {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-top: clamp(34px, 6vw, 56px);
  border-radius: 50%;
  border: 1px solid rgba(201, 139, 126, .35);
  color: var(--rose);
  animation: float-down 2.8s ease-in-out infinite;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.hero__arrow:hover { background: rgba(237, 210, 204, .4); border-color: var(--rose); }
.hero__arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.hero__hint {
  position: absolute;
  bottom: 22px; left: 50%;
  transform: translateX(-50%);
  font-size: .74rem;
  letter-spacing: .18em;
  color: rgba(138, 122, 115, .55);
  margin: 0;
}

/* ---------- 6. 时间线 ---------- */
.timeline {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(32px, 5vw, 56px);
}
.timeline::before {
  content: "";
  position: absolute;
  left: 7px; top: 6px; bottom: 6px;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--blush) 12%, var(--blush) 88%, transparent);
}

.tl-item { position: relative; padding-left: 44px; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--rose);
  transition: transform .5s var(--ease), background-color .5s var(--ease);
}
.tl-item.is-visible::before { background: var(--rose); transform: scale(1.15); }
.tl-item--milestone::before { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(211, 181, 138, .16); }

.tl-card {
  background: #fff;
  border: 1px solid rgba(201, 139, 126, .14);
  border-radius: var(--radius);
  padding: clamp(20px, 3vw, 30px);
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.tl-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

.tl-date {
  font-family: var(--font-latin);
  font-size: .84rem;
  letter-spacing: .18em;
  color: var(--rose);
  margin: 0 0 8px;
}
.tl-title { font-size: 1.14rem; letter-spacing: .04em; margin: 0 0 10px; }
.tl-text { margin: 0; color: var(--muted); font-size: .92rem; }

/* ---------- 7. 照片墙 ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2vw, 22px);
}

.photo {
  position: relative;
  border: 0;
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--blush);
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  font: inherit;
}
.photo:nth-child(4n + 2) { aspect-ratio: 3 / 4; }
.photo:nth-child(4n + 3) { aspect-ratio: 1 / 1; }
.photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.photo__media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .7s var(--ease), filter .4s var(--ease);
}
.photo:hover .photo__media { transform: scale(1.05); }

/* 占位色块：素材未到位时的视觉兜底（照片墙与灯箱共用） */
:is(.photo__media, .lightbox__media)[data-theme="1"] { background-image: linear-gradient(145deg, #F3DCD4, #E8BFB4 55%, #D9A79B); }
:is(.photo__media, .lightbox__media)[data-theme="2"] { background-image: linear-gradient(145deg, #F7E9DD, #EBD2C0 60%, #DDBBA4); }
:is(.photo__media, .lightbox__media)[data-theme="3"] { background-image: linear-gradient(160deg, #EFD8D3, #E3BEB8 50%, #C99C97); }
:is(.photo__media, .lightbox__media)[data-theme="4"] { background-image: linear-gradient(145deg, #F6E6D9, #E2C9B6 55%, #CBA98F); }
:is(.photo__media, .lightbox__media)[data-theme="5"] { background-image: linear-gradient(150deg, #F1DFDC, #DEBFB9 60%, #C79B95); }

.photo__meta {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 16px 14px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .06em;
  background: linear-gradient(to top, rgba(62, 52, 49, .62), transparent);
  opacity: 0;
  transition: opacity .35s var(--ease);
}
.photo:hover .photo__meta,
.photo:focus-visible .photo__meta { opacity: 1; }

/* ---------- 8. 誓言 ---------- */
.vow {
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(20px, 4vw, 48px);
}
.vow__index { margin-bottom: clamp(28px, 5vw, 44px); }
.vow__body {
  margin: 0;
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  line-height: 2.1;
  color: var(--ink);
}
.vow__body p { margin: 0 0 1.5em; }
.vow__body p:last-child { margin-bottom: 0; }
.vow__body p.is-key {
  font-size: 1.14em;
  color: var(--rose-deep);
}
.vow__sign {
  margin: clamp(32px, 5vw, 48px) 0 0;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  color: var(--rose-deep);
  letter-spacing: .1em;
}
.vow__sign small {
  display: block;
  margin-top: 6px;
  font-family: var(--font-latin);
  font-size: .76rem;
  letter-spacing: .22em;
  color: var(--muted);
}

/* ---------- 9. 倒计时 + 祝福墙 ---------- */
.countdowns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
  margin-bottom: clamp(18px, 3vw, 26px);
}

.count {
  padding: clamp(22px, 3.2vw, 34px) clamp(16px, 2.4vw, 26px);
  text-align: center;
  border-radius: var(--radius);
  border: 1px solid rgba(201, 139, 126, .16);
  background: rgba(255, 255, 255, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
}
.count__label {
  font-family: var(--font-serif);
  font-size: clamp(.95rem, 1.6vw, 1.05rem);
  letter-spacing: .08em;
  margin: 0 0 6px;
  transition: color .3s var(--ease);
}
.count.is-today .count__label { color: var(--rose-deep); }
.count__date {
  font-family: var(--font-latin);
  font-size: .78rem;
  letter-spacing: .2em;
  color: var(--muted);
  margin: 0 0 clamp(16px, 2.4vw, 22px);
}
/* 纪念日卡：累计天数做主视觉 */
.count__total {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 0 0 4px;
}
.count__total strong {
  font-family: var(--font-latin);
  font-size: clamp(2.6rem, 6.6vw, 3.6rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
}
.count__total span { font-size: .82rem; color: var(--muted); letter-spacing: .1em; }

.count__hint {
  font-size: .78rem;
  letter-spacing: .1em;
  color: var(--muted);
  margin: 0 0 clamp(12px, 2vw, 18px);
}

.count[hidden] { display: none; }
/* 婚后：只保留天数，收起时分秒 */
.count.is-dayonly .countdown__unit:not(:first-child) { display: none; }

.countdown {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: clamp(14px, 4vw, 42px);
  margin-bottom: clamp(20px, 3vw, 30px);
  flex-wrap: wrap;
}
.count .countdown { margin-bottom: 0; gap: clamp(10px, 2.4vw, 24px); }
.count .countdown__num { font-size: clamp(1.8rem, 4.2vw, 2.6rem); }

/* 纪念日卡的次级倒计时：字号收小，避免与累计天数抢焦点 */
.count .countdown--sm { gap: clamp(6px, 1.6vw, 14px); }
.count .countdown--sm .countdown__num {
  font-size: clamp(1rem, 2.2vw, 1.3rem);
  color: var(--muted);
}
.count .countdown--sm .countdown__label { font-size: .7rem; }

.countdown__unit { display: flex; align-items: baseline; gap: 6px; }
.countdown__num {
  font-family: var(--font-latin);
  font-size: clamp(2.4rem, 7vw, 3.8rem);
  line-height: 1;
  color: var(--rose-deep);
  font-variant-numeric: tabular-nums;
  transition: opacity .2s var(--ease);
}
.countdown__num.is-tick { opacity: .45; }
.countdown__label { font-size: .78rem; color: var(--muted); letter-spacing: .1em; }

.wall { max-width: 760px; margin-inline: auto; }
.wall__title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  text-align: center;
  letter-spacing: .1em;
  margin: 0 0 22px;
}

.wall__form {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 10px;
  margin-bottom: clamp(26px, 4vw, 38px);
}
.wall__form input,
.wall__form textarea {
  font: inherit;
  font-size: .88rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(201, 139, 126, .22);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  resize: none;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.wall__form input::placeholder,
.wall__form textarea::placeholder { color: rgba(138, 122, 115, .6); }
.wall__form input:focus,
.wall__form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(237, 210, 204, .5);
}
.wall__form button {
  font: inherit;
  font-size: .86rem;
  letter-spacing: .08em;
  color: #fff;
  background: var(--rose);
  border: 1px solid var(--rose);
  border-radius: var(--radius-sm);
  padding: 0 20px;
  cursor: pointer;
  transition: background-color .25s var(--ease), transform .25s var(--ease);
}
.wall__form button:hover { background: var(--rose-deep); border-color: var(--rose-deep); }
.wall__form button:active { transform: translateY(1px); }

.wall__grid {
  columns: 2;
  column-gap: 14px;
}
.note {
  break-inside: avoid;
  margin-bottom: 14px;
  padding: 16px 18px;
  border-radius: 4px 16px 16px 16px;
  background: #FFF6F1;
  box-shadow: 0 6px 22px rgba(140, 74, 69, .07);
  animation: note-in .55s var(--ease) both;
}
.note:nth-child(4n + 2) { background: #FDF0E9; transform: rotate(-1.1deg); }
.note:nth-child(4n + 3) { background: #FBE9E4; transform: rotate(.9deg); }
.note:nth-child(4n + 4) { background: #FFF9F0; transform: rotate(-.5deg); }
.note__text { margin: 0; font-size: .9rem; line-height: 1.85; }
.note__meta {
  margin: 10px 0 0;
  font-size: .74rem;
  color: var(--muted);
  letter-spacing: .08em;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.wall__empty {
  text-align: center;
  color: var(--muted);
  font-size: .86rem;
  margin: 0;
}
.wall__empty[hidden] { display: none; }

/* ---------- 页脚 ---------- */
.footer {
  padding: clamp(48px, 7vw, 80px) var(--gutter) clamp(40px, 5vw, 56px);
  text-align: center;
  border-top: 1px solid rgba(201, 139, 126, .16);
}
.footer__line {
  font-family: var(--font-hand);
  font-size: 1.4rem;
  color: var(--rose-deep);
  margin: 0 0 10px;
}
.footer__small { color: var(--muted); font-size: .78rem; letter-spacing: .1em; margin: 0; }

.footer__icp {
  margin: 10px 0 0;
  font-size: .72rem;
  letter-spacing: .04em;
  color: rgba(138, 122, 115, .75);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  align-items: center;
}
.footer__icp a {
  color: inherit;
  transition: color .25s var(--ease);
}
.footer__icp a:hover { color: var(--rose-deep); }

/* ---------- 10. 灯箱 ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, 2vw, 24px);
  padding: clamp(16px, 4vw, 48px);
  background: rgba(38, 30, 28, .94);
  backdrop-filter: blur(6px);
}
.lightbox[hidden] { display: none; }

.lightbox__figure { margin: 0; display: grid; justify-items: center; gap: 18px; }
.lightbox__media {
  width: min(78vw, 900px);
  max-height: 74vh;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
  background-size: cover;
  background-position: center;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5);
}
.lightbox__cap {
  color: rgba(253, 249, 245, .92);
  font-size: .92rem;
  letter-spacing: .05em;
  text-align: center;
  max-width: 60ch;
}
.lightbox__cap small { display: block; color: rgba(253, 249, 245, .5); font-size: .76rem; margin-top: 6px; letter-spacing: .14em; }

.lightbox__nav, .lightbox__close {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(253, 249, 245, .22);
  background: rgba(253, 249, 245, .06);
  color: rgba(253, 249, 245, .85);
  cursor: pointer;
  transition: background-color .25s var(--ease), border-color .25s var(--ease);
}
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(253, 249, 245, .16); border-color: rgba(253, 249, 245, .4); }
.lightbox__nav svg, .lightbox__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lightbox__close { position: absolute; top: clamp(14px, 3vw, 26px); right: clamp(14px, 3vw, 26px); }

/* ---------- 11. 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  filter: blur(6px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), filter .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; filter: none; }

@keyframes breathe {
  0%, 100% { transform: scale(1); opacity: .85; }
  50% { transform: scale(1.08); opacity: 1; }
}
@keyframes float-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
@keyframes note-in {
  from { opacity: 0; transform: translateY(14px) scale(.97); }
  to { opacity: 1; }
}

/* 花瓣粒子 */
.petal {
  position: fixed;
  top: 0; left: 0;
  width: 12px; height: 12px;
  pointer-events: none;
  z-index: 80;
  border-radius: 60% 40% 55% 45% / 55% 45% 60% 40%;
  background: radial-gradient(circle at 30% 30%, #F8DCD6, #D9A79B);
  opacity: .9;
  will-change: transform, opacity;
}
.petal--star {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle, #F3E2C6, #D3B58A);
  box-shadow: 0 0 10px rgba(211, 181, 138, .8);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; filter: none; }
  .petal { display: none; }
}

/* ---------- 12. 响应式 ---------- */
@media (max-width: 1024px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .photo:nth-child(4n + 2), .photo:nth-child(4n + 3) { aspect-ratio: 4 / 3; }
}

@media (max-width: 768px) {
  body { font-size: 15px; }
  .nav { top: 10px; padding: 7px 8px 7px 14px; gap: 2px; }
  .nav__links a { padding: 6px 10px; font-size: .78rem; }
  .nav__brand span { display: none; }

  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .photo { border-radius: 10px; }
  .photo__meta { opacity: 1; padding: 22px 10px 10px; font-size: .7rem; }

  .wall__form { grid-template-columns: 1fr; }
  .wall__form button { padding: 12px; }
  .wall__grid { columns: 1; }

  .countdowns { grid-template-columns: 1fr; }
  .countdown { gap: 14px; }
  .lightbox { grid-template-columns: 1fr; grid-template-rows: 1fr auto; }
  .lightbox__nav { position: absolute; bottom: 24px; }
  .lightbox__nav--prev { left: 18px; }
  .lightbox__nav--next { right: 18px; }
  .lightbox__media { width: 88vw; max-height: 64vh; }
}

@media (max-width: 420px) {
  .hero__title { letter-spacing: .04em; }
  .countdown__unit { gap: 4px; }
}
