/* ==========================================================================
   NUZZI GROUP — MAIN STYLESHEET
   Visual direction: Sovereign Natural Modernism
   --------------------------------------------------------------------------
   TO EDIT COLOURS, TYPE, SPACING OR MOTION: change the variables below.
   Everything else inherits from this block.
   ========================================================================== */

:root {
  /* ----- Colour system ----- */
  --forest-deep:   #173425;   /* darkest forest — hero, deep backgrounds */
  --forest:        #224a34;   /* primary forest — dark sections */
  --forest-soft:   #2e5c42;   /* raised surfaces on forest */
  --limestone:     #f4f0e7;   /* principal light background (warm off-white) */
  --limestone-deep:#ece6d8;   /* alternate light surface */
  --charcoal:      #2b2823;   /* warm charcoal — text + dark sections */
  --charcoal-soft: #3a362f;   /* raised surfaces on charcoal */
  --stone:         #a89a85;   /* muted stone */
  --clay:          #8a7a66;   /* clay/taupe support */
  --copper:        #8c5f41;   /* aged copper — primary accent (punctuation only) */
  --copper-soft:   #a3795c;   /* lighter copper for dark backgrounds */
  --ink:           #2b2823;   /* body text on light */
  --ink-muted:     #5d574c;   /* secondary text on light */
  --paper-ink:     #ece7db;   /* body text on dark */
  --paper-muted:   #b9b2a3;   /* secondary text on dark */

  /* ----- Typography ----- */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
  --text-base:  1.0625rem;     /* 17px body */
  --leading:    1.7;

  /* ----- Spacing rhythm ----- */
  --space-section: clamp(5.5rem, 12vw, 10rem);   /* vertical section padding */
  --space-block:   clamp(2.5rem, 5vw, 4rem);
  --container:     74rem;
  --container-narrow: 46rem;
  --measure:       44rem;     /* shared text measure: hero subtitle + intro copy */
  --gutter:        clamp(1.25rem, 4vw, 2.5rem);

  /* ----- Motion ----- */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --reveal-duration: 0.9s;
  --reveal-rise: 1.75rem;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem; /* offset for fixed nav */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading);
  color: var(--ink);
  background: var(--limestone);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.18;
  margin: 0 0 1rem;
}

p { margin: 0 0 1.25rem; }
ul { margin: 0 0 1.25rem; padding-left: 1.2rem; }
li { margin-bottom: 0.5rem; }

a { color: inherit; }

.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--container-narrow); }

/* Accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--charcoal);
  color: var(--limestone);
  padding: 0.75rem 1.25rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

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

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

/* becomes fixed after scrolling begins (class added by JS) */
.site-header.is-fixed {
  position: fixed;
  background: rgba(23, 52, 37, 0.96);
  box-shadow: 0 1px 0 rgba(236, 231, 219, 0.08);
  backdrop-filter: blur(8px);
}

.site-nav {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-serif);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  color: var(--limestone);
  text-decoration: none;
  white-space: nowrap;
}

/* Horizontal brand treatment: the N mark beside the wordmark */
.nav-brand img {
  display: block;
  height: 1.8rem;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.6rem;
}

.nav-links a {
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--paper-ink);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.nav-links a:hover { color: #ffffff; }

/* active section — subtle aged-copper treatment */
.nav-links a.is-active {
  color: var(--copper-soft);
  border-bottom-color: var(--copper-soft);
}

.nav-action {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--paper-ink);
  text-decoration: none;
  border: 1px solid var(--copper-soft);
  padding: 0.55rem 1.1rem;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
}
.nav-action:hover { background: var(--copper); border-color: var(--copper); color: #fff; }

/* Mobile toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(236, 231, 219, 0.35);
  color: var(--paper-ink);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  align-items: center;
  gap: 0.6rem;
}
.nav-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.nav-toggle-bars span { width: 16px; height: 1px; background: currentColor; transition: transform 0.3s; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:first-child { transform: translateY(2.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars span:last-child { transform: translateY(-2.5px) rotate(-45deg); }

/* Laptop widths: keep the full menu legible without cramping or wrapping */
@media (min-width: 64.01rem) and (max-width: 80rem) {
  .site-nav { gap: 1.25rem; }
  .nav-links { gap: 1.05rem; }
  .nav-links a { font-size: 0.78rem; letter-spacing: 0.04em; }
  .nav-action { font-size: 0.74rem; padding: 0.5rem 0.85rem; }
  .nav-brand { font-size: 1.15rem; gap: 0.55rem; }
  .nav-brand img { height: 1.55rem; }
}

@media (max-width: 64rem) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--forest-deep);
    padding: 1rem var(--gutter) 1.75rem;
    border-top: 1px solid rgba(236, 231, 219, 0.1);
  }
  .nav-menu.is-open { display: flex; }
  .site-header:not(.is-fixed) .nav-menu { background: var(--forest-deep); }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links a {
    display: block;
    padding: 0.9rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(236, 231, 219, 0.08);
  }
  .nav-links a.is-active { border-bottom-color: var(--copper-soft); }
  .nav-action { margin-top: 1.25rem; text-align: center; padding: 0.9rem 1rem; font-size: 0.95rem; }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 7rem var(--gutter) 6rem;
  color: var(--paper-ink);
  /* Licensed landscape (assets/images/stock/hero-landscape.jpg) behind a
     restrained deep forest-green overlay. The overlay is lightest mid-frame
     so the clouds, field, and tree line stay visibly alive while the cream
     headline remains highly legible. Adjust crop via background-position. */
  background-color: var(--forest-deep);
  background-image:
    linear-gradient(180deg,
      rgba(23, 52, 37, 0.74) 0%,
      rgba(23, 52, 37, 0.46) 45%,
      rgba(18, 40, 28, 0.80) 100%),
    url("../images/stock/hero-landscape.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* WebP where supported (smaller download, same photograph) */
@supports (background-image: image-set(url("a.webp") type("image/webp"))) {
  .hero {
    background-image:
      linear-gradient(180deg,
        rgba(23, 52, 37, 0.74) 0%,
        rgba(23, 52, 37, 0.46) 45%,
        rgba(18, 40, 28, 0.80) 100%),
      image-set(
        url("../images/stock/hero-landscape.webp") type("image/webp"),
        url("../images/stock/hero-landscape.jpg") type("image/jpeg"));
  }
  @media (max-width: 48rem) {
    .hero {
      background-image:
        linear-gradient(180deg,
          rgba(23, 52, 37, 0.74) 0%,
          rgba(23, 52, 37, 0.46) 45%,
          rgba(18, 40, 28, 0.80) 100%),
        image-set(
          url("../images/stock/hero-landscape-1080.webp") type("image/webp"),
          url("../images/stock/hero-landscape.jpg") type("image/jpeg"));
    }
  }
}

.hero-inner { max-width: 56rem; }

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #f7f4ec;
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--paper-muted);
  max-width: var(--measure);
  margin-inline: auto;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 6.5rem;
  display: flex;
  justify-content: center;
}
.scroll-indicator span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--copper-soft));
  animation: scroll-pulse 2.6s var(--ease-out) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  45%  { transform: scaleY(1); transform-origin: top; }
  55%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   SECTIONS — shared rhythm
   ========================================================================== */

.section { padding-block: var(--space-section); }

.section-light    { background: var(--limestone); color: var(--ink); }
.section-forest   { background: var(--forest);    color: var(--paper-ink); }
.section-charcoal { background: var(--charcoal);  color: var(--paper-ink); }

.section-head { max-width: 50rem; margin-bottom: var(--space-block); }

.section-number {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.35em;
  color: var(--copper);
  margin-bottom: 1.1rem;
}
.section-forest .section-number,
.section-charcoal .section-number { color: var(--copper-soft); }

.section h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 1.25rem;
}

.section-lede {
  font-size: 1.12rem;
  line-height: 1.75;
  max-width: 44rem;
}
.section-light .section-lede { color: var(--ink-muted); }
.section-forest .section-lede,
.section-charcoal .section-lede { color: var(--paper-muted); }

.section-close {
  max-width: 44rem;
  margin-top: var(--space-block);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.6;
}

.section-note {
  max-width: 44rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--copper);
  font-size: 0.95rem;
}
.section-light .section-note { color: var(--ink-muted); }
.section-forest .section-note,
.section-charcoal .section-note { color: var(--paper-muted); border-top-color: rgba(163, 121, 92, 0.55); }

/* ==========================================================================
   COPPER EMPHASIS UTILITIES
   Copper functions as punctuation: single words or short phrases only.
   ========================================================================== */

/* Copper-emphasized phrase (institutional signals, community words) */
.em-copper {
  font-style: normal;
  color: var(--copper);
}
.section-forest .em-copper,
.section-charcoal .em-copper,
.community-principle .em-copper { color: var(--copper-soft); }

/* Key financial figures and mandate ranges */
.amt {
  color: var(--copper);
  font-style: normal;
}
.section-forest .amt,
.section-charcoal .amt { color: var(--copper-soft); }

/* Historically significant years in Our Story */
.year {
  color: var(--copper);
  font-family: var(--font-serif);
  font-weight: 600;
}

/* Restrained rhythm around the primary activity language in the intro */
.activity {
  border-bottom: 1px solid rgba(140, 95, 65, 0.45);
  padding-bottom: 1px;
}

/* ==========================================================================
   INSTITUTIONAL INTRODUCTION
   ========================================================================== */

.section-intro {
  position: relative;
  padding-block: clamp(5rem, 11vw, 9rem) clamp(8.5rem, 14vw, 12rem);
}

/* Intro echoes the hero subtitle — same quiet sans voice, size, leading and
   measure — so it reads as "Part B" of the hero rather than a separate block. */
.intro-lede {
  font-family: var(--font-sans);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Centred on the same measure as the hero subtitle — never justified. */
/* Left-aligned paragraphs inside a centred container — an institutional
   thesis measure, never justified, no forced word spacing. */
.section-intro .intro-lede {
  text-align: left;
  text-wrap: pretty;
  max-width: var(--measure);
  margin-inline: auto;
}

/* Intro paragraph wrappers span the full grid so the copy reaches the exact
   hero-subtitle measure (--measure) and its block edges align with the hero
   subcopy above, rather than being clipped by the narrow column. */
.section-intro .container.narrow { max-width: var(--container); }

/* Copper cue leading from the intro into the next section — mirrors the hero
   cue style, sits in the lower padding so it never crowds the copy. */
.section-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 2.5rem;
  height: 6rem;
  display: flex;
  justify-content: center;
  pointer-events: auto;
}
.section-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(180deg, transparent, var(--copper));
  animation: scroll-pulse 2.6s var(--ease-out) infinite;
}

/* Refined inline lineage markers — serif accent, copper, understated;
   not badge-like, not boxed. */
.lineage {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.9em;
  color: var(--copper);
  white-space: nowrap;
}

/* Core mandate row — institutional copper emphasis, a refined index.
   Sits on the broader site grid (wider than the narrow text column) and is
   held to a single centred line from desktop up; wraps gracefully below. */
.mandate-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.8rem 1.6rem;
  max-width: 56rem;
  margin: 2.5rem auto;
  padding-block: 1.15rem;
  border-top: 1px solid rgba(140, 95, 65, 0.22);
  border-bottom: 1px solid rgba(140, 95, 65, 0.22);
}
.mandate-item {
  font-family: var(--font-serif);
  font-size: clamp(0.85rem, 0.92vw, 0.98rem);
  letter-spacing: 0.04em;
  color: var(--copper);
  white-space: nowrap;
}
.mandate-sep {
  flex: 0 0 auto;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.45;
}
/* Desktop and large desktop: hold all five items on one centred line */
@media (min-width: 64rem) {
  .mandate-row { flex-wrap: nowrap; gap: 1.6rem; }
}
/* Mobile: stack into clean centred rows rather than a ragged wrap */
@media (max-width: 40rem) {
  .mandate-row { flex-direction: column; gap: 0.65rem; }
  .mandate-sep { display: none; }
}

/* ==========================================================================
   MANDATE OVERVIEW
   ========================================================================== */

.mandate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1px;
  background: rgba(236, 231, 219, 0.12); /* hairline grid */
}

.mandate-door {
  display: block;
  background: var(--forest);
  padding: 2.5rem 2rem 2.75rem;
  text-decoration: none;
  transition: background 0.4s var(--ease-out);
}
.mandate-door:hover { background: var(--forest-soft); }

.mandate-door h3 {
  font-size: 1.45rem;
  color: #f7f4ec;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  position: relative;
}
.mandate-door h3::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 2.25rem;
  height: 1px;
  background: var(--copper-soft);
  transition: width 0.4s var(--ease-out);
}
.mandate-door:hover h3::after { width: 3.5rem; }

.mandate-door p {
  font-size: 0.95rem;
  color: var(--paper-muted);
  margin: 0;
}

/* ==========================================================================
   MANDATE TIERS (Real Estate / Credit / Venture / Operating)
   ========================================================================== */

.tier-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}

.tier {
  padding-top: 1.5rem;
  border-top: 1px solid var(--copper);
}
.section-forest .tier,
.section-charcoal .tier { border-top-color: rgba(163, 121, 92, 0.55); }

.tier h3 { font-size: 1.35rem; }

.tier-figure {
  font-family: var(--font-serif);
  font-size: 1.12rem;
  line-height: 1.55;
}

/* distinguishes equity commitment vs. transaction/project value */
.figure-label {
  font-family: var(--font-sans);
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--copper);
}
.section-forest .figure-label,
.section-charcoal .figure-label { color: var(--copper-soft); }

.tier p:last-child { margin-bottom: 0; }
.section-light .tier p:not(.tier-figure) { color: var(--ink-muted); }
.section-forest .tier p:not(.tier-figure),
.section-charcoal .tier p:not(.tier-figure) { color: var(--paper-muted); }

/* ==========================================================================
   STRATEGIC ADVISORY
   ========================================================================== */

.advisory-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); /* tightened: less dead space above tier cards */
}

/* Principal identifier beneath the portrait */
.portrait-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--copper);
  margin-top: 0.9rem;
  padding-top: 0.7rem;
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.portrait-caption .principal-name {
  font-family: var(--font-serif);
  font-size: 0.98rem;
  color: var(--ink);
}
.portrait-caption .li-link {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.portrait-caption .li-link:hover { border-bottom-color: var(--copper); }

.advisory-currency {
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-top: 1px solid var(--copper);
  padding-top: 1.25rem;
  max-width: 30rem;
}

.advisory-portrait { margin: 0; }
.advisory-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5;   /* responsive CSS crop; original file unaltered */
  object-fit: cover;
  object-position: center 22%;
}

.advisory-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: var(--space-block);
}

.advisory-tier {
  background: var(--limestone-deep);
  padding: 2.5rem 2.25rem;
}
.advisory-tier h3 { font-size: 1.4rem; margin-bottom: 0.35rem; }

.advisory-price {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--copper);
  margin-bottom: 0.25rem;
}
.advisory-term {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 1.1rem;
}
.advisory-includes-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 0.6rem;
}
.advisory-tier ul { font-size: 0.95rem; color: var(--ink-muted); }
.advisory-tier p { font-size: 0.97rem; }
.advisory-tier p:last-child { margin-bottom: 0; }

.advisory-structure {
  max-width: 44rem;
  border-top: 1px solid var(--copper);
  padding-top: 2rem;
}
.advisory-structure h3 { font-size: 1.3rem; }
.advisory-structure p { color: var(--ink-muted); }

@media (max-width: 52rem) {
  .advisory-intro { grid-template-columns: 1fr; }
  .advisory-portrait { max-width: 24rem; }
}

/* ==========================================================================
   COMMUNITY & STEWARDSHIP — substantial visual weight
   ========================================================================== */

.section-community {
  background:
    radial-gradient(110% 70% at 85% 0%, rgba(140, 95, 65, 0.14) 0%, rgba(140, 95, 65, 0) 60%),
    linear-gradient(180deg, var(--forest) 0%, var(--forest-deep) 100%);
  padding-block: calc(var(--space-section) * 1.15);
}

.community-principle {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 1.9rem);
  line-height: 1.5;
  color: #f7f4ec;
  max-width: 38rem;
}

.community-feature {
  margin: 0 0 var(--space-block);
}
.community-feature img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.community-figures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
  max-width: 44rem;
  margin-bottom: var(--space-block);
}

.community-figure-number {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 5vw, 3.75rem);
  color: var(--copper-soft);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}
.community-figure-label {
  display: block;
  font-size: 0.92rem;
  color: var(--paper-muted);
  max-width: 18rem;
}

.section-community .container.narrow { margin-inline: 0; padding-inline: 0; }

.community-copy { color: var(--paper-ink); max-width: 44rem; }
.community-pull {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.55;
  color: #f7f4ec;
  border-left: 2px solid var(--copper-soft);
  padding-left: 1.5rem;
  margin-block: 2.25rem;
}

/* ==========================================================================
   OUR STORY
   ========================================================================== */

.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: start;
}

.story-text p:first-child {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  line-height: 1.6;
}

.story-images {
  display: grid;
  gap: 1.75rem;
  position: sticky;
  top: 7rem;
}
.story-image { margin: 0; }
.story-image img { width: 100%; object-fit: cover; }

@media (max-width: 52rem) {
  .story-layout { grid-template-columns: 1fr; }
  .story-images { position: static; grid-template-columns: 1fr 1fr; gap: 1rem; }
}
@media (max-width: 36rem) {
  .story-images { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CLOSING PATHWAYS
   ========================================================================== */

.pathway-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.pathway {
  background: var(--charcoal-soft);
  padding: 2.75rem 2.5rem;
}
.pathway h3 { font-size: 1.5rem; }
.pathway p { color: var(--paper-muted); font-size: 0.97rem; }
.pathway .action-row { margin-top: 1.75rem; margin-bottom: 0; }

/* ==========================================================================
   BUTTONS — restrained and decisive
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-decoration: none;
  padding: 0.9rem 1.9rem;
  border: 1px solid var(--copper);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  text-align: center;
}

.btn-solid {
  background: var(--copper);
  color: #fdfbf6;
}
.btn-solid:hover { background: #7a512f; border-color: #7a512f; }

.btn-outline {
  background: transparent;
  color: inherit;
}
.btn-outline:hover { background: var(--copper); color: #fdfbf6; }

.action-row { margin-top: 1.5rem; }

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--forest-deep);
  color: var(--paper-muted);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(163, 121, 92, 0.35);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--paper-ink);
  margin: 0;
}
/* Small, restrained N mark beside the footer wordmark */
.footer-brand img {
  display: block;
  height: 1.3rem;
  width: auto;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.footer-links a {
  font-size: 0.85rem;
  color: var(--paper-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-links a:hover { color: var(--copper-soft); border-bottom-color: var(--copper-soft); }
.footer-links li { margin: 0; }

.footer-meta { font-size: 0.8rem; margin: 0; }

/* ==========================================================================
   SUPPORTING PAGES (forms, privacy, legal, confirmation, 404)
   ========================================================================== */

.page-main {
  min-height: 70vh;
  padding: 9rem 0 var(--space-section);
}

.page-head { margin-bottom: var(--space-block); max-width: 46rem; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.page-head p { color: var(--ink-muted); }

.page-body { max-width: 46rem; }
.page-body h2 { font-size: 1.6rem; margin-top: 3rem; }
.page-body h3 { font-size: 1.2rem; margin-top: 2rem; }
.page-body p, .page-body li { color: var(--ink-muted); }

.notice {
  border-left: 2px solid var(--copper);
  padding: 0.25rem 0 0.25rem 1.25rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-block: 1.75rem;
}

/* Simple header used on supporting pages (always solid) */
.site-header.header-solid {
  position: relative;
  background: var(--forest-deep);
}

/* Centered statement pages (confirmation / not-aligned / 404) */
.statement-main {
  min-height: 80vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 8rem 0 6rem;
}
.statement-main .container { max-width: 42rem; }
.statement-main h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.statement-main p { color: var(--ink-muted); font-size: 1.05rem; }
.statement-main .action-row { margin-top: 2.5rem; }

/* ==========================================================================
   FORMS
   ========================================================================== */

.form-section { margin-bottom: 3.25rem; }
.form-section > h2 {
  font-size: 1.45rem;
  border-bottom: 1px solid var(--copper);
  padding-bottom: 0.75rem;
  margin-bottom: 1.75rem;
}

.field { margin-bottom: 1.5rem; }

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 0.45rem;
}
.field .optional { font-weight: 400; color: var(--ink-muted); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field select,
.field textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  background: #fbf9f4;
  border: 1px solid #cfc6b4;
  padding: 0.8rem 0.9rem;
  border-radius: 0;
  transition: border-color 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid var(--copper);
  outline-offset: 0;
  border-color: var(--copper);
}

.field textarea { min-height: 7.5rem; resize: vertical; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 40rem) {
  .field-row { grid-template-columns: 1fr; }
}

.field-error {
  display: none;
  font-size: 0.85rem;
  color: #8a3324;
  margin-top: 0.4rem;
}
.field.has-error .field-error { display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #8a3324; }

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.1rem;
}
.check-field input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: var(--copper);
  flex-shrink: 0;
}
.check-field label { font-size: 0.93rem; color: var(--ink-muted); font-weight: 400; }

.conditional-section { display: none; }
.conditional-section.is-visible { display: block; }

.form-status {
  display: none;
  border-left: 2px solid #8a3324;
  padding: 0.75rem 0 0.75rem 1.25rem;
  margin-bottom: 1.75rem;
  color: #8a3324;
  font-size: 0.95rem;
}
.form-status.is-visible { display: block; }
.form-status.is-success { border-left-color: var(--forest); color: var(--forest); }

/* Honeypot — hidden from humans, present for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.turnstile-wrap { margin: 2rem 0; min-height: 65px; }

.form-actions { margin-top: 2.5rem; }
.form-actions .btn { min-width: 14rem; }

/* ==========================================================================
   IMAGE PLACEHOLDERS
   When an authentic photograph has not yet been uploaded, JS swaps the
   broken image for a clearly labelled placeholder block.
   ========================================================================== */

.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    repeating-linear-gradient(45deg, rgba(140, 95, 65, 0.07) 0 12px, transparent 12px 24px),
    var(--limestone-deep);
  border: 1px dashed var(--copper);
  color: var(--clay);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 1.5rem;
  min-height: 16rem;
  width: 100%;
}
.section-forest .img-placeholder,
.section-charcoal .img-placeholder {
  background:
    repeating-linear-gradient(45deg, rgba(163, 121, 92, 0.1) 0 12px, transparent 12px 24px),
    rgba(0, 0, 0, 0.2);
  color: var(--paper-muted);
}
.community-feature .img-placeholder { aspect-ratio: 16 / 9; }

/* ==========================================================================
   MOTION — subtle fade and rise reveals
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(var(--reveal-rise));
  transition:
    opacity var(--reveal-duration) var(--ease-out),
    transform var(--reveal-duration) var(--ease-out);
}
.reveal.is-revealed {
  opacity: 1;
  transform: none;
}

/* If JavaScript is unavailable, show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* Reduced motion: no animation, no smooth scroll */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-indicator span { animation: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   PRINT
   ========================================================================== */

@media print {
  .site-header, .scroll-indicator, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}
