/* SWIM 2027 Okinawa - Stylesheet */
:root {
    --ocean-deep: #003e5c;
    --ocean-mid: #00668c;
    --ocean-light: #2ea3c7;
    --coral: #ff6b5b;
    --sand: #f6efe0;
    --text: #1c2a33;
    --muted: #5b6b75;
    --border: #d8e2e8;
    --bg: #ffffff;
}

* {
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}
img,
iframe {
    max-width: 100%;
}

body {
    margin: 0;
    font-family: -apple-system, 'Segoe UI', 'Helvetica Neue', Arial, 'Noto Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

a {
    color: var(--ocean-mid);
    text-decoration: none;
}
a:hover {
    color: var(--coral);
    text-decoration: underline;
}
a[href^='mailto:']:not(.footer-email) {
    color: var(--ocean-mid);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(0, 102, 140, 0.38);
    text-underline-offset: 3px;
}
a[href^='mailto:']:not(.footer-email):hover {
    color: var(--coral);
    text-decoration-color: currentColor;
}

/* Header */
.site-header {
    position: relative;
    overflow: hidden;
    background: linear-gradient(115deg, #002f47 0%, #005b7e 58%, #087da1 100%);
    color: #fff;
    padding: 1.15rem 0;
}
.site-header::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    right: -110px;
    top: -300px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow:
        0 0 0 55px rgba(255, 255, 255, 0.025),
        0 0 0 110px rgba(255, 255, 255, 0.018);
}
.site-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.brand {
    display: flex;
    align-items: center;
    gap: 1.15rem;
}
.brand-logo {
    width: 68px;
    height: 68px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 25, 38, 0.28);
    flex-shrink: 0;
}
.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    box-sizing: border-box;
}
.brand-text h1 {
    margin: 0;
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    letter-spacing: 0.02em;
    line-height: 1.25;
}
.brand-text p {
    margin: 0.2rem 0 0;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    opacity: 0.78;
}

/* Nav */
nav.main-nav {
    background: rgba(0, 47, 71, 0.96);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 4px solid var(--coral);
    position: sticky;
    top: 0;
    z-index: 20;
    box-shadow: 0 8px 24px rgba(0, 28, 42, 0.14);
    backdrop-filter: blur(14px);
}
.home-page nav.main-nav {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
nav.main-nav .nav-list {
    list-style: none;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    height: 54px;
    max-width: 1600px;
}
.nav-toggle {
    display: none;
}
nav.main-nav .nav-list > li {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
}
nav.main-nav a,
nav.main-nav summary {
    display: block;
    height: 100%;
    align-content: center;
    padding: 0.5rem 0.35rem;
    color: #fff;
    font-size: clamp(0.68rem, 0.78vw, 0.9rem);
    font-weight: 600;
    letter-spacing: 0.01em;
    border-right: 0;
    transition:
        background 0.2s,
        color 0.2s,
        transform 0.2s;
    cursor: pointer;
    white-space: nowrap;
    text-align: center;
}
nav.main-nav a[href='excursions.html'],
nav.main-nav a[href='sponsors.html'] {
    line-height: 1.08;
}
nav.main-nav summary {
    list-style: none;
    padding-right: 2.25rem;
}
nav.main-nav summary::-webkit-details-marker {
    display: none;
}
nav.main-nav summary::after {
    content: '';
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform 0.2s;
}
nav.main-nav details[open] > summary::after {
    transform: translateY(-25%) rotate(225deg);
}
nav.main-nav a:hover,
nav.main-nav a.active,
nav.main-nav summary:hover,
nav.main-nav summary:focus-visible,
nav.main-nav .nav-group.current > details > summary,
nav.main-nav details[open] > summary {
    background: rgba(46, 163, 199, 0.22);
    text-decoration: none;
}
nav.main-nav summary:focus-visible,
nav.main-nav a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -3px;
}
nav.main-nav .submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    margin: 0;
    padding: 0.6rem;
    list-style: none;
    background: #fff;
    border: 1px solid var(--border);
    border-top: 3px solid var(--coral);
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 38px rgba(0, 38, 56, 0.24);
}
nav.main-nav details[open] > .submenu,
nav.main-nav .nav-group:hover .submenu,
nav.main-nav .nav-group:focus-within .submenu {
    display: block;
}
nav.main-nav .submenu a {
    color: var(--ocean-deep);
    padding: 0.7rem 0.85rem;
    border: 0;
    border-radius: 4px;
    font-weight: 500;
    white-space: normal;
}
nav.main-nav .submenu a:hover,
nav.main-nav .submenu a.active {
    color: #fff;
    background: var(--ocean-mid);
}

/* Subpage header */
.sub-header {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 31, 48, 0.88) 0%, rgba(0, 54, 76, 0.68) 46%, rgba(0, 89, 116, 0.16) 78%),
        url('../assets/hero-okinawa-sea.jpg') center / cover;
}
.sub-header .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    min-height: 140px;
    padding-top: 1.75rem;
    padding-bottom: 1.5rem;
}
.sub-header-heading {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}
.sub-header-title {
    min-width: 0;
}
.sub-header-logo {
    display: block;
    flex: 0 0 auto;
    width: 62px;
    aspect-ratio: 1;
    padding: 3px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 5px;
    box-shadow: 0 10px 24px rgba(0, 28, 42, 0.24);
}
.sub-header-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 2px;
}
.sub-header-logo:hover {
    transform: translateY(-2px);
}
.sub-header-title p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.3rem;
    color: #bcecff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.15;
    text-transform: uppercase;
}
.sub-header-title p span {
    color: rgba(255, 255, 255, 0.7);
}
.sub-header h1 {
    margin: 0;
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1;
    letter-spacing: -0.035em;
}
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-bottom: 0.25rem;
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.78rem;
}
.breadcrumb a {
    color: #fff;
}
.breadcrumb a:hover {
    color: #bcecff;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    min-height: 60vh;
    padding: 2.5rem 0;
    line-height: 1.5;
}

/* Hero */
.top-screen {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 44px);
    height: calc(100svh - 44px);
    min-height: 0;
}
.top-screen .site-header,
.top-screen .main-nav {
    flex: 0 0 auto;
}
@media (min-width: 681px) {
    .home-page .top-screen {
        padding-top: 54px;
    }
}
.hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(0, 31, 48, 0.88) 0%, rgba(0, 54, 76, 0.68) 46%, rgba(0, 89, 116, 0.16) 78%),
        url('../assets/hero-okinawa-sea.jpg') center/cover;
    background-color: var(--ocean-mid);
    color: #fff;
    padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
    text-align: left;
}
.hero::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 32%;
    background: linear-gradient(transparent, rgba(0, 25, 38, 0.48));
}
.hero-content {
    width: min(780px, 100%);
}
.hero-logo {
    display: block;
    flex: 0 0 auto;
    width: clamp(72px, 7vw, 104px);
    aspect-ratio: 1;
    padding: 4px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 6px;
    box-shadow: 0 16px 36px rgba(0, 28, 42, 0.28);
    backdrop-filter: blur(10px);
}
.hero-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 3px;
}
.hero-logo:hover {
    transform: translateY(-2px);
}
.hero-title-row {
    display: flex;
    align-items: flex-start;
    gap: clamp(1rem, 2.5vw, 2rem);
    margin-bottom: 1.8rem;
    min-width: 0;
}
.hero-title-row h2 {
    min-width: 0;
    overflow-wrap: anywhere;
}
.hero-title-row .hero-logo {
    margin-top: 0.08em;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0 0 1.25rem;
    color: #bcecff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}
.hero-eyebrow::before {
    content: '';
    width: 38px;
    height: 2px;
    background: var(--coral);
}
.hero h2 {
    font-size: clamp(3rem, 6vw, 5.6rem);
    line-height: 0.88;
    letter-spacing: -0.055em;
    margin: 0 0 1.8rem;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}
.hero .hero-title-row h2 {
    margin: 0;
}
.hero h2 span {
    display: inline-block;
    margin-top: 0.04em;
    color: #aee9f7;
    font-size: 0.55em;
    letter-spacing: -0.025em;
}
.hero .tagline {
    max-width: 680px;
    margin: 0 0 2rem;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    line-height: 1.55;
    opacity: 0.94;
}
.hero-meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 2.1rem;
}
.hero-meta p {
    min-width: 0;
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    background: rgba(0, 35, 52, 0.34);
    backdrop-filter: blur(10px);
}
.hero-meta span,
.hero-meta strong {
    display: block;
}
.hero-meta span {
    color: #aee9f7;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.hero-meta strong {
    font-size: 0.98rem;
}
.hero-meta small {
    display: block;
    margin-top: 0.1rem;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}
.hero-actions .btn {
    border-radius: 999px;
    margin: 0;
    padding: 0.9rem 1.5rem;
}
.hero-actions .btn span {
    margin-left: 0.5rem;
}
#welcome {
    scroll-margin-top: 5rem;
}

@media (min-width: 681px) and (max-height: 760px) {
    .hero {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    .hero-eyebrow {
        margin-bottom: 0.7rem;
    }
    .hero h2 {
        font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    }
    .hero-title-row {
        margin-bottom: 0.9rem;
    }
    .hero .tagline {
        margin-bottom: 1rem;
        font-size: 1rem;
    }
    .hero-meta {
        margin-bottom: 1rem;
    }
    .hero-meta p {
        padding: 0.5rem 0.75rem;
    }
    .hero-actions .btn {
        padding: 0.7rem 1.2rem;
    }
}
.btn {
    display: inline-block;
    padding: 0.8rem 1.6rem;
    background: var(--coral);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
}
.btn:hover {
    background: #ff8476;
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.btn-outline {
    background: transparent;
    border: 2px solid #fff;
    margin-left: 0.75rem;
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Sections */
section.block {
    margin-bottom: 2.5rem;
}
main h2,
main h3,
main h4,
main h5,
main h6 {
    line-height: 1.28;
    text-wrap: balance;
}
h2.section-title {
    color: var(--ocean-deep);
    padding: 0.75rem 1rem;
    display: block;
    margin: 0 0 2rem;
    background: linear-gradient(90deg, #e4f3f8 0%, #f2f9fb 72%, rgba(242, 249, 251, 0.35) 100%);
    border-radius: 4px;
    font-size: clamp(1.5rem, 2vw, 1.75rem);
    font-weight: 750;
    letter-spacing: -0.035em;
}
main h3 {
    margin: 2.1rem 0 0.8rem;
    color: var(--ocean-deep);
    font-size: clamp(1.18rem, 1.6vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.018em;
}
main section.block > h3 {
    position: relative;
    padding-left: 0.9rem;
}
main section.block > h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.12em;
    width: 3px;
    height: 1em;
    border-radius: 2px;
    background: var(--coral);
}
main h4 {
    margin: 1.7rem 0 0.65rem;
    color: var(--ocean-mid);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}
main h5 {
    margin: 1.5rem 0 0.55rem;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 700;
}
main h6 {
    margin: 1.35rem 0 0.5rem;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.card h3 {
    margin: 0 0 0.55rem;
    color: var(--ocean-mid);
    font-size: 1.15rem;
    letter-spacing: -0.01em;
}
h3.section-title {
    position: relative;
    margin: 2rem 0 1rem;
    padding: 0 0 0.55rem 0.85rem;
    color: var(--ocean-deep);
    border-bottom: 1px solid var(--border);
}
h3.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.08em;
    width: 3px;
    height: 0.95em;
    background: var(--coral);
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}
.card {
    position: relative;
    overflow: hidden;
    background: #f6fafc;
    border: 0;
    border-left: 4px solid var(--ocean-light);
    padding: 1.25rem 1.5rem;
    border-radius: 0;
    box-shadow: none;
}
.card h3 {
    margin-top: 0;
}
.card > :last-child {
    margin-bottom: 0;
}
/* Organisation logo tile (confirmed supporters with a logo) */
.tile-org {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1.4rem 1.25rem 1.1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 14px rgba(0, 62, 92, 0.08);
}
.tile-org .org-logo {
    width: 100%;
    max-width: 190px;
    height: 110px;
    object-fit: contain;
}
.tile-org .org-logo-ryukyus {
    background: #00437c;
    padding: 12px;
    box-sizing: border-box;
}
.tile-org h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.25;
}
.tile-org p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}
.card-photo {
    display: block;
    width: calc(100% + 3rem);
    height: 180px;
    object-fit: cover;
    margin: -1.25rem -1.5rem 1rem;
    border-radius: 0;
}

/* Photo utilities */
.photo {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin: 1rem 0;
    box-shadow: 0 4px 14px rgba(0, 62, 92, 0.12);
}
.photo-caption {
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
    margin-top: -0.5rem;
    margin-bottom: 1.25rem;
    font-style: italic;
}
.photo-banner {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 14px rgba(0, 62, 92, 0.15);
}
.photo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 1rem 0;
}
@media (min-width: 700px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.photo-grid img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 62, 92, 0.12);
}
.photo-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin: 1.25rem 0;
}
.photo-side img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 62, 92, 0.12);
}
@media (max-width: 680px) {
    nav.main-nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 0;
        background: transparent;
        border: 0;
        box-shadow: none;
        backdrop-filter: none;
    }
    .photo-side {
        grid-template-columns: 1fr;
    }
    .photo-banner {
        height: 220px;
    }
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    background: #fff;
}
table th,
table td {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    text-align: left;
}
table th {
    background: var(--ocean-deep);
    color: #fff;
    font-weight: 600;
}
table tr:nth-child(even) td {
    background: #f7fafc;
}

/* Lists */
ul.topic-list,
ul.checklist {
    list-style: none;
    padding-left: 0;
}
ul.topic-list li,
ul.checklist li {
    padding: 0.5rem 0 0.5rem 1.6rem;
    position: relative;
    border-bottom: 1px dashed var(--border);
}
ul.topic-list li::before {
    content: '◆';
    color: var(--coral);
    position: absolute;
    left: 0;
}
ul.checklist li::before {
    content: '✓';
    color: var(--ocean-light);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* Committee member grid */
.committee-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0.75rem 1.5rem;
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}
.committee-grid li {
    padding: 0.6rem 0;
    border-bottom: 1px dashed var(--border);
    line-height: 1.45;
}
.committee-grid .member-name {
    font-weight: 700;
    color: var(--ocean-deep);
}
.committee-grid .member-affiliation {
    font-size: 0.88rem;
    color: var(--muted);
}

/* Footer */
footer.site-footer {
    background: var(--ocean-deep);
    color: #c7d8e1;
    padding: 2.5rem 0 1.5rem;
    margin-top: 3rem;
    font-size: 0.9rem;
}
footer.site-footer .cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}
footer.site-footer h4 {
    color: #fff;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 0.35rem;
}
footer.site-footer a {
    color: #9dc9dd;
}
footer.site-footer .footer-email {
    color: #fff;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: var(--ocean-light);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
footer.site-footer .footer-email:hover {
    color: #bcecff;
}
footer.site-footer .copyright {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.75;
}

/* Keep all navigation labels legible on narrower desktop and tablet screens. */
@media (min-width: 681px) and (max-width: 1100px) {
    nav.main-nav .nav-list {
        flex-wrap: wrap;
        height: auto;
    }
    nav.main-nav .nav-list > li {
        flex: 1 1 16.666%;
    }
    nav.main-nav a {
        min-height: 44px;
    }
    .home-page .hero {
        padding-top: 7rem;
    }
}

/* Responsive */
@media (max-width: 680px) {
    .site-header {
        padding: 0.85rem 0;
    }
    .site-header .container {
        padding: 0 1rem;
    }
    .brand {
        gap: 0.75rem;
    }
    .brand-logo {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }
    .brand-text p {
        max-width: 250px;
        font-size: 0.68rem;
        line-height: 1.35;
    }
    .hero {
        padding: 2.25rem 1.25rem 4rem;
        background-position: 58% center;
    }
    .top-screen {
        height: calc(100vh - 36px);
        height: calc(100svh - 36px);
        min-height: 0;
    }
    .hero-eyebrow {
        margin-bottom: 0.75rem;
        font-size: 0.68rem;
    }
    .hero h2 {
        margin-bottom: 1rem;
        font-size: clamp(2.5rem, 12vw, 3.6rem);
    }
    .hero-title-row {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    .container,
    main,
    main section,
    .grid-2,
    .grid-3 {
        min-width: 0;
        max-width: 100%;
    }
    table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .sub-header h1,
    main h2,
    main h3,
    main h4 {
        overflow-wrap: anywhere;
    }
    .hero .tagline br {
        display: none;
    }
    .hero .tagline {
        margin-bottom: 1rem;
        font-size: 0.94rem;
        line-height: 1.4;
    }
    .hero-meta {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-bottom: 1.1rem;
    }
    .hero-meta p {
        min-width: 0;
        padding: 0.55rem 0.65rem;
    }
    .hero-meta p:last-child {
        grid-column: 1 / -1;
    }
    .hero-meta strong {
        font-size: 0.82rem;
    }
    .hero-meta small {
        font-size: 0.68rem;
    }
    .hero-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.85rem;
    }
    nav.main-nav .nav-list {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1;
        flex-direction: column;
        justify-content: flex-start;
        flex-wrap: nowrap;
        height: auto;
        padding: 4.35rem 0 0;
        max-height: 100vh;
        max-height: 100svh;
        overflow-x: hidden;
        overflow-y: auto;
        background: var(--ocean-deep);
        box-shadow: 0 14px 28px rgba(0, 28, 42, 0.24);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-100%);
        transition:
            transform 0.28s ease,
            opacity 0.22s ease,
            visibility 0s linear 0.28s;
    }
    nav.main-nav.is-open .nav-list {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition-delay: 0s;
    }
    nav.main-nav .nav-list > li {
        position: relative;
        flex: 0 0 auto;
        width: 100%;
    }
    nav.main-nav a,
    nav.main-nav summary {
        padding: 0.8rem 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.84rem;
        text-align: left;
    }
    nav.main-nav a.active {
        box-shadow: inset 4px 0 0 var(--coral);
    }
    .nav-toggle {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        gap: 0;
        margin: 0;
        padding: 0;
        color: #fff;
        background: rgba(0, 62, 92, 0.94);
        border: 0;
        font: inherit;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        cursor: pointer;
    }
    .nav-toggle-label {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .nav-toggle:focus-visible {
        outline: 2px solid #fff;
        outline-offset: -4px;
    }
    .nav-toggle-icon {
        display: grid;
        gap: 4px;
        width: 22px;
    }
    .nav-toggle-icon i {
        display: block;
        width: 100%;
        height: 2px;
        background: currentColor;
        transition:
            transform 0.2s,
            opacity 0.2s;
    }
    .main-nav.is-open .nav-toggle-icon i:first-child {
        transform: translateY(6px) rotate(45deg);
    }
    .main-nav.is-open .nav-toggle-icon i:nth-child(2) {
        opacity: 0;
    }
    .main-nav.is-open .nav-toggle-icon i:last-child {
        transform: translateY(-6px) rotate(-45deg);
    }
    nav.main-nav summary {
        padding-right: 1.9rem;
    }
    nav.main-nav summary::after {
        right: 0.75rem;
    }
    nav.main-nav .submenu {
        position: absolute;
        top: 100%;
        left: 0.75rem;
        right: 0.75rem;
        min-width: 0;
        width: auto;
    }
    .brand-text h1 {
        font-size: 1.15rem;
    }
    .hero-logo {
        width: 54px;
        padding: 3px;
        border-radius: 4px;
    }
    .sub-header .container {
        display: block;
        min-height: 112px;
        padding-top: 1.35rem;
        padding-bottom: 1.1rem;
    }
    .sub-header-heading {
        gap: 0.7rem;
    }
    .sub-header-logo {
        width: 46px;
        padding: 2px;
        border-radius: 4px;
    }
    .sub-header-title p {
        display: block;
        margin-bottom: 0.25rem;
        font-size: 0.62rem;
    }
    .sub-header-title p span {
        display: block;
        margin-top: 0.15rem;
    }
    .sub-header h1 {
        font-size: clamp(1.8rem, 9vw, 2.5rem);
    }
    .breadcrumb {
        margin-top: 1rem;
        padding: 0;
        font-size: 0.7rem;
    }
}
