/* =========================================================
   EXPOMAKERS — GLOBAL DESIGN SYSTEM
========================================================= */

:root {
    --green-dark: #062f27;
    --green-deep: #0b3b30;
    --green: #2f8f3a;
    --green-bright: #62c34a;
    --green-light: #75c759;

    --bg: #f7f5ef;
    --bg-soft: #fbfaf6;
    --bg-elevated: #ffffff;
    --bg-dark: #042b23;
    --bg-dark-alt: #06372d;

    --text: #12231e;
    --text-muted: #68716d;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.72);

    --border: #d9ded9;
    --border-strong: #c5cdc5;
    --header-bg: #f7f5ef;
    --header-text: #12231e;
    --focus: #2f8f3a;

    --max-width: 1400px;
    --font: "Urbanist", "Segoe UI", sans-serif;
    --header-height: 78px;
    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 14px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --duration-fast: 180ms;
    --duration-medium: 400ms;
    --duration-slow: 700ms;
}

html[data-theme="dark"] {
    --bg: #071a16;
    --bg-soft: #0a221c;
    --bg-elevated: #0e2a23;
    --bg-dark: #031814;
    --bg-dark-alt: #06241d;

    --text: #eef3ef;
    --text-muted: #9aa89f;
    --text-on-dark: #ffffff;
    --text-on-dark-muted: rgba(255, 255, 255, 0.74);

    --border: #1e3a32;
    --border-strong: #2a4a40;
    --header-bg: #0a221c;
    --header-text: #eef3ef;
    --focus: #75c759;

    --green: #4caf50;
}


/* =========================================================
   RESET / BASE
========================================================= */

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

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
}

body.nav-open {
    overflow: hidden;
}

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

picture img {
    width: 100%;
    height: auto;
}

.vision-cover,
picture:has(.vision-cover) {
    width: 100%;
    height: 100%;
}

img.vision-cover {
    object-fit: cover;
    object-position: center;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity var(--duration-slow) var(--ease-premium), transform var(--duration-slow) var(--ease-premium);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: none;
}

a {
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: min(var(--max-width), 92%);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--green-dark);
    color: #fff;
}

.skip-link:focus {
    left: 12px;
    top: 12px;
}

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


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: relative;
    width: 100%;
    z-index: 100;
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.site-header.is-scrolled {
    box-shadow: 0 1px 0 var(--border);
}

.header-inner {
    width: 96%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    z-index: 110;
}

.logo img,
.footer-brand img {
    width: 190px;
    height: auto;
    display: block;
}

.site-logo {
    display: none;
}

.site-logo img {
    width: 190px;
}

.site-logo--on-light {
    display: block;
}

html[data-theme="dark"] .site-logo--on-light,
.home-page .site-logo--on-light,
.page-vision .site-logo--on-light,
.page-concept-detail .site-logo--on-light,
.page-contact .site-logo--on-light,
.site-footer .site-logo--on-light {
    display: none;
}

html[data-theme="dark"] .site-logo--on-dark,
.home-page .site-logo--on-dark,
.page-vision .site-logo--on-dark,
.page-concept-detail .site-logo--on-dark,
.page-contact .site-logo--on-dark,
.site-footer .site-logo--on-dark {
    display: block;
}

html[data-theme="light"] .page-vision .site-header.is-scrolled .site-logo--on-dark,
html[data-theme="light"] .page-concept-detail .site-header.is-scrolled .site-logo--on-dark,
html[data-theme="light"] .page-contact .site-header.is-scrolled .site-logo--on-dark {
    display: none;
}

html[data-theme="light"] .page-vision .site-header.is-scrolled .site-logo--on-light,
html[data-theme="light"] .page-concept-detail .site-header.is-scrolled .site-logo--on-light,
html[data-theme="light"] .page-contact .site-header.is-scrolled .site-logo--on-light {
    display: block;
}

.header-panels {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: var(--header-text);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--green);
}

.main-nav a.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 1px;
    background: var(--green);
}

.btn-header {
    margin-top: 0;
    padding: 11px 18px;
    border-radius: var(--radius-small);
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
    white-space: nowrap;
}

.btn-header::after {
    margin-left: 10px;
}

html[data-theme="dark"] .btn-header,
.home-page .btn-header,
.page-vision .btn-header,
.page-concept-detail .btn-header,
.page-contact .btn-header {
    background: transparent;
    color: #fff;
    border-color: rgba(117, 199, 89, 0.75);
}

.home-page .btn-header:hover,
.page-vision .btn-header:hover,
.page-concept-detail .btn-header:hover,
.page-contact .btn-header:hover {
    background: var(--green-bright);
    border-color: var(--green-bright);
    color: var(--green-dark);
}

.header-mobile-prefs {
    display: none;
}

.utility-menu {
    position: relative;
    flex-shrink: 0;
}

.utility-trigger {
    width: 40px;
    height: 40px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 1px solid var(--border);
    border-radius: var(--radius-small);
    background: transparent;
    cursor: pointer;
    color: var(--header-text);
    transition: background var(--duration-fast) var(--ease-premium), border-color var(--duration-fast) var(--ease-premium);
}

.utility-trigger span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.utility-trigger:hover,
.utility-menu.is-open .utility-trigger {
    background: rgba(47, 143, 58, 0.1);
    border-color: var(--green);
}

.home-page .utility-trigger,
.page-vision .utility-trigger,
.page-concept-detail .utility-trigger,
.page-contact .utility-trigger {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.28);
}

html[data-theme="light"] .page-vision .site-header.is-scrolled .utility-trigger,
html[data-theme="light"] .page-concept-detail .site-header.is-scrolled .utility-trigger,
html[data-theme="light"] .page-contact .site-header.is-scrolled .utility-trigger {
    color: var(--header-text);
    border-color: var(--border);
}

.utility-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 220px;
    padding: 16px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    box-shadow: 0 18px 40px rgba(6, 47, 39, 0.12);
    z-index: 220;
    transform: translateY(-6px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--duration-medium) var(--ease-premium), transform var(--duration-medium) var(--ease-premium), visibility var(--duration-medium);
}

.utility-menu.is-open .utility-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.utility-panel[hidden] {
    display: block;
}

.utility-kicker {
    margin: 0 0 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.utility-kicker:not(:first-child) {
    margin-top: 16px;
}

.utility-list {
    display: grid;
    gap: 2px;
}

.utility-list a,
.lang-chip,
.theme-chip {
    display: block;
    padding: 8px 10px;
    border-radius: var(--radius-small);
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: background var(--duration-fast) var(--ease-premium), color var(--duration-fast) var(--ease-premium);
}

.utility-list a:hover,
.utility-list a.is-active,
.lang-chip.is-active,
.theme-chip.is-active {
    background: rgba(47, 143, 58, 0.1);
    color: var(--green);
}

.theme-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.theme-chip {
    border: 1px solid var(--border);
    text-align: center;
}

.lang-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
}

.nav-toggle-bar {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--header-text);
    transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

body.nav-open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

body.nav-open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

body.nav-open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* Homepage transparent header */

.home-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 22px 0;
}

.home-page .main-nav a {
    color: rgba(255, 255, 255, 0.92);
}

.home-page .nav-toggle {
    border-color: rgba(255, 255, 255, 0.28);
}

.home-page .main-nav a:hover,
.home-page .main-nav a.is-active {
    color: var(--green-light);
}

.home-page .main-nav a.is-active::after {
    background: var(--green-light);
}

.home-page .nav-toggle-bar {
    background: #fff;
}


/* =========================================================
   TYPOGRAPHY / BUTTONS
========================================================= */

.eyebrow {
    margin-bottom: 18px;
    color: var(--green);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
}

h1, h2, h3 {
    line-height: 1.08;
    font-weight: 400;
    letter-spacing: -0.025em;
}

h2 {
    margin-bottom: 22px;
    font-size: clamp(36px, 4vw, 58px);
}

.capability-card,
.experience-card,
.experience-page-card,
.capability-page-card,
.exp-card,
.concept-card,
.partner-type-grid li,
.contact-form-wrap,
.form-row input,
.form-row select,
.form-row textarea,
.form-alert,
.nav-toggle {
    border-radius: var(--radius-medium);
}

.btn {
    border-radius: var(--radius-small);
}

.utility-panel,
.contact-panel,
.contact-bar {
    border-radius: var(--radius-large);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
    padding: 14px 25px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--green-dark);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.btn::after {
    content: "→";
    margin-left: 14px;
    font-size: 16px;
    transition: transform 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:hover::after {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--green-dark);
    color: #fff;
    border-color: var(--green-dark);
}

.btn-primary:hover {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border-color: var(--green-dark);
}

html[data-theme="dark"] .btn-outline {
    border-color: rgba(117, 199, 89, 0.55);
}

.btn-outline:hover {
    background: var(--green-dark);
    color: #fff;
}

.btn-light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #fff;
}

.btn-light:hover {
    background: #fff;
    color: var(--green-dark);
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.cta-actions .btn {
    margin-top: 0;
}


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

.hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    background-color: #042b23;
    background-image: var(--home-hero-image, image-set(
        url("../images/home/hero.webp") type("image/webp"),
        url("../images/home/hero.png") type("image/png")
    ));
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.hero-media-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    pointer-events: none;
}

.hero.has-video {
    background-size: cover;
    background-position: center center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(3, 35, 28, 0.99) 0%,
        rgba(4, 39, 31, 0.96) 24%,
        rgba(5, 43, 34, 0.82) 38%,
        rgba(5, 43, 34, 0.52) 50%,
        rgba(5, 43, 34, 0.15) 66%,
        rgba(5, 43, 34, 0.02) 82%
    );
    z-index: 1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.15) 0%,
        rgba(0, 0, 0, 0) 45%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 610px;
    padding: 165px 0 100px;
}

.hero .eyebrow {
    margin-bottom: 25px;
    color: var(--green-light);
    font-size: 13px;
    letter-spacing: 0.18em;
}

.hero h1 {
    margin-bottom: 30px;
    color: #fff;
    font-size: clamp(58px, 5.4vw, 88px);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.035em;
}

.hero h1 span {
    color: var(--green-bright);
}

.hero-text {
    max-width: 470px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 17px;
    line-height: 1.7;
}

.hero .btn-primary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.65);
}

.hero .btn-primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--green-dark);
}

.hero-side-note {
    position: absolute;
    top: 155px;
    right: 0;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.08em;
}

.hero-side-note span {
    width: 2px;
    height: 76px;
    background: var(--green-light);
    flex-shrink: 0;
}

.hero-project-label {
    position: absolute;
    right: 0;
    bottom: 35px;
    display: flex;
    flex-direction: column;
    text-align: right;
    color: #fff;
    text-transform: uppercase;
}

.hero-project-label strong {
    font-size: 13px;
    letter-spacing: 0.04em;
}

.hero-project-label span {
    margin-top: 3px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.08em;
}


@media (prefers-reduced-motion: reduce) {
    .hero-media-video {
        display: none;
    }
}


/* =========================================================
   ABOUT PREVIEW
========================================================= */

.about-preview {
    background: var(--bg-soft);
    padding: 100px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.about-copy {
    max-width: 580px;
}

.about-copy h2 {
    max-width: 560px;
    margin-bottom: 24px;
}

.about-copy p:not(.eyebrow) {
    max-width: 560px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
}

.value-item {
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.value-icon {
    margin-bottom: 16px;
    color: var(--green);
    font-size: 32px;
    line-height: 1;
}

.value-item h3 {
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.value-item p {
    max-width: 160px;
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
}

.about-values--page {
    margin-top: 40px;
}


/* =========================================================
   CAPABILITIES PREVIEW
========================================================= */

.capabilities-preview {
    background: linear-gradient(135deg, #042b23 0%, #06372d 100%);
    color: #fff;
    padding: 34px 0 28px;
}

.capabilities-preview .container {
    width: 97%;
    max-width: none;
    margin: 0 auto;
}

.capabilities-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.capabilities-top .eyebrow {
    margin: 0;
    color: var(--green-light);
    font-size: 11px;
    letter-spacing: 0.16em;
}

.section-side-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.15em;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 9px;
    width: 100%;
}

.capability-card {
    position: relative;
    min-width: 0;
    height: 230px;
    overflow: hidden;
    text-decoration: none;
    background: #082f27;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.3s ease, border-color 0.3s ease;
    contain: layout paint;
}

.capability-card:hover {
    transform: translateY(-4px);
    border-color: rgba(117, 199, 89, 0.55);
}

.capability-card picture,
.capability-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.capability-card img {
    object-fit: cover;
    transition: transform 0.4s ease;
    will-change: transform;
}

.capability-card:hover img {
    transform: scale(1.05);
}

.capability-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(3, 30, 24, 0.02) 15%,
        rgba(3, 30, 24, 0.18) 45%,
        rgba(3, 30, 24, 0.92) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.capability-overlay {
    position: absolute;
    left: 11px;
    right: 11px;
    bottom: 12px;
    z-index: 2;
}

.capability-number {
    width: 27px;
    height: 27px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 7px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    color: #fff;
    font-size: 8px;
}

.capability-card h3 {
    margin: 0;
    color: #fff;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.3;
}

.capabilities-link-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 12px;
}

.capabilities-link-row a {
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.07em;
}

.capabilities-link-row a:hover {
    color: var(--green-light);
}


/* =========================================================
   EXPERIENCE PREVIEW
========================================================= */

.experience-preview {
    background: var(--bg-soft);
    padding: 70px 0;
}

.experience-layout {
    display: grid;
    grid-template-columns: 0.9fr 3.1fr;
    gap: 45px;
    align-items: start;
}

.experience-intro {
    padding-top: 5px;
}

.experience-intro h2 {
    max-width: 260px;
    margin-bottom: 18px;
    font-size: clamp(34px, 3vw, 52px);
    line-height: 1.03;
}

.experience-intro > p:not(.eyebrow) {
    max-width: 270px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
}

.experience-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.experience-card,
.experience-page-card {
    background: var(--bg-elevated);
    overflow: hidden;
    border: 1px solid var(--border);
}

.experience-image {
    width: 100%;
    aspect-ratio: 4 / 5;
    height: auto;
    overflow: hidden;
    background: var(--bg-dark);
}

.experience-image picture,
.experience-image img {
    width: 100%;
    height: 100%;
}

.experience-image img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.experience-card:hover .experience-image img,
.experience-page-card:hover .experience-image img {
    transform: scale(1.04);
}

.experience-card-content {
    padding: 14px 13px 16px;
}

.experience-badge {
    margin-bottom: 8px;
    color: var(--green);
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.experience-card h3,
.experience-page-card h2 {
    margin-bottom: 2px;
    color: var(--text);
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0;
}

.experience-location {
    display: block;
    margin-bottom: 13px;
    color: var(--text);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.experience-card p,
.experience-sector {
    color: var(--text-muted);
    font-size: 9px;
    line-height: 1.4;
}

.experience-context {
    margin-top: 10px;
    color: var(--text-muted);
    font-size: 13px !important;
    line-height: 1.55 !important;
}


/* =========================================================
   VISION PREVIEW / CTA
========================================================= */

.concepts-preview {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(135deg, #062e27, #0b3a30);
    color: #fff;
    overflow: hidden;
}

.concepts-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 75% 45%, rgba(104, 192, 80, 0.08), transparent 40%);
    pointer-events: none;
}

.concepts-preview .container {
    position: relative;
    z-index: 1;
}

.concepts-preview .eyebrow {
    color: var(--green-light);
}

.concepts-preview h2 {
    max-width: 600px;
}

.concepts-preview p:not(.eyebrow) {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.concepts-preview .btn-primary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

.concepts-preview .btn-primary:hover {
    background: #fff;
    color: var(--green-dark);
}

.home-cta {
    background: var(--bg-soft);
    color: var(--text);
    padding: 80px 0;
}

.home-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.home-cta h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 4vw, 55px);
}

.home-cta p {
    max-width: 520px;
    color: var(--text-muted);
    font-size: 16px;
}


/* =========================================================
   INNER PAGES
========================================================= */

.page-hero {
    padding: 140px 0 80px;
    border-bottom: 1px solid var(--border);
}

.page-hero--light {
    background: var(--bg-soft);
}

.page-hero--dark,
.page-hero--cinematic {
    background:
        linear-gradient(120deg, rgba(4, 43, 35, 0.92), rgba(4, 43, 35, 0.55)),
        image-set(
            url("../images/general/cta-bg.webp") type("image/webp"),
            url("../images/general/cta-bg.jpg") type("image/jpeg")
        );
    background-size: cover;
    background-position: center;
    color: #fff;
    border-bottom: none;
}

.page-hero--cinematic {
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding-bottom: 70px;
}

.page-hero h1 {
    max-width: 820px;
    font-size: clamp(42px, 5vw, 68px);
    margin-bottom: 18px;
}

.page-hero-text {
    max-width: 640px;
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
}

.page-hero--dark .eyebrow,
.page-hero--cinematic .eyebrow {
    color: var(--green-light);
}

.page-hero--dark .page-hero-text,
.page-hero--cinematic .page-hero-text {
    color: rgba(255, 255, 255, 0.78);
}

.content-section {
    padding: 90px 0;
    background: var(--bg);
}

.content-section--muted {
    background: var(--bg-soft);
}

.content-section--dark {
    background: linear-gradient(135deg, #042b23, #08372d);
    color: #fff;
}

.content-section--dark .eyebrow {
    color: var(--green-light);
}

.content-section--dark p {
    color: rgba(255, 255, 255, 0.78);
}

.content-section--dark .btn-outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.narrow-copy {
    max-width: 760px;
}

.narrow-copy p,
.split-copy p,
.section-intro p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.split-copy {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.section-intro {
    max-width: 720px;
    margin-bottom: 40px;
}


/* Experience page */

.exp-hero {
    padding: 130px 0 50px;
    background: var(--bg);
}

.exp-hero-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: start;
}

.exp-hero h1 {
    max-width: 720px;
    font-size: clamp(42px, 5.4vw, 68px);
    margin-bottom: 22px;
}

.exp-hero h1 span {
    color: var(--green);
    display: block;
}

.exp-disclaimer {
    max-width: 640px;
    margin-top: 22px;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.65;
}

.exp-side-note {
    margin-top: 8px;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.7;
}

.exp-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 28px;
}

.exp-heading h2 {
    font-size: clamp(32px, 3.4vw, 46px);
    margin-bottom: 0;
}

.exp-side-label {
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    text-align: right;
}

.exp-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}

.exp-filter {
    font-family: inherit;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.exp-filter:hover,
.exp-filter.is-active {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: #fff;
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
}

.exp-card {
    background: var(--bg-elevated);
    overflow: hidden;
}

.exp-card-image {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-dark);
}

.exp-card-image picture,
.exp-card-image img {
    width: 100%;
    height: 100%;
}

.exp-card-image img {
    object-fit: cover;
    transition: transform 0.4s ease;
}

.exp-card:hover img {
    transform: scale(1.04);
}

.exp-card-body {
    padding: 14px 12px 16px;
}

.exp-card-body h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: none;
    margin-bottom: 4px;
    letter-spacing: 0;
}


/* Vision / concepts */

.featured-concept-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.featured-concept-media {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: #031814;
}

.featured-concept-media picture,
.featured-concept-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concept-status {
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 11px;
    font-weight: 600;
    color: var(--green-light);
}

.content-section:not(.content-section--dark) .concept-status {
    color: var(--green);
}

.concept-card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.concept-card {
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    overflow: hidden;
}

.concept-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.concept-card-image {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-dark);
}

.concept-card-image picture,
.concept-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.concept-card:hover img {
    transform: scale(1.04);
}

.concept-card-body {
    padding: 22px 20px 26px;
}

.concept-card-body h2,
.concept-card-body h3 {
    margin-bottom: 10px;
    font-size: 28px;
}

.concept-card-body p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.concept-detail-hero {
    position: relative;
    min-height: 68vh;
    display: flex;
    align-items: flex-end;
    background: #031814;
}

.concept-detail-hero-media {
    position: absolute;
    inset: 0;
}

.concept-detail-hero-media picture,
.concept-detail-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.concept-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 24, 20, 0.2), rgba(3, 24, 20, 0.88));
}

.concept-detail-hero-copy {
    position: relative;
    z-index: 1;
    padding: 120px 0 70px;
    color: #fff;
}

.concept-detail-hero-copy .eyebrow {
    color: var(--green-light);
}

.concept-detail-hero-copy h1 {
    font-size: clamp(42px, 5vw, 72px);
    margin-bottom: 12px;
}

.concept-meta {
    color: rgba(255, 255, 255, 0.72);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
}

.concept-detail-main {
    max-width: 760px;
}

.concept-detail-main h2 {
    margin-top: 36px;
    font-size: clamp(28px, 3vw, 40px);
}

.concept-detail-main p,
.concept-intro p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.75;
}

.concept-feature-list {
    margin-top: 16px;
    display: grid;
    gap: 10px;
}

.concept-feature-list li {
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.concept-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.concept-gallery-item {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--bg-dark);
}

.concept-gallery-item picture,
.concept-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Partnerships */

.partner-type-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.partner-type-grid li {
    padding: 28px 20px;
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.partnership-cta {
    text-align: left;
}

.partnership-cta h2 {
    max-width: 700px;
}


/* Contact */

.contact-layout {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-intro p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.7;
}

.contact-form-wrap {
    border: 1px solid var(--border);
    background: var(--bg-elevated);
    padding: 36px 32px;
}

.form-alert {
    margin-bottom: 24px;
    padding: 16px 18px;
    border: 1px solid var(--border);
    font-size: 14px;
    line-height: 1.55;
}

.form-alert--success {
    border-color: rgba(47, 143, 58, 0.45);
    background: rgba(47, 143, 58, 0.08);
}

.form-alert--error {
    border-color: rgba(160, 60, 60, 0.45);
    background: rgba(160, 60, 60, 0.08);
}

.form-alert ul {
    margin-top: 10px;
    padding-left: 18px;
    list-style: disc;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-row {
    display: grid;
    gap: 8px;
}

.form-row label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    font: inherit;
    font-size: 15px;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: 2px solid var(--focus);
    outline-offset: 1px;
}

.form-row--checkbox label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    text-transform: none;
    letter-spacing: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.form-row--checkbox input {
    width: auto;
    margin-top: 3px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form .btn {
    margin-top: 8px;
    justify-self: start;
}



/* =========================================================
   LEGAL PAGES — COMPACT PANEL STYLE
========================================================= */

.page-hero--light + .content-section .legal-content {
    max-width: 980px;
    margin-inline: auto;
}

.legal-content {
    position: relative;
    max-width: 980px;
    padding-top: 6px;
}

.legal-updated {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 24px;
    padding: 7px 11px;
    border: 1px solid color-mix(in srgb, var(--green-bright) 22%, transparent);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1;
    letter-spacing: .02em;
}

.legal-updated::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--green-bright);
}

.legal-content::before {
    content: "";
    position: absolute;
    inset: 48px 0 0;
    z-index: 0;
    border: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
    border-radius: 22px;
    background: color-mix(in srgb, var(--bg-elevated) 94%, transparent);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .05);
    pointer-events: none;
}

.legal-section {
    position: relative;
    z-index: 1;
    margin: 0 18px;
    padding: 26px 24px 24px;
    border: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--text) 9%, transparent);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
    transition: transform .35s ease, background .35s ease;
}

.legal-section:first-of-type {
    padding-top: 30px;
}

.legal-section:last-child {
    border-bottom: 0;
    padding-bottom: 32px;
}

.legal-section::before {
    display: none;
}

.legal-section:hover {
    transform: translateX(3px);
    background: color-mix(in srgb, var(--green-bright) 3%, transparent);
}

.legal-section h2 {
    max-width: 760px;
    margin: 0 0 10px;
    font-size: clamp(17px, 1.35vw, 21px) !important;
    line-height: 1.3;
    letter-spacing: -.01em;
    font-weight: 600;
}

.legal-section p {
    max-width: 800px;
    margin: 0 0 10px;
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.72;
}

.legal-section p:last-child {
    margin-bottom: 0;
}

.legal-content [data-reveal] {
    will-change: transform, opacity;
}

html[data-theme="dark"] .legal-content::before {
    background: rgba(255, 255, 255, .025);
    border-color: rgba(255, 255, 255, .08);
    box-shadow: 0 26px 70px rgba(0, 0, 0, .16);
}

html[data-theme="dark"] .legal-section {
    border-bottom-color: rgba(255, 255, 255, .07);
}

html[data-theme="dark"] .legal-section:hover {
    background: rgba(255, 255, 255, .018);
}

@media (max-width: 768px) {
    .legal-updated {
        margin-bottom: 18px;
    }

    .legal-content::before {
        inset: 42px 0 0;
        border-radius: 16px;
    }

    .legal-section {
        margin: 0 10px;
        padding: 22px 16px 20px;
    }

    .legal-section:first-of-type {
        padding-top: 24px;
    }

    .legal-section h2 {
        font-size: 17px !important;
    }

    .legal-section p {
        font-size: 13px;
        line-height: 1.68;
    }
}


/* =========================================================
   ABOUT PAGE — STORY / PROCESS / GLOBAL PERSPECTIVE
========================================================= */

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 72px;
    align-items: start;
}

.about-story > p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.cap-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
}

.cap-steps li {
    min-height: 170px;
    padding: 24px 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius-medium);
    background: var(--bg-elevated);
    transition:
        transform var(--duration-medium) var(--ease-premium),
        border-color var(--duration-medium) var(--ease-premium),
        background var(--duration-medium) var(--ease-premium);
}

.cap-steps li:hover {
    transform: translateY(-5px);
    border-color: rgba(117, 199, 89, 0.5);
}

.cap-steps h3 {
    margin-bottom: 12px;
    color: var(--text);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.cap-steps p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* Global perspective / animated map section */

.global-map-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(circle at 28% 45%, rgba(117, 199, 89, 0.08), transparent 34%),
        linear-gradient(135deg, #031b16 0%, #062f27 100%);
    color: #fff;
}

.global-map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(117, 199, 89, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 199, 89, 0.025) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.65) 55%, transparent 100%);
}

.global-map-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
    gap: clamp(48px, 6vw, 100px);
    align-items: center;
    min-height: 560px;
}

.global-map-visual {
    position: relative;
    min-width: 0;
}

.map-stage {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 570px;
    transform: translateX(80px) scale(0.96);
    opacity: 0;
    transition:
        transform 1s var(--ease-premium),
        opacity 0.75s ease;
}

.global-map-section.is-visible .map-stage {
    transform: translateX(-18px) scale(1);
    opacity: 1;
}

.global-map-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
}

.global-map-copy {
    max-width: 560px;
    opacity: 0;
    transform: translateX(34px);
    transition:
        opacity 0.8s ease 0.28s,
        transform 0.9s var(--ease-premium) 0.28s;
}

.global-map-section.is-visible .global-map-copy {
    opacity: 1;
    transform: translateX(0);
}

.global-map-copy .eyebrow {
    color: var(--green-light);
}

.global-map-copy h2 {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.02;
}

.global-map-copy > p:not(.eyebrow) {
    max-width: 520px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.75;
}

.map-country-list {
    display: grid;
    gap: 12px;
    margin-top: 30px;
}

.map-country-item {
    display: grid;
    gap: 3px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.map-country-item strong {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.map-country-item span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.55;
}

/* Floating location nodes */

.map-node {
    position: absolute;
    z-index: 5;
    transform: translate(-50%, -50%);
    border: 0;
    background: transparent;
    padding: 0;
    color: #fff;
    cursor: pointer;
    font: inherit;
    animation: map-float 5.2s ease-in-out infinite;
    --node-delay: 0s;
    animation-delay: var(--node-delay);
}

.map-node:nth-of-type(even) {
    animation-duration: 6.2s;
}

.map-core {
    position: relative;
    z-index: 3;
    display: block;
    width: 16px;
    height: 16px;
    border: 3px solid #d9ffd0;
    border-radius: 50%;
    background: var(--green-bright);
    box-shadow:
        0 0 0 7px rgba(98, 195, 74, 0.12),
        0 0 24px rgba(98, 195, 74, 0.35);
}

.map-pulse {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 28px;
    height: 28px;
    margin: -14px 0 0 -14px;
    border: 1px solid rgba(117, 199, 89, 0.65);
    border-radius: 50%;
    animation: map-pulse 2.7s ease-out infinite;
}

.node-label {
    position: absolute;
    left: 50%;
    top: calc(100% + 9px);
    transform: translateX(-50%);
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.82);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.map-tip {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 18px);
    width: min(260px, 70vw);
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-medium);
    background: rgba(3, 24, 20, 0.94);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    text-align: left;
    transform: translate(-50%, 8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity var(--duration-fast) ease,
        transform var(--duration-medium) var(--ease-premium),
        visibility var(--duration-fast);
}

.map-tip strong,
.map-tip small {
    display: block;
}

.map-tip strong {
    margin-bottom: 4px;
    color: #fff;
    font-size: 12px;
}

.map-tip small {
    color: rgba(255, 255, 255, 0.64);
    font-size: 10px;
    line-height: 1.5;
}

.map-node:hover .map-tip,
.map-node:focus-visible .map-tip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@keyframes map-float {
    0%, 100% {
        translate: 0 0;
    }
    50% {
        translate: 0 -10px;
    }
}

@keyframes map-pulse {
    0% {
        transform: scale(0.55);
        opacity: 0.9;
    }
    75%, 100% {
        transform: scale(1.55);
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-stage,
    .global-map-copy {
        opacity: 1;
        transform: none;
    }

    .map-node,
    .map-pulse {
        animation: none !important;
    }
}


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

.site-footer {
    background: linear-gradient(135deg, #042b23, #08372d);
    color: #fff;
    padding: 56px 0 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer .container {
    width: 96%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
    width: 165px;
    height: auto;
}

.footer-tagline {
    margin-top: 18px;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.6;
}

.footer-heading {
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.footer-list {
    display: grid;
    gap: 10px;
}

.footer-list a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-list a:hover {
    color: var(--green-light);
}

.footer-col p,
.footer-social-note {
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
    line-height: 1.6;
}

.footer-social-note {
    margin-top: 12px;
}

.footer-bottom {
    padding-top: 22px;
}

.copyright {
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1200px) {
    .capabilities-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .capability-page-grid,
    .experience-page-grid,
    .featured-concept-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .partner-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1100px) {
    .experience-layout {
        grid-template-columns: 1fr;
    }

    .experience-intro {
        max-width: 600px;
    }

    .experience-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout,
    .split-copy {
        grid-template-columns: 1fr;
        gap: 36px;
    }
}

@media (max-width: 960px) {
    .nav-toggle {
        display: inline-flex;
    }

    .header-panels {
        position: fixed;
        inset: 0;
        background: var(--header-bg);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        padding: 100px 28px 40px;
        gap: 36px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s var(--ease), visibility 0.28s var(--ease);
    }

    body.nav-open .header-panels {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .home-page body.nav-open .header-panels,
    .home-page.nav-open .header-panels {
        background: #062f27;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .main-nav a {
        font-size: 22px;
        color: var(--header-text);
    }

    .home-page.nav-open .main-nav a,
    .home-page.nav-open .btn-header,
    .home-page.nav-open .theme-chip,
    .home-page.nav-open .lang-chip {
        color: #fff;
    }

    .utility-menu {
        display: none;
    }

    .header-mobile-prefs {
        display: block;
        padding-top: 8px;
        border-top: 1px solid var(--border);
    }

    .header-panels .btn-header {
        align-self: flex-start;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .capability-page-card {
        grid-template-columns: 1fr;
    }

    .capability-page-image {
        aspect-ratio: 16 / 10;
        min-height: 0;
    }

    .concept-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 760px) {
    .logo img {
        width: 155px;
    }

    .hero {
        min-height: 700px;
        background-position: 65% center;
    }

    .hero-media-video {
        object-position: 68% center;
    }

    .hero::before {
        background: linear-gradient(
            90deg,
            rgba(3, 35, 28, 0.98) 0%,
            rgba(3, 35, 28, 0.9) 55%,
            rgba(3, 35, 28, 0.35) 100%
        );
    }

    .hero-content {
        max-width: 480px;
        padding: 145px 0 80px;
    }

    .hero h1 {
        font-size: clamp(48px, 12vw, 65px);
    }

    .hero-side-note,
    .hero-project-label {
        display: none;
    }

    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-preview,
    .experience-preview,
    .concepts-preview,
    .content-section,
    .page-hero {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .capabilities-preview {
        padding: 28px 0 24px;
    }

    .capabilities-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .capability-card {
        height: 190px;
    }

    .experience-cards,
    .capability-page-grid,
    .experience-page-grid,
    .concept-card-grid,
    .featured-concept-grid,
    .footer-grid,
    .form-grid,
    .partner-type-grid {
        grid-template-columns: 1fr;
    }

    .home-cta .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-form-wrap {
        padding: 24px 18px;
    }

    .concept-gallery {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .about-values {
        grid-template-columns: 1fr;
    }
}


/* About page responsive refinements */
@media (max-width: 1100px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cap-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .global-map-layout {
        grid-template-columns: 1fr;
        min-height: 0;
        gap: 48px;
    }

    .global-map-visual {
        order: 1;
    }

    .global-map-copy {
        order: 2;
        max-width: 760px;
        transform: translateY(22px);
    }

    .global-map-section.is-visible .global-map-copy {
        transform: translateY(0);
    }

    .map-stage {
        max-width: 900px;
        margin: 0 auto;
        transform: translateY(30px) scale(0.96);
    }

    .global-map-section.is-visible .map-stage {
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 760px) {
    .cap-steps {
        grid-template-columns: 1fr;
    }

    .cap-steps li {
        min-height: 0;
    }

    .global-map-section {
        padding: 78px 0;
    }

    .global-map-layout {
        gap: 34px;
    }

    .map-stage {
        aspect-ratio: 4 / 3;
    }

    .node-label {
        font-size: 8px;
    }

    .map-country-list {
        margin-top: 22px;
    }
}

@media (max-width: 520px) {
    .map-stage {
        aspect-ratio: 1 / 1;
    }

    .map-core {
        width: 14px;
        height: 14px;
    }

    .map-pulse {
        width: 24px;
        height: 24px;
        margin: -12px 0 0 -12px;
    }

    .node-label {
        display: none;
    }
}


/* =========================================================
   ABOUT PAGE — FINAL LIGHT/DARK BANDS + MAP FIX
========================================================= */

/* Light-theme rhythm: white / green / white / green / white */
.about-band--green {
    background: linear-gradient(135deg, #042b23 0%, #07372d 100%);
    color: #fff;
}

.about-band--green .eyebrow {
    color: var(--green-light);
}

.about-band--green h2,
.about-band--green h3 {
    color: #fff;
}

.about-band--green p,
.about-band--green .section-intro p {
    color: rgba(255, 255, 255, 0.74);
}

.about-band--green .about-values {
    border-color: rgba(255, 255, 255, 0.14);
}

.about-band--green .value-item {
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.025);
}

.about-band--green .value-item h3 {
    color: #fff;
}

.about-band--green .value-item p {
    color: rgba(255, 255, 255, 0.66);
}

.about-band--green .value-icon {
    color: var(--green-light);
}

/* Map section is LIGHT in light mode, DARK in dark mode */
.global-map-section {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(circle at 28% 45%, rgba(47, 143, 58, 0.055), transparent 34%),
        var(--bg-soft);
    color: var(--text);
    transition:
        background var(--duration-medium) var(--ease-premium),
        color var(--duration-medium) var(--ease-premium);
}

html[data-theme="dark"] .global-map-section {
    background:
        radial-gradient(circle at 28% 45%, rgba(117, 199, 89, 0.09), transparent 34%),
        linear-gradient(135deg, #031b16 0%, #062f27 100%);
    color: #fff;
}

.global-map-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.28;
    background-image:
        linear-gradient(rgba(47, 143, 58, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(47, 143, 58, 0.018) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(to right, #000 0%, rgba(0,0,0,.6) 55%, transparent 100%);
}

html[data-theme="dark"] .global-map-section::before {
    background-image:
        linear-gradient(rgba(117, 199, 89, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(117, 199, 89, 0.025) 1px, transparent 1px);
}

/* The map wrapper already gets .is-visible from the site's reveal system.
   Animate the inner stage from that instead of waiting for a class on the section. */
.map-stage {
    position: relative;
    isolation: isolate;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 570px;
    transform: translateX(72px) scale(0.96);
    opacity: 0;
    transition:
        transform 1s var(--ease-premium),
        opacity 0.75s ease;
}

.global-map-visual.is-visible .map-stage {
    transform: translateX(-18px) scale(1);
    opacity: 1;
}

/* Real dotted world map */
.about-map-image {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    pointer-events: none;
    user-select: none;
    opacity: 0.34;
    filter:
        brightness(0)
        saturate(100%)
        invert(24%)
        sepia(13%)
        saturate(1173%)
        hue-rotate(112deg)
        brightness(91%)
        contrast(89%);
    transition:
        opacity var(--duration-medium) ease,
        filter var(--duration-medium) ease;
}

html[data-theme="dark"] .about-map-image {
    opacity: 0.42;
    filter: brightness(0) invert(1);
}

/* Copy colors follow the theme */
.global-map-copy .eyebrow {
    color: var(--green);
}

.global-map-copy h2 {
    color: var(--text);
}

.global-map-copy > p:not(.eyebrow) {
    color: var(--text-muted);
}

.map-country-item {
    border-bottom-color: var(--border);
}

.map-country-item strong,
.node-label {
    color: var(--text);
}

.map-country-item span {
    color: var(--text-muted);
}

html[data-theme="dark"] .global-map-copy .eyebrow {
    color: var(--green-light);
}

html[data-theme="dark"] .global-map-copy h2,
html[data-theme="dark"] .map-country-item strong,
html[data-theme="dark"] .node-label {
    color: #fff;
}

html[data-theme="dark"] .global-map-copy > p:not(.eyebrow) {
    color: rgba(255, 255, 255, 0.72);
}

html[data-theme="dark"] .map-country-item {
    border-bottom-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .map-country-item span {
    color: rgba(255, 255, 255, 0.58);
}

/* Keep nodes above the map image */
.map-node {
    z-index: 5;
}

@media (max-width: 1100px) {
    .global-map-visual.is-visible .map-stage {
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .map-stage {
        opacity: 1;
        transform: none;
    }
}

/* =========================================================
   CAPABILITIES PAGE — EDITORIAL CATALOG
========================================================= */

.cap-catalog-hero {
    position: relative;
    overflow: hidden;
    padding: 135px 0 88px;
    background:
        radial-gradient(circle at 82% 24%, rgba(98, 195, 74, .11), transparent 28%),
        linear-gradient(135deg, #f7f5ef 0%, #fbfaf6 100%);
    border-bottom: 1px solid var(--border);
}

html[data-theme="dark"] .cap-catalog-hero {
    background:
        radial-gradient(circle at 82% 24%, rgba(117, 199, 89, .08), transparent 28%),
        linear-gradient(135deg, #071a16 0%, #0a221c 100%);
}

.cap-catalog-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .65fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: end;
}

.cap-catalog-hero h1 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(52px, 7vw, 96px);
    line-height: .95;
    letter-spacing: -.045em;
}

.cap-catalog-hero-copy {
    max-width: 530px;
    padding-bottom: 8px;
}

.cap-catalog-hero-copy > p {
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.cap-scroll-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    margin-top: 26px;
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 11px;
    font-weight: 600;
}

.cap-scroll-link span:last-child {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: transform .3s var(--ease-premium), border-color .3s ease;
}

.cap-scroll-link:hover span:last-child {
    transform: translateY(4px);
    border-color: var(--green);
}

.cap-catalog-intro {
    padding: 82px 0;
    background: var(--bg);
}

.cap-catalog-intro-grid {
    display: grid;
    grid-template-columns: .35fr 1fr;
    gap: 50px;
}

.cap-catalog-intro-grid > div {
    max-width: 850px;
}

.cap-catalog-intro h2 {
    max-width: 820px;
    font-size: clamp(36px, 4.6vw, 62px);
}

.cap-catalog-intro p:not(.eyebrow) {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.8;
}

.cap-catalog-ticker {
    overflow: hidden;
    background: #08362c;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #fff;
}

.cap-catalog-ticker-track {
    width: max-content;
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 14px 0;
    animation: cap-marquee 42s linear infinite;
}

.cap-catalog-ticker span {
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: 11px;
    font-weight: 600;
}

.cap-catalog-ticker i {
    color: var(--green-light);
    font-style: normal;
    font-size: 10px;
}

.cap-catalog-ticker:hover .cap-catalog-ticker-track {
    animation-play-state: paused;
}

@keyframes cap-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.cap-catalog {
    background: var(--bg);
}

.cap-catalog-row {
    position: relative;
    padding: 80px 0;
    background: var(--bg-soft);
    color: var(--text);
    overflow: hidden;
}

.cap-catalog-row:nth-child(even):not(.cap-catalog-row--dark) {
    background: var(--bg);
}

.cap-catalog-row--dark {
    background:
        radial-gradient(circle at 82% 18%, rgba(117, 199, 89, .07), transparent 30%),
        linear-gradient(135deg, #042b23, #07372d);
    color: #fff;
}

.cap-catalog-row-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, .97fr);
    gap: clamp(46px, 6vw, 90px);
    align-items: center;
}

.cap-catalog-row--flip .cap-catalog-media {
    order: 2;
}

.cap-catalog-row--flip .cap-catalog-copy {
    order: 1;
}

.cap-catalog-media {
    position: relative;
    min-height: 440px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 16px;
    background: #0a2b24;
    box-shadow: 0 24px 60px rgba(0,0,0,.10);
}

.cap-catalog-media picture,
.cap-catalog-media img {
    width: 100%;
    height: 100%;
}

.cap-catalog-image {
    object-fit: cover;
    object-position: center;
    transform: scale(1.015);
    transition: transform 1s var(--ease-premium), filter .6s ease;
}

.cap-catalog-row:hover .cap-catalog-image {
    transform: scale(1.055);
}

.cap-catalog-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(3,24,20,.42) 100%);
    pointer-events: none;
}

.cap-catalog-number {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 22px;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    background: rgba(3,24,20,.38);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
}

.cap-catalog-copy {
    max-width: 650px;
}

.cap-catalog-heading {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 20px;
    align-items: start;
    margin-bottom: 22px;
}

.cap-catalog-heading > span {
    padding-top: 7px;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
}

.cap-catalog-row--dark .cap-catalog-heading > span,
.cap-catalog-row--dark .eyebrow {
    color: var(--green-light);
}

.cap-catalog-copy .eyebrow {
    margin-bottom: 10px;
    font-size: 10px;
}

.cap-catalog-copy h2 {
    max-width: 600px;
    margin-bottom: 0;
    font-size: clamp(30px, 3.3vw, 48px);
    line-height: 1.04;
}

.cap-catalog-desc {
    max-width: 620px;
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.75;
}

.cap-catalog-row--dark .cap-catalog-desc {
    color: rgba(255,255,255,.72);
}

.cap-catalog-services {
    margin-top: 30px;
    padding-top: 22px;
    border-top: 1px solid var(--border);
}

.cap-catalog-row--dark .cap-catalog-services {
    border-top-color: rgba(255,255,255,.14);
}

.cap-catalog-services-label {
    display: block;
    margin-bottom: 14px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: 10px;
    font-weight: 700;
}

.cap-catalog-row--dark .cap-catalog-services-label {
    color: rgba(255,255,255,.48);
}

.cap-service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.cap-service-list li {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg-elevated) 70%, transparent);
    color: var(--text);
    font-size: 12px;
    line-height: 1.2;
    transition: transform .25s ease, border-color .25s ease, background .25s ease;
}

.cap-service-list li:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--green) 55%, var(--border));
    background: color-mix(in srgb, var(--green) 7%, var(--bg-elevated));
}

.cap-catalog-row--dark .cap-service-list li {
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.035);
    color: #fff;
}

.cap-catalog-row--dark .cap-service-list li:hover {
    border-color: rgba(117,199,89,.48);
    background: rgba(117,199,89,.08);
}

/* Directional scroll reveals — uses the site's existing is-visible class */
.cap-reveal-left[data-reveal] {
    transform: translate3d(-34px, 18px, 0);
}

.cap-reveal-right[data-reveal] {
    transform: translate3d(34px, 18px, 0);
}

.cap-reveal-left[data-reveal].is-visible,
.cap-reveal-right[data-reveal].is-visible {
    transform: translate3d(0,0,0);
}

.cap-process--catalog {
    padding: 90px 0;
    background: var(--bg);
}

.cap-process--catalog .cap-steps li {
    position: relative;
    overflow: hidden;
}

.cap-process--catalog .cap-steps li::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-premium);
}

.cap-process--catalog .cap-steps li:hover::after {
    transform: scaleX(1);
}

.cap-step-number {
    display: inline-block;
    margin-bottom: 28px;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
}

.cap-why {
    padding: 92px 0;
    background:
        radial-gradient(circle at 18% 42%, rgba(98,195,74,.08), transparent 24%),
        linear-gradient(135deg, #042b23, #07372d);
    color: #fff;
}

.cap-why-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(50px, 8vw, 120px);
    align-items: end;
}

.cap-why .eyebrow {
    color: var(--green-light);
}

.cap-why h2 {
    margin-bottom: 0;
    color: #fff;
    font-size: clamp(36px, 4vw, 58px);
}

.cap-why-grid > p {
    max-width: 680px;
    color: rgba(255,255,255,.72);
    font-size: 16px;
    line-height: 1.8;
}

html[data-theme="dark"] .cap-catalog-row:not(.cap-catalog-row--dark),
html[data-theme="dark"] .cap-catalog-intro {
    background: var(--bg);
}

html[data-theme="dark"] .cap-catalog-row:nth-child(even):not(.cap-catalog-row--dark) {
    background: var(--bg-soft);
}

@media (max-width: 980px) {
    .cap-catalog-hero-grid,
    .cap-catalog-intro-grid,
    .cap-catalog-row-grid,
    .cap-why-grid {
        grid-template-columns: 1fr;
    }

    .cap-catalog-row--flip .cap-catalog-media,
    .cap-catalog-row--flip .cap-catalog-copy {
        order: initial;
    }

    .cap-catalog-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .cap-catalog-copy {
        max-width: 760px;
    }
}

@media (max-width: 700px) {
    .cap-catalog-hero {
        padding: 105px 0 65px;
    }

    .cap-catalog-hero h1 {
        font-size: clamp(46px, 15vw, 66px);
    }

    .cap-catalog-intro,
    .cap-catalog-row,
    .cap-process--catalog,
    .cap-why {
        padding: 68px 0;
    }

    .cap-catalog-row-grid {
        gap: 32px;
    }

    .cap-catalog-media {
        border-radius: 12px;
    }

    .cap-catalog-heading {
        grid-template-columns: 42px 1fr;
        gap: 12px;
    }

    .cap-catalog-copy h2 {
        font-size: clamp(28px, 9vw, 40px);
    }

    .cap-service-list {
        gap: 7px;
    }

    .cap-service-list li {
        font-size: 11px;
    }

    .cap-reveal-left[data-reveal],
    .cap-reveal-right[data-reveal] {
        transform: translateY(18px);
    }

    .cap-reveal-left[data-reveal].is-visible,
    .cap-reveal-right[data-reveal].is-visible {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cap-catalog-ticker-track {
        animation: none;
    }

    .cap-reveal-left[data-reveal],
    .cap-reveal-right[data-reveal] {
        transform: none;
    }
}


/* =========================================================
   MOBILE LAUNCH FIXES — navigation, hero crop, ticker
   Added 2026-09
========================================================= */

/* Keep the mobile overlay itself scrollable while the page behind it is locked. */
@media (max-width: 960px) {
    .site-header {
        z-index: 500;
    }

    .header-inner {
        width: 92%;
    }

    .logo,
    .nav-toggle {
        position: relative;
        z-index: 530;
    }

    .header-panels {
        z-index: 510;
        justify-content: flex-start;
        overflow-y: auto;
        overflow-x: hidden;
        max-height: 100dvh;
        min-height: 100dvh;
        padding:
            calc(112px + env(safe-area-inset-top, 0px))
            max(24px, env(safe-area-inset-right, 0px))
            calc(42px + env(safe-area-inset-bottom, 0px))
            max(24px, env(safe-area-inset-left, 0px));
        gap: 28px;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .main-nav {
        flex: 0 0 auto;
        gap: 18px;
    }

    .main-nav a {
        font-size: clamp(19px, 5.8vw, 23px);
        line-height: 1.25;
    }

    .header-mobile-prefs {
        flex: 0 0 auto;
        width: 100%;
        padding: 20px 0 8px;
        margin-top: 2px;
    }

    .lang-inline {
        gap: 6px;
    }

    .lang-chip,
    .theme-chip {
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Theme-aware mobile menu. This overrides the page-specific cinematic header rules. */
    html[data-theme="light"] body.nav-open .header-panels {
        background: var(--bg-elevated) !important;
        color: var(--text) !important;
    }

    html[data-theme="light"] body.nav-open .main-nav a,
    html[data-theme="light"] body.nav-open .lang-chip,
    html[data-theme="light"] body.nav-open .theme-chip {
        color: var(--text) !important;
    }

    html[data-theme="light"] body.nav-open .header-mobile-prefs {
        border-top-color: var(--border);
    }

    html[data-theme="light"] body.nav-open .nav-toggle {
        border-color: var(--border) !important;
    }

    html[data-theme="light"] body.nav-open .nav-toggle-bar {
        background: var(--header-text) !important;
    }

    /* Switch to the logo designed for a light background while the light menu is open. */
    html[data-theme="light"] body.nav-open .site-logo--on-dark {
        display: none !important;
    }

    html[data-theme="light"] body.nav-open .site-logo--on-light {
        display: block !important;
    }

    html[data-theme="dark"] body.nav-open .header-panels {
        background: var(--bg-dark) !important;
        color: #fff !important;
    }

    html[data-theme="dark"] body.nav-open .main-nav a,
    html[data-theme="dark"] body.nav-open .lang-chip,
    html[data-theme="dark"] body.nav-open .theme-chip {
        color: #fff !important;
    }

    html[data-theme="dark"] body.nav-open .nav-toggle-bar {
        background: #fff !important;
    }
}

@media (max-width: 760px) {
    /*
     * On a portrait phone a 16:9 hero cannot be shown with "cover" without
     * cutting away most of the architecture. Use a slightly smaller,
     * right-biased image instead and let the dark base colour fill the edges.
     */
    .hero {
        min-height: max(700px, 100svh);
        background-size: auto 88%;
        background-position: 76% 48%;
        background-color: #042b23;
    }

    .hero::before {
        background:
            linear-gradient(
                90deg,
                rgba(3, 35, 28, 0.99) 0%,
                rgba(3, 35, 28, 0.94) 42%,
                rgba(3, 35, 28, 0.62) 68%,
                rgba(3, 35, 28, 0.20) 100%
            ),
            linear-gradient(
                180deg,
                rgba(3, 35, 28, 0.28) 0%,
                rgba(3, 35, 28, 0.04) 55%,
                rgba(3, 35, 28, 0.34) 100%
            );
    }

    .hero .container {
        min-height: max(700px, 100svh);
    }

    /* Make the capabilities strap visibly move on phones. */
    .cap-catalog-ticker-track {
        animation-duration: 24s;
        will-change: transform;
        transform: translate3d(0, 0, 0);
    }

    .cap-catalog-ticker:hover .cap-catalog-ticker-track {
        animation-play-state: running;
    }
}

/* Keep the accessibility preference respected. */
@media (prefers-reduced-motion: reduce) {
    .cap-catalog-ticker-track {
        animation: none !important;
        transform: none !important;
    }
}

