/* =========================================================
   A HELD SPACE — design system
   Concept: the vastness of a sunrise, and the groundedness
   held beneath it. Each service page sits at a different
   point on the same sunrise spectrum (dawn indigo → clay →
   gold) — one system, five distinct moments of the same sky.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@400;500;600;700;800&family=Karla:wght@400;500;600;700&display=swap');

:root{
  /* --- palette: named, sunrise-to-ground --- */
  --ink:        #1E1712;   /* grounding near-black — primary text / dark ground */
  --ink-soft:   #4A3E32;   /* softened ink for secondary text on light */
  --clay:       #C97B26;   /* horizon amber-ochre */
  --clay-deep:  #A35F19;
  --gold:       #E8A83B;   /* rising sun — warm yellow-gold */
  --gold-soft:  #F4C877;
  --dawn:       #ECDFC4;   /* warm sand — light section bg */
  --paper:      #FAF6ED;   /* near-white warm paper */
  --indigo:     #241A10;   /* deep predawn — near-black espresso, used sparingly, gradients only */
  --sage:       #2F4A38;   /* grounding forest green — secondary accent, stability */
  --sage-deep:  #1E3327;
  --line:       rgba(30,23,18,0.14);

  --font-display: 'Bitter', Georgia, serif;
  --font-body: 'Karla', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1120px;
  --radius: 10px;
  --radius-sm: 6px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; }
.eyebrow{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay-deep);
}
.section-light .eyebrow{ color: var(--clay); }

/* ---------- layout helpers ---------- */
.wrap{ max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.section{ padding: 88px 0; }
.section-tight{ padding: 56px 0; }
@media (max-width: 720px){
  .section{ padding: 56px 0; }
}

/* ---------- nav ---------- */
.top-bar{
  height: 4px;
  background: linear-gradient(90deg, var(--sage) 0%, var(--gold) 50%, var(--clay) 100%);
}
.site-nav{
  position: sticky; top:0; z-index: 50;
  background: rgba(251,246,238,0.98);
  border-bottom: 1px solid var(--line);
}
.site-nav .wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:16px; padding-bottom:16px;
}
.brand{
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
  display:flex; align-items:baseline; gap:8px;
}
.brand .brand-mark{
  display:inline-block; width:9px; height:9px; border-radius:50%;
  background: linear-gradient(135deg, var(--gold), var(--clay));
  transform: translateY(-1px);
}
.nav-links{
  display:flex; align-items:center; gap: 30px;
  list-style:none; margin:0; padding:0;
  font-size: 0.86rem; font-weight: 600;
}
.nav-links a{ text-decoration:none; color: var(--ink-soft); position:relative; }
.nav-links a:hover, .nav-links a[aria-current="page"]{ color: var(--clay-deep); }
.nav-links a[aria-current="page"]::after{
  content:""; position:absolute; left:0; right:0; bottom:-6px; height:2px;
  background: var(--clay);
}
.nav-cta{
  background: var(--ink); color: var(--paper) !important;
  padding: 9px 18px; border-radius: var(--radius);
  font-size: 0.82rem !important;
}
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:22px; height:2px; background:var(--ink); margin:5px 0; }
@media (max-width: 860px){
  .nav-links{
    position:fixed; inset: 61px 0 0 0; background: var(--paper);
    flex-direction:column; align-items:flex-start; padding: 32px 28px;
    gap: 22px; font-size: 1rem; transform: translateX(100%);
    transition: transform .32s ease; overflow-y:auto;
  }
  .nav-links.open{ transform: translateX(0); }
  .nav-toggle{ display:block; }
}

/* ---------- horizon arc — the signature motif ----------
   A single low arc + sun disc, echoed on every page.
   Colour/position shifts per page to mark that page's
   "moment" on the sunrise spectrum. */
.horizon{
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background-size: cover;
  background-position: center;
}
.horizon-sun{ display:none; }
.horizon-sun-core{ display:none; }
.hero-sun{
  position:absolute; left:50%; bottom: -30px; transform: translateX(-50%);
  width: 260px; height: 260px;
  z-index:1;
  pointer-events:none;
}
@media (max-width: 720px){
  .hero-sun{ width: 170px; height: 170px; bottom: -14px; }
}
.hero-treeline{
  position:absolute; left:-2%; right:-2%; bottom:-1px; width:104%;
  z-index:2; line-height:0; pointer-events:none;
}
.hero-treeline svg{ width:100%; height:auto; display:block; }
.horizon-line{ display:none; }
.horizon .wrap{ position:relative; z-index:2; }
.horizon-inner{
  padding: 130px 0 108px;
  max-width: 720px;
}
@media (max-width: 720px){
  .horizon-inner{ padding: 84px 0 76px; }
  .horizon-sun{ width:380px; height:380px; bottom:-110px; }
  .horizon-sun-core{ width:96px; height:96px; bottom:-22px; }
}
.horizon .eyebrow{ color: rgba(251,246,238,0.9); }
.horizon h1{ color: var(--paper); font-size: clamp(2.1rem, 5vw, 3.4rem); text-shadow: 0 2px 24px rgba(20,15,10,0.4); }
.horizon .lede{ color: rgba(251,246,238,0.96); font-size: 1.14rem; max-width: 58ch; text-shadow: 0 1px 16px rgba(20,15,10,0.35); }

/* organic wave divider between the hero photo and the page body below */
.horizon-wave{ position:absolute; left:0; right:0; bottom:-1px; line-height:0; z-index:3; }
.horizon-wave svg{ width:100%; height:56px; display:block; }
@media (max-width:720px){ .horizon-wave svg{ height:34px; } }

/* small horizon divider used mid-page */
.divider-arc{ display:block; width:100%; height:auto; margin: 0 auto; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 13px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-weight:700; font-size:0.92rem;
  text-decoration:none; border:1.5px solid transparent; cursor:pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--clay-deep); }
.btn-ghost{ background: transparent; color: var(--paper); border-color: rgba(251,246,238,0.55); }
.btn-ghost:hover{ background: rgba(251,246,238,0.14); }
.btn-outline{ background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: var(--paper); }

/* ---------- cards / grids ---------- */
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.grid-auto{ display:grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; }
.grid-2{ display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 960px){ .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 640px){ .grid-4, .grid-2{ grid-template-columns: 1fr; } }

.card{
  background: var(--paper); border-radius: var(--radius);
  padding: 28px 26px; border: 1px solid var(--line);
  box-shadow: 0 1px 3px rgba(36,28,21,0.05);
  text-decoration:none; color: var(--ink); display:flex; flex-direction:column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
  border-top: 3px solid var(--clay);
}
.card:nth-of-type(3n+2){ border-top-color: var(--sage); }
.card:nth-of-type(3n+3){ border-top-color: var(--gold); }
.card:hover{ border-color: var(--line); border-top-color: var(--clay); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(36,28,21,0.09); }
.card h3{ font-size: 1.18rem; margin-bottom:0.4em; }
.card p{ color: var(--ink-soft); font-size:0.95rem; margin-bottom:1.1em; }
.card .card-link{ margin-top:auto; font-size:0.82rem; font-weight:700; color: var(--clay-deep); }

.pill-list{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:10px; }
.pill-list li{
  background: var(--paper); border:1px solid var(--line);
  padding: 9px 16px; border-radius: 999px; font-size:0.88rem; font-weight:600;
}

.section-light{ background: var(--paper); }
.section-dawn{ background: var(--dawn); }
.section-ground{ background: var(--ink); color: var(--paper); }
.section-ground .eyebrow{ color: var(--gold-soft); }
.section-ground h2{ color: var(--paper); }
.section-ground p{ color: rgba(251,246,238,0.82); }

.two-col{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items:start; }
@media (max-width: 860px){ .two-col{ grid-template-columns:1fr; gap:32px; } }

.stat-row{ display:flex; flex-wrap:wrap; gap: 40px; margin-top: 20px; }
.stat-row div{ min-width: 140px; }
.stat-row .num{ font-family: var(--font-display); font-size: 2.1rem; color: var(--clay-deep); }
.stat-row .label{ font-size:0.82rem; color: var(--ink-soft); font-weight:600; }

blockquote{
  font-family: var(--font-display); font-weight:600;
  font-size: 1.3rem; line-height:1.5; color: var(--ink);
  border-left: 3px solid var(--clay); padding-left: 22px; margin: 0;
}

.note{
  border: 1px dashed var(--clay);
  background: rgba(177,88,60,0.06);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.note strong{ color: var(--clay-deep); }

/* ---------- footer ---------- */
.site-footer{ background: var(--ink); color: rgba(251,246,238,0.75); padding: 56px 0 34px; }
.site-footer .wrap{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; }
@media (max-width:720px){ .site-footer .wrap{ grid-template-columns:1fr; gap:28px; } }
.site-footer h4{ color: var(--paper); font-family: var(--font-body); font-size:0.8rem; letter-spacing:0.1em; text-transform:uppercase; margin-bottom:14px; }
.site-footer a{ color: rgba(251,246,238,0.75); text-decoration:none; font-size:0.92rem; }
.site-footer a:hover{ color: var(--gold-soft); }
.site-footer ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; }
.footer-bottom{
  max-width: var(--container); margin: 40px auto 0; padding: 22px 28px 0;
  border-top: 1px solid rgba(251,246,238,0.14);
  font-size: 0.78rem; color: rgba(251,246,238,0.5);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px;
}

/* ---------- misc ---------- */
.center{ text-align:center; }
.mx-auto{ margin-left:auto; margin-right:auto; }
.max-58{ max-width: 58ch; }
.mb-tight h2{ margin-bottom: 14px; }
