*{margin:0;padding:0;box-sizing:border-box}
body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;line-height:1.6;color:#0f172a;background:#fff}
.skip-link-container{position:relative}.skip-link{position:absolute;left:-999px;top:-999px}.skip-link:focus{left:1rem;top:1rem;background:#1e3a8a;color:#fff;padding:.5rem 1rem;border-radius:.25rem}
/* Vote css*/
/* Disable vote buttons after a session vote */
.vote-disabled {
    pointer-events: none;
    opacity: .55;
    transform: none !important;
    filter: grayscale(10%);
}
.captcha-panel {
    margin-top: 12px;
}
/* Hide vote UI until JS confirms */
#vote-gate[data-vote-ready="0"] .cta-group {
    display: none;
}
#vote-gate[data-vote-ready="0"] {
    display: none;
}

.vote-message {
    margin-top: 12px;
    font-size: 0.95rem;
    opacity: 0.9;
}

.vote-message--warn {
    font-weight: 600;
}

    .vote-disabled:focus {
        outline: none;
    }

.vote-results {
    max-width: 560px;
    margin: 1rem auto 0;
    text-align: left;
}

.vote-row {
    margin-bottom: .9rem;
}

.vote-row-head {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .35rem;
}

.vote-name {
    font-weight: 800;
}

.vote-meta {
    color: #334155;
    font-weight: 600;
}

.vote-track {
    height: 12px;
    background: #e2e8f0;
    border-radius: 9999px;
    overflow: hidden;
}

.vote-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width .25s ease;
}

.vote-fill-yes {
    background: #16a34a;
}

.vote-fill-no {
    background: #ef4444;
}

.vote-total {
    margin-top: .5rem;
    color: #334155;
    font-weight: 700;
}
/* Match vote message width to vote results width */
.vote-message,
.vote-message--warn,
.validation-summary-errors {
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Keep the spacing consistent */
.vote-message {
    margin-top: 12px;
}
.vote-results {
    max-width: 560px;
}
/* Pinned brand + centered navigation overrides */
/* Pinned brand + centered navigation overrides */
.nav-brand {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1200;
    display: inline-flex;
    align-items: center;
}

    .nav-brand .brand-mark {
        width: clamp(180px, 18vw, 220px); /* ? bigger + responsive */
        height: auto;
        display: block;
    }
/* Hide the header wordmark on small screens */
@media (max-width: 639px) {
    .nav-brand {
        display: none;
    }
}

/* Ensure nav is centered and doesn't jump under the fixed brand */
.site-nav {
    position: sticky;
    min-height: 64px;
    top: 0;
    z-index: 100;
    backdrop-filter: saturate(180%) blur(10px);
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid #e2e8f0;
    padding: .75rem 1rem;
    /* establish positioning context */
    position: sticky;
}
    .site-nav .nav-list {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 1rem;
        list-style: none;
        margin: 0;
        padding: 0;
    }

/* Add left padding so centered nav doesn't overlap fixed brand on wider screens */
@media (min-width: 640px) {
    .site-nav { padding-left: 84px; } /* 48px brand + breathing room */
}
@media (max-width: 640px) {
    .brand-mark {
        width: 200px;
    }

    .nav-list {
        gap: .5rem;
    }
}
.nav-list{list-style:none;display:flex;gap:1rem}
.nav-list a{color:#1e3a8a;font-weight:800;text-decoration:none;padding:.25rem .5rem;border-radius:.375rem;transition:background .2s ease,color .2s ease}
    .nav-list a:hover, .nav-list a:focus {
        color: #09099F;
        background: #f1f5f9;
        outline: none
    }
.hero-section{min-height:100vh;background:linear-gradient(135deg,#fbbf24 0%,#f59e0b 50%,#fef3c7 100%);display:flex;align-items:center;justify-content:center;padding:2rem;position:relative;overflow:hidden}
.hero-section::before{content:'';position:absolute;inset:0;background-image:url('/images/people-bg.jpg');background-size:cover;background-position:center;opacity:.12}
.hero-content{max-width:980px;text-align:center;position:relative;z-index:2;animation:fadeUp .6s ease-out both}
.logo-container{margin-bottom:1.5rem}.logo-image{width:220px;height:auto;margin:0 auto;display:block;filter:drop-shadow(0 4px 12px rgba(30,58,138,.2))}
.main-heading{font-size:clamp(2rem,5vw,4rem);font-weight:800;color:#0f172a;margin-bottom:1rem;letter-spacing:-.02em}
.tagline{font-size:clamp(1rem,2.5vw,1.25rem);color:#1e40af;margin-bottom:2rem;font-weight:500;line-height:1.8}
.cta-group{display:inline-flex;gap:.75rem;flex-wrap:wrap;justify-content:center}
.cta-button{display:inline-block;padding:1rem 2rem;background:#1e3a8a;color:#fff;text-decoration:none;font-size:1.125rem;font-weight:700;border-radius:9999px;transition:transform .15s ease,background .2s ease,box-shadow .2s ease;box-shadow:0 6px 18px rgba(30,58,138,.25)}
.cta-button:hover{background:#2563eb;transform:translateY(-1px);box-shadow:0 10px 24px rgba(30,58,138,.3)}
.cta-button:active{transform:translateY(0)}.cta-secondary{background:#0f172a}.cta-secondary:hover{background:#1e293b}
.tally{margin-top:1rem;display:inline-flex;gap:.5rem}.tally-item{display:inline-block;padding:.4rem .7rem;border-radius:.5rem;font-weight:700;font-variant-numeric:tabular-nums}
.tally-yes{background:#dcfce7;color:#166534}.tally-no{background:#fee2e2;color:#991b1b}
.answers{padding:3rem 1.5rem;max-width:980px;margin:0 auto}
.answer-block{background:#fff;border:1px solid #e2e8f0;border-radius:.75rem;padding:1.5rem;margin-bottom:1rem;outline:none;box-shadow:0 6px 18px rgba(2,8,23,.06)}
.answer-block h3{color:#1e3a8a;margin-bottom:.75rem}.answer-block ul{margin:.75rem 0 1rem 1.25rem;list-style:disc}
.answer-cta{margin-top:.75rem}.mission{padding:3rem 1.5rem;max-width:980px;margin:0 auto}
.site-footer{text-align:center;padding:2rem 1rem;color:#334155}
@keyframes fadeUp{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:translateY(0)}}
@media (prefers-reduced-motion:reduce){.hero-content{animation:none}}
/* Chidren story*/
/* =========================================================
   SHARE YOUR STORY (CONTACT) PAGE — FULL STYLES
   Background image: /images/children.webp
   ========================================================= */
.story-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    justify-content: center;
    place-items: center;
    padding: 5rem 1.5rem 3rem;
    overflow: hidden;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fef3c7 100%);
}

.story-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('../images/children.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: contrast(102%) brightness(1.02) saturate(1.10);
}
/* STORIES page should use people background */
.page-stories .story-hero__bg {
    background-image: url('/images/people-bg.jpg') !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: .12; /* match home */
    filter: none; /* optional: remove children contrast tweaks */
}

/* CONTACT keeps children */
.page-contact .story-hero__bg {
    background-image: url('../images/children.webp') !important;
    opacity: 0.7;
    filter: contrast(102%) brightness(1.02) saturate(1.10);
}
.story-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    /* warm veil, no blur */
    background: rgba(255, 248, 235, 0.1);
    backdrop-filter: saturate(135%) blur(1px);
}
/* Content wrapper */
.story-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
}

/* Header */
.story-hero__header {
    text-align: center;
    margin-bottom: 2.25rem;
    margin-top: -18px; /* adjust: -10 to -28 depending on taste */
}

.story-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 .15rem 0; /* was .5rem */
}

.story-subtitle {
    font-size: 1.05rem;
    line-height: 1.55; /* was 1.8 */
    color: #1e40af;
    font-weight: 650;
    max-width: 60ch;
    margin-top: 0;
}

/* Two-column layout */
/* Center the single remaining panel */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center; /* centers the card */
    padding: 0 1.0rem; /* optional breathing room */
}

/* Give the card a nice readable max width */
.story-card {
    width: min(760px, 100%);
}
/* Right card (form) */
.story-card {
    background: rgba(255,255,255,0.92);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 14px 34px rgba(2,8,23,0.10);
}

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

/* Left panel */
.story-panel {
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 10px 26px rgba(2, 8, 23, 0.08);
}

.story-lead {
    font-size: 1.1rem;
    font-weight: 850;
    color: #0f172a;
    margin: 0 0 .75rem 0;
}

.story-panel p {
    color: #0f172a;
    line-height: 1.8;
    margin: 0 0 .85rem 0;
}

.story-note {
    color: #334155;
    font-weight: 650;
}

/* The question callout */
.story-question {
    margin-top: 1.25rem;
    padding: 1rem 1rem;
    border-radius: .9rem;
    border: 1px solid #fde68a;
    background: rgba(251, 191, 36, 0.14);
}

.story-question__label {
    display: inline-block;
    font-size: .85rem;
    font-weight: 850;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .35rem;
}

.story-question__text {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}
/* Form */
.story-form .form-row {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    font-weight: 850;
    color: #0f172a;
    margin-bottom: .35rem;
}

.form-optional {
    font-weight: 700;
    color: #64748b;
}

/* Inputs */
.form-input,
.form-textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: .85rem;
    padding: .85rem .9rem;
    font-size: 1rem;
    color: #0f172a;
    background: #fff;
    outline: none;
    transition: box-shadow .2s ease, border-color .2s ease, transform .1s ease;
    resize: vertical;
    line-height: 1.35;
}

    .form-textarea:focus {
        border-color: #f59e0b;
        box-shadow: 0 0 0 4px rgba(245,158,11,.20);
    }


    /* ===== Contact form validation (works for BOTH browser-native and unobtrusive) ===== */

    /* 1) Browser-native invalid styling */

    /* Some browsers only show invalid after interaction (better UX) */
    .form-input:focus:invalid,
    .form-textarea:focus:invalid {
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25);
    }
/* Contact/Story textarea: honor rows=3 (avoid tall default) */

/* 2) ASP.NET unobtrusive validation classes (when scripts are loaded) */
.input-validation-error {
    border: 2px solid #ef4444 !important;
    outline: none;
}

.field-validation-error,
.text-danger {
    display: block;
    margin-top: 6px;
    font-weight: 700;
    color: #ef4444;
}
/* Force hidden join errors to stay hidden */
#join-email-error[hidden],
#join-error[hidden] {
    display: none !important;
}
/* Optional: make the summary box obvious */
.validation-summary-errors,
.vote-message--warn {
    padding: 10px 12px;
    border: 2px solid #ef4444;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.06);
}
/* Actions row */
.form-actions {
    display: flex;
    gap: .75rem;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: .5rem;
}

/* If you already have a global .cta-button, this just tunes spacing */
.story-submit {
    padding: .95rem 1.4rem;
}

/* Secondary link */
.story-secondary {
    color: #1e3a8a;
    font-weight: 850;
    text-decoration: none;
    padding: .6rem .75rem;
    border-radius: .75rem;
    transition: background .2s ease, transform .1s ease;
}

    .story-secondary:hover,
    .story-secondary:focus {
        background: #f1f5f9;
        outline: none;
    }

/* Privacy note */
.story-privacy {
    margin-top: 1rem;
    color: #334155;
    font-size: .95rem;
}

/* Mobile tuning for this specific background image */
@media (max-width: 640px) {
    .story-hero__bg {
        background-position: center top;
        opacity: 0.7;
    }

    .story-hero::after {
        background: rgba(255, 248, 235, 0.1);
        backdrop-filter: saturate(135%) blur(1px);
    }

    .story-panel,
    .story-card {

    }
}
.form-consent {
    margin-top: .25rem;
    margin-bottom: 1.15rem;
}

.consent {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    cursor: pointer;
    user-select: none;
    color: #0f172a;
    line-height: 1.5;
    font-weight: 650;
}

    .consent input[type="checkbox"] {
        margin-top: .2rem;
        width: 1.05rem;
        height: 1.05rem;
        accent-color: #f59e0b; /* ties to amber */
    }
.consent-note {
    margin: .35rem 0 0 1.7rem;
    color: #64748b;
    font-size: .92rem;
}
/* =========================================================
   ABOUT PAGE — FULL STYLES (matches home palette)
   Background image: set /images/people-world-bg.webp (or png)
   ========================================================= */

.about-hero {
    position: relative;
    min-height: 100vh;
    padding: 5rem 1.5rem 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #fef3c7 100%);
}

/* Decorative background (people around the world) */
.about-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url('/images/background-image-parchment.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.7;
    filter: grayscale(100%) contrast(102%) brightness(1.08);
}

/* Readability wash */
.about-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(255, 248, 235, 0.1);
    backdrop-filter: saturate(135%) blur(3px);
}

.about-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
}

/* Header */
.about-hero__header {
    text-align: center;
    margin-bottom: 2.25rem;
}

.about-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin: 0 0 .75rem 0;
}

.about-subtitle {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #1e40af;
    font-weight: 650;
    max-width: 65ch;
    margin: 0 auto;
}

/* Two equal panels */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: stretch;
}

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

.about-panel {
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 14px 34px rgba(2, 8, 23, 0.10);
    display: flex; /* add */
    flex-direction: column; /* add */
    height: 100%; /* add */
}

/* Media blocks */
.about-figure {
    margin: 0 0 1rem 0;
    text-align: center;
}

.about-image,
.book-cover {
    width: 100%;
    height: 360px; /* pick 340–420px; this is a good balance */
    display: block;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px rgba(2, 8, 23, 0.12);
}
.about-panel .about-copy,
.about-panel--book .book-copy {
    display: flex;
    flex-direction: column;
    flex: 1; /* fill remaining panel height */
}

.about-cta {
    margin-top: auto; /* pins CTA area to bottom */
}

.buy-block {
    margin-top: auto; /* pins buy area to bottom */
}
.about-image {
    object-fit: cover;
}

.book-cover {
    object-fit: contain;
    background: rgba(255,255,255,0.7);
    padding: .75rem;
}
.about-caption {
    margin-top: .75rem;
    color: #334155;
    font-weight: 650;
    font-size: .95rem;
}

/* Copy */
.about-lead {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 .85rem 0;
}

.about-panel p {
    color: #0f172a;
    line-height: 1.8;
    margin: 0 0 .85rem 0;
}

.about-list {
    margin: .75rem 0 1rem 1.25rem;
    color: #0f172a;
    line-height: 1.8;
}

.about-question {
    margin: 1rem 0 1rem;
    padding: 1rem 1rem;
    border-radius: .9rem;
    border: 1px solid #fde68a;
    background: rgba(251, 191, 36, 0.14);
}

.about-question__label {
    display: inline-block;
    font-size: .85rem;
    font-weight: 850;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: .35rem;
}

.about-question__text {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}

/* CTAs */
.about-cta {
    display: flex;
    gap: .75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.about-secondary {
    color: #1e3a8a;
    font-weight: 850;
    text-decoration: none;
    padding: .6rem .75rem;
    border-radius: .75rem;
    transition: background .2s ease;
}

    .about-secondary:hover,
    .about-secondary:focus {
        background: #f1f5f9;
        outline: none;
    }

/* Book panel */
.book-lead {
    font-weight: 700;
    color: #0f172a;
}

.buy-block {
    margin-top: 1.25rem;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background: rgba(255,255,255,0.65);
}

.buy-title {
    font-size: 1.05rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 .85rem 0;
}

.buy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

@media (max-width: 420px) {
    .buy-grid {
        grid-template-columns: 1fr;
    }
}

.buy-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    padding: .85rem 1rem;
    border-radius: 9999px;
    font-weight: 850;
    background: #1e3a8a;
    color: #fff;
    box-shadow: 0 10px 24px rgba(30, 58, 138, 0.18);
    transition: transform .15s ease, background .2s ease, box-shadow .2s ease;
}

    .buy-button:hover,
    .buy-button:focus {
        background: #2563eb;
        transform: translateY(-1px);
        box-shadow: 0 14px 30px rgba(30, 58, 138, 0.22);
        outline: none;
    }

.buy-note {
    margin: .85rem 0 0 0;
    color: #334155;
    font-size: .95rem;
    text-align: center;
    max-width: 48ch;
    margin: .85rem auto 0; /* centers the block itself */
}

.inline-link {
    color: #1e3a8a;
    font-weight: 850;
    text-decoration: none;
}

    .inline-link:hover,
    .inline-link:focus {
        text-decoration: underline;
        outline: none;
    }

/* Mobile tuning */
@media (max-width: 640px) {
    .about-hero__bg {
        background-position: center top;
        opacity: 0.06;
    }

    .about-hero::after {
        background: rgba(255, 255, 255, 0.93);
    }

    .about-panel {
        padding: 1.15rem;
    }
}
/* Share on Home page*/
/* Home inline "Share why" panel */
#join-form .share-actions {
    display: flex;
    gap: 14px; /* spacing between Join and No thanks */
    justify-content: center;
    flex-wrap: wrap;
}
.share-title {
    margin: 0 0 .75rem 0;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
}
.share-form .form-textarea {
    margin-top: .35rem;
}

.share-actions {
    margin-top: .85rem;
    display: flex;
    justify-content: center;
}

.share-privacy {
    margin-top: .85rem;
    color: #334155;
    font-size: .95rem;
    text-align: center;
}

.share-thanks {
    text-align: center;
    padding: .5rem 0;
}

.share-thanks__text {
    font-weight: 900;
    color: #0f172a;
    margin: 0;
}
/* If a share/join panel is inside the white story-card, don't draw a second box */
/* Only strip the STORY share panel when it sits inside a story-card */
.story-card #share-why.share-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Responsive font sizing for share titles */
@media (max-width: 640px) {
    .share-title {
        font-size: 1.15rem; /* smaller on mobile */
        line-height: 1.25;
    }
}

@media (orientation: landscape) and (max-height: 700px) {
    .share-title {
        font-size: 1.1rem; /* tighter for landscape */
        line-height: 1.25;
    }
}

/* Keep the join panel width consistent inside the card */

/* Optional: make "Do You" slightly softer than the ATLË phrase */
.atle-do {
    font-weight: 900;
}

.atle-phrase {
    display: inline-block;
    font-weight: 900;
    letter-spacing: -0.01em;
    margin-left: .35rem;
    text-transform: none;
}

/* Highlight letters A T L Ë */
.atle-letter {
    color: #ffffff; /* deep blue */
    font-weight: 950;
}

/* Make Ë pop */
.atle-letter--e {
    color: #ffffff; /* amber */
}
.atle-question {
    color: #ffffff;
    font-weight: 900;
    margin-left: .05em;
}
/* --- Contact form spacing tighten (desktop/landscape friendly) --- */


/* Reduce vertical rhythm between rows */
.story-form .form-row {
    margin-bottom: 12px; /* was likely 16px+ */
}

/* Labels slightly tighter */
.story-form .form-label {
    margin-bottom: 6px;
}

/* Inputs/textarea slightly tighter */

/* Consent block tighter */
.story-form .form-consent {
    margin-top: 6px;
    margin-bottom: 10px;
}

.story-form .consent-note {
    margin-top: 6px;
}

/* Action row closer to fields */
.story-form .form-actions {
    margin-top: 8px;
    gap: 10px;
}

/* Privacy note tighter */
.story-form .story-privacy {
    margin-top: 10px;
}

/* Validation summary less tall */
.story-form .vote-message--warn {
    margin-bottom: 10px;
    padding: 10px 12px;
}

/* --- Even tighter only in landscape --- */
@media (orientation: landscape) and (max-height: 700px) {
    .story-card {
        padding: 14px;
    }

    .story-form .form-row {
        margin-bottom: 10px;
    }

    .story-form .form-label {
        margin-bottom: 4px;
    }

    .story-form .form-input,
    .story-form .form-textarea {
        min-height: 0; /* critical: removes the "7 rows" look */
        height: auto;
        padding: .65rem .85rem;
    }

    .story-form .story-privacy {
        margin-top: 8px;
    }
}

/* Contact success panel */
.contact-sent {
    text-align: center;
    padding: 28px 20px;
}

.contact-sent__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    border-radius: 9999px;
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 900;
    background: rgba(22, 163, 74, 0.12);
    border: 2px solid rgba(22, 163, 74, 0.35);
}

.contact-sent__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.02em;
}

.contact-sent__text {
    margin: 12px auto 28px;
    max-width: 48ch;
    font-size: 1.05rem;
    line-height: 1.5;
    font-weight: bold;
    opacity: 0.98;
    color: #92400e; /* deeper amber */
}

.contact-sent__actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
/* =========================================================
   CONTACT PAGE OVERRIDES (put at END of site.css)
   This is the "make it stick" layer.
   Requires: <main class="page-contact">
   ========================================================= */

.page-contact .story-hero__header {
    margin-top: -18px;
    margin-bottom: 1.1rem; /* tighter overall header block */
}

.page-contact .story-title {
    margin: 0 0 .15rem 0; /* half the title->subtitle gap */
}

.page-contact .story-subtitle {
    margin-top: 0;
    line-height: 1.55;
}

/* Tighten vertical spacing in the form */
.page-contact .story-card {
    padding: 18px;
}

.page-contact .story-form .form-row {
    margin-bottom: 12px;
}

.page-contact .story-form .form-label {
    margin-bottom: 6px;
}

.page-contact .story-form .form-input {
    padding: .65rem .85rem;
}

/* Fix textarea "rows=3 but looks like 7" by killing min-height */
.page-contact .story-form .form-textarea {
    height: auto;
    line-height: 1.35;
    resize: vertical;
}

/* Even tighter only for landscape/short screens */
@media (orientation: landscape) and (max-height:700px) {
    .page-contact .story-card {
        padding: 14px;
    }

    .page-contact .story-form .form-row {
        margin-bottom: 10px;
    }

    .page-contact .story-form .form-label {
        margin-bottom: 4px;
    }
}
/* === Contact header position (must be LAST in site.css) === */
.page-contact .story-hero {
    padding-top: 3.5rem !important; /* was 5rem in base */
    padding-bottom: 2.5rem;
}

.page-contact .story-hero__header {
    margin-top: -34px !important; /* move the whole header block up */
    margin-bottom: 1rem; /* tighter gap before card */
}

.page-contact .story-title {
    margin-bottom: .08rem; /* halves title->subtitle gap */
}

.page-contact .story-subtitle {
    margin-top: 0;
    line-height: 1.45;
}
/* === Contact: smaller consent + privacy note on small screens === */
@media (max-width: 640px) {
    .page-contact .consent {
        font-size: .80rem;
        line-height: 1.35;
    }
    
    .page-contact .consent-note {
        font-size: .80rem;
        line-height: 1.35;
    }

    .page-contact .story-privacy {
        font-size: .80rem;
        line-height: 1.35;
    }
}
/* =========================
   SHARE / JOIN PANELS
   ========================= */

/* Base panel look */
.share-panel {
    margin-top: 1.25rem;
    background: rgba(255,255,255,0.72);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 10px 26px rgba(2, 8, 23, 0.08);
}

/* HOME ONLY: narrow version (560px) */
.hero-section .share-panel--narrow {
    max-width: 560px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* CONTACT: force join to fill the card (wins against any “narrow” class JS might add) */
.page-contact #join-panel.share-panel--full {
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Titles / actions */
.share-title {
    margin: 0 0 .75rem 0;
    font-weight: 900;
    color: #0f172a;
    text-align: center;
}

.share-privacy {
    margin-top: .85rem;
    color: #334155;
    font-size: .95rem;
    text-align: center;
}

.share-actions {
    margin-top: .85rem;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* Only strip the HOME “share-why” panel when inside a story-card */
.story-card #share-why.share-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

/* Force hidden join errors to stay hidden */
#join-email-error[hidden],
#join-error[hidden] {
    display: none !important;
}

@media (orientation: landscape) and (max-height: 700px) {
    .page-contact .consent,
    .page-contact .consent-note,
    .page-contact .story-privacy {
        font-size: .85rem;
        line-height: 1.25;
    }
}
/* === Home hero: tighten + slightly shrink the "Do You Aspire..." line on small screens === */
@media (max-width: 640px) {
    .main-heading {
        font-size: clamp(1.55rem, 6.2vw, 2.35rem);
        line-height: 1.12;
        margin-bottom: .45rem; /* tighter to the tagline */
        letter-spacing: -0.015em;
    }

    /* reduce the gap between "Do You" and "Aspire..." */
    .atle-phrase {
        margin-left: .22rem;
    }

    /* keep the question mark from floating too far away */
    .atle-question {
        margin-left: .02em;
    }
}

/* Extra-tight for landscape phones / short screens */
@media (orientation: landscape) and (max-height: 700px) {
    .main-heading {
        font-size: clamp(1.45rem, 5.4vw, 2.1rem);
        line-height: 1.10;
        margin-bottom: .35rem;
    }
}
/* ===== Footer (mirrors header layout) ===== */
/* =========================
   Compact 2-line footer
   ========================= */
.site-footer {
    border-top: 1px solid #e2e8f0;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(10px);
    padding: 12px 14px;
    text-align: center;
}

.footer-top,
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-top {
    font-weight: 900;
    margin-bottom: 6px; /* keeps it tight */
}

.footer-bottom {
    font-weight: 750;
    font-size: .95rem;
    color: #334155;
}

.footer-link {
    color: #1e3a8a;
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 10px;
    transition: background .2s ease;
}

    .footer-link:hover,
    .footer-link:focus {
        background: rgba(30,58,138,.08);
        outline: none;
    }

.footer-link--inline {
    padding: 4px 6px;
}

.footer-sep {
    opacity: .55;
}

.footer-muted {
    color: #334155;
}

/* Tighten on small screens */
@media (max-width: 520px) {
    .footer-top, .footer-bottom {
        gap: 10px;
    }

    .footer-top {
        margin-bottom: 4px;
    }

    .footer-bottom {
        font-size: .92rem;
    }

    .footer-link {
        padding: 6px 8px;
    }
}
/* =========================
   Terms / Privacy pages
   ========================= */
.policy-page {
    max-width: 980px;
    margin: 0 auto;
    padding: 3rem 1.25rem 3.5rem;
}

.policy-header {
    text-align: center;
    margin: 0 auto 1.25rem;
}

.policy-title {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    font-weight: 950;
    letter-spacing: -0.02em;
    margin: 0 0 .25rem;
    color: #0f172a;
}

.policy-subtitle {
    margin: 0 auto;
    max-width: 70ch;
    color: #334155;
    font-weight: 650;
    line-height: 1.6;
}

.policy-card {
    background: rgba(255,255,255,.92);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem 1.35rem;
    box-shadow: 0 10px 26px rgba(2, 8, 23, 0.08);
    text-align: left;
}

.policy-h2 {
    margin: 1.15rem 0 .5rem;
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
}

.policy-h3 {
    margin: .75rem 0 .35rem;
    font-size: 1.02rem;
    font-weight: 850;
    color: #0f172a;
}

.policy-p {
    margin: 0 0 .75rem;
    color: #0f172a;
    line-height: 1.7;
}

.policy-list {
    margin: 0 0 .85rem 1.1rem;
    color: #0f172a;
    line-height: 1.7;
}

.policy-link {
    color: #1e3a8a;
    font-weight: 850;
    text-decoration: none;
}

    .policy-link:hover,
    .policy-link:focus {
        text-decoration: underline;
        outline: none;
    }

.policy-footnote {
    margin-top: 1.25rem;
    color: #64748b;
    font-size: .92rem;
    text-align: center;
}
/* =========================
   STORIES PAGE (home-style background + scroll panel)
   ========================= */

.stories-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 5rem 1.5rem 3rem;
    overflow: hidden;
    background: linear-gradient(135deg,#fbbf24 0%,#f59e0b 50%,#fef3c7 100%);
}

.stories-hero__bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/people-bg.jpg'); /* same image as home hero */
    background-size: cover;
    background-position: center;
    opacity: .12;
}

.stories-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,248,235,0.08);
    backdrop-filter: saturate(135%) blur(1px);
}

.stories-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 980px;
}

.stories-header {
    text-align: center;
    margin: 0 auto 1rem;
}

.stories-title {
    font-size: clamp(2rem,4vw,3.25rem);
    font-weight: 900;
    letter-spacing: -.02em;
    margin: 0 0 .25rem;
    color: #0f172a;
}

.stories-subtitle {
    margin: 0 auto;
    max-width: 65ch;
    color: #1e40af;
    font-weight: 650;
    line-height: 1.6;
}

/* Scroll container */
.stories-panel {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    background: rgba(255,255,255,.88);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(2, 8, 23, 0.10);
    padding: 14px;
    max-height: min(72vh, 720px);
    overflow: auto;
}

.stories-empty {
    text-align: center;
    padding: 1.25rem;
    color: #334155;
    font-weight: 650;
}

.story-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    padding: 1rem 1rem;
    box-shadow: 0 10px 22px rgba(2, 8, 23, 0.06);
    margin-bottom: 12px;
}

    .story-card:last-child {
        margin-bottom: 0;
    }

.story-card--perspective {
    border-left: 4px solid #ef4444;
}

.story-card__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: .5rem;
}

.story-card__name {
    font-weight: 950;
    color: #0f172a;
    display: block;
}

.story-card__meta {
    display: block;
    color: #334155;
    font-weight: 650;
    font-size: .95rem;
    margin-top: .15rem;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    padding: .25rem .55rem;
    border-radius: 9999px;
    font-weight: 850;
    font-size: .78rem;
    color: #991b1b;
    background: rgba(239, 68, 68, 0.10);
    border: 1px solid rgba(239, 68, 68, 0.25);
    white-space: nowrap;
}

.story-card__body {
    color: #0f172a;
    line-height: 1.75;
}

/* Mobile spacing */
@media (max-width: 640px) {
    .stories-panel {
        padding: 12px;
        max-height: 75vh;
    }

    .story-card {
        padding: .95rem;
    }
}
/* =========================
   STORIES PAGE
   ========================= */

.page-stories .story-card {
    width: min(760px, 100%);
}

.stories-filter {
    margin-bottom: 12px;
}

.stories-filter__row {
    display: grid;
    gap: 8px;
}

.stories-scroll {
    max-height: 62vh; /* scroll area */
    overflow: auto;
    padding-right: 6px; /* space for scrollbar */
}

.story-item {
    background: rgba(255,255,255,0.92);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 14px;
    margin-bottom: 12px;
    box-shadow: 0 10px 24px rgba(2, 8, 23, 0.06);
}

.story-item__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: baseline;
    margin-bottom: 8px;
}

.story-item__title {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: -0.01em;
}

.story-item__meta {
    font-size: .9rem;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.story-item__body {
    color: #0f172a;
    line-height: 1.6;
}

.pager {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.pager__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .65rem 1rem;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 850;
    border: 1px solid #e2e8f0;
    background: rgba(255,255,255,0.82);
    color: #0f172a;
}

    .pager__btn:hover {
        transform: translateY(-1px);
    }

    .pager__btn.is-disabled {
        pointer-events: none;
        opacity: .5;
    }

.pager__info {
    font-weight: 800;
    color: #334155;
}

/* Mobile tighten */
@media (max-width: 640px) {
    .stories-scroll {
        max-height: 68vh;
    }

    .story-item__head {
        flex-direction: column;
        align-items: flex-start;
    }
}
.stories-scroll {
    scrollbar-gutter: stable;
}
.stories-pager {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    margin: .75rem auto;
    max-width: 560px; /* match your narrow panels */
    width: 100%;
}

.stories-pager__meta {
    font-weight: 800;
    color: #334155;
    white-space: nowrap;
}
/* Stories pager — compact buttons */
.stories-pager {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    margin: .75rem auto;
    max-width: 560px;
    width: 100%;
}

.stories-pager__meta {
    font-weight: 800;
    color: #334155;
    white-space: nowrap;
}

/* smaller “Prev/Next” */
.pager-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem .65rem;
    font-size: .95rem;
    font-weight: 800;
    border-radius: .75rem;
    text-decoration: none;
    line-height: 1.1;
    box-shadow: none;
}

.pager-btn--primary {
    background: #1e3a8a;
    color: #fff;
}

    .pager-btn--primary:hover {
        background: #2563eb;
    }

.pager-btn--secondary {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

    .pager-btn--secondary:hover {
        background: #e2e8f0;
    }

/* disabled look */
.pager-btn[aria-disabled="true"] {
    opacity: .45;
    pointer-events: none;
}
/* Stories pager — EXTRA compact (override) */
.stories-pager .pager-btn {
    padding: .22rem .45rem !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    border-radius: .6rem !important;
    line-height: 1.05 !important;
    min-height: 0 !important;
    box-shadow: none !important;
}

.stories-pager {
    gap: .45rem !important;
    margin: .5rem auto !important;
}

.stories-pager__meta {
    font-size: .85rem !important;
}
/* Stories top bar: filter + pager on one line */
.page-stories .stories-topbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: .75rem;
}

.page-stories .stories-filter {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    min-width: 220px;
}

/* Scrollable list inside the card */
.page-stories .stories-scroll {
    max-height: 62vh;
    overflow: auto;
    padding-right: .25rem;
}

/* Smaller "Prev/Next" links */
.page-stories .stories-pager {
    display: flex;
    align-items: center;
    gap: .6rem;
    justify-content: center;
    margin: .65rem 0;
}

.page-stories .stories-pager--top {
    margin: 0;
    justify-content: flex-end;
}

.page-stories .stories-pager__meta {
    font-weight: 800;
    color: #0f172a;
    font-size: .95rem;
}

.page-stories .stories-pager__link {
    font-weight: 900;
    color: #1e3a8a;
    text-decoration: none;
    font-size: .95rem;
    padding: .15rem .25rem;
    border-radius: .4rem;
}

    .page-stories .stories-pager__link:hover,
    .page-stories .stories-pager__link:focus {
        text-decoration: underline;
        background: #f1f5f9;
        outline: none;
    }

    .page-stories .stories-pager__link.is-disabled {
        pointer-events: none;
        opacity: .45;
        text-decoration: none;
        background: transparent;
    }
.site-footer {
    padding: 1.25rem 1rem;
    border-top: 1px solid #e2e8f0;
    background: rgba(255,255,255,.92);
}

    .site-footer .footer-row {
        max-width: 980px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
    }

    .site-footer .footer-row--bottom {
        justify-content: center;
        margin-top: .65rem;
        flex-wrap: wrap;
        gap: .5rem;
        color: #334155;
        font-weight: 700;
    }

    .site-footer .footer-links {
        display: flex;
        gap: 1.25rem;
        flex-wrap: wrap;
    }

    .site-footer a {
        color: #1e3a8a;
        text-decoration: none;
        font-weight: 800;
    }

        .site-footer a:hover {
            text-decoration: underline;
        }

    .site-footer .footer-mark {
        margin-left: auto;
        font-weight: 950;
        font-size: 1.15rem;
        letter-spacing: -0.02em;
        color: #f59e0b;
    }

    .site-footer .footer-sep {
        opacity: .6;
    }
/* =========================
   CONTACT JOIN PANEL — FORCE FULL WIDTH (NUCLEAR)
   Put this at the VERY END of site.css
   ========================= */

main.page-contact #join-panel {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    /* if any centering wrapper exists */
    align-self: stretch !important;
    justify-self: stretch !important;
    /* override any inline max-width set by JS */
    flex: 1 1 auto !important;
}

/* Also force the card to not shrink its children */
main.page-contact .story-card {
    width: min(760px, 100%) !important;
    max-width: 760px !important;
}

    /* If .story-card is being treated as flex/grid somewhere, make sure children stretch */
    main.page-contact .story-card > * {
        max-width: none !important;
    }
/* =========================================================
   JOIN PANEL (Contact success) — dedicated styles
   Put this at the VERY END of site.css
   ========================================================= */
/* =========================================================
   CONTACT (SUCCESS STATE): consistent card widths + compact thank-you banner
   Put this at the VERY END of site.css
   ========================================================= */

/* Contact hero should not shrink-wrap centered grid content */
.page-contact .story-hero {
    place-items: stretch; /* overrides center */
    justify-items: stretch;
    align-items: start;
}

/* Let content fill available width */
.page-contact .story-hero__content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Make the grid a normal centered column */
.page-contact .story-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 12px;
    padding: 0;
}

    /* THIS is the key: both cards get identical width rules */
    .page-contact .story-grid > .story-card {
        width: min(760px, 100%);
        max-width: 760px;
    }

/* Ensure nothing inside the card imposes a max-width */
.page-contact .story-card > * {
    max-width: none;
}

/* Join panel should just fill its card */
.page-contact #join-panel {
    width: 100%;
}

/* Compact tan thank-you banner (NOT a story-card) */
.page-contact .contact-sent--compact {
    width: min(760px, 100%);
    margin: 0 auto;
    padding: 12px 14px;
    background: rgba(251,191,36,0.14);
    border: 1px solid #fde68a;
    border-radius: 14px;
    box-shadow: none;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
}

    .page-contact .contact-sent--compact .contact-sent__icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        margin: 0;
        background: rgba(251,191,36,0.18);
        border: 1px solid rgba(245,158,11,0.35);
    }

    .page-contact .contact-sent--compact .contact-sent__title {
        margin: 0;
        font-size: 1.1rem;
    }

    .page-contact .contact-sent--compact .contact-sent__text {
        margin: 2px 0 0;
        color: #92400e;
        font-weight: 750;
        font-size: .95rem;
        max-width: none;
    }

/* CONTACT: ensure cards fill the same width */
.page-contact .story-grid {
    width: 100%;
    justify-items: center;
}

    .page-contact .story-grid > .story-card {
        width: min(760px, 100%);
    }
/* CONTACT: compact, tan "message sent" banner */
.page-contact .contact-sent--compact {
    width: min(760px, 100%);
    margin: 0 auto 12px;
    padding: 12px 14px; /* tighter top/bottom */
    background: rgba(251,191,36,0.14); /* warm tan used elsewhere */
    border: 1px solid #fde68a;
    border-radius: 14px;
    box-shadow: none;
    display: flex;
    gap: 12px;
    align-items: center;
    text-align: left;
}

    .page-contact .contact-sent--compact .contact-sent__icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
        margin: 0;
        background: rgba(251,191,36,0.18);
        border: 1px solid rgba(245,158,11,0.35);
    }

    /* tighten title/text inside banner */
    .page-contact .contact-sent--compact .contact-sent__title {
        margin: 0;
        font-size: 1.1rem;
    }

    .page-contact .contact-sent--compact .contact-sent__text {
        margin: 2px 0 0;
        color: #92400e;
        font-weight: 750;
        font-size: .95rem;
        max-width: none;
    }

/* CONTACT: make join card feel more prominent */
.page-contact .story-card--join {
    padding: 22px; /* a touch more than the banner */
    box-shadow: 0 14px 34px rgba(2,8,23,0.10);
}
/* =========================================================
   FOOTER — FINAL OVERRIDE (centered + hide ATLË on mobile)
   Put at VERY END of site.css
   ========================================================= */

.site-footer {
    border-top: 1px solid #e2e8f0;
    background: rgba(255,255,255,.92);
    backdrop-filter: saturate(180%) blur(10px);
    padding: 14px 14px;
}

    /* If your footer partial uses .footer-row / .footer-links / .footer-mark */
    .site-footer .footer-row {
        max-width: 980px;
        margin: 0 auto;
        display: flex;
        flex-direction: column; /* stack */
        align-items: center; /* center */
        justify-content: center;
        gap: .6rem;
        text-align: center;
    }

    .site-footer .footer-links {
        display: flex;
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
    }

    .site-footer a {
        color: #1e3a8a;
        text-decoration: none;
        font-weight: 800;
    }

        .site-footer a:hover {
            text-decoration: underline;
        }

    /* Put ATLË on its own centered line (desktop/tablet) */
    .site-footer .footer-mark {
        margin: 0;
        font-weight: 950;
        font-size: 1.05rem;
        letter-spacing: -0.02em;
        color: #f59e0b;
    }

/* Hide ATLË on small screens */
@media (max-width: 640px) {
    .site-footer .footer-mark {
        display: none !important;
    }
}
