/* ============================================================
   BRANNAN.TV — Flavor Country design system
   Palette drawn from the machine itself: clay, slate, wood, ink.
   Display: Bodoni Moda · Body: Libre Franklin · Labels: IBM Plex Mono
   ============================================================ */

:root {
  --white: #ffffff;
  --paper: #f7f3ea;
  --ink: #1b140e;
  --ink-soft: #43382e;
  --rust: #a64b32;
  --rust-deep: #7e351f;
  --slate: #78889d;
  --slate-deep: #4d5c70;
  --wood: #5c4232;
  --brass: #b98d4f;
  --line: #e3dccc;
  --window: #0b0a09;

  --font-display: "Bodoni Moda", "Didot", "Bodoni MT", serif;
  --font-body: "Libre Franklin", "Franklin Gothic Medium", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

body.interior { background: var(--paper); }

img { max-width: 100%; display: block; }

a { color: var(--rust); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rust-deep); }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--rust); color: var(--white); }

/* ---------- type utilities ---------- */

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.display {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

/* ---------- interior page scaffolding ---------- */

.page {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.crumbs {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.crumbs a { color: var(--ink-soft); text-decoration: none; }
.crumbs a:hover { color: var(--rust); }
.crumbs .back::before { content: "← "; }

.page-head {
  margin: 56px 0 12px;
  padding-bottom: 28px;
  border-bottom: 3px solid var(--ink);
}

.page-head .eyebrow { display: block; margin-bottom: 14px; }

.page-head h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(44px, 8vw, 84px);
  line-height: 0.95;
  margin: 0;
}

.page-head .lede {
  max-width: 620px;
  margin: 20px 0 0;
  font-size: 17px;
  color: var(--ink-soft);
}

.section-rule {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin: 64px 0 8px;
}

.section-rule h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 27px;
  margin: 0;
  white-space: nowrap;
}

.section-rule .note {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  white-space: nowrap;
}

.section-rule::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid var(--ink);
  transform: translateY(-4px);
}

/* ---------- the warning box (site signature) ---------- */

.warning {
  margin: 72px auto 0;
  max-width: 560px;
  border: 2px solid var(--ink);
  padding: 12px 16px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--ink);
  background: var(--white);
  text-align: left;
}

.warning strong { letter-spacing: 0.08em; }

.site-foot {
  margin: 28px auto 0;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 56px;
}

.site-foot a { color: inherit; }

/* ---------- icon row (matchbook strip) ---------- */

.matchbook {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.matchbook a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 62px;
  padding: 10px 4px 8px;
  color: var(--ink-soft);
  text-decoration: none;
  border: 1px solid transparent;
  transition: color 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.matchbook a:hover,
.matchbook a:focus-visible {
  color: var(--rust);
  border-color: var(--line);
  transform: translateY(-2px);
}

.matchbook svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.matchbook .lbl {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
