:root {
    --wa-navy: #0f3d63;
    --wa-navy-deep: #082c4a;
    --wa-green: #1b5e20;
    --wa-green-dark: #124516;
    --wa-gold: #c69214;
    --wa-gold-soft: #fff7dc;
    --wa-bg: #fafaf7;
    --wa-surface: #ffffff;
    --wa-ink: #212121;
    --wa-muted: #6b7280;
    --wa-border: #e5e7eb;
    --wa-shadow-sm: 0 6px 18px rgba(15, 61, 99, 0.07);
    --wa-shadow-md: 0 14px 38px rgba(15, 61, 99, 0.11);
    --wa-shadow-lg: 0 24px 64px rgba(8, 44, 74, 0.18);
    --wa-radius: 14px;
    --wa-header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--wa-bg);
    color: var(--wa-ink);
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a,
button,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(198, 146, 20, 0.45);
    outline-offset: 3px;
}

img {
    max-width: 100%;
}

.page-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.main-content {
    min-height: 100vh;
    background: var(--wa-bg);
}

.public-main {
    padding: 0 0 80px;
}

.public-main > .page-shell:first-child {
    padding-top: 64px;
}

.portal-main {
    padding: 104px 32px 48px;
}

.portal-main .page-shell {
    width: min(1280px, 100%);
}

/* Public navigation */
.public-header {
    position: sticky;
    top: 0;
    z-index: 1200;
    color: #fff;
    background: rgba(15, 61, 99, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 28px rgba(8, 44, 74, 0.16);
    backdrop-filter: blur(14px);
}

.public-nav-shell {
    width: min(1440px, calc(100% - 48px));
    min-height: var(--wa-header-height);
    margin-inline: auto;
    display: flex;
    align-items: center;
    gap: 28px;
}

.app-brand,
.portal-appbar-brand {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    text-decoration: none;
}

.app-brand {
    margin-right: auto;
}

.app-brand-logo {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: block;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.app-brand-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.app-brand-copy strong {
    font-size: 0.94rem;
    letter-spacing: 0.01em;
}

.app-brand-copy small {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.77);
    font-size: 0.69rem;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.public-nav {
    display: flex;
    align-items: stretch;
    align-self: stretch;
}

.public-nav .mud-nav-link {
    position: relative;
    min-width: auto;
    height: 100%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.82);
    border-radius: 0;
    font-size: 0.91rem;
    font-weight: 600;
    transition: color 220ms ease, background-color 220ms ease;
}

.public-nav .mud-nav-link::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 0;
    left: 15px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--wa-gold);
    transform: scaleX(0);
    transition: transform 220ms ease;
}

.public-nav .mud-nav-link:hover,
.public-nav .mud-nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.055);
}

.public-nav .mud-nav-link.active::after {
    transform: scaleX(1);
}

.public-nav-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.public-nav-actions .mud-button-root {
    min-height: 42px;
    border-radius: 10px;
}

.public-nav-actions .mud-button-filled {
    padding-inline: 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.public-menu-toggle,
.public-mobile-menu {
    display: none;
}

/* Authenticated shell */
.portal-appbar {
    color: #fff !important;
    background: linear-gradient(90deg, var(--wa-navy-deep), var(--wa-navy)) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 28px rgba(8, 44, 74, 0.16);
}

.portal-appbar-brand span {
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.portal-appbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.portal-welcome {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.88rem;
    font-weight: 600;
}

.portal-drawer {
    color: #fff !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 32%),
        var(--wa-navy) !important;
    border-right: 0 !important;
    box-shadow: 12px 0 32px rgba(8, 44, 74, 0.12);
    overflow: hidden;
}

.portal-drawer::after {
    content: none;
}

.portal-drawer-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
}

.portal-nav-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.28) transparent;
}

.sidebar-profile {
    margin: 18px 16px 6px;
    padding: 17px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.075);
}

.sidebar-profile-avatar {
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--wa-navy-deep);
    background: linear-gradient(145deg, #f4d878, var(--wa-gold));
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
    font-size: 0.88rem;
    font-weight: 800;
}

.sidebar-profile-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.sidebar-profile-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-profile-copy span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

.portal-nav {
    position: relative;
    z-index: 1;
    padding: 6px 12px 20px;
}

.portal-nav-label {
    margin: 20px 12px 8px;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.portal-nav .mud-nav-link {
    min-height: 46px;
    margin-bottom: 4px;
    color: rgba(255, 255, 255, 0.73);
    border-radius: 11px;
    font-size: 0.87rem;
    font-weight: 600;
    transition: color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.portal-nav .mud-nav-link .mud-nav-link-icon {
    color: rgba(255, 255, 255, 0.56);
    transition: color 220ms ease;
}

.portal-nav .mud-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.085);
    transform: translateX(3px);
}

.portal-nav .mud-nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, rgba(198, 146, 20, 0.28), rgba(255, 255, 255, 0.08));
    box-shadow: inset 3px 0 0 var(--wa-gold);
}

.portal-nav .mud-nav-link.active .mud-nav-link-icon {
    color: #f2cf6c;
}

.sidebar-footer {
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    margin: 0 20px;
    padding: 16px 0 20px;
    color: rgba(255, 255, 255, 0.48);
    background: var(--wa-navy);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.67rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-align: center;
    text-transform: uppercase;
}

/* Typography and shared surfaces */
.mud-typography-h3 {
    color: var(--wa-navy-deep);
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1.15;
}

.mud-typography-h4,
.mud-typography-h5,
.mud-typography-h6 {
    color: var(--wa-navy-deep);
}

.mud-typography-body1,
.mud-typography-body2 {
    line-height: 1.65;
}

.mud-paper,
.mud-card {
    border: 1px solid rgba(15, 61, 99, 0.09);
    border-radius: var(--wa-radius) !important;
    background: var(--wa-surface);
    box-shadow: var(--wa-shadow-sm) !important;
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.mud-grid-item > .mud-paper,
.mud-grid-item > .mud-card,
.card-grid > .mud-paper {
    height: 100%;
}

.mud-grid-item > .mud-paper:hover,
.mud-grid-item > .mud-card:hover,
.card-grid > .mud-paper:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 146, 20, 0.32);
    box-shadow: var(--wa-shadow-md) !important;
}

.mud-card-content {
    padding: 24px !important;
}

.mud-card-content .mud-typography-caption {
    display: inline-flex;
    margin-top: 8px;
    padding: 4px 9px;
    color: #72550d;
    border-radius: 999px;
    background: var(--wa-gold-soft);
    font-weight: 650;
}

.mud-button-root {
    min-height: 44px;
    border-radius: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.005em;
    transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease, border-color 200ms ease !important;
}

.mud-button-filled-primary {
    background: var(--wa-navy) !important;
}

.mud-button-filled-secondary {
    background: var(--wa-green) !important;
}

/* Contact page */
.contact-download-card {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-download-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    color: #a62828;
    border-radius: 14px;
    background: #fff0f0;
}

.contact-download-icon .mud-icon-root {
    font-size: 1.8rem;
}

.contact-download-content {
    min-width: 0;
}

.contact-download-content .mud-typography-overline {
    color: var(--wa-gold);
    font-weight: 800;
    letter-spacing: 0.09em;
}

.contact-download-description {
    margin: 6px 0 18px;
    color: var(--wa-muted);
}

.contact-download-button {
    min-height: 44px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    border-radius: 10px;
    background: var(--wa-navy);
    box-shadow: 0 6px 16px rgba(15, 61, 99, 0.18);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.contact-download-button:hover {
    color: #fff;
    background: var(--wa-navy-deep);
    box-shadow: 0 9px 22px rgba(15, 61, 99, 0.24);
    transform: translateY(-2px);
}

.office-bearers-section {
    margin-top: 56px;
}

.office-bearers-heading {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.office-bearers-heading .mud-typography-overline {
    color: var(--wa-gold);
    font-weight: 800;
    letter-spacing: 0.1em;
}

.office-bearers-heading .mud-typography-h4 {
    margin: 2px 0 6px;
}

.office-bearers-heading .mud-typography-body1 {
    color: var(--wa-muted);
}

.office-bearers-count {
    flex: 0 0 auto;
    padding: 7px 13px;
    color: var(--wa-green-dark);
    border: 1px solid rgba(27, 94, 32, 0.16);
    border-radius: 999px;
    background: rgba(27, 94, 32, 0.08);
    font-size: 0.82rem;
    font-weight: 800;
}

.office-bearers-table-card {
    overflow: hidden;
}

.office-bearers-table .mud-table-head .mud-table-cell {
    padding: 16px;
    color: #fff !important;
    border-bottom: 3px solid var(--wa-gold) !important;
    background: linear-gradient(135deg, var(--wa-navy-deep), var(--wa-navy)) !important;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.office-bearers-table .mud-table-head .mud-table-cell:first-child {
    border-top-left-radius: calc(var(--wa-radius) - 1px);
}

.office-bearers-table .mud-table-head .mud-table-cell:last-child {
    border-top-right-radius: calc(var(--wa-radius) - 1px);
}

.office-bearers-table .mud-table-body .mud-table-row:nth-child(even) {
    background: rgba(15, 61, 99, 0.025);
}

.office-bearers-table .mud-table-body .mud-table-row:hover {
    background: var(--wa-gold-soft) !important;
}

.office-bearers-table .mud-table-body .mud-table-cell {
    padding: 13px 16px;
    border-color: rgba(15, 61, 99, 0.08);
    color: var(--wa-ink);
}

.office-bearer-name {
    color: var(--wa-navy-deep) !important;
    font-weight: 700;
}

.office-bearer-phone {
    color: var(--wa-green);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.office-bearer-phone:hover {
    color: var(--wa-green-dark);
    text-decoration: underline;
}

.office-bearers-table .mud-table-pagination {
    color: var(--wa-muted);
    border-top: 1px solid rgba(15, 61, 99, 0.09);
    background: #fbfcfd;
}

.mud-button-filled:hover {
    transform: translateY(-2px);
    box-shadow: 0 9px 22px rgba(15, 61, 99, 0.2) !important;
}

.mud-button-outlined {
    border-width: 1.5px !important;
}

.mud-button-filled-tertiary {
    color: #241b05 !important;
    background: var(--wa-gold) !important;
}

.mud-input-control {
    margin-top: 7px;
}

.mud-input-outlined-border {
    border-color: #cfd6dc !important;
    border-radius: 10px !important;
    transition: border-color 200ms ease, box-shadow 200ms ease;
}

.mud-input-control-input-container:focus-within .mud-input-outlined-border {
    border-width: 2px !important;
    border-color: var(--wa-green) !important;
    box-shadow: 0 0 0 4px rgba(27, 94, 32, 0.09);
}

.mud-input-label {
    color: #57616c !important;
    font-weight: 550 !important;
}

.mud-input-control-input-container:focus-within .mud-input-label {
    color: var(--wa-green) !important;
}

.form-panel {
    max-width: 780px;
}

.form-panel > .mud-paper {
    position: relative;
    overflow: hidden;
    padding: 34px !important;
}

.form-panel > .mud-paper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--wa-navy), var(--wa-green), var(--wa-gold));
}

.mud-alert {
    border-radius: 12px !important;
}

.mud-table-container,
.mud-table-root,
.mud-data-grid {
    max-width: 100%;
}

.mud-table-container {
    overflow-x: auto;
    border: 1px solid var(--wa-border);
    border-radius: var(--wa-radius);
    background: #fff;
    box-shadow: var(--wa-shadow-sm);
}

.mud-table-head .mud-table-cell {
    color: var(--wa-navy-deep);
    background: #f3f6f7;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.045em;
    text-transform: uppercase;
}

.mud-table-row {
    transition: background-color 180ms ease;
}

.mud-table-row:hover {
    background: #f8faf8 !important;
}

/* Home page */
.home-carousel {
    width: 100%;
    margin: 0;
}

.home-carousel-control {
    width: 100%;
    height: clamp(470px, 66vh, 690px);
}

.carousel-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: var(--wa-navy-deep);
}

.carousel-slide > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 8s ease;
}

.carousel-slide:hover > img {
    transform: scale(1.035);
}

.carousel-slide::after {
    content: none;
}

.carousel-shade {
    display: none;
}

.carousel-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-block: 64px 90px;
    color: #fff;
}

.carousel-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #f4d878;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.carousel-eyebrow::before {
    content: "";
    width: 34px;
    height: 2px;
    background: var(--wa-gold);
}

.carousel-content h1 {
    max-width: 790px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.6rem, 6vw, 5.25rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.01;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
}

.carousel-content p {
    max-width: 660px;
    margin: 20px 0 30px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.65;
}

.carousel-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.announcement-ticker {
    width: 100%;
    overflow: hidden;
    border-bottom: 1px solid rgba(198, 146, 20, 0.38);
    background:
        linear-gradient(90deg, rgba(198, 146, 20, 0.12), transparent 28%),
        var(--wa-navy-deep);
    color: #fff;
}

.announcement-ticker-track {
    display: flex;
    width: max-content;
    min-width: max-content;
    align-items: center;
    gap: 18px;
    padding: 12px 0;
    white-space: nowrap;
    animation: announcement-ticker-right-to-left 18s linear infinite;
}

.announcement-ticker-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--wa-gold);
    color: var(--wa-navy-deep);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.announcement-ticker-message {
    display: inline-flex;
    align-items: baseline;
    gap: 5px;
    padding-right: 24px;
    font-size: 0.96rem;
}

.announcement-ticker-message strong {
    color: #f4d878;
}

.announcement-ticker:hover .announcement-ticker-track {
    animation-play-state: paused;
}

@keyframes announcement-ticker-right-to-left {
    from {
        transform: translateX(100vw);
    }
    to {
        transform: translateX(-100%);
    }
}

.home-section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.fighter-section {
    margin-top: 32px;
    padding-inline: 34px;
    border: 1px solid rgba(15, 61, 99, 0.08);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0, rgba(198, 146, 20, 0.1), transparent 28%),
        #fff;
    box-shadow: var(--wa-shadow-sm);
}

.section-heading {
    position: relative;
    max-width: 720px;
    margin-bottom: 36px;
    padding-left: 18px;
}

.section-heading::before {
    content: "";
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 4px;
    border-radius: 4px;
    background: linear-gradient(var(--wa-gold), #e3c464);
}

.section-heading .mud-typography-overline {
    color: var(--wa-green) !important;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.section-heading h2 {
    margin: 4px 0 10px;
    color: var(--wa-navy-deep);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.13;
}

.section-heading p {
    margin: 0;
    color: var(--wa-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

.feature-card-grid,
.leadership-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.feature-card,
.leader-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(15, 61, 99, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--wa-shadow-sm);
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.feature-card:hover,
.leader-card:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 146, 20, 0.35);
    box-shadow: var(--wa-shadow-md);
}

.feature-card {
    display: grid;
    grid-template-columns: minmax(180px, 42%) 1fr;
}

.feature-image {
    min-height: 300px;
    overflow: hidden;
    background: #e9eff3;
}

.feature-image img,
.leader-card > img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 420ms ease;
}

.feature-image img {
    height: 100%;
}

.feature-card:hover img,
.leader-card:hover > img {
    transform: scale(1.035);
}

.feature-card-content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 32px;
}

.card-kicker,
.leader-card-content > span {
    color: var(--wa-green);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.feature-card h3,
.leader-card h3 {
    margin: 8px 0 14px;
    color: var(--wa-navy-deep);
    font-size: 1.45rem;
}

.feature-card blockquote {
    position: relative;
    margin: 0;
    color: #4b5563;
    font-size: 1.04rem;
    font-weight: 550;
    line-height: 1.7;
}

.feature-card blockquote::before {
    content: "\201C";
    position: absolute;
    top: -22px;
    left: -5px;
    color: rgba(198, 146, 20, 0.2);
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
}

.leadership-section {
    position: relative;
    overflow: hidden;
    padding: 88px 0;
    background:
        radial-gradient(circle at 92% 15%, rgba(198, 146, 20, 0.08), transparent 26%),
        #f2f6f2;
    border-block: 1px solid #dfe7df;
}

.leadership-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 240px;
    height: 100%;
    opacity: 0.055;
    pointer-events: none;
    background-image:
        linear-gradient(135deg, transparent 45%, var(--wa-navy) 46%, var(--wa-navy) 52%, transparent 53%),
        linear-gradient(45deg, transparent 45%, var(--wa-green) 46%, var(--wa-green) 52%, transparent 53%);
    background-size: 38px 38px;
}

.leadership-section > .page-shell {
    position: relative;
    z-index: 1;
}

.leader-card > img {
    height: auto;
    aspect-ratio: 16 / 9;
    background: #e9eff3;
}

.leader-card-content {
    position: relative;
    z-index: 1;
    min-height: 190px;
    padding: 27px 30px 31px;
    background: #fff;
}

.leader-card-content p {
    margin: 0;
    color: var(--wa-muted);
    line-height: 1.7;
}

.association-summary {
    padding-bottom: 46px;
}

.stat-band {
    position: relative;
    overflow: hidden;
    padding: 34px 0;
    background: var(--wa-navy);
}

.stat-band::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image:
        linear-gradient(135deg, transparent 45%, #fff 46%, #fff 50%, transparent 51%),
        linear-gradient(45deg, transparent 45%, #fff 46%, #fff 50%, transparent 51%);
    background-size: 32px 32px;
}

.stat-band .card-grid {
    position: relative;
    z-index: 1;
}

.stat-band .mud-paper {
    padding: 25px !important;
    border-color: rgba(255, 255, 255, 0.12);
    color: #fff;
    background: rgba(255, 255, 255, 0.075);
    box-shadow: none !important;
    backdrop-filter: blur(4px);
}

.stat-band .mud-paper:hover {
    border-color: rgba(244, 216, 120, 0.4);
    background: rgba(255, 255, 255, 0.11);
}

.stat-band .mud-typography-h4 {
    color: #f4d878 !important;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

/* Home purpose group */
.home-purpose-group {
    padding: 72px 0 78px;
    background:
        radial-gradient(circle at 95% 6%, rgba(198, 146, 20, 0.09), transparent 25%),
        linear-gradient(180deg, #f2f6f2 0%, #fff 100%);
    border-bottom: 1px solid #dfe7df;
}

.purpose-split {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
    gap: 26px;
}

.purpose-mission-card,
.purpose-impact,
.purpose-impact-card,
.icon-feature-card,
.about-highlight,
.about-milestone article {
    border: 1px solid rgba(15, 61, 99, 0.1);
    border-radius: 16px;
    background: #fff;
    box-shadow: var(--wa-shadow-sm);
}

.purpose-mission-card {
    position: relative;
    overflow: hidden;
    padding: 38px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.purpose-mission-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(var(--wa-gold), var(--wa-green));
}

.purpose-icon,
.purpose-impact-icon,
.icon-feature-card-icon,
.about-highlight > .mud-icon-root,
.about-milestone-marker {
    display: grid;
    place-items: center;
    color: var(--wa-green);
    border: 1px solid rgba(198, 146, 20, 0.22);
    background: linear-gradient(145deg, var(--wa-gold-soft), #f5f8f3);
}

.purpose-icon {
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    border-radius: 18px;
}

.purpose-icon .mud-icon-root {
    font-size: 2rem;
}

.purpose-mission-card .mud-typography-overline,
.compact-section-heading .mud-typography-overline {
    color: var(--wa-green) !important;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.purpose-mission-card h2,
.compact-section-heading h2 {
    margin: 4px 0 12px;
    color: var(--wa-navy-deep);
    font-size: clamp(1.9rem, 3vw, 2.55rem);
    line-height: 1.14;
}

.purpose-mission-card p {
    max-width: 570px;
    margin: 0;
    color: var(--wa-muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.purpose-impact {
    padding: 30px;
}

.compact-section-heading {
    margin-bottom: 20px;
}

.compact-section-heading h2 {
    margin-bottom: 0;
}

.purpose-impact-grid,
.purpose-achievement-grid,
.about-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.purpose-impact-card {
    min-height: 142px;
    padding: 20px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 16px;
}

.purpose-impact-icon,
.icon-feature-card-icon {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    border-radius: 13px;
}

.purpose-impact-icon .mud-icon-root,
.icon-feature-card-icon .mud-icon-root {
    font-size: 1.55rem;
}

.purpose-impact-card strong {
    display: block;
    color: var(--wa-navy-deep);
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1;
}

.purpose-impact-card span {
    display: block;
    margin-top: 7px;
    color: var(--wa-muted);
    font-size: 0.9rem;
    font-weight: 650;
    line-height: 1.4;
}

.purpose-achievements {
    margin-top: 48px;
    padding-top: 44px;
    border-top: 1px solid rgba(15, 61, 99, 0.1);
}

.purpose-achievements .section-heading {
    margin-bottom: 26px;
}

.icon-feature-card {
    min-width: 0;
    height: 100%;
    padding: 25px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: 18px;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.icon-feature-card:hover,
.purpose-impact-card:hover,
.purpose-mission-card:hover,
.about-milestone:hover article {
    transform: translateY(-4px);
    border-color: rgba(198, 146, 20, 0.34);
    box-shadow: var(--wa-shadow-md);
}

.icon-feature-card h3,
.about-milestone h3 {
    margin: 0 0 8px;
    color: var(--wa-navy-deep);
    font-size: 1.16rem;
    line-height: 1.35;
}

.icon-feature-card p,
.about-milestone p {
    margin: 0;
    color: var(--wa-muted);
    line-height: 1.65;
}

/* About page */
.about-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 88px;
    color: #fff;
    background: linear-gradient(105deg, var(--wa-navy-deep), var(--wa-navy));
}

.about-hero::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -150px;
    width: 390px;
    height: 390px;
    border: 72px solid rgba(198, 146, 20, 0.1);
    border-radius: 50%;
}

.about-hero .page-shell {
    position: relative;
    z-index: 1;
}

.about-hero .mud-typography-overline {
    color: #f4d878;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.about-hero h1 {
    max-width: 780px;
    margin: 7px 0 16px;
    color: #fff;
    font-size: clamp(2.45rem, 5vw, 4.35rem);
    letter-spacing: -0.045em;
    line-height: 1.05;
}

.about-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.08rem;
    line-height: 1.72;
}

.about-overview,
.about-values {
    padding-block: 70px;
}

.about-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
    align-items: center;
    gap: 42px;
}

.about-overview-copy .section-heading {
    margin-bottom: 0;
}

.about-highlight {
    padding: 34px;
    border-left: 5px solid var(--wa-gold);
}

.about-highlight > .mud-icon-root {
    width: 56px;
    height: 56px;
    margin-bottom: 19px;
    border-radius: 15px;
    font-size: 1.75rem;
}

.about-highlight p {
    margin: 0;
    color: var(--wa-navy-deep);
    font-size: clamp(1.15rem, 2vw, 1.38rem);
    font-weight: 650;
    line-height: 1.65;
}

.about-direction,
.about-journey {
    padding-block: 70px;
    background:
        radial-gradient(circle at 100% 0, rgba(198, 146, 20, 0.07), transparent 28%),
        #f2f6f2;
    border-block: 1px solid #dfe7df;
}

.about-direction-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.about-direction-grid .icon-feature-card {
    min-height: 220px;
    padding: 32px;
}

.about-values-grid .icon-feature-card {
    min-height: 185px;
}

.about-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 30px;
    width: 2px;
    background: linear-gradient(var(--wa-gold), var(--wa-green));
}

.about-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr;
    align-items: center;
    gap: 20px;
}

.about-milestone + .about-milestone {
    margin-top: 16px;
}

.about-milestone-marker {
    position: relative;
    z-index: 1;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    box-shadow: 0 0 0 7px #f2f6f2;
}

.about-milestone-marker .mud-icon-root {
    font-size: 1.45rem;
}

.about-milestone article {
    padding: 21px 25px;
    transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.about-milestone article > span {
    display: block;
    margin-bottom: 4px;
    color: var(--wa-green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

@media (max-width: 959.98px) {
    .portal-nav .mud-nav-link {
        min-height: 48px;
    }

    .sidebar-footer {
        padding-bottom: max(20px, env(safe-area-inset-bottom));
    }
}

@media (max-height: 620px) {
    .sidebar-profile {
        padding-top: 18px;
        padding-bottom: 14px;
    }

    .portal-nav-label {
        margin-top: 14px;
    }

    .sidebar-footer {
        padding-top: 10px;
        padding-bottom: 12px;
        font-size: 0.62rem;
    }
}

.reveal {
    opacity: 1;
    transform: none;
}

.reveal.is-visible {
    animation: wa-reveal-in 580ms ease both;
}

@keyframes wa-reveal-in {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
.public-footer {
    position: relative;
    color: rgba(255, 255, 255, 0.74);
    background: var(--wa-navy-deep);
}

.public-footer-pattern {
    height: 18px;
    opacity: 0.75;
    background:
        linear-gradient(135deg, transparent 42%, var(--wa-gold) 43%, var(--wa-gold) 49%, transparent 50%) 0 0 / 30px 18px,
        linear-gradient(45deg, transparent 42%, var(--wa-gold) 43%, var(--wa-gold) 49%, transparent 50%) 15px 0 / 30px 18px;
}

.public-footer-grid {
    padding-block: 56px;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(160px, 0.65fr));
    gap: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}

.footer-brand img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
}

.public-footer p {
    max-width: 520px;
    margin: 18px 0 0;
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links strong,
.footer-contact strong {
    margin-bottom: 5px;
    color: #fff;
}

.footer-links a {
    width: fit-content;
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: color 180ms ease, transform 180ms ease;
}

.footer-links a:hover {
    color: #f4d878;
    transform: translateX(3px);
}

.public-footer-bottom {
    padding: 17px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.78rem;
}

/* Lightweight entrance motion */
.public-main > *:not(.home-carousel),
.portal-main .page-shell > * {
    animation: wa-fade-in 480ms ease both;
}

@keyframes wa-fade-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .announcement-ticker-track {
        width: 100%;
        min-width: 0;
        justify-content: center;
        padding-inline: 18px;
        white-space: normal;
        transform: none;
    }
}

@media (max-width: 1100px) {
    .public-nav-shell {
        gap: 16px;
    }

    .public-nav .mud-nav-link {
        padding-inline: 10px;
    }

    .public-nav .mud-nav-link::after {
        right: 10px;
        left: 10px;
    }

    .app-brand-copy small {
        max-width: 260px;
    }
}

@media (max-width: 900px) {
    .public-nav,
    .public-nav-actions {
        display: none;
    }

    .public-menu-toggle {
        display: inline-flex;
    }

    .public-mobile-menu {
        max-height: 0;
        padding: 0 24px;
        display: grid;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 18px 30px rgba(8, 44, 74, 0.16);
        transition: max-height 280ms ease, padding 280ms ease;
    }

    .public-mobile-menu.is-open {
        max-height: 520px;
        padding-block: 12px 22px;
        border-top: 4px solid var(--wa-gold);
    }

    .public-mobile-menu .mud-nav-link {
        min-height: 48px;
        color: var(--wa-ink);
        border-radius: 9px;
        font-weight: 650;
    }

    .public-mobile-menu .mud-nav-link.active {
        color: var(--wa-navy);
        background: rgba(15, 61, 99, 0.07);
    }

    .public-mobile-actions {
        padding-top: 12px;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        border-top: 1px solid var(--wa-border);
    }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .purpose-split {
        grid-template-columns: 1fr;
    }

    .purpose-mission-card {
        min-height: 0;
    }

    .about-overview-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-image {
        min-height: auto;
        aspect-ratio: 16 / 10;
    }

    .public-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .public-footer-grid > :first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    :root {
        --wa-header-height: 68px;
    }

    .page-shell,
    .public-nav-shell {
        width: min(100% - 28px, 1180px);
    }

    .public-main {
        padding-bottom: 56px;
    }

    .public-main > .page-shell:first-child {
        padding-top: 42px;
    }

    .portal-main {
        padding: 88px 14px 32px;
    }

    .portal-welcome {
        display: none;
    }

    .app-brand-logo {
        width: 40px;
        height: 40px;
    }

    .app-brand-copy strong {
        font-size: 0.83rem;
    }

    .app-brand-copy small {
        max-width: 230px;
        font-size: 0.6rem;
    }

    .home-carousel-control {
        height: min(590px, calc(100vh - var(--wa-header-height)));
        min-height: 480px;
    }

    .carousel-shade {
        background: linear-gradient(0deg, rgba(8, 44, 74, 0.96) 0%, rgba(8, 44, 74, 0.74) 64%, rgba(8, 44, 74, 0.3) 100%);
    }

    .carousel-content {
        justify-content: flex-end;
        padding-block: 48px 76px;
    }

    .carousel-content h1 {
        font-size: clamp(2.35rem, 12vw, 3.7rem);
    }

    .carousel-content p {
        margin: 14px 0 22px;
        line-height: 1.55;
    }

    .carousel-actions {
        width: 100%;
    }

    .carousel-actions .mud-button-root {
        flex: 1 1 145px;
    }

    .home-section,
    .leadership-section {
        padding-top: 58px;
        padding-bottom: 58px;
    }

    .home-purpose-group,
    .about-overview,
    .about-direction,
    .about-values,
    .about-journey {
        padding-block: 54px;
    }

    .purpose-mission-card,
    .purpose-impact {
        padding: 26px;
    }

    .purpose-achievements {
        margin-top: 36px;
        padding-top: 34px;
    }

    .about-hero {
        padding-block: 66px 72px;
    }

    .fighter-section {
        margin-top: 20px;
        padding-inline: 18px;
    }

    .section-heading {
        margin-bottom: 26px;
    }

    .feature-card-grid,
    .leadership-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .feature-card-content,
    .leader-card-content {
        padding: 24px;
    }

    .form-panel > .mud-paper {
        padding: 24px 18px !important;
    }

    .mud-grid-spacing-xs-3 {
        width: calc(100% + 12px) !important;
        margin: -6px !important;
    }

    .mud-grid-spacing-xs-3 > .mud-grid-item {
        padding: 6px !important;
    }

    .office-bearers-section {
        margin-top: 42px;
    }

    .office-bearers-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .office-bearers-table-card,
    .office-bearers-table .mud-table-container {
        overflow-x: hidden;
    }

    .office-bearers-table {
        width: 100%;
        min-width: 0 !important;
        table-layout: fixed;
    }

    .office-bearers-table .mud-table-body .mud-table-row {
        width: 100%;
        min-width: 0;
        padding: 12px 16px;
        border-bottom: 1px solid rgba(15, 61, 99, 0.1);
    }

    .office-bearers-table .mud-table-body .mud-table-cell {
        width: 100%;
        min-width: 0;
        padding: 7px 0;
        display: grid;
        grid-template-columns: minmax(82px, 0.7fr) minmax(0, 1.3fr);
        align-items: start;
        gap: 12px;
        border: 0;
        text-align: right;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .office-bearers-table .mud-table-body .mud-table-cell::before {
        color: var(--wa-muted);
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.035em;
        line-height: 1.45;
        text-align: left;
        text-transform: uppercase;
    }

    .office-bearer-phone {
        min-width: 0;
        justify-self: end;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .office-bearers-table .mud-table-pagination {
        min-width: 0;
        padding-inline: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .public-footer-grid {
        padding-block: 44px;
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .public-footer-grid > :first-child {
        grid-column: auto;
    }
}

@media (max-width: 460px) {
    .app-brand-copy small {
        max-width: 185px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portal-appbar-brand span {
        display: none;
    }

    .public-mobile-menu {
        padding-inline: 14px;
    }

    .public-mobile-actions {
        grid-template-columns: 1fr;
    }

    .home-carousel-control {
        min-height: 500px;
    }

    .carousel-content h1 {
        font-size: clamp(2.1rem, 12vw, 3rem);
    }

    .purpose-impact-grid,
    .purpose-achievement-grid,
    .about-direction-grid,
    .about-values-grid {
        grid-template-columns: 1fr;
    }

    .purpose-impact-card {
        min-height: 0;
    }

    .icon-feature-card,
    .about-direction-grid .icon-feature-card {
        min-height: 0;
    }

    .about-timeline::before {
        left: 25px;
    }

    .about-milestone {
        grid-template-columns: 50px 1fr;
        gap: 13px;
    }

    .about-milestone-marker {
        width: 50px;
        height: 50px;
        box-shadow: 0 0 0 6px #f2f6f2;
    }

    .about-milestone article {
        padding: 19px 17px;
    }

    .mud-button-root {
        min-height: 46px;
    }
}
