/**
 * Public site styles — complements Tailwind CDN.
 * Brand colors and fonts come from database theme CSS variables.
 */

:root {
    --theme-primary: #2d6a4f;
    --theme-secondary: #1b4332;
    --color-brand-50: #f0f7f4;
    --color-brand-100: #dceee6;
    --color-brand-200: #b8ddd0;
    --color-brand-300: #8bc4ad;
    --color-brand-400: #5aa488;
    --color-brand-500: var(--theme-primary);
    --color-brand-600: #245a42;
    --color-brand-700: var(--theme-secondary);
    --color-brand-800: #163628;
    --color-brand-900: #122b20;
    --color-surface: #f4f7f5;
    --color-ink: #1a1f1c;
    --font-sans: "Source Sans 3", "Segoe UI", sans-serif;
    --font-display: "Source Sans 3", "Segoe UI", sans-serif;
    --site-radius: 0.75rem;
    --site-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 8px 24px rgba(16, 24, 40, 0.06);
    --text-scale: 1;
}

html {
    scroll-behavior: smooth;
    font-size: calc(100% * var(--text-scale));
}

html[data-text-size="normal"] {
    --text-scale: 1;
}

html[data-text-size="larger"] {
    --text-scale: 1.125;
}

html[data-text-size="extra-large"] {
    --text-scale: 1.25;
}

body {
    font-family: var(--font-sans);
    color: var(--color-ink);
    background-color: var(--color-surface);
    font-size: 1rem;
    line-height: 1.65;
}

.font-display {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
}

.visually-hidden,
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 0.75rem 1.25rem;
    background: #fff;
    color: var(--theme-secondary);
    border: 2px solid var(--theme-primary);
    border-radius: 0 0 0.5rem 0;
    font-weight: 600;
    box-shadow: var(--site-shadow);
    text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
    left: 1rem;
    top: 1rem;
    outline: 3px solid var(--theme-primary);
    outline-offset: 3px;
}

:focus-visible {
    outline: 3px solid var(--theme-primary);
    outline-offset: 3px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

body.modal-open {
    overflow: hidden;
}

[data-modal].hidden,
[data-confirm-dialog].hidden {
    display: none !important;
}

[data-modal]:not(.hidden),
[data-confirm-dialog]:not(.hidden) {
    display: flex !important;
}

.shadow-panel {
    box-shadow: var(--site-shadow);
}

/* Site-wide content container widths */
.site-container {
    width: 100%;
    max-width: 100%;
}

@media (min-width: 1366px) and (max-width: 1919px) {
    .site-container {
        max-width: 1280px;
    }
}

@media (min-width: 1920px) {
    .site-container {
        max-width: 1700px;
    }
}

.site-container--narrow {
    max-width: 48rem; /* reading width; overrides layout container caps */
}

.site-container.site-container--narrow {
    max-width: 48rem;
}

/* Homepage — TMO-inspired layout */
.home-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 78vh;
    color: #fff;
    background: #0b1611;
}

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.home-hero__img,
.home-hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.home-hero__video {
    pointer-events: none;
}

.home-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--theme-primary) 42%, transparent) 0%,
            color-mix(in srgb, var(--theme-secondary) 58%, rgba(4, 17, 12, 0.55)) 100%
        );
}

.home-hero__cta {
    background: color-mix(in srgb, #fff 92%, transparent);
    color: var(--theme-secondary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

.home-hero__cta:hover {
    background: #fff;
    transform: translateY(-2px);
}

.home-wave {
    line-height: 0;
    pointer-events: none;
}

.home-wave__svg {
    display: block;
    width: 100%;
    height: 48px;
}

@media (min-width: 640px) {
    .home-wave__svg {
        height: 64px;
    }
}

.home-wave--flip {
    transform: scaleY(-1);
}

.home-quicklinks {
    background: #eef6f8;
}

.home-quicklinks__item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    height: 100%;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: color-mix(in srgb, #fff 80%, #eef6f8);
    border: 1px solid color-mix(in srgb, var(--theme-primary) 12%, transparent);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-quicklinks__item:hover {
    transform: translateY(-3px);
    background: #fff;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.home-quicklinks__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--theme-primary) 12%, #fff);
    flex-shrink: 0;
}

.home-pulse-label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-pulse-label::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: var(--theme-primary);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-primary) 55%, transparent);
    animation: home-pulse 2.2s ease-out infinite;
}

@keyframes home-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--theme-primary) 50%, transparent); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* Emergencies — help-desk directory */
.home-emergencies {
    background:
        radial-gradient(120% 80% at 0% 0%, color-mix(in srgb, var(--theme-primary) 8%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, #f7faf9 0%, #ffffff 48%, #f4f7f5 100%);
}

.home-emergencies__shell {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-emergencies__shell {
        grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2.1fr);
        gap: 2.5rem;
        align-items: start;
    }
}

.home-emergencies__intro {
    position: relative;
    padding: 1.75rem;
    border-radius: 1.5rem;
    background:
        linear-gradient(160deg, color-mix(in srgb, var(--theme-secondary) 92%, #04110c) 0%, var(--theme-primary) 100%);
    color: #fff;
    overflow: hidden;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--theme-secondary) 28%, transparent);
}

.home-emergencies__intro::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 14rem;
    height: 14rem;
    border-radius: 999px;
    background: color-mix(in srgb, #fff 12%, transparent);
    pointer-events: none;
}

@media (min-width: 1024px) {
    .home-emergencies__intro {
        position: sticky;
        top: 6rem;
        min-height: 22rem;
        display: flex;
        flex-direction: column;
    }
}

.home-emergencies__eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff 82%, transparent);
}

.home-emergencies__eyebrow::before {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: #fbbf24;
    box-shadow: 0 0 0 4px color-mix(in srgb, #fbbf24 28%, transparent);
}

.home-emergencies__title {
    position: relative;
    z-index: 1;
    margin-top: 0.85rem;
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 2.4vw, 2.35rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.home-emergencies__lede {
    position: relative;
    z-index: 1;
    margin-top: 0.85rem;
    max-width: 28ch;
    font-size: 0.98rem;
    line-height: 1.6;
    color: color-mix(in srgb, #fff 86%, transparent);
}

.home-emergencies__hotline {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
    border-radius: 1rem;
    background: color-mix(in srgb, #fff 12%, transparent);
    border: 1px solid color-mix(in srgb, #fff 18%, transparent);
    backdrop-filter: blur(8px);
}

.home-emergencies__hotline-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff 70%, transparent);
}

.home-emergencies__hotline-link {
    margin-top: 0.35rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    transition: opacity 0.2s ease;
}

.home-emergencies__hotline-link:hover {
    opacity: 0.88;
}

.home-emergencies__count {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 1.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff 65%, transparent);
}

.home-emergencies__count span {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1;
    color: #fff;
}

.home-emergencies__grid {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 640px) {
    .home-emergencies__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .home-emergencies__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-emergencies__tile--featured {
        grid-column: 1 / -1;
    }
}

.home-emergencies__tile-link {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon body"
        "icon cta";
    gap: 0.35rem 1rem;
    height: 100%;
    padding: 1.15rem 1.2rem 1.15rem 1.15rem;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 10%, #e2e8f0);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
    color: inherit;
    text-decoration: none;
}

.home-emergencies__tile-link--static {
    cursor: default;
}

.home-emergencies__tile--featured .home-emergencies__tile-link {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon body cta";
    align-items: center;
    gap: 1rem 1.25rem;
    padding: 1.35rem 1.4rem;
    background:
        linear-gradient(135deg, #fff 0%, color-mix(in srgb, var(--color-brand-50) 70%, #fff) 100%);
}

a.home-emergencies__tile-link:hover {
    transform: translateY(-3px);
    border-color: color-mix(in srgb, var(--theme-primary) 35%, #cbd5e1);
}

a.home-emergencies__tile-link:hover .home-emergencies__icon {
    background: var(--theme-primary);
    color: #fff;
    transform: scale(1.05);
}

a.home-emergencies__tile-link:hover .home-emergencies__tile-cta {
    color: var(--theme-primary);
}

.home-emergencies__index {
    position: absolute;
    top: 0.85rem;
    right: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: color-mix(in srgb, var(--theme-primary) 35%, #94a3b8);
}

.home-emergencies__icon {
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
    color: var(--theme-primary);
    transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
    align-self: start;
}

.home-emergencies__tile-body {
    grid-area: body;
    min-width: 0;
    padding-right: 1.5rem;
}

.home-emergencies__tile-title {
    display: block;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.home-emergencies__tile-desc {
    display: -webkit-box;
    margin-top: 0.3rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.home-emergencies__tile-cta {
    grid-area: cta;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: #475569;
    transition: color 0.2s ease;
}

.home-emergencies__tile--featured .home-emergencies__tile-cta {
    margin-top: 0;
    padding: 0.55rem 0.9rem;
    border-radius: 0.75rem;
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
    color: var(--theme-secondary);
    white-space: nowrap;
}

.home-emergencies__tile--featured .home-emergencies__tile-desc {
    -webkit-line-clamp: 3;
    max-width: 52ch;
}

.home-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 2rem;
    background:
        radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--theme-primary) 18%, #fff), #fff 60%),
        color-mix(in srgb, var(--color-brand-50) 80%, #fff);
    border: 1px solid color-mix(in srgb, var(--theme-primary) 14%, transparent);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.home-feature-row:hover .home-feature-icon {
    transform: translateY(-6px) rotate(-2deg) scale(1.04);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
}

/* Services — modern bento gallery */
.home-services {
    background:
        linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--color-brand-50) 55%, #fff) 100%);
    border-top: 1px solid color-mix(in srgb, var(--theme-primary) 8%, #e2e8f0);
}

.home-services__header {
    display: grid;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .home-services__header {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        align-items: end;
        gap: 2rem;
    }
}

.home-services__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.home-services__eyebrow::before {
    content: "";
    width: 1.5rem;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-primary);
}

.home-services__title {
    margin-top: 0.6rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
}

.home-services__lede {
    max-width: 36rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: #64748b;
}

.home-services__grid {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (min-width: 1280px) {
    .home-services__grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .home-services__card:nth-child(1) {
        grid-column: span 7;
    }

    .home-services__card:nth-child(2) {
        grid-column: span 5;
    }

    .home-services__card:nth-child(3) {
        grid-column: span 5;
    }

    .home-services__card:nth-child(4) {
        grid-column: span 7;
    }

    .home-services__card:nth-child(n + 5) {
        grid-column: span 6;
    }
}

.home-services__card-link {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 15rem;
    padding: 1.5rem 1.5rem 1.35rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 10%, #e2e8f0);
    overflow: hidden;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
    transition:
        transform 0.28s ease,
        border-color 0.28s ease,
        box-shadow 0.28s ease;
}

.home-services__card-link--static {
    cursor: default;
}

.home-services__card-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--theme-primary), var(--theme-secondary));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.home-services__card--accent .home-services__card-link {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--theme-secondary) 94%, #04110c) 0%, var(--theme-primary) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--theme-secondary) 22%, transparent);
}

.home-services__card--accent .home-services__card-link::before {
    display: none;
}

.home-services__card--accent .home-services__card-title,
.home-services__card--accent .home-services__num {
    color: #fff;
}

.home-services__card--accent .home-services__card-desc {
    color: color-mix(in srgb, #fff 82%, transparent);
}

.home-services__card--accent .home-services__icon {
    background: color-mix(in srgb, #fff 16%, transparent);
    color: #fff;
    border-color: color-mix(in srgb, #fff 22%, transparent);
}

.home-services__card--accent .home-services__card-cta {
    color: #fff;
}

.home-services__card--accent .home-services__card-arrow {
    background: color-mix(in srgb, #fff 18%, transparent);
    color: #fff;
}

a.home-services__card-link:hover {
    transform: translateY(-4px);
    border-color: color-mix(in srgb, var(--theme-primary) 30%, #cbd5e1);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.09);
}

a.home-services__card-link:hover::before {
    transform: scaleY(1);
}

.home-services__card--accent a.home-services__card-link:hover {
    border-color: transparent;
    box-shadow: 0 22px 44px color-mix(in srgb, var(--theme-secondary) 30%, transparent);
}

a.home-services__card-link:hover .home-services__icon {
    transform: scale(1.06);
}

a.home-services__card-link:hover .home-services__card-arrow {
    transform: translateX(3px);
}

.home-services__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.home-services__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
    color: var(--theme-primary);
    border: 1px solid color-mix(in srgb, var(--theme-primary) 12%, transparent);
    transition: transform 0.28s ease, background 0.28s ease, color 0.28s ease;
}

.home-services__num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: color-mix(in srgb, var(--theme-primary) 18%, #cbd5e1);
}

.home-services__card-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.home-services__card-desc {
    margin-top: 0.65rem;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
}

.home-services__card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--theme-secondary);
}

.home-services__card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
    color: var(--theme-primary);
    transition: transform 0.25s ease;
}

/* Important links — editorial resource index */
.home-links {
    background:
        radial-gradient(90% 70% at 100% 0%, color-mix(in srgb, var(--theme-primary) 10%, transparent) 0%, transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    border-top: 1px solid color-mix(in srgb, var(--theme-primary) 8%, #e2e8f0);
}

.home-links__shell {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-links__shell {
        grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.8fr);
        gap: 3rem;
        align-items: start;
    }
}

.home-links__intro {
    position: relative;
}

@media (min-width: 1024px) {
    .home-links__intro {
        position: sticky;
        top: 6rem;
        padding-right: 1rem;
    }
}

.home-links__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.home-links__eyebrow::before {
    content: "";
    width: 1.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-primary);
}

.home-links__title {
    margin-top: 0.7rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
}

.home-links__lede {
    margin-top: 0.85rem;
    max-width: 28ch;
    font-size: 1rem;
    line-height: 1.65;
    color: #64748b;
}

.home-links__all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.35rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--theme-secondary);
    transition: gap 0.2s ease, color 0.2s ease;
}

.home-links__all:hover {
    color: var(--theme-primary);
    gap: 0.65rem;
}

.home-links__list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 10%, #e2e8f0);
    border-radius: 1.5rem;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.home-links__item + .home-links__item {
    border-top: 1px solid color-mix(in srgb, var(--theme-primary) 8%, #e2e8f0);
}

.home-links__row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1.15rem 1.25rem;
    color: inherit;
    text-decoration: none;
    transition: background 0.22s ease;
}

@media (min-width: 640px) {
    .home-links__row {
        gap: 1.35rem;
        padding: 1.35rem 1.5rem;
    }
}

.home-links__row:hover {
    background: color-mix(in srgb, var(--color-brand-50) 70%, #fff);
}

.home-links__row:hover .home-links__name {
    color: var(--theme-secondary);
}

.home-links__row:hover .home-links__chevron {
    transform: translateX(4px);
    background: var(--theme-primary);
    color: #fff;
}

.home-links__row:hover .home-links__action {
    color: var(--theme-primary);
}

.home-links__index {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: color-mix(in srgb, var(--theme-primary) 35%, #94a3b8);
    min-width: 1.75rem;
}

.home-links__body {
    min-width: 0;
}

.home-links__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.3rem;
}

.home-links__category,
.home-links__external {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-links__category {
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
    color: var(--theme-secondary);
}

.home-links__external {
    background: #f1f5f9;
    color: #64748b;
}

.home-links__name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: #0f172a;
    transition: color 0.2s ease;
}

.home-links__desc {
    display: -webkit-box;
    margin-top: 0.25rem;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
}

.home-links__action {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #94a3b8;
    transition: color 0.2s ease;
}

.home-links__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--theme-primary) 8%, #f8fafc);
    color: var(--theme-primary);
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.home-community {
    padding: 0;
}

.home-community__frame {
    position: relative;
    min-height: 280px;
    overflow: hidden;
    isolation: isolate;
}

@media (min-width: 640px) {
    .home-community__frame {
        min-height: 360px;
        clip-path: polygon(0 8%, 100% 0, 100% 92%, 0 100%);
    }
}

.home-community__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 115%;
    object-fit: cover;
    transform: translateY(var(--home-parallax, 0px));
    will-change: transform;
}

.home-community__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 24, 20, 0.72) 10%, rgba(8, 24, 20, 0.35) 70%, rgba(8, 24, 20, 0.2));
}

.home-community__copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: inherit;
    padding: 3.5rem 1.25rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 1366px) and (max-width: 1919px) {
    .home-community__copy {
        max-width: 1280px;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1920px) {
    .home-community__copy {
        max-width: 1700px;
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 640px) {
    .home-community__copy {
        padding: 4.5rem 1.5rem;
    }
}

.home-involve-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 12%, #e2e8f0);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-involve-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.home-involve-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.25rem;
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
}

.home-about-band__media {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-primary) 35%, #0f172a), color-mix(in srgb, var(--theme-secondary) 55%, #0f172a));
}

.home-hub__tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.25rem 0.75rem;
    border-radius: 1.25rem;
    color: #fff;
    transition: transform 0.3s ease, background 0.3s ease;
}

.home-hub__tile:hover {
    transform: translateY(-4px);
    background: color-mix(in srgb, #fff 12%, transparent);
}

.home-hub__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    background: color-mix(in srgb, #fff 18%, transparent);
    border: 2px solid color-mix(in srgb, #fff 35%, transparent);
    color: #fff;
}

[data-reveal] .home-feature-row,
[data-reveal] .home-emergencies__tile,
[data-reveal] .home-services__card,
[data-reveal] .home-links__item,
[data-reveal] .home-involve-card,
[data-reveal] .home-hub__tile,
[data-reveal] .modern-news-card,
[data-reveal] .modern-event-card {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible .home-feature-row,
[data-reveal].is-visible .home-emergencies__tile,
[data-reveal].is-visible .home-services__card,
[data-reveal].is-visible .home-links__item,
[data-reveal].is-visible .home-involve-card,
[data-reveal].is-visible .home-hub__tile,
[data-reveal].is-visible .modern-news-card,
[data-reveal].is-visible .modern-event-card {
    opacity: 1;
    transform: none;
}

[data-reveal].is-visible .home-feature-row:nth-child(2),
[data-reveal].is-visible .home-emergencies__tile:nth-child(2),
[data-reveal].is-visible .home-services__card:nth-child(2),
[data-reveal].is-visible .home-links__item:nth-child(2),
[data-reveal].is-visible .home-involve-card:nth-child(2),
[data-reveal].is-visible .home-hub__tile:nth-child(2) {
    transition-delay: 0.08s;
}

[data-reveal].is-visible .home-feature-row:nth-child(3),
[data-reveal].is-visible .home-emergencies__tile:nth-child(3),
[data-reveal].is-visible .home-services__card:nth-child(3),
[data-reveal].is-visible .home-links__item:nth-child(3),
[data-reveal].is-visible .home-involve-card:nth-child(3),
[data-reveal].is-visible .home-hub__tile:nth-child(3) {
    transition-delay: 0.16s;
}

[data-reveal].is-visible .home-feature-row:nth-child(4),
[data-reveal].is-visible .home-emergencies__tile:nth-child(4),
[data-reveal].is-visible .home-services__card:nth-child(4),
[data-reveal].is-visible .home-links__item:nth-child(4),
[data-reveal].is-visible .home-hub__tile:nth-child(4) {
    transition-delay: 0.24s;
}

[data-reveal].is-visible .home-links__item:nth-child(5) { transition-delay: 0.3s; }
[data-reveal].is-visible .home-links__item:nth-child(6) { transition-delay: 0.36s; }
[data-reveal].is-visible .home-links__item:nth-child(7) { transition-delay: 0.42s; }
[data-reveal].is-visible .home-links__item:nth-child(8) { transition-delay: 0.48s; }

[data-reveal].is-visible .home-emergencies__tile:nth-child(5) { transition-delay: 0.3s; }
[data-reveal].is-visible .home-emergencies__tile:nth-child(6) { transition-delay: 0.36s; }
[data-reveal].is-visible .home-emergencies__tile:nth-child(7) { transition-delay: 0.42s; }
[data-reveal].is-visible .home-emergencies__tile:nth-child(8) { transition-delay: 0.48s; }

/* Legacy modern-hero support */
.modern-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(ellipse at top right, rgba(45, 106, 79, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(27, 67, 50, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, var(--theme-secondary) 0%, color-mix(in srgb, var(--theme-primary) 80%, #0b1611) 100%);
}

.modern-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, rgba(10, 22, 16, 0.7) 0%, rgba(10, 22, 16, 0.4) 100%);
}

/* Floating Animation Keyframes */
@keyframes float-slow {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes float-medium {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) rotate(-2deg);
    }
}

@keyframes float-fast {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes pulse-slow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.animate-float-slow {
    animation: float-slow 6s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-medium 5s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-fast 4s ease-in-out infinite;
}

.animate-pulse-slow {
    animation: pulse-slow 8s ease-in-out infinite;
}

/* Modern Card Styles */
.modern-card-1 {
    animation: float-medium 6s ease-in-out infinite;
    animation-delay: 0s;
}

.modern-card-2 {
    animation: float-slow 8s ease-in-out infinite;
    animation-delay: 1s;
}

.modern-card-3 {
    animation: float-fast 5s ease-in-out infinite;
    animation-delay: 2s;
}

/* Glassmorphism Effects */
.modern-bento-card {
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.modern-bento-card:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-4px);
}

/* Modern News & Event Cards */
.modern-news-card,
.modern-event-card {
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-news-card:hover img,
.modern-event-card:hover img {
    transform: scale(110%);
}

/* Modern Link & Shop Cards */
.modern-link-card,
.modern-shop-card {
    backdrop-filter: blur(5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-link-card:hover,
.modern-shop-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Line Clamp Utility */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Responsive Animations */
@media (max-width: 768px) {
    .modern-card-1,
    .modern-card-2,
    .modern-card-3 {
        display: none;
    }
}

/* Reduce Motion */
@media (prefers-reduced-motion: reduce) {
    .animate-float-slow,
    .animate-float-medium,
    .animate-float-fast,
    .animate-pulse-slow,
    .modern-card-1,
    .modern-card-2,
    .modern-card-3 {
        animation: none;
        transform: none;
    }

    .modern-bento-card,
    .modern-news-card,
    .modern-event-card,
    .modern-link-card,
    .modern-shop-card {
        transition: none;
    }
}

/* Legacy Hero Support */
.site-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(120% 80% at 10% 0%, color-mix(in srgb, var(--theme-primary) 55%, #0f1c16) 0%, transparent 55%),
        linear-gradient(145deg, var(--theme-secondary) 0%, color-mix(in srgb, var(--theme-primary) 70%, #0b1611) 100%);
}

.site-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.site-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.site-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(105deg, rgba(10, 22, 16, 0.82) 0%, rgba(10, 22, 16, 0.55) 48%, rgba(10, 22, 16, 0.35) 100%);
}

.site-band {
    position: relative;
}

.site-band--muted {
    background: color-mix(in srgb, var(--color-brand-50) 80%, #fff);
}

.site-band--contrast {
    background: linear-gradient(180deg, color-mix(in srgb, var(--theme-secondary) 92%, #000) 0%, var(--theme-secondary) 100%);
    color: #fff;
}

.site-band--contrast a {
    color: #fff;
}

.site-prose {
    max-width: 65ch;
}

.site-prose :where(p, ul, ol) {
    margin-top: 0.85em;
}

.site-prose :where(ul) {
    list-style: disc;
    padding-left: 1.25rem;
}

.site-prose :where(a) {
    color: var(--theme-primary);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.site-prose :where(a:hover) {
    color: var(--theme-secondary);
}

/* Motion */
@keyframes site-fade-up {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes site-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.site-animate-in {
    animation: site-fade-up 0.7s ease-out both;
}

.site-animate-hero {
    animation: site-fade-in 0.9s ease-out both;
}

.site-animate-delay-1 { animation-delay: 0.12s; }
.site-animate-delay-2 { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .home-pulse-label::before,
    .home-feature-icon,
    .home-emergencies__tile-link,
    .home-emergencies__icon,
    .home-services__card-link,
    .home-services__icon,
    .home-services__card-arrow,
    .home-links__row,
    .home-links__chevron,
    .home-involve-card,
    .home-hub__tile,
    .home-quicklinks__item,
    .home-community__img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    [data-reveal] .home-feature-row,
    [data-reveal] .home-emergencies__tile,
    [data-reveal] .home-services__card,
    [data-reveal] .home-links__item,
    [data-reveal] .home-involve-card,
    [data-reveal] .home-hub__tile,
    [data-reveal] .modern-news-card,
    [data-reveal] .modern-event-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


.site-nav-link {
    position: relative;
    transition: color 0.2s ease;
}

.site-nav-link[aria-current="page"]::after,
.site-nav-link:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
}

.site-teaser {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-teaser:hover,
.site-teaser:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--site-shadow);
    border-color: color-mix(in srgb, var(--theme-primary) 35%, #e2e8f0);
}

.site-input {
    display: block;
    width: 100%;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    background: #fff;
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.site-input:focus {
    border-color: var(--theme-primary);
    outline: none;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--theme-primary) 25%, transparent);
}

.site-input:focus-visible {
    outline: 3px solid var(--theme-primary);
    outline-offset: 2px;
}

/* Text size controls */
.site-text-size {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.site-text-size__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #475569;
}

.site-text-size__buttons {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid #cbd5e1;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
}

.site-text-size__button {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    min-width: 3.25rem;
    padding: 0.35rem 0.55rem;
    border: 0;
    border-right: 1px solid #e2e8f0;
    background: #fff;
    color: #334155;
    cursor: pointer;
    line-height: 1.1;
}

.site-text-size__button:last-child {
    border-right: 0;
}

.site-text-size__button:hover {
    background: var(--color-brand-50);
    color: var(--theme-secondary);
}

.site-text-size__button[aria-pressed="true"] {
    background: var(--theme-secondary);
    color: #fff;
    box-shadow: inset 0 -3px 0 0 #fff;
    font-weight: 700;
}

.site-text-size__button[aria-pressed="true"] .site-text-size__caption {
    color: #fff;
}

.site-text-size__sample {
    font-weight: 700;
    font-family: var(--font-sans);
}

.site-text-size__sample--sm { font-size: 0.85rem; }
.site-text-size__sample--md { font-size: 1rem; }
.site-text-size__sample--lg { font-size: 1.15rem; }

.site-text-size__caption {
    font-size: 0.625rem;
    font-weight: 600;
    color: #64748b;
}

.site-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid currentColor;
}

.site-badge--featured {
    color: var(--theme-secondary);
    background: color-mix(in srgb, var(--color-brand-100) 80%, #fff);
}

.site-badge--status {
    color: #334155;
    background: #f8fafc;
}

.site-required-mark {
    color: #b91c1c;
    font-weight: 700;
}

/* Shared page hero (matches About styling) */
.page-hero,
.about-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #fff;
    background: #0b1611;
}

.page-hero__media,
.about-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.page-hero__img,
.about-hero__img,
.page-hero__media img,
.site-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
}

.page-hero__scrim,
.about-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(
            115deg,
            color-mix(in srgb, var(--theme-secondary) 78%, #04110c) 0%,
            color-mix(in srgb, var(--theme-primary) 45%, transparent) 55%,
            color-mix(in srgb, var(--theme-secondary) 55%, transparent) 100%
        );
}

.page-hero__eyebrow,
.about-hero__eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff 82%, transparent);
}

.page-hero__title,
.about-hero__title {
    margin-top: 0.85rem;
    max-width: 18ch;
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
}

.page-hero__lede,
.about-hero__lede {
    margin-top: 1rem;
    max-width: 38rem;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    line-height: 1.65;
    color: color-mix(in srgb, #fff 88%, transparent);
}

.page-hero__slot {
    margin-top: 1.25rem;
}

.page-hero__actions,
.about-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.page-hero__cta,
.about-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.page-hero__cta--primary,
.about-hero__cta--primary {
    background: #fff;
    color: var(--theme-secondary);
}

.page-hero__cta--primary:hover,
.about-hero__cta--primary:hover {
    transform: translateY(-2px);
    background: color-mix(in srgb, #fff 92%, var(--theme-primary));
}

.page-hero__cta--ghost,
.about-hero__cta--ghost {
    border: 1px solid color-mix(in srgb, #fff 45%, transparent);
    color: #fff;
    background: color-mix(in srgb, #fff 8%, transparent);
}

.page-hero__cta--ghost:hover,
.about-hero__cta--ghost:hover {
    background: color-mix(in srgb, #fff 16%, transparent);
}

.about-overview {
    background: #fff;
}

.about-overview__shell {
    display: grid;
    gap: 1.75rem;
}

@media (min-width: 1024px) {
    .about-overview__shell {
        grid-template-columns: minmax(220px, 0.85fr) minmax(0, 1.6fr);
        gap: 3.5rem;
        align-items: start;
    }
}

.about-overview__aside {
    position: relative;
}

@media (min-width: 1024px) {
    .about-overview__aside {
        position: sticky;
        top: 6rem;
    }
}

.about-overview__index {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    color: color-mix(in srgb, var(--theme-primary) 16%, #e2e8f0);
}

.about-overview__eyebrow {
    margin-top: 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.about-overview__title {
    margin-top: 0.55rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
}

.about-overview__content {
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-overview__content :where(p + p) {
    margin-top: 1rem;
}

.about-pillars {
    background:
        radial-gradient(80% 60% at 0% 0%, color-mix(in srgb, var(--theme-primary) 8%, transparent), transparent 55%),
        linear-gradient(180deg, color-mix(in srgb, var(--color-brand-50) 65%, #fff) 0%, #fff 100%);
    border-top: 1px solid color-mix(in srgb, var(--theme-primary) 8%, #e2e8f0);
}

.about-pillars__header {
    max-width: 40rem;
    margin-bottom: 2rem;
}

.about-pillars__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.about-pillars__eyebrow::before {
    content: "";
    width: 1.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-primary);
}

.about-pillars__heading {
    margin-top: 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 2.8vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.about-pillars__grid {
    display: grid;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .about-pillars__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .about-pillars__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .about-pillars__card--featured {
        grid-column: span 1;
    }
}

.about-pillars__inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 16rem;
    padding: 1.5rem;
    border-radius: 1.5rem;
    background: #fff;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 10%, #e2e8f0);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-pillars__card--featured .about-pillars__inner {
    background:
        linear-gradient(155deg, color-mix(in srgb, var(--theme-secondary) 94%, #04110c) 0%, var(--theme-primary) 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 18px 40px color-mix(in srgb, var(--theme-secondary) 22%, transparent);
}

.about-pillars__card:hover .about-pillars__inner {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
}

.about-pillars__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.about-pillars__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 0.9rem;
    background: color-mix(in srgb, var(--theme-primary) 10%, #fff);
    color: var(--theme-primary);
}

.about-pillars__card--featured .about-pillars__icon {
    background: color-mix(in srgb, #fff 16%, transparent);
    color: #fff;
}

.about-pillars__num {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: color-mix(in srgb, var(--theme-primary) 22%, #cbd5e1);
}

.about-pillars__card--featured .about-pillars__num {
    color: color-mix(in srgb, #fff 45%, transparent);
}

.about-pillars__label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.about-pillars__card--featured .about-pillars__label {
    color: color-mix(in srgb, #fff 75%, transparent);
}

.about-pillars__title {
    margin-top: 0.4rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.about-pillars__card--featured .about-pillars__title {
    color: #fff;
}

.about-pillars__body {
    margin-top: 0.75rem;
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #64748b;
}

.about-pillars__body :where(p) {
    margin: 0;
}

.about-pillars__card--featured .about-pillars__body {
    color: color-mix(in srgb, #fff 86%, transparent);
}

.about-pillars__card--featured .about-pillars__body a {
    color: #fff;
}

.about-extra {
    background: #fff;
}

.about-extra__card {
    padding: 1.75rem;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 10%, #e2e8f0);
    background: color-mix(in srgb, var(--color-brand-50) 45%, #fff);
}

.about-cta {
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--theme-secondary) 94%, #04110c) 0%, var(--theme-primary) 100%);
    color: #fff;
}

.about-cta__shell {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .about-cta__shell {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }
}

.about-cta__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.about-cta__lede {
    margin-top: 0.5rem;
    max-width: 36rem;
    color: color-mix(in srgb, #fff 85%, transparent);
}

.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.about-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.25rem;
    border-radius: 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-cta__btn--primary {
    background: #fff;
    color: var(--theme-secondary);
}

.about-cta__btn--primary:hover {
    transform: translateY(-2px);
}

.about-cta__btn--ghost {
    border: 1px solid color-mix(in srgb, #fff 40%, transparent);
    color: #fff;
}

.about-cta__btn--ghost:hover {
    background: color-mix(in srgb, #fff 12%, transparent);
}

[data-reveal] .about-overview__shell,
[data-reveal] .about-pillars__card,
[data-reveal] .about-extra__card {
    opacity: 0;
    transform: translateY(1rem);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-visible .about-overview__shell,
[data-reveal].is-visible .about-pillars__card,
[data-reveal].is-visible .about-extra__card {
    opacity: 1;
    transform: none;
}

[data-reveal].is-visible .about-pillars__card:nth-child(2) { transition-delay: 0.08s; }
[data-reveal].is-visible .about-pillars__card:nth-child(3) { transition-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
    .about-pillars__inner,
    .about-hero__cta,
    .page-hero__cta,
    .about-cta__btn {
        transition: none !important;
        transform: none !important;
    }

    [data-reveal] .about-overview__shell,
    [data-reveal] .about-pillars__card,
    [data-reveal] .about-extra__card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Find us (homepage) */
.home-findus {
    background:
        radial-gradient(90% 70% at 0% 0%, color-mix(in srgb, var(--theme-primary) 8%, transparent), transparent 55%),
        #fff;
    border-top: 1px solid color-mix(in srgb, var(--theme-primary) 8%, #e2e8f0);
}

.home-findus__shell {
    display: grid;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .home-findus__shell {
        grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.6fr);
        gap: 3rem;
        align-items: start;
    }
}

.home-findus__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.home-findus__eyebrow::before {
    content: "";
    width: 1.35rem;
    height: 2px;
    border-radius: 999px;
    background: var(--theme-primary);
}

.home-findus__title {
    margin-top: 0.65rem;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.home-findus__lede {
    margin-top: 0.75rem;
    max-width: 30ch;
    color: #64748b;
    line-height: 1.65;
}

.home-findus__panel {
    padding: 1.5rem;
    border-radius: 1.5rem;
    border: 1px solid color-mix(in srgb, var(--theme-primary) 12%, #e2e8f0);
    background: color-mix(in srgb, var(--color-brand-50) 45%, #fff);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

@media (min-width: 640px) {
    .home-findus__panel {
        padding: 1.75rem 2rem;
    }
}

.home-findus__details {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 1.15rem;
}

@media (min-width: 768px) {
    .home-findus__details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem 1.5rem;
    }
}

.home-findus__detail {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
}

.home-findus__detail-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
    background: #fff;
    color: var(--theme-primary);
    border: 1px solid color-mix(in srgb, var(--theme-primary) 12%, transparent);
    flex-shrink: 0;
}

.home-findus__detail-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}

.home-findus__detail-value {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
}

.home-findus__detail-value--link {
    color: var(--theme-secondary);
}

.home-findus__detail-value--link:hover {
    color: var(--theme-primary);
}

.home-findus__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid color-mix(in srgb, var(--theme-primary) 12%, #e2e8f0);
}

.home-findus__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.15rem;
    border-radius: 0.9rem;
    font-size: 0.875rem;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease;
}

.home-findus__btn--primary {
    background: var(--theme-primary);
    color: #fff;
}

.home-findus__btn--primary:hover {
    background: var(--theme-secondary);
    transform: translateY(-1px);
}

.home-findus__btn--ghost {
    background: #fff;
    color: var(--theme-secondary);
    border: 1px solid color-mix(in srgb, var(--theme-primary) 18%, #cbd5e1);
}

.home-findus__btn--ghost:hover {
    background: color-mix(in srgb, var(--color-brand-50) 80%, #fff);
}

/* Site footer */
.site-footer {
    margin-top: auto;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--theme-secondary) 96%, #04110c) 0%, color-mix(in srgb, var(--theme-secondary) 88%, #000) 100%);
    color: color-mix(in srgb, #fff 88%, transparent);
}

.site-footer__main {
    padding-top: 3rem;
    padding-bottom: 2.5rem;
}

@media (min-width: 640px) {
    .site-footer__main {
        padding-top: 3.5rem;
        padding-bottom: 3rem;
    }
}

.site-footer__grid {
    display: grid;
    gap: 2.25rem;
    grid-template-columns: 1fr;
}

@media (min-width: 768px) {
    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (min-width: 1100px) {
    .site-footer__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 2.5rem;
    }

    .site-footer__brand {
        grid-column: span 2;
    }
}

.site-footer__brand-contact {
    margin-top: 1.25rem;
}

.site-footer__brand-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-footer__logo {
    height: 2.25rem;
    width: auto;
    object-fit: contain;
}

.site-footer__name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
}

.site-footer__about {
    margin-top: 1rem;
    max-width: 34rem;
    font-size: 0.925rem;
    line-height: 1.65;
    color: color-mix(in srgb, #fff 78%, transparent);
    white-space: pre-line;
}

.site-footer__mission {
    margin-top: 0.85rem;
    max-width: 34rem;
    font-size: 0.85rem;
    line-height: 1.6;
    color: color-mix(in srgb, #fff 65%, transparent);
}

.site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.site-footer__social-link {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    border: 1px solid color-mix(in srgb, #fff 22%, transparent);
    background: color-mix(in srgb, #fff 8%, transparent);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.site-footer__social-link:hover {
    background: color-mix(in srgb, #fff 16%, transparent);
    border-color: color-mix(in srgb, #fff 40%, transparent);
}

.site-footer__heading {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff 70%, transparent);
}

.site-footer__list {
    list-style: none;
    margin: 0.9rem 0 0;
    padding: 0;
    display: grid;
    gap: 0.55rem;
}

.site-footer__list--contact {
    gap: 0.75rem;
}

.site-footer__link {
    color: color-mix(in srgb, #fff 88%, transparent);
    font-size: 0.925rem;
    transition: color 0.2s ease;
}

.site-footer__link:hover {
    color: #fff;
}

.site-footer__contact-item {
    font-size: 0.9rem;
    line-height: 1.55;
    color: color-mix(in srgb, #fff 78%, transparent);
}

.site-footer__meta-label {
    display: block;
    margin-bottom: 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff 58%, transparent);
}

.site-footer__bar {
    border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
    background: color-mix(in srgb, #000 18%, transparent);
}

.site-footer__bar-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

@media (min-width: 640px) {
    .site-footer__bar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.site-footer__copy {
    font-size: 0.78rem;
    color: color-mix(in srgb, #fff 62%, transparent);
}

.site-footer__bar-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #fff;
}

.site-footer__bar-link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
