/* ===============================================================
   Hyphenify v2 — "Architectural Brief"
   An editorial / technical-spec aesthetic.
   Paper + ink + brand green, ruled layouts, serif display.
   =============================================================== */

/* === Design Tokens (Light Mode Default) === */
:root {
  /* Surfaces — paper */
  --paper: #f4f0e6;          /* cream paper */
  --paper-deep: #ebe6d6;     /* aged paper, for alt sections */
  --ink: #161616;            /* near-black ink */
  --ink-soft: #2a2a2a;       /* softer ink for body */
  --ink-muted: #6b6757;      /* faded ink, captions */
  --ink-faint: #b5b0a1;      /* very faint, dividers */

  /* Brand — used as solid block fills, not just accents */
  --brand: #558203;
  --brand-deep: #3e5c02;
  --brand-ink: #2a3f01;

  /* Accents */
  --rule: var(--ink);
  --rule-soft: var(--ink-faint);

  /* Type */
  --font-display: Georgia, 'Times New Roman', 'Source Serif Pro', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'Fira Code', 'Roboto Mono', Consolas, monospace;

  /* Layout */
  --max-width: 1080px;
  --gutter: 32px;
  --header-h: 56px;

  /* Rule weights */
  --rule-1: 1px;
  --rule-2: 2px;
  --rule-3: 4px;
}

/* === Dark Mode — Inverted "drafting paper" === */
body.dark {
  --paper: #0e0e0e;
  --paper-deep: #161616;
  --ink: #e8e3d6;
  --ink-soft: #c4beb0;
  --ink-muted: #8a8578;
  --ink-faint: #3a3a3a;

  --brand: #6aa304;          /* slightly brighter for dark bg */
  --brand-deep: #558203;
  --brand-ink: #2a3f01;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s ease, color 0.3s ease;
}

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

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--ink-faint);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s, color 0.2s;
}
a:hover {
  color: var(--brand);
  text-decoration-color: var(--brand);
}

/* === Accessibility === */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 16px;
  background: var(--ink); color: var(--paper);
  padding: 8px 16px; font-weight: 600; z-index: 999;
  text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; color: var(--paper); }

/* === Container === */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* === Header — horizontal rule, no fill === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--paper);
  z-index: 100;
  border-bottom: var(--rule-1) solid var(--rule);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: stretch;
  height: 100%;
  justify-content: space-between;
  gap: 16px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-logo {
  height: 28px;
  width: auto;
  filter: grayscale(0); /* keep brand color */
}

.header-brand {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.header-brand .brand-accent { color: var(--brand); font-style: italic; }

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-nav a {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: var(--rule-1) solid transparent;
}
.header-nav a:hover {
  color: var(--ink);
  border-bottom-color: var(--brand);
}

/* === Mobile menu === */
.menu-toggle {
  display: none;
  background: transparent;
  border: var(--rule-1) solid var(--ink);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  cursor: pointer;
}
.menu-toggle:hover { background: var(--ink); color: var(--paper); }

@media (max-width: 768px) {
  .menu-toggle { display: inline-flex; align-items: center; }

  .header-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: var(--rule-1) solid var(--rule);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .header-nav.open { max-height: 420px; }
  .header-nav a {
    padding: 16px var(--gutter);
    border-bottom: var(--rule-1) solid var(--ink-faint);
    border-top: 0;
  }
  .header-nav a:last-of-type { border-bottom: 0; }
}

/* === Theme toggle — same paper feel === */
.theme-toggle {
  background: transparent;
  border: var(--rule-1) solid var(--ink);
  color: var(--ink);
  font-size: 14px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: var(--font-mono);
  line-height: 1;
  transition: background 0.15s, color 0.15s;
}
.theme-toggle:hover { background: var(--ink); color: var(--paper); }

/* === Main content === */
main { padding-top: var(--header-h); }

/* === Section frame — heavy rules, generous space === */
.section {
  padding: 96px 0 80px;
  border-bottom: var(--rule-1) solid var(--rule-soft);
}
.section:last-of-type { border-bottom: none; }
.section-alt { background: var(--paper-deep); }

/* Section header — "drawing" style with number + label */
.section-header {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: baseline;
  margin-bottom: 56px;
  padding-bottom: 16px;
  border-bottom: var(--rule-1) solid var(--rule);
}

.section-header--spaced { margin-top: 80px; }

.section-number {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-muted);
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 400;
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 0;
}
.section-title .accent {
  color: var(--brand);
  font-style: italic;
}
.section-title .sect-dot {
  display: inline-block;
  font-size: 0.6em;
  vertical-align: middle;
  margin: 0 0.15em;
  color: var(--ink-muted);
}
.section-title .sect-hk {
  color: #ee2c2c;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Generic styled Lot·HK — use in any text context, scales with parent font */
.lp-glot {
  color: var(--brand);
  font-style: italic;
}
.lp-gdot {
  display: inline-block;
  font-size: 0.7em;
  vertical-align: middle;
  margin: 0 0.15em;
  color: var(--ink-muted);
}
.lp-ghk {
  color: #ee2c2c;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 640px;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* === HERO — editorial pull-quote, single column === */
.hero {
  padding: 120px 0 100px;
  border-bottom: var(--rule-2) solid var(--rule);
  position: relative;
}

.hero-primary { max-width: 880px; }

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: var(--rule-1);
  background: var(--ink);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6.5vw, 76px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0;
}
.hero h1 .accent {
  color: var(--brand);
  font-style: italic;
}

.hero-lede {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 20px);
  font-style: italic;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 520px;
  margin-top: 28px;
}

/* Hero donate (used in lotprobe hero right column) */
.hero-donate {
  /* Wrapper, no specific styles - lotprobe-block inside handles the design */
}

/* Stacked variant of lotprobe-block (single column, compact) */
.lotprobe-block.lotprobe-block--stacked {
  grid-template-columns: 1fr;
  padding: 24px 20px;
  gap: 12px;
}
.lotprobe-block.lotprobe-block--stacked h3 {
  font-size: 22px;
  margin-bottom: 8px;
  line-height: 1.3;
}
.lotprobe-block.lotprobe-block--stacked p {
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Inline channel list (used in hero donate block) */
.donate-channels {
  font-size: 13px;
  color: var(--ink-soft);
  font-style: italic;
}
.donate-soon {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  border: 1px solid var(--brand);
  padding: 1px 5px;
  margin-left: 4px;
  font-style: normal;
  vertical-align: 2px;
}

/* Smaller footnote (used at the bottom of donate blocks) */
.donate-footnote {
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-muted);
  font-style: italic;
  margin-top: 0;
  padding-top: 10px;
  border-top: var(--rule-1) solid var(--rule-soft);
}

/* Compact donate row (smaller QRs, smaller text) */
.donate-row--compact {
  gap: 10px;
}
.donate-row--compact .donate-qr {
  width: 60px;
  height: 60px;
  font-size: 10px;
  margin-bottom: 6px;
}
.donate-row--compact .donate-label {
  font-size: 11px;
  line-height: 1.3;
}
.donate-row--compact .donate-badge {
  margin-top: 4px;
  font-size: 9px;
}

/* Server time note below QR boxes in hero donate (with divider) */
.lotprobe-block.lotprobe-block--stacked .donate-hero-note {
  font-size: 12px;
  line-height: 1.5;
  color: var(--ink-muted);
  font-style: italic;
  margin: 0;
  padding-top: 14px;
  border-top: var(--rule-1) solid var(--rule-soft);
}

/* Hero actions */
.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* === Buttons — outlined, no rounded === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  border: var(--rule-2) solid var(--ink);
  background: transparent;
  color: var(--ink);
  line-height: 1;
  transition: all 0.15s ease;
}
.btn:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: var(--paper);
}
.btn-primary:hover {
  background: var(--brand-deep);
  border-color: var(--brand-deep);
  color: var(--paper);
}

/* === ABOUT — 2-col with giant stat block === */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-text p { margin-bottom: 22px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong {
  font-weight: 600;
  color: var(--ink);
}

/* Stats — "field data" column */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: var(--rule-1) solid var(--rule);
  border-left: var(--rule-1) solid var(--rule);
}
.stat {
  border-right: var(--rule-1) solid var(--rule);
  border-bottom: var(--rule-1) solid var(--rule);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 120px;
}
.stat-value {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 12px;
}

/* === CAPABILITIES — numbered spec list === */
.cap-list {
  list-style: none;
  counter-reset: cap;
  border-top: var(--rule-1) solid var(--rule);
}
.cap-item {
  counter-increment: cap;
  display: grid;
  grid-template-columns: 80px 1fr 1.6fr;
  gap: 32px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: var(--rule-1) solid var(--rule-soft);
  transition: padding-left 0.2s ease, border-color 0.2s ease;
}
.cap-item:hover {
  padding-left: 12px;
  border-bottom-color: var(--brand);
}
.cap-item::before {
  content: counter(cap, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.cap-item:hover::before { color: var(--brand); }

.cap-name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.cap-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* === APPROACH — leader-dotted spec list === */
.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.approach-intro {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
}
.approach-intro p { margin-bottom: 18px; }

.spec-list {
  list-style: none;
  border-top: var(--rule-1) solid var(--rule);
}
.spec-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: var(--rule-1) solid var(--rule-soft);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.spec-item:hover { color: var(--ink); }

.spec-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  flex-shrink: 0;
}

.spec-leader {
  border-bottom: 1px dotted var(--ink-faint);
  height: 1px;
  margin: 0 6px;
  align-self: center;
  min-width: 16px;
}

/* === LOTPROBE — "spec card" with stamp === */
.lotprobe-block {
  border: var(--rule-2) solid var(--ink);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  background: var(--paper);
  position: relative;
}

.lotprobe-stamp {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--paper);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  border: var(--rule-1) solid var(--brand);
}

.lotprobe-block h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}
.lotprobe-block > div > p {
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 24px;
}

.donate-block {
  border-top: var(--rule-1) solid var(--rule-soft);
  padding-top: 24px;
}
.donate-block h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.donate-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.donate-item {
  border: var(--rule-1) dashed var(--ink-faint);
  padding: 16px;
  text-align: center;
}
.donate-qr {
  width: 96px; height: 96px;
  margin: 0 auto 10px;
  border: var(--rule-1) dashed var(--ink-faint);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.05em;
}
.donate-label {
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}
.donate-badge {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  border: var(--rule-1) solid var(--brand);
  padding: 1px 6px;
}

.footnote {
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 20px;
  font-style: italic;
  line-height: 1.5;
}

/* === Comment form (Support section) === */
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.comment-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.comment-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.comment-field input,
.comment-field textarea {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--ink);
  background: var(--paper);
  border: var(--rule-1) solid var(--ink-faint);
  padding: 10px 12px;
  outline: none;
  transition: border-color 0.15s;
}
.comment-field input:focus,
.comment-field textarea:focus {
  border-color: var(--brand);
}
.comment-form .btn {
  align-self: flex-start;
}

/* Comment list display */
.comment-list {
  margin-top: 24px;
  border-top: var(--rule-1) solid var(--rule-soft);
  padding-top: 16px;
}
.comment-list:empty {
  display: none;
}
.comment-item {
  padding: 12px 0;
  border-bottom: var(--rule-1) solid var(--rule-soft);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.comment-item:last-child {
  border-bottom: none;
}
.comment-item time {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}

/* === CONTACT — big display email + side panel === */
.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-intro {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 32px;
}

.contact-display {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  border-bottom: var(--rule-2) solid var(--ink);
  padding-bottom: 4px;
  display: inline-block;
  transition: color 0.2s, border-color 0.2s;
}
.contact-display:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* === Contact side panel (Office Hours block) === */
.contact-side {
  position: relative;
  padding-top: 14px; /* room for the stamp */
}
.contact-side .stamp-left { left: 0; }
.contact-card {
  border: var(--rule-2) solid var(--ink);
  padding: 32px 24px;
  background: var(--paper);
}
.contact-card-text {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  font-style: italic;
  margin-bottom: 16px;
}
.contact-card dl {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 8px 12px;
  font-size: 13px;
}
.contact-card dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-card dd { color: var(--ink); }

.contact-list {
  list-style: none;
  border-top: var(--rule-1) solid var(--rule);
  margin-top: 40px;
}
.contact-list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: var(--rule-1) solid var(--rule-soft);
  align-items: baseline;
  font-size: 14px;
}
.contact-list .contact-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact-list a { font-weight: 500; }
.contact-list .hint {
  font-size: 12px;
  color: var(--ink-muted);
  font-style: italic;
  margin-left: 8px;
}

/* === Footer — three-column, heavy top rule === */
.site-footer {
  border-top: var(--rule-3) solid var(--ink);
  padding: 40px 0 32px;
  background: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.footer-col p, .footer-col a, .footer-col li {
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.footer-col .company {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 6px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-col a {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.footer-col a:hover {
  color: var(--brand);
  border-bottom-color: var(--brand);
}

/* === LotProbe subpage === */
.lp-hero {
  padding: 96px 0 64px;
  border-bottom: var(--rule-2) solid var(--rule);
}
.lp-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: end;
}
.lp-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
}
.lp-hero h1 .accent { color: var(--brand); font-style: italic; }
.lp-hero h1 .lp-dot {
  display: inline-block;
  font-size: 1.5em;
  vertical-align: middle;
  margin: 0 0.2em;
  color: var(--ink-muted);
}
.lp-hero h1 .lp-hk {
  color: #ee2c2c;
  font-weight: 700;
  letter-spacing: 0.03em;
}
.lp-hero p {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--ink-soft);
  line-height: 1.55;
  max-width: 520px;
  margin-top: 24px;
}
.lp-hero .hero-actions { margin-top: 32px; }

.lp-content {
  max-width: 800px;
  margin: 0 auto;
}
.lp-content p {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.lp-content p strong { color: var(--ink); font-weight: 600; }

/* === Responsive === */
@media (max-width: 900px) {
  :root { --gutter: 24px; }

  .section-header {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 40px;
  }
  .section-title { font-size: 36px; }
  .section-subtitle { font-size: 17px; }

  .hero { padding: 80px 0 60px; }
  .hero-grid, .about-grid, .approach-grid, .contact-grid, .lp-hero-grid, .lotprobe-block {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .lotprobe-block { padding: 32px 24px; }
  .lotprobe-stamp { left: 24px; }
  .donate-row { grid-template-columns: 1fr; }

  .cap-item {
    grid-template-columns: 50px 1fr;
    gap: 16px;
  }
  .cap-item .cap-desc { grid-column: 1 / -1; padding-left: 0; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .stats { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --gutter: 20px; --header-h: 52px; }

  .section { padding: 64px 0 56px; }
  .section-title { font-size: 30px; }
  .section-subtitle { font-size: 16px; margin-top: 16px; }

  .hero { padding: 64px 0 48px; }
  .hero-actions { margin-top: 32px; }

  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 16px; min-height: 100px; }
  .stat-value { font-size: 28px; }
}

@media (max-width: 420px) {
  .stats { grid-template-columns: 1fr; }
  .cap-item { grid-template-columns: 40px 1fr; }
  .hero-eyebrow::before { width: 20px; }
}

/* === QR Lightbox === */
.qr-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.7);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.qr-lightbox.open {
  display: flex;
}
.qr-lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  width: 400px;
  border: 4px solid var(--paper);
  background: #fff;
  padding: 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  cursor: default;
}

/* === Print === */
@media print {
  .site-header, .menu-toggle, .skip-link { display: none; }
  body { background: #fff; color: #000; }
  .section, .hero, .lp-hero { padding: 24px 0; border-color: #000; }
  a { color: #000; text-decoration: underline; }
}
