:root {
    --moss:        #3a5a2e;
    --moss-light:  #4e7a3f;
    --fern:        #6b8f5a;
    --sage:        #a8bc8f;
    --mist:        #d8e6cc;
    --cream:       #f4f0e6;
    --bark:        #5c4033;
    --river:       #2e6b7a;
    --river-light: #4a9baf;
    --sand:        #c8b89a;
    --charcoal:    #2a2a24;
    --ink:         #3a3a32;
    --paper:       #faf8f2;
  }

  html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

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

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

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Source Serif 4', Georgia, serif;
    background: var(--paper);
    color: var(--ink);
    overflow-x: hidden;
  }

  /* ── PROTOTYPE BANNER ── */
  .prototype-banner {
    background: var(--bark);
    color: #fff;
    text-align: center;
    padding: 8px 16px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* ── NAV ── */
  nav {
    background: var(--moss);
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1500;
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  }

  .nav-logo {
    display: flex;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-logo .en-name {
    font-family: 'Playfair Display', serif;
    font-size: 13px;
    color: var(--mist);
    letter-spacing: 0.04em;
    line-height: 1.3;
  }

  .nav-logo .fr-name {
    font-size: 10px;
    color: var(--sage);
    font-style: italic;
    letter-spacing: 0.02em;
  }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
  }

  .nav-links a {
    color: var(--mist);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 12px;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
    font-family: 'DM Mono', monospace;
  }

  .nav-links a:hover { background: rgba(255,255,255,0.1); color: #fff; }

  .lang-toggle {
    background: var(--river);
    color: #fff !important;
    border-radius: 3px;
    cursor: pointer;
    font-family: 'DM Mono', monospace !important;
    font-size: 11px !important;
  }

  .lang-toggle:hover { background: var(--river-light) !important; }

  /* ── HERO ── */
  .hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  padding: 150px 60px 80px;
  overflow: hidden;
  background: var(--charcoal);
}

  .hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.58) 0%, rgba(0,0,0,0.34) 46%, rgba(0,0,0,0.08) 100%),
    url('../img/hero-2560.webp');
  background-size: cover;
  background-position: center;
}

  /* River texture overlay */
  .hero-texture {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-image: url('../img/texture.png');
  animation: riverFlow 8s linear infinite;
}

  @keyframes riverFlow {
    0% { background-position: 0 0; }
    100% { background-position: 200px 0; }
  }

  .hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

  .hero-eyebrow {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #f2ead8;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: rgba(242,234,216,0.72);
  }

  .hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(42px, 7vw, 84px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--cream);
    margin-bottom: 12px;
    text-shadow: 0 3px 18px rgba(0,0,0,0.42);
  }

  .hero h1 em {
    font-style: italic;
    color: #d6e5b7;
    text-shadow: 0 3px 18px rgba(0,0,0,0.5);
  }

  .hero-sub {
    font-size: 16px;
    color: #f2ead8;
    line-height: 1.65;
    margin: 24px 0 40px;
    max-width: 560px;
    font-weight: 300;
    text-shadow: 0 2px 12px rgba(0,0,0,0.52);
  }

  .hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
  }

  .hero-stat {
    border-left: 2px solid rgba(242,234,216,0.64);
    padding-left: 16px;
  }

  .hero-stat .num {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #d6e5b7;
    line-height: 1;
    text-shadow: 0 2px 12px rgba(0,0,0,0.52);
  }

  .hero-stat .label {
    font-size: 11px;
    color: #f2ead8;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0.95;
    text-shadow: 0 2px 10px rgba(0,0,0,0.55);
  }

  .hero-scroll {
    position: absolute;
    bottom: 32px;
    right: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--sage);
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: bobScroll 2.5s ease-in-out infinite;
  }

  .hero-scroll::after {
    content: '';
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--sage), transparent);
  }

  @keyframes bobScroll {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
  }

  /* ── SECTION COMMON ── */
  section { padding: 90px 60px; }

  .section-label {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--fern);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-label::before {
    content: '';
    display: block;
    width: 24px;
    height: 1px;
    background: var(--fern);
  }

  h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 700;
    color: var(--moss);
    line-height: 1.15;
    margin-bottom: 24px;
  }

  /* ── MISSION ── */
  .mission {
    background: var(--cream);
    position: relative;
    overflow: hidden;
  }

  .mission::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--moss), var(--river), var(--moss));
  }

  .mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
    max-width: 1100px;
  }

  .mission-text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 20px;
    font-weight: 300;
  }

  .mission-text p strong {
    color: var(--moss);
    font-weight: 600;
  }

  .mission-pillars {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .pillar {
    background: var(--paper);
    border: 1px solid var(--mist);
    border-left: 3px solid var(--moss);
    padding: 20px 24px;
    border-radius: 0 4px 4px 0;
    transition: border-left-color 0.2s, transform 0.2s;
  }

  .pillar:hover {
    border-left-color: var(--river);
    transform: translateX(4px);
  }

  .pillar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--moss);
    margin-bottom: 6px;
  }

  .pillar p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.6;
    opacity: 0.8;
  }

  /* ── CRISIS ALERT ── */
  .crisis-bar {
    background: var(--bark);
    color: var(--cream);
    padding: 28px 60px;
    display: flex;
    align-items: center;
    gap: 32px;
  }

  .crisis-icon {
    font-size: 32px;
    flex-shrink: 0;
  }

  .crisis-text strong {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    margin-bottom: 4px;
    color: var(--sand);
  }

  .crisis-text p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.85;
  }

  /* ── MAP ── */
  .map-section {
    background: var(--charcoal);
    color: var(--cream);
    padding: 80px 0 0;
  }

  .map-header {
    padding: 0 60px 40px;
  }

  .map-header h2 { color: var(--sage); }

  .map-header p {
    color: var(--mist);
    font-size: 15px;
    line-height: 1.7;
    max-width: 600px;
    font-weight: 300;
    opacity: 0.85;
  }

  #watershed-map {
    width: 100%;
    height: 480px;
    filter: saturate(0.8) brightness(0.9);
  }

  .map-legend {
    padding: 20px 60px;
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    background: rgba(0,0,0,0.3);
  }

  .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    color: var(--mist);
    letter-spacing: 0.06em;
  }

  .legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* ── NEWS ── */
  .news-section {
    background: var(--paper);
  }

  .news-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
  }

  .news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 24px;
  }

  .news-card {
    background: var(--cream);
    border: 1px solid var(--mist);
    overflow: hidden;
    border-radius: 2px;
    transition: transform 0.25s, box-shadow 0.25s;
    cursor: pointer;
  }

  .news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(58,90,46,0.12);
  }

  .news-card.featured {
    grid-row: span 2;
  }

  .news-img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, var(--moss) 0%, var(--river) 50%, var(--fern) 100%);
  }

  .news-img-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--moss) 0%, var(--river) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: rgba(255,255,255,0.3);
  }

  .news-card.featured .news-img-placeholder {
    aspect-ratio: 16/10;
    font-size: 56px;
  }

  .news-body {
    padding: 20px 22px 24px;
  }

  .news-tag {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--river);
    margin-bottom: 8px;
  }

  .news-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    color: var(--moss);
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .news-card.featured h3 { font-size: 24px; }

  .news-card p {
    font-size: 13px;
    color: var(--ink);
    line-height: 1.65;
    opacity: 0.75;
  }

  .news-date {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--fern);
    margin-top: 14px;
    letter-spacing: 0.08em;
  }

  .btn-text {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--river);
    text-decoration: none;
    border-bottom: 1px solid var(--river-light);
    padding-bottom: 2px;
    transition: color 0.2s;
  }

  .btn-text:hover { color: var(--moss); border-bottom-color: var(--moss); }

  /* ── PROJECTS ── */
  .projects-section {
    background: var(--moss);
    color: var(--cream);
    position: relative;
    overflow: hidden;
  }

  .projects-section::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: rgba(255,255,255,0.03);
    pointer-events: none;
  }

  .projects-section h2 { color: var(--sage); }
  .projects-section .section-label { color: var(--fern); }
  .projects-section .section-label::before { background: var(--fern); }

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
  }

  .project-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-top: 3px solid var(--river-light);
    padding: 28px;
    border-radius: 0 0 4px 4px;
    transition: background 0.2s, transform 0.2s;
  }

  .project-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
  }

  .project-year {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    color: var(--river-light);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .project-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--cream);
    margin-bottom: 12px;
    line-height: 1.25;
  }

  .project-card p {
    font-size: 13.5px;
    color: var(--mist);
    line-height: 1.7;
    opacity: 0.85;
    font-weight: 300;
  }

  .project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--sage);
  }

  .status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #6fcf97;
    box-shadow: 0 0 6px #6fcf97;
    animation: pulse 2s ease-in-out infinite;
  }

  @keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }

  /* ── PARTNERS ── */
  .partners-section {
    background: var(--cream);
  }

  .partners-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 40px;
  }

  .partner-card {
    background: var(--paper);
    border: 1px solid var(--mist);
    padding: 24px 20px;
    text-align: center;
    border-radius: 3px;
    transition: border-color 0.2s, transform 0.2s;
  }

  .partner-card:hover {
    border-color: var(--fern);
    transform: translateY(-2px);
  }

  .partner-icon {
    font-size: 28px;
    margin-bottom: 10px;
    display: block;
  }

  .partner-card h4 {
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--moss);
    margin-bottom: 6px;
  }

  .partner-card p {
    font-size: 12px;
    color: var(--ink);
    line-height: 1.5;
    opacity: 0.65;
  }

  .funding-note {
    margin-top: 48px;
    background: var(--paper);
    border: 1px solid var(--mist);
    border-left: 3px solid var(--river);
    padding: 24px 28px;
    border-radius: 0 4px 4px 0;
    max-width: 700px;
  }

  .funding-note p {
    font-size: 14px;
    color: var(--ink);
    line-height: 1.7;
    opacity: 0.8;
  }

  .funding-note strong { color: var(--river); }

  /* ── CONTACT ── */
  .contact-section {
    background: var(--charcoal);
    color: var(--cream);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
  }

  .contact-section h2 { color: var(--sage); }
  .contact-section .section-label { color: var(--fern); }
  .contact-section .section-label::before { background: var(--fern); }

  .contact-section p {
    color: var(--mist);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 32px;
    font-weight: 300;
    opacity: 0.85;
  }

  .contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
  }

  .contact-row {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    font-size: 14px;
  }

  .contact-row .icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.07);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
  }

  .contact-row .info { color: var(--mist); line-height: 1.5; opacity: 0.85; }
  .contact-row .info small {
    display: block;
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--fern);
    margin-bottom: 2px;
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--cream);
    padding: 12px 16px;
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    border-radius: 3px;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
  }

  .contact-form input:focus,
  .contact-form textarea:focus,
  .contact-form select:focus {
    border-color: var(--river-light);
  }

  .contact-form input::placeholder,
  .contact-form textarea::placeholder {
    opacity: 0.4;
    color: var(--mist);
  }

  .contact-form textarea { resize: vertical; min-height: 120px; }

  .contact-form select option { background: var(--charcoal); }

  .btn-primary {
    background: var(--river);
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s, transform 0.15s;
    align-self: flex-start;
  }

  .btn-primary:hover {
    background: var(--river-light);
    transform: translateY(-1px);
  }

  /* ── NEWSLETTER BAR ── */
  .newsletter-bar {
    background: var(--river);
    padding: 32px 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
  }

  .newsletter-bar h3 {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #fff;
  }

  .newsletter-bar p {
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
  }

  .newsletter-form {
    display: flex;
    gap: 10px;
  }

  .newsletter-form input {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
    padding: 10px 18px;
    font-family: 'Source Serif 4', serif;
    font-size: 14px;
    border-radius: 3px;
    outline: none;
    width: 260px;
  }

  .newsletter-form input::placeholder { opacity: 0.6; color: #fff; }

  .newsletter-form button {
    background: var(--moss);
    color: var(--mist);
    border: none;
    padding: 10px 22px;
    font-family: 'DM Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 3px;
    transition: background 0.2s;
  }

  .newsletter-form button:hover { background: var(--moss-light); }

  /* ── FOOTER ── */
  footer {
    background: #111;
    padding: 48px 60px 32px;
    color: rgba(255,255,255,0.45);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
  }

  .footer-brand .name {
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    color: var(--sage);
    margin-bottom: 4px;
  }

  .footer-brand .name-fr {
    font-size: 12px;
    font-style: italic;
    color: var(--fern);
    margin-bottom: 16px;
  }

  .footer-brand p {
    font-size: 12px;
    line-height: 1.7;
    max-width: 280px;
  }

  footer h5 {
    font-family: 'DM Mono', monospace;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 14px;
  }

  footer ul { list-style: none; }

  footer ul li {
    margin-bottom: 8px;
  }

  footer ul li a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s;
  }

  footer ul li a:hover { color: var(--sage); }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-family: 'DM Mono', monospace;
    letter-spacing: 0.06em;
  }

  .footer-bottom a {
    color: inherit;
    text-decoration: none;
  }

  .footer-bottom a:hover {
    color: inherit;
    text-decoration: none;
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    section { padding: 60px 24px; }
    nav { padding: 0 20px; }
    .hero {
  padding: 120px 24px 60px;
  align-items: flex-start;
}
    .mission-grid, .contact-section { grid-template-columns: 1fr; gap: 40px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card.featured { grid-row: span 1; }
    .projects-grid { grid-template-columns: 1fr; }
    .partners-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid {
      grid-template-columns: 1fr 1fr;
      gap: 32px 24px;
    }
    .footer-brand {
      grid-column: 1 / -1;
    }
    .footer-brand p {
      max-width: none;
    }
    .newsletter-bar { flex-direction: column; align-items: flex-start; padding: 32px 24px; }
    .newsletter-form {
      width: 100%;
      flex-wrap: wrap;
    }
    .newsletter-form input {
      flex: 1 1 240px;
      min-width: 0;
    }
    .newsletter-form button {
      flex: 0 0 auto;
    }
    .crisis-bar { padding: 24px; }
    .map-header, .map-legend { padding: 32px 24px; }
  }

  @media (max-width: 700px) {
    footer {
      padding: 40px 24px 28px;
    }
    .footer-grid {
      grid-template-columns: 1fr;
    }
    .newsletter-form {
      flex-direction: column;
      align-items: stretch;
    }
    .newsletter-form input,
    .newsletter-form button {
      width: 100%;
    }
    .footer-bottom {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
    }
  }
/* ── NEWS LISTING PAGE ── */
.news-listing { padding: 90px 60px; background: var(--paper); }
.news-listing-header { margin-bottom: 48px; }
.news-listing-header h1 { font-family: 'Playfair Display', serif; font-size: 44px; color: var(--moss); }
.news-listing-header p { font-size: 16px; color: var(--ink); opacity: 0.7; margin-top: 12px; }
.news-listing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.no-posts { color: var(--ink); opacity: 0.5; font-style: italic; }

/* ── POST ARTICLE ── */
.post-article { max-width: 1100px; margin: 0 auto; }
.post-header { background: var(--charcoal); padding: 80px 60px 60px; }
.post-header-inner { max-width: 740px; }
.post-header h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4vw, 52px); color: var(--cream); line-height: 1.1; margin-bottom: 16px; }
.post-subtitle { font-size: 18px; color: var(--mist); margin-bottom: 20px; font-weight: 300; }
.post-meta { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--fern); letter-spacing: 0.1em; text-transform: uppercase; }
.post-body { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding: 60px; background: var(--paper); }
.post-content { font-size: 17px; line-height: 1.8; color: var(--ink); }
.post-content h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--moss); margin: 40px 0 16px; }
.post-content p { margin-bottom: 20px; }
.post-content ul { padding-left: 24px; margin-bottom: 20px; }
.post-content li { margin-bottom: 8px; }
.post-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card { background: var(--cream); border: 1px solid var(--mist); border-left: 3px solid var(--moss); padding: 20px; }
.sidebar-card h4 { font-family: 'DM Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--moss); margin-bottom: 8px; }
.sidebar-card p, .sidebar-card a { font-size: 13px; color: var(--ink); line-height: 1.6; }
.share-links { display: flex; flex-direction: column; gap: 6px; }
.share-links a { color: var(--river); font-size: 13px; text-decoration: none; }
.post-nav { background: var(--cream); border-top: 1px solid var(--mist); }
.post-nav-inner { max-width: 1100px; margin: 0 auto; padding: 32px 60px; display: flex; justify-content: space-between; }
.post-nav-link { text-decoration: none; display: flex; flex-direction: column; gap: 4px; max-width: 45%; }
.post-nav-link.next { text-align: right; }
.nav-label { font-family: 'DM Mono', monospace; font-size: 10px; color: var(--fern); text-transform: uppercase; letter-spacing: 0.1em; }
.nav-title { font-family: 'Playfair Display', serif; font-size: 16px; color: var(--moss); line-height: 1.3; }

/* ── HAMBURGER MENU ── */
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--mist); border-radius: 2px; transition: 0.2s; }

/* ── FOOTER RSS LINK ── */
.rss-link { display: inline-flex; align-items: center; gap: 6px; font-family: 'DM Mono', monospace; font-size: 11px; color: rgba(255,255,255,0.4); text-decoration: none; margin-top: 16px; letter-spacing: 0.08em; }
.rss-link:hover { color: var(--sage); }

/* ── CONTACT SECTION LAYOUT ── */
.contact-section { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 90px 60px; background: var(--charcoal); color: var(--cream); align-items: start; }
.contact-info-block h2 { font-family: 'Playfair Display', serif; font-size: 44px; color: var(--sage); margin-bottom: 20px; }
.contact-info-block p { color: var(--mist); font-size: 15px; line-height: 1.7; margin-bottom: 32px; font-weight: 300; opacity: .85; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 900px) {
  .news-listing { padding: 40px 24px; }
  .news-listing-grid { grid-template-columns: 1fr; }
  .post-body { grid-template-columns: 1fr; padding: 32px 24px; }
  .post-header { padding: 48px 24px; }
  .post-nav-inner { padding: 24px; flex-direction: column; gap: 16px; }
  .contact-section { grid-template-columns: 1fr; gap: 40px; padding: 48px 24px; }
}

/* ── LANGUAGE TOGGLE ── */
/* Both shown until JS runs, then JS controls display */
[data-lang] { }
.lang-toggle { cursor: pointer; }

/* ── PROTOTYPE BANNER ── */
.prototype-banner {
  background: var(--bark);
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ── NAV LOGO FIX ── */
.nav-logo a { text-decoration: none; display: flex; flex-direction: column; padding: 14px 0; }
.nav-name-main { font-family: 'Playfair Display', serif; font-size: 13px; color: #fff; letter-spacing: 0.04em; line-height: 1.3; }
.nav-name-sub { font-size: 10px; color: var(--sage); font-style: italic; letter-spacing: 0.02em; }

/* ── LANG TOGGLE BUTTON FIX ── */
button.lang-toggle {
  background: var(--river);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 8px 12px;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s;
}
button.lang-toggle:hover { background: var(--river-light); }


/* ── DIRECTOR PREVIEW: INSTITUTIONAL NAV PANELS ── */
.nav-item { position: relative; }

.nav-panel-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  color: var(--mist);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 3px;
  transition: background 0.2s, color 0.2s;
  font-family: 'DM Mono', monospace;
  cursor: pointer;
}

.nav-panel-trigger::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.75;
}

.nav-panel-trigger:hover,
.nav-panel-trigger:focus,
.nav-has-panel.open .nav-panel-trigger {
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}

.nav-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: min(680px, calc(100vw - 48px));
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 22px;
  background: rgba(250,248,242,0.98);
  border: 1px solid rgba(216,230,204,0.8);
  border-top: 4px solid var(--river);
  box-shadow: 0 24px 70px rgba(0,0,0,0.24);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 1200;
}

.nav-panel-wide { width: min(820px, calc(100vw - 48px)); }

.nav-has-panel:hover .nav-panel,
.nav-has-panel:focus-within .nav-panel,
.nav-has-panel.open .nav-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  right: 36px;
  width: 18px;
  height: 18px;
  background: rgba(250,248,242,0.98);
  border-left: 1px solid rgba(216,230,204,0.8);
  border-top: 1px solid rgba(216,230,204,0.8);
  transform: rotate(45deg);
}

.nav-panel-intro {
  border-right: 1px solid rgba(58,90,46,0.15);
  padding-right: 20px;
}

.nav-panel-kicker {
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--river);
  margin-bottom: 10px;
}

.nav-panel-intro h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  line-height: 1.1;
  color: var(--moss);
  margin-bottom: 12px;
}

.nav-panel-intro p:not(.nav-panel-kicker) {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(58,58,50,0.78);
}

.nav-panel-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.nav-panel-links-two { grid-template-columns: 1fr 1fr; }

.nav-panel-links a {
  display: block;
  color: var(--ink);
  background: rgba(255,255,255,0.58);
  border: 1px solid rgba(58,90,46,0.12);
  border-left: 3px solid rgba(46,107,122,0.35);
  padding: 12px 14px;
  border-radius: 6px;
  text-transform: none;
  letter-spacing: 0;
  font-family: 'Source Serif 4', Georgia, serif;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}

.nav-panel-links a:hover,
.nav-panel-links a:focus {
  background: #fff;
  color: var(--ink);
  border-left-color: var(--river);
  transform: translateX(2px);
  outline: none;
}

.nav-panel-links span {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--moss);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.nav-panel-links small {
  display: block;
  color: rgba(58,58,50,0.64);
  font-size: 13px;
  line-height: 1.35;
}

/* ── DIRECTOR PREVIEW: INTERNAL STRUCTURE PAGES ── */
.page-hero {
  background: var(--charcoal);
  color: var(--cream);
  padding: 90px 60px 68px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(46,107,122,0.22), transparent 48%),
    radial-gradient(ellipse at 80% 10%, rgba(58,90,46,0.32), transparent 42%);
  pointer-events: none;
}

.page-hero-inner { position: relative; max-width: 880px; }
.page-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(42px, 7vw, 82px); line-height: 0.95; margin: 14px 0 18px; }
.page-lead { font-size: 20px; line-height: 1.55; color: var(--mist); max-width: 720px; font-weight: 300; }
.preview-note {
  display: inline-flex;
  margin-top: 26px;
  padding: 10px 14px;
  border: 1px solid rgba(216,230,204,0.28);
  background: rgba(255,255,255,0.06);
  color: var(--sage);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-page { background: var(--paper); }
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  padding: 60px;
  max-width: 1180px;
  margin: 0 auto;
}
.detail-main-card,
.detail-side-card,
.content-block,
.site-example-card,
.timeline-preview,
.decision-prompt,
.team-intro-card,
.team-section-preview {
  background: #fff;
  border: 1px solid rgba(58,90,46,0.12);
  box-shadow: 0 14px 34px rgba(42,42,36,0.06);
}
.detail-main-card,
.detail-side-card,
.content-block,
.site-example-card,
.timeline-preview,
.decision-prompt,
.team-intro-card,
.team-section-preview { padding: 28px; }
.detail-main-card h2,
.content-block h2,
.timeline-preview h2,
.decision-prompt h2,
.team-intro-card h2,
.team-section-preview h2,
.site-example-card h2,
.detail-side-card h2 {
  font-family: 'Playfair Display', serif;
  color: var(--moss);
  font-size: 30px;
  line-height: 1.15;
  margin-bottom: 14px;
}
.detail-main-card p,
.content-block p,
.site-example-card p,
.decision-prompt p,
.team-intro-card p,
.team-section-preview p,
.detail-side-card p {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(58,58,50,0.78);
  margin-bottom: 14px;
}
.snapshot-list { display: grid; gap: 14px; }
.snapshot-list div { border-top: 1px solid rgba(58,90,46,0.12); padding-top: 12px; }
.snapshot-list dt { font-family: 'DM Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--river); margin-bottom: 4px; }
.snapshot-list dd { color: var(--ink); font-size: 15px; line-height: 1.4; }
.content-blocks,
.site-examples,
.timeline-preview,
.decision-prompt,
.team-intro-card,
.team-section-preview {
  max-width: 1180px;
  margin: 0 auto 28px;
}
.content-blocks,
.site-examples {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  padding: 0 60px;
}
.timeline-preview,
.decision-prompt,
.team-intro-card,
.team-section-preview { margin-left: auto; margin-right: auto; }
.clean-list { list-style: none; display: grid; gap: 12px; }
.clean-list li { position: relative; padding-left: 24px; line-height: 1.6; color: rgba(58,58,50,0.82); }
.clean-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 9px; height: 9px; border: 2px solid var(--river); border-radius: 50%; }
.placeholder-block { background: var(--cream); }
.map-placeholder {
  min-height: 220px;
  border: 1px dashed rgba(46,107,122,0.45);
  background: linear-gradient(135deg, rgba(46,107,122,0.08), rgba(58,90,46,0.08));
  display: grid;
  place-items: center;
  color: var(--river);
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 18px;
}
.timeline-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 20px; }
.timeline-steps div { background: var(--cream); padding: 18px; border-top: 3px solid var(--river); }
.timeline-steps span { font-family: 'DM Mono', monospace; font-size: 11px; color: var(--river); }
.timeline-steps strong { display: block; color: var(--moss); margin: 8px 0; }
.timeline-steps p { font-size: 14px; line-height: 1.45; margin: 0; }
.team-intro-card,
.team-section-preview,
.timeline-preview,
.decision-prompt { width: calc(100% - 120px); }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-heading-row > p { max-width: 390px; margin: 0; font-size: 14px; }
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.people-grid-featured { grid-template-columns: 1fr; }
.person-card { background: var(--cream); border: 1px solid rgba(58,90,46,0.12); padding: 20px; }
.featured-person { display: grid; grid-template-columns: 160px 1fr; gap: 22px; align-items: center; }
.person-photo-placeholder {
  min-height: 140px;
  background: linear-gradient(135deg, rgba(46,107,122,0.12), rgba(58,90,46,0.16));
  border: 1px dashed rgba(46,107,122,0.35);
  display: grid;
  place-items: center;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--river);
  margin-bottom: 14px;
}
.featured-person .person-photo-placeholder { margin-bottom: 0; }
.person-card h3 { font-family: 'Playfair Display', serif; color: var(--moss); font-size: 24px; margin-bottom: 6px; }
.person-role { font-family: 'DM Mono', monospace; font-size: 11px !important; letter-spacing: 0.08em; text-transform: uppercase; color: var(--river) !important; margin-bottom: 12px !important; }
.muted-section { background: var(--cream); }
.text-chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.text-chip-row span { border: 1px solid rgba(46,107,122,0.25); background: #fff; padding: 8px 12px; border-radius: 999px; font-family: 'DM Mono', monospace; font-size: 11px; letter-spacing: 0.06em; color: var(--moss); }

@media (max-width: 1100px) {
  .nav-panel { right: auto; left: 50%; transform: translate(-50%, 10px); }
  .nav-has-panel:hover .nav-panel,
  .nav-has-panel:focus-within .nav-panel,
  .nav-has-panel.open .nav-panel { transform: translate(-50%, 0); }
}

@media (max-width: 900px) {
  .detail-grid,
  .content-blocks,
  .site-examples { grid-template-columns: 1fr; padding: 32px 24px; }
  .team-intro-card,
  .team-section-preview,
  .timeline-preview,
  .decision-prompt { width: calc(100% - 48px); }
  .timeline-steps,
  .people-grid { grid-template-columns: 1fr; }
  .featured-person { grid-template-columns: 1fr; }
  .section-heading-row { display: block; }
}

/* ── DIRECTOR PREVIEW UPDATE: STICKY NAV + FULL-WIDTH PANELS ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1500;
  isolation: isolate;
}

/* Keep the preview banner above the nav only when it exists directly before the nav. */
.prototype-banner + .site-nav {
  top: 29px;
}

.site-nav .nav-item {
  position: static;
}

.site-nav .nav-panel {
  top: 100%;
  left: 0;
  right: 0;
  width: auto;
  max-width: none;
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 28px;
  padding: 28px 40px 30px;
  border-left: 0;
  border-right: 0;
  border-top: 1px solid rgba(216,230,204,0.8);
  border-bottom: 1px solid rgba(58,90,46,0.18);
  border-radius: 0;
  box-shadow: 0 28px 60px rgba(0,0,0,0.24);
  transform: translateY(-6px);
  z-index: 1600;
}

.site-nav .nav-panel-wide {
  width: auto;
}

.site-nav .nav-panel::before {
  display: none;
}

.site-nav .nav-has-panel:hover .nav-panel,
.site-nav .nav-has-panel:focus-within .nav-panel,
.site-nav .nav-has-panel.open .nav-panel {
  transform: translateY(0);
}

.site-nav .nav-panel-intro {
  max-width: 340px;
}

.site-nav .nav-panel-links {
  align-content: start;
}

.site-nav .nav-panel-links-two {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.site-nav .nav-panel-links a {
  min-height: 78px;
}

@media (max-width: 1100px) {
  .site-nav .nav-panel {
    left: 0;
    right: 0;
    transform: translateY(-6px);
  }
  .site-nav .nav-has-panel:hover .nav-panel,
  .site-nav .nav-has-panel:focus-within .nav-panel,
  .site-nav .nav-has-panel.open .nav-panel {
    transform: translateY(0);
  }
  .site-nav .nav-panel-links-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ── DIRECTOR PREVIEW V3: NON-STICKY NAV + SOFTER FRENCH PREVIEW COPY ── */
/* For the meeting preview, keep the full-width institutional panels but do not force sticky navigation. */
nav.site-nav,
.site-nav {
  position: relative !important;
  top: auto !important;
}

.prototype-banner + .site-nav {
  top: auto !important;
}

.soft-prompt {
  background: rgba(216, 230, 204, 0.45);
  border-left-color: var(--river);
}

.soft-prompt h2 {
  margin-bottom: 10px;
}

.soft-prompt p {
  max-width: 840px;
  line-height: 1.7;
}

/* ── FINAL PAGES PASS: BUTTON LINKS ── */
a.btn-primary {
  display: inline-block;
  text-decoration: none;
  margin-top: 10px;
}


/* ── CMS PROJECT PAGES: PASS 1 ── */
.project-hero {
  background-color: var(--charcoal);
  background-size: cover;
  background-position: center;
  color: var(--cream);
  min-height: min(72vh, 680px);
  padding: clamp(88px, 12vw, 150px) 60px clamp(72px, 10vw, 120px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
}
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 16% 78%, rgba(46,107,122,0.28), transparent 48%),
    radial-gradient(ellipse at 84% 18%, rgba(58,90,46,0.32), transparent 44%);
  pointer-events: none;
}
.project-hero-no-image { min-height: auto; }
.project-hero-inner {
  position: relative;
  width: min(980px, 100%);
}
.project-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 0.94;
  margin: 16px 0 20px;
  max-width: 920px;
}
.project-lead {
  color: var(--mist);
  font-size: clamp(19px, 2.2vw, 26px);
  line-height: 1.45;
  max-width: 760px;
  font-weight: 300;
}
.project-hero-caption {
  color: rgba(245, 239, 226, 0.72);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  margin-top: 24px;
  max-width: 760px;
  text-transform: uppercase;
}
.project-status-pill {
  display: inline-flex;
  border: 1px solid rgba(216,230,204,0.32);
  background: rgba(255,255,255,0.08);
  color: var(--sage);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 7px 10px;
  text-transform: uppercase;
}
.project-content {
  background: var(--paper);
  padding: clamp(34px, 6vw, 76px) 24px clamp(54px, 8vw, 96px);
}
.project-section,
.project-note-box {
  width: min(1120px, 100%);
  margin: 0 auto clamp(28px, 5vw, 52px);
  background: #fff;
  border: 1px solid rgba(58,90,46,0.12);
  box-shadow: 0 14px 34px rgba(42,42,36,0.06);
  padding: clamp(24px, 4vw, 44px);
}
.project-summary-section { width: min(920px, 100%); }
.project-split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}
.project-section-kicker,
.project-list-status {
  color: var(--river);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.13em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.project-section h2,
.project-note-box h2,
.project-closing-section h2,
.project-empty-state h2 {
  color: var(--moss);
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
}
.project-richtext {
  color: rgba(58,58,50,0.82);
  font-size: 17px;
  line-height: 1.76;
}
.project-richtext p,
.project-richtext ul,
.project-richtext ol { margin-bottom: 16px; }
.project-richtext > *:last-child { margin-bottom: 0; }
.project-intro-text {
  border-top: 1px solid rgba(58,90,46,0.12);
  color: rgba(58,58,50,0.72);
  margin-top: 22px;
  padding-top: 22px;
}
.project-highlight-section {
  background: linear-gradient(135deg, rgba(46,107,122,0.08), rgba(58,90,46,0.08)), #fff;
  border-left: 5px solid var(--river);
}
.project-image-frame {
  margin: 0;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid rgba(46,107,122,0.16);
}
.project-image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.project-side-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.project-wide-image { margin-top: 28px; }
.project-standalone-image {
  width: min(1120px, 100%);
  margin: 0 auto clamp(28px, 5vw, 52px);
}
.project-image-frame figcaption {
  color: rgba(58,58,50,0.68);
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
}
.project-steps,
.project-stats-grid,
.project-related-grid,
.project-list-grid {
  display: grid;
  gap: 18px;
}
.project-steps { grid-template-columns: repeat(4, 1fr); margin-top: 28px; }
.project-step-card {
  background: var(--cream);
  border-top: 3px solid var(--river);
  padding: 20px;
}
.project-step-card span {
  color: var(--river);
  font-family: 'DM Mono', monospace;
  font-size: 11px;
}
.project-step-card h3,
.project-related-card h3,
.project-list-card h2 {
  color: var(--moss);
  font-family: 'Playfair Display', serif;
  line-height: 1.15;
  margin: 10px 0;
}
.project-step-card h3 { font-size: 22px; }
.project-step-card p,
.project-related-card p,
.project-list-card p {
  color: rgba(58,58,50,0.76);
  font-size: 15px;
  line-height: 1.62;
}
.project-stats-grid { grid-template-columns: repeat(3, 1fr); margin-top: 26px; }
.project-stat-card {
  background: var(--cream);
  border: 1px solid rgba(58,90,46,0.12);
  padding: 22px;
}
.project-stat-card strong {
  color: var(--river);
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  line-height: 1.1;
  margin-bottom: 8px;
}
.project-stat-card span {
  color: rgba(58,58,50,0.74);
  font-size: 14px;
  line-height: 1.5;
}
.project-related-grid { grid-template-columns: repeat(2, 1fr); margin-top: 24px; }
.project-related-card {
  background: var(--cream);
  border: 1px solid rgba(46,107,122,0.16);
  display: block;
  padding: 24px;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.project-related-card:hover,
.project-related-card:focus {
  background: #fff;
  border-color: rgba(46,107,122,0.34);
  transform: translateY(-2px);
  outline: none;
}
.project-related-card span {
  color: var(--river);
  font-family: 'DM Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.project-note-box {
  background: rgba(176,86,44,0.08);
  border-left: 5px solid #B0562C;
}
.project-button {
  display: inline-flex;
  margin-top: 22px;
  background: var(--river);
  color: #fff;
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.1em;
  padding: 12px 16px;
  text-decoration: none;
  text-transform: uppercase;
}
.project-button:hover,
.project-button:focus { background: var(--moss); outline: none; }
.project-list-page {
  background: var(--paper);
  padding: clamp(34px, 6vw, 76px) 24px clamp(54px, 8vw, 96px);
}
.project-list-grid {
  grid-template-columns: repeat(3, 1fr);
  width: min(1180px, 100%);
  margin: 0 auto;
}
.project-list-card {
  background: #fff;
  border: 1px solid rgba(58,90,46,0.12);
  box-shadow: 0 14px 34px rgba(42,42,36,0.06);
  overflow: hidden;
}
.project-list-image {
  display: block;
  background: var(--cream);
  overflow: hidden;
}
.project-list-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.25s;
}
.project-list-image:hover img,
.project-list-image:focus img { transform: scale(1.035); }
.project-list-card-body { padding: 24px; }
.project-list-card h2 { font-size: 28px; }
.project-list-card h2 a { color: inherit; text-decoration: none; }
.project-empty-state {
  width: min(780px, 100%);
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(58,90,46,0.12);
  padding: 32px;
}

@media (max-width: 1000px) {
  .project-split-section,
  .project-steps,
  .project-stats-grid,
  .project-related-grid,
  .project-list-grid { grid-template-columns: 1fr; }
  .project-side-image img { aspect-ratio: auto; }
}

@media (max-width: 700px) {
  .project-hero { padding: 72px 24px 56px; min-height: auto; }
  .project-content,
  .project-list-page { padding-left: 16px; padding-right: 16px; }
  .project-section,
  .project-note-box,
  .project-empty-state { padding: 22px; }
  .project-richtext { font-size: 16px; line-height: 1.68; }
  .project-step-card,
  .project-stat-card,
  .project-related-card,
  .project-list-card-body { padding: 18px; }
  .project-hero h1 { overflow-wrap: anywhere; }
}

/* ── PASS 6A: PUBLIC PAGE EDITORIAL SYSTEM ── */
:root {
  --page-max: 1120px;
  --page-wide: 1240px;
  --page-narrow: 760px;
  --hairline: rgba(58, 90, 46, 0.14);
  --hairline-strong: rgba(46, 107, 122, 0.26);
  --quiet-surface: rgba(244, 240, 230, 0.72);
  --quiet-surface-light: rgba(255, 255, 255, 0.58);
  --editorial-shadow: 0 14px 36px rgba(42, 42, 36, 0.055);
}

body {
  background:
    linear-gradient(180deg, rgba(250, 248, 242, 1) 0%, rgba(246, 243, 235, 1) 100%);
}

/* Accessible keyboard states for public UI controls. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--river-light);
  outline-offset: 3px;
}

/* Interior page headers: quieter and smaller than the homepage hero. */
.page-hero {
  background:
    linear-gradient(145deg, rgba(42, 42, 36, 0.98), rgba(26, 48, 47, 0.96));
  color: var(--cream);
  padding: clamp(54px, 7vw, 76px) clamp(24px, 5vw, 60px) clamp(44px, 6vw, 64px);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  background:
    radial-gradient(ellipse at 16% 80%, rgba(46, 107, 122, 0.18), transparent 46%),
    radial-gradient(ellipse at 84% 12%, rgba(58, 90, 46, 0.24), transparent 42%);
  opacity: 0.9;
}

.page-hero-inner {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
}

.page-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  margin: 12px 0 14px;
  max-width: 860px;
}

.page-lead {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  max-width: 760px;
}

/* Hide old internal-preview badges without deleting the source text. */
.structure-preview-hero .preview-note {
  display: none !important;
}

/* Editorial page foundation for current static pages and later rewrites. */
.detail-page,
.editorial-page {
  background: var(--paper);
}

.detail-grid,
.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: clamp(28px, 4vw, 52px);
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 78px) clamp(24px, 5vw, 60px) clamp(22px, 4vw, 42px);
}

.detail-main-card,
.editorial-main {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

.detail-side-card,
.editorial-aside,
.quiet-card {
  background: var(--quiet-surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid rgba(46, 107, 122, 0.38);
  box-shadow: none;
  padding: clamp(20px, 3vw, 28px);
  align-self: start;
}

.detail-main-card h2,
.editorial-main h2,
.editorial-section h2,
.content-block h2,
.timeline-preview h2,
.decision-prompt h2,
.team-intro-card h2,
.team-section-preview h2,
.site-example-card h2,
.detail-side-card h2,
.quiet-card h2,
.cta-band h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
  margin-bottom: 14px;
}

.detail-side-card h2,
.quiet-card h2 {
  font-size: clamp(23px, 2.6vw, 30px);
}

.detail-main-card p,
.content-block p,
.site-example-card p,
.decision-prompt p,
.team-intro-card p,
.team-section-preview p,
.detail-side-card p,
.editorial-main p,
.editorial-section p,
.quiet-card p,
.cta-band p {
  font-size: 16px;
  line-height: 1.72;
  color: rgba(58, 58, 50, 0.8);
}

.editorial-section,
.editorial-narrow {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  padding: clamp(42px, 6vw, 68px) clamp(24px, 5vw, 60px);
}

.editorial-narrow {
  width: min(var(--page-narrow), 100%);
}

.about-intro-section {
  width: min(1120px, 100%);
}

.about-intro-box {
  background: #fff;
  border: 1px solid rgba(58,90,46,0.12);
  box-shadow: 0 14px 34px rgba(42,42,36,0.06);
  margin: 0 auto clamp(56px, 8vw, 72px);
  padding: clamp(28px, 5vw, 52px);
}

.about-intro-box h2 {
  color: var(--moss);
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.03;
  margin: 0 0 clamp(26px, 4vw, 36px);
}

.about-intro-box p {
  color: rgba(58, 58, 50, 0.82);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
  margin: 0 0 1.5em;
}

.about-intro-box p:last-child {
  margin-bottom: 0;
}

.editorial-lead {
  color: rgba(58, 58, 50, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.62;
  max-width: var(--page-narrow);
}

.section-divider {
  width: min(var(--page-max), calc(100% - 48px));
  height: 1px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
}

/* Current block-heavy pages: make normal content feel open instead of boxed. */
.content-blocks,
.site-examples {
  width: min(var(--page-max), 100%);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 60px) clamp(34px, 6vw, 72px);
  gap: clamp(22px, 3vw, 34px);
}

.content-block,
.site-example-card {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--hairline);
  box-shadow: none;
  padding: clamp(20px, 3vw, 30px) 0 0;
}

.placeholder-block,
.content-block.placeholder-block,
.site-example-card.placeholder-block {
  background: var(--quiet-surface);
  border: 1px solid var(--hairline);
  border-left: 3px solid rgba(58, 90, 46, 0.34);
  padding: clamp(22px, 3vw, 30px);
}

/* Reusable link-card system for upcoming Pass 6 page rewrites. */
.link-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 24px);
  width: min(var(--page-max), 100%);
  margin: 0 auto;
}

.link-card,
a.link-card {
  display: block;
  background: var(--quiet-surface-light);
  border: 1px solid var(--hairline);
  border-top: 3px solid rgba(46, 107, 122, 0.38);
  color: var(--ink);
  padding: clamp(22px, 3vw, 30px);
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.link-card:hover,
a.link-card:hover,
.link-card:focus-visible,
a.link-card:focus-visible {
  background: #fff;
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

.link-card h3,
a.link-card h3 {
  color: var(--moss);
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  margin-bottom: 10px;
}

.link-card p,
a.link-card p {
  color: rgba(58, 58, 50, 0.74);
  font-size: 15px;
  line-height: 1.62;
}

/* CTA bands: restrained institutional calls to action. */
.decision-prompt,
.timeline-preview,
.team-intro-card,
.team-section-preview,
.cta-band {
  width: min(var(--page-max), calc(100% - 48px));
  margin: clamp(24px, 5vw, 52px) auto;
  box-shadow: none;
}

.decision-prompt,
.cta-band {
  background: var(--cream);
  border: 1px solid var(--hairline);
  border-left: 4px solid var(--river);
  padding: clamp(24px, 4vw, 38px);
}

.soft-prompt {
  background:
    linear-gradient(135deg, rgba(46, 107, 122, 0.08), rgba(58, 90, 46, 0.08)),
    var(--cream);
}

.timeline-preview,
.team-intro-card,
.team-section-preview {
  background: transparent;
  border: 0;
  padding: clamp(28px, 4vw, 42px) 0;
}

.muted-section {
  background: var(--quiet-surface);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 4vw, 42px);
}

/* Small structural components. */
.snapshot-list {
  gap: 0;
}

.snapshot-list div {
  border-top: 1px solid var(--hairline);
  padding: 14px 0;
}

.snapshot-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.snapshot-list div:last-child {
  padding-bottom: 0;
}

.snapshot-list dd a {
  color: var(--river);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.clean-list {
  margin-top: 14px;
}

.clean-list li {
  padding-left: 22px;
}

.clean-list li::before {
  top: 0.7em;
  width: 7px;
  height: 7px;
  border-width: 1px;
  background: rgba(46, 107, 122, 0.12);
}

.map-placeholder {
  min-height: 140px;
  border-color: rgba(46, 107, 122, 0.28);
  background: rgba(216, 230, 204, 0.26);
}

/* News/project listing pages should align with the same public-page width. */
.news-listing {
  padding: clamp(54px, 7vw, 78px) clamp(24px, 5vw, 60px);
}

.news-listing-header,
.news-listing-grid {
  width: min(var(--page-max), 100%);
  margin-left: auto;
  margin-right: auto;
}

.news-listing-header h1 {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
}

.project-list-page {
  padding-top: clamp(42px, 6vw, 70px);
}

@media (max-width: 900px) {
  .page-hero {
    padding: 52px 24px 42px;
  }

  .page-hero h1 {
    font-size: clamp(32px, 11vw, 48px);
    line-height: 1.06;
  }

  .page-lead {
    font-size: 17px;
  }

  .detail-grid,
  .editorial-grid,
  .content-blocks,
  .site-examples {
    grid-template-columns: 1fr;
    padding-left: 24px;
    padding-right: 24px;
  }

  .detail-grid,
  .editorial-grid {
    padding-top: 42px;
  }

  .detail-side-card,
  .quiet-card {
    padding: 22px;
  }

  .link-card-grid,
  .news-listing-grid,
  .project-list-grid,
  .people-grid,
  .timeline-steps {
    grid-template-columns: 1fr;
  }

  .decision-prompt,
  .timeline-preview,
  .team-intro-card,
  .team-section-preview,
  .cta-band {
    width: calc(100% - 48px);
  }

  .muted-section {
    padding: 24px;
  }

  .news-listing {
    padding: 42px 24px;
  }
}

@media (max-width: 520px) {
  .detail-grid,
  .editorial-grid,
  .content-blocks,
  .site-examples,
  .news-listing {
    padding-left: 18px;
    padding-right: 18px;
  }

  .decision-prompt,
  .timeline-preview,
  .team-intro-card,
  .team-section-preview,
  .cta-band {
    width: calc(100% - 36px);
  }

  .detail-side-card,
  .quiet-card,
  .placeholder-block,
  .content-block.placeholder-block,
  .decision-prompt,
  .cta-band {
    padding: 20px;
  }
}

/* ── PASS 6A HOTFIX: RESTORE LEFT HERO + FULL-WIDTH NAV PANELS ── */
/* Keep the calmer interior hero, but return the text block to the original left position. */
.page-hero-inner {
  width: min(880px, 100%);
  max-width: 880px;
  margin: 0;
}

/* Desktop mega-panels should span the nav/site width so the cursor has a safe path. */
@media (min-width: 901px) {
  .site-nav .nav-item {
    position: static;
  }

  .site-nav .nav-panel,
  .site-nav .nav-panel-wide {
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
    display: grid;
    grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
    gap: 28px;
    padding: 28px clamp(32px, 5vw, 60px) 30px;
    border-left: 0;
    border-right: 0;
    border-top: 1px solid rgba(216, 230, 204, 0.82);
    border-bottom: 1px solid rgba(58, 90, 46, 0.18);
    border-radius: 0;
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.24);
    transform: translateY(-6px);
  }

  .site-nav .nav-panel::before {
    display: none;
  }

  .site-nav .nav-panel::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -28px;
    height: 28px;
    background: transparent;
  }

  .site-nav .nav-has-panel:hover .nav-panel,
  .site-nav .nav-has-panel:focus-within .nav-panel,
  .site-nav .nav-has-panel.open .nav-panel {
    transform: translateY(0);
  }

  .site-nav .nav-panel-intro {
    max-width: 340px;
  }

  .site-nav .nav-panel-links,
  .site-nav .nav-panel-links-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-content: start;
  }

  .site-nav .nav-panel-links a {
    min-height: 78px;
    padding: 12px 14px;
  }
}

@media (max-width: 900px) {
  .page-hero-inner {
    width: 100%;
    max-width: 880px;
  }
}


/* ── UI PASS 7A: DESKTOP BRAND SCALE + MOBILE DRAWER NAV ── */
.mobile-submenu-header,
.nav-overlay {
  display: none;
}

@media (min-width: 901px) {
  .nav-logo a {
    padding: 12px 0;
  }

  .nav-name-main {
    font-size: 21px;
    line-height: 1.22;
    letter-spacing: 0.035em;
  }

  .nav-name-sub {
    font-size: 16px;
    line-height: 1.25;
  }
}

@media (max-width: 900px) {
  body.mobile-menu-open {
    overflow: hidden;
  }

  .site-nav {
    min-height: 64px;
    padding: 0 18px;
    z-index: 2300;
  }

  body.mobile-menu-open .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
  }

  .nav-logo {
    min-width: 0;
    max-width: calc(100vw - 90px);
  }

  .nav-logo a {
    padding: 10px 0;
  }

  .nav-name-main {
    font-size: 13px;
    line-height: 1.18;
    max-width: 100%;
  }

  .nav-name-sub {
    font-size: 10px;
    line-height: 1.2;
    max-width: 100%;
  }

  .nav-hamburger {
    display: flex;
    position: relative;
    z-index: 1501;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(216, 230, 204, 0.22);
    border-radius: 4px;
  }

  .nav-hamburger[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-hamburger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-overlay:not([hidden]) {
    display: block;
    position: fixed;
    inset: var(--mobile-nav-height, 64px) 0 0 0;
    background: rgba(18, 24, 16, 0.52);
    z-index: 2180;
  }

  .site-nav .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: fixed;
    top: var(--mobile-nav-height, 64px);
    right: 0;
    bottom: 0;
    left: auto;
    width: min(72vw, 300px);
    height: calc(100vh - var(--mobile-nav-height, 64px));
    height: calc(100dvh - var(--mobile-nav-height, 64px));
    padding: 0;
    margin: 0;
    background: linear-gradient(180deg, var(--moss) 0%, #2f4b26 100%);
    border-top: 2px solid #0f120d;
    border-left: 1px solid rgba(216, 230, 204, 0.28);
    box-shadow: -28px 0 64px rgba(0, 0, 0, 0.34);
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.24s ease;
    z-index: 2200;
  }

  .site-nav .nav-links.open {
    transform: translateX(0);
  }

  .mobile-submenu-back {
    appearance: none;
    border: 1px solid rgba(58, 90, 46, 0.18);
    background: rgba(255, 255, 255, 0.74);
    color: var(--moss);
    min-width: 42px;
    min-height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 4px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
  }

  .site-nav .nav-links > li {
    border-bottom: 1px solid rgba(216, 230, 204, 0.18);
  }

  .site-nav .nav-links > li > a,
  .site-nav .nav-links > li > .nav-panel-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    padding: 0 22px;
    border-radius: 0;
    background: transparent;
    color: var(--mist);
    font-family: 'DM Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
  }

  .site-nav .nav-links > li > a:hover,
  .site-nav .nav-links > li > a:focus,
  .site-nav .nav-links > li > .nav-panel-trigger:hover,
  .site-nav .nav-links > li > .nav-panel-trigger:focus {
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
    outline: none;
  }

  .site-nav .nav-links > li > .nav-panel-trigger::after {
    width: 8px;
    height: 8px;
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    transform: rotate(-45deg);
    opacity: 0.82;
  }

  .site-nav .lang-toggle {
    display: inline-flex;
    align-items: center;
    width: calc(100% - 44px);
    margin: 18px 22px 24px;
    justify-content: center;
    min-height: 44px;
  }

  .site-nav .nav-panel,
  .site-nav .nav-panel-wide {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: none;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--paper);
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(18px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 3;
    overflow-y: auto;
  }

  .site-nav .nav-panel::before,
  .site-nav .nav-panel-intro {
    display: none;
  }

  .site-nav .nav-has-panel.open .nav-panel,
  .site-nav .nav-links.open .nav-has-panel.open .nav-panel {
    display: flex;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
  }

  .mobile-submenu-header {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(58, 90, 46, 0.14);
    background: #fff;
  }

  .mobile-submenu-header strong {
    flex: 1;
    color: var(--moss);
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    line-height: 1.1;
  }

  .site-nav .nav-links.open .nav-has-panel:not(.open) .nav-panel,
  .site-nav .nav-links.open .nav-has-panel:not(.open):hover .nav-panel,
  .site-nav .nav-links.open .nav-has-panel:not(.open):focus-within .nav-panel {
    display: flex;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(18px);
  }

  .site-nav .nav-panel-links,
  .site-nav .nav-panel-links-two {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 0 22px;
  }

  .site-nav .nav-panel-links a {
    min-height: auto;
    padding: 14px 18px;
    border: 0;
    border-left: 0;
    border-bottom: 1px solid rgba(58, 90, 46, 0.12);
    border-radius: 0;
    background: transparent;
    transform: none;
  }

  .site-nav .nav-panel-links a:hover,
  .site-nav .nav-panel-links a:focus {
    background: rgba(216, 230, 204, 0.42);
    transform: none;
  }

  .site-nav .nav-panel-links span {
    font-size: 12px;
    margin-bottom: 0;
  }

  .site-nav .nav-panel-links small {
    display: none;
  }

  .site-nav .nav-item {
    position: static;
  }
}

@media (max-width: 420px) {
  .site-nav .nav-links {
    width: min(74vw, 300px);
  }

  .site-nav .nav-links > li > a,
  .site-nav .nav-links > li > .nav-panel-trigger {
    min-height: 56px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* ── TEAM CMS ROSTER ── */
.team-roster {
  width: min(var(--page-max), calc(100% - 48px));
  margin: clamp(24px, 5vw, 52px) auto;
}

.team-roster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.team-group-heading {
  grid-column: 1 / -1;
  padding: clamp(28px, 4vw, 42px) 0 0;
  margin: clamp(10px, 3vw, 28px) 0 4px;
  border-top: 1px solid var(--hairline);
}

.team-group-heading:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.team-group-heading h2 {
  font-family: 'Playfair Display', serif;
  color: var(--moss);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
  margin-bottom: 0;
}

.team-group-heading > p {
  color: rgba(58, 58, 50, 0.78);
  line-height: 1.65;
}

.team-roster-grid .person-card {
  min-width: 0;
  height: 100%;
}

.person-photo {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(46,107,122,0.12), rgba(58,90,46,0.16));
  border: 1px solid rgba(58,90,46,0.12);
}

.person-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.person-description {
  margin: 0 !important;
  font-size: 15px !important;
  line-height: 1.62 !important;
  color: rgba(58, 58, 50, 0.78) !important;
}

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

@media (max-width: 900px) {
  .team-roster-grid {
    grid-template-columns: 1fr;
  }

  .team-group-heading {
    display: block;
  }

  .team-group-heading > p {
    max-width: none;
    margin-top: 12px;
  }
}

@media (max-width: 520px) {
  .team-roster {
    width: calc(100% - 36px);
  }
}

/* ── INTERIOR HERO WIDTH SYSTEM ──
   The homepage hero remains full-width. Interior page and project heroes
   are centred panels so normal field photographs do not need extreme
   panoramic crops. */
.page-hero,
.project-hero {
  /* About 60% on a 1920px monitor, progressively wider on smaller screens. */
  width: min(1160px, calc(30.75vw + 562px), calc(100% - 48px));
  margin-left: auto;
  margin-right: auto;
}

.page-hero,
.project-hero {
  margin-top: 0;
}

.project-hero:not(.project-hero-no-image) {
  min-height: clamp(380px, 32vw, 560px);
}

/* Mobile heroes remain almost full-width with consistent page margins. */
@media (max-width: 700px) {
  .page-hero,
  .project-hero {
    width: calc(100% - 24px);
    margin-top: 0;
  }

  .project-hero:not(.project-hero-no-image) {
    min-height: 320px;
  }
}

/* ── DONATIONS PAGE ──
   Compact document-first layout inspired by the former Wix page while
   retaining the current CGBVRR visual system. */
.donations-page {
  width: min(1160px, calc(30.75vw + 562px), calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 clamp(56px, 8vw, 92px);
}

.donation-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(34px, 5vw, 68px);
  align-items: center;
  padding: clamp(34px, 5vw, 66px);
  background:
    radial-gradient(circle at 82% 18%, rgba(46, 107, 122, 0.22), transparent 34%),
    linear-gradient(145deg, #274524 0%, #1a302f 100%);
  color: var(--cream);
  box-shadow: 0 22px 52px rgba(31, 43, 29, 0.16);
}

.donation-copy {
  min-width: 0;
}

.donation-copy .section-label {
  color: var(--fern);
  margin-bottom: 12px;
}

.donation-copy h1 {
  margin: 0 0 18px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.08;
  color: #fff;
}

.donation-copy > p:not(.section-label) {
  max-width: 620px;
  margin: 0;
  color: rgba(241, 238, 226, 0.86);
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.68;
}

.donation-downloads {
  display: grid;
  gap: 13px;
  margin-top: clamp(26px, 4vw, 40px);
}

.donation-download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: var(--river);
  color: #fff;
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.donation-download:hover,
.donation-download:focus-visible {
  background: var(--river-light);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.donation-download strong {
  flex: 0 0 auto;
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.12em;
}

.donation-image {
  margin: 0;
  padding: 9px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(12, 22, 17, 0.72);
  box-shadow:
    0 0 0 5px rgba(255, 255, 255, 0.2),
    0 18px 38px rgba(0, 0, 0, 0.28);
}

.donation-image img {
  display: block;
  width: 100%;
  aspect-ratio: 11 / 9;
  object-fit: cover;
  object-position: center;
  border: 1px solid #111;
}

@media (max-width: 900px) {
  .donation-panel {
    grid-template-columns: 1fr;
  }

  .donation-image {
    width: min(100%, 620px);
    justify-self: center;
  }
}

@media (max-width: 700px) {
  .donations-page {
    width: calc(100% - 24px);
    padding-top: 0;
  }

  .donation-panel {
    gap: 32px;
    padding: 28px 20px 22px;
  }

  .donation-download {
    min-height: 62px;
    padding: 14px 15px;
    font-size: 10px;
  }

  .donation-image {
    padding: 6px;
  }
}
