/* ═══════════════════════════════════════════════════════════════
   Pati & Gabi — Cronômetro do casamento
   Estilo: Rosé nude cinematográfico
   ═══════════════════════════════════════════════════════════════ */

:root {
  --bg-start: #d9a897;
  --bg-mid:   #c38e7e;
  --bg-end:   #a56f63;
  --bg-dark:  #7d4f46;

  --text:           #fdf5ee;
  --text-highlight: #fff4e8;
  --text-muted:     rgba(253, 245, 238, 0.62);
  --text-dim:       rgba(253, 245, 238, 0.38);
  --divider:        rgba(253, 245, 238, 0.18);

  --serif: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-content: 1120px;
  --max-narrow:  720px;
  --radius:      14px;
  --ease:        cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: linear-gradient(180deg, var(--bg-start) 0%, var(--bg-end) 60%, var(--bg-dark) 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 80px;
  overflow: hidden;
}

.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: saturate(0.85) contrast(1.05);
  transform: scale(1.04);
  transition: transform 20s linear;
}
.hero.is-loaded .hero__photo { transform: scale(1.08); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(217, 168, 151, 0.28) 0%,
      rgba(195, 142, 126, 0.36) 55%,
      rgba(125, 79, 70, 0.60) 100%),
    linear-gradient(135deg,
      rgba(217, 168, 151, 0.18) 0%,
      rgba(165, 111, 99, 0.10) 100%);
  mix-blend-mode: multiply;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vw, 36px);
}

.hero__names {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(14px, 2.2vw, 18px);
  letter-spacing: clamp(6px, 1.2vw, 12px);
  color: var(--text-highlight);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.3s forwards;
}

.countdown {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(8px, 1.5vw, 18px);
  color: var(--text-highlight);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 0.7s forwards;
}

.countdown__block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: clamp(56px, 11vw, 130px);
}

.countdown__num {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(42px, 9vw, 96px);
  line-height: 0.95;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  color: var(--text-highlight);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.countdown__block--seconds .countdown__num {
  transition: transform 80ms var(--ease);
}
.countdown__block--seconds.is-tick .countdown__num {
  transform: scale(1.04);
}

.countdown__label {
  font-family: var(--sans);
  font-size: clamp(9px, 1.1vw, 11px);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: clamp(8px, 1.5vw, 14px);
}

.countdown__sep {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(36px, 8vw, 80px);
  line-height: 0.95;
  color: var(--text-dim);
  padding-top: clamp(2px, 0.4vw, 6px);
}

.hero__date {
  font-family: var(--sans);
  font-size: clamp(11px, 1.3vw, 14px);
  letter-spacing: clamp(6px, 1vw, 10px);
  color: var(--text-muted);
  margin-top: clamp(10px, 2vw, 20px);
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.1s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 56px;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1.6s forwards;
}
.hero__scroll-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--text-muted));
  transform-origin: top;
  animation: scrollHint 2.2s ease-in-out infinite;
}

@keyframes scrollHint {
  0%, 100% { transform: scaleY(0.2); opacity: 0.3; }
  50%      { transform: scaleY(1);   opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════════════════════
   SEÇÕES genéricas
   ═══════════════════════════════════════════════════════════════ */

.section {
  padding: clamp(80px, 12vw, 140px) 24px;
  position: relative;
}

.section__inner {
  max-width: var(--max-content);
  margin: 0 auto;
}
.section__inner--narrow { max-width: var(--max-narrow); }

.section__eyebrow {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: -0.01em;
  color: var(--text-highlight);
  margin-bottom: clamp(32px, 5vw, 56px);
  line-height: 1.1;
}

.section__title em {
  font-style: italic;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   HISTÓRIA
   ═══════════════════════════════════════════════════════════════ */

.section--historia {
  background: linear-gradient(180deg, transparent 0%, rgba(125, 79, 70, 0.2) 100%);
}

.historia__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.historia__photos {
  position: relative;
  aspect-ratio: 4/5;
}

.historia__photo {
  position: absolute;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}
.historia__photo--1 {
  inset: 0 28% 28% 0;
  z-index: 2;
}
.historia__photo--2 {
  inset: 28% 0 0 28%;
  z-index: 1;
  opacity: 0.9;
}

.historia__text p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.75;
  color: var(--text);
  font-weight: 300;
}
.historia__text p::first-letter {
  font-size: 3.2em;
  line-height: 0.85;
  float: left;
  margin: 0.1em 0.1em 0 -0.04em;
  font-weight: 400;
  color: var(--text-highlight);
}

/* ═══════════════════════════════════════════════════════════════
   LOCAL
   ═══════════════════════════════════════════════════════════════ */

.section--local {
  text-align: center;
}

.local__card {
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid var(--divider);
  border-radius: var(--radius);
  background: rgba(253, 245, 238, 0.04);
  backdrop-filter: blur(6px);
  margin-bottom: clamp(28px, 4vw, 40px);
}

.local__nome {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-highlight);
  margin-bottom: 8px;
  font-weight: 400;
}

.local__cidade {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.local__divider {
  width: 40px;
  height: 1px;
  background: var(--divider);
  margin: 24px auto;
}

.local__quando {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--text);
}

.local__map {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  margin-bottom: 20px;
  filter: saturate(0.7) sepia(0.18) hue-rotate(-5deg);
}
.local__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.local__hint {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 1px;
}
.local__hint a {
  border-bottom: 1px solid var(--divider);
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}
.local__hint a:hover {
  color: var(--text-highlight);
  border-color: var(--text-highlight);
}

/* ═══════════════════════════════════════════════════════════════
   FAMÍLIA — Pixtache e Geleia
   ═══════════════════════════════════════════════════════════════ */

.section--familia {
  background: linear-gradient(180deg, transparent 0%, rgba(125, 79, 70, 0.15) 100%);
}

.familia__intro {
  max-width: 640px;
  margin-bottom: clamp(40px, 5vw, 64px);
  padding-left: clamp(18px, 2.2vw, 28px);
  border-left: 1px solid var(--divider);
}
.familia__intro p {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 20px);
  font-weight: 300;
  line-height: 1.75;
  color: var(--text);
  font-style: italic;
  margin-bottom: 14px;
}
.familia__intro em {
  font-style: normal;
  color: var(--text-highlight);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.familia__paws {
  font-style: normal;
  white-space: nowrap;
  margin-left: 4px;
}
.familia__cite {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.familia__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.familia__item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
  aspect-ratio: 3 / 4;
}
.familia__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
  filter: saturate(0.95);
}
.familia__item:hover img {
  transform: scale(1.04);
  filter: saturate(1.1);
}
.familia__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(125, 79, 70, 0.22), transparent 40%);
  pointer-events: none;
}

/* Destaque nos dois primeiros itens (fotos dos três juntos) */
.familia__item--feature {
  grid-column: span 3;
  aspect-ratio: 4 / 3;
}
.familia__item--tall {
  grid-column: span 2;
  aspect-ratio: 3 / 5;
}
.familia__item--square {
  grid-column: span 2;
  aspect-ratio: 1 / 1;
}

@media (max-width: 900px) {
  .familia__grid { grid-template-columns: repeat(4, 1fr); }
  .familia__item--feature { grid-column: span 4; aspect-ratio: 4 / 3; }
  .familia__item--tall    { grid-column: span 2; aspect-ratio: 3 / 4; }
  .familia__item--square  { grid-column: span 2; }
}

@media (max-width: 600px) {
  .familia__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .familia__item          { grid-column: span 1; aspect-ratio: 3 / 4; }
  .familia__item--feature { grid-column: span 2; aspect-ratio: 4 / 3; }
  .familia__item--tall    { grid-column: span 1; aspect-ratio: 3 / 4; }
  .familia__item--square  { grid-column: span 1; aspect-ratio: 1 / 1; }
}

/* ═══════════════════════════════════════════════════════════════
   GALERIA
   ═══════════════════════════════════════════════════════════════ */

.galeria__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.galeria__item {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
}
.galeria__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.4s;
  filter: saturate(0.92);
}
.galeria__item:hover img {
  transform: scale(1.05);
  filter: saturate(1.1);
}
.galeria__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(125, 79, 70, 0.2), transparent 40%);
  pointer-events: none;
}

/* Alguns itens mais altos para quebrar o grid */
.galeria__item:nth-child(4n+1) { aspect-ratio: 3 / 4; }
.galeria__item:nth-child(7n+3) { aspect-ratio: 4 / 5; }

/* ═══════════════════════════════════════════════════════════════
   PLAYER OCULTO + BOTÃO DE MÚSICA FLUTUANTE
   ═══════════════════════════════════════════════════════════════ */

.music-hidden {
  position: fixed;
  width: 1px;
  height: 1px;
  bottom: 0;
  right: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.music-hidden iframe {
  width: 1px;
  height: 1px;
  border: 0;
}

.music-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 14px;
  background: rgba(125, 79, 70, 0.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--divider);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(40, 18, 22, 0.35);
  transition: background-color 0.25s var(--ease), transform 0.25s var(--ease), color 0.25s;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.8s forwards;
}

.music-toggle:hover {
  background: rgba(125, 79, 70, 0.9);
  transform: translateY(-2px);
  color: var(--text-highlight);
}

.music-toggle:active { transform: translateY(0); }

.music-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Alterna entre os dois ícones pelo estado aria-pressed */
.music-toggle .music-icon--on  { display: none; }
.music-toggle .music-icon--off { display: block; }
.music-toggle[aria-pressed="true"]  .music-icon--on  { display: block; }
.music-toggle[aria-pressed="true"]  .music-icon--off { display: none; }

.music-toggle[aria-pressed="true"] {
  background: rgba(217, 168, 151, 0.22);
  color: var(--text-highlight);
}
.music-toggle[aria-pressed="true"]:hover {
  background: rgba(217, 168, 151, 0.35);
}

@media (max-width: 480px) {
  .music-toggle {
    padding: 10px 14px 10px 12px;
    font-size: 10px;
    letter-spacing: 2px;
    bottom: 16px;
    right: 16px;
  }
  .music-toggle__label { display: none; }
  .music-icon { width: 20px; height: 20px; }
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */

.footer {
  padding: 60px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--divider);
  background: rgba(125, 79, 70, 0.5);
}

.footer__date {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--text);
  margin-bottom: 10px;
}

.footer__signature {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer__signature em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  text-transform: none;
  letter-spacing: 2px;
  color: var(--text-highlight);
}

/* ═══════════════════════════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(40, 18, 22, 0.92);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeIn 0.3s var(--ease);
}
.lightbox.is-open {
  display: flex;
}

.lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.4s var(--ease);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 40px;
  color: var(--text);
  opacity: 0.7;
  font-weight: 200;
  line-height: 1;
  padding: 8px 16px;
  transition: opacity 0.2s;
}
.lightbox__close:hover { opacity: 1; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ═══════════════════════════════════════════════════════════════
   CELEBRAÇÃO — dia/hora do casamento
   ═══════════════════════════════════════════════════════════════ */

.celebration {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: #3d1824;   /* fallback até a foto carregar */
  overflow: hidden;
  transition: opacity 0.8s var(--ease), visibility 0s 0.8s linear;
}
.celebration.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.8s var(--ease), visibility 0s linear;
}

.celebration__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.05);
  animation: celebZoom 40s ease-in-out infinite alternate;
}
.celebration__tint {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(165, 111, 99, 0.35) 0%, rgba(40, 18, 22, 0.82) 85%),
    linear-gradient(180deg, rgba(217, 168, 151, 0.25) 0%, rgba(40, 18, 22, 0.65) 55%, rgba(20, 10, 14, 0.9) 100%);
  mix-blend-mode: multiply;
}

@keyframes celebZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.18); }
}

.celebration__inner {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 100vw;
}

.celebration__eyebrow {
  font-family: var(--sans);
  font-size: clamp(10px, 1.2vw, 13px);
  letter-spacing: clamp(6px, 1vw, 10px);
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: clamp(14px, 2.5vw, 28px);
  opacity: 0;
  animation: celebFade 0.8s var(--ease) 0.2s forwards;
}

.celebration__word {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 15vw, 200px);
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text-highlight);
  white-space: nowrap;
}

.celebration__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(60px) scale(0.7) rotate(-8deg);
  animation: letterDrop 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  text-shadow:
    0 6px 30px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(232, 196, 168, 0.45),
    0 0 80px rgba(232, 196, 168, 0.2);
}

.celebration__emojis {
  display: flex;
  gap: clamp(16px, 3vw, 30px);
  justify-content: center;
  margin-top: clamp(20px, 3vw, 32px);
  font-size: clamp(36px, 7vw, 72px);
  line-height: 1;
}

.celebration__emoji {
  display: inline-block;
  opacity: 0;
  transform: scale(0) rotate(-30deg);
  animation: emojiPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.4));
}
.celebration__emoji--1 { animation-delay: 1.8s; }
.celebration__emoji--2 { animation-delay: 2.0s; }
.celebration__emoji--3 { animation-delay: 2.2s; }

.celebration__names {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--text-highlight);
  margin-top: clamp(20px, 3vw, 32px);
  letter-spacing: 0.02em;
  opacity: 0;
  animation: celebFade 1s var(--ease) 2.6s forwards;
}

@keyframes letterDrop {
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0);
  }
}

@keyframes emojiPop {
  0%   { opacity: 0; transform: scale(0)    rotate(-30deg); }
  60%  { opacity: 1; transform: scale(1.25) rotate(12deg); }
  100% { opacity: 1; transform: scale(1)    rotate(0); }
}

@keyframes celebFade {
  to { opacity: 1; }
}

/* Esconde o botão de música durante o show */
.music-toggle.is-muted-for-show {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s var(--ease);
}

/* Hero "congelado" após a celebração iniciar (só estética caso o usuário
   role para ver o conteúdo por trás do overlay). */
.hero.is-celebrating .hero__scroll { display: none; }

@media (prefers-reduced-motion: reduce) {
  .celebration__letter,
  .celebration__emoji,
  .celebration__names,
  .celebration__eyebrow {
    animation-duration: 0.1s !important;
    animation-delay: 0s !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   REVEAL animation (scroll)
   ═══════════════════════════════════════════════════════════════ */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVO — tablet e mobile
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  .historia__grid { grid-template-columns: 1fr; }
  .historia__photos { max-width: 420px; margin: 0 auto; }

  .countdown__block { min-width: 62px; }
  .countdown__sep   { font-size: clamp(30px, 8vw, 48px); }
}

@media (max-width: 600px) {
  .section { padding: 80px 20px; }

  .galeria__grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .galeria__item:nth-child(4n+1) { aspect-ratio: 1 / 1; }
  .galeria__item:nth-child(7n+3) { aspect-ratio: 1 / 1; }

  .countdown { gap: 4px; }
  .countdown__sep { padding-top: 0; font-size: 32px; }
  .countdown__block { min-width: 50px; }
  .countdown__label { font-size: 9px; letter-spacing: 2px; }
}

@media (max-width: 380px) {
  .countdown__num { font-size: 38px; }
  .hero__names { letter-spacing: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero__scroll-line { animation: none; opacity: 0.5; transform: scaleY(1); }
}
