/* Fonts are stored in assets/fonts, so nothing loads from outside this site. */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/playfair-400.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/playfair-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/lato-400.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/lato-700.woff2") format("woff2"); }

:root {
  --green: #0A3F2B;
  --green-2: #0F5B3E;
  --gold: #D4AF37;
  --cream: #F7F2E8;
  --cream-dim: rgba(247, 242, 232, .72);
  --line: rgba(212, 175, 55, .35);
}
* { box-sizing: border-box; margin: 0; }
html, body { height: 100%; }
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background:
    radial-gradient(ellipse at 50% 0%, var(--green-2) 0%, transparent 65%),
    var(--green);
  color: var(--cream);
  font-family: "Lato", system-ui, sans-serif;
  text-align: center;
}
.frame {
  width: 100%;
  max-width: 720px;
  padding: 56px 32px;
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(212, 175, 55, .15);
  border-radius: 3px;
  pointer-events: none;
}
.logo { width: 180px; height: auto; display: block; margin: 0 auto 40px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(34px, 6vw, 56px);
  line-height: 1.15;
}
h1 em { font-style: italic; color: var(--gold); }
.lede {
  max-width: 30em;
  margin: 18px auto 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--cream-dim);
}
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 480px;
  margin: 44px auto 0;
  list-style: none;
  padding: 0;
}
.countdown li {
  padding: 18px 6px 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 242, 232, .04);
}
.num {
  display: block;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.label {
  display: block;
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--cream-dim);
}
.when { margin-top: 22px; font-size: 14px; color: var(--cream-dim); }
.live { display: none; margin-top: 44px; font-family: "Playfair Display", Georgia, serif; font-size: 24px; color: var(--gold); }
.is-live .countdown, .is-live .when { display: none; }
.is-live .live { display: block; }
footer { margin-top: 32px; font-size: 12px; color: rgba(247, 242, 232, .5); line-height: 1.6; }
@media (max-width: 420px) {
  .frame { padding: 44px 18px; }
  .countdown { gap: 8px; }
  .label { font-size: 10px; letter-spacing: .12em; }
}
