/* Tokens now live in assets/base.css, the one stylesheet every page loads first.
   Do NOT redeclare brand colours here: a page-level :root loads AFTER base.css and
   would silently shadow it, which is the bug this rebrand fixed. */

html { scroll-behavior: smooth; }

body {
      font-family: 'Cabinet Grotesk', sans-serif;
      background: var(--paper);
      color: var(--ink-2);
      overflow-x: hidden;
    }

/* ---- Header ---- */

.site-header {
      background: var(--paper);
      border-bottom: 1px solid var(--rule);
      padding: 0 1.5rem;
      height: 68px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

.header-brand {
      font-family: 'Cabinet Grotesk', sans-serif;
      font-size: 0.78rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
      text-decoration: none;
    }

.header-back {
      font-family: 'Cabinet Grotesk', sans-serif;
      font-size: 0.78rem;
      color: var(--ink-3);
      text-decoration: none;
      transition: color 0.2s ease;
    }

.header-back:hover { color: var(--pop-deep); }

/* ---- Content ---- */

.content {
      max-width: 720px;
      margin: 0 auto;
      padding: 4rem 1.5rem 6rem;
    }

.page-label {
      font-size: 0.72rem;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--ink-3);
      margin-bottom: 0.75rem;
    }

h1 {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(2rem, 5vw, 3rem);
      font-weight: 400;
      color: var(--ink);
      line-height: 1.15;
      margin-bottom: 0.5rem;
    }

.updated {
      font-size: 0.8rem;
      color: var(--ink-3);
      margin-bottom: 3rem;
    }

.intro {
      font-size: 1rem;
      line-height: 1.8;
      color: var(--ink-2);
      padding-bottom: 2.5rem;
      border-bottom: 1px solid var(--rule);
      margin-bottom: 2.5rem;
    }

h2 {
      font-family: 'Cabinet Grotesk', sans-serif;
      font-size: 0.72rem;
      font-weight: 500;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--ink);
      margin-bottom: 1rem;
    }

/* Subsections. Same family as h2 but sentence case and slightly larger, so a subsection
   reads as a step down from its section rather than as a second section. */
h3 {
      font-family: 'Cabinet Grotesk', sans-serif;
      font-size: 0.9rem;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--ink);
      margin-top: 2rem;
      margin-bottom: 0.85rem;
    }

.section {
      margin-bottom: 2.75rem;
      padding-bottom: 2.75rem;
      border-bottom: 1px solid var(--rule);
    }

.section:last-child {
      border-bottom: none;
    }

p {
      font-size: 0.95rem;
      line-height: 1.85;
      color: var(--ink-2);
      margin-bottom: 1rem;
    }

p:last-child { margin-bottom: 0; }

ul, ol {
      padding-left: 1.4rem;
      margin-bottom: 1rem;
    }

li {
      font-size: 0.95rem;
      line-height: 1.85;
      color: var(--ink-2);
      margin-bottom: 0.3rem;
    }

a {
      color: var(--ink);
      text-decoration: underline;
      text-underline-offset: 3px;
    }

a:hover { opacity: 0.75; }

.highlight-box {
      background: var(--grad-note);
      border: 0;
      box-shadow: var(--panel-lift);
      border-radius: 6px;
      padding: 1.25rem 1.5rem;
      margin-top: 1.25rem;
    }

.highlight-box p {
      font-size: 0.9rem;
      margin-bottom: 0;
    }

/* ---- Footer ---- */

footer {
      background: var(--grad-note);
      border-top: 1px solid var(--rule);
      padding: 2rem 1.5rem;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.75rem;
      text-align: center;
    }

footer p {
      font-size: 0.82rem;
      color: var(--ink-3);
      margin-bottom: 0;
    }

footer a {
      font-size: 0.82rem;
      color: var(--ink-3);
      text-decoration: none;
    }

footer a:hover { color: var(--ink); }

.footer-links {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;
      justify-content: center;
    }

@media (min-width: 640px) {
      .site-header { padding: 0 3rem; }
      .content { padding: 5rem 3rem 7rem; }
    }

/* Real logo restored 2026-07-29, tinted to ink by base.css. */
.header-brand img { height: 38px; width: auto; display: block; }
