/* --- Base --- */
:root {
    --bg-hero: #6b3f2b;      /* clay */
    --text-hero: #081C03;
    --bg: #ffffff;
    --text: #081C03;
    --muted: rgba(18, 18, 18, 0.68);
    --hairline: rgba(18, 18, 18, 0.12);
    --card: rgba(18, 18, 18, 0.03);
    --max: 980px;
  }
  
  * { box-sizing: border-box; }
  html, body {
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--text); }

  html { background: var(--bg); }
  
  body {
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.45;
  }

  html.clay,
  body.clay {
    background: var(--bg-hero);
    color: var(--text-hero);
  }
  
  html.light,
  body.light {
    background: var(--bg);
    color: var(--text);
  }

  body.clay .nav { color: rgba(8, 28, 3, 0.85); }
  body.light .nav { color: rgba(8, 28, 3, 0.85); } /* or a darker neutral */
  
  a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--hairline); }
  a:hover { border-bottom-color: rgba(18, 18, 18, 0.35); }
  
  h1, h2, h3 {
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
  }
  
  h1 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-size: 96px;   /* increase this */
    line-height: 1.05;
    letter-spacing: 0.01em;
  }
  
  h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-hero);
  }
  
  h3 {
    font-size: 18px;
    margin-top: 0;
  }
  
  p { margin: 0 0 12px 0; }
  
  /* --- Hero --- */
  .hero {
    min-height: 100vh;
    display: grid;
    place-items: center;
    background: var(--bg-hero);
    padding: 56px 24px;
  }
  
  .hero-inner {
    width: min(var(--max), 100%);
    text-align: center;
  }
  
  .subtitle {
    margin-top: 14px;
    font-size: 18px;
    color: rgba(8, 28, 3, 0.78);
  }
  
  .subsubtitle {
    margin: 16px auto 0 auto;
    max-width: 62ch;
    color: rgba(8, 28, 3, 0.68);
    font-size: 16px;
  }
  
  /* --- Layout --- */
  .container {
    width: min(var(--max), 100%);
    margin: 0 auto;
    padding: 56px 24px 84px;
    margin-top: 60px;
  }
  
  .section {
    padding: 28px 0;
    border-bottom: 1px solid var(--hairline);
  }
  
  .lead {
    max-width: 72ch;
    font-size: 18px;
    color: rgba(18, 18, 18, 0.88);
  }
  
  /* --- Figure --- */
  .figure {
    margin: 12px 0 0 0;
  }
  
  .figure img {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    background: white;
  }
  
  .figure figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
    max-width: 78ch;
  }
  
  /* --- Cards --- */
  .grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 14px;
    margin-top: 12px;
  }
  
  .card {
    grid-column: span 12;
    padding: 16px 16px 10px;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    background: var(--card);
  }
  
  .card p {
    color: var(--muted);
    max-width: 60ch;
  }
  
  .card ul {
    margin: 10px 0 0 18px;
    padding: 0;
  }
  
  .card li { margin: 8px 0; }
  
  /* 3 columns on wider screens */
  @media (min-width: 860px) {
    .card { grid-column: span 4; }
  }
  
  /* --- Questions --- */
  .questions {
    margin: 10px 0 0 18px;
    color: rgba(18, 18, 18, 0.88);
  }
  
  .questions li { margin: 10px 0; }
  
  /* --- Footer --- */
  .footer {
    padding-top: 22px;
    border-bottom: none;
  }
  
  .footer p { color: var(--muted); }
  .muted { color: var(--muted); }
  .dot { margin: 0 10px; color: rgba(18, 18, 18, 0.35); }

  /* --- Navigation --- */

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    z-index: 10;
    background: transparent;   /* no glass bar */
    border-bottom: none;       /* no divider line */
  }
  
  .nav a {
    border-bottom: none;
    opacity: 0.85;
    padding: 6px 2px;
    transition: opacity 0.2s ease;
  }
  
  .nav a:hover { opacity: 1; }
  
  .nav-center {
    display: flex;
    gap: 28px;
  }
  
  .nav-right {
    display: flex;
    gap: 20px;
  }

  .nav a.active {
    opacity: 1;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
  }

  .page {
    max-width: 760px;
    margin: 0 auto;
    padding: 120px 24px 120px; /* top padding creates breathing room */
  }
  
  .page h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
  }

  .page p:last-of-type {
    margin-bottom: 0.75rem;
  }
  
  .inquiry-diagram {
    text-align: center;
  }
  
  .inquiry-diagram img {
    width: 78%;
    max-width: 680px;
    height: auto;
    margin: 0 auto;
    display: block;
  }
  
  .inquiry-pillars {
    margin-top: 3rem;
  }
  
  .pillar {
    margin-bottom: 2rem;
  }

  /* Domains page helpers */
    .domain {
        margin-top: 2rem;
    }

    .domain p {
        max-width: 70ch;
    }

    .link-list {
        list-style: none;
        padding-left: 0;
        margin: 1.25rem 0 0 0;
    }

    .link-list li {
        margin: 0.75rem 0;
    }

    .link-list a {
        border-bottom: 1px solid rgba(8, 28, 3, 0.25);
    }

    .link-list a:hover {
        border-bottom-color: rgba(8, 28, 3, 0.6);
    }

    .question-list {
        list-style: none;
        padding-left: 0;
        margin-top: 2.5rem;
      }
      
      .question-list li {
        margin: 1.5rem 0;
        font-size: 20px;
        line-height: 1.5;
        max-width: 68ch;
      }

      body.questions .page { padding-bottom: 48px; }