:root {
  --paper: #FAF9F4;
  --ink: #1F2B21;
  --pine: #2A5233;
  --sage: #8FAA88;
  --gold: #C99418;
  --line: #DCD9CB;
  --muted: #5C6B5C;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Mulish', system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

header.site {
  position: sticky;
  top: 0;
  background: rgba(250, 249, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 10;
}
.nav {
  width: min(1060px, 92vw);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
}
.brand img { height: 38px; width: auto; }
.brand strong {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--pine);
}
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--pine); }
.btn {
  display: inline-block;
  background: var(--pine);
  color: #fff !important;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: background 0.15s ease;
}
.btn:hover { background: #1F3F26; }
.btn.ghost {
  background: transparent;
  color: var(--pine) !important;
  border: 1px solid var(--pine);
}
.btn.ghost:hover { background: rgba(42, 82, 51, 0.07); }

section { padding: clamp(4rem, 10vh, 7rem) 0; }
.wrap { width: min(1060px, 92vw); margin: 0 auto; }
.narrow { width: min(680px, 92vw); margin: 0 auto; }

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

h1 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 em { font-style: italic; color: var(--pine); }
h2 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}
.rule { border: 0; border-top: 1px solid var(--line); }

/* home hero */
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.hero p.lede {
  margin: 1.6rem 0 2.2rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 46ch;
}
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-img {
  aspect-ratio: 4 / 5;
  border-radius: 4px;
  background: var(--sage);
  background-image: url('/assets/hero.jpg');
  background-size: cover;
  background-position: center;
}

/* interior page hero */
.page-hero { padding-bottom: clamp(2rem, 5vh, 3.5rem); }
.page-hero p.lede {
  margin-top: 1.6rem;
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 56ch;
}

/* metaphor phrases */
.phrases { text-align: center; }
.phrases ul {
  list-style: none;
  margin: 2.4rem 0;
  display: grid;
  gap: 1.1rem;
}
.phrases li {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--pine);
}
.phrases li::before { content: '\201C'; color: var(--sage); }
.phrases li::after { content: '\201D'; color: var(--sage); }
.phrases p.note { color: var(--muted); max-width: 54ch; margin: 0 auto 1rem; }

/* welcome split */
.welcome .wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.welcome .pull {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  line-height: 1.25;
  color: var(--pine);
  text-wrap: balance;
  position: sticky;
  top: 6rem;
}
.welcome .copy p { margin-bottom: 1.3rem; }
.welcome .copy .signoff { color: var(--pine); font-weight: 700; }

/* help grid */
.help .wrap > p.sub { color: var(--muted); max-width: 52ch; margin-bottom: 2.4rem; }
.help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 clamp(1.5rem, 4vw, 3rem);
}
.help-grid > div {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 1.8rem;
}
.help-grid h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.help-grid p { font-size: 0.95rem; color: var(--muted); }

/* approach cards */
.approaches-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.2rem, 3vw, 2rem);
  margin-top: 2.4rem;
}
.card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 1.8rem 1.8rem 1.6rem;
  background: #fff;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: var(--sage); transform: translateY(-2px); }
.card h3 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--pine);
  margin-bottom: 0.5rem;
}
.card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }
.card span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
}

/* article prose */
article.prose { width: min(680px, 92vw); margin: 0 auto; padding-bottom: clamp(4rem, 10vh, 7rem); }
article.prose p { margin-bottom: 1.3rem; }
article.prose h2 { margin-top: 2.6rem; }
article.prose .standfirst {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.25rem, 2.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--pine);
  margin-bottom: 1.6rem;
}
article.prose ul.ticks {
  list-style: none;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.55rem;
}
article.prose ul.ticks li { padding-left: 1.7rem; position: relative; }
article.prose ul.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--sage);
}
article.prose .aside {
  border-left: 3px solid var(--gold);
  padding: 0.2rem 0 0.2rem 1.3rem;
  color: var(--muted);
  font-size: 0.98rem;
  margin: 1.8rem 0;
}

/* prev/next between approaches */
.pager {
  border-top: 1px solid var(--line);
  margin-top: 2.6rem;
  padding-top: 1.6rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  font-weight: 600;
}
.pager a { color: var(--pine); text-decoration: none; }
.pager a:hover { color: var(--gold); }

/* about layout */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.portrait {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
  position: sticky;
  top: 6rem;
}
.about-copy p { margin-bottom: 1.3rem; }

/* quote band */
.quote { background: var(--pine); color: #F3F1E8; }
.quote blockquote {
  font-family: 'Fraunces', serif;
  font-weight: 300;
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
}
.quote cite {
  display: block;
  margin-top: 1.6rem;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
  text-align: center;
}

/* contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 4rem);
  align-items: start;
  margin-top: 1rem;
}
.contact-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 2rem;
}
.contact-card dl { display: grid; gap: 1.3rem; }
.contact-card dt {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
.contact-card dd { margin: 0.1rem 0 0; }
.contact-card a { color: var(--pine); font-weight: 700; text-decoration: none; }
.contact-card a:hover { color: var(--gold); }

/* closing cta */
.cta { text-align: center; }
.cta p { color: var(--muted); max-width: 50ch; margin: 0 auto 2rem; }
.cta .tagline {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--pine);
  font-size: 1.2rem;
  margin-top: 1.8rem;
}

footer.site { border-top: 1px solid var(--line); padding: 2.4rem 0; }
footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--muted);
}
footer.site a { color: var(--pine); }
footer.site .cols { display: grid; gap: 0.2rem; }

/* polish */
p { text-wrap: pretty; }
::selection { background: var(--pine); color: #F3F1E8; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.nav .btn { white-space: nowrap; }
@view-transition { navigation: auto; }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  opacity: 0.05;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 99;
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.hero h1.reveal { transition-delay: 0.1s; }
.hero .lede.reveal { transition-delay: 0.2s; }
.hero-actions.reveal { transition-delay: 0.3s; }
.phrases li:nth-child(2) { transition-delay: 0.12s; }
.phrases li:nth-child(3) { transition-delay: 0.24s; }
.phrases li:nth-child(4) { transition-delay: 0.36s; }
.help-grid > div:nth-child(3n+2) { transition-delay: 0.08s; }
.help-grid > div:nth-child(3n+3) { transition-delay: 0.16s; }
.approaches-grid > .card:nth-child(2) { transition-delay: 0.08s; }
.approaches-grid > .card:nth-child(3) { transition-delay: 0.16s; }
.approaches-grid > .card:nth-child(4) { transition-delay: 0.24s; }
.btn.reveal.in { transition: background 0.15s ease; }

@media (max-width: 780px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-img { aspect-ratio: 16 / 10; order: -1; }
  .welcome .wrap { grid-template-columns: 1fr; }
  .welcome .pull { position: static; }
  .help-grid { grid-template-columns: 1fr; }
  .approaches-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .portrait { position: static; max-width: 420px; }
  .contact-grid { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .brand strong { font-size: 1rem; }
  .nav .btn { padding: 0.55rem 1.1rem; font-size: 0.88rem; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
}
