/* Point Eight — shared site stylesheet
 *
 * Every public page (index, products, careers) loads this for:
 *   variables · reset · nav · footer · section shell · eyebrow ·
 *   section-head · btn-primary / btn-secondary · em.display · focus ring
 *
 * Page-specific blocks (hero h1 sizing, product cards, role cards, etc.)
 * live in each page's own <style>.
 *
 * Legal pages use legal-shell.css and do not load this file.
 */

:root {
  /* Morning palette (brand-v3) */
  --leaf: #4A8A3E;
  --leaf-deep: #2E5F25;
  --leaf-soft: #DAE9D4;
  --amber: #D4A373;
  --amber-deep: #A67A3F;
  --amber-soft: #F2E1C9;
  --pearl: #FAFAF7;
  --pearl-deep: #F1EEE5;
  --silver-50: #F7F5EF;
  --silver-100: #ECE9DF;
  --silver-200: #D6D2C4;
  --silver-400: #A5A196;
  --silver-600: #6A675E;
  --ink: #0E1410;
  --ink-2: #2C3229;
  --ink-3: #5D6356;
  --ink-4: #9AA194;
  --border: #E5E1D4;
  --rule: #CDCAB9;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--pearl);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

*:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--pearl), 0 0 0 4px var(--leaf);
  border-radius: 2px;
}

em.display {
  font-family: var(--serif);
  font-style: italic;
  color: var(--leaf-deep);
  font-weight: 400;
}

/* -------- Nav -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px;
  background: color-mix(in srgb, var(--pearl) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) { .nav { padding: 16px 48px; } }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-mark { width: 26px; height: 26px; flex-shrink: 0; }
.nav-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.nav-name em { font-style: italic; }
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
}
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a { transition: color 0.15s; }
.nav-links a:hover { color: var(--leaf-deep); }
.nav-links a.current { color: var(--leaf-deep); }
.nav-cta {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--pearl);
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  transition: background 0.15s;
}
.nav-cta:hover { background: var(--leaf-deep); }

/* -------- Section shell -------- */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) { .wrap { padding: 0 48px; } }

section { border-bottom: 1px solid var(--border); }
section.silver { background: var(--silver-50); }
section > .wrap {
  padding-top: 80px;
  padding-bottom: 80px;
}
@media (min-width: 768px) {
  section > .wrap { padding-top: 112px; padding-bottom: 112px; }
}
section.hero > .wrap {
  padding-top: 96px;
  padding-bottom: 96px;
}
@media (min-width: 768px) {
  section.hero > .wrap { padding-top: 144px; padding-bottom: 144px; }
}

/* -------- Eyebrow + Section head -------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
}
.eyebrow.amber { color: var(--amber-deep); }

.section-head { margin-bottom: 48px; max-width: 820px; }
@media (min-width: 768px) { .section-head { margin-bottom: 56px; } }
.section-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 20px;
}
.section-h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.05;
  letter-spacing: -0.028em;
  color: var(--ink);
}
@media (min-width: 768px) { .section-h2 { font-size: 56px; } }
.section-lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 640px;
}

/* -------- Buttons -------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--leaf);
  color: var(--pearl);
  padding: 14px 26px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.15s, box-shadow 0.15s;
}
.btn-primary:hover {
  background: var(--leaf-deep);
  box-shadow: 0 8px 24px rgba(46,95,37,0.18);
}
.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  padding: 13px 22px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--ink);
  background: transparent;
  transition: background 0.15s, color 0.15s;
}
.btn-secondary:hover { background: var(--ink); color: var(--pearl); }

/* -------- Footer -------- */
footer {
  background: var(--pearl);
  border-top: 1px solid var(--border);
}
footer .wrap {
  padding-top: 64px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  footer .wrap { padding-top: 80px; padding-bottom: 56px; }
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 56px;
  }
}
.footer-brand .name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand .name em { font-style: italic; }
.footer-brand .footer-mark { width: 22px; height: 22px; }
.footer-brand p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--ink-3);
  max-width: 340px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
  font-weight: 500;
}
.footer-col a {
  display: block;
  padding: 5px 0;
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--leaf-deep); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }
}
