:root {
    --site-teal: #006a71;
    --site-teal-dark: #00555b;
    --site-gold: #c58b43;
    --site-ink: #1e293b;
    --site-muted: #526174;
    --site-border: #e2e8f0;
    --site-paper: #f8fafc;
}

* {
    box-sizing: border-box;
}

.hidden {
    display: none !important;
}

body {
    margin: 0;
    background: var(--site-paper);
    color: var(--site-ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

body > header {
    background: rgb(255 255 255 / 96%);
    border-bottom: 1px solid var(--site-border);
    box-shadow: 0 2px 10px rgb(15 23 42 / 5%);
}

body > header > div {
    display: flex;
    width: min(1280px, 100%);
    min-height: 80px;
    margin-inline: auto;
    padding: .75rem clamp(1rem, 4vw, 2rem);
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

body > header > div > a:first-child img,
footer img {
    display: block;
    max-width: 180px;
    height: auto;
    max-height: 52px;
    object-fit: contain;
}

body > header > div > a:first-child {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    text-decoration: none;
}

body > header nav {
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2.5vw, 2rem);
}

body > header nav button,
.filter-btn,
#view-detail button,
#inquiry-modal button {
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: .55rem;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

body > header nav .relaxation-nav-link {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    padding: .35rem .75rem;
    border: 1px solid #99ece0;
    border-radius: 999px;
    background: #f3fffc;
    color: #008f83;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

body > header nav .relaxation-nav-link:hover {
    border-color: #56d7c8;
    background: #e8fbf7;
    color: var(--site-teal-dark);
}

body > header nav .relaxation-nav-link:focus-visible {
    outline: 2px solid var(--site-teal);
    outline-offset: 3px;
}

body > header nav .relaxation-nav-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: .8;
}

body > header nav button:not(:last-child) {
    padding: .6rem .2rem;
    background: transparent;
    color: #334155;
}

body > header nav button:not(:last-child):hover {
    color: var(--site-teal);
}

body > header nav button:last-child {
    padding: .65rem 1rem;
    background: var(--site-teal);
    box-shadow: 0 4px 12px rgb(0 106 113 / 16%);
    color: #fff;
}

body > header nav button:last-child:hover,
#view-detail button:hover,
#inquiry-modal button[type="submit"]:hover {
    background: var(--site-teal-dark);
}

#app-content {
    min-height: 55vh;
}

.hero-light-gradient {
    padding-block: clamp(2.25rem, 5vw, 4rem);
    background:
        radial-gradient(circle at 90% 10%, rgb(0 106 113 / 9%), transparent 34rem),
        radial-gradient(circle at 8% 92%, rgb(197 139 67 / 8%), transparent 28rem),
        #fff;
}

#view-home .hero-light-gradient {
    padding-block: clamp(1.75rem, 3.5vw, 2.75rem);
}

#view-home .hero-light-gradient h1 {
    margin-bottom: .8rem;
}

#view-home .hero-light-gradient p {
    margin: 0 0 1.25rem;
}

.hero-light-gradient > div {
    width: min(1280px, 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.hero-light-gradient > div > div {
    max-width: 790px;
}

.hero-light-gradient > div > div > span {
    display: inline-block;
    margin-bottom: .75rem;
    padding: .45rem .8rem;
    border: 1px solid rgb(0 106 113 / 25%);
    border-radius: 999px;
    background: #effbfb;
    color: var(--site-teal);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero-light-gradient h1 {
    max-width: 800px;
    margin: 0 0 1.25rem;
    color: #0f172a;
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    font-weight: 850;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.hero-light-gradient p {
    max-width: 720px;
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.hero-light-gradient button {
    min-height: 48px;
    padding: .75rem 1.25rem;
    border-radius: .6rem;
    cursor: pointer;
    font: inherit;
}

.hero-light-gradient button:first-child {
    border-color: var(--site-gold);
    background: var(--site-gold);
    color: #fff;
}

.hero-light-gradient button:first-child:hover {
    background: #a96f2e;
}

.hero-light-gradient button:last-child {
    border-color: #cbd5e1;
    background: #fff;
    color: var(--site-ink);
}

.hero-light-gradient button:last-child:hover {
    background: #f1f5f9;
}

#verticals-grid {
    width: min(1280px, 100%);
    padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1rem, 4vw, 2rem) 3rem;
}

#verticals-grid > div:first-child {
    margin-bottom: 1.75rem;
}

#verticals-grid > div:nth-child(2) {
    margin-bottom: 1.75rem;
}

#verticals-grid h2 {
    color: #0f172a;
    font-size: clamp(1.85rem, 3vw, 2.6rem);
    letter-spacing: -.025em;
}

#verticals-grid .filter-btn {
    padding: .6rem .95rem;
    background: #fff;
    border-color: var(--site-border);
    color: #334155;
    font-size: .9rem;
}

#verticals-grid .filter-btn:hover {
    border-color: #9fc5c7;
    background: #f0fdfa;
    color: var(--site-teal);
}

#verticals-grid .filter-btn.active {
    border-color: var(--site-teal);
    background: var(--site-teal);
    color: #fff;
}

#verticals-grid .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
}

#verticals-grid .card-item {
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 3px 12px rgb(15 23 42 / 5%);
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

#verticals-grid .card-item:hover {
    transform: translateY(-3px);
    border-color: #8ab9bc;
    box-shadow: 0 14px 30px rgb(15 23 42 / 10%);
}

#verticals-grid .card-item > div:first-child {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9f0f2;
}

#verticals-grid .card-item > div:first-child img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#verticals-grid .card-item > div:last-child {
    display: flex;
    min-height: 210px;
    flex-direction: column;
    padding: 1.2rem 1.25rem 1.3rem;
}

#verticals-grid .card-item h3 {
    margin: .25rem 0 .55rem;
    color: #0f172a;
    font-size: 1.15rem;
    line-height: 1.35;
}

#verticals-grid .card-item p {
    margin: 0 0 1.1rem;
    color: var(--site-muted);
    font-size: .94rem;
    line-height: 1.65;
}

#verticals-grid .card-item > div:last-child > span:last-child {
    margin-top: auto;
    color: var(--site-teal);
    font-size: .91rem;
    font-weight: 800;
}

.detail-hero {
    border-bottom: 1px solid var(--site-border);
    background:
        radial-gradient(circle at 95% 0, rgb(0 106 113 / 8%), transparent 30rem),
        #fff;
}

.detail-hero > div,
.detail-layout {
    width: min(1280px, 100%);
    margin-inline: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
}

.detail-hero > div {
    padding-block: clamp(1.5rem, 3vw, 2.25rem);
}

#view-detail .detail-hero > div {
    padding-block: clamp(1rem, 2vw, 1.5rem);
}

#view-detail .detail-hero button {
    margin-bottom: .6rem;
}

#view-detail .detail-hero h1 {
    margin-block: .2rem .65rem;
}

#view-detail .detail-hero p {
    margin: 0;
}

.detail-hero h1 {
    margin: .35rem 0 1rem;
    color: #0f172a;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 850;
    letter-spacing: -.035em;
    line-height: 1.12;
}

.detail-hero p {
    max-width: 780px;
    font-size: 1.1rem;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(260px, .92fr);
    align-items: start;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    padding-block: clamp(1.25rem, 2.5vw, 2rem);
}

#view-detail .detail-layout {
    padding-block: clamp(.9rem, 1.5vw, 1.25rem);
}

.detail-main {
    display: grid;
    min-width: 0;
    gap: 1.5rem;
}

.detail-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    background: #e9f0f2;
    box-shadow: 0 8px 24px rgb(15 23 42 / 9%);
}

.detail-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.detail-outcomes,
.detail-sidebar {
    border: 1px solid var(--site-border);
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 4px 14px rgb(15 23 42 / 5%);
}

.detail-outcomes {
    padding: clamp(1.25rem, 3vw, 2rem);
}

.detail-outcomes h2,
.detail-sidebar h2 {
    margin: 0 0 1.1rem;
    color: #0f172a;
    font-size: 1.35rem;
}

.detail-outcomes ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.detail-outcomes li {
    line-height: 1.55;
}

.detail-sidebar {
    position: sticky;
    top: 6.5rem;
    padding: clamp(1.25rem, 3vw, 1.75rem);
}

#view-detail > div:first-child button {
    padding: .45rem 0;
    background: transparent;
    color: var(--site-teal);
}

#view-detail nav[aria-label="Career learning resources"] a {
    min-height: 48px;
    padding: .7rem 1rem;
    border: 1px solid var(--site-teal);
    border-radius: .6rem;
    font-weight: 800;
    text-decoration: none;
}

#view-detail nav[aria-label="Career learning resources"] a:first-child {
    background: var(--site-teal);
    color: #fff;
}

#view-detail nav[aria-label="Career learning resources"] a:last-child {
    background: #fff;
    color: var(--site-teal);
}

#view-detail nav[aria-label="Career learning resources"] a:hover {
    background: #e9f4f4;
    color: var(--site-teal-dark);
}

#view-detail nav[aria-label="Career learning resources"] a:first-child:hover {
    background: var(--site-teal-dark);
    color: #fff;
}

footer {
    border-top: 1px solid #263547;
    background: #0f172a;
    color: #cbd5e1;
}

footer > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

#inquiry-modal > div {
    max-height: min(90vh, 800px);
    overflow-y: auto;
}

#inquiry-modal input,
#inquiry-modal textarea,
#inquiry-modal select {
    min-height: 44px;
    font: inherit;
}

@media (max-width: 1024px) {
    #verticals-grid .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .detail-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-sidebar {
        position: static;
    }
}

@media (min-width: 768px) {
    body > header nav .primary-navigation-link,
    body > header nav .consultation-nav-link {
        display: inline-flex;
    }
}

@media (max-width: 767px) {
    body > header nav {
        gap: .5rem;
    }

    body > header nav .primary-navigation-link,
    body > header nav .consultation-nav-link {
        display: none;
    }

    #view-home .hero-light-gradient {
        padding-block: 1.5rem;
    }

    #verticals-grid {
        padding-block: 1.5rem;
    }

    #view-detail .detail-hero > div {
        padding-block: 1rem;
    }

    #view-detail .detail-layout {
        padding-block: .75rem;
    }

    body > header > div {
        min-height: 68px;
        flex-wrap: wrap;
        padding-block: .65rem;
    }

    #verticals-grid .grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #verticals-grid .card-item > div:last-child {
        min-height: auto;
    }

    #view-detail .detail-layout {
        gap: 1.25rem;
    }

    .detail-outcomes ul {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 480px) {
    body > header > div {
        gap: .5rem;
        padding-inline: .75rem;
    }

    body > header > div > a:first-child img {
        max-width: 125px;
    }

    .hero-light-gradient > div > div > div {
        gap: .65rem;
    }

    #verticals-grid .filter-btn {
        padding-inline: .7rem;
        font-size: .82rem;
    }

    .detail-image {
        border-radius: .7rem;
    }
}

.wellness-page {
    --wellness-paper: #f7f5ef;
    --wellness-panel: #fffefa;
    --wellness-teal: #086b68;
    --wellness-sage: #e4eee7;
    --wellness-ink: #243b3a;
    --wellness-muted: #526763;
    --wellness-gold: #c79a52;
    --site-teal: var(--wellness-teal);
    --site-muted: var(--wellness-muted);
    --site-border: #d5ded6;
    min-height: 100vh;
    background:
        radial-gradient(circle at 92% 4%, rgb(8 107 104 / 10%), transparent 30rem),
        radial-gradient(circle at 5% 70%, rgb(199 154 82 / 8%), transparent 26rem),
        var(--wellness-paper);
}

.wellness-header {
    border-bottom: 1px solid var(--site-border);
    background: rgb(255 254 250 / 94%);
    box-shadow: 0 3px 14px rgb(36 59 58 / 4%);
}

.wellness-header-inner {
    display: flex;
    width: min(1120px, 100%);
    min-height: 68px;
    margin-inline: auto;
    padding: .75rem clamp(1rem, 4vw, 2rem);
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.wellness-brand {
    color: var(--site-teal);
    font-size: .9rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-decoration: none;
    text-transform: uppercase;
}

.wellness-back-link {
    color: var(--site-teal);
    font-size: .9rem;
    font-weight: 750;
    text-decoration: none;
}

.wellness-back-link:hover {
    text-decoration: underline;
}

.wellness-main {
    width: min(1120px, 100%);
    margin-inline: auto;
    padding: clamp(2.5rem, 7vw, 5rem) clamp(1rem, 4vw, 2rem) 4rem;
}

.wellness-intro {
    max-width: 760px;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.wellness-eyebrow {
    display: inline-block;
    margin-bottom: .8rem;
    padding: .35rem .75rem;
    border: 1px solid rgb(8 107 104 / 22%);
    border-radius: 999px;
    background: var(--wellness-sage);
    color: var(--site-teal);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wellness-intro h1 {
    margin: 0 0 1rem;
    color: var(--wellness-ink);
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 850;
    letter-spacing: -.045em;
    line-height: 1.08;
}

.wellness-intro p {
    max-width: 720px;
    margin: 0;
    color: var(--site-muted);
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    line-height: 1.7;
}

.wellness-games h2 {
    grid-column: 1 / -1;
    margin: 0 0 1.25rem;
    color: var(--wellness-ink);
    font-size: clamp(1.5rem, 3vw, 2rem);
    letter-spacing: -.025em;
}

.wellness-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr));
    gap: 1rem;
}

.wellness-game-card {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 180px;
    padding: clamp(1.25rem, 4vw, 2rem);
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid var(--site-border);
    border-radius: 1rem;
    overflow: hidden;
    background: var(--wellness-panel);
    box-shadow: 0 10px 26px rgb(36 59 58 / 7%), inset 0 1px 0 #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.wellness-game-card::after {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border: 1px solid rgb(8 107 104 / 13%);
    border-radius: 1.15rem;
    background: linear-gradient(145deg, #fffefa, var(--wellness-sage));
    box-shadow: 0 5px 12px rgb(36 59 58 / 8%), inset 0 1px 0 #fff;
    color: var(--wellness-teal);
    content: "◉";
    font-size: 1.7rem;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

.wellness-game-card:nth-of-type(2)::after { content: "▦"; }
.wellness-game-card:nth-of-type(3)::after { content: "W"; }
.wellness-game-card:nth-of-type(4)::after { content: "◆"; color: var(--wellness-gold); }

.wellness-game-card:hover {
    transform: translateY(-3px);
    border-color: #9bbdb1;
    box-shadow: 0 16px 32px rgb(36 59 58 / 12%);
}

.wellness-game-card:hover::after { transform: rotate(-7deg) scale(1.06); }

.wellness-game-card:focus-visible {
    outline: 3px solid var(--wellness-gold);
    outline-offset: 4px;
}

.wellness-game-label {
    margin-bottom: .65rem;
    color: var(--site-teal);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.wellness-game-card h3 {
    margin: 0 0 .5rem;
    max-width: calc(100% - 4rem);
    color: var(--wellness-ink);
    font-size: 1.35rem;
}

.wellness-game-card p {
    margin: 0 0 1rem;
    color: var(--site-muted);
}

.wellness-game-action {
    margin-top: auto;
    color: var(--site-teal);
    font-weight: 800;
}

@media (prefers-reduced-motion: reduce) {
    .wellness-game-card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
