/* Japanese × Irish — limestone, bog, linen, slate. Ma over chrome. */
@import url("https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=IBM+Plex+Mono:wght@400;500&family=Source+Sans+3:wght@400;500;600&display=swap");

:root {
  --bog: #1c1b18;
  --slate: #2e322c;
  --limestone: #c9c0b0;
  --linen: #e6e0d4;
  --ink: #e6e0d4;
  --muted: #9a9488;
  --iron: #8a6240;
  --moss: #6a7a5c;
  --line: rgba(201, 192, 176, 0.14);
  --font-display: "Instrument Serif", "Times New Roman", serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --measure: 42rem;
  --wide: 58rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(900px 400px at 0% 0%, rgba(138, 98, 64, 0.09), transparent 55%),
    linear-gradient(165deg, var(--bog) 0%, #221f1a 48%, var(--slate) 100%);
}
a { color: var(--limestone); text-underline-offset: 0.22em; }
a:hover { color: var(--linen); }
.wrap { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.75rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.brand em { font-style: normal; color: var(--limestone); }
.nav { display: flex; gap: 1.4rem; }
.nav a {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
}
.nav a:hover { color: var(--linen); }

.hero {
  padding: clamp(4rem, 12vw, 7.5rem) 0 clamp(3rem, 8vw, 5rem);
  max-width: var(--measure);
}
/* Fukinsei — slight offset, not centered theater */
.hero { margin-left: 0; }
@media (min-width: 900px) {
  .hero { margin-left: 4%; }
}

.kicker {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--iron);
  margin-bottom: 1.35rem;
}
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.4rem, 6.5vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--linen);
  margin-bottom: 1.4rem;
}
.lede {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.lede em { color: var(--limestone); font-style: italic; font-family: var(--font-display); }

.ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }
.btn {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  color: var(--limestone);
}
.btn.primary {
  background: var(--limestone);
  border-color: var(--limestone);
  color: var(--bog);
}
.btn.primary:hover { background: var(--linen); color: var(--bog); }
.btn:hover { border-color: var(--limestone); color: var(--linen); }
.btn.ghost { border: none; padding-left: 0; color: var(--muted); }

/* Ma — section breathing */
.section {
  padding: clamp(3rem, 8vw, 5rem) 0;
  border-top: 1px solid var(--line);
  max-width: var(--measure);
}
@media (min-width: 900px) {
  .section.offset { margin-left: 12%; max-width: var(--measure); }
}
.section h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  color: var(--linen);
  margin-bottom: 0.85rem;
}
.section p { color: var(--muted); margin-bottom: 1rem; }

.rule {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--limestone);
  line-height: 1.35;
  margin: 0.5rem 0 1.25rem;
}

/* Kanso — one row, not a card grid */
.list { list-style: none; margin-top: 1.5rem; }
.list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}
.list li:last-child { border-bottom: 1px solid var(--line); }
.list .tag {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--iron);
  padding-top: 0.2rem;
}
.list .tag.ok { color: var(--moss); }
.list span { color: var(--muted); }
.list strong { color: var(--linen); font-weight: 500; display: block; margin-bottom: 0.15rem; }

/* Receipt try-now — weathered terminal, not neon */
.panel {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.22);
  padding: 1.15rem 1.25rem;
}
.panel pre {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--muted);
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 14rem;
  overflow: auto;
}
.verdict {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.verdict.pass { color: var(--moss); }
.verdict.fail { color: #a86858; }

.foot {
  padding: 2.5rem 0 4rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  max-width: var(--measure);
}
.foot a { color: var(--limestone); }

article.dispatch { max-width: var(--measure); padding: 3rem 0 4rem; }
article.dispatch p { color: var(--muted); margin-bottom: 1.15rem; }
article.dispatch h1 { margin-bottom: 0.5rem; }
article.dispatch .meta {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--iron);
  margin-bottom: 2rem;
}

@media (max-width: 700px) {
  .list li { grid-template-columns: 1fr; gap: 0.25rem; }
  .nav { gap: 0.9rem; }
}
