/* =============================================================
   Regenerative Men — site styles
   Palette drawn from the brand sage green + warm, grounded tones.
   ============================================================= */

:root {
  --sage:        #6f8c7a;   /* primary brand green   */
  --sage-deep:   #56705f;   /* hover / accents       */
  --forest:      #344a3c;   /* dark green, footers   */
  --forest-ink:  #25342a;   /* deepest green         */
  --cream:       #f6f2e9;   /* page background       */
  --sand:        #ece4d4;   /* section contrast      */
  --card:        #fffdf8;   /* card surface          */
  --ink:         #2b2b27;   /* body text             */
  --muted:       #6c6a60;   /* secondary text        */
  --line:        #ddd4c2;   /* hairline borders      */

  --maxw: 1080px;
  --radius: 4px;
  --shadow: 0 1px 2px rgba(37, 52, 42, .06), 0 8px 24px rgba(37, 52, 42, .06);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--forest-ink); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 760px; }

/* ---------- wordmark ---------- */
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: .04em;
  font-variant-caps: small-caps;
  text-transform: lowercase;
  color: var(--forest-ink);
  line-height: 1;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246, 242, 233, .92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.nav .brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.nav .brand .mark {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage);
  display: grid; place-items: center;
  color: #fff; font-family: var(--serif); font-weight: 600; font-size: 1.05rem;
  flex: none;
}
.nav .brand .name { font-size: 1.2rem; }
.nav .brand .name small {
  display: block; font-family: var(--sans); font-variant-caps: normal;
  text-transform: none; letter-spacing: .12em; font-size: .58rem;
  color: var(--muted); font-weight: 600; margin-top: 1px;
}
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block; padding: .5rem .85rem; border-radius: var(--radius);
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem;
}
.nav-links a:hover { background: var(--sand); color: var(--forest-ink); }
.nav-links a.active { color: var(--sage-deep); }
.nav-links a.btn:hover { background: var(--sage-deep); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span { display: block; height: 2px; background: var(--forest-ink); margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; cursor: pointer;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .7rem 1.4rem; border-radius: var(--radius);
  background: var(--sage); color: #fff !important; text-decoration: none;
  border: 1px solid var(--sage); transition: background .2s, border-color .2s, transform .05s;
}
.btn:hover { background: var(--sage-deep); border-color: var(--sage-deep); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--forest-ink) !important; border-color: var(--sage); }
.btn.ghost:hover { background: var(--sage); color: #fff !important; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(52,74,60,.78), rgba(37,52,42,.86)),
    radial-gradient(900px 500px at 70% -10%, #6f8c7a, #344a3c 70%);
  color: #f3efe6;
  text-align: center;
  padding: 5.5rem 0 5rem;
}
.hero h1 {
  color: #fbf8f0;
  font-size: clamp(2.4rem, 6vw, 4rem);
  margin: 0 0 .4rem;
  letter-spacing: .005em;
}
.hero .lede {
  font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-style: italic; color: #d9e4dc; max-width: 720px; margin: 0 auto 2rem;
}
.hero .tag {
  display: inline-block; letter-spacing: .22em; text-transform: uppercase;
  font-size: .72rem; font-weight: 600; color: #bcd0c1; margin-bottom: 1.2rem;
}
.hero .cta-row { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* ---------- sections ---------- */
section { padding: 4.5rem 0; }
.section-alt { background: var(--sand); }
.eyebrow {
  letter-spacing: .2em; text-transform: uppercase; font-size: .72rem;
  font-weight: 700; color: var(--sage-deep); margin: 0 0 .6rem;
}
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 0 0 1rem; }
.section-intro { color: var(--muted); font-size: 1.1rem; max-width: 680px; }
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

.throughline {
  font-family: var(--serif); font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.4; color: var(--forest-ink); font-weight: 500;
}
.throughline em { color: var(--sage-deep); font-style: italic; }

/* ---------- cards / grids ---------- */
.grid { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem 1.5rem; box-shadow: var(--shadow);
}
.card .num {
  font-family: var(--serif); font-size: 1.1rem; color: #fff;
  background: var(--sage); width: 2.1rem; height: 2.1rem; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: .9rem; font-weight: 600;
}
.card h3 { margin: 0 0 .5rem; font-size: 1.25rem; }
.card p { margin: 0; color: var(--muted); font-size: .99rem; }
.card .kicker {
  display: block; font-family: var(--sans); font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; font-size: .68rem; color: var(--sage-deep); margin-bottom: .35rem;
}

/* ordered "fields" list with connecting feel */
.fields { counter-reset: f; margin-top: 2.5rem; }
.field {
  display: flex; gap: 1.2rem; align-items: baseline;
  padding: 1.3rem 0; border-top: 1px solid var(--line);
}
.field:last-child { border-bottom: 1px solid var(--line); }
.field .idx {
  font-family: var(--serif); font-size: 1.6rem; color: var(--sage);
  width: 2.5rem; flex: none; font-weight: 600;
}
.field h3 { margin: 0 0 .25rem; font-size: 1.2rem; }
.field p { margin: 0; color: var(--muted); }

/* ---------- prose (about page) ---------- */
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 .8rem; }
.prose h3 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.prose p { margin: 0 0 1.1rem; }
.prose ul { margin: 0 0 1.3rem; padding-left: 1.2rem; }
.prose li { margin: .35rem 0; }
.prose blockquote {
  margin: 2rem 0; padding: 1rem 0 1rem 1.5rem; border-left: 3px solid var(--sage);
  font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--forest-ink);
}

/* page header band */
.page-head {
  background: var(--sand); border-bottom: 1px solid var(--line);
  padding: 3.5rem 0; text-align: center;
}
.page-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 .5rem; }
.page-head p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

/* ---------- calendar page ---------- */
.cal-embed {
  position: relative; width: 100%; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow);
}
.cal-embed iframe { display: block; width: 100%; height: 620px; border: 0; }
.cal-placeholder {
  display: grid; place-items: center; text-align: center; min-height: 360px;
  padding: 2rem; color: var(--muted); background:
    repeating-linear-gradient(45deg, #fffdf8, #fffdf8 12px, #f6f2e9 12px, #f6f2e9 24px);
}
.cal-placeholder .pin { font-size: 2rem; margin-bottom: .5rem; }
.cal-placeholder code {
  background: var(--sand); padding: .15rem .4rem; border-radius: 3px; font-size: .9em;
}

/* ---------- contact ---------- */
.contact-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 2.5rem; text-align: center;
}
.contact-email {
  font-family: var(--serif); font-size: clamp(1.3rem, 4vw, 1.9rem);
  color: var(--forest-ink); word-break: break-word;
}
.contact-meta { display: grid; gap: 1.25rem; margin-top: 2.5rem; }
.contact-meta .card { text-align: left; }

/* ---------- callout ---------- */
.callout {
  background: var(--forest); color: #eef3ee; border-radius: var(--radius);
  padding: 3rem 2.5rem; text-align: center; margin-top: 1rem;
}
.callout h2 { color: #fbf8f0; }
.callout p { color: #cdd9cf; max-width: 560px; margin: .5rem auto 1.8rem; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--forest-ink); color: #c4d0c6;
  padding: 3rem 0 2rem; font-size: .95rem;
}
.site-footer .grid-foot {
  display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start;
}
.site-footer .wordmark { color: #f3efe6; font-size: 1.4rem; }
.site-footer .motto { color: #93a797; font-style: italic; font-family: var(--serif); margin-top: .25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.site-footer a { color: #c4d0c6; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  color: #8ea293; font-size: .85rem;
}

/* ---------- helpers ---------- */
.mt-0 { margin-top: 0; }
.lead { font-size: 1.18rem; color: var(--ink); }
.divider { text-align: center; color: var(--sage); letter-spacing: .6em; margin: 2.5rem 0; }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .grid.cols-3, .grid.cols-2, .grid.cols-4 { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: .5rem 1rem 1rem; box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: .8rem .5rem; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-links li:last-child a { border-bottom: 0; }
  .nav-links a.btn { text-align: center; margin-top: .6rem; }
  section { padding: 3.25rem 0; }
}
