/* ── RESET & ROOT ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:     #0a1a0d;
  --deep:    #111f14;
  --forest:  #1a2e1e;
  --bark:    #243028;
  --moss:    #3d5c38;
  --sage:    #6b8f63;
  --mist:    #a8c4a0;
  --frost:   #d4e4cf;
  --linen:   #f2ede4;
  --parchment: #e8e1d4;
  --gold:    #c4a24a;
  --gold-lt: #e8d49a;
  --leaf:    #5a9e2f;
  --leaf-lt: #7ac240;
  --white:   #faf8f4;
  --text:    #1a1a16;
  --muted:   #5c5c50;
  --subtle:  #8c8c7c;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--deep);
  color: var(--frost);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────────────────────── */
.serif        { font-family: 'Cormorant Garamond', serif; }
.serif-italic { font-family: 'Cormorant Garamond', serif; font-style: italic; }

h1, h2, h3 { font-family: 'Cormorant Garamond', serif; font-weight: 300; line-height: 1.1; }

.display {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 1.0;
  letter-spacing: -0.01em;
}
.display em { font-style: italic; color: var(--mist); }

.heading-xl {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.12;
}
.heading-xl em { font-style: italic; color: var(--mist); }

.heading-lg {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1.18;
}
.heading-lg em { font-style: italic; color: var(--sage); }

.eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--sage);
  display: block;
  margin-bottom: 1rem;
}

.body-lg { font-size: 1rem; line-height: 1.8; font-weight: 300; color: var(--mist); }
.body-sm { font-size: 0.85rem; line-height: 1.75; font-weight: 300; color: var(--mist); }
.caption  { font-size: 0.7rem;  line-height: 1.6;  font-weight: 400; color: var(--sage); letter-spacing: 0.08em; }

/* ── NAVIGATION ───────────────────────────────────────────────────────────── */
.nav { position:sticky; top:0; z-index:100; background:rgba(10,26,13,0.95); backdrop-filter:blur(16px); border-bottom:1px solid rgba(107,143,99,0.12); padding:1.1rem 3rem; display:flex; align-items:center; justify-content:space-between; }
.nav-logo { text-decoration:none; display:flex; align-items:center; }
.nav-links { display:flex; gap:2.5rem; list-style:none; }
.nav-links a { font-size:0.72rem; letter-spacing:0.16em; text-transform:uppercase; color:#ffffff; text-decoration:none; font-weight:400; transition:color 0.3s; }
.nav-links a:hover { color:#5a9e2f; opacity:1; }
.nav-dropdown { position:relative; }
.nav-dropdown > a { cursor:pointer; user-select:none; }
.nav-dropdown-menu { display:none; position:absolute; top:100%; left:50%; transform:translateX(-50%); background:var(--forest); border:1px solid rgba(107,143,99,0.2); min-width:230px; z-index:200; padding:0.6rem 0; }
.nav-dropdown-menu::before { content:''; position:absolute; top:-12px; left:0; right:0; height:12px; }
.nav-dropdown.open .nav-dropdown-menu { display:block; }
.nav-dropdown:hover .nav-dropdown-menu { display:block; }
.nav-dropdown-menu a { display:block; padding:0.65rem 1.4rem; font-size:0.75rem; color:#ffffff; text-decoration:none; letter-spacing:0.03em; opacity:1; transition:background 0.2s, color 0.2s; text-transform:none; }
.nav-dropdown-menu a:hover { background:rgba(118,179,59,0.15); color:var(--frost); }
.nav-cta { font-size:0.68rem; letter-spacing:0.14em; text-transform:uppercase; padding:0.6rem 1.5rem; border:1px solid rgba(118,179,59,0.45); color:#a8d878; text-decoration:none; font-weight:400; transition:all 0.3s; }
.nav-cta:hover { background:#5a9e2f; border-color:#5a9e2f; color:#fff; }

/* ── LAYOUT ───────────────────────────────────────────────────────────────── */
.container       { max-width: 1140px; margin: 0 auto; padding: 0 3rem; }
.container-sm    { max-width: 780px;  margin: 0 auto; padding: 0 3rem; }
.section         { padding: 7rem 3rem; }
.section-sm      { padding: 5rem 3rem; }
.section-dark    { background: var(--ink); }
.section-deep    { background: var(--deep); }
.section-forest  { background: var(--forest); }
.section-linen   { background: var(--linen); color: var(--text); }
.section-parch   { background: var(--parchment); color: var(--text); }

/* ── DIVIDERS ─────────────────────────────────────────────────────────────── */
.divider        { width: 40px; height: 1px; background: var(--sage); margin: 1.5rem 0; }
.divider-gold   { width: 40px; height: 1px; background: var(--gold); margin: 1.5rem 0; }
.divider-center { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-block; font-family: 'DM Sans', sans-serif;
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 0.9rem 2.2rem; text-decoration: none; font-weight: 400;
  transition: all 0.3s; cursor: pointer; border: none;
}
.btn-primary   { background:#5a9e2f;color:#fff; }
.btn-primary:hover { background: #3a6c1a; }
.btn-gold      { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-lt); }
.btn-outline   { border: 1px solid rgba(107,143,99,0.5); color: var(--mist); background: transparent; }
.btn-outline:hover { border-color: var(--sage); color: var(--frost); }
.btn-outline-gold { border: 1px solid rgba(196,162,74,0.4); color: var(--gold-lt); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-ghost { color: var(--mist); text-decoration: none; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; border-bottom: 1px solid rgba(168,196,160,0.3); padding-bottom: 2px; transition: all 0.3s; }
.btn-ghost:hover { color: var(--frost); border-color: var(--mist); }

/* ── CARDS ────────────────────────────────────────────────────────────────── */
.card-dark {
  background: var(--forest);
  border: 1px solid rgba(107,143,99,0.15);
  padding: 2rem;
}
.card-linen {
  background: var(--linen);
  border: 1px solid rgba(107,143,99,0.12);
  padding: 2rem;
  color: var(--text);
}
.card-parch {
  background: var(--parchment);
  border: 1px solid rgba(107,143,99,0.1);
  padding: 2rem;
  color: var(--text);
}
.card-inset {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(107,143,99,0.12);
  padding: 2rem;
}

/* ── STAT BLOCKS ──────────────────────────────────────────────────────────── */
.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.2rem; font-weight: 300; line-height: 1;
  color: var(--white);
}
.stat-unit { font-size: 0.75rem; color: var(--sage); margin-left: 0.3rem; }
.stat-label { font-size: 0.65rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sage); margin-top: 0.3rem; display: block; }

/* ── FORMS ────────────────────────────────────────────────────────────────── */
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(107,143,99,0.2);
  color: var(--frost); font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem; font-weight: 300; outline: none;
  transition: border-color 0.3s;
}
.form-input::placeholder, .form-textarea::placeholder { color: rgba(168,196,160,0.35); }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--sage); }
.form-label { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sage); font-weight: 500; display: block; margin-bottom: 0.5rem; }
.form-textarea { resize: none; height: 130px; }

/* ── SLIDERS ──────────────────────────────────────────────────────────────── */
input[type=range] {
  -webkit-appearance: none; width: 100%; height: 2px;
  background: rgba(107,143,99,0.25); border-radius: 1px; outline: none; cursor: pointer;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: var(--leaf); border: 2px solid var(--deep);
  box-shadow: 0 0 0 1px var(--sage);
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */
.footer { background: var(--ink); border-top: 1px solid rgba(107,143,99,0.1); padding: 5rem 3rem 2.5rem; }
.footer-logo-text { font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); }
.footer-col h4 { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { font-size: 0.82rem; color: rgba(168,196,160,0.5); text-decoration: none; font-weight: 300; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--mist); }
.footer-bottom { border-top: 1px solid rgba(107,143,99,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.72rem; color: rgba(168,196,160,0.3); font-weight: 300; }
.footer-bottom a { color: rgba(168,196,160,0.3); text-decoration: none; }

/* ── UTILITIES ────────────────────────────────────────────────────────────── */
.text-mist   { color: var(--mist); }
.text-sage   { color: var(--sage); }
.text-gold   { color: var(--gold-lt); }
.text-frost  { color: var(--frost); }
.text-linen  { color: var(--linen); }
.text-ink    { color: var(--text); }
.text-muted-dark { color: var(--muted); }
.bg-dark  { background: var(--deep); }
.bg-ink   { background: var(--ink); }
.bg-forest { background: var(--forest); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.gold-line { width: 1px; background: linear-gradient(to bottom, transparent, var(--gold), transparent); }
.fade-in { opacity: 0; transform: translateY(20px); animation: fadeUp 0.7s forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ── SCROLL INDICATOR ─────────────────────────────────────────────────────── */
.scroll-line { width: 1px; height: 70px; background: rgba(107,143,99,0.25); position: relative; overflow: hidden; }
.scroll-line::after { content:''; position:absolute; top:-70px; left:0; width:1px; height:70px; background: var(--mist); animation: drop 2s 1.5s infinite; }
@keyframes drop { from{top:-70px} to{top:70px} }

/* ── COOKIE BANNER ────────────────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
  background: var(--ink); border-top: 1px solid rgba(107,143,99,0.2);
  padding: 1.2rem 3rem; display: flex; align-items: center;
  justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  transform: translateY(100%); transition: transform 0.4s ease;
}
.cookie-banner.show { transform: translateY(0); }
.cookie-text { font-size: 0.8rem; line-height: 1.6; font-weight: 300; color: var(--mist); flex: 1; min-width: 200px; }
.cookie-text a { color: var(--gold-lt); }
.cookie-actions { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-accept { background:#5a9e2f;color:#fff; border: none; padding: 0.55rem 1.3rem; font-family: 'DM Sans',sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.cookie-decline { background: transparent; color: var(--subtle); border: 1px solid rgba(107,143,99,0.2); padding: 0.55rem 1.1rem; font-family: 'DM Sans',sans-serif; font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }

/* ── HAMBURGER ─────────────────────────────────────────────────────────────── */
.nav-toggle { display:none; flex-direction:column; justify-content:space-between; width:24px; height:17px; background:none; border:none; cursor:pointer; padding:0; flex-shrink:0; }
.nav-toggle span { display:block; width:100%; height:1.5px; background:#ffffff; transition:transform 0.25s, opacity 0.25s; transform-origin:center; }
.nav.nav-open .nav-toggle span:nth-child(1),
.topbar.nav-open .topbar-toggle span:nth-child(1) { transform:translateY(7.75px) rotate(45deg); }
.nav.nav-open .nav-toggle span:nth-child(2),
.topbar.nav-open .topbar-toggle span:nth-child(2) { opacity:0; }
.nav.nav-open .nav-toggle span:nth-child(3),
.topbar.nav-open .topbar-toggle span:nth-child(3) { transform:translateY(-7.75px) rotate(-45deg); }

/* Mobile overlay nav (tool pages) */
.mob-nav-overlay { display:none; position:fixed; top:0; left:0; right:0; bottom:0; z-index:300;
  background:rgba(10,26,13,0.97); flex-direction:column; padding:5rem 2rem 2rem;
  overflow-y:auto; }
.mob-nav-overlay.open { display:flex; }
.mob-nav-overlay a { color:#ffffff; text-decoration:none; font-size:0.9rem; padding:0.9rem 0;
  border-bottom:1px solid rgba(107,143,99,0.12); letter-spacing:0.06em; }
.mob-nav-overlay a:hover { color:#a8c4a0; }
.mob-nav-label { font-size:0.6rem; letter-spacing:0.22em; text-transform:uppercase;
  color:#6b8f63; font-weight:500; padding-top:1.5rem; padding-bottom:0.3rem; }

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding:0.9rem 1.5rem; flex-wrap:wrap; }
  .nav-toggle { display:flex; margin-left:auto; }
  .nav-links { display:none; order:10; width:100%; flex-direction:column; gap:0;
    border-top:1px solid rgba(107,143,99,0.1); margin-top:0.4rem; padding-bottom:0.5rem; }
  .nav.nav-open .nav-links { display:flex; }
  .nav-links li { border-bottom:1px solid rgba(107,143,99,0.08); }
  .nav-links a { display:block; padding:0.8rem 0; font-size:0.78rem; }
  .nav-cta { display:none; }
  .nav-dropdown-menu { position:static; transform:none; box-shadow:none; border:none;
    border-left:2px solid rgba(107,143,99,0.2); margin-left:1rem; padding:0.2rem 0;
    background:transparent; }
  .nav-dropdown-menu a { padding:0.55rem 1rem; font-size:0.75rem; }
  .topbar-toggle { display:flex !important; }
  .section, .section-sm { padding: 5rem 1.5rem; }
  .container, .container-sm { padding: 0 1.5rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer { padding: 4rem 1.5rem 2rem; }
  .cookie-banner { padding: 1rem 1.5rem; }
}


/* PAGE EXTRAS */
.page { max-width: 900px; margin: 0 auto; padding: 5rem 2rem 7rem; background: var(--linen); }
.page-wide { max-width: 1140px; margin: 0 auto; padding: 5rem 2rem 7rem; background: var(--linen); }
.ph { text-align: center; margin-bottom: 4rem; }
.ph h1 { font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(2.2rem,4vw,3.2rem); color: var(--forest); margin-bottom: 1rem; }
.ph h1 em { font-style: italic; color: var(--moss); }
.sub { font-size: 1rem; line-height: 1.8; font-weight: 300; color: var(--muted);
  max-width: 600px; margin: 0 auto; opacity: 0.9; }
.note { font-size: 0.75rem; color: var(--moss); line-height: 1.7; font-style: italic; }

/* Card */
.card { background: #fff; border: 1px solid rgba(107,143,99,0.15); padding: 2rem; margin-bottom: 1px; color: var(--text); }

/* FAQ accordion arrow */
.arr { transition: transform 0.3s; display: inline-block; }
.arr.open { transform: rotate(180deg); }

/* Footer */
.footer { background: var(--ink); border-top: 1px solid rgba(107,143,99,0.08); padding: 4rem 2rem 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; max-width: 1140px; margin: 0 auto 3rem; }
.footer-brand { }
.logo-foot { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 300; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); display: block; margin-bottom: 0.8rem; }
.footer-col h4 { font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); font-weight: 500; margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { font-size: 0.78rem; color: rgba(168,196,160,0.4); text-decoration: none; font-weight: 300; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--mist); }
.footer-bottom { border-top: 1px solid rgba(107,143,99,0.08); padding-top: 1.5rem; display: flex; justify-content: space-between; max-width: 1140px; margin: 0 auto; }
.footer-bottom p, .footer-bottom a { font-size: 0.68rem; color: rgba(168,196,160,0.25); font-weight: 300; text-decoration: none; }
@media(max-width:900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width:600px) { .footer-top { grid-template-columns: 1fr; } }
