/* Site-wide additions (used by all pages) */
.site-wrap { width: 100%; min-height: 100vh; display: flex; flex-direction: column; }

/* ── Top nav (sticky) ───────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px max(40px, 5vw); background: rgba(242, 238, 227, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav .brand { display: flex; align-items: center; gap: 14px; text-decoration: none; border: 0; }
.nav .brand .wordmark { font-size: 14px; color: var(--ink); }
.nav .brand .tag {
  font-family: var(--mono); font-size: 9px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--rule);
  padding-left: 14px;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--ink-2); border: 0;
  padding: 6px 0; position: relative;
}
.nav-links a.active { color: var(--green-deep); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--green);
}
.nav-links a:hover { color: var(--ink); }
.nav .cta-btn {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 11px 18px; background: var(--ink);
  color: var(--vellum); border: 0; text-decoration: none;
}

/* Mobile nav */
@media (max-width: 880px) {
  .nav { padding: 16px 24px; }
  .nav .brand .tag { display: none; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 10px; letter-spacing: 0.12em; }
  .nav .cta-btn { padding: 10px 14px; font-size: 10px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
}

/* ── Footer ─────────────────────────────────────── */
.foot {
  margin-top: auto;
  padding: 56px max(40px, 5vw) 36px;
  background: var(--ink); color: var(--night-muted);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.foot .col { display: flex; flex-direction: column; gap: 10px; }
.foot .col h5 {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--green); font-weight: 500;
  margin: 0 0 10px;
}
.foot .col a, .foot .col span {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--night-muted); text-decoration: none; border: 0; line-height: 1.7;
}
.foot .col a:hover { color: var(--vellum); }
.foot .brand {
  font-family: var(--sans); font-weight: 700; font-size: 22px;
  letter-spacing: 0.18em; color: var(--vellum); margin-bottom: 14px;
}
.foot .brand .acc {
  /* Same as parent — override the generic .foot .col span rule */
  font-family: var(--sans); font-size: 22px; font-weight: 700;
  letter-spacing: 0.18em; line-height: 1; color: var(--green);
}
.foot .tag {
  font-family: var(--serif); font-size: 18px; font-weight: 300;
  color: var(--night-muted); max-width: 320px; line-height: 1.4;
  letter-spacing: -0.005em;
}
.foot-bottom {
  grid-column: 1 / -1;
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--night-rule);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--night-muted);
}
@media (max-width: 880px) {
  .foot { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 540px) {
  .foot { grid-template-columns: 1fr; }
}

/* ── Section primitives ─────────────────────────── */
.section { padding: 96px max(40px, 5vw); }
.section.alt { background: var(--paper-2); }
.section.dark { background: var(--night); color: var(--vellum); }
.section.dark h1, .section.dark h2, .section.dark h3 { color: var(--vellum); }
.section.dark p { color: var(--night-muted); }
.section.green { background: var(--green-bg); }

.container { max-width: 1280px; margin: 0 auto; }

.section-head {
  display: grid; grid-template-columns: 180px 1fr; gap: 64px;
  margin-bottom: 56px; align-items: baseline;
}
.section-head h2 {
  font-family: var(--serif); font-size: clamp(36px, 5vw, 64px);
  line-height: 1.02; letter-spacing: -0.025em; font-weight: 300;
  max-width: 920px; text-wrap: balance; margin: 0;
}
.section-head h2 .it { font-style: italic; color: var(--green-deep); }
.section.dark .section-head h2 .it { color: var(--green); }
.section-eyebrow {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--green-deep);
  padding-top: 18px; border-top: 1px solid var(--green);
}
.section.dark .section-eyebrow { color: var(--green); border-color: var(--green); }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 18px; margin-bottom: 36px; }
  .section { padding: 64px 24px; }
}

/* ── Buttons ───────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 20px 26px; background: var(--ink); color: var(--vellum);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; border: 0;
}
.btn-primary .arrow { color: var(--green); }
.btn-secondary {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 28px;
  padding: 19px 26px; background: transparent; color: var(--ink);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; border: 1px solid var(--ink); text-decoration: none;
}
.section.dark .btn-secondary { color: var(--vellum); border-color: var(--vellum); }
.section.dark .btn-primary { background: var(--green); color: var(--ink); }
.section.dark .btn-primary .arrow { color: var(--ink); }
