/* ==========================================================================
   gabriellongoria.com — shared stylesheet
   Palette: forest green / warm cream / terracotta
   Type: Playfair Display (headings) + DM Sans (body)
   Mobile-first.
   ========================================================================== */

:root {
  --forest:        #1B4D3E;
  --forest-deep:   #123328;
  --forest-soft:   #2C6350;
  --cream:         #F5F1E8;
  --cream-warm:    #FBF8F1;
  --terracotta:    #C85A54;
  --terracotta-dp: #A8433E;
  --sand:          #E8E0CF;
  --ink:           #1E2420;
  --ink-soft:      #55605A;
  --ink-faint:     #8A9490;
  --line:          rgba(30, 36, 32, 0.14);
  --line-light:    rgba(245, 241, 232, 0.18);

  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --radius-lg: 8px;
  --wrap: 1180px;
  --gutter: 6vw;

  --shadow-sm: 0 2px 10px rgba(18, 51, 40, 0.06);
  --shadow-md: 0 14px 40px rgba(18, 51, 40, 0.10);
  --shadow-lg: 0 28px 70px rgba(18, 51, 40, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }

a { color: var(--terracotta-dp); }
a:hover { color: var(--terracotta); }

::selection { background: var(--terracotta); color: #fff; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: 760px; }
.wrap--mid { max-width: 940px; }

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--forest-deep);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 7vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 4.6vw, 2.9rem); }
h3 { font-size: clamp(1.25rem, 2.8vw, 1.6rem); }
h4 { font-size: 1.075rem; font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede {
  font-size: clamp(1.1rem, 2.2vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink-soft);
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 1rem;
}

.muted { color: var(--ink-soft); }
.small { font-size: 0.9rem; }

em.accent, .accent { color: var(--terracotta); font-style: italic; }

/* --------------------------------------------------------------------------
   Accessibility helpers
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--forest-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; color: #fff; }

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.85rem 1.6rem;
  border: 1.5px solid var(--forest-deep);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--solid { background: var(--forest-deep); color: var(--cream); }
.btn--solid:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; box-shadow: 0 10px 24px rgba(200, 90, 84, 0.3); }

.btn--ghost { background: transparent; color: var(--forest-deep); }
.btn--ghost:hover { background: var(--forest-deep); color: var(--cream); }

.btn--light { background: var(--cream); border-color: var(--cream); color: var(--forest-deep); }
.btn--light:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

.btn--outline-light { background: transparent; border-color: rgba(245,241,232,.5); color: var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--forest-deep); border-color: var(--cream); }

.btn--sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 24px rgba(18, 51, 40, 0.05);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.9rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--forest-deep);
  text-decoration: none;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand span { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); margin-top: 2px; }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: 0.35rem;
  border-bottom: 2px solid transparent;
  transition: color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--forest-deep); }
.nav-links a[aria-current="page"] {
  color: var(--forest-deep);
  font-weight: 600;
  border-bottom-color: var(--terracotta);
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--forest-deep);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.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); }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--cream-warm);
  padding: 0.5rem var(--gutter) 1.5rem;
}
.mobile-menu.is-open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu ul a {
  display: block;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--forest-deep);
  text-decoration: none;
}
.mobile-menu ul a[aria-current="page"] { color: var(--terracotta); font-weight: 700; }
.mobile-menu .btn { margin-top: 1.1rem; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }

.section--paper { background: var(--cream-warm); border-block: 1px solid var(--line); }
.section--sand { background: var(--sand); }

.section--forest {
  background: var(--forest-deep);
  color: rgba(245, 241, 232, 0.86);
}
.section--forest h1,
.section--forest h2,
.section--forest h3,
.section--forest h4 { color: var(--cream); }
.section--forest .eyebrow { color: #E9B4A6; }
.section--forest .lede { color: rgba(245, 241, 232, 0.8); }
.section--forest a:not(.btn) { color: #F0C4B8; }

.section-head { max-width: 46em; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.section-head p { color: var(--ink-soft); }
.section--forest .section-head p { color: rgba(245, 241, 232, 0.8); }

.rule { height: 1px; background: var(--line); border: 0; margin-block: clamp(2.5rem, 6vw, 4rem); }

/* --------------------------------------------------------------------------
   Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  padding-block: clamp(3rem, 8vw, 5.5rem) clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 88% 12%, rgba(200, 90, 84, 0.10) 0%, transparent 70%),
    radial-gradient(50% 50% at 5% 90%, rgba(27, 77, 62, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-grid {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; }
}

.hero h1 { margin-bottom: 0.35em; }
.hero .lede { max-width: 34em; }

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}
@media (min-width: 560px) {
  .hero-actions { flex-direction: row; flex-wrap: wrap; }
}

.hero-figure {
  position: relative;
  border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--forest-soft);
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-figure figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.25rem 1.1rem;
  background: linear-gradient(to top, rgba(18, 51, 40, 0.85), transparent);
  color: rgba(245, 241, 232, 0.95);
  font-size: 0.85rem;
  font-style: italic;
  font-family: var(--font-display);
}

.hero-meta {
  display: grid;
  gap: 0.5rem;
  margin-top: 2.2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  list-style: none;
  padding-inline: 0;
  font-size: 0.94rem;
  color: var(--ink-soft);
}
.hero-meta b {
  display: inline-block;
  min-width: 7em;
  margin-right: 0.75em;
  color: var(--terracotta);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Interior page hero
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--forest-deep);
  color: rgba(245, 241, 232, 0.85);
  padding-block: clamp(3rem, 8vw, 5rem);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 80% at 90% 0%, rgba(200, 90, 84, 0.18) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--cream); max-width: 16em; }
.page-hero .eyebrow { color: #E9B4A6; }
.page-hero .lede { color: rgba(245, 241, 232, 0.82); max-width: 40em; }

/* --------------------------------------------------------------------------
   Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 700px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card h3 { margin-bottom: 0.4em; }
.card p { color: var(--ink-soft); font-size: 0.97rem; }
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.card__meta {
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-faint);
}

/* Nav cards on the home page */
.pathways { display: grid; gap: 1.25rem; }
@media (min-width: 800px) { .pathways { grid-template-columns: repeat(3, 1fr); } }

.pathway {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pathway:hover {
  transform: translateY(-4px);
  border-color: var(--terracotta);
  box-shadow: var(--shadow-md);
  color: inherit;
}
.pathway h3 { margin-bottom: 0.3em; }
.pathway p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.pathway__arrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   Definition block
   -------------------------------------------------------------------------- */
.definition {
  background: var(--cream-warm);
  border: 1px solid var(--line);
  border-left: 4px solid var(--terracotta);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}
.definition__word {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4.2vw, 2.6rem);
  font-weight: 600;
  color: var(--forest-deep);
  margin: 0 0 0.2em;
  line-height: 1.15;
}
.definition__pos {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 1rem;
}
.definition p { color: var(--ink-soft); font-size: 1.05rem; }

/* --------------------------------------------------------------------------
   Numbered points / tenets
   -------------------------------------------------------------------------- */
.points { display: grid; gap: 1.8rem; list-style: none; margin: 0; padding: 0; }
@media (min-width: 800px) { .points { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; } }

.point { display: flex; gap: 1rem; border-top: 2px solid var(--forest-deep); padding-top: 1.2rem; }
.section--forest .point { border-top-color: rgba(245,241,232,.5); }
.point__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
  flex-shrink: 0;
  min-width: 1.5em;
}
.point h3 { margin-bottom: 0.4em; }
.point p { color: var(--ink-soft); font-size: 0.98rem; margin: 0; }
.section--forest .point p { color: rgba(245,241,232,.78); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1;
  color: #E9B4A6;
  margin-bottom: 0.45rem;
}
.stat span { font-size: 0.9rem; color: rgba(245, 241, 232, 0.78); }
.stats-note { margin-top: 2rem; font-size: 0.78rem; color: rgba(245, 241, 232, 0.5); }

/* --------------------------------------------------------------------------
   Quotes
   -------------------------------------------------------------------------- */
.pullquote {
  margin: 0;
  padding-left: 1.3em;
  border-left: 4px solid var(--terracotta);
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 3vw, 1.9rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--forest);
}
.section--forest .pullquote { color: var(--cream); border-left-color: #E9B4A6; }
.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.section--forest .pullquote cite { color: #E9B4A6; }

.quote-band {
  background: var(--cream-warm);
  border-block: 1px solid var(--line);
  padding-block: clamp(3rem, 7vw, 5rem);
  text-align: center;
}
.quote-band blockquote {
  margin: 0 auto;
  max-width: 24em;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.6vw, 2.3rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--forest);
}
.quote-band cite {
  display: block;
  margin-top: 1.2rem;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* --------------------------------------------------------------------------
   Media / figures
   -------------------------------------------------------------------------- */
.figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cream-warm);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.figure img { width: 100%; }
.figure figcaption {
  padding: 0.85rem 1.1rem;
  font-size: 0.87rem;
  font-style: italic;
  font-family: var(--font-display);
  color: var(--ink-soft);
}
.section--forest .figure { border-color: rgba(245,241,232,.16); background: rgba(255,255,255,.04); }
.section--forest .figure figcaption { color: rgba(245,241,232,.7); }

/* Uniform photo row: crop to a shared ratio so the cards line up */
.grid--photos .figure { display: flex; flex-direction: column; }
.grid--photos .figure img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.grid--photos .figure figcaption { margin-top: auto; }

/* Cut-out portrait sits on a warm ground rather than a transparent hole */
.portrait-figure { background: linear-gradient(165deg, #EFE7D5 0%, var(--sand) 55%, #DCD2BC 100%); }
.portrait-figure img { display: block; width: 100%; }
@media (min-width: 900px) {
  .portrait-figure { max-width: 420px; margin-left: auto; }
}

.split {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr 0.85fr; }
  .split--wide-right { grid-template-columns: 0.85fr 1.15fr; }
  .split--reverse > :first-child { order: 2; }
}

/* Then / now */
.thennow { display: grid; gap: 1.5rem; }
.thennow__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.thennow__caption b { color: var(--terracotta); }

/* --------------------------------------------------------------------------
   Lists
   -------------------------------------------------------------------------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.checklist li { position: relative; padding-left: 1.6em; color: var(--ink-soft); }
.checklist li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--terracotta);
  font-weight: 700;
}
.section--forest .checklist li { color: rgba(245,241,232,.82); }
.checklist strong { color: var(--ink); }
.section--forest .checklist strong { color: var(--cream); }

.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0; padding: 0; }
.chips li {
  padding: 0.4rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--cream-warm);
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.section--forest .chips li {
  border-color: rgba(245,241,232,.28);
  background: transparent;
  color: rgba(245,241,232,.85);
}

/* Numbered structure list (thesis sections) */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 1.25rem; }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 3.2rem;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0; top: 0;
  width: 2.25rem; height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
}
.steps h4 { margin-bottom: 0.25em; }
.steps p { color: var(--ink-soft); font-size: 0.97rem; margin: 0; }
.section--forest .steps p { color: rgba(245,241,232,.78); }

/* Definition-style record rows (awards, roles) */
.records { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.records > li {
  display: grid;
  gap: 0.35rem 1.5rem;
  padding-block: 1.4rem;
  border-bottom: 1px solid var(--line);
}
@media (min-width: 750px) {
  .records > li { grid-template-columns: 11rem 1fr; }
}
.records__when {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--terracotta);
}
.records h3 { font-size: 1.15rem; margin-bottom: 0.3em; }
.records p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }
.records ul { margin: 0.6rem 0 0; padding-left: 1.1rem; color: var(--ink-soft); font-size: 0.95rem; }
.records li + li { margin-top: 0.25rem; }
.section--forest .records { border-top-color: var(--line-light); }
.section--forest .records > li { border-bottom-color: var(--line-light); }
.section--forest .records p,
.section--forest .records ul { color: rgba(245,241,232,.78); }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines a:hover { text-decoration: underline; }
.contact-lines .label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.15rem;
}

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: 0.4rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--forest-deep); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 2px solid var(--terracotta); outline-offset: 1px; border-color: transparent; }
.form__note { font-size: 0.85rem; color: var(--ink-faint); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta {
  background: var(--forest-deep);
  color: rgba(245, 241, 232, 0.85);
  padding-block: clamp(3rem, 7vw, 4.5rem);
  text-align: center;
}
.cta h2 { color: var(--cream); max-width: 16em; margin-inline: auto; }
.cta p { max-width: 38em; margin-inline: auto; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
  padding-block: 2.5rem 2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 0.9rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.site-footer a { color: var(--ink-soft); text-decoration: none; }
.site-footer a:hover { color: var(--terracotta); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Reveal on scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card--link:hover, .pathway:hover { transform: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .mobile-menu, .cta, .site-footer nav { display: none; }
  body { background: #fff; color: #000; }
  .section--forest, .page-hero { background: #fff !important; color: #000 !important; }
  .section--forest h1, .section--forest h2, .page-hero h1 { color: #000 !important; }
}
