/* The Stoic Drummer: responsive land-claim build */
:root {
  --bg: #0b0c0d;
  --panel: #121416;
  --panel-2: #171a1d;
  --text: #eee9df;
  --muted: #b9b2a7;
  --faint: #77736d;
  --accent: #b58a57;
  --line: #292b2d;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 8%, rgba(181,138,87,.10), transparent 24rem),
    radial-gradient(circle at 14% 32%, rgba(255,255,255,.035), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--text); text-decoration-color: var(--accent); text-underline-offset: .22em; }
a:hover { color: #fff; }
.wrap {
  width: min(calc(100% - 32px), var(--max));
  max-width: 100%;
  margin-inline: auto;
}
.hero-grid > *, .section-grid > *, .cards > *, .header-inner > * { min-width: 0; }

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(11,12,13,.92);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .9rem;
  min-width: 0;
  text-decoration: none;
}
.mark {
  flex: 0 0 auto;
  width: 38px;
  aspect-ratio: 1;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: relative;
  box-shadow: inset 0 0 0 6px rgba(181,138,87,.06);
}
.mark:after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  inset: 50% auto auto 50%;
  transform: translate(-50%,-50%);
}
.brand-copy { min-width: 0; }
.brand-copy strong {
  display: block;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .93rem;
  line-height: 1.25;
}
.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .06em;
  line-height: 1.35;
  margin-top: .16rem;
}
.site-header nav { flex: 0 0 auto; }
nav ul {
  display: flex;
  list-style: none;
  gap: 1.15rem;
  padding: 0;
  margin: 0;
}
nav a { text-decoration: none; color: var(--muted); font-size: .89rem; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }

.hero { padding: clamp(4.5rem, 8vw, 7rem) 0 4.25rem; border-bottom: 1px solid var(--line); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: .22em;
  color: var(--accent);
  font-size: .75rem;
  font-weight: 700;
  margin: 0 0 1rem;
  overflow-wrap: anywhere;
}
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  margin-top: 0;
  max-width: 100%;
}
h1 {
  font-size: clamp(46px, 5vw, 60px);
  letter-spacing: -.035em;
  margin-bottom: 1.35rem;
}
h2 {
  font-size: clamp(32px, 3.5vw, 46px);
  letter-spacing: -.025em;
  margin-bottom: 1rem;
}
h3 { font-size: 1.4rem; margin-bottom: .55rem; }
.lede {
  font-size: clamp(18px, 1.8vw, 21px);
  line-height: 1.58;
  color: #d6d0c6;
  max-width: 760px;
  overflow-wrap: break-word;
}
.hero-note {
  border-left: 1px solid var(--accent);
  padding: 1.1rem 0 1.1rem 1.4rem;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 1.08rem;
}
.hero-note strong { color: var(--text); font-weight: 500; }
section { padding: clamp(3.4rem, 6vw, 5.75rem) 0; border-bottom: 1px solid var(--line); }
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 7vw, 6rem);
}
.section-intro { color: var(--muted); max-width: 38rem; }
.rule { width: 54px; height: 1px; background: var(--accent); margin: 1.4rem 0 1.7rem; }
.big-line {
  font: 500 clamp(25px, 2.7vw, 38px)/1.3 Georgia, serif;
  max-width: 900px;
  margin: 0;
  overflow-wrap: break-word;
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; margin-top: 2.25rem; }
.card {
  background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,.01));
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}
.card p { margin-bottom: 0; color: var(--muted); }
.list-clean { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.list-clean li { padding: .9rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.1rem minmax(0,1fr); gap: .8rem; }
.list-clean li:before { content: "•"; color: var(--accent); }
.callout { background: var(--panel); border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.4rem); border-radius: 10px; }
.callout p:last-child { margin-bottom: 0; }
.meta-strip { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.meta-strip a, .pill { font-size: .78rem; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .72rem; color: var(--muted); text-decoration: none; }
.meta-strip a:hover { border-color: var(--accent); color: var(--text); }
.page-hero { padding: clamp(3.75rem, 6vw, 5.5rem) 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(42px, 4.2vw, 52px); }
.prose { max-width: 820px; }
.prose p { color: #d4cec4; overflow-wrap: break-word; }
.prose h2 { margin-top: 2.4rem; font-size: clamp(28px, 3vw, 36px); }
.prose h3 { margin-top: 2rem; }
.faq { max-width: 900px; }
details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-family: Georgia, serif; font-size: 1.28rem; line-height: 1.35; color: var(--text); }
details p { color: var(--muted); max-width: 780px; overflow-wrap: break-word; }
.source-group { margin: 2.5rem 0; }
.source-list { list-style: none; padding: 0; }
.source-list li { border-top: 1px solid var(--line); padding: 1.2rem 0; min-width: 0; }
.source-list strong { display: block; margin-bottom: .25rem; }
.source-list span { color: var(--muted); display: block; }
.source-list a { overflow-wrap: anywhere; word-break: break-word; }
.note { color: var(--muted); font-size: .93rem; }
.site-footer { padding: 2.5rem 0 2.75rem; text-align: center; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.1rem; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.powered { margin: 0 0 1.3rem; color: var(--muted); font-size: .87rem; line-height: 1.45; }
.powered span { display: block; text-transform: uppercase; letter-spacing: .16em; font-size: .7rem; color: var(--faint); }
.powered a { display: inline-block; font-weight: 650; margin-top: .18rem; }
.disclaimer { max-width: 780px; margin: 0 auto 1.2rem; color: var(--faint); font-size: .78rem; line-height: 1.55; }
.disclaimer span { display: block; }
.copyright { margin: 0; color: var(--faint); font-size: 12pt; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 1rem; top: 1rem; background: #fff; color: #000; padding: .6rem; z-index: 100; }

@media (max-width: 820px) {
  .site-header { position: static; backdrop-filter: none; }
  .header-inner { display: block; min-height: 0; padding: 15px 0 11px; }
  .brand { width: 100%; }
  .mark { width: 32px; }
  .brand-copy strong { font-size: 14px; letter-spacing: .11em; }
  .brand-copy span { font-size: 11px; letter-spacing: .04em; }
  .site-header nav { width: 100%; margin-top: 12px; padding-top: 9px; border-top: 1px solid var(--line); }
  .site-header nav ul { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 4px; }
  .site-header nav a { display: block; text-align: center; padding: 7px 3px; font-size: 13px; border-radius: 6px; }
  .site-header nav a[aria-current="page"] { background: rgba(255,255,255,.035); }

  .hero { padding: 3.25rem 0 3rem; }
  .hero-grid, .section-grid { grid-template-columns: 1fr; gap: 2rem; }
  h1 { font-size: 44px; line-height: 1.04; letter-spacing: -.03em; }
  .page-hero { padding: 3rem 0 2.5rem; }
  .page-hero h1 { font-size: 40px; }
  h2 { font-size: 32px; }
  .prose h2 { font-size: 30px; }
  .lede { font-size: 18px; line-height: 1.55; }
  .big-line { font-size: 25px; line-height: 1.34; }
  .hero-note { font-size: 17px; padding-left: 1rem; }
  .kicker { font-size: 11px; letter-spacing: .18em; }
  section { padding: 3rem 0; }
  .cards { grid-template-columns: 1fr; }
  summary { font-size: 20px; }
  .footer-nav { gap: .8rem; }
}

@media (max-width: 420px) {
  .wrap { width: calc(100% - 28px); }
  .mark { display: none; }
  .brand-copy strong { font-size: 13px; letter-spacing: .10em; }
  .brand-copy span { font-size: 10.5px; letter-spacing: .025em; }
  .site-header nav ul { gap: 2px; }
  .site-header nav a { font-size: 12px; padding-inline: 2px; }
  .hero { padding-top: 2.8rem; }
  h1 { font-size: 40px; }
  .page-hero h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .prose h2 { font-size: 28px; }
  .lede { font-size: 17px; }
  .big-line { font-size: 23px; }
  .kicker { font-size: 10.5px; letter-spacing: .16em; }
  .card { padding: 1.2rem; }
  .callout { padding: 1.2rem; }
  .site-footer { padding-top: 2rem; }
}
