:root {
  color-scheme: light;
  --ink: #14261f;
  --muted: #66736d;
  --forest-dark: #173328;
  --paper: #fffdf8;
  --wash: #f1eee4;
  --line: #d7ddd5;
  --slate: #17282c;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--wash);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(197, 155, 74, 0.12), transparent 26rem),
    radial-gradient(circle at 88% 88%, rgba(38, 76, 61, 0.14), transparent 32rem),
    linear-gradient(145deg, #f8f5ed, #eaf0e8);
}

body::before,
body::after {
  position: fixed;
  z-index: 0;
  content: "";
  pointer-events: none;
}

body::before {
  inset: auto 0 0;
  height: 24vh;
  opacity: 0.24;
  background:
    linear-gradient(135deg, transparent 48%, rgba(38, 76, 61, 0.16) 49% 58%, transparent 59%) 0 100% / 9rem 5rem repeat-x;
}

body::after {
  top: -9rem;
  right: -8rem;
  width: 20rem;
  height: 20rem;
  border: 1px solid rgba(38, 76, 61, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(38, 76, 61, 0.035), 0 0 0 6rem rgba(38, 76, 61, 0.025);
}

.construction-shell {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: clamp(1rem, 4vw, 2.5rem);
}

.construction-card {
  width: min(100%, 52rem);
  padding: clamp(1.5rem, 5vw, 3.25rem);
  overflow: hidden;
  text-align: center;
  background: rgba(255, 253, 248, 0.97);
  border: 1px solid rgba(38, 76, 61, 0.2);
  border-radius: clamp(1.35rem, 3vw, 2rem);
  box-shadow: 0 1.5rem 4rem rgba(20, 38, 31, 0.13);
}

.brand-row {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(2.75rem, 8vw, 4.75rem);
}

.brand-logo-image {
  display: block;
  width: min(100%, 23.375rem);
  height: auto;
  border-radius: 0.9rem;
  box-shadow: 0 0.55rem 1.35rem rgba(23, 40, 44, 0.18);
}

.construction-copy {
  display: grid;
  justify-items: center;
}

h1 {
  max-width: 9.5ch;
  margin: 0;
  font: 800 clamp(3rem, 9vw, 5.75rem)/0.94 Georgia, "Times New Roman", serif;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.lead {
  margin: clamp(1.4rem, 4vw, 2rem) 0 0;
  color: #3e5248;
  font-size: clamp(1.08rem, 3vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.countdown {
  margin: clamp(2.5rem, 7vw, 4rem) auto 0;
  padding: 1rem;
  color: #fff;
  text-align: left;
  background: var(--forest-dark);
  border-radius: 1.2rem;
}

.countdown-label {
  margin: 0 0 0.75rem;
  color: #dbe8df;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}

.countdown-grid div {
  padding: 0.7rem 0.35rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
}

.countdown-grid strong,
.countdown-grid span {
  display: block;
}

.countdown-grid strong {
  font-size: clamp(1.35rem, 5vw, 2rem);
}

.countdown-grid span {
  margin-top: 0.1rem;
  color: #dbe8df;
  font-size: 0.68rem;
  font-weight: 750;
  text-transform: uppercase;
}

.closing-note {
  position: relative;
  margin-top: clamp(3rem, 8vw, 5rem);
  padding-top: 1.65rem;
}

.closing-note::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(9rem, 35%);
  height: 1px;
  content: "";
  background: var(--line);
  transform: translateX(-50%);
}

.closing-note p,
.closing-note small {
  margin: 0;
}

.closing-note p {
  font: 800 clamp(1.2rem, 3vw, 1.45rem)/1.2 Georgia, "Times New Roman", serif;
}

.closing-note small {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.legal-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  color: var(--muted);
  border-top: 1px solid rgba(215, 221, 213, 0.75);
  font-size: 0.78rem;
  line-height: 1.45;
}

.legal-footer p {
  margin: 0;
}

.legal-footer p + p {
  margin-top: 0.2rem;
}

@media (max-width: 520px) {
  .construction-card {
    padding: 1.25rem 1.1rem 1.75rem;
  }

  .brand-row {
    margin-bottom: 2.6rem;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.65rem, 14vw, 4rem);
  }

  .lead {
    max-width: 18rem;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: no-preference) {
  .construction-card {
    animation: arrive 500ms ease-out both;
  }

  @keyframes arrive {
    from {
      opacity: 0;
      transform: translateY(0.75rem);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
