/* Defend a Garden — one stylesheet, no build step. Night-garden palette: deep green-black, lantern gold, leaf green. */
:root {
  --bg: #f6f1e4;
  --surface: #fffaf0;
  --ink: #1d2a22;
  --muted: #5b6a5f;
  --line: #ddd3bd;
  --accent: #c9821b;
  --accent-ink: #1c1406;
  --leaf: #3f7d3a;
  --night: #0e1a16;
  --night-ink: #f3ecd9;
  --shadow: 0 1px 2px rgb(0 0 0 / .06), 0 8px 24px rgb(30 40 20 / .08);
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1713;
    --surface: #15221c;
    --ink: #ece5d3;
    --muted: #a7b3a8;
    --line: #2a3a31;
    --accent: #f0b24a;
    --accent-ink: #1c1406;
    --leaf: #8fd07f;
    --shadow: 0 1px 2px rgb(0 0 0 / .3), 0 8px 24px rgb(0 0 0 / .25);
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.6 var(--sans);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--leaf); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.2; font-weight: 700; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
section.wrap { padding-block: clamp(32px, 6vw, 64px) 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: var(--surface); padding: 8px 12px; border-radius: 8px; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--night) 92%, transparent);
  backdrop-filter: blur(8px); color: var(--night-ink); }
.top-inner { display: flex; align-items: center; gap: 20px; min-height: 60px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.1rem; }
.brand img { border-radius: 9px; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; flex: 1; }
.nav a, .langs a { color: inherit; text-decoration: none; padding: 6px 10px; border-radius: 8px; font-size: .95rem; opacity: .85; }
.nav a:hover, .langs a:hover { opacity: 1; background: rgb(255 255 255 / .08); }
.nav a[aria-current], .langs a[aria-current] { opacity: 1; background: rgb(240 178 74 / .18); color: #f6c873; }
.langs { display: flex; gap: 2px; }
.langs a { font-size: .8rem; letter-spacing: .05em; }
@media (max-width: 760px) {
  .top { position: static; }
  .top-inner { gap: 6px 12px; padding-block: 8px; }
  .nav { order: 3; flex-basis: 100%; overflow-x: auto; flex-wrap: nowrap; margin-inline: -6px; }
  .nav a { white-space: nowrap; }
  .langs { margin-left: auto; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  background: var(--surface); color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-play { background: var(--accent); color: var(--accent-ink); }
.btn-play::before { content: "▶"; font-size: .8em; }
.btn-ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.card .btn:not(.btn-play):not(.btn-ghost) { background: var(--bg); border-color: var(--line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0 12px; }
.fine { font-size: .88rem; color: var(--muted); }

/* hero: the panorama sits behind the text, a night gradient keeps the text readable */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff8e8;
  background: var(--night); overflow: hidden; }
.hero-art, .hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgb(8 16 12 / .86) 0%, rgb(8 16 12 / .55) 42%, rgb(8 16 12 / 0) 70%),
              linear-gradient(0deg, rgb(8 16 12 / .7) 0%, rgb(8 16 12 / 0) 45%); }
.hero-inner { position: relative; z-index: 1; padding-block: 48px; max-width: 1120px; }
.hero-inner > * { max-width: 620px; }
.hero h1 { text-shadow: 0 2px 18px rgb(0 0 0 / .45); }
.hero .lede { font-size: 1.15rem; }
.hero .fine { color: rgb(255 248 232 / .8); }
.hero .btn-ghost { color: #fff8e8; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: #f6c873; margin-bottom: .6em; }
@media (max-width: 720px) {
  .hero { min-height: 88vh; }
  .hero::after { background: linear-gradient(0deg, rgb(8 16 12 / .92) 0%, rgb(8 16 12 / .6) 55%, rgb(8 16 12 / .15) 100%); }
  .hero-art img { object-position: 50% 30%; }
}

/* content */
.lede { font-size: 1.1rem; color: var(--muted); max-width: 70ch; }
.hero .lede { color: inherit; }
.story p { max-width: 68ch; font-size: 1.08rem; }
.page-head { padding-top: clamp(32px, 6vw, 56px); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.grid3 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid2 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.feature h3 { color: var(--leaf); }
.gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.gallery figure { margin: 0; }
.gallery img { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.gallery figcaption { font-size: .9rem; color: var(--muted); padding: 8px 2px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.news-list { display: grid; gap: 16px; }
.news .meta { font-size: .85rem; color: var(--muted); margin-bottom: .4em; }
.news img { border-radius: 10px; margin: 6px 0 14px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.page-news .news { scroll-margin-top: 80px; }
.page-news .news-list { max-width: 820px; }
.cta { text-align: center; padding-bottom: 8px; }
.cta p { color: var(--muted); }
.cta .actions { justify-content: center; }
.cta .btn-ghost { color: var(--ink); }

/* store */
.pass { display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start; }
.pass img { border-radius: 16px; width: 96px; height: 96px; object-fit: cover; }
.pass .free { font-size: .92rem; color: var(--muted); }
.pass .price { font-weight: 800; font-size: 1.1rem; margin-bottom: .6em; }
.plain { padding-left: 1.2em; } .plain li { margin-bottom: .5em; }
@media (max-width: 420px) { .pass { grid-template-columns: 64px 1fr; } .pass img { width: 64px; height: 64px; } }

/* roadmap */
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; max-width: 820px; }
.rm { position: relative; background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px; }
.rm-live { border-left-color: var(--leaf); }
.rm-next { border-left-color: var(--accent); }
.rm-when { font-size: .85rem; color: var(--muted); margin-right: 10px; }
.rm-badge { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 8px; border-radius: 99px;
  background: var(--line); color: var(--ink); }
.rm-live .rm-badge { background: var(--leaf); color: var(--surface); }
.rm-next .rm-badge { background: var(--accent); color: var(--accent-ink); }
.rm h3 { margin: 10px 0 4px; }
.rm p { margin: 0; color: var(--muted); }

/* codes, press */
.empty { max-width: 720px; }
.codes { list-style: none; padding: 0; } .codes code { font-size: 1.15rem; font-weight: 800; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; }
.press a img { border-radius: 10px; }
.prose p { max-width: 70ch; }

/* footer */
.foot { margin-top: 72px; background: var(--night); color: var(--night-ink); padding: 28px 0; }
.foot a { color: #f6c873; }
.foot .btn-play { color: var(--accent-ink); }
.foot .fine { color: rgb(243 236 217 / .65); margin: 0; }
.foot p { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }
