:root {
  --green: #6a8a5a;
  --green-deep: #3d5438;
  --green-soft: #e6ecdf;
  --cream: #faf6ec;
  --paper: #ffffff;
  --ink: #1a1f1a;
  --ink-muted: #6b6f68;
  --accent: #c97a5c;
  --accent-soft: #f4e4dc;
  --rule: #e2e1d7;
  --shadow: 0 2px 20px rgba(26, 31, 26, 0.06);
  --radius: 10px;
  --maxw: 1100px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  color: var(--green-deep);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.25rem; margin: 2rem 0 0.75rem; color: var(--ink); }
h4 { font-size: 1.05rem; color: var(--ink); }

p { margin-bottom: 1rem; }
p + p { margin-top: 0; }

a { color: var(--green-deep); text-decoration: underline; text-decoration-color: var(--green); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

ul { margin: 1rem 0 1.25rem 1.25rem; }
li { margin-bottom: 0.4rem; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 1.5rem; }

/* -------- NAV -------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.nav-brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--green-deep); }
.nav-brand img { height: 34px; width: auto; }
.nav-brand span { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 500; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; }
.nav-links a {
  text-decoration: none; font-size: 0.88rem;
  color: var(--ink); letter-spacing: 0.03em;
}
.nav-links a:hover { color: var(--accent); }
.nav-links .cta {
  background: var(--green-deep);
  color: var(--cream);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-weight: 500;
}
.nav-links .cta:hover { background: var(--accent); color: var(--cream); }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.4rem; color: var(--green-deep); cursor: pointer; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--cream);
    padding: 1rem 1.5rem; border-bottom: 1px solid var(--rule);
    align-items: stretch;
  }
  .nav-links.open li { padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
  .nav-links.open li:last-child { border-bottom: 0; }
}

/* -------- HERO -------- */
.hero {
  position: relative;
  padding: 4rem 0 2.5rem;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, var(--green-soft) 0%, var(--cream) 55%);
  overflow: hidden;
}
/* Faded brand mark behind the headline — visual anchor without competing */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('/assets/img/mark.png') no-repeat center 60%;
  background-size: clamp(420px, 55vw, 720px);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--green-deep);
  margin-bottom: 1rem;
}
.hero h1 { max-width: 18ch; margin: 0 auto 1.25rem; }
.hero .lede {
  max-width: 58ch;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
  color: var(--ink-muted);
}
.hero-ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-deep); color: var(--cream); }
.btn-primary:hover { background: var(--accent); color: var(--cream); }
.btn-secondary { background: transparent; color: var(--green-deep); border-color: var(--green-deep); }
.btn-secondary:hover { background: var(--green-deep); color: var(--cream); }

/* -------- PROCESS NARRATIVE (animated labyrinth + values, replaces carousel) -------- */
.process-section {
  background: var(--cream);
  padding: 3.5rem 0 3rem;
  position: relative;
  overflow: hidden;
}
.process-section .section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.process-section .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.process-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin: 0;
}

/* Two-column block: animation left, values right */
.process-block {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.process-art { text-align: center; }
@media (max-width: 820px) {
  .process-block { grid-template-columns: 1fr; gap: 2.5rem; }
}

.process-svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px -12px rgba(45, 60, 40, 0.35);
}
/* On mobile (stacked layout) let the SVG grow larger so hearts/persons/captions stay legible */
@media (max-width: 820px) {
  .process-svg { max-width: min(100%, 480px); }
}

/* Tighten section padding on mobile so transitions don't waste a screenful of scroll */
@media (max-width: 820px) {
  section          { padding: 3rem 0; }
  .hero            { padding: 3.5rem 0 1.5rem; }
  .process-section { padding: 2rem 0 2.5rem; }
  .process-section .section-head { margin-bottom: 1.5rem; }
}

/* Animation gating — pause the process narrative until it scrolls into view, so visitors always see it from the beginning */
.process-art .anim,
.process-art .anim-question-mark,
.process-art .anim-viewer-persons,
.process-art .anim-viewer-dots,
.process-art .anim-answer-heart,
.process-art .anim-care-ring,
.process-art .viewer-line,
.process-art .pattern-line,
.process-art .finding,
.process-art .starfield,
.process-art .caption {
  animation-play-state: paused;
}
.process-art.in-view .anim,
.process-art.in-view .anim-question-mark,
.process-art.in-view .anim-viewer-persons,
.process-art.in-view .anim-viewer-dots,
.process-art.in-view .anim-answer-heart,
.process-art.in-view .anim-care-ring,
.process-art.in-view .viewer-line,
.process-art.in-view .pattern-line,
.process-art.in-view .finding,
.process-art.in-view .starfield,
.process-art.in-view .caption {
  animation-play-state: running;
}

/* Right column: quiet stacked list of brand values */
.process-values .label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.85rem;
}
.process-values ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.process-values li {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  color: var(--green-deep);
  padding: 0.5rem 0 0.5rem 0.85rem;
  letter-spacing: -0.005em;
  /* Each gerund gets a 6px color band on its left — stacked vertically they read as the dispersed-light bands of a prism */
  border-left: 6px solid currentColor;
}

/* ROYGBIV — Newton's 7-color visible-light spectrum across the 7 gerunds */
.process-values li:nth-child(1) { color: #b8553a; } /* RED      — wisdom whispering */
.process-values li:nth-child(2) { color: #c97a3a; } /* ORANGE   — analytical innovating */
.process-values li:nth-child(3) { color: #c9a01c; } /* YELLOW   — positive disrupting */
.process-values li:nth-child(4) { color: #5a8a3a; } /* GREEN    — joyful achieving */
.process-values li:nth-child(5) { color: #3a6a9a; } /* BLUE     — insightful strategizing */
.process-values li:nth-child(6) { color: #4a4a85; } /* INDIGO   — soft-power flourishing */
.process-values li:nth-child(7) { color: #6a4a8a; } /* VIOLET   — freedom supporting */
@media (max-width: 820px) {
  .process-values { text-align: center; max-width: 360px; margin: 0 auto; }
  .process-values li { padding: 0.35rem 0; }
}

/* SVG animation primitives — 20s cycle, 5 states */
/* States: 0–20% love · 20–35% space · 35–60% viewers · 60–80% synthesis · 80–100% emerges */

.process-svg .anim { opacity: 0; }

/* Starfield — very slow rotation around the heart center, like the night sky drifting */
.process-svg .starfield {
  transform-origin: 300px 270px;
  transform-box: view-box;
  animation: starfield-rotate 240s linear infinite;
  /* Soft glow makes stars feel luminous without bumping radius (which scales smaller on mobile) */
  filter: drop-shadow(0 0 1.5px rgba(255, 247, 235, 0.7));
}
@media (max-width: 820px) {
  .process-svg .starfield {
    filter: drop-shadow(0 0 2px rgba(255, 247, 235, 0.85));
    opacity: 0.95;
  }
}
@keyframes starfield-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Love glow — comes in, then breathes gently like a slow heartbeat */
.process-svg .anim-love { animation: process-love 40s ease-in-out infinite; }
@keyframes process-love {
  0%, 2%   { opacity: 0; }
  8%, 20%  { opacity: 1; }
  30%      { opacity: 0.5; }
  42%      { opacity: 0.65; }
  54%      { opacity: 0.5; }
  66%      { opacity: 0.65; }
  78%      { opacity: 0.5; }
  90%      { opacity: 0.65; }
  100%     { opacity: 0.5; }
}

/* Aperture — opens AROUND the question (later than the ?), dims under the synthesis */
.process-svg .anim-space { animation: process-space 40s ease-in-out infinite; }
@keyframes process-space {
  0%, 32%   { opacity: 0; }
  38%, 60%  { opacity: 1; }
  72%, 95%  { opacity: 0.45; }
  100%      { opacity: 0; }
}

/* Question mark — appears FIRST (the question being placed), dissolves under the asterism */
.process-svg .anim-question-mark { animation: process-question-mark 40s ease-in-out infinite; }
@keyframes process-question-mark {
  0%, 16%   { opacity: 0; }
  21%, 60%  { opacity: 1; }
  72%, 100% { opacity: 0; }
}

.process-svg .viewer-line {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: process-viewer-line 40s ease-in-out infinite;
  opacity: 0;
}
.process-svg .viewer-line.v1 { animation-delay: 0s; }
.process-svg .viewer-line.v2 { animation-delay: 0s; }
.process-svg .viewer-line.v3 { animation-delay: 0s; }
.process-svg .viewer-line.v4 { animation-delay: 0s; }
.process-svg .viewer-line.v5 { animation-delay: 0s; }
.process-svg .viewer-line.v6 { animation-delay: 0s; }
@keyframes process-viewer-line {
  0%, 32%   { stroke-dashoffset: 600; opacity: 0; }
  36%       { opacity: 0.65; }
  46%, 60%  { stroke-dashoffset: 0; opacity: 0.65; }
  72%, 100% { stroke-dashoffset: 0; opacity: 0; }
}

.process-svg .anim-viewer-dots { animation: process-dots 40s ease-in-out infinite; }
@keyframes process-dots {
  0%, 45%   { opacity: 0; }
  52%, 95%  { opacity: 0.95; }
  100%      { opacity: 0; }
}

/* Person silhouettes at viewer ray origins — appear as the rays draw, fade out before findings emerge so the screen doesn't crowd */
.process-svg .anim-viewer-persons { animation: process-persons 40s ease-in-out infinite; }
@keyframes process-persons {
  0%, 38%   { opacity: 0; }
  46%, 70%  { opacity: 0.92; }
  78%, 100% { opacity: 0; }
}

/* Pattern asterism — three gold axes connect opposite dots; staggered draw */
.process-svg .pattern-line {
  stroke-dasharray: 80;
  stroke-dashoffset: 80;
  opacity: 0;
  animation: process-pattern 40s ease-in-out infinite;
}
.process-svg .pattern-line.p1 { animation-delay: 0s; }
.process-svg .pattern-line.p2 { animation-delay: 0s; }
.process-svg .pattern-line.p3 { animation-delay: 0s; }
@keyframes process-pattern {
  0%, 60%   { stroke-dashoffset: 80; opacity: 0; }
  64%       { opacity: 1; }
  72%, 95%  { stroke-dashoffset: 0; opacity: 1; }
  100%      { opacity: 0; }
}

/* The "answer's heart" — soft glow at the hexagram center */
.process-svg .anim-answer-heart { animation: process-answer-heart 40s ease-in-out infinite; }
@keyframes process-answer-heart {
  0%, 72%   { opacity: 0; }
  78%, 95%  { opacity: 1; }
  100%      { opacity: 0; }
}

.process-svg .anim-care-ring { animation: process-care-ring 40s ease-in-out infinite; }
@keyframes process-care-ring {
  0%, 75%   { opacity: 0; }
  80%, 95%  { opacity: 1; }
  100%      { opacity: 0; }
}

/* Findings text — fades in scattered around the hexagram during state 5 */
.process-svg .finding {
  opacity: 0;
  animation: process-finding 40s ease-in-out infinite;
}
.process-svg .finding.f1 { animation-delay: 0s; }
.process-svg .finding.f2 { animation-delay: 0s; }
.process-svg .finding.f3 { animation-delay: 0s; }
.process-svg .finding.f4 { animation-delay: 0s; }
.process-svg .finding.f5 { animation-delay: 0s; }
.process-svg .finding.f6 { animation-delay: 0s; }
.process-svg .finding.f7 { animation-delay: 0s; }
.process-svg .finding.f8 { animation-delay: 0s; }
@keyframes process-finding {
  0%, 75%   { opacity: 0; }
  82%, 98%  { opacity: 0.95; }
  100%      { opacity: 0; }
}

/* Captions — five states, each visible during its window */
.process-captions {
  position: relative;
  min-height: 2.4rem;
  margin-top: 0.75rem;
}
.process-captions .caption {
  position: absolute;
  left: 0; right: 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: clamp(1.1rem, 1.6vw, 1.25rem);
  color: var(--green-deep);
  opacity: 0;
  margin: 0;
}
@media (max-width: 820px) {
  .process-captions { min-height: 3rem; }
  .process-captions .caption { font-size: 1.25rem; padding: 0 0.5rem; }
}
.process-captions .cap-love      { animation: cap-love 40s ease-in-out infinite; }
.process-captions .cap-questions { animation: cap-questions 40s ease-in-out infinite; }
.process-captions .cap-space     { animation: cap-space 40s ease-in-out infinite; }
.process-captions .cap-viewers   { animation: cap-viewers 40s ease-in-out infinite; }
.process-captions .cap-synthesis { animation: cap-synthesis 40s ease-in-out infinite; }
.process-captions .cap-emerges   { animation: cap-emerges 40s ease-in-out infinite; }
/* Six caption windows in 40s — clean crossfades at boundaries; each caption peak begins AS its visual element begins appearing */
@keyframes cap-love      { 0%, 1%   { opacity: 0; } 3%, 15%  { opacity: 1; } 17%, 100% { opacity: 0; } }
@keyframes cap-questions { 0%, 15%  { opacity: 0; } 17%, 30% { opacity: 1; } 32%, 100% { opacity: 0; } }
@keyframes cap-space     { 0%, 30%  { opacity: 0; } 32%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
@keyframes cap-viewers   { 0%, 46%  { opacity: 0; } 48%, 62% { opacity: 1; } 64%, 100% { opacity: 0; } }
@keyframes cap-synthesis { 0%, 62%  { opacity: 0; } 64%, 80% { opacity: 1; } 82%, 100% { opacity: 0; } }
@keyframes cap-emerges   { 0%, 80%  { opacity: 0; } 82%, 98% { opacity: 1; } 100%      { opacity: 0; } }

/* Accessibility: reduced-motion → static composite (all states layered, no animation) */
@media (prefers-reduced-motion: reduce) {
  .process-svg .anim,
  .process-svg .anim-question-mark,
  .process-svg .anim-viewer-persons,
  .process-svg .viewer-line,
  .process-svg .pattern-line,
  .process-svg .anim-answer-heart,
  .process-svg .anim-care-ring,
  .process-svg .finding,
  .process-svg .starfield {
    animation: none;
    opacity: 0.9;
    stroke-dashoffset: 0 !important;
  }
  .process-captions { position: static; min-height: 0; }
  .process-captions .caption {
    position: static;
    opacity: 1;
    animation: none;
    display: block;
    margin-bottom: 0.4rem;
  }
}


/* -------- HERO CAROUSEL (gerund + image pairs) -------- */
.carousel {
  position: relative;
  height: clamp(320px, 50vh, 480px);
  overflow: hidden;
  background: var(--green-deep);
}
.carousel .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: carouselFade 40s infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carousel .slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 35, 22, 0.38) 0%, rgba(26, 35, 22, 0.62) 100%);
}
.carousel .slide span {
  position: relative;
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 5.5vw, 4rem);
  text-align: center;
  letter-spacing: -0.01em;
  padding: 0 1.5rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}
.carousel .slide-placeholder {
  background: linear-gradient(135deg, #6f8e5e 0%, #3d5438 100%);
}
.carousel .slide-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/mark.png') center/280px no-repeat;
  opacity: 0.10;
  mix-blend-mode: screen;
}
.carousel .slide:nth-child(1) { animation-delay: 0s; }
.carousel .slide:nth-child(2) { animation-delay: 0s; }
.carousel .slide:nth-child(3) { animation-delay: 0s; }
.carousel .slide:nth-child(4) { animation-delay: 0s; }
.carousel .slide:nth-child(5) { animation-delay: 0s; }
.carousel .slide:nth-child(6) { animation-delay: 0s; }
.carousel .slide:nth-child(7) { animation-delay: 0s; }
.carousel .slide:nth-child(8) { animation-delay: 0s; }
@keyframes carouselFade {
  0% { opacity: 0; }
  1% { opacity: 1; }
  12% { opacity: 1; }
  13% { opacity: 0; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .carousel .slide { animation: none; opacity: 1; }
  .carousel .slide:not(:first-child) { display: none; }
}

/* -------- SECTIONS -------- */
section { padding: 3.5rem 0; }
section.alt { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.section-head { max-width: 720px; margin-bottom: 2.5rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.75rem;
}
.section-head p { font-size: 1.08rem; color: var(--ink-muted); max-width: 62ch; }

/* Two-column grid used inside What We Do */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 820px) { .grid-2 { grid-template-columns: 1fr; gap: 1.5rem; } }

.callout {
  background: var(--green-soft);
  border-left: 3px solid var(--green);
  padding: 1.25rem 1.4rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
}
.callout p { margin: 0; }

/* Steps list for How It Works */
.steps { list-style: none; margin: 0; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 4.25rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 1.1rem; top: 1.1rem;
  width: 2.4rem; height: 2.4rem;
  background: var(--green-deep); color: var(--cream);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}
.steps h4 { margin-bottom: 0.25rem; color: var(--green-deep); }
.steps p { margin: 0; color: var(--ink-muted); font-size: 0.95rem; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .team-grid { grid-template-columns: 1fr; } }

/* Wrapper for the two featured leads — spans the full row, side-by-side */
.team-leads {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}
@media (max-width: 900px) { .team-leads { grid-template-columns: 1fr; } }

.member {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.member img {
  width: 140px; height: 140px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: block;
  background: var(--green-soft);
}
.member h4 { margin-bottom: 0.25rem; font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--green-deep); }
.member .role {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 0.85rem;
}
.member p { font-size: 0.92rem; color: var(--ink-muted); line-height: 1.55; margin: 0; }
.member a.member-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.82rem;
}

/* Featured lead card — photo left, bio right (lives inside .team-leads pair) */
.member-lead {
  display: grid;
  grid-template-columns: 140px 1fr;
  text-align: left;
  gap: 1.25rem;
  align-items: start;
}
.member-lead img { margin: 0; width: 140px; height: 140px; }
@media (max-width: 1100px) {
  .member-lead { grid-template-columns: 120px 1fr; gap: 1rem; }
  .member-lead img { width: 120px; height: 120px; }
}
@media (max-width: 520px) {
  .member-lead { grid-template-columns: 1fr; text-align: center; }
  .member-lead img { margin: 0 auto; width: 140px; height: 140px; }
}

/* -------- SKETCH GALLERY (session samples) -------- */
.sketches-wrap {
  margin: 0 -1.5rem;
  padding: 0 1.5rem 0.5rem;
}
.sketch-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(88%, 680px);
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 0 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--green) transparent;
  -webkit-overflow-scrolling: touch;
}
.sketch-gallery::-webkit-scrollbar { height: 8px; }
.sketch-gallery::-webkit-scrollbar-track { background: transparent; }
.sketch-gallery::-webkit-scrollbar-thumb { background: var(--green); border-radius: 4px; }

.sketch-card {
  scroll-snap-align: center;
  background: #fdfbf5;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  position: relative;
}
.sketch-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.sketch-card .caption {
  position: absolute;
  bottom: 0.6rem;
  left: 0.9rem;
  right: 0.9rem;
  font-size: 0.75rem;
  color: var(--ink-muted);
  font-style: italic;
  letter-spacing: 0.02em;
  background: rgba(253, 251, 245, 0.85);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.sketch-hint {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
  font-style: italic;
}

/* -------- PAST PROJECTS STRIP (single quiet line under the animation) -------- */
.past-strip {
  background: var(--cream);
  padding: 0.5rem 0 2rem;
  text-align: center;
}
.past-strip-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.4vw, 1.1rem);
  color: var(--ink-muted);
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.7;
}
.past-strip-label {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink-muted);
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  margin-bottom: 0.7rem;
}
.past-strip-text strong {
  color: var(--green-deep);
  font-style: normal;
  font-weight: 500;
}
@media (max-width: 820px) {
  .past-strip { padding: 0.5rem 0 1rem; }
}

/* -------- TESTIMONIALS -------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (max-width: 900px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .testimonials { grid-template-columns: 1fr; } }

.quote {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.quote::before {
  content: "\201C";
  position: absolute;
  top: 0.3rem; left: 1rem;
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--green-soft);
  z-index: 0;
}
.quote blockquote {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 1rem;
}
.quote cite {
  display: flex;
  align-items: center;
  gap: 0.1rem;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--ink-muted);
  letter-spacing: 0.03em;
}
.quote cite .cite-icon {
  display: inline-block;
  color: var(--green);
  opacity: 0.7;
  margin-right: 0.4rem;
  flex-shrink: 0;
}
.quote cite strong { color: var(--green-deep); font-weight: 500; }

.past-projects {
  margin-top: 2.5rem;
  padding: 1.75rem 1.5rem;
  background: var(--green-soft);
  border-radius: var(--radius);
}
.past-projects h4 { color: var(--green-deep); margin: 0 0 1rem; font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.past-projects ul { columns: 2; column-gap: 2rem; margin: 0 0 0 1.1rem; }
.past-projects li { font-size: 0.93rem; color: var(--ink); margin-bottom: 0.4rem; break-inside: avoid; }
@media (max-width: 600px) { .past-projects ul { columns: 1; } }

/* -------- FAQ -------- */
.faq { margin-top: 1.5rem; }
.faq details {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 0;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq summary {
  padding: 1.1rem 1.25rem;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--green-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: 'Inter', sans-serif;
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 300;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq details[open] summary { background: var(--green-soft); }
.faq details[open] summary::after { content: "−"; }
.faq .answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--ink-muted);
  line-height: 1.65;
}
.faq .answer p:last-child { margin-bottom: 0; }

/* Donation / pricing teaser */
.pay-card {
  background: linear-gradient(135deg, var(--green-deep) 0%, #2f4330 100%);
  color: var(--cream);
  padding: 3rem 2.5rem;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: center;
}
.pay-card h2 { color: var(--cream); margin-bottom: 1rem; }
.pay-card p { color: rgba(250, 246, 236, 0.86); }
.pay-card .btn-primary { background: var(--accent); color: var(--cream); }
.pay-card .btn-primary:hover { background: var(--cream); color: var(--green-deep); }
@media (max-width: 820px) { .pay-card { grid-template-columns: 1fr; padding: 2rem 1.5rem; } }

/* Research cards */
.research-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
@media (max-width: 820px) { .research-grid { grid-template-columns: 1fr; } }
.research-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.research-card:hover { transform: translateY(-2px); border-color: var(--green); }
.research-card h4 { color: var(--green-deep); margin-bottom: 0.5rem; font-family: 'Playfair Display', serif; font-size: 1.1rem; }
.research-card p { font-size: 0.93rem; color: var(--ink-muted); margin-bottom: 0.75rem; }
.research-card a { font-size: 0.88rem; }

/* Next-step signpost */
.next-step {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.5rem;
}
.next-step a {
  font-size: 0.92rem;
  text-decoration: none;
  color: var(--green-deep);
  font-weight: 500;
}
.next-step a:hover { color: var(--accent); }
.next-step a::after { content: " →"; }

/* Contact */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
  max-width: 640px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--paper);
  font: inherit;
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--green);
  outline-offset: 1px;
  border-color: var(--green);
}
.contact-form textarea { grid-column: 1 / -1; min-height: 140px; resize: vertical; }
.contact-form .actions { grid-column: 1 / -1; display: flex; gap: 0.75rem; flex-wrap: wrap; }
@media (max-width: 520px) { .contact-form { grid-template-columns: 1fr; } }

/* Footer */
footer {
  background: var(--green-deep);
  color: rgba(250, 246, 236, 0.8);
  padding: 3rem 0 2rem;
  text-align: center;
  font-size: 0.9rem;
}
footer a { color: var(--cream); }
footer .footer-mark { margin-bottom: 1rem; }
footer .footer-mark img { height: 48px; opacity: 0.9; border-radius: 6px; }
footer .small { opacity: 0.65; font-size: 0.82rem; margin-top: 0.75rem; }

/* Mockup banner */
.mockup-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}
.mockup-banner strong { font-weight: 600; }
