/* Flat Meadow: warm ivory panels, pine controls, clay accents and open space. */
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/web/fonts/marcellus.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya"; font-style: italic; font-weight: 400; font-display: swap; src: url(/web/fonts/alegreya-italic.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url(/web/fonts/alegreya-sans-400.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url(/web/fonts/alegreya-sans-500.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Alegreya Sans"; font-style: normal; font-weight: 700; font-display: swap; src: url(/web/fonts/alegreya-sans-700.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  color-scheme: light;
  --paper: #f4eedf;
  --paper-light: #fffaf0;
  --pine: #294c3b;
  --pine-dark: #19382b;
  --ink: #29382b;
  --muted: #58624d;
  --clay: #965138;
  --mint: #b6dbbd;
  --brass: #b69c66;
  --rule: #d3c7ad;
  --display: "Marcellus", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --serif: "Alegreya", "Iowan Old Style", Georgia, serif;
  --sans: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 84rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  --radius: 1rem;
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font: 1.125rem/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pine); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--clay); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--clay); outline-offset: 5px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; line-height: 1.2; text-wrap: balance; }
p { text-wrap: pretty; }

/* The approved full wordmark stays on its original pine background. */
.top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem 2rem; padding: .75rem max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); background: #091d17; color: var(--paper); border-bottom: 3px solid var(--brass); }
.home { display: block; flex: 0 1 16rem; border-radius: .5rem; }
.primary-logo { width: 16rem; height: auto; }
.top-note { font: italic 1.125rem var(--serif); color: #ddd4bc; }
.top-cta { padding: .65rem 1rem; border: 1px solid #a6bc9c; border-radius: .5rem; color: var(--paper); text-decoration: none; font-size: 1rem; }
.top-cta:hover { color: #091d17; background: var(--mint); border-color: var(--mint); }
.top a:focus-visible { outline-color: var(--mint); }

/* A broad view of the current game beside a small, useful invitation. */
.hero { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.25fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 5vw, 5rem) var(--gutter); }
.hero-copy { min-width: 0; }
.hero-copy > * + * { margin-top: 1.4rem; }
.kicker { display: flex; align-items: center; gap: .65rem; margin: 0; color: var(--pine); font-size: .875rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; }
.dot { display: inline-block; flex: 0 0 auto; width: .5rem; height: .5rem; border-radius: 50%; background: #648353; box-shadow: 0 0 0 4px rgba(100, 131, 83, .13); }
h1 { font-size: clamp(2.5rem, 3.7vw, 3.5rem); line-height: 1.09; letter-spacing: -.025em; }
h1 em { font-weight: 400; color: var(--clay); font-family: var(--serif); }
.lede { max-width: 32rem; color: var(--muted); font-size: 1.2rem; line-height: 1.55; }

/* Waiting-list behavior remains server-rendered and needs no JavaScript. */
.join { margin-top: 1.8rem; scroll-margin-top: 2rem; }
.join-form label { display: block; font-size: .875rem; font-weight: 700; color: var(--pine); margin-bottom: .45rem; }
.join-form .row { display: flex; flex-wrap: wrap; gap: .65rem; max-width: 34rem; }
.join-form input { flex: 1 1 12rem; width: 100%; min-width: 0; padding: .85rem 1rem; border: 1px solid #968c72; border-radius: .5rem; color: var(--ink); background: var(--paper-light); font: 1.0625rem var(--sans); }
.join-form input::placeholder { color: #67705e; opacity: 1; }
.join-form input:focus { outline: 3px solid rgba(41, 76, 59, .22); outline-offset: 2px; border-color: var(--pine); }
.join-form input[aria-invalid="true"] { border-color: #a33927; }
button, .button { display: inline-block; min-height: 2.75rem; padding: .9rem 1.15rem; border: 1px solid var(--pine-dark); border-radius: .5rem; background: var(--pine); color: #fffaf0; font: 700 1.0625rem var(--sans); text-align: center; text-decoration: none; cursor: pointer; box-shadow: inset 0 1px 0 rgba(255,255,255,.17), 0 3px 0 #19382b; }
button:hover, .button:hover { background: var(--pine-dark); color: #fffaf0; }
button:active, .button:active { box-shadow: inset 0 1px 0 rgba(255,255,255,.17); }
.trap { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.msg { max-width: 32rem; margin: .9rem 0 0; color: var(--muted); font-size: .875rem; line-height: 1.45; }
.msg.err { color: #983727; }
.joined { display: flex; align-items: flex-start; gap: .8rem; padding: 1.2rem; background: #e3ead6; border: 1px solid #91a57e; border-radius: .75rem; }
.joined strong { font: 1.4rem var(--display); }
.joined p { margin: .4rem 0 0; color: var(--muted); }
.flame { flex: 0 0 auto; width: .65rem; height: .65rem; margin-top: .6rem; background: var(--pine); border-radius: 50%; }

/* Blur is a presentation effect, not a concealment or access boundary.
   Captions remain sharp. There is no hover-only reveal or altered scene. */
.tease { min-width: 0; margin: 0; padding: .75rem; border: 1px solid var(--brass); border-radius: var(--radius); background: var(--paper-light); box-shadow: 0 18px 45px rgba(54, 65, 35, .12), inset 0 0 0 3px #f8f1df; }
.preview-heading { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding: .25rem .45rem .9rem; color: var(--pine); font-size: 1rem; }
.preview-heading .dot { width: .4rem; height: .4rem; }
.preview-date { margin-left: auto; font-size: .8125rem; color: var(--muted); }
.tease-frame, .glimpse-frame { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid #b4b18a; border-radius: .5rem; background: #8c985f; isolation: isolate; }
.tease-frame img, .glimpse-frame img { width: 100%; height: 100%; object-fit: cover; filter: blur(2.4px); transform: scale(1.018); }
figcaption { margin: .85rem .4rem .3rem; font-size: .875rem; line-height: 1.5; color: var(--muted); }
.tag { display: inline-block; margin-right: .35rem; color: var(--pine); font-size: .8125rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }

/* The town's daily rhythm, separated with quiet rules. */
.pillars { max-width: var(--wrap); margin: 0 auto; padding: 1rem var(--gutter) 4.5rem; }
.pillars ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; list-style: none; margin: 0; padding: 0; }
.pillars li { padding-top: 1.2rem; border-top: 2px solid #b0b48d; }
.pillars h2 { font-size: 1.4rem; }
.pillars p { margin: .75rem 0 0; font-size: 1.0625rem; color: var(--muted); }

/* Sketches and implemented captures have their own visible source labels. */
.glimpses { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 4.5rem; }
.glimpses > h2 { max-width: 44rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.section-lede { max-width: 42rem; margin: .9rem 0 2.1rem; color: var(--muted); font-size: 1.125rem; }
.glimpses ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.glimpses figure { margin: 0; }
.glimpses figcaption { margin: .8rem 0 0; }
.glimpses h3 { margin-top: .6rem; font-size: 1.5rem; }
.glimpses li p { margin: .65rem 0 0; color: var(--muted); font-size: 1.0625rem; }

.cta { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) 4rem; }
.lantern-card { display: grid; justify-items: center; padding: clamp(2rem, 5vw, 3.5rem); text-align: center; color: var(--paper-light); background: var(--pine-dark); border: 1px solid var(--brass); border-radius: var(--radius); box-shadow: inset 0 0 0 5px var(--pine-dark), inset 0 0 0 6px #738268; }
.lantern-card h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.lantern-card p { max-width: 35rem; margin: 1rem 0 1.5rem; color: #dfdfc9; }
.lantern-card p:last-child { margin-bottom: 0; }
.lantern-card .button { background: var(--paper); color: var(--pine-dark); border-color: var(--paper); box-shadow: 0 3px 0 #b0b48d; }
.lantern-card .button:hover { background: #dce8cc; }
.lantern-card .button:focus-visible { outline-color: var(--mint); }
footer { max-width: var(--wrap); margin: 0 auto; padding: 1.5rem var(--gutter) 2rem; border-top: 1px solid var(--rule); color: var(--muted); font-size: .9375rem; }
footer p { margin: 0; }
footer .fine { margin-top: .4rem; font-size: .875rem; }
.lost { grid-template-columns: minmax(0, 1fr); min-height: 55vh; }

@media (max-width: 68rem) {
  .hero { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2rem; }
  .top-note { display: none; }
  .pillars ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .join-form .row { flex-direction: column; }
  .join-form input { flex-basis: auto; }
}
@media (max-width: 52rem) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 2.5rem; }
  .hero-copy { max-width: 38rem; }
  h1 { font-size: clamp(2.4rem, 6vw, 3.5rem); }
  .join-form .row { flex-direction: row; }
  .join-form input { flex-basis: 12rem; }
  .glimpses ul { grid-template-columns: minmax(0, 1fr); gap: 2.2rem; }
  .glimpses li { max-width: 42rem; }
}
@media (max-width: 36rem) {
  .top { gap: .5rem; }
  .home { flex-basis: 10rem; }
  .primary-logo { width: 10rem; }
  .top-cta { padding: .6rem .7rem; font-size: .875rem; }
  .hero, .pillars, .glimpses { padding-bottom: 3rem; }
  .join-form .row { flex-direction: column; }
  .join-form input { flex-basis: auto; }
  .pillars ul { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .preview-date { display: none; }
  .tease { padding: .55rem; }
  .preview-heading { font-size: .9375rem; }
  .tease-frame img, .glimpse-frame img { filter: blur(1.6px); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
