@font-face{font-family:"Lexend";font-style:normal;font-weight:400;font-display:swap;src:url(fonts/lexend-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Lexend";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/lexend-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Lexend";font-style:normal;font-weight:700;font-display:swap;src:url(fonts/lexend-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Lexend";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/lexend-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Bodoni Moda";font-style:normal;font-weight:600;font-display:swap;src:url(fonts/bodoni-moda-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Bodoni Moda";font-style:normal;font-weight:800;font-display:swap;src:url(fonts/bodoni-moda-latin-800-normal.woff2) format("woff2")}
@font-face{font-family:"Bodoni Moda";font-style:normal;font-weight:900;font-display:swap;src:url(fonts/bodoni-moda-latin-900-normal.woff2) format("woff2")}
/* glazesmith.galixstudios.com - the kiln-lit atelier (round 11 P7, 3 Nov 2026). The same tokens as the game (src/app.css).
   No script runs on this site: every motion is CSS, plays once (or follows the scroll), and stops for reduced motion. */
:root {
  --night: #0b1330; --night-2: #101b42; --panel: #17264f; --line: #2c3d72;
  --ink: #f4efe4; --ink-soft: #b7c0dc; --gold: #d9a441; --kiln: #f2b84b; --ember: #ff8a3d;
  --lime: #ece8e0; --lime-2: #e3ddd1; --lime-ink: #13265e; --lime-soft: #46527a; --lime-line: #cdc4b2;
  --tin: #f4efe4; --tin-ink: #173a8c; --deep: #1d3f9e; --on-deep: #fbf7ee; --saffron-ink: #2a1a00;
  --f-daily: #1d3f9e; --f-exhibit: #e0a11e; --f-restore: #0f6a66; --f-street: #9a3b23; --f-endless: #6c3a88; --f-classic: #1f6a47;
  --display: "Bodoni Moda", "Didot", Georgia, serif; --ui: "Lexend", system-ui, sans-serif;
  --gut: clamp(16px, 5vw, 48px); --max: 1180px; --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--night); color: var(--ink); font: 400 1.0625rem/1.65 var(--ui); overflow-x: hidden;
  background-image: radial-gradient(120% 60% at 80% -10%, rgba(29, 63, 158, .55), transparent 60%), radial-gradient(80% 40% at 0% 100%, rgba(255, 138, 61, .08), transparent 70%); }
img, svg { display: block; max-width: 100%; }
a { color: var(--kiln); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--kiln); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 900; line-height: 1.02; letter-spacing: -.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2rem, 5.2vw, 3.5rem); }
h2 span, h1 span { display: block; color: var(--gold); }
h3 { font-size: 1.5rem; font-weight: 800; }
p { margin: 0; text-wrap: pretty; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--tin); color: var(--tin-ink); padding: 10px 14px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { top: 12px; }
.eyebrow { font: 800 1.0625rem/1.2 var(--display); color: var(--gold); margin-bottom: 14px; }

/* the top bar */
.top { max-width: var(--max); margin: 0 auto; padding: 18px var(--gut); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 900 1.5rem/1 var(--display); }
.mark .em { width: 40px; height: 40px; border-radius: 20px 20px 5px 5px; background: var(--deep); border: 1.5px solid var(--gold); display: grid; place-items: center; overflow: hidden; }
.mark .em img { width: 34px; height: 34px; }
.top nav { display: flex; gap: clamp(12px, 3vw, 28px); font-weight: 600; font-size: .9375rem; }
.top nav a { color: var(--ink-soft); text-decoration: none; padding: 8px 0; }
.top nav a:hover, .top nav a[aria-current] { color: var(--ink); }
@media (max-width: 420px) { .top nav a[href="./#modes"] { display: none; } }

/* the hero: the words on the left, the kiln niche on the right */
.hero { position: relative; overflow-x: clip; max-width: var(--max); margin: 0 auto; padding: clamp(24px, 6vw, 72px) var(--gut) clamp(40px, 7vw, 88px); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero .glow { position: absolute; right: 4%; top: 8%; width: 46%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 184, 75, .28), rgba(255, 138, 61, .12) 55%, transparent); filter: blur(10px); pointer-events: none; }
.hero h1 { font-size: clamp(3rem, 8.4vw, 6.25rem); line-height: .94; }
.hero .lede { margin-top: 22px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--ink-soft); max-width: 34em; }
.soon { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.plaque { display: inline-block; background: var(--tin); color: var(--tin-ink); font: 800 1rem/1 var(--display); letter-spacing: .02em; padding: 12px 18px 11px; border-radius: 6px; box-shadow: inset 0 0 0 2px var(--tin), inset 0 0 0 4px var(--tin-ink), 0 3px 0 #0006; }
.soon .on { font-weight: 700; color: var(--ink); }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-soft); font-size: .9375rem; font-weight: 600; }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 9px; height: 9px; transform: rotate(45deg); background: var(--gold); border-radius: 1px; }

.stagebox { position: relative; justify-self: center; width: min(100%, 360px); }
.niche { position: relative; padding: 70px 22px 22px; border-radius: 999px 999px 26px 26px; background: linear-gradient(180deg, #24489f, #142a66 60%, #0f1f4e); border: 2px solid var(--gold); box-shadow: 0 0 0 6px var(--night), 0 0 0 7px rgba(217, 164, 65, .35), 0 40px 80px -30px #000c, inset 0 -40px 60px -30px rgba(255, 138, 61, .35); }
.fallrow { position: absolute; left: 0; right: 0; top: 24px; display: flex; justify-content: center; align-items: flex-end; gap: 8px; height: 44px; }
.fallrow .fall img { width: auto; height: auto; max-height: 40px; filter: drop-shadow(0 4px 4px #0007); }
.phone { margin: 0; border-radius: 34px; padding: 7px; background: #070b1d; box-shadow: 0 0 0 1px #2c3d72, 0 24px 50px -18px #000d; }
.phone img { width: 100%; height: auto; border-radius: 28px; }
.stagebox .zuli img, .promise .zl img { width: 100%; height: auto; }
.stagebox .zuli { position: absolute; left: -34px; bottom: -18px; width: 96px; filter: drop-shadow(0 8px 10px #0008); }

/* the cercadura: a border of the game's own tiles between the rooms */
.cerca { height: 40px; background: url(img/cerca.svg) center / auto 40px repeat-x; }

/* how a run works */
section { scroll-margin-top: 20px; }
.how, .modes, .feature, .street .txt { max-width: var(--max); margin: 0 auto; padding: clamp(56px, 9vw, 112px) var(--gut) 0; }
.how h2, .modes h2 { max-width: 15em; }
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.step { position: relative; background: linear-gradient(180deg, var(--panel), var(--night-2)); border: 1px solid var(--line); border-radius: 18px; padding: 26px 24px 28px; box-shadow: inset 0 1px 0 #ffffff12; }
.step .num { position: absolute; right: 22px; top: 18px; font: 800 1.125rem/1 var(--display); color: var(--gold); }
.step .art { display: flex; height: 72px; align-items: flex-end; margin-bottom: 18px; }
.step .art img { width: auto; height: auto; max-height: 64px; filter: drop-shadow(0 5px 5px #0007); }
.step p { margin-top: 8px; color: var(--ink-soft); }
.how .note { margin-top: 26px; max-width: 46em; color: var(--ink-soft); }

/* the two feature rooms, a phone beside the words */
.feature { display: grid; grid-template-columns: 1fr minmax(240px, 330px); gap: clamp(28px, 6vw, 96px); align-items: center; }
.feature.flip { grid-template-columns: minmax(240px, 330px) 1fr; }
.feature.flip .txt { order: 2; }
.feature .txt p:not(.eyebrow) { margin-top: 18px; color: var(--ink-soft); max-width: 32em; }
.feature .txt p.small { font-size: .9375rem; color: var(--gold); font-weight: 600; }
.feature .phone { transform: rotate(-1.5deg); }
.feature.flip .phone { transform: rotate(1.5deg); }

/* the street: a limewash wall in daylight */
.street { margin-top: clamp(56px, 9vw, 112px); background: var(--lime); color: var(--lime-ink); padding-bottom: clamp(48px, 7vw, 88px);
  background-image: radial-gradient(90% 70% at 50% 0%, #fffaf0, transparent 70%); }
.street .eyebrow { color: #77520b; }
.street h2 { color: var(--lime-ink); }
.street .txt p:not(.eyebrow) { margin-top: 18px; color: var(--lime-soft); max-width: 40em; }
.towns { list-style: none; margin: 40px auto 0; padding: 0 var(--gut) 8px; max-width: calc(var(--max) + 2 * var(--gut)); display: grid; grid-template-columns: repeat(8, minmax(118px, 1fr)); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: thin; }
.town { scroll-snap-align: start; text-align: center; }
.town .facade { border-radius: 10px 10px 4px 4px; overflow: hidden; background: var(--lime-2); box-shadow: 0 1px 0 var(--lime-line), 0 14px 24px -16px #13265e66; }
.town .facade img { width: 100%; height: auto; }
.town b { display: block; margin-top: 10px; font: 800 1rem/1 var(--display); }

/* six modes, each fired in its own glaze */
.modegrid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mode { position: relative; min-height: 176px; padding: 26px 24px; border-radius: 16px; color: var(--on-deep); background: var(--face); overflow: hidden;
  background-image: linear-gradient(160deg, #ffffff26, transparent 45%, #0000002e); box-shadow: inset 0 0 0 1px #ffffff2e, inset 0 0 0 6px var(--face), inset 0 0 0 7px #ffffff40, 0 18px 30px -20px #000c; }
.mode::after { content: ""; position: absolute; right: -26px; bottom: -26px; width: 92px; height: 92px; border: 2px solid currentColor; border-radius: 50%; opacity: .16; box-shadow: 0 0 0 10px transparent, 0 0 0 12px currentColor; }
.mode h3 { font-size: 1.625rem; }
.mode p { margin-top: 10px; opacity: .92; font-size: 1rem; }
.m-daily { --face: var(--f-daily); } .m-exhibit { --face: var(--f-exhibit); color: var(--saffron-ink); } .m-restore { --face: var(--f-restore); }
.m-street { --face: var(--f-street); } .m-endless { --face: var(--f-endless); } .m-classic { --face: var(--f-classic); }

/* the promise */
.promise { position: relative; max-width: var(--max); margin: clamp(56px, 9vw, 112px) auto 0; padding: clamp(40px, 6vw, 64px) var(--gut); border-top: 1px solid var(--line); }
.promise ul { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.promise li { border-top: 2px solid var(--gold); padding-top: 14px; }
.promise li b { display: block; font: 800 1.375rem/1.1 var(--display); }
.promise li span { display: block; margin-top: 6px; color: var(--ink-soft); }
.promise .zl { position: absolute; right: var(--gut); top: clamp(28px, 5vw, 56px); width: 88px; }

/* the footer */
.foot { margin-top: clamp(48px, 8vw, 96px); background: var(--night-2); }
.fin { max-width: var(--max); margin: 0 auto; padding: 36px var(--gut) calc(40px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr auto; gap: 18px 32px; align-items: start; }
.fin .fw { font: 900 1.5rem/1 var(--display); }
.fin p { margin-top: 8px; color: var(--ink-soft); font-size: .9375rem; }
.fin nav { display: flex; flex-wrap: wrap; gap: 10px 22px; font-weight: 600; }
.fin nav a { color: var(--ink); text-decoration: none; }
.fin nav a:hover { color: var(--kiln); }
.fin .copy { grid-column: 1 / -1; font-size: .8125rem; }

/* the legal pages: a reading column */
.read { max-width: 720px; margin: 0 auto; padding: clamp(24px, 5vw, 56px) var(--gut) 24px; }
.read h1 { font-size: clamp(2.5rem, 7vw, 4rem); margin-bottom: 18px; }
.read h2 { font-size: 1.625rem; font-weight: 800; margin: 40px 0 10px; color: var(--ink); }
.read h3 { font-size: 1.25rem; margin: 28px 0 8px; }
.read p, .read li { color: var(--ink-soft); }
.read p + p { margin-top: 12px; }
.read b, .read strong { color: var(--ink); }
.read .lede, .read .meta { font-size: 1.1875rem; color: var(--ink); }
.read pre { white-space: pre-wrap; font-size: .8125rem; background: var(--night-2); border: 1px solid var(--line); border-radius: 10px; padding: 14px; color: var(--ink-soft); overflow-wrap: anywhere; }
.read table { border-collapse: collapse; width: 100%; font-size: .9375rem; }
.read td, .read th { border-bottom: 1px solid var(--line); padding: 8px 6px; text-align: left; vertical-align: top; }

/* narrow screens */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero .glow { right: -20%; top: 40%; width: 110%; }
  .stagebox { width: min(84%, 340px); margin-top: 8px; }
  .steps, .modegrid { grid-template-columns: 1fr 1fr; }
  .feature, .feature.flip { grid-template-columns: 1fr; }
  .feature.flip .txt { order: 0; }
  .feature .phone { width: min(78%, 320px); justify-self: center; }
  .towns { grid-template-columns: repeat(8, 42%); }
  .promise ul { grid-template-columns: 1fr 1fr; }
  .promise .zl { width: 64px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .steps, .modegrid, .promise ul { grid-template-columns: 1fr; }
  .stagebox .zuli { left: -14px; width: 76px; }
  .mode { min-height: 0; }
  .fin { grid-template-columns: 1fr; }
}

/* motion: the hero arrives once, the pieces set into the niche, and the rooms rise as they scroll in. None of it repeats. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s var(--ease) both; }
  .r2 { animation-delay: .08s; } .r3 { animation-delay: .18s; } .r4 { animation-delay: .28s; } .r5 { animation-delay: .36s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
  .niche { animation: kiln 1.2s var(--ease) .1s both; }
  @keyframes kiln { from { opacity: 0; transform: translateY(24px) scale(.97); box-shadow: 0 0 0 6px var(--night), 0 0 0 7px rgba(217, 164, 65, 0), 0 40px 80px -30px #000c, inset 0 -40px 60px -30px rgba(255, 138, 61, .9); } }
  .fall { animation: set .7s cubic-bezier(.3, 1.4, .5, 1) both; }
  .f0 { animation-delay: .7s; } .f1 { animation-delay: .82s; } .f2 { animation-delay: .94s; } .f3 { animation-delay: 1.06s; } .f4 { animation-delay: 1.18s; }
  @keyframes set { from { opacity: 0; transform: translateY(-40px) rotate(-8deg); } }
  .stagebox .zuli { animation: perch .8s cubic-bezier(.3, 1.5, .5, 1) 1.3s both; }
  @keyframes perch { from { opacity: 0; transform: translate(-12px, 16px) scale(.8); } }
  @supports (animation-timeline: view()) {
    .step, .feature > *, .mode, .town, .promise li { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); filter: blur(4px) sepia(.6); } }
  }
}
@media print { body { background: #fff; color: #000; } .cerca, .glow, .stagebox, .zl { display: none; } }
