/* ============================================================
   Cynthia Guest House — Coming Soon
   ============================================================ */

:root {
  --sun: #ffc61e;
  --sun-soft: #ffd964;
  --sun-deep: #e8a900;

  --ink: #07080d;
  --night: #0b0d14;
  --night-2: #12151f;

  --text: #f4f1ea;
  --muted: rgba(244, 241, 234, 0.62);
  --line: rgba(244, 241, 234, 0.12);

  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(255, 255, 255, 0.08);

  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.85);
  --radius: 10px;

  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, serif;
  --script: "Parisienne", cursive;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  color: var(--text);
  background: var(--night);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-loading {
  overflow: hidden;
}

img,
svg,
canvas {
  display: block;
  max-width: 100%;
}

::selection {
  background: var(--sun);
  color: var(--ink);
}

/* ------------------------------------------------------------
   Preloader
   ------------------------------------------------------------ */
.preloader {
  --progress: 0;
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background:
    radial-gradient(90% 70% at 50% 42%, #15171f 0%, transparent 62%),
    linear-gradient(180deg, #0a0c12 0%, #07080d 100%);
  transition: opacity 0.6s var(--ease);
}

/* matching film grain so the panel shares the page's texture */
.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

.preloader-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(26px, 4vh, 40px);
  transition: opacity 0.5s var(--ease), transform 0.7s var(--ease), filter 0.5s var(--ease);
}

/* the logo itself is the progress indicator: a dim ghost that fills in */
.preloader-mark {
  position: relative;
  width: clamp(190px, 30vw, 260px);
  aspect-ratio: 557 / 354;
}

.preloader-mark img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.mark-ghost {
  opacity: 0.14;
  filter: grayscale(1);
  transition: opacity 0.45s var(--ease);
}

.mark-fill {
  clip-path: inset(0 calc(100% - (var(--progress) * 1%)) 0 0);
  filter: drop-shadow(0 10px 34px rgba(0, 0, 0, 0.75));
  transition: clip-path 0.4s var(--ease);
}

/* soft light riding the fill edge */
.mark-sheen {
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: calc(var(--progress) * 1%);
  width: 90px;
  margin-left: -45px;
  background: radial-gradient(ellipse at center, rgba(255, 214, 110, 0.32), transparent 70%);
  filter: blur(10px);
  opacity: calc(1 - (var(--progress) / 140));
  transition: left 0.4s var(--ease), opacity 0.45s var(--ease);
  pointer-events: none;
}

.preloader-bar {
  width: clamp(190px, 30vw, 260px);
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.preloader-track {
  position: relative;
  height: 1px;
  border-radius: 1px;
  background: rgba(255, 255, 255, 0.11);
  overflow: hidden;
}

.preloader-fill {
  position: absolute;
  inset: 0;
  transform-origin: left center;
  transform: scaleX(calc(var(--progress) / 100));
  background: linear-gradient(90deg, var(--sun-deep), var(--sun) 45%, var(--sun-soft));
  box-shadow: 0 0 14px rgba(255, 198, 30, 0.8);
  transition: transform 0.4s var(--ease);
}

.preloader-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 9px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.meta-label {
  color: rgba(244, 241, 234, 0.42);
  animation: dim 2.4s ease-in-out infinite;
}

.meta-count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  color: var(--sun);
}

/* completed state: the mark settles to full colour and glows once */
.preloader.done .mark-ghost,
.preloader.done .mark-sheen {
  opacity: 0;
}

.preloader.done .preloader-inner {
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  filter: blur(6px);
  transition-delay: 0.22s;
}

/* the whole panel lifts away to reveal the page */
.preloader.done {
  opacity: 0;
  transform: translateY(-101%);
  pointer-events: none;
  transition:
    transform 0.95s var(--ease) 0.2s,
    opacity 0.95s var(--ease) 0.2s;
}

.preloader.hidden {
  display: none;
}

@keyframes dim {

  0%,
  100% {
    opacity: 0.45;
  }

  50% {
    opacity: 1;
  }
}

/* ------------------------------------------------------------
   Ambient scenery
   ------------------------------------------------------------ */
.scenery {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, #1d2130 0%, transparent 58%),
    radial-gradient(90% 70% at 10% 100%, #15131b 0%, transparent 60%),
    linear-gradient(180deg, #0a0c13 0%, #0b0d14 45%, #07080d 100%);
}

.photo {
  position: absolute;
  inset: -2%;
  background: url("assets/background.jpg") center 60% / cover no-repeat;
  opacity: 0.16;
  filter: saturate(0.6) contrast(1.05) brightness(0.72) blur(1px);
  mask-image: linear-gradient(180deg, transparent 8%, #000 58%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 8%, #000 58%, #000 100%);
  transform: scale(1.06) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 1.2s var(--ease);
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
}

.aurora-a {
  width: 46vw;
  height: 46vw;
  left: -12vw;
  top: 18vh;
  background: radial-gradient(circle, rgba(255, 198, 30, 0.3), transparent 65%);
  animation: drift 22s ease-in-out infinite;
}

.aurora-b {
  width: 38vw;
  height: 38vw;
  right: 6vw;
  bottom: -14vh;
  background: radial-gradient(circle, rgba(120, 160, 255, 0.22), transparent 65%);
  animation: drift 28s ease-in-out infinite reverse;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.045;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

@keyframes drift {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(4vw, -3vh, 0);
  }
}

/* ------------------------------------------------------------
   Layout shell
   ------------------------------------------------------------ */
.shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 5vh, 64px);
  padding: clamp(20px, 3.2vw, 44px) clamp(20px, 5vw, 76px);
  max-width: 1440px;
  margin-inline: auto;
}

/* ------------------------------------------------------------
   Topbar
   ------------------------------------------------------------ */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  transition: transform 0.45s var(--ease);
}

/* warm halo so the mark sits on the night sky instead of floating on it */
.brand::before {
  content: "";
  position: absolute;
  left: 4%;
  top: 50%;
  width: 62%;
  aspect-ratio: 1;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 198, 30, 0.3), transparent 68%);
  filter: blur(22px);
  opacity: 0;
  transition: opacity 0.55s var(--ease);
  pointer-events: none;
}

.brand:hover {
  transform: translateY(-2px);
}

.brand:hover::before {
  opacity: 1;
}

.brand-logo {
  position: relative;
  width: auto;
  height: clamp(46px, 5.4vw, 64px);
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.7));
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ghost-link {
  color: var(--text);
  text-decoration: none;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--line);
  transition: border-color 0.35s var(--ease), color 0.35s var(--ease);
}

.ghost-link:hover {
  color: var(--sun);
  border-color: var(--sun);
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding-block: clamp(12px, 4vh, 48px);
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 22px;
}

.title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.9rem, 6.4vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.title-line > * {
  display: block;
}

.title-accent {
  font-family: var(--script);
  font-weight: 400;
  color: var(--sun);
  font-size: 1.06em;
  padding-block: 0.06em;
}

.lede {
  max-width: 52ch;
  margin-top: 22px;
  font-size: clamp(0.95rem, 1.05vw, 1.06rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--muted);
}

/* Countdown -------------------------------------------------- */
.countdown {
  display: flex;
  align-items: flex-start;
  gap: clamp(8px, 1.6vw, 22px);
  margin-top: clamp(30px, 4vh, 46px);
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.ring {
  --p: 0;
  position: relative;
  width: clamp(72px, 8.4vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    conic-gradient(var(--sun) calc(var(--p) * 1%), rgba(255, 255, 255, 0.07) 0);
  transition: background 0.6s linear;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.value {
  position: relative;
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: clamp(1.45rem, 2.5vw, 2.15rem);
  letter-spacing: -0.02em;
}

.value.tick {
  animation: tick 0.45s var(--ease);
}

@keyframes tick {
  0% {
    opacity: 0;
    transform: translateY(-38%) scale(0.92);
    filter: blur(3px);
  }

  100% {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

.label {
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.sep {
  font-size: clamp(1.1rem, 2vw, 1.7rem);
  color: rgba(244, 241, 234, 0.22);
  margin-top: clamp(20px, 2.6vw, 32px);
}

.launch-date {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.launch-date time {
  color: var(--text);
}

/* Notify form ------------------------------------------------ */
.notify {
  position: relative;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  max-width: 540px;
}

.field {
  position: relative;
  flex: 1 1 260px;
}

.field input {
  width: 100%;
  padding: 19px 20px 13px;
  font: inherit;
  font-size: 14.5px;
  color: var(--text);
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: 14px;
  outline: none;
  backdrop-filter: blur(14px);
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.field input::placeholder {
  color: transparent;
}

.field label {
  position: absolute;
  left: 21px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.28s var(--ease);
}

.field input:focus,
.field input:not(:placeholder-shown) {
  border-color: rgba(255, 198, 30, 0.55);
  background: var(--glass-strong);
}

.field input:focus {
  box-shadow: 0 0 0 4px rgba(255, 198, 30, 0.12);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 11px;
  transform: none;
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sun);
}

.notify button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 26px;
  min-height: 54px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--sun-soft), var(--sun) 55%, var(--sun-deep));
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  box-shadow: 0 14px 34px -14px rgba(255, 198, 30, 0.7);
}

.notify button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s var(--ease);
}

.notify button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 20px 44px -16px rgba(255, 198, 30, 0.8);
}

.notify button:hover svg {
  transform: translateX(4px);
}

.notify button:active {
  transform: translateY(0);
}

.notify button[disabled] {
  opacity: 0.65;
  cursor: default;
  transform: none;
}

.form-note {
  flex: 1 0 100%;
  min-height: 18px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.form-note.show {
  opacity: 1;
  transform: none;
}

.form-note.ok {
  color: #8ef0b0;
}

.form-note.err {
  color: #ff9a8b;
}

/* ------------------------------------------------------------
   Signboard
   ------------------------------------------------------------ */
.showcase {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}

.frame {
  position: relative;
  width: 100%;
  isolation: isolate;
}

/* warm light pooling behind the frame */
.frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 116%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 168, 30, 0.26), transparent 62%);
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
}

.frame-media {
  position: relative;
  aspect-ratio: 4 / 4.6;
  border-radius: 10px;
  overflow: hidden;
  background: #120e09;
  box-shadow:
    0 0 0 1px rgba(255, 198, 30, 0.22),
    0 0 0 8px rgba(255, 255, 255, 0.035),
    0 50px 100px -38px rgba(0, 0, 0, 0.95);
  animation: float 8s ease-in-out infinite;
}

.frame-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 62%;
  /* lift the shadows and warm the candlelight without blowing out highlights */
  filter: brightness(1.06) contrast(1.1) saturate(1.06);
  transform-origin: 60% 60%;
  animation: kenburns 26s ease-in-out infinite alternate;
  transition: filter 0.6s var(--ease);
}

/* vignette + base gradient so the caption stays legible */
.frame-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(8, 6, 4, 0.92) 0%, rgba(8, 6, 4, 0.45) 26%, transparent 52%),
    radial-gradient(120% 90% at 50% 40%, transparent 42%, rgba(8, 6, 4, 0.55) 100%);
}

/* glass glare sweeping across the print */
.glare {
  position: absolute;
  inset: -20%;
  background: linear-gradient(104deg, transparent 38%, rgba(255, 240, 200, 0.16) 48%, rgba(255, 255, 255, 0.05) 52%, transparent 62%);
  transform: translateX(-120%);
  animation: sheen 11s ease-in-out infinite;
  animation-delay: 2.4s;
  pointer-events: none;
}

.frame-caption {
  position: absolute;
  left: clamp(20px, 2.4vw, 30px);
  bottom: clamp(20px, 2.4vw, 30px);
  right: clamp(20px, 2.4vw, 30px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.cap-eyebrow {
  font-size: 9.5px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--sun);
}

.cap-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

/* logo seal riding the top corner of the print */
.frame-badge {
  position: absolute;
  z-index: 3;
  top: clamp(-14px, -1vw, -10px);
  right: clamp(16px, 2vw, 26px);
  padding: 10px 16px;
  border-radius: 10px;
  background: linear-gradient(170deg, #fffdf6, #f3eee1);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 20px 40px -18px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 198, 30, 0.25);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.frame-badge img {
  width: clamp(88px, 10vw, 118px);
  height: auto;
}

.frame:hover .frame-media img {
  filter: brightness(1.12) contrast(1.12) saturate(1.12);
}

.frame:hover .frame-badge {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.85) inset,
    0 26px 50px -18px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(255, 198, 30, 0.6);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.12);
  }
}

@keyframes sheen {

  0%,
  70% {
    transform: translateX(-120%);
  }

  94%,
  100% {
    transform: translateX(120%);
  }
}

.stats {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 18px clamp(18px, 2vw, 26px);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(18px);
}

.stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}

.stats strong {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  font-weight: 600;
  color: var(--sun);
}

.stats span {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.5;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.footerbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.copy {
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: all 0.35s var(--ease);
}

.socials a:hover {
  color: var(--ink);
  background: var(--sun);
  border-color: var(--sun);
  transform: translateY(-2px);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ------------------------------------------------------------
   Entrance animation
   ------------------------------------------------------------ */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

[data-reveal].in {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-block: 8px;
  }

  .showcase {
    max-width: 560px;
    margin-inline: auto;
  }

  .frame-media {
    aspect-ratio: 4 / 3.2;
  }
}

@media (max-width: 720px) {
  .shell {
    gap: 30px;
  }

  .countdown {
    gap: 6px;
  }

  .sep {
    display: none;
  }

  .ring {
    width: clamp(62px, 19vw, 86px);
  }

  .notify button {
    flex: 1 1 100%;
    justify-content: center;
  }

  /* three cramped columns become a legible divided list */
  .stats {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 4px clamp(18px, 4.5vw, 24px);
  }

  .stats div {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .stats div:last-child {
    border-bottom: 0;
  }

  .stats span {
    order: 1;
    font-size: 10.5px;
    letter-spacing: 0.13em;
    line-height: 1.35;
  }

  .stats strong {
    order: 2;
    flex: 0 0 auto;
    font-size: 1.15rem;
    letter-spacing: 0.01em;
  }

  .footerbar {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-items: center;
  }
}

/* ------------------------------------------------------------
   Accessibility
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
  border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
