:root {
  color-scheme: light;
  --ink: #173a32;
  --deep: #102e28;
  --cream: #f8f1df;
  --paper: #fffaf0;
  --gold: #efc065;
  --muted: #53675d;
  --line: #dcd5bf;
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-size: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #1684a3; outline-offset: 5px; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: Georgia, "Times New Roman", serif; font-weight: 700; letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.12; }
h3 { font-size: 1.4rem; line-height: 1.2; }
p { line-height: 1.65; }
.skip-link { position: absolute; left: 16px; top: -100px; padding: 16px; background: white; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 100px; padding: 20px max(24px, calc((100% - 1220px) / 2)); display: flex; align-items: center; justify-content: space-between; gap: 24px; background: var(--deep); color: var(--cream); border-bottom: 1px solid #426055; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-size: 1rem; font-weight: 700; line-height: 1.15; flex-shrink: 0; }
.brand img { flex-shrink: 0; }
.brand-last { display: block; color: var(--gold); font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; letter-spacing: .035em; }
nav { display: flex; align-items: center; gap: 10px; }
nav a { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 16px; font-size: .95rem; text-decoration: none; font-weight: 700; border-radius: 8px; }
nav a:hover { background: #284c40; }
nav .nav-play { border: 1px solid #8b9a71; color: #f6da98; }
.hero { padding: 66px max(24px, calc((100% - 1220px) / 2)) 80px; min-height: 640px; display: grid; grid-template-columns: 1fr 1.12fr; gap: 20px; align-items: center; background: var(--ink); color: var(--cream); overflow: hidden; }
.eyebrow { font-size: .75rem; letter-spacing: .17em; text-transform: uppercase; font-weight: 700; margin-bottom: 20px; }
.hero .eyebrow { color: #f3ce7d; display: flex; align-items: center; gap: 10px; }
.status-dot { width: 8px; height: 8px; background: #f3ce7d; border-radius: 50%; flex-shrink: 0; }
h1 { font-size: clamp(3rem, 5.5vw, 5rem); line-height: 1.04; }
h1 span { color: #efc065; }
.hero-description { max-width: 470px; margin: 25px 0 29px; color: var(--muted); font-size: 1.15rem; }
.hero .hero-description { color: #e0e6d3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 15px 23px; font: inherit; font-weight: 700; border: 1px solid transparent; border-radius: 9px; text-decoration: none; line-height: 1.2; }
.button-gold { background: var(--gold); color: #302d1e; box-shadow: 0 4px 0 #a97935; }
.button-gold:hover { background: #f5d184; }
.button-outline { border-color: #839983; color: var(--cream); }
.button-outline:hover { background: #284c40; }
.development-note { font-size: .8rem; color: #becfbb; margin-top: 20px; max-width: 420px; }
.kingdom { position: relative; width: 100%; aspect-ratio: 1.12; align-self: center; isolation: isolate; }
.kingdom-label { position: absolute; top: 1%; right: 8%; font-size: .7rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; color: #c2d7bc; transform: rotate(-4deg); }
.island { position: absolute; inset: 13% 0 8%; background: #709959; clip-path: polygon(50% 0, 100% 49%, 100% 57%, 50% 100%, 0 57%, 0 49%); }
.island::before { content: ""; position: absolute; inset: 0 0 10%; background: #91af6c; clip-path: polygon(50% 0, 100% 54%, 50% 100%, 0 54%); }
.path { position: absolute; top: 45%; left: 20%; width: 62%; height: 21%; background: #ccb889; transform: rotate(-25deg); clip-path: polygon(0 42%, 100% 42%, 100% 58%, 0 58%); }
.kingdom-hall { position: absolute; width: 45%; top: 12%; left: 24%; }
.kingdom-nest { position: absolute; width: 30%; top: 39%; left: 62%; }
.mascot { position: absolute; transform-origin: 50% 90%; }
.mascot-human { width: 23%; left: 17%; bottom: 24%; }
.mascot-troll { width: 24%; left: 36%; bottom: 18%; }
.mascot-dragon { width: 36%; left: 63%; bottom: 35%; animation: dragon-drift 7s ease-in-out infinite; }
.tree { position: absolute; width: 9%; aspect-ratio: .8; border-radius: 48% 48% 35% 35%; background: #426b43; border: 3px solid #325c3b; }
.tree::after { content: ""; position: absolute; width: 15%; height: 24%; bottom: -15%; left: 44%; background: #75573e; border-radius: 3px; }
.tree-one { top: 45%; left: 3%; }
.tree-two { top: 21%; right: 17%; }
.tree-three { bottom: 18%; right: 20%; width: 7%; }
.kingdom-caption { position: absolute; bottom: 0; width: 100%; text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .2em; color: #cadcbd; }
@keyframes dragon-drift { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(2deg); } }
.world-strip { display: flex; justify-content: center; align-items: center; gap: clamp(14px, 3.5vw, 50px); background: #eac16f; padding: 24px; font-size: .9rem; font-weight: 700; border-bottom: 3px solid #d7b05f; }
.world-strip [aria-hidden] { color: #735727; font-size: .7rem; }
.section { max-width: 1268px; margin-inline: auto; padding: 82px 24px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 48px; margin-bottom: 36px; }
.section-heading > p { max-width: 420px; color: var(--muted); }
.section .eyebrow { color: #76602e; margin-bottom: 14px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.feature-art { height: 230px; display: flex; align-items: center; justify-content: center; background: #e4e9d1; border-bottom: 1px solid var(--line); }
.feature-art img { width: 220px; max-height: 100%; object-fit: contain; }
.mixer-art { background: #e5deec; }
.nest-art { background: #f1dfc8; }
.card-copy { padding: 28px; }
.card-number { font-size: .65rem; font-weight: 700; letter-spacing: .16em; color: #78653c; margin-bottom: 10px; }
.card-copy p:last-child { margin-top: 14px; color: var(--muted); }
.civilisations { padding-top: 24px; }
.civilisation-grid { margin-top: 35px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.civilisation { border-top: 3px solid #d7aa60; padding: 26px 25px 30px; background: #eae5d2; border-radius: 4px 4px 16px 16px; }
.civilisation > img { height: 230px; width: 100%; object-fit: contain; margin-bottom: 20px; }
.civilisation p:last-child { margin-top: 12px; color: var(--muted); }
.civilisation-troll { background: #dce7d4; border-top-color: #6e9263; }
.civilisation-dragon { background: #f0dfcd; border-top-color: #b96746; }
.play-section { border-top: 1px solid var(--line); }
.play-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.play-card { border-radius: 16px; background: var(--ink); color: var(--cream); padding: 34px; }
.build-status { display: inline-block; padding: 5px 10px; border: 1px solid #819377; color: #ead396; border-radius: 5px; font-size: .7rem; letter-spacing: .08em; margin-bottom: 24px; text-transform: uppercase; }
.play-card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 1.8rem; }
.play-card > p { color: #d3dfca; margin-top: 16px; max-width: 490px; }
.play-card .button { margin-top: 25px; width: 100%; background: #304e43; color: #e0e5d9; border-color: #667e64; cursor: not-allowed; }
.play-card .build-note { font-size: .78rem; margin-top: 12px; }
.landscape-note { font-size: .85rem; color: var(--muted); margin-top: 24px; }
.questions { padding-top: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; }
details { border-bottom: 1px solid var(--line); }
summary { padding: 20px 8px; min-height: 56px; cursor: pointer; font-weight: 700; line-height: 1.4; }
details p { padding: 0 8px 22px; color: var(--muted); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px max(24px, calc((100% - 1220px) / 2)); background: var(--deep); color: var(--cream); }
.site-footer .brand-last { font-size: 1.4rem; }
.site-footer p, .footer-status { color: #c1d0b9; font-size: .8rem; }
@media (max-width: 1000px) {
  .hero { min-height: 560px; padding-block: 52px; }
  .hero-description { font-size: 1rem; }
  .section { padding-block: 60px; }
  .feature-art { height: 190px; }
  .card-copy { padding: 23px; }
  .civilisation { padding-inline: 20px; }
  .civilisation > img { height: 195px; }
  .questions { padding-top: 0; }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 12px; padding-block: 16px; }
  .site-header .brand img { width: 46px; }
  nav { width: 100%; justify-content: space-between; gap: 3px; }
  nav a { font-size: .82rem; padding-inline: 10px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-block: 45px; }
  .hero-copy { max-width: 540px; }
  h1 { font-size: clamp(3rem, 9vw, 4.75rem); }
  .kingdom { max-width: 550px; justify-self: center; }
  .world-strip { gap: 12px; font-size: .7rem; padding-inline: 15px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; }
  .feature-grid, .civilisation-grid { grid-template-columns: 1fr; }
  .feature-card { display: grid; grid-template-columns: .8fr 1.2fr; }
  .feature-art { height: auto; min-height: 210px; border-bottom: 0; }
  .feature-art img { max-width: 100%; }
  .civilisation { display: grid; grid-template-columns: .7fr 1fr; align-items: center; gap: 20px; }
  .civilisation > img { height: 195px; margin: 0; }
  .play-grid { grid-template-columns: 1fr; }
  .questions { grid-template-columns: 1fr; gap: 20px; }
  .site-footer { flex-wrap: wrap; }
  .site-footer p { width: 100%; order: 3; }
}
@media (max-width: 420px) {
  .hero, .section { padding-inline: 20px; }
  .hero .eyebrow { font-size: .65rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-art { height: 205px; }
  .civilisation { grid-template-columns: .65fr 1fr; gap: 12px; padding-inline: 15px; }
  .civilisation > img { height: 160px; }
  .civilisation p:last-child { font-size: .85rem; }
  .play-card { padding: 26px; }
  .footer-status { max-width: 120px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mascot-dragon { animation: none; }
}
