/* ============================================================
   PALMETTO TABLE PORTRAITS — main.css
   Colors: #000 (primary/text), #FE6A0D (accent), #66CC33 (green-1),
           #94DC79 (green-2), #D2F09E (green-3), #FFFFFF (white)
   Font:   Sofia Pro (Adobe Fonts — add kit ID in functions.php)
   ============================================================ */

/* === VARIABLES ============================================== */
:root {
    --black:     #000000;
    --white:     #FFFFFF;
    --accent:    #FE6A0D;
    --accent-dk: #D4570A;
    --green-1:   #94DC79;
    --green-2:   #94DC79;
    --green-3:   #D2F09E;
    --green-4:   #F0FAEB;  /* very light green for subtle bg */
    --gray-100:  #F5F5F5;
    --gray-200:  #E8E8E8;
    --gray-500:  #757575;
    --text:      #000000;
    --text-muted:#555555;

    --font: 'sofia-pro', 'Sofia Pro', 'Helvetica Neue', Arial, sans-serif;
    /* NOTE: If your Adobe Fonts kit uses a different CSS name for Sofia,
       update the first value above. Common names: 'sofia', 'sofia-pro' */

    --max-w:     1200px;
    --max-w-sm:  720px;
    --nav-h:     90px;
    --radius:    4px;
    --radius-lg: 8px;

    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* === RESET ================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 18px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* === TYPOGRAPHY ============================================= */
h1, h2, h3, h4, h5 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
p  { max-width: 68ch; }

/* === LAYOUT ================================================= */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.container--narrow {
    max-width: var(--max-w-sm);
}
.section {
    padding-block: clamp(4rem, 8vw, 7rem);
}
.section--tight {
    padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.section--green-light { background: var(--green-4); }
.section--dark {
    background: var(--black);
    color: var(--white);
}
.section--dark p, .section--dark h2, .section--dark h3 { color: var(--white); }
.section-header {
    margin-bottom: 3rem;
}
.section-header h2 { margin-top: 0.5rem; }
.section-footer {
    margin-top: 3rem;
    text-align: center;
}

/* === LABELS ================================================= */
.label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    padding: 0.25em 0.75em;
    border-radius: 100px;
}
.label--green  { background: var(--green-1); color: var(--black); }
.label--orange { background: var(--accent);  color: var(--white); }
.label--dark   { background: var(--black);   color: var(--white); }

/* === BUTTONS ================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.85em 1.75em;
    border-radius: var(--radius);
    transition: background 0.18s var(--ease), color 0.18s var(--ease), transform 0.12s;
    text-decoration: none;
    white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--accent      { background: var(--accent); color: var(--white); }
.btn--accent:hover{ background: var(--accent-dk); }

.btn--black       { background: var(--black); color: var(--white); }
.btn--black:hover { background: #222; }

.btn--green       { background: var(--green-1); color: var(--black); }
.btn--green:hover { background: #55b02a; }

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn--outline-white:hover { background: rgba(255,255,255,0.12); }

.btn--outline-black {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}
.btn--outline-black:hover { background: rgba(0,0,0,0.06); }

.btn--sm   { padding: 0.55em 1.1em; font-size: 0.78rem; }
.btn--full { width: 100%; }

/* === NAVIGATION ============================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 2px solid var(--black);
    height: var(--nav-h);
}
.nav-container {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.nav-logo {
    text-decoration: none;
    flex-shrink: 0;
    /* Constrain any real logo image to fit within the nav bar */
    display: flex;
    align-items: center;
    max-height: calc(var(--nav-h) - 20px);
}
.nav-logo img {
    max-height: calc(var(--nav-h) - 20px);
    width: auto;
    display: block;
}
.logo-placeholder {
    font-size: clamp(0.62rem, 1vw, 0.78rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.25;
    border: 2px solid var(--black);
    padding: 0.3em 0.65em;
    white-space: nowrap;
}
.logo-placeholder .logo-text { display: block; }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 0.5em 1em;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--black);
    border-radius: var(--radius);
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.nav-links a:hover { background: var(--green-4); text-decoration: none; }
.nav-links li.current-menu-item > a { color: var(--accent); }

.nav-cta { margin-left: 0.75rem; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    border-radius: var(--radius);
}
.nav-toggle__bar {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* === PLACEHOLDER IMAGES ==================================== */
.photo-placeholder,
.story-card__image--placeholder,
.hero__photo-placeholder,
.post-card__image--placeholder {
    background: var(--green-3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.7;
}
.photo-placeholder--tall { aspect-ratio: 3/4; width: 100%; }
.story-card__image--placeholder { aspect-ratio: 4/3; width: 100%; }
.hero__photo-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--green-3) 0%, var(--green-2) 50%, #4a9e1a 100%);
}

/* === HERO ================================================== */
.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    color: var(--white);
}
.hero__bg {
    position: absolute;
    inset: 0;
}
.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.55) 45%,
        rgba(0,0,0,0.15) 100%
    );
}
.hero__content {
    position: relative;
    z-index: 2;
    padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 4vw, 2.5rem);
    max-width: var(--max-w);
    margin-inline: auto;
    width: 100%;
    padding-bottom: clamp(4rem, 10vw, 8rem);
}
.hero__eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-2);
    margin-bottom: 1rem;
    max-width: none;
}
.hero__headline {
    font-size: clamp(2.8rem, 6.5vw, 5.5rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
    max-width: 18ch;
    color: var(--white);
}
.hero__subhead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 400;
    max-width: 55ch;
    opacity: 0.88;
    margin-bottom: 2.5rem;
    color: var(--white);
    line-height: 1.55;
}
.hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* === STATS BAR ============================================= */
.stats-bar {
    background: var(--black);
    color: var(--white);
    padding-block: 2.5rem;
    border-top: 4px solid var(--green-1);
}
.stats-bar__inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}
.stat__number {
    display: block;
    font-size: clamp(2.4rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--green-1);
    line-height: 1;
    letter-spacing: -0.03em;
}
.stat__label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-top: 0.4rem;
}

/* === ABOUT INTRO =========================================== */
.about-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.about-intro__text h2 { margin-block: 0.5rem 1.25rem; }
.about-intro__text p  { margin-bottom: 1rem; color: var(--text-muted); }
.about-intro__text .btn { margin-top: 1rem; }

/* === MAP TEASER ============================================ */
.map-teaser {
    background: var(--black);
    color: var(--white);
    padding-block: clamp(4rem, 8vw, 7rem);
}
.map-teaser__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.map-teaser__header h2 { color: var(--white); margin-top: 0.5rem; }
.map-teaser__subhead {
    color: rgba(255,255,255,0.7);
    max-width: 58ch;
    margin-inline: auto;
    margin-top: 1rem;
    font-size: 1.05rem;
}
.map-teaser__embed {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
}
.map-teaser__iframe-wrap {
    display: flex;
    justify-content: center;
}
.map-teaser__iframe-wrap iframe {
    display: block;
    margin-inline: auto;
    border: none;
    max-width: 100%;
}
.map-placeholder {
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: var(--radius-lg);
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-placeholder__inner {
    text-align: center;
    color: rgba(255,255,255,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.map-placeholder__inner p {
    font-size: 0.95rem;
    max-width: none;
    margin: 0;
}
.map-placeholder__inner span { color: rgba(255,255,255,0.4); font-size: 0.85rem; }

/* Full-page map embed */
.map-full {
    min-height: 80vh;
}
.map-full iframe {
    width: 100%;
    min-height: 80vh;
    border: none;
    display: block;
}
.map-embed-placeholder {
    min-height: 80vh;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}
.map-embed-placeholder__inner {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}
.map-embed-placeholder__inner p { color: rgba(255,255,255,0.7); max-width: none; }
.map-embed-placeholder__inner code { background: rgba(255,255,255,0.1); padding: 0.2em 0.5em; border-radius: 3px; font-size: 0.8rem; }

/* === MAP EXPLAINER ======================================== */
.map-explainer__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.map-explainer__item h3 { margin-block: 1rem 0.5rem; }
.map-explainer__item p  { color: var(--text-muted); font-size: 0.95rem; }
.map-explainer__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === STORY GRID =========================================== */
.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.story-grid--archive {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.story-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.story-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(-3px);
    text-decoration: none;
}
.story-card__image {
    aspect-ratio: 4/3;
    overflow: hidden;
}
.story-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.story-card:hover .story-card__image img { transform: scale(1.04); }
.story-card__image--placeholder {
    aspect-ratio: 4/3;
}
.story-card__body {
    padding: 1.35rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.story-card__county {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.story-card__title {
    font-size: 1.3rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}
.story-card__title--sm { font-size: 1.1rem; }
.story-card__title a { color: var(--black); text-decoration: none; }
.story-card__title a:hover { color: var(--accent); text-decoration: none; }
.story-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    flex: 1;
    margin-bottom: 1.25rem;
}
.story-card__read-more {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.15s;
}
.story-card__read-more:hover { color: var(--accent-dk); text-decoration: none; }
.story-card__read-more--disabled { color: var(--gray-500); cursor: default; }

/* === FILTER BAR =========================================== */
.filter-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding-block: 0.75rem;
    border-bottom: 1px solid var(--gray-200);
}
.filter-bar__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.filter-bar__tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-tag {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35em 0.9em;
    border-radius: 100px;
    border: 1.5px solid var(--gray-200);
    color: var(--text-muted);
    transition: border-color 0.15s, background 0.15s, color 0.15s;
    text-decoration: none;
}
.filter-tag:hover { border-color: var(--black); color: var(--black); text-decoration: none; }
.filter-tag--active { background: var(--black); color: var(--white); border-color: var(--black); }

/* === PAGE HERO ============================================ */
.page-hero {
    padding-block: clamp(4rem, 8vw, 7rem);
    border-bottom: 2px solid var(--black);
}
.page-hero--light { background: var(--green-4); }
.page-hero--dark  { background: var(--black); color: var(--white); }
.page-hero--dark h1, .page-hero--dark p { color: var(--white); }
.page-hero--green { background: var(--green-3); }
.page-hero--orange{ background: var(--accent); color: var(--white); }
.page-hero--orange h1, .page-hero--orange p { color: var(--white); }
.page-hero .label { margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero__subhead {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 58ch;
    opacity: 0.85;
    line-height: 1.55;
}

/* === ACTION BAND ========================================== */
.action-band {
    background: var(--green-1);
    padding-block: clamp(3rem, 6vw, 5rem);
}
.action-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.action-band__text h2 { margin-bottom: 0.5rem; line-height: 1.15; }
.action-band__text p  { color: var(--black); opacity: 0.75; max-width: 48ch; }
.action-band__ctas { display: flex; flex-wrap: wrap; gap: 1rem; flex-shrink: 0; }

/* === TAKE ACTION PAGE ===================================== */
.action-section__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}
.action-section__intro h2 { margin-block: 0.5rem 1.25rem; }
.action-section__intro p  { color: var(--text-muted); margin-bottom: 1rem; }
.action-section__find-rep {
    font-size: 0.9rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--green-4);
    border-left: 3px solid var(--green-1);
    border-radius: 0 var(--radius) var(--radius) 0;
    max-width: none !important;
}
.action-section__find-rep a { color: var(--black); font-weight: 700; text-decoration: underline; }

.email-template-card {
    border: 2px solid var(--black);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.email-template-card__header {
    background: var(--black);
    color: var(--white);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.email-template-card__header .label { margin-bottom: 0; }
.email-template-card__body {
    padding: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.7;
    background: var(--white);
}
.email-template-card__body p  { max-width: none; margin-bottom: 1em; color: var(--text); }
.email-template-card__body hr { border: none; border-top: 1px solid var(--gray-200); margin-block: 1rem; }

/* === SHARE SECTION ======================================== */
.share-section .container { text-align: center; }
.share-section__subhead { margin-block: 1rem 2rem; margin-inline: auto; color: var(--text-muted); }
.share-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* === ABOUT PAGE =========================================== */
.about-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}
.about-section__grid--reverse .about-section__text { order: 1; }
.about-section__grid--reverse .about-section__image { order: 0; }
.about-section__text h2 { margin-block: 0.5rem 1.25rem; }
.about-section__text p  { color: var(--text-muted); margin-bottom: 1rem; }

.principles-grid, .ethics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}
.ethics-grid {
    grid-template-columns: repeat(2, 1fr);
}
.principle {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.principle h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.principle p  { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.ethic-item {
    background: var(--green-3);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}
.ethic-item h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--black); }
.ethic-item p  { font-size: 0.9rem; color: var(--black); opacity: 0.75; margin: 0; }

/* === SUBMIT PAGE ========================================== */
.submit-section__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: start;
}
.submit-section__info h2 { margin-bottom: 2rem; }
.process-list { list-style: none; display: flex; flex-direction: column; gap: 2rem; }
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }
.process-step__number {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--white);
    background: var(--accent);
    border-radius: 100px;
    padding: 0.35em 0.75em;
    flex-shrink: 0;
    margin-top: 0.2rem;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.process-step p  { font-size: 0.9rem; color: var(--text-muted); }

.form-placeholder {
    border: 2px dashed var(--gray-200);
    border-radius: var(--radius-lg);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
}
.form-placeholder__inner {
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}
.form-placeholder__inner h3 { color: var(--black); }
.form-placeholder__inner p  { font-size: 0.9rem; max-width: none; }
.form-placeholder__inner code { background: var(--gray-200); padding: 0.15em 0.45em; border-radius: 3px; font-size: 0.8rem; }
.submit-section__form iframe {
	display: block;
	width: 100% !important;
	max-width: 100%;
	margin: 0 auto;
	border: none;
}


/* === SINGLE STORY ========================================= */
.story-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: flex-end;
    color: var(--white);
    overflow: hidden;
}
.story-hero__image {
    position: absolute;
    inset: 0;
}
.story-hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}
.story-hero__image--placeholder {
    background: linear-gradient(135deg, var(--green-3), var(--green-2), #4a9e1a);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.4);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.story-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%);
}
.story-hero__meta {
    position: relative;
    z-index: 2;
    padding-bottom: clamp(2.5rem, 6vw, 5rem);
    padding-top: 2rem;
}
.story-hero__name {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    color: var(--white);
    margin-top: 0.5rem;
}

.story-body__grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 4rem;
    align-items: start;
}
.story-body__text { font-size: 1.05rem; line-height: 1.75; }
.story-body__text p { margin-bottom: 1.5em; color: var(--text-muted); max-width: 66ch; }
.story-body__text h2 { margin-bottom: 0.75rem; }

.story-sidebar-card {
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}
.story-sidebar-card h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.story-sidebar-card dl { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem 0.75rem; font-size: 0.88rem; }
.story-sidebar-card dt { color: var(--text-muted); }
.story-sidebar-card dd { font-weight: 600; }
.story-sidebar-card--action { border-color: var(--black); background: var(--green-4); }
.story-sidebar-card--action h3 { font-size: 1rem; letter-spacing: 0; text-transform: none; }
.story-sidebar-card--action p { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }

.share-mini { display: flex; gap: 1rem; margin-top: 0.75rem; justify-content: center; }
.share-mini__link { font-size: 0.78rem; font-weight: 700; color: var(--black); text-decoration: underline; }

/* === BLOG / POSTS ========================================= */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}
.post-card {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.post-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.08); }
.post-card__image { aspect-ratio: 16/9; overflow: hidden; }
.post-card__image img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 1.25rem; }
.post-card__date { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.post-card__title { font-size: 1.2rem; margin-block: 0.5rem 0.75rem; }
.post-card__title a { color: var(--black); text-decoration: none; }
.post-card__title a:hover { color: var(--accent); }
.post-card__excerpt { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1rem; }

.single-featured-image { margin-bottom: 2.5rem; border-radius: var(--radius-lg); overflow: hidden; }

/* === PAGINATION =========================================== */
.pagination { margin-top: 3rem; text-align: center; }
.pagination .page-numbers {
    display: inline-flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}
.pagination .page-numbers a,
.pagination .page-numbers span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
    border: 1.5px solid var(--gray-200);
    color: var(--black);
    transition: background 0.15s, border-color 0.15s;
    text-decoration: none;
}
.pagination .page-numbers a:hover { background: var(--green-4); border-color: var(--black); text-decoration: none; }
.pagination .page-numbers .current { background: var(--black); color: var(--white); border-color: var(--black); }

/* === FOOTER =============================================== */
.site-footer {
    background: var(--black);
    color: var(--white);
    padding-top: clamp(4rem, 8vw, 6rem);
}
.footer-inner {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo-wrap {
    display: inline-block;
    margin-bottom: 1.25rem;
}
.footer-logo-wrap .custom-logo-link {
    display: inline-block;
    text-decoration: none;
}
.footer-logo-wrap .custom-logo-link img,
.footer-logo-wrap img {
    max-height: 80px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}
.footer-logo {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1.5px solid rgba(255,255,255,0.3);
    display: inline-block;
    padding: 0.35em 0.75em;
    margin-bottom: 1.25rem;
}
.footer-desc { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.6; max-width: 38ch; margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 1rem; }
.footer-social a { color: rgba(255,255,255,0.5); transition: color 0.15s; }
.footer-social a:hover { color: var(--green-2); text-decoration: none; }

.footer-nav-heading {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}
.footer-nav-links { list-style: none; display: flex; flex-direction: column; gap: 0.65rem; }
.footer-nav-links a { font-size: 0.9rem; color: rgba(255,255,255,0.75); transition: color 0.15s; text-decoration: none; }
.footer-nav-links a:hover { color: var(--green-2); text-decoration: none; }

.footer-bottom {
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2.5rem);
    padding-block: 1.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.35);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-bottom a:hover { color: var(--white); }

/* === MISC ================================================= */
.empty-state {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
    font-size: 1rem;
}
.empty-state a { color: var(--accent); font-weight: 600; }

/* === RESPONSIVE =========================================== */
@media (max-width: 1024px) {
    .story-grid { grid-template-columns: repeat(2, 1fr); }
    .about-intro__grid,
    .about-section__grid,
    .action-section__grid,
    .submit-section__grid { grid-template-columns: 1fr; }
    .about-section__grid--reverse .about-section__text { order: 0; }
    .about-section__grid--reverse .about-section__image { order: 1; }
    .principles-grid { grid-template-columns: repeat(2, 1fr); }
    .map-explainer__grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .story-body__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 2px solid var(--black);
        padding: 1.5rem clamp(1rem, 4vw, 2.5rem);
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s var(--ease), opacity 0.2s;
        z-index: 999;
    }
    .nav-menu.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links { flex-direction: column; align-items: flex-start; width: 100%; }
    .nav-links a { font-size: 1rem; padding: 0.65em 0; }
    .nav-cta { margin-left: 0; margin-top: 0.5rem; }

    .story-grid { grid-template-columns: 1fr; }
    .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
    .action-band__inner { flex-direction: column; align-items: flex-start; }
    .principles-grid { grid-template-columns: 1fr; }
    .ethics-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    .filter-bar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero__ctas { flex-direction: column; }
    .hero__ctas .btn { width: 100%; text-align: center; }
    .stats-bar__inner { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .share-buttons { flex-direction: column; }
    .share-buttons .btn { width: 100%; }
}

/* === BLOCK EDITOR CONTENT AREA ============================ */
.entry-content {
    font-size: 1.05rem;
    line-height: 1.75;
}
.entry-content p {
    margin-bottom: 1.25em;
    color: var(--text-muted);
}
.entry-content h2 { margin-bottom: 0.6em; margin-top: 1.5em; }
.entry-content h3 { margin-bottom: 0.5em; margin-top: 1.25em; }
.entry-content ul,
.entry-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.25em;
    color: var(--text-muted);
}
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 1em; }
.entry-content a { color: var(--accent); text-decoration: underline; }
.entry-content strong { font-weight: 700; color: var(--black); }
.entry-content img { border-radius: var(--radius); margin-block: 1.5em; }
.entry-content figure { margin-block: 2em; }
.entry-content figcaption { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }
.entry-content .wp-block-columns { gap: 2rem; }
.entry-content .wp-block-button__link {
    background: var(--accent);
    color: var(--white);
    border-radius: var(--radius);
    font-family: var(--font);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.85em 1.75em;
    text-decoration: none;
}
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: var(--black);
    border: 2px solid var(--black);
}

/* === WORDPRESS CORE ALIGNMENT ============================= */
.alignwide  { max-width: 1000px; margin-inline: auto; }
.alignfull  { max-width: none; margin-inline: calc(-1 * clamp(1rem, 4vw, 2.5rem)); }
.alignleft  { float: left; margin-right: 1.5rem; margin-bottom: 1rem; }
.alignright { float: right; margin-left: 1.5rem; margin-bottom: 1rem; }
.aligncenter { margin-inline: auto; display: block; }
.wp-block-image figcaption { font-size: 0.8rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* === SKIP LINK (ACCESSIBILITY) ============================ */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--accent);
    color: var(--white);
    padding: 0.5em 1em;
    border-radius: var(--radius);
    font-weight: 700;
    transition: top 0.2s;
    z-index: 9999;
}
.skip-link:focus { top: 1rem; }

/* === FORMIDABLE FORMS RESET ================================ */
/* Undo theme base styles that interfere with Formidable rendering */
.frm_forms input[type="text"],
.frm_forms input[type="email"],
.frm_forms input[type="tel"],
.frm_forms input[type="number"],
.frm_forms input[type="url"],
.frm_forms input[type="date"],
.frm_forms textarea,
.frm_forms select {
    width: 100%;
    padding: 0.6em 0.85em;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    box-sizing: border-box;
}
.frm_forms input[type="text"]:focus,
.frm_forms input[type="email"]:focus,
.frm_forms input[type="tel"]:focus,
.frm_forms input[type="number"]:focus,
.frm_forms input[type="url"]:focus,
.frm_forms input[type="date"]:focus,
.frm_forms textarea:focus,
.frm_forms select:focus {
    outline: 2px solid var(--accent);
    outline-offset: 1px;
    border-color: var(--accent);
}
.frm_forms ul,
.frm_forms ol {
    list-style: none;
    padding: 0;
    margin: 0;
}
.frm_forms button,
.frm_forms input[type="submit"] {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.85em 1.75em;
    cursor: pointer;
}
.frm_forms button:hover,
.frm_forms input[type="submit"]:hover {
    background: var(--accent-dk);
}
