/* ───────────────────────────────────────────────────────────────
   Gnomon — production stylesheet
   gnomon.info · the marketing site
   Brand direction v1, semi-literal tone (Tone B)
   See: pragticality-docs/strategic_package/24_gnomon_brand_direction.md
   ─────────────────────────────────────────────────────────────── */

/* === Palette === */
:root {
  --paper:        #FFFFFF;
  --paper-warm:   #FBFAF7;
  --fog:          #F4F5F7;
  --fog-deep:     #E9EBEF;
  --deep:         #0F172A;
  --graphite:     #1F2937;
  --slate:        #374151;
  --mute:         #6B7280;
  --soft:         #9CA3AF;
  --line:         #D1D5DB;
  --line-soft:    #E5E7EB;
  --copper:       #B45E3C;
  --copper-soft:  #D4886A;
  --copper-faint: #F2DDD2;
}

/* === Reset + base === */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  background: var(--paper);
  color: var(--deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--copper); text-decoration: none; }
a:hover { border-bottom: 1px solid var(--copper); }

em { font-style: italic; }
strong { font-weight: 500; }

/* === Container === */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* === The gnomon mark ornament ===
   Right triangle, vertical edge left (rod),
   horizontal edge bottom (dial), hypotenuse top-left → bottom-right.
   Rendered inline via CSS clip-path so it scales with the surrounding type. */
.gnomon-mark {
  display: inline-block;
  width: 0.48em;
  height: 0.66em;
  background: var(--copper);
  clip-path: polygon(0% 0%, 0% 100%, 100% 100%);
  margin-right: 0.18em;
  transform: translateY(0.02em);
  vertical-align: baseline;
}

/* === Site header === */
.site-header {
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.wordmark {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--deep);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: baseline;
}
.wordmark:hover { border-bottom: none; }
.nav {
  display: flex;
  gap: 28px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
}
.nav a {
  color: var(--mute);
  border-bottom: none;
}
.nav a:hover { color: var(--deep); border-bottom: none; }
.nav a.active { color: var(--copper); }

/* === Hero === */
.hero {
  padding: 80px 0 88px;
  border-bottom: 1px solid var(--line-soft);
}
.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 28px;
}
.hero h1 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--deep);
  margin-bottom: 28px;
  max-width: 880px;
}
.hero h1 em { color: var(--slate); }
.hero-sub {
  font-family: 'IBM Plex Serif', serif;
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 680px;
  margin-bottom: 40px;
}
.hero-sub em { font-style: italic; }
.hero-ctas {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.cta-primary {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--deep);
  color: var(--paper);
  padding: 14px 28px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--deep);
  transition: background 0.15s, color 0.15s;
}
.cta-primary:hover {
  background: var(--copper);
  color: var(--paper);
  border-color: var(--copper);
  border-bottom: 1px solid var(--copper);
}
.cta-secondary {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: 15px;
  color: var(--slate);
  border-bottom: 1px solid var(--copper);
  padding-bottom: 3px;
}
.cta-secondary:hover { color: var(--deep); }

.hero.compact { padding: 64px 0 56px; }
.hero.compact h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: 22px; }
.hero.compact .hero-sub { margin-bottom: 0; }

/* === Section === */
.section { padding: 88px 0; border-bottom: 1px solid var(--line-soft); }
.section.dense { padding: 64px 0 80px; }
.section.fog { background: var(--fog); }

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 18px;
}
.section h2 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--deep);
  margin-bottom: 24px;
  max-width: 820px;
}
.section h2 em { color: var(--slate); }
.section-lead {
  font-family: 'IBM Plex Serif', serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--slate);
  max-width: 720px;
  margin-bottom: 48px;
}
.section-lead em { font-style: italic; }

/* === Prose body (used in inner pages) === */
.prose {
  max-width: 720px;
  font-family: 'IBM Plex Serif', serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--slate);
}
.prose h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--deep);
  letter-spacing: -0.005em;
  margin-top: 56px;
  margin-bottom: 16px;
}
.prose h3:first-child { margin-top: 0; }
.prose p { margin-bottom: 18px; }
.prose p em { font-style: italic; }
.prose ul { margin: 0 0 22px 22px; }
.prose ul li { margin-bottom: 10px; }
.prose blockquote {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: 19px;
  color: var(--deep);
  border-left: 2px solid var(--copper);
  padding: 4px 0 4px 22px;
  margin: 28px 0;
  max-width: 640px;
}
.prose code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  background: var(--fog-deep);
  padding: 1px 6px;
  border-radius: 2px;
  color: var(--graphite);
}
.prose a { border-bottom: 1px solid rgba(180, 94, 60, 0.35); }
.prose a:hover { border-bottom-color: var(--copper); }

/* === Two/three-column grids === */
.cols-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 16px;
}
.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 16px;
}

.col h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 19px;
  color: var(--deep);
  letter-spacing: -0.005em;
  margin-bottom: 12px;
}
.col p {
  font-family: 'IBM Plex Serif', serif;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--slate);
}
.col .col-tag {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}

/* === Mono labels for technical/status content === */
.mono-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12.5px;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.mono-label strong { color: var(--deep); font-weight: 500; }

/* === Status pill (used on hero and venture cards) === */
.status-pill {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  border: 1px solid var(--copper);
  padding: 4px 10px;
  margin-bottom: 28px;
}

/* === The timeline diagram (Tone B's literalising visual) === */
.timeline-wrap {
  padding: 48px 40px 56px;
  background: var(--fog);
  border: 1px solid var(--line);
  margin-top: 16px;
}
.timeline-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.timeline-svg { width: 100%; height: auto; display: block; }
.timeline-legend {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  font-family: 'IBM Plex Serif', serif;
  font-size: 14px;
  color: var(--slate);
}
.timeline-legend .key {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-weight: 500;
  color: var(--deep);
}
.timeline-legend .key-swatch {
  display: inline-block;
  width: 14px;
  height: 14px;
}
.timeline-legend p {
  font-size: 13.5px;
  color: var(--mute);
  line-height: 1.5;
  max-width: 280px;
}
.timeline-example {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.55;
  color: var(--deep);
  max-width: 680px;
}
.timeline-example .lead-in {
  font-family: 'IBM Plex Mono', monospace;
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  margin-right: 12px;
}

/* === Pull quote / kernel statement === */
.kernel {
  padding: 64px 0;
  text-align: center;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--paper-warm);
}
.kernel blockquote {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  color: var(--deep);
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}
.kernel .attribution {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 20px;
}

/* === Two-tone boundary table (what we take / don't) === */
.boundary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  margin-top: 16px;
}
.boundary-col {
  padding: 36px 32px;
}
.boundary-col + .boundary-col { border-left: 1px solid var(--line); }
.boundary-col.take { background: var(--paper); }
.boundary-col.dont { background: var(--fog); }
.boundary-col h3 {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 18px;
  color: var(--deep);
  margin-bottom: 18px;
  letter-spacing: -0.005em;
}
.boundary-col h3 .check {
  display: inline-block;
  color: var(--copper);
  margin-right: 6px;
  font-family: 'IBM Plex Mono', monospace;
}
.boundary-col ul {
  list-style: none;
  margin: 0;
}
.boundary-col ul li {
  font-family: 'IBM Plex Serif', serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--slate);
  padding: 6px 0;
}

/* === Liquet teaser — sister offering === */
.liquet-teaser-section {
  padding: 72px 0;
  border-top: 2px solid var(--copper);
}
.liquet-teaser-section h2 {
  font-size: clamp(24px, 2.9vw, 30px);
  margin-bottom: 22px;
  max-width: 760px;
}
.liquet-teaser-section .section-lead {
  margin-bottom: 22px;
}
.liquet-teaser-section .section-lead:last-of-type {
  margin-bottom: 32px;
}
.liquet-teaser-section p strong {
  font-weight: 500;
  color: var(--deep);
}

.liquet-cta {
  display: inline-block;
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--copper);
  color: var(--paper);
  padding: 14px 28px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.liquet-cta:hover {
  background: var(--deep);
  color: var(--paper);
  border-color: var(--deep);
  border-bottom: 1px solid var(--deep);
}

/* === Footer === */
.site-footer {
  padding: 48px 0 56px;
  background: var(--fog);
  border-top: 1px solid var(--line-soft);
  margin-top: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}
.footer-mark {
  font-family: 'IBM Plex Serif', serif;
  font-weight: 500;
  font-size: 22px;
  color: var(--deep);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: baseline;
}
.site-footer h4 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 14px;
  font-weight: 500;
}
.site-footer p {
  font-family: 'IBM Plex Serif', serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--mute);
  max-width: 380px;
}
.site-footer a {
  display: block;
  font-family: 'IBM Plex Serif', serif;
  font-size: 14px;
  color: var(--slate);
  padding: 2px 0;
  border-bottom: none;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: var(--copper); border-bottom: none; }
.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--mute);
  letter-spacing: 0.04em;
}
.footer-bottom .footer-meta {
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.footer-bottom .footer-meta a {
  color: var(--mute);
  text-decoration: none;
  border-bottom: 1px dotted var(--line-soft);
  padding-bottom: 1px;
}
.footer-bottom .footer-meta a:hover {
  color: var(--ink);
  border-bottom-color: var(--ink);
}
.footer-bottom .footer-meta .sep { color: var(--line-soft); }
.footer-bottom em {
  font-family: 'IBM Plex Serif', serif;
  font-style: italic;
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}

/* === Responsive === */
@media (max-width: 900px) {
  .cols-2, .cols-3, .timeline-legend, .footer-grid, .boundary {
    grid-template-columns: 1fr;
  }
  .boundary-col + .boundary-col { border-left: none; border-top: 1px solid var(--line); }
  .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 600px) {
  .container { padding: 0 22px; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 64px 0; }
  .nav { gap: 18px; font-size: 11px; }
  .timeline-wrap { padding: 32px 22px 40px; }
}
