@font-face {
  font-family: "Alfa Slab One";
  src: url("/fonts/alfa-slab-one-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("/fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --felt: #15294d;
  --felt-hi: #1f3b6c;
  --gold: #e9b93b;
  --cream: #f4ead0;
  --display: "Alfa Slab One", Rockwell, "Roboto Slab", Georgia, serif;
  --text: "Atkinson Hyperlegible", "Segoe UI", Verdana, sans-serif;
}

* { box-sizing: border-box; }

html { background: var(--felt); }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--felt);
  color: var(--cream);
  font-family: var(--text);
  font-size: 1.25rem;
  line-height: 1.6;
}

.stage {
  flex: 1;
  width: 100%;
  max-width: 70rem;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.5rem) 1.5rem 1rem;
  display: grid;
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
  align-content: center;
}

.patch {
  width: min(78vw, 22rem);
  height: auto;
  justify-self: start;
}
.patch .disc { fill: var(--felt-hi); }
.patch .rim { fill: none; stroke: var(--gold); stroke-width: 10; }
.patch .thread {
  fill: none;
  stroke: var(--cream);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 11 9;
}

.sew { stroke-dashoffset: 0; animation: sew 1.8s ease-out 0.3s both; }
@keyframes sew { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.9rem, 10.5vw, 5.3rem);
  line-height: 1.03;
  letter-spacing: 0.005em;
  color: var(--cream);
}

.event {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.7rem, 5.4vw, 3rem);
  line-height: 1.1;
  color: var(--gold);
}

.date {
  margin: clamp(1.25rem, 3.5vw, 2rem) 0 0;
  font-weight: 700;
  font-size: clamp(1.45rem, 4.2vw, 2.1rem);
  line-height: 1.25;
}
.date .label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.62em;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.soon {
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  padding-top: 1.25rem;
  border-top: 4px solid var(--gold);
  display: inline-block;
  font-weight: 700;
  font-size: clamp(1.45rem, 3.6vw, 1.9rem);
  line-height: 1.25;
}

.note { margin: 0.5rem 0 0; max-width: 32rem; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.25rem 2rem;
  padding: 1.25rem 1.5rem 1.75rem;
  max-width: 70rem;
  width: 100%;
  margin: 0 auto;
  font-size: 1rem;
  color: rgba(244, 234, 208, 0.78);
}

@media (min-width: 52rem) {
  .stage { grid-template-columns: 1.15fr 1fr; }
  .words { order: 1; }
  h1 { font-size: clamp(2.9rem, 7.8vw, 5.3rem); }
  .patch { order: 2; width: min(100%, 28rem); justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  .sew { animation: none; }
}
