/* Kthelo — base styles. Colors/type per brand/BRAND_GUIDELINES.md. */
:root {
  --color-primary: #B5512F;   /* Terracotta */
  --color-cta: #5F6F3F;       /* Olive */
  --color-bg: #F6F0E6;        /* Warm Stone */
  --color-text: #2E241C;      /* Deep Umber */
  --font-headline: "Fraunces", Georgia, serif;
  --font-body: "Karla", -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3, .brand-wordmark {
  font-family: var(--font-headline);
  color: var(--color-primary);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: 2.4rem; }
h2 { font-size: 1.55rem; }
h3 { font-size: 1.25rem; }

/* Terracotta on Warm Stone measures 4.43:1 — passes WCAG AA for large text (headlines above
   use it safely) but fails AA for normal-size text (needs 4.5:1). Regular links/nav use Olive
   instead (4.83:1, real AA pass) rather than Terracotta at body-text size. Computed with the
   real WCAG relative-luminance formula 2026-07-05, not estimated. */
a { color: var(--color-cta); }
.brand-wordmark { font-size: 1.4rem; font-weight: 700; } /* large enough to keep Terracotta AA-compliant */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

nav.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

nav.site-nav a { text-decoration: none; font-weight: 700; }

.cta-button {
  display: inline-block;
  background: var(--color-cta);
  color: #fff;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-family: var(--font-body);
}
.cta-button:hover { opacity: 0.92; }

section { padding: 3rem 0; }

#hero { padding-top: 2rem; }

#hero .hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}
#hero .hero-copy { flex: 1 1 420px; }
#hero .hero-media { flex: 1 1 380px; }
#hero img { width: 100%; height: auto; border-radius: 10px; }

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.pillar {
  background: #fff;
  border-radius: 8px;
  padding: 1.25rem;
}

footer {
  padding: 2rem 0;
  font-size: 0.85rem;
  opacity: 0.8;
}

@media (max-width: 600px) {
  h1 { font-size: 1.9rem; }
}
