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

:root {
    --coastal-blue: #1F3A5F;
    --sand-gray: #D9D3C7;
    --redfish-copper: #C25A3A;
    --charcoal: #2C2C2C;

    --page-bg: #FAFAF7;
    --card-bg: #FFFFFF;
    --border: rgba(31, 58, 95, 0.14);
    --shadow: rgba(44, 44, 44, 0.10);
}

/* Prevent accidental horizontal scroll */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    height: auto;
}

/* Base */
body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    color: var(--charcoal);
    background: var(--page-bg);
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Default links */
a {
    color: var(--coastal-blue);
    text-decoration: none;
}
a:hover {
    color: var(--redfish-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Header */
.site-header {
    background: var(--coastal-blue);
    color: #ffffff;
    width: 100%;
    overflow-x: clip; /* header safety */
}

/* Full-width header band wrapper */
.header-inner {
    width: 100%;
    gap: 12px;
}

/* Flex layout lives on the constrained inner container */
.header-inner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;
    font-weight: 650;
    font-size: 1.1rem;
    letter-spacing: 0.2px;
    text-decoration: none;
}

.logo-mark {
    height: 30px;
    width: auto;
    display: block;
}

.logo-text {
    line-height: 1;
    margin-left: 8px;
}

.logo a:hover {
    color: var(--sand-gray);
    text-decoration: none;
}

/* Main nav baseline (desktop) */

.main-nav a {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

.main-nav a:hover {
    color: var(--sand-gray);
    text-decoration: none;
}

.main-nav li.active a {
    font-weight: 650;
    border-bottom: 2px solid var(--redfish-copper);
}

/* Main */
.site-main {
    padding: 24px 0 48px;
}

/* =========================================================
   Hub page content links (paragraphs + lists)
   Make them copper + underlined by default for visibility.
   Scoped to .site-main and main.content so nav/footer/cards stay unchanged.
   ========================================================= */

.site-main main.content p a,
.site-main main.content li a,
.site-main main.content .supporting-articles a {
    color: var(--redfish-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.site-main main.content p a:hover,
.site-main main.content li a:hover,
.site-main main.content .supporting-articles a:hover {
    color: var(--coastal-blue);
    text-decoration-thickness: 2px;
}


h1, h2, h3 {
    color: var(--coastal-blue);
    letter-spacing: normal;
}

h1 {
    line-height: 1.2;
    font-weight: 650;
}

h2 {
    line-height: 1.25;
    font-weight: 650;
}

h3 {
    line-height: 1.3;
    font-weight: 600;
}

/* Cards */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px var(--shadow);
}
.card h3 {
    margin-top: 0;
    margin-bottom: 10px;
}
.card p,
.card li {
    color: var(--charcoal);
}

/* Full-card clickable wrappers (Homepage cards) */
a.hub-card,
a.featured-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Keep hover from underlining anything inside the card */
a.hub-card:hover,
a.featured-card:hover {
    text-decoration: none;
    color: inherit;
}

/* Add lift + shadow + border (matches blog card feel) */
a.hub-card .card,
a.featured-card .card {
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

a.hub-card:hover .card,
a.featured-card:hover .card,
a.hub-card:focus-visible .card,
a.featured-card:focus-visible .card {
    border-color: rgba(194, 90, 58, 0.45);
    box-shadow: 0 12px 26px rgba(44, 44, 44, 0.14);
    transform: translateY(-2px);
}

/* Optional: accessible focus ring on the link itself */
a.hub-card:focus-visible,
a.featured-card:focus-visible {
    outline: 2px solid rgba(194, 90, 58, 0.55);
    outline-offset: 3px;
    border-radius: 12px;
}

/* =========================================================
   CONTENT LINKS (Hubs + standard content inside .site-main)
   Make inline reference links visible: copper + underline
   ========================================================= */

.site-main p a,
.site-main li a {
    color: var(--redfish-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.site-main p a:hover,
.site-main li a:hover {
    color: var(--coastal-blue);
    text-decoration-thickness: 2px;
}

/* Prevent underline/copper from affecting headings in clickable cards */
a.hub-card h3,
a.featured-card h3 {
    color: var(--coastal-blue);
    text-decoration: none;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 18px;
    background: var(--redfish-copper);
    color: #ffffff;
    border-radius: 999px;
    font-weight: 650;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--coastal-blue);
    color: #ffffff;
    text-decoration: none;
}

/* Footer */
.site-footer {
    background: var(--coastal-blue);
    color: var(--sand-gray);
    padding: 24px 0 12px;
    font-size: 0.9rem;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
    margin-bottom: 12px;
}
.footer-col h4 {
    margin-top: 0;
    color: #ffffff;
    font-size: 0.95rem;
}
.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.footer-col li {
    margin-bottom: 4px;
}
.footer-col a {
    color: var(--sand-gray);
    text-decoration: none;
}
.footer-col a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    padding-top: 8px;
    text-align: center;
}

/* Contact form */
.contact-form .form-row { margin-bottom: 14px; }
.contact-form label { display: block; margin-bottom: 6px; }
.contact-form input,
.contact-form textarea { width: 100%; max-width: 680px; }

.contact-form input,
.contact-form textarea,
.contact-form button {
    font-family: inherit;
    font-size: 0.95rem;
}

.hp-field { display: none; }

.notice {
    padding: 12px 14px;
    border-radius: 10px;
    margin: 12px 0;
}

/* Success message */
.notice.success {
    border: 1px solid #2f7a3a;
    border-left: 6px solid #2f7a3a;
    background-color: #eef8f1;
    color: #1f5e2c;
    font-weight: 500;
}

.notice.success::before {
    content: "\2713 ";
    font-weight: 700;
}

/* Error message */
.notice.error {
    border: 1px solid #a33;
    border-left: 6px solid #a33;
    background-color: #fdeeee;
    color: #7a1f1f;
    font-weight: 500;
}

.notice.error::before {
    content: "! ";
    font-weight: 700;
}


/* Helper / Utility Classes */

.blog-index {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

.blog-index__item {
    margin: 0 0 0.9rem 0;
}

.blog-index__title {
    font-weight: inherit;
    text-underline-offset: 2px;
}

.blog-index__date {
    margin-left: 0.35rem;
    font-size: 0.88rem;
    color: #666;
    white-space: nowrap;
}

.blog-index__summary {
    margin-top: 0.15rem;
    margin-left: 0.2rem;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #666;
}

/* =========================================
   Blog card grid + cards (DROP-IN)
   MATCHES renderBlogIndexList output:
   .blog-grid, .blog-card, .blog-card__link, .blog-card__media, .blog-card__img,
   .blog-card__body, .blog-card__badge, .blog-card__badge--overlay/.--inline,
   .blog-card__badge-icon, .blog-card__badge-text, .blog-card__title,
   .blog-card__meta, .blog-card__sep, .blog-card__summary
   ========================================= */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 14px;
}

.blog-pagination {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.blog-pagination__meta {
    font-size: 0.95rem;
    opacity: 0.85;
}

.blog-pagination__nav {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.blog-pagination__btn,
.blog-pagination__num {
    display: inline-block;
    padding: 8px 10px;
    border-radius: 10px;
    text-decoration: none;
}

.blog-pagination__num.is-active {
    font-weight: 700;
}

.blog-pagination__btn.is-disabled {
    opacity: 0.45;
    pointer-events: none;
}

.blog-pagination__dots {
    padding: 0 4px;
    opacity: 0.6;
}

.blog-filter-nav {
    margin: 0.75rem 0 1.25rem;
    font-size: 0.95rem;
}

.blog-filter-nav a,
.blog-filter-nav span {
    margin-right: 1rem;
}

.blog-filter-nav a {
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.blog-filter-nav .is-active {
    font-weight: 600;
    color: #C25A3A; /* Redfish Copper */
    cursor: default;
}

.blog-filter-nav a:hover {
    border-bottom-color: #C25A3A;
}


@media (max-width: 980px) {
    .blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 640px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 6px 18px var(--shadow);
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

    .blog-card:hover,
    .blog-card:focus-within {
        border-color: rgba(194, 90, 58, 0.40);
        box-shadow: 0 12px 26px rgba(44, 44, 44, 0.14);
        transform: translateY(-2px);
    }

.blog-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

    .blog-card__link:hover,
    .blog-card__link:focus,
    .blog-card__link:active {
        text-decoration: none;
    }

.blog-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(31, 58, 95, 0.04);
    overflow: hidden;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-card__body {
    padding: 20px;
}

/* Smaller editorial-style category label */
.blog-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0;
    margin-bottom: 14px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.blog-card__badge--overlay {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 6px;
}

.blog-card__badge--inline {
    margin-bottom: 14px;
}

.blog-card__badge-icon {
    display: none;
}

.blog-card__badge-text {
    font-size: 0.78rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--redfish-copper);
    font-weight: 750;
}

.blog-card__badge-link {
    text-decoration: none;
    color: inherit;
}

.blog-card__badge-link:hover,
.blog-card__badge-link:focus,
.blog-card__badge-link:active {
    color: var(--coastal-blue);
    text-decoration: none;
}

.blog-card__badge-link:hover .blog-card__badge-text,
.blog-card__badge-link:focus .blog-card__badge-text {
    color: var(--coastal-blue);
}

.blog-card__badge-link:focus-visible {
    outline: 2px solid rgba(194, 90, 58, 0.55);
    outline-offset: 3px;
    border-radius: 6px;
}

.blog-card__title {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    line-height: 1.25;
    color: var(--coastal-blue);
}

.blog-card:hover .blog-card__title,
.blog-card:focus-within .blog-card__title {
    text-decoration: none;
}

.blog-card__meta {
    font-size: 0.84rem;
    color: rgba(44, 44, 44, 0.70);
    margin-bottom: 12px;
}

.blog-card__sep {
    display: inline-block;
    margin: 0 8px;
    opacity: 0.65;
}

.blog-card__summary {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
    color: var(--charcoal);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link:focus-visible {
    outline: 2px solid rgba(194, 90, 58, 0.55);
    outline-offset: 3px;
    border-radius: 12px;
}


.supporting-articles {
    margin: 0.75rem 0 0;
    padding-left: 1.1rem;
}

.supporting-articles li {
    margin: 0 0 0.85rem 0;
}

.supporting-articles a {
    font-weight: inherit;
    text-underline-offset: 2px;
}

.supporting-articles__summary {
    margin-top: 0.15rem;
    margin-left: 0.2rem;
    font-size: 0.88rem;
    line-height: 1.3;
    color: #666;
}

.map-credit {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #777;
}
.map-figure {
    margin: 2rem 0;
    text-align: center;
}

.map-figure img {
    width: 100%;
    max-width: 1100px;
    height: auto;
    border-radius: 4px;
    margin: 0 auto;
    display: block;
}

.map-figure figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #555;
}

.post-date {
    opacity: 0.7;
    font-size: 0.95em;
}

.site-main p.back-link a {
    text-decoration: none;
}
.site-main p.back-link a:hover {
    text-decoration: underline;
}

.site-main p.hub-link a {
    color: var(--redfish-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    font-weight: 600;
}

.site-main p.hub-link a:hover {
    color: var(--coastal-blue);
    text-decoration-thickness: 2px;
}

/* Helpers */
.text-center { text-align: center; }

.content-narrow { max-width: 700px; }
.content-center {
    margin-left: auto;
    margin-right: auto;
}

.text-small { font-size: 0.95rem; }

.hero-pad-lg { padding: 60px 20px; }
.section-pad-md { padding: 40px 20px; }
.section-pad-lg { padding: 60px 20px; }
.section-mt-lg { margin-top: 60px; }

/* --------------------------------
   Homepage spacing refinement
   (only affects pages wrapped in <div class="homepage">)
   -------------------------------- */
.homepage .hero-pad-lg {
    padding: 44px 20px;
}
.homepage .section-pad-lg {
    padding: 44px 20px;
}
.homepage .section-pad-md {
    padding: 32px 20px;
}
.homepage .section-mt-lg {
    margin-top: 40px;
}
.homepage h2 {
    margin-bottom: 16px;
}

/* Center hero text on the homepage */
.homepage .hero {
    text-align: center;
}

/* Optional: keep the hero paragraph nicely balanced under the H1 */
.homepage .hero .content-narrow {
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   Homepage Hero Image (GLOBAL)
   ================================ */

/* Break hero out of the container */
.homepage .hero-image {
    position: relative;
    overflow: hidden;

    width: 100vw;
    margin-left: calc(-50vw + 50%);

    min-height: 60vh;
    padding: 0; /* image defines height */
}

/* Background image */
.homepage .hero-image .hero-img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center 55%;

    z-index: 1;
}

/* Overlay for readability */
.homepage .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        rgba(0, 0, 0, 0.18),
        rgba(0, 0, 0, 0.08)
    );

    z-index: 1;
}

/* Text container */
.homepage .hero-image .hero-content {
    position: relative;
    z-index: 2;

    padding: 44px 20px; /* matches your homepage rhythm */
    text-align: center;

    transform: translateY(-6%);
}

/* Hero text color + contrast */
.homepage .hero-image h1,
.homepage .hero-image p {
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

/* Homepage content links (match hub + article copper style) */
.homepage p a,
.homepage li a {
    color: var(--redfish-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.homepage p a:hover,
.homepage li a:hover {
    color: var(--coastal-blue);
    text-decoration-thickness: 2px;
}


/* ================================
   Blog Article (single post)
   ================================ */

.blog-article {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.blog-article h1 {
    margin-top: 0;
    margin-bottom: 0.75rem;
}

/* Blog article inline links: copper + underline (always visible) */
.blog-article a {
    color: var(--redfish-copper);
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
}

.blog-article a:hover {
    color: var(--coastal-blue);
    text-decoration-thickness: 2px;
}

.author-box {
    display: flex;
    gap: 1.25rem;
    margin: 2rem 0;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px var(--shadow);
}

.author-box__image {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    flex: 0 0 auto;
}

.author-box__content h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.author-box__content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .author-box {
        display: block;
    }

    .author-box__image {
        width: 100%;
        height: auto;
        margin-bottom: 1rem;
    }
}

/* Hero image block */
.blog-hero {
    margin: 1rem 0 1.25rem;
}

.blog-hero img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 6px 18px var(--shadow);
}

/* Caption */
.blog-hero figcaption {
    margin-top: 0.5rem;
    font-size: 0.92rem;
    line-height: 1.35;
    color: #666;
}

/* Grids */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 30px;
}
.grid-3-narrow {
    max-width: 800px;
    margin: 30px auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* Ensure equal-height cards in grid layouts */
.grid-4 > a,
.grid-3 > a {
    display: flex;
}

.grid-4 .card,
.grid-3 .card {
    height: 100%;
}

/* Lists */
.list-relaxed {
    line-height: 1.6;
    margin-top: 10px;
}
.list-loose {
    line-height: 1.8;
    margin-top: 20px;
}

/* Hub page title link affordance */
.site-main h2 a,
.site-main h3 a {
    color: var(--redfish-copper);
    text-decoration: none;
}
.site-main h2 a:hover,
.site-main h3 a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ------------------------------
   Mobile spacing tweaks (general)
   ------------------------------ */
@media (max-width: 720px) {

    .header-inner-content {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 8px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .logo,
    .main-nav {
        padding-left: 6px;
        padding-right: 6px;
    }

    .logo a {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
        line-height: 1.2;
        white-space: nowrap;
    }

    .logo-mark {
        height: 24px;
    }

    .blog-article {
        max-width: 100%;
    }

    .blog-hero {
        margin: 0.85rem 0 1.1rem;
    }

    .blog-hero img {
        border-radius: 10px;
    }

    /* Mobile vertical rhythm */
    .hero-pad-lg {
        padding: 40px 16px;
    }
    .section-pad-lg {
        padding: 40px 16px;
    }
    .section-pad-md {
        padding: 28px 16px;
    }
    .section-mt-lg {
        margin-top: 40px;
    }

    .grid-4,
    .grid-3,
    .grid-3-narrow {
        margin-top: 20px;
    }

    /* Homepage mobile spacing refinement (still slightly tighter than global) */
    .homepage .hero-pad-lg {
        padding: 34px 16px;
    }
    .homepage .section-pad-lg {
        padding: 34px 16px;
    }
    .homepage .section-pad-md {
        padding: 24px 16px;
    }
    .homepage .section-mt-lg {
        margin-top: 32px;
    }

    /* Homepage hero mobile tuning */
    .homepage .hero-image {
        min-height: 50vh;
    }

    .homepage .hero-image .hero-img {
        object-position: center 60%;
    }

    .homepage .hero-image .hero-content {
        padding: 34px 16px;
        transform: translateY(-4%);
    }
}

/* ================================
   Email Signup
   ================================ */
.email-signup-box {
    margin: 2rem 0;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 6px 18px var(--shadow);
}

.email-signup-box h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.email-signup-form button {
    padding: 0.75rem 1rem;
}

.email-signup-form {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.email-signup-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.75rem;
}

.email-signup-message {
    margin-bottom: 0;
    font-weight: 600;
}

.email-signup-home {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 640px) {
    .email-signup-form {
        display: block;
    }

    .email-signup-form input[type="email"],
    .email-signup-form button {
        width: 100%;
    }

    .email-signup-form button {
        margin-top: 0.75rem;
    }
}

/* ------------------------------
   NAV: desktop baseline (for your new markup)
   ------------------------------ */
.main-nav .nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Hide toggle button on desktop */
.nav-toggle {
    display: none;
}

/* ------------------------------
   Mobile nav breakpoint (hamburger)
   ------------------------------ */
@media (max-width: 820px) {

    .header-inner {
        align-items: center;
        flex-wrap: nowrap;
        padding-left: 12px;
        padding-right: 12px;
    }

    .logo a {
        padding-left: 0;
        white-space: nowrap;
    }

    .main-nav {
        margin-left: auto;
        position: relative;
        width: auto;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    /* Icon-only button */
    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: none;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.10);
        color: #ffffff;
        cursor: pointer;
    }

    .nav-toggle:hover {
        background: rgba(255, 255, 255, 0.16);
    }

    .nav-toggle:focus { outline: none; }
    .nav-toggle:focus-visible {
        outline: 2px solid rgba(194, 90, 58, 0.70);
        outline-offset: 2px;
    }

    /* Hamburger icon */
    .nav-toggle-icon {
        width: 18px;
        height: 12px;
        position: relative;
        display: inline-block;
    }
    .nav-toggle-icon::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 1px;
        height: 2px;
        background: #ffffff;
        border-radius: 2px;
        box-shadow: 0 4px 0 #ffffff, 0 8px 0 #ffffff;
    }

    /* Dropdown overlay */
    .main-nav .nav-list {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        width: min(260px, calc(100vw - 24px));
        margin: 0;
        padding: 8px;
        flex-direction: column;
        gap: 0;
        background: rgba(31, 58, 95, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 12px;
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
        z-index: 9999;
    }

    .main-nav .nav-list.is-open {
        display: flex;
    }

    .main-nav .nav-list a {
        display: block;
        padding: 10px 10px;
        border-radius: 10px;
        color: #ffffff;
        text-decoration: none;
        font-size: 1rem;
    }

    .main-nav .nav-list a:hover {
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        text-decoration: none;
    }

    /* Active item (dropdown only) */
    .main-nav .nav-list li.active a {
        border-bottom: none;
        background: #C25A3A;
        color: #ffffff;
        font-weight: 650;
    }
}
