:root {
    --bg: #f8f9fa;
    --paper: rgba(255, 255, 255, 0.98);
    --paper-strong: #ffffff;
    --ink: #1a1d23;
    --muted: #64748b;
    --line: rgba(0, 0, 0, 0.06);
    --accent: #f59e0b;
    --accent-deep: #d97706;
    --accent-soft: #fef3c7;
    --forest: #059669;
    --forest-soft: #d1fae5;
    --dark-bg: #1a1d23;
    --dark-bg-light: #2a2f3a;
    --shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
    --radius-xl: 28px;
    --radius-lg: 20px;
    --radius-md: 14px;
}

html,
body {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 100%;
    overflow-x: hidden;
}

body {
    font-family: "Manrope", sans-serif;
    color: var(--ink);
    background: #f8f9fa;
    min-height: 100vh;
}

.page-container,
.page-content,
.page-wrapper,
main,
#page-public-forms {
    max-width: none !important;
    width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

* {
    box-sizing: border-box;
}

.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 0 60px !important;
    position: relative;
    min-height: 100vh;
}

.header {
    position: relative;
    padding: 48px 2rem 32px;
    background: linear-gradient(135deg, #fef9c3 0%, #fde68a 100%);
    box-shadow: 0 4px 24px rgba(253, 230, 138, 0.25);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at top right, rgba(252, 211, 77, 0.2), transparent 50%),
        radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.15), transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.header::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.header-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 420px);
    gap: 26px;
    align-items: stretch;
}

.brand-lockup,
.hero-stats {
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
}

.logo,
.logo-placeholder {
    width: 92px;
    height: 92px;
    flex: 0 0 92px;
    border-radius: 24px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    border: 2px solid rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    object-fit: contain;
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.3);
}

.logo {
    padding: 12px;
}

.logo-placeholder {
    color: #ffffff;
    font-size: 34px;
}

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

.eyebrow,
.form-kicker,
.intro-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.eyebrow {
    color: #92400e;
    margin-bottom: 12px;
    font-weight: 700;
}

.brand-copy h1 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: clamp(2.3rem, 4vw, 4.2rem);
    line-height: 1;
    font-weight: 600;
    color: #1a1d23;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

.header-subtitle {
    margin: 18px 0 0;
    max-width: 720px;
    color: rgba(26, 29, 35, 0.75);
    font-size: 15px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-stats {
    padding: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.hero-stat {
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.hero-stat:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(245, 158, 11, 0.3);
    transform: translateY(-2px);
}

.hero-stat-value {
    display: block;
    font-family: "Fraunces", serif;
    color: #1a1d23;
    font-size: 2.2rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: -0.02em;
}
    margin-bottom: 8px;
}

.hero-stat-label {
    display: block;
    color: rgba(26, 29, 35, 0.6);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
}

.ticker-container {
    max-width: calc(100% - 4rem);
    margin: -12px auto 0;
    position: relative;
    z-index: 2;
    overflow: hidden;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ticker-content {
    display: flex;
    gap: 64px;
    width: max-content;
    padding: 14px 24px;
    animation: tickerScroll 42s linear infinite;
}

.ticker-content span {
    white-space: nowrap;
    color: #1a1d23;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

@keyframes tickerScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.portal-main {
    max-width: 100%;
    margin: 26px auto 0;
    padding: 0 2rem;
}

.portal-shell {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    max-width: 100%;
}

.portal-sidebar {
    position: sticky;
    top: 24px;
    display: grid;
    gap: 16px;
}

.sidebar-panel {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 24px;
    backdrop-filter: blur(12px);
}

.sidebar-panel h2 {
    margin: 10px 0 10px;
    font-family: "Fraunces", serif;
    font-size: 2rem;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-weight: 600;
}

.sidebar-panel p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
    font-size: 14px;
}

.sidebar-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.sidebar-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: var(--accent-deep);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sidebar-panel-steps {
    gap: 12px;
}

.sidebar-panel-note,
.sidebar-panel-contact {
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.sidebar-note-label {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent-deep);
    margin-bottom: 10px;
}

.sidebar-panel-contact a {
    color: var(--accent-deep);
    font-weight: 800;
    text-decoration: none;
}

.sidebar-panel-contact a:hover {
    text-decoration: underline;
}

.portal-content {
    min-width: 0;
}

.portal-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.intro-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-soft);
    padding: 28px;
}

.intro-card-primary {
    background: linear-gradient(135deg, #fef3c7 0%, #ffffff 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
}

.intro-card h2 {
    margin: 10px 0 12px;
    font-family: "Fraunces", serif;
    font-size: clamp(1.8rem, 2.4vw, 2.8rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--ink);
    font-weight: 600;
}

.intro-card p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.intro-kicker,
.form-kicker {
    color: var(--accent-deep);
}

.intro-card-steps {
    display: grid;
    gap: 14px;
    align-content: center;
}

.portal-intro-stack {
    display: grid;
    gap: 20px;
}

.intro-card-highlight h3 {
    margin: 10px 0 10px;
    font-family: "Fraunces", serif;
    font-size: 1.5rem;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.03em;
    font-weight: 600;
}

.portal-checklist {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.portal-check-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(245, 158, 11, 0.04);
    border: 1px solid rgba(245, 158, 11, 0.15);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
}

.portal-check-item i {
    color: var(--accent);
    font-size: 18px;
    margin-top: 2px;
}

.portal-bullet-list {
    margin: 14px 0 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.9;
}

.portal-bullet-list li + li {
    margin-top: 4px;
}

.mini-step {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 18px;
    background: #ffffff;
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.mini-step span {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
    flex: 0 0 32px;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
}

.tab-button {
    padding: 16px 26px;
    border: none;
    border-radius: 14px;
    background: transparent;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    transition: all 0.25s ease;
}

.tab-button:hover {
    color: var(--ink);
    background: rgba(245, 158, 11, 0.08);
}

.tab-button.active {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.form-container {
    display: none;
    background: transparent;
    animation: fadeIn 0.35s ease;
}

.form-container.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-heading {
    padding: 0 6px 18px;
}

.form-heading h2 {
    margin: 10px 0 10px;
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 3vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: var(--ink);
}

.form-heading p {
    max-width: 860px;
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
    font-size: 15px;
}

.public-form {
    display: grid;
    gap: 20px;
}

.form-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 26px;
    position: relative;
    overflow: hidden;
}

.form-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f59e0b 0%, #fbbf24 100%);
}

.form-section::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.06), transparent 68%);
    pointer-events: none;
}

.form-section h3 {
    margin: 0 0 20px;
    padding-left: 10px;
    font-family: "Fraunces", serif;
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.form-row:last-child {
    margin-bottom: 0;
}

.form-group {
    min-width: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea,
.form-group select,
.email-check-form input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.email-check-form input[type="email"]:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
    transform: translateY(-1px);
}

.legal-doc-group {
    padding: 18px;
    border-radius: 18px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    margin-bottom: 14px;
}

.legal-doc-group:last-child {
    margin-bottom: 0;
}

.file-upload-group input[type="file"] {
    padding: 12px;
    background: rgba(245, 158, 11, 0.08);
}

.form-actions {
    display: flex;
    justify-content: flex-start;
    padding: 8px 2px 0;
}

.btn-primary,
.email-check-form button,
.btn-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    border-radius: 999px;
    padding: 15px 26px;
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    transition: transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

.btn-primary {
    min-width: 220px;
}

.btn-primary:hover,
.email-check-form button:hover,
.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(245, 158, 11, 0.4),
                0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn-primary:disabled,
.email-check-form button:disabled,
.btn-home:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.status-check-section,
.data-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.status-check-section {
    margin-bottom: 22px;
}

.status-check-section p,
.data-section p {
    margin: 0 0 16px;
    color: var(--muted);
    line-height: 1.7;
}

.email-check-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
}

.data-section {
    margin-bottom: 18px;
}

.data-section h3 {
    margin: 0 0 16px;
    font-family: "Fraunces", serif;
    font-size: 1.35rem;
    color: var(--ink);
    font-weight: 600;
}

.data-table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table thead {
    background: linear-gradient(135deg, #1a1d23 0%, #2a2f3a 100%);
}

.data-table th {
    color: #ffffff;
    padding: 14px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    text-align: left;
}

.data-table td {
    padding: 14px 16px;
    border-top: 1px solid #e2e8f0;
    color: var(--ink);
    font-size: 14px;
}

.data-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.data-table tbody tr:hover {
    background: rgba(245, 158, 11, 0.08);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.status-success { background: #daf3df; color: #15603a; }
.status-danger { background: #fde0e0; color: #a21d1d; }
.status-warning { background: #fef3c7; color: #92400e; }
.status-info { background: #dcedf6; color: #175a7f; }
.status-secondary,
.status-default { background: #ece9e2; color: #5d645f; }

.alert {
    padding: 16px 18px;
    border-radius: 16px;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    animation: slideDown 0.25s ease;
}

.alert-success {
    background: #e6f6ea;
    border: 1px solid #bfe3c6;
    color: #185c35;
}

.alert-error {
    background: #fde6e6;
    border: 1px solid #f2c0c0;
    color: #8f2020;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.no-data {
    padding: 24px;
    text-align: center;
    color: var(--muted);
    background: #f8f9fa;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    font-style: italic;
}

.about-section,
.contact-section {
    max-width: 100%;
    margin: 36px 0 0;
    padding: 0 3rem;
}

.about-content,
.contact-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 32px;
    box-shadow: var(--shadow);
    padding: 40px;
    max-width: 100%;
}

.mission-statement {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.mission-statement h2,
.contact-content h2,
.focus-areas h3 {
    margin: 0;
    font-family: "Fraunces", serif;
    font-size: clamp(1.9rem, 2.4vw, 2.6rem);
    color: var(--forest);
    letter-spacing: -0.04em;
}

.mission-statement .tagline {
    color: var(--accent-deep);
    font-weight: 800;
    font-size: 1.1rem;
    line-height: 1.6;
}

.mission-statement .description {
    color: var(--muted);
    max-width: 900px;
    line-height: 1.85;
}

.impact-stats,
.focus-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

.impact-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 30px;
}

.focus-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.contact-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 22px;
}

.stat-card,
.focus-item,
.contact-item {
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(58, 83, 68, 0.1);
    border-radius: 22px;
    padding: 22px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.stat-card:hover,
.focus-item:hover,
.contact-item:hover {
    transform: translateY(-4px);
    border-color: rgba(184, 110, 60, 0.24);
    box-shadow: 0 18px 28px rgba(33, 73, 55, 0.08);
}

.stat-icon,
.focus-item i,
.contact-item i {
    font-size: 34px;
    color: var(--accent);
    margin-bottom: 14px;
    display: inline-flex;
}

.stat-number {
    display: block;
    font-family: "Fraunces", serif;
    font-size: 2rem;
    color: var(--forest);
    margin-bottom: 6px;
}

.stat-label,
.focus-item p,
.contact-item p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.focus-item h4,
.contact-item h4,
.social-links h4 {
    margin: 0 0 8px;
    color: var(--ink);
    font-size: 1.05rem;
    font-weight: 800;
}

.contact-item a,
.footer a {
    color: var(--accent-deep);
    text-decoration: none;
    font-weight: 700;
}

.contact-item a:hover,
.footer a:hover {
    text-decoration: underline;
}

.social-links {
    margin-top: 28px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.social-icons a {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(33, 73, 55, 0.08);
    color: var(--forest);
    border: 1px solid rgba(33, 73, 55, 0.12);
    font-size: 20px;
    transition: all 0.22s ease;
}

.social-icons a:hover {
    background: var(--forest);
    color: #fffaf4;
    transform: translateY(-2px);
}

.footer {
    max-width: 1260px;
    margin: 26px auto 0;
    padding: 0 28px;
    color: var(--muted);
    text-align: center;
}

.footer p {
    margin: 4px 0;
    font-size: 13px;
}

.thank-you-page {
    background: var(--paper);
    border: 1px solid rgba(58, 83, 68, 0.12);
    border-radius: 32px;
    box-shadow: var(--shadow);
    text-align: center;
    padding: 70px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.thank-you-icon {
    font-size: 94px;
    color: #1a8a4a;
    margin-bottom: 22px;
}

.thank-you-page h1 {
    margin: 0 0 12px;
    font-family: "Fraunces", serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
}

.thank-you-page p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.8;
}

.eoi-reference {
    margin: 30px auto 34px;
    padding: 24px;
    max-width: 520px;
    border-radius: 24px;
    background: linear-gradient(180deg, #fff4eb, #f8e2d1);
    border: 1px solid rgba(184, 110, 60, 0.22);
}

.reference-number {
    display: inline-block;
    margin-top: 10px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--forest);
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.loading {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.32);
    border-top-color: #fff;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1100px) {
    .header-inner,
    .portal-intro,
    .impact-stats,
    .contact-grid,
    .focus-grid {
        grid-template-columns: 1fr;
    }

    .portal-shell {
        grid-template-columns: 1fr;
    }

    .portal-sidebar {
        position: static;
    }

    .hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .header,
    .portal-main,
    .about-section,
    .contact-section,
    .footer {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .brand-lockup {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .hero-stats {
        grid-template-columns: 1fr;
    }

    .ticker-container {
        margin-left: 18px;
        margin-right: 18px;
    }

    .sidebar-panel,
    .tabs {
        border-radius: 22px;
    }

    .sidebar-panel h2 {
        font-size: 1.7rem;
    }

    .tabs {
        width: 100%;
    }

    .form-row,
    .email-check-form {
        grid-template-columns: 1fr;
    }

    .form-section,
    .intro-card,
    .about-content,
    .contact-content,
    .status-check-section,
    .data-section,
    .thank-you-page {
        padding: 20px;
        border-radius: 22px;
    }

    .brand-copy h1 {
        font-size: 2.5rem;
    }

    .form-heading h2,
    .intro-card h2,
    .intro-card-highlight h3,
    .mission-statement h2,
    .contact-content h2,
    .focus-areas h3 {
        font-size: 2rem;
    }

    .btn-primary,
    .email-check-form button {
        width: 100%;
    }
}
