/* ============================================================
   BRC Site — Main Stylesheet
   Colors: #000 | #f58220 (orange) | #4b4b4b (gray)
            #fdc99c (pale accent) | #00e5ff (neon blue)
   ============================================================ */

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

:root {
    --black:       #000000;
    --orange:      #f58220;
    --gray:        #4b4b4b;
    --pale:        #fdc99c;
    --neon:        #00e5ff;
    --white:       #ffffff;
    --depth-top:   #020d1a;
    --depth-mid:   #010810;
    --depth-deep:  #000000;
    --text:        #c8c8c8;
    --text-light:  #e8e8e8;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--black);
    color: var(--text);
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 18px;
    line-height: 1.75;
    overflow-x: hidden;
}

a {
    color: var(--orange);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--pale);
}

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

/* ============================================================
   DEPTH GRADIENT — the page darkens as you scroll
   Achieved via layered section backgrounds on a base gradient
   ============================================================ */

.page-wrapper {
    background: linear-gradient(
        to bottom,
        var(--depth-top) 0%,
        #010d18 15%,
        #01080f 35%,
        #010609 60%,
        #000407 80%,
        var(--depth-deep) 100%
    );
    min-height: 100vh;
    position: relative;
}

/* Ambient depth shimmer — very subtle scanline texture */
.page-wrapper::before {
    content: '';
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 3px,
        rgba(0, 229, 255, 0.012) 3px,
        rgba(0, 229, 255, 0.012) 4px
    );
    pointer-events: none;
    z-index: 0;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(245, 130, 32, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.site-nav__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.site-nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
    padding: 0.5rem 0;
}

.site-nav__logo img {
    height: 30px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(245, 130, 32, 0.2));
}

.site-nav__links {
    display: flex;
    list-style: none;
    flex-wrap: wrap;
    gap: 0;
}

.site-nav__links li a {
    display: block;
    padding: 0.85rem 0.6rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-light);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.site-nav__links li a:hover,
.site-nav__links li a.active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.75rem;
    margin-left: auto;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--orange);
    margin: 5px 0;
    transition: transform 0.3s, opacity 0.3s;
}


/* ============================================================
   HERO SECTION
   ============================================================ */

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 1.5rem 4rem;
    text-align: center;
}

.hero__logo {
    width: min(320px, 70vw);
    filter: drop-shadow(0 0 30px rgba(0, 229, 255, 0.2))
            drop-shadow(0 0 60px rgba(0, 229, 255, 0.08));
    margin-bottom: 2rem;
    animation: logo-pulse 6s ease-in-out infinite;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 0 28px rgba(0, 229, 255, 0.18)) drop-shadow(0 0 55px rgba(0, 229, 255, 0.06)); }
    50%       { filter: drop-shadow(0 0 38px rgba(0, 229, 255, 0.30)) drop-shadow(0 0 70px rgba(0, 229, 255, 0.12)); }
}

.hero__tagline {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: clamp(0.75rem, 2vw, 0.9rem);
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--neon);
    margin-bottom: 0.75rem;
    text-shadow: 0 0 12px rgba(0, 229, 255, 0.5);
}

.hero__headline {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    font-weight: normal;
    color: var(--white);
    line-height: 1.3;
    max-width: 640px;
    margin-bottom: 2rem;
}

.hero__headline em {
    color: var(--orange);
    font-style: italic;
}

.hero__launch-notice {
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    color: var(--orange);
    background: rgba(245, 130, 32, 0.12);
    border: 1px solid rgba(245, 130, 32, 0.45);
    border-radius: 6px;
    padding: 0.6rem 1.4rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border: 2px solid var(--orange);
    color: var(--orange);
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}

.btn:hover {
    background: var(--orange);
    color: var(--black);
    box-shadow: 0 0 20px rgba(245, 130, 32, 0.4);
}

/* ============================================================
   DEPTH DIVIDER — wavy separator between sections
   ============================================================ */

.depth-divider {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    margin: -1px 0;
}

.depth-divider svg {
    display: block;
    width: 100%;
}

/* ============================================================
   CONTENT SECTIONS — progressive depth theming
   ============================================================ */

.section {
    position: relative;
    z-index: 1;
    padding: 4rem 1.5rem;
}

.section__inner {
    max-width: 820px;
    margin: 0 auto;
}

/* Depth level overlays — each section sits deeper */
.section--bio { padding-top: 2rem; padding-bottom: 2rem; }

.section--depth-1 { background: rgba(0,  15,  30,  0.40); }
.section--depth-2 { background: rgba(0,  10,  22,  0.55); }
.section--depth-3 { background: rgba(0,   6,  15,  0.65); }
.section--depth-4 { background: rgba(0,   3,   8,  0.75); }


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.section-label {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--neon);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.45);
    margin-bottom: 0.6rem;
}

.our-story-heading {
    font-size: clamp(2.8rem, 8vw, 5.5rem);
    color: var(--orange);
    font-weight: normal;
    letter-spacing: 0.04em;
    line-height: 1.1;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 40px rgba(245, 130, 32, 0.25);
}

.section-title {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--white);
    font-weight: normal;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.section-title span {
    color: var(--orange);
}

/* ============================================================
   BIO / ABOUT SECTION
   ============================================================ */

.bio-intro {
    font-size: clamp(1rem, 2.2vw, 1.15rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.bio-body p {
    margin-bottom: 1.4rem;
    color: var(--text);
    line-height: 1.8;
}

.bio-body p:last-child {
    margin-bottom: 0;
}

.bio-body ul {
    list-style: none;
    margin: 0.5rem 0 1.4rem;
    padding: 0;
}

.bio-body ul li {
    padding: 0.25rem 0 0.25rem 1.4rem;
    position: relative;
    color: var(--text);
    line-height: 1.7;
}

.bio-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    opacity: 0.7;
}

/* Page hero — used on inner pages instead of the full home hero */
.page-hero {
    position: relative;
    z-index: 1;
    padding: 3.5rem 1.5rem 2rem;
    background: linear-gradient(to bottom, rgba(2,13,26,0.5) 0%, transparent 100%);
}

.page-hero__inner {
    max-width: 820px;
    margin: 0 auto;
}

.page-hero__label {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--neon);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.45);
    margin-bottom: 0.75rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    max-width: 820px;
    margin: 0 auto;
    padding: 3rem 2rem 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.breadcrumb a {
    color: var(--neon);
    text-decoration: none;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.breadcrumb a:hover {
    text-shadow: 0 0 14px rgba(0, 229, 255, 0.75);
}

.breadcrumb__sep {
    margin: 0 0.65em;
    opacity: 0.35;
}

/* ============================================================
   SCHEDULE TABLE
   ============================================================ */

.schedule-table-wrap {
    overflow-x: auto;
    margin-top: 1.5rem;
    border-radius: 2px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.88rem;
}

.schedule-table thead th {
    padding: 0.85rem 1.25rem;
    text-align: left;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--black);
    background: var(--orange);
    white-space: nowrap;
}

.schedule-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: background 0.2s;
}

.schedule-table tbody tr:hover {
    background: rgba(245, 130, 32, 0.06);
}

.schedule-table td {
    padding: 1rem 1.25rem;
    vertical-align: top;
    color: var(--text);
    line-height: 1.6;
}

.schedule-table td:first-child {
    color: var(--white);
    font-weight: 700;
    white-space: nowrap;
}

.schedule-table .group-name {
    color: var(--orange);
    display: block;
    font-size: 0.95rem;
}

.schedule-table .group-tier {
    color: var(--gray);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.schedule-table .session {
    display: block;
    padding: 0.15rem 0;
}

.schedule-table .session + .session {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 0.35rem;
    padding-top: 0.5rem;
}

.schedule-table .session-days {
    color: var(--neon);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
}

.schedule-table .session-time {
    color: var(--pale);
}

/* Group card — visual grouping for each practice group */
.group-card {
    border-left: 2px solid rgba(245, 130, 32, 0.25);
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}

/* Pull quote */
.pull-quote {
    border-left: 3px solid var(--orange);
    padding: 0.75rem 0 0.75rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--pale);
    line-height: 1.65;
}

/* ============================================================
   DEPTH PRESSURE LINES — subtle horizontal scan effect
   ============================================================ */

.pressure-lines {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    opacity: 0.04;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px,
        transparent 8px,
        rgba(255,255,255,0.6) 8px,
        rgba(255,255,255,0.6) 9px
    );
}

/* ============================================================
   HIGHLIGHT STAT STRIP
   ============================================================ */

.stats-strip {
    position: relative;
    z-index: 1;
    background: rgba(245, 130, 32, 0.08);
    border-top: 1px solid rgba(245, 130, 32, 0.2);
    border-bottom: 1px solid rgba(245, 130, 32, 0.2);
    padding: 2.5rem 1.5rem;
}

.stats-strip__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item__number {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 700;
    color: var(--orange);
    display: block;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-item__label {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pale);
}

/* ============================================================
   BUBBLE CANVAS (JS-driven, desktop only)
   ============================================================ */

#anglerfish-bg {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(75vh, 75vw);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    filter: brightness(0.8);
}

#anglerfish-bg img {
    width: 100%;
    height: auto;
    display: block;
}

#bubble-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 50;
    overflow: hidden;
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
    position: relative;
    z-index: 1;
    background: var(--black);
    border-top: 1px solid rgba(245, 130, 32, 0.15);
}

.site-footer__seabed {
    position: relative;
    line-height: 0;
}

.site-footer__seabed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 35%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(to bottom, #000000, transparent);
}

.site-footer__seabed img,
.site-footer__seabed svg {
    width: 100%;
    height: auto;
    display: block;
}

.site-footer__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1;
    padding: 2rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.site-footer__center {
    flex: 1;
    text-align: center;
}

.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.25rem 1.5rem;
    list-style: none;
    margin-bottom: 1.25rem;
}

.site-footer__nav a {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray);
    transition: color 0.2s;
}

.site-footer__nav a:hover {
    color: var(--orange);
}

.site-footer__copy {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}

.site-footer__copy span {
    color: var(--orange);
}

.site-footer__org-logo {
    flex-shrink: 0;
    display: block;
    opacity: 0.75;
    transition: opacity 0.2s;
}

.site-footer__org-logo:hover {
    opacity: 1;
}

.site-footer__org-logo img {
    height: 96px;
    width: auto;
    display: block;
}

/* ============================================================
   FOOTER — MOBILE
   ============================================================ */

@media (max-width: 768px) {
    /* Un-pin from seabed image; render below it as a normal block */
    .site-footer__info {
        position: relative;
        display: grid;
        grid-template-areas:
            "center center"
            "logo-ccs logo-usa";
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        padding: 1.5rem 1rem;
        background: rgba(0, 0, 0, 0.9);
    }
    .site-footer__center {
        grid-area: center;
    }
    /* CCS logo — left half of bottom row */
    .site-footer__org-logo:first-child {
        grid-area: logo-ccs;
        justify-self: end;
    }
    /* USA Swimming logo — right half of bottom row */
    .site-footer__org-logo:last-child {
        grid-area: logo-usa;
        justify-self: start;
    }
    .site-footer__org-logo img {
        height: 64px;
    }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

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

    .site-nav__logo img { height: 32px; }

    .site-nav__links {
        display: none;
        flex-direction: column;
        width: 100%;
        padding-bottom: 0.5rem;
        border-top: 1px solid rgba(245,130,32,0.2);
    }

    .site-nav__links.open { display: flex; }

    .site-nav__links li a {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        border-left: 2px solid transparent;
    }

    .site-nav__links li a:hover {
        border-left-color: var(--orange);
        border-bottom-color: rgba(255,255,255,0.05);
    }

    .site-nav__inner {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    body { font-size: 16px; }
    .section { padding: 3rem 1rem; }
    .stats-strip { padding: 2rem 1rem; }
    .section-title { margin-bottom: 0.3rem; }
}

/* ============================================================
   BIO PHOTO LAYOUT (home.php)
   ============================================================ */

.bio-layout {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.bio-layout--flip {
    flex-direction: row-reverse;
}

.bio-layout__photo {
    flex: 0 0 280px;
}

.bio-layout__photo img {
    width: 100%;
    border-radius: 6px;
    display: block;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.bio-layout__photo-placeholder {
    width: 280px;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, #0a1a2e 0%, #04090f 100%);
    border: 2px dashed rgba(245, 130, 32, 0.35);
    border-radius: 3px;
    position: relative;
}

.bio-layout__photo-placeholder::after {
    content: 'Photo\A Placeholder';
    white-space: pre;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 130, 32, 0.4);
    font-size: 0.8rem;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.bio-layout__photo--stack {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.photo-reel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 3px;
    background: #04090f;
}

.photo-reel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.photo-reel img.is-active {
    opacity: 1;
}

.bio-layout__content {
    flex: 1;
}

@media (max-width: 768px) {
    .bio-layout,
    .bio-layout--flip {
        flex-direction: column;
    }

    .bio-layout__photo {
        flex: none;
        width: 100%;
    }

    .bio-layout__photo-placeholder {
        width: 100%;
        aspect-ratio: 4 / 3;
    }
}

/* ============================================================
   COACH CARDS
   ============================================================ */

.coach-card {
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

/* Alternate layout — photo on the right */
.coach-card--flip {
    flex-direction: row-reverse;
}

.coach-card__photo {
    flex: 0 0 220px;
}

.coach-card__photo img {
    width: 100%;
    display: block;
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.85), 0 4px 12px rgba(0, 0, 0, 0.6);
}

.coach-card__photo-placeholder {
    width: 220px;
    height: 280px;
    background: linear-gradient(135deg, #0a1a2e 0%, #04090f 100%);
    border: 2px dashed rgba(245, 130, 32, 0.35);
    border-radius: 4px;
    position: relative;
}

/* Anglerfish silhouette stand-in via CSS pseudo-element */
.coach-card__photo-placeholder::after {
    content: 'Photo\A Coming Soon';
    white-space: pre;
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(245, 130, 32, 0.4);
    font-size: 0.8rem;
    font-family: Arial, Helvetica, sans-serif;
    letter-spacing: 0.08em;
    text-align: center;
    text-transform: uppercase;
}

.coach-card__body {
    flex: 1;
}

.coach-card__name {
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.coach-card__role {
    margin-bottom: 1.25rem;
}

.coach-card__meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.2rem 1rem;
    margin-bottom: 1.25rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
}

.coach-card__meta dt {
    color: var(--pale);
    font-weight: 700;
    white-space: nowrap;
}

.coach-card__meta dd {
    color: var(--text-light);
}

.coach-card__bio {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.coach-card__certs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cert-badge {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neon);
    border: 1px solid rgba(0, 229, 255, 0.35);
    border-radius: 3px;
    padding: 0.2em 0.6em;
    background: rgba(0, 229, 255, 0.05);
}

@media (max-width: 700px) {
    .coach-card,
    .coach-card--flip {
        flex-direction: column;
    }

    .coach-card__photo {
        flex: none;
        width: 100%;
    }

    .coach-card__photo-placeholder {
        width: 100%;
        height: 220px;
    }
}

/* ============================================================
   RESOURCE CARDS
   ============================================================ */

.resource-card {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
    margin-top: 2rem;
    padding: 1.75rem 2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(245,130,32,0.2);
    border-radius: 4px;
}

.resource-card--forthcoming {
    border-color: rgba(255,255,255,0.1);
    opacity: 0.7;
}

.resource-card__icon {
    flex: 0 0 48px;
    color: var(--orange);
    padding-top: 0.2rem;
}

.resource-card--forthcoming .resource-card__icon {
    color: var(--gray);
}

.resource-card__icon svg {
    width: 48px;
    height: 48px;
}

.resource-card__body {
    flex: 1;
}

.resource-card__title {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.resource-card__desc {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 1.25rem;
    line-height: 1.65;
}

.resource-card--forthcoming .resource-card__desc {
    margin-bottom: 0.75rem;
}

.resource-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.resource-card__forthcoming-note {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.85rem;
    color: var(--gray);
    font-style: italic;
}

/* Small button variant */
.btn--sm {
    font-size: 0.8rem;
    padding: 0.5em 1.25em;
    letter-spacing: 0.08em;
}

/* Filled/primary variant — inverts the default outline style */
.btn--solid {
    background: var(--orange);
    color: var(--black);
}

.btn--solid:hover {
    background: var(--pale);
    border-color: var(--pale);
    color: var(--black);
    box-shadow: 0 0 20px rgba(245,130,32,0.4);
}

@media (max-width: 600px) {
    .resource-card {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.25rem;
    }
}

/* ============================================================
   INTEREST FORM
   ============================================================ */

.interest-form-wrap {
    max-width: 680px;
    margin: 2rem auto 0;
}

.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;
}

/* Alerts */
.form-alert {
    padding: 1rem 1.25rem;
    border-radius: 3px;
    margin-bottom: 2rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.9rem;
    line-height: 1.55;
}

.form-alert--error {
    background: rgba(220,50,50,0.08);
    border: 1px solid rgba(220,50,50,0.4);
    color: #ff8080;
}

.form-alert--success {
    background: rgba(0,229,255,0.06);
    border: 1px solid rgba(0,229,255,0.3);
    color: var(--neon);
    font-size: 1rem;
}

/* Fieldsets */
.form-fieldset {
    border: none;
    margin: 0 0 2.5rem;
    padding: 0;
}

.form-legend {
    display: block;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--orange);
    border-bottom: 1px solid rgba(245,130,32,0.25);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Grid */
.form-grid {
    display: grid;
    gap: 1.25rem;
}

.form-grid--2col {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

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

/* Labels */
.form-group > label,
.form-legend + .form-grid label:not(.radio-label) {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--pale);
}

.required {
    color: var(--orange);
    margin-left: 0.15em;
}

.form-hint {
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
    font-style: italic;
    color: var(--gray);
    font-size: 0.75rem;
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 3px;
    color: var(--text-light);
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    line-height: 1.5;
    padding: 0.65rem 0.875rem;
    width: 100%;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s, background 0.2s;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

input[type="number"] { -moz-appearance: textfield; }

input:focus,
select:focus,
textarea:focus {
    border-color: var(--orange);
    background: rgba(245,130,32,0.04);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f58220' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.65;
}

/* Radio group */
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    padding-top: 0.35rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--text-light);
}

.radio-label input[type="radio"] {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--orange);
    cursor: pointer;
}

/* Submit area */
.form-submit-area {
    text-align: center;
    padding-top: 0.5rem;
}

.form-submit-area .btn {
    min-width: 200px;
}

.form-submit-area .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-recaptcha-note {
    margin-top: 1rem;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.7rem;
    color: var(--gray);
    line-height: 1.5;
}

.form-recaptcha-note a {
    color: var(--gray);
    text-decoration: underline;
}

@media (max-width: 600px) {
    .form-grid--2col {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   HANDBOOK SUB-NAV
   ============================================================ */

.handbook-nav {
    position: sticky;
    top: 0;
    z-index: 90;
    background: rgba(4, 9, 15, 0.97);
    border-bottom: 1px solid rgba(245, 130, 32, 0.2);
    backdrop-filter: blur(8px);
}

.handbook-nav__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1.5rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.handbook-nav__inner::-webkit-scrollbar {
    display: none;
}

.handbook-nav__label {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--orange);
    white-space: nowrap;
    padding: 0.85rem 0;
    flex-shrink: 0;
    border-right: 1px solid rgba(245, 130, 32, 0.2);
    padding-right: 1rem;
}

.handbook-nav__list {
    display: flex;
    list-style: none;
    gap: 0;
    flex-shrink: 0;
}

.handbook-nav__link {
    display: block;
    padding: 0.85rem 1rem;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray);
    white-space: nowrap;
    transition: color 0.2s;
    border-bottom: 2px solid transparent;
}

.handbook-nav__link:hover {
    color: var(--white);
}

.handbook-nav__link.is-active {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

/* ============================================================
   HANDBOOK CONTENT
   ============================================================ */

.handbook-h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.04em;
    margin: 1.75rem 0 0.5rem;
    text-transform: uppercase;
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
}

.handbook-list {
    margin: 0.5rem 0 0.5rem 1.25rem;
    line-height: 1.7;
}

.handbook-list li {
    margin-bottom: 0.4rem;
}

.handbook-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    min-width: 560px;
}

.handbook-table th {
    background: rgba(245, 130, 32, 0.1);
    color: var(--orange);
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.65rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid rgba(245, 130, 32, 0.3);
}

.handbook-table td {
    padding: 0.65rem 0.85rem;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    vertical-align: top;
    line-height: 1.5;
}

.handbook-table tbody tr:hover td {
    background: rgba(245, 130, 32, 0.04);
}

.handbook-meta {
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: rgba(245, 130, 32, 0.06);
    border: 1px solid rgba(245, 130, 32, 0.2);
    border-radius: 6px;
}

.handbook-meta__grid {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 0.4rem 1.5rem;
    font-size: 0.9rem;
}

.handbook-meta__grid dt {
    font-family: 'Arial', 'Helvetica', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange);
    padding-top: 0.1rem;
}

.handbook-meta__grid dd {
    color: var(--white);
    line-height: 1.5;
}

/* ============================================================
   MODAL
   ============================================================ */

.brc-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.brc-modal[hidden] {
    display: none;
}

.brc-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.brc-modal__box {
    position: relative;
    background: #0a1a2e;
    border: 1px solid rgba(245, 130, 32, 0.35);
    border-radius: 8px;
    padding: 2.5rem 2rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.brc-modal__title {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.brc-modal__body {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
}
