/* Tenpai pages on woodoggy.com. Lantern Light by day, Lantern by night. No third-party requests. */
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk_500Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/SpaceGrotesk_700Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  --bg: #f6f0e4;
  --panel: #eae2d0;
  --text: #0f1626;
  --muted: #4a5468;
  --brand: #9a5b12;
  --amber: #f2b45a;
  --on-amber: #0f1626;
  --rule: #ddd3bd;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1626;
    --panel: #18223a;
    --text: #e9e4d6;
    --muted: #a9b0c0;
    --brand: #f2b45a;
    --rule: #26324d;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}
h1, h2, h3, .brand, .button { font-family: 'Space Grotesk', system-ui, sans-serif; }
h1 { font-size: 2.4rem; line-height: 1.1; margin: 0.2em 0 0.4em; letter-spacing: -0.02em; }
h2 { font-size: 1.4rem; margin: 2em 0 0.4em; }
h3 { font-size: 1.1rem; margin: 1.6em 0 0.2em; }
p, li { color: var(--text); }
a { color: var(--brand); text-underline-offset: 3px; }
a:focus-visible, .button:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 22px; }
header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.2rem; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav.site a { margin-left: 18px; color: var(--muted); text-decoration: none; font-weight: 500; }
nav.site a:hover, nav.site a[aria-current='page'] { color: var(--text); }

main { padding-bottom: 64px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.muted { color: var(--muted); }

.hero { text-align: center; padding: 28px 0 8px; }
.hero .icon { width: 128px; height: 128px; border-radius: 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18); }
.hero h1 { font-size: 3rem; margin-top: 0.4em; }
.hero h1 em { font-style: normal; color: var(--brand); }

.button {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 26px;
  border-radius: 14px;
  background: var(--amber);
  color: var(--on-amber);
  font-weight: 700;
  text-decoration: none;
}
.button[aria-disabled='true'] { opacity: 0.75; cursor: default; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 36px 0; }
.feature { background: var(--panel); border-radius: 16px; padding: 18px; }
.feature h3 { margin: 0 0 4px; }
.feature p { margin: 0; color: var(--muted); font-size: 0.97rem; }

.shots { display: flex; gap: 14px; overflow-x: auto; padding: 6px 2px 14px; scroll-snap-type: x mandatory; }
.shots img { width: 230px; height: auto; border-radius: 18px; flex: none; scroll-snap-align: start; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }

.tiles { font-family: 'Space Grotesk', system-ui, sans-serif; font-weight: 700; letter-spacing: 0.08em; }

details { background: var(--panel); border-radius: 14px; padding: 4px 18px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 12px 0; }
details[open] summary { border-bottom: 1px solid var(--rule); margin-bottom: 8px; }

.card { background: var(--panel); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.card p { margin: 0.3em 0; }

footer.site { border-top: 1px solid var(--rule); padding: 22px 0 40px; color: var(--muted); font-size: 0.92rem; }
footer.site a { color: var(--muted); margin-right: 16px; }
