/* ==========================================================
   Bhakti Marga Charity — editorial landing page
   B&W photography · warm paper · saffron accent
   ========================================================== */

:root {
    --ink: #14120f;
    --ink-soft: #4a453d;
    --paper: #f7f4ee;
    --paper-dark: #efe9df;
    --white: #ffffff;
    --accent: #e86a00;
    --accent-deep: #c05500;
    --rule: rgba(20, 18, 15, 0.14);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 820px; }

/* ---------- typography ---------- */

h1, h2, h3, blockquote {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
h2 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.15; }

.kicker {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent);
    margin-bottom: 1.2rem;
}

.accent { color: var(--accent); }

.section-head { margin-bottom: 3.5rem; }

/* ---------- buttons ---------- */

.btn {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 0.95rem 2rem;
    border-radius: 2rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-solid { background: var(--accent); color: var(--white); }
.btn-solid:hover { background: var(--accent-deep); transform: translateY(-2px); }

.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

/* ---------- reveal animations ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- navigation ---------- */

.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.nav.scrolled {
    background: rgba(247, 244, 238, 0.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--rule);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    color: var(--white);
    transition: color 0.35s ease;
}
.nav.scrolled .brand { color: var(--ink); }

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 600;
    flex-shrink: 0;
}

.brand-name {
    font-family: var(--serif);
    font-size: 1.1rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.brand-name em { font-style: italic; color: var(--accent); }

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

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    transition: color 0.25s ease;
}
.nav.scrolled .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--accent); }

.nav-links .nav-cta {
    padding: 0.55rem 1.3rem;
    border-radius: 2rem;
    background: var(--accent);
    color: var(--white) !important;
}
.nav-links .nav-cta:hover { background: var(--accent-deep); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
}
.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10, 9, 7, 0.82) 12%, rgba(10, 9, 7, 0.45) 55%, rgba(10, 9, 7, 0.25) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 24px 6rem;
    width: 100%;
}

.hero-sub {
    max-width: 34rem;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.65;
    margin: 1.8rem 0 2.6rem;
    color: rgba(255, 255, 255, 0.88);
}
.hero-sub strong { color: var(--white); }

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    left: 50%;
    bottom: 2.2rem;
    transform: translateX(-50%);
    z-index: 2;
    width: 26px;
    height: 44px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    display: flex;
    justify-content: center;
}
.hero-scroll span {
    width: 3px;
    height: 9px;
    margin-top: 8px;
    border-radius: 2px;
    background: var(--white);
    animation: scrollNudge 1.8s ease-in-out infinite;
}
@keyframes scrollNudge {
    0%, 100% { transform: translateY(0); opacity: 1; }
    55% { transform: translateY(12px); opacity: 0.25; }
}

/* ---------- mission ---------- */

.mission { padding: 8rem 0 7rem; }

.mission h2 { margin-bottom: 2.4rem; }

.mission-text p {
    font-size: clamp(1.05rem, 1.5vw, 1.2rem);
    line-height: 1.75;
    color: var(--ink-soft);
    margin-bottom: 1.4rem;
}
.mission-text strong { color: var(--ink); }

.mission-motto {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 2.4vw, 1.9rem) !important;
    color: var(--accent) !important;
    margin-top: 2.4rem;
}

/* ---------- impact ---------- */

.impact {
    background: var(--ink);
    color: var(--paper);
    padding: 7.5rem 0;
}

.impact .kicker { color: var(--accent); }

.impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border-top: 1px solid rgba(247, 244, 238, 0.18);
    padding-top: 3rem;
}

.impact-item { display: flex; flex-direction: column; gap: 0.6rem; }

.impact-number {
    font-family: var(--serif);
    font-size: clamp(2.8rem, 5.5vw, 4.6rem);
    line-height: 1;
    color: var(--white);
}
.impact-number .suffix { color: var(--accent); }

.impact-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: rgba(247, 244, 238, 0.6);
    max-width: 12rem;
}

.impact-note {
    margin-top: 3.4rem;
    font-size: 0.85rem;
    color: rgba(247, 244, 238, 0.45);
    font-style: italic;
}

/* ---------- areas ---------- */

.areas { padding: 8rem 0; }

.areas-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem 3rem;
}

.area-card { display: flex; flex-direction: column; }

.area-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.area-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: transform 0.7s ease, filter 0.7s ease;
}
.area-card:hover .area-media img {
    transform: scale(1.04);
    filter: grayscale(0.25) contrast(1.02);
}

.area-body { padding-top: 1.6rem; }

.area-index {
    font-family: var(--serif);
    font-size: 0.95rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

.area-body h3 { margin-bottom: 0.9rem; }

.area-body p {
    color: var(--ink-soft);
    font-size: 1rem;
    line-height: 1.7;
}

.area-countries {
    margin-top: 1rem;
    font-size: 0.8rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink) !important;
    opacity: 0.55;
}

/* ---------- quote band ---------- */

.quote-band {
    background: var(--accent);
    color: var(--white);
    padding: 6.5rem 0;
    text-align: center;
}

.quote-band blockquote {
    font-size: clamp(1.6rem, 3.4vw, 2.7rem);
    font-style: italic;
    line-height: 1.35;
}

.quote-band cite {
    display: block;
    margin-top: 1.8rem;
    font-family: var(--sans);
    font-style: normal;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.75);
}

/* ---------- stories ---------- */

.stories { padding: 8rem 0 5rem; }

.story {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3.5rem 0;
    border-top: 1px solid var(--rule);
}
.story:first-of-type { border-top: none; }

.story.flip .story-media { order: 2; }
.story.flip .story-body { order: 1; }

.story-media { overflow: hidden; }
.story-media img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: grayscale(1) contrast(1.05);
    transition: transform 0.7s ease, filter 0.7s ease;
}
.story:hover .story-media img {
    transform: scale(1.03);
    filter: grayscale(0.2) contrast(1.02);
}

.story-meta {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--ink-soft);
    margin-bottom: 1rem;
}
.story-country { color: var(--accent); }

.story-body h3 { margin-bottom: 1.1rem; }

.story-body > p {
    color: var(--ink-soft);
    font-size: 1.02rem;
    line-height: 1.75;
}
.story-body strong, .story-body em { color: var(--ink); }

.story-fact {
    margin-top: 1.6rem;
    padding-top: 1.2rem;
    border-top: 2px solid var(--accent);
    display: inline-block;
    font-size: 0.85rem !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink) !important;
}
.story-fact span {
    font-family: var(--serif);
    font-size: 1.7rem;
    letter-spacing: 0;
    text-transform: none;
    color: var(--accent);
    margin-right: 0.5rem;
}

/* ---------- countries ---------- */

.countries {
    background: var(--paper-dark);
    padding: 7.5rem 0;
}

.countries-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.countries-grid span {
    font-family: var(--serif);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    padding: 0.55rem 1.25rem;
    border: 1px solid rgba(20, 18, 15, 0.25);
    border-radius: 2rem;
    background: transparent;
    transition: all 0.25s ease;
    cursor: default;
}
.countries-grid span:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.countries-note {
    margin-top: 2.4rem;
    font-style: italic;
    color: var(--ink-soft);
}

/* ---------- country register ---------- */

.register {
    margin-top: 4.5rem;
    padding-top: 3.5rem;
    border-top: 1px solid rgba(20, 18, 15, 0.14);
}

.register-title {
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    margin-bottom: 0.8rem;
}

.register-intro {
    max-width: 38rem;
    color: var(--ink-soft);
    margin-bottom: 2.4rem;
}

.register-table-wrap {
    background: var(--white);
    border: 1px solid rgba(20, 18, 15, 0.1);
    border-radius: 14px;
    overflow-x: auto;
}

.register-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.register-table th {
    text-align: left;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink-soft);
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(20, 18, 15, 0.12);
    white-space: nowrap;
}
.register-table td {
    padding: 0.95rem 1.2rem;
    border-bottom: 1px solid rgba(20, 18, 15, 0.06);
    vertical-align: top;
    line-height: 1.55;
}
.register-table tr:last-child td { border-bottom: none; }
.register-table tr:hover td { background: rgba(232, 106, 0, 0.03); }

.reg-country {
    font-family: var(--serif);
    font-size: 1.02rem;
    white-space: nowrap;
}
.reg-scale { color: var(--ink-soft); font-size: 0.85rem; }

.status-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.6rem;
}

.status-group h4 {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--ink);
    margin-bottom: 0.8rem;
}
.status-group p { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.7; }
.status-group strong { color: var(--ink); }

.dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    flex-shrink: 0;
}
.dot-paused { background: #c99000; }
.dot-planned { background: #3b7ea1; }
.dot-none { background: rgba(20, 18, 15, 0.3); }

/* ---------- interview findings ---------- */

.findings { padding: 8rem 0; }

.findings-intro {
    max-width: 38rem;
    margin-top: 1.6rem;
    color: var(--ink-soft);
    font-size: 1.02rem;
}

.findings-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

.finding {
    background: var(--white);
    border: 1px solid rgba(20, 18, 15, 0.1);
    border-left: 3px solid var(--accent);
    border-radius: 0 14px 14px 0;
    padding: 1.7rem 1.8rem;
    display: flex;
    flex-direction: column;
}

.finding-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.finding-head h3 { font-size: 1.35rem; }

.finding-status {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-deep);
    white-space: nowrap;
}

.finding-entity {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--ink);
    opacity: 0.6;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(20, 18, 15, 0.08);
}

.finding-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--ink-soft);
}

/* ---------- partners ---------- */

.partners {
    background: var(--paper-dark);
    padding: 7.5rem 0;
}

.partners-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
}

.partner-col h3 {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-deep);
    margin-bottom: 1.6rem;
}

.partner-list { list-style: none; }
.partner-list li {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--ink-soft);
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(20, 18, 15, 0.09);
}
.partner-list li:last-child { border-bottom: none; }
.partner-list strong { color: var(--ink); font-weight: 600; }

/* ---------- get involved ---------- */

.involved {
    background: var(--ink);
    color: var(--paper);
    padding: 8rem 0;
    text-align: center;
}

.involved h2 { color: var(--white); margin-bottom: 1.6rem; }

.involved-text {
    max-width: 36rem;
    margin: 0 auto 2.6rem;
    color: rgba(247, 244, 238, 0.75);
    font-size: 1.05rem;
    line-height: 1.7;
}

.involved-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}
.involved .btn-ghost { color: var(--paper); }
.involved .btn-ghost:hover { background: rgba(247, 244, 238, 0.1); }

.involved-hint {
    margin-top: 1.4rem;
    font-size: 0.85rem;
    color: var(--accent);
    min-height: 1.2em;
}

/* ---------- footer ---------- */

.footer {
    background: #0c0b09;
    color: rgba(247, 244, 238, 0.55);
    padding: 3.2rem 0;
}

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

.footer-brand { display: flex; align-items: center; gap: 0.9rem; }

.footer-title {
    font-family: var(--serif);
    font-size: 1.05rem;
    color: var(--paper);
}
.footer-sub { font-size: 0.8rem; }

.footer-note { font-size: 0.78rem; text-align: right; line-height: 1.7; }
.footer-note a { color: rgba(247, 244, 238, 0.55); }
.footer-note a:hover { color: var(--accent); }

/* ---------- password gate ---------- */

.gate-body {
    background: var(--ink);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gate { width: 100%; padding: 2rem; }

.gate-card {
    max-width: 26rem;
    margin: 0 auto;
    text-align: center;
    color: var(--paper);
}

.gate-title {
    font-size: clamp(2.6rem, 7vw, 3.6rem);
    color: var(--white);
    margin-bottom: 1.4rem;
}

.gate-text {
    color: rgba(247, 244, 238, 0.65);
    font-size: 0.95rem;
    margin-bottom: 2.2rem;
}

.gate-form { display: flex; flex-direction: column; gap: 0.9rem; }

.gate-form input {
    font-family: var(--sans);
    font-size: 1rem;
    padding: 0.95rem 1.3rem;
    border-radius: 2rem;
    border: 1px solid rgba(247, 244, 238, 0.25);
    background: rgba(247, 244, 238, 0.06);
    color: var(--white);
    text-align: center;
    outline: none;
    transition: border-color 0.25s ease;
}
.gate-form input:focus { border-color: var(--accent); }
.gate-form input::placeholder { color: rgba(247, 244, 238, 0.4); }

.gate-form button {
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 0.95rem;
    border-radius: 2rem;
    border: none;
    background: var(--accent);
    color: var(--white);
    cursor: pointer;
    transition: background 0.25s ease;
}
.gate-form button:hover { background: var(--accent-deep); }

.gate-error {
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: #ff9c66;
}

/* ---------- submission form ---------- */

.form-page, .admin-page { background: var(--paper); }

.form-wrap {
    max-width: 780px;
    margin: 0 auto;
    padding: 9rem 24px 6rem;
}

.form-card h1 {
    font-size: clamp(2rem, 4.4vw, 3rem);
    margin-bottom: 1.2rem;
}

.form-intro {
    color: var(--ink-soft);
    font-size: 1.02rem;
    margin-bottom: 2.6rem;
    max-width: 36rem;
}

.form-errors {
    background: #fdece2;
    border-left: 3px solid var(--accent);
    padding: 1rem 1.3rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}
.form-errors p { color: var(--accent-deep); font-size: 0.92rem; }

.story-form .form-row { margin-bottom: 1.6rem; }

.story-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink);
}

.story-form input[type="text"],
.story-form input[type="email"],
.story-form select,
.story-form textarea {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    font-family: var(--sans);
    font-size: 0.98rem;
    font-weight: 400;
    color: var(--ink);
    background: var(--white);
    border: 1px solid rgba(20, 18, 15, 0.2);
    border-radius: 10px;
    padding: 0.85rem 1rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.story-form input:focus,
.story-form select:focus,
.story-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 106, 0, 0.14);
}
.story-form textarea { resize: vertical; }

.story-form input[type="file"] {
    display: block;
    margin-top: 0.6rem;
    font-size: 0.88rem;
    color: var(--ink-soft);
}

.form-row.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.story-form fieldset {
    border: 1px solid rgba(20, 18, 15, 0.15);
    border-radius: 10px;
    padding: 1.1rem 1.2rem 1.2rem;
}
.story-form legend {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0 0.5rem;
}

.check-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1.2rem;
}
.check {
    display: flex !important;
    align-items: center;
    gap: 0.6rem;
    font-weight: 400 !important;
    font-size: 0.92rem !important;
    cursor: pointer;
}
.check input {
    accent-color: var(--accent);
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
}

.form-hint {
    font-size: 0.8rem;
    color: var(--ink-soft);
    margin-top: 0.5rem;
    font-style: italic;
}

.captcha-row {
    background: var(--paper-dark);
    border-radius: 10px;
    padding: 1.1rem 1.2rem;
}
.captcha-row input { max-width: 10rem; }
.captcha-row strong { color: var(--accent-deep); }

/* honeypot: visually removed, still in the DOM for bots */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px; height: 1px;
    overflow: hidden;
}

.btn-submit { width: 100%; padding: 1.1rem; font-size: 1rem; border: none; cursor: pointer; }

.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }

.form-success { text-align: center; padding-top: 3rem; }
.form-success h1 { margin-bottom: 1.4rem; }
.form-success .form-intro { margin-left: auto; margin-right: auto; }
.form-success-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- admin ---------- */

.admin-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8.5rem 24px 5rem;
}

.admin-head { margin-bottom: 2.4rem; }
.admin-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.admin-sub { color: var(--ink-soft); margin-top: 0.5rem; font-size: 0.92rem; }

.admin-back {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-deep);
    text-decoration: none;
    margin-bottom: 1rem;
}
.admin-back:hover { text-decoration: underline; }

.admin-empty {
    background: var(--white);
    border: 1px dashed rgba(20, 18, 15, 0.25);
    border-radius: 14px;
    padding: 3.5rem 2rem;
    text-align: center;
    color: var(--ink-soft);
}
.admin-empty p:first-child {
    font-family: var(--serif);
    font-size: 1.4rem;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.admin-table-wrap {
    background: var(--white);
    border-radius: 14px;
    border: 1px solid rgba(20, 18, 15, 0.1);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.admin-table th {
    text-align: left;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-soft);
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(20, 18, 15, 0.12);
    white-space: nowrap;
}
.admin-table td {
    padding: 0.9rem 1.1rem;
    border-bottom: 1px solid rgba(20, 18, 15, 0.06);
    vertical-align: top;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table .cell-areas { max-width: 260px; color: var(--ink-soft); font-size: 0.82rem; }
.row-new td { background: rgba(232, 106, 0, 0.035); }

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.7rem;
    border-radius: 1rem;
}
.badge-new { background: var(--accent); color: var(--white); }
.badge-reviewed { background: rgba(20, 18, 15, 0.1); color: var(--ink-soft); }

.btn-view {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--accent-deep);
    text-decoration: none;
    white-space: nowrap;
}
.btn-view:hover { text-decoration: underline; }

.detail-grid { display: grid; gap: 1.4rem; }

.detail-card {
    background: var(--white);
    border: 1px solid rgba(20, 18, 15, 0.1);
    border-radius: 14px;
    padding: 1.8rem 2rem;
}
.detail-card h2 {
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-deep);
    margin-bottom: 1.2rem;
}
.detail-card dl { display: grid; grid-template-columns: 8rem 1fr; gap: 0.7rem 1.2rem; }
.detail-card dt {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding-top: 0.1rem;
}
.detail-card dd { font-size: 0.95rem; }
.detail-card dd a { color: var(--accent-deep); }
.prewrap { white-space: pre-wrap; }

.file-list { list-style: none; }
.file-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(20, 18, 15, 0.06);
    font-size: 0.92rem;
}
.file-list li:last-child { border-bottom: none; }
.file-list a { color: var(--accent-deep); font-weight: 500; }
.file-list span { color: var(--ink-soft); font-size: 0.8rem; white-space: nowrap; }

.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.detail-actions .btn { border: none; cursor: pointer; }
.detail-actions .btn-outline { border: 1px solid var(--ink); }

.btn-danger {
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.95rem 2rem;
    border-radius: 2rem;
    border: 1px solid #b3261e;
    color: #b3261e;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}
.btn-danger:hover { background: #b3261e; color: var(--white); }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
    .findings-grid { grid-template-columns: 1fr 1fr; }
    .status-groups { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 900px) {
    .areas-grid { grid-template-columns: 1fr; gap: 4rem; }
    .findings-grid { grid-template-columns: 1fr; }
    .partners-cols { grid-template-columns: 1fr; gap: 3rem; }

    .story,
    .story.flip {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }
    .story.flip .story-media { order: 0; }
    .story.flip .story-body { order: 1; }

    .impact-grid { grid-template-columns: 1fr 1fr; gap: 2.8rem 1.5rem; }
}

@media (max-width: 720px) {
    .nav-toggle { display: flex; }

    .nav-links {
        position: fixed;
        top: 0; right: 0;
        height: 100vh;
        width: min(78vw, 320px);
        flex-direction: column;
        justify-content: center;
        gap: 2.2rem;
        background: var(--ink);
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.35);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-links a,
    .nav.scrolled .nav-links a { color: var(--paper); font-size: 1.1rem; }

    .nav-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
    .nav-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }
    .nav-toggle.open span { background: var(--paper) !important; }

    .brand-name { font-size: 0.95rem; }

    .mission, .areas, .stories, .involved { padding-top: 5.5rem; padding-bottom: 5.5rem; }
    .impact, .countries, .quote-band { padding-top: 5rem; padding-bottom: 5rem; }

    .desktop-br { display: none; }

    .form-row.two { grid-template-columns: 1fr; }
    .check-grid { grid-template-columns: 1fr; }
    .detail-card dl { grid-template-columns: 1fr; gap: 0.2rem 0; }
    .detail-card dt { margin-top: 0.8rem; }

    /* form & admin pages have a simple inline nav (no burger menu) */
    .form-page .nav-links,
    .admin-page .nav-links {
        position: static;
        transform: none;
        height: auto;
        width: auto;
        flex-direction: row;
        gap: 1.2rem;
        background: none;
        box-shadow: none;
    }
    .form-page .nav.scrolled .nav-links a,
    .admin-page .nav.scrolled .nav-links a { color: var(--ink); font-size: 0.85rem; }
    .form-page .nav.scrolled .nav-links a.nav-cta,
    .admin-page .nav.scrolled .nav-links a.nav-cta { color: var(--white); }
    .form-page .nav-toggle,
    .admin-page .nav-toggle { display: none; }
}
