/**
 * Oranda V3 — Main Stylesheet
 * Estrela-inspired immersive design
 */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    /* Colors */
    --color-cream: #fbfbf4;
    --color-dark: #0a0a0a;
    --color-dark-secondary: #141414;
    --color-orange: #e07850;
    --color-orange-light: #f4a261;
    --color-text-light: rgba(251, 251, 244, 0.9);
    --color-text-muted: rgba(251, 251, 244, 0.6);
    --color-border: rgba(251, 251, 244, 0.1);
    --color-glow: rgba(224, 120, 80, 0.5);

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Sizing */
    --header-height: 80px;
    --header-height-scrolled: 60px;
    --container-width: 1400px;
    --section-padding: clamp(80px, 10vw, 160px);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    overflow-x: hidden;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.6;
    background: var(--color-dark);
    color: var(--color-text-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100%;
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

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

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

main {
    width: 100%;
    max-width: 100vw;
    display: block;
    margin: 0;
    padding: 0;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2.5rem, 8vw, 8rem);
    letter-spacing: -0.02em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 3rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-orange);
    margin-bottom: 1rem;
}

p {
    font-size: clamp(1rem, 1.25vw, 1.25rem);
    color: var(--color-text-muted);
    max-width: 100ch;
}

.large-text {
    font-size: clamp(1.125rem, 1.5vw, 1.5rem);
    line-height: 1.5;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 clamp(24px, 5vw, 60px);
}

.section {
    padding: var(--section-padding) 0;
    position: relative;
}

.section--dark {
    background: var(--color-dark);
}

.section--cream {
    background: var(--color-cream);
    color: var(--color-dark);
}

.section--cream p {
    color: rgba(10, 10, 10, 0.7);
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader__logo {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-cream);
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
}

.loader__counter {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 300;
    color: var(--color-text-muted);
    letter-spacing: 0.1em;
}

.loader__bar {
    width: 200px;
    height: 1px;
    background: var(--color-border);
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.loader__progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: var(--color-orange);
}

/* ============================================================
   UTILITY BAR — Top of every page
   ============================================================ */
.utility-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 28px;
    background: var(--color-orange);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}
.utility-bar__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}
.utility-bar__inner a {
    color: #fff;
    transition: opacity 0.3s ease;
}
.utility-bar__inner a:hover {
    opacity: 0.7;
}
.utility-bar__sep {
    color: rgba(255, 255, 255, 0.35);
    font-size: 0.625rem;
}

/* ============================================================
   HEADER — Centered nav pill
   ============================================================ */
.site-header {
    position: fixed;
    top: 28px;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

/* Theme Toggle — top right, outside pill */
.theme-toggle {
    position: fixed;
    top: 52px;
    right: 24px;
    z-index: 1001;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(251, 251, 244, 0.1);
    border: 1px solid rgba(251, 251, 244, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cream);
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(251, 251, 244, 0.2);
}

.theme-toggle__sun { display: block; }
.theme-toggle__moon { display: none; }

[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }

/* Nav Pill — centered, glassmorphic */
.nav-pill {
    display: flex;
    align-items: center;
    gap: 32px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    padding: 10px 10px 10px 24px;
    pointer-events: auto;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-pill__logo {
    display: flex;
    align-items: center;
    height: 34px;
    transition: height 0.3s ease;
}

.nav-pill__logo img {
    height: 34px;
    width: auto;
    transition: height 0.3s ease;
}

/* Logo swapping for dark/light mode */
.nav-pill__logo .logo-light {
    display: none;
}

[data-theme="light"] .nav-pill__logo .logo-dark {
    display: none;
}

[data-theme="light"] .nav-pill__logo .logo-light {
    display: block;
}

.nav-pill__links {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-pill__links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: #fff;
    transition: color 0.3s ease;
    white-space: nowrap;
}

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

.nav-pill__cta {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-dark);
    background: var(--color-cream);
    padding: 12px 24px;
    border-radius: 100px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-pill__cta:hover {
    background: var(--color-orange);
    color: var(--color-dark);
}

/* Plus toggle (hidden by default, shows when scrolled) */
.nav-pill__toggle {
    display: none;
    width: 20px;
    height: 20px;
    position: relative;
    cursor: pointer;
    pointer-events: auto;
}

.nav-pill__toggle span {
    position: absolute;
    background: var(--color-cream);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-pill__toggle span:first-child {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.nav-pill__toggle span:last-child {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

/* Scrolled state: collapse to logo + toggle */
.site-header.is-scrolled .nav-pill {
    gap: 12px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.site-header.is-scrolled .nav-pill__logo {
    height: 24px;
}

.site-header.is-scrolled .nav-pill__logo img {
    height: 24px;
}

.site-header.is-scrolled .nav-pill__links,
.site-header.is-scrolled .nav-pill__cta {
    opacity: 0;
    width: 0;
    overflow: hidden;
    gap: 0;
    padding: 0;
    pointer-events: none;
}

.site-header.is-scrolled .nav-pill__toggle {
    display: block;
}

/* Drawer open state - rotate plus to X */
.site-header.drawer-open .nav-pill__toggle span:first-child {
    transform: translateY(-50%) rotate(45deg);
}

.site-header.drawer-open .nav-pill__toggle span:last-child {
    transform: translateX(-50%) rotate(45deg);
}

/* ============================================================
   DRAWER NAV — Slide down from top
   ============================================================ */
.drawer-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    z-index: 999;
    transform: translateY(-100%);
    pointer-events: none;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

.drawer-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.drawer-nav__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 120px 24px;
}

.drawer-nav ul {
    list-style: none;
    text-align: center;
}

.drawer-nav li {
    margin-bottom: 0.75rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.drawer-nav.is-open li {
    opacity: 1;
    transform: translateY(0);
}

.drawer-nav.is-open li:nth-child(1) { transition-delay: 0.1s; }
.drawer-nav.is-open li:nth-child(2) { transition-delay: 0.15s; }
.drawer-nav.is-open li:nth-child(3) { transition-delay: 0.2s; }
.drawer-nav.is-open li:nth-child(4) { transition-delay: 0.25s; }
.drawer-nav.is-open li:nth-child(5) { transition-delay: 0.3s; }
.drawer-nav.is-open li:nth-child(6) { transition-delay: 0.35s; }
.drawer-nav.is-open li:nth-child(7) { transition-delay: 0.4s; }

.drawer-nav a {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    color: var(--color-cream);
    transition: color 0.3s ease;
}

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

/* Mobile: always show toggle */
@media (max-width: 900px) {
    .nav-pill__links,
    .nav-pill__cta {
        display: none;
    }

    .nav-pill__toggle {
        display: block;
    }
}

/* ============================================================
   LIGHT MODE
   ============================================================ */
[data-theme="light"] {
    --color-cream: #0a0a0a;
    --color-dark: #fbfbf4;
    --color-dark-secondary: #f0f0e8;
    --color-text-light: rgba(10, 10, 10, 0.9);
    --color-text-muted: rgba(10, 10, 10, 0.6);
    --color-border: rgba(10, 10, 10, 0.1);
}

[data-theme="light"] body {
    background: var(--color-dark);
    color: var(--color-text-light);
}

[data-theme="light"] .nav-pill {
    background: rgba(255, 255, 255, 0.4);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border-color: rgba(10, 10, 10, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .nav-pill__cta {
    background: var(--color-orange);
    color: #fff;
}

[data-theme="light"] .theme-toggle {
    background: rgba(10, 10, 10, 0.1);
    border-color: rgba(10, 10, 10, 0.15);
    color: var(--color-cream);
}

[data-theme="light"] .drawer-nav {
    background: rgba(251, 251, 244, 0.95);
}

[data-theme="light"] .loader {
    background: var(--color-dark);
}

/* Light mode glass cards - more opaque so text behind doesn't show through */
[data-theme="light"] .glass-card {
    background: rgba(251, 251, 244, 0.5);
    border: 1px solid rgba(10, 10, 10, 0.08);
}

/* Light mode hero - ensure dark overlay for contrast */
[data-theme="light"] .hero {
    background: var(--color-dark-secondary);
}

[data-theme="light"] .hero__bg::after {
    background: linear-gradient(
        to bottom,
        rgba(251, 251, 244, 0.85) 0%,
        rgba(251, 251, 244, 0.7) 50%,
        rgba(251, 251, 244, 0.9) 100%
    );
}

[data-theme="light"] .hero__heading {
    color: var(--color-cream);
}

[data-theme="light"] .nav-pill__logo,
[data-theme="light"] .nav-pill__links a {
    color: var(--color-cream);
}
[data-theme="light"] .nav-pill__links a.is-active {
    color: var(--color-orange);
}
[data-theme="light"] .drawer-nav a {
    color: #0a0a0a;
}
[data-theme="light"] .drawer-nav a:hover,
[data-theme="light"] .drawer-nav a.is-active {
    color: var(--color-orange);
}

[data-theme="light"] .nav-pill__toggle span {
    background: var(--color-cream);
}

/* ============================================================
   HERO — Fullscreen with blur-to-focus text
   ============================================================ */
.hero {
    width: 100% !important;
    height: 100vh !important;
    min-height: 100vh !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 48px 80px;
    position: relative;
    overflow: hidden;
    background: var(--color-dark);
    box-sizing: border-box;
    margin: 0;
    left: 0;
    right: 0;
}

/* Hero background media */
.hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero__bg img,
.hero__bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Dark overlay for text readability */
.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.7) 0%,
        rgba(10, 10, 10, 0.5) 50%,
        rgba(10, 10, 10, 0.8) 100%
    );
}

/* ============================================================
   PARALLAX VIDEO SECTION
   ============================================================ */
.parallax-video-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: relative;
    overflow: visible;
    background: var(--color-dark);
}

.parallax-video {
    width: 75vw;
    max-width: 1100px;
    aspect-ratio: 16/9;
    overflow: hidden;
    transform: scale(0.8);
    opacity: 0.8;
}

.parallax-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.parallax-video.is-scaled {
    transform: scale(1);
    opacity: 1;
}

.hero__content {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-sizing: border-box;
}

.hero__eyebrow {
    /* Animation: starts hidden, GSAP reveals */
}

.hero__heading {
    margin: 0.5rem 0 1.5rem;
    color: var(--color-cream);
    text-align: center;
    width: 100%;
}

/* Only hide for animation if JS is available */
.js-loading .hero__eyebrow,
.js-loading .hero__heading,
.js-loading .hero__text,
.js-loading .hero__scroll {
    opacity: 0;
    transform: translateY(30px);
}

/* Word with image trail effect */
.hero__heading .word-trail {
    position: relative;
    display: inline-block;
    cursor: default;
    color: var(--color-orange);
    transition: color 0.3s ease;
}

.hero__heading .word-trail:hover {
    color: var(--color-orange-light);
}

/* Trail images container */
.trail-images {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
}

.trail-image {
    position: absolute;
    width: 150px;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero__text {
    max-width: 600px;
    margin: 0 auto 2rem;
    color: var(--color-text-light);
    text-align: center;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.hero__scroll-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero__scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-orange), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { transform: scaleY(1); opacity: 1; }
    50% { transform: scaleY(0.5); opacity: 0.5; }
}

/* ============================================================
   BLUR TEXT SECTION — Large text that focuses on scroll
   ============================================================ */
.blur-text-section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px 24px;
    background: var(--color-dark);
}

.blur-text {
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-family: var(--font-serif);
    text-align: center;
    line-height: 1.2;
    max-width: 1000px;
    filter: blur(15px);
    opacity: 0.2;
    /* Will be animated via ScrollTrigger scrub */
}

/* ============================================================
   GLASSMORPHIC CARDS — Scroll over large text
   ============================================================ */
.glass-section {
    position: relative;
    overflow: visible;
    padding: 0; /* Override .section padding */
}

.glass-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    z-index: 1;
}

.glass-section__text {
    font-size: clamp(2rem, 5vw, 4rem);
    font-family: var(--font-serif);
    text-align: center;
    line-height: 1.2;
    color: var(--color-cream);
    max-width: 900px;
    padding: 0 24px;
    /* Will parallax up via ScrollTrigger */
}

.glass-section__cards {
    position: relative;
    z-index: 10;
    padding: 100vh 0 20vh;
}

.glass-card {
    background: rgba(251, 251, 244, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 251, 244, 0.15);
    border-radius: 24px;
    padding: 48px;
    max-width: 500px;
    margin: 0 auto 40px;
    transform: translateY(60px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s ease;
}

.glass-card.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.glass-card__number {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
}

.glass-card__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 1rem;
    color: var(--color-cream);
}

.glass-card__text {
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.glass-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.glass-card__tag {
    font-size: 0.75rem;
    padding: 6px 14px;
    background: rgba(251, 251, 244, 0.1);
    border-radius: 100px;
    color: var(--color-text-muted);
}

/* ============================================================
   PINNED SECTION — "Who We Are" style
   ============================================================ */
.pinned-section {
    position: relative;
    overflow: visible;
    padding: 0; /* Override .section padding */
}

.pinned-section__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.pinned-section__left {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    align-self: start;
}

.pinned-section__heading {
    font-size: clamp(3rem, 9vw, 9rem);
    line-height: 0.825;
}

.pinned-section__heading span {
    display: block;
}

.pinned-section__right {
    padding: 15vh 60px 120px;
}

.pinned-card {
    background: transparent;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 40px;
    transform: translateY(80px);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                opacity 0.8s ease;
}

.pinned-card.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.pinned-card__image {
    height: 300px;
    overflow: hidden;
    position: relative;
    background: transparent;
    border-radius: 16px;
}

.pinned-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    /* Vertical wipe reveal */
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.pinned-card.is-visible .pinned-card__image img {
    clip-path: inset(0 0 0 0);
}

.pinned-card__content {
    padding: 32px 0;
}

.pinned-card__title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-cream);
}

.pinned-card__text {
    color: var(--color-text-muted);
}
.pinned-section__cta {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 0.5px solid rgba(150, 150, 150, 0.3);
}

/* ============================================================
   SERVICES — Three Column
   ============================================================ */
.services {
    padding: var(--section-padding) 0;
}

.services__header {
    margin-bottom: 60px;
    text-align: left;
}

.services__header h2 {
    font-size: clamp(2rem, 5vw, 4.5rem);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.service-item {
    opacity: 0;
    transform: translateY(40px);
}

.service-item__number {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-orange);
    margin-bottom: 1.5rem;
}

.service-item__title {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    margin-bottom: 1rem;
}

.service-item__text {
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.7;
}
.service-item__link {
    margin-top: 1.5rem;
    display: inline-block;
    font-size: 0.875rem;
}

/* ============================================================
   TESTIMONIALS — Horizontal scroll
   ============================================================ */
.testimonials {
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.testimonials__header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials__header .eyebrow {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.testimonials__header h2 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    text-align: center;
}

.testimonials__track {
    display: flex;
    gap: 32px;
    padding: 0 24px;
}

.testimonial-card {
    flex-shrink: 0;
    width: 400px;
    background: var(--color-dark-secondary);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid var(--color-border);
}

.testimonial-card__quote {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-cream);
    margin-bottom: 2rem;
}

.testimonial-card__author {
    font-weight: 500;
    color: var(--color-cream);
    margin-bottom: 0.25rem;
}

.testimonial-card__company {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ============================================================
   FAQ — With mouse-following glow
   ============================================================ */
.faq {
    padding: var(--section-padding) 0;
}

.faq__header {
    text-align: center;
    margin-bottom: 60px;
}

.faq__header .eyebrow {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.faq__header h2 {
    font-size: clamp(2rem, 5vw, 4.5rem);
    text-align: center;
}

.faq__list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
}

.faq-item:last-child {
    border-bottom: 1px solid var(--color-border);
}

/* Glow effect on borders */
.faq-item::before,
.faq-item::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: radial-gradient(circle at var(--mouse-x, 50%) 50%, var(--color-glow), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.faq-item::before {
    top: -1px;
}

.faq-item::after {
    bottom: -1px;
}

.faq-item:hover::before,
.faq-item:hover::after {
    opacity: 1;
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    text-align: left;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-cream);
    cursor: pointer;
    transition: color 0.3s ease;
}

.faq-item__question:hover {
    color: var(--color-orange);
}

.faq-item__icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 24px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease;
}

.faq-item__icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.faq-item__icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.faq-item.is-open .faq-item__icon::after {
    transform: translateX(-50%) rotate(90deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.is-open .faq-item__answer {
    max-height: 500px;
    padding-bottom: 28px;
}

.faq-item__answer p {
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* ============================================================
   STATS — Animated counters
   ============================================================ */
.stats {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item__number {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5rem);
    color: var(--color-cream);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item__label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    padding: var(--section-padding) 0;
    text-align: center;
}

.cta-section__heading {
    font-size: clamp(2rem, 5vw, 4rem);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.cta-section__text {
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 100px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep */
.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    animation: btn-shimmer 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes btn-shimmer {
    0%   { left: -100%; }
    40%  { left: 150%; }
    100% { left: 150%; }
}

.btn--primary {
    background: var(--color-orange);
    color: var(--color-dark);
    border: 0.5px solid var(--color-orange);
}

.btn--primary::after {
    background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
}

.btn--primary:hover {
    background: transparent;
    border: 0.5px solid var(--color-orange);
    color: var(--color-orange);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--color-border);
    color: var(--color-cream);
}

.btn--outline:hover {
    background: var(--color-cream);
    color: var(--color-dark);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--color-dark);
    border-top: 1px solid var(--color-border);
    padding: 80px 0 40px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer__brand {
    max-width: 300px;
}

.footer__logo {
    display: block;
    margin-bottom: 1.5rem;
}

.footer__logo img {
    height: 40px;
    width: auto;
    transition: opacity 0.3s ease;
}

/* Footer logo swapping for dark/light mode */
.footer__logo .logo-light {
    display: none;
}

[data-theme="light"] .footer__logo .logo-dark {
    display: none;
}

[data-theme="light"] .footer__logo .logo-light {
    display: block;
}

.footer__logo:hover img {
    opacity: 0.8;
}

.footer__tagline {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer__heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-cream);
    margin-bottom: 1.5rem;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 0.75rem;
}

.footer__links a {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

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

.footer__social {
    display: flex;
    gap: 16px;
}

.footer__social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text-muted);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.footer__social a:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}

.footer__copy {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.footer__time {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .header__nav {
        display: none;
    }

    .header__toggle {
        display: flex;
    }

    .services__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pinned-section__wrapper {
        grid-template-columns: 1fr;
    }

    .pinned-section__left {
        position: relative;
        height: auto;
        min-height: auto;
        padding: var(--section-padding) 24px;
    }

    .pinned-section__right {
        padding: 60px 24px var(--section-padding);
    }

    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .utility-bar__inner { font-size: 0.5625rem; gap: 6px; }

    .hero {
        height: 100svh !important;
        min-height: 100svh !important;
    }

    .hero__heading {
        font-size: clamp(2.5rem, 12vw, 5rem);
    }

    .parallax-video-section {
        min-height: 50vh;
        padding: 24px 16px;
    }

    .parallax-video {
        width: 95vw;
        aspect-ratio: 16/9;
    }

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

    .testimonial-card {
        width: 320px;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* ============================================================
   MOBILE NAV OVERLAY
   ============================================================ */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-nav.is-active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin-bottom: 1.5rem;
}

.mobile-nav a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-cream);
}

.mobile-nav a:hover {
    color: var(--color-orange);
}

/* ============================================================
   ANIMATIONS — Utility classes
   ============================================================ */
[data-anim] {
    opacity: 0;
    transform: translateY(40px);
}

[data-anim="fade-up"].is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-anim="fade-in"].is-visible {
    opacity: 1;
    transition: opacity 1s ease;
}

/* Stagger children */
[data-anim="stagger"] > * {
    opacity: 0;
    transform: translateY(30px);
}

[data-anim="stagger"].is-visible > * {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-anim="stagger"].is-visible > *:nth-child(1) { transition-delay: 0s; }
[data-anim="stagger"].is-visible > *:nth-child(2) { transition-delay: 0.1s; }
[data-anim="stagger"].is-visible > *:nth-child(3) { transition-delay: 0.2s; }
[data-anim="stagger"].is-visible > *:nth-child(4) { transition-delay: 0.3s; }
[data-anim="stagger"].is-visible > *:nth-child(5) { transition-delay: 0.4s; }

/* ============================================================
   TWEAK PANEL — Animation controls
   ============================================================ */
.tweak-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 340px;
    max-width: 90vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #e0e0e0;
    z-index: 99999;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-sans);
    font-size: 13px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.tweak-panel::-webkit-scrollbar {
    width: 5px;
}
.tweak-panel::-webkit-scrollbar-track {
    background: transparent;
}
.tweak-panel::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

.tweak-panel.is-visible {
    transform: translateX(0);
}

.tweak-panel__header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 2;
}

.tweak-panel__header h3 {
    font-family: var(--font-serif);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-orange);
    margin: 0;
    flex: 1;
}

.tweak-panel__hint {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    margin-right: 12px;
}

.tweak-panel__close {
    width: 28px;
    height: 28px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    font-size: 18px;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tweak-panel__close:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.tweak-panel__section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tweak-panel__section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s;
}

.tweak-panel__section-header:hover {
    background: rgba(255, 255, 255, 0.03);
}

.tweak-panel__section-header span:first-child {
    font-weight: 500;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
}

.tweak-panel__chevron {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.3);
    transition: transform 0.2s;
}

.tweak-panel__chevron.is-rotated {
    transform: rotate(-90deg);
}

.tweak-panel__section-body {
    display: none;
    padding: 4px 20px 16px;
}

.tweak-panel__section-body.is-open {
    display: block;
}

.tweak-panel__control {
    margin-bottom: 14px;
}

.tweak-panel__control label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 6px;
}

.tweak-panel__slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.tweak-panel__range {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}

.tweak-panel__range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-orange);
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.tweak-panel__range::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-orange);
    cursor: pointer;
    border: 2px solid rgba(0, 0, 0, 0.3);
}

.tweak-panel__value {
    font-size: 11px;
    font-family: monospace;
    color: rgba(255, 255, 255, 0.4);
    min-width: 40px;
    text-align: right;
}

.tweak-panel__actions {
    padding: 16px 20px;
    display: flex;
    gap: 8px;
}

.tweak-panel__btn {
    flex: 1;
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.tweak-panel__btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.tweak-panel__btn--primary {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}

.tweak-panel__btn--primary:hover {
    background: var(--color-orange-light);
}

/* ============================================================
   SUBPAGE SHARED STYLES
   ============================================================ */

/* Utility */
.container--narrow { max-width: 800px; margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.required { color: var(--color-orange); }

/* Reveal on scroll — initial state for GSAP */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    font-size: 0.8125rem;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}
.breadcrumb a {
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}
.breadcrumb a:hover {
    color: var(--color-orange);
}
.breadcrumb__sep {
    color: var(--color-border);
    user-select: none;
}
.breadcrumb__current {
    color: var(--color-orange);
    font-weight: 500;
}

/* ============================================================
   PAGE HERO BANNER — Full-width image/video behind nav
   ============================================================ */
.page-hero-banner {
    position: relative;
    width: 100%;
    height: 530px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-bottom: 0.5px solid rgba(150, 150, 150, 0.3);
}
.page-hero-banner__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--color-dark-secondary);
}
.page-hero-banner__media img,
.page-hero-banner__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.page-hero-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.5) 40%, transparent 70%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.15) 0%, rgba(10, 10, 10, 0.5) 60%, rgba(10, 10, 10, 0.8) 100%);
}
[data-theme="light"] .page-hero-banner__overlay {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(251, 251, 244, 0.95) 0%, rgba(251, 251, 244, 0.6) 40%, transparent 70%),
        linear-gradient(to bottom, rgba(251, 251, 244, 0.3) 0%, rgba(251, 251, 244, 0.6) 50%, rgba(251, 251, 244, 0.95) 100%);
}
.page-hero-banner__content {
    position: relative;
    z-index: 2;
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 56px;
}
/* Breadcrumb — sits below hero banner */
.page-hero-banner + .breadcrumb {
    padding-top: 20px;
    padding-bottom: 0;
    margin-bottom: 0;
}
.page-hero-banner + .breadcrumb + .section {
    padding-top: 80px;
}
.page-hero-banner + .breadcrumb + .pinned-section {
    padding-top: 40px;
}
.page-hero-banner + .breadcrumb + .pinned-section .pinned-section__right {
    padding-top: 40px;
}
.page-hero-banner .eyebrow {
    margin-bottom: 1rem;
    color: var(--color-orange);
}
.page-hero-banner__title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 5.5rem);
    font-weight: 400;
    line-height: 0.95;
    max-width: 650px;
    color: #fff;
}
[data-theme="light"] .page-hero-banner__title {
    color: var(--color-orange);
}
[data-theme="light"] .page-hero-banner .eyebrow {
    color: #0a0a0a;
}
.page-hero-banner__intro {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 650px;
    margin-top: 1rem;
    line-height: 1.7;
}
[data-theme="light"] .page-hero-banner__intro {
    color: rgba(10, 10, 10, 0.7);
}
.page-hero-banner__meta {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.75rem;
}
[data-theme="light"] .page-hero-banner__meta {
    color: rgba(10, 10, 10, 0.5);
}
.page-hero-banner__date {
    display: block;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}
[data-theme="light"] .page-hero-banner__date {
    color: rgba(10, 10, 10, 0.5);
}

/* Section title — consistent size across sections */
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

/* Section base */
.section {
    padding: var(--section-padding) 0;
}

/* ============================================================
   PLACEHOLDER IMAGES
   ============================================================ */
.placeholder-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-height: 280px;
    background: rgba(251, 251, 244, 0.04);
    border: 1px dashed var(--color-border);
    border-radius: 24px;
    color: var(--color-text-muted);
    font-size: 0.8125rem;
}
.placeholder-img--landscape {
    aspect-ratio: 16/10;
    min-height: auto;
}
.placeholder-img--map {
    min-height: 300px;
}

/* ============================================================
   GENERIC ACCORDION
   ============================================================ */
.accordion-item {
    border-top: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}
.accordion-item:last-child {
    border-bottom: 1px solid var(--color-border);
}
/* Glow effect on borders */
.accordion-item::before,
.accordion-item::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 1px;
    background: radial-gradient(circle at var(--mouse-x, 50%) 50%, var(--color-glow), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.accordion-item::before { top: -1px; }
.accordion-item::after { bottom: -1px; }
.accordion-item:hover::before,
.accordion-item:hover::after { opacity: 1; }
.accordion-item__header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    background: none;
    border: none;
    color: inherit;
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    text-align: left;
    transition: color 0.3s ease;
}
.accordion-item__header:hover {
    color: var(--color-orange);
}
.accordion-item__title { flex: 1; }
.accordion-item__icon {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 24px;
}
.accordion-item__icon::before,
.accordion-item__icon::after {
    content: '';
    position: absolute;
    background: currentColor;
    transition: transform 0.3s ease;
}
.accordion-item__icon::before {
    width: 100%;
    height: 2px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}
.accordion-item__icon::after {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.accordion-item.is-open .accordion-item__icon::after {
    transform: translateX(-50%) rotate(90deg);
}
.accordion-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}
.accordion-item.is-open .accordion-item__body {
    max-height: 2000px;
    padding-bottom: 28px;
}
.accordion-item__content {
    color: var(--color-text-muted);
    line-height: 1.7;
}
.accordion-item__content p { margin-bottom: 1rem; }
.accordion-item__content p:last-child { margin-bottom: 0; }
.accordion-item__content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.accordion-item__content li { margin-bottom: 0.5rem; }

/* ============================================================
   EDITORIAL ROW — Numbered alternating image/text
   ============================================================ */
.editorial-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    border-bottom: 1px solid var(--color-border);
}
.editorial-row:last-child {
    border-bottom: none;
}
.editorial-row--reverse .editorial-row__content {
    order: 2;
}
.editorial-row--reverse .editorial-row__image {
    order: 1;
}
.editorial-row__number {
    display: block;
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    line-height: 1;
    color: var(--color-orange);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}
.editorial-row__text {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    max-width: none;
}
.editorial-row__image {
    border-radius: 24px;
    overflow: hidden;
}
.editorial-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}

/* ============================================================
   CTA BANNER — Shared across pages
   ============================================================ */
.cta-banner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    opacity: 1;
    transform: none;
}
.cta-banner .eyebrow {
    display: block;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.cta-banner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    margin-bottom: 1rem;
}
.cta-banner h2.section-title {
    font-size: clamp(2rem, 5vw, 4.5rem);
}
.cta-banner p {
    color: var(--color-text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}
.cta-banner--wide {
    max-width: none;
    padding: 80px 60px;
}
.cta-banner--wide .section-title {
    margin-bottom: 1.25rem;
}
.cta-banner--wide p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* Mission — Pinned section with numbered cards */
.about-mission .pinned-section__left .eyebrow {
    margin-bottom: 1.5rem;
}
.mission-card {
    padding: 40px 0;
    border-bottom: 1px solid var(--color-border);
}
.mission-card:last-child {
    border-bottom: none;
}
.mission-card__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-orange);
    opacity: 0.3;
    margin-bottom: 1rem;
}
.mission-card p {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
    max-width: none;
}

/* Team */
.about-team__intro {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-bottom: 3rem;
    line-height: 1.7;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Flip card */
.team-card--front {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem;
}
.team-card--back {
    display: none;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}
.team-card-wrap.is-flipped .team-card--front {
    display: none;
}
.team-card-wrap.is-flipped .team-card--back {
    display: flex;
}

/* Flip button */
.team-card__flip-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(224, 120, 80, 0.15);
    border: 1px solid rgba(224, 120, 80, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}
.team-card__flip-btn:hover {
    background: var(--color-orange);
    color: #fff;
}

.team-card {
    text-align: center;
    max-width: none;
    opacity: 1;
    transform: none;
}
.team-card__photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1.5rem;
    background: rgba(251, 251, 244, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}
.team-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.team-card__name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.team-card__title {
    font-size: 0.875rem;
    color: var(--color-orange);
    font-weight: 500;
    margin-bottom: 1rem;
}
.team-card__bio {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}
.team-card__extended-bio {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    text-align: left;
    margin-top: 1rem;
}
.team-card--back .team-card__name { margin-top: 0; }
.team-card--back .team-card__title { margin-bottom: 0.5rem; }

/* Values — Horizontal scroll */
.values-scroll {
    overflow: hidden;
}
.values-scroll .container {
    margin-bottom: 3rem;
}
.values-scroll__track {
    display: flex;
    gap: 32px;
    padding: 0 60px;
}
.value-card {
    flex-shrink: 0;
    width: 380px;
    max-width: none;
    opacity: 1;
    transform: none;
    display: flex;
    flex-direction: column;
}
.value-card__image {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}
.value-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.value-card__image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.08);
}
[data-theme="light"] .value-card__image--placeholder {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.06);
}
.value-card__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-orange);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}
.value-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.value-card p {
    color: var(--color-text-muted);
    line-height: 1.7;
    flex: 1;
}

/* Our Focus — Two column */
.focus-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.focus-section__left {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-height) + 40px);
}
.focus-section__left h2 {
    margin-bottom: 1.5rem;
}
.focus-section__left p {
    color: var(--color-text-muted);
    line-height: 1.7;
}
.focus-area {
    margin-bottom: 3rem;
}
.focus-area__name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-orange);
}
.focus-area .accordion-item:first-child {
    border-top: none;
}

/* Explore More */
.explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 3rem;
}
.explore-card {
    display: flex;
    flex-direction: column;
    max-width: none;
    opacity: 1;
    transform: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.explore-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-orange);
    color: inherit;
}
.explore-card__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1;
    color: var(--color-orange);
    opacity: 0.3;
    margin-bottom: 1rem;
}
.explore-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.explore-card p {
    color: var(--color-text-muted);
    flex: 1;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}
.explore-card__arrow {
    color: var(--color-orange);
}

/* ============================================================
   ACCESS & IMPACT PAGE
   ============================================================ */

/* Stat Callout — Contained in glass card */
/* Stat callout — two-column layout */
.stat-callout__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.stat-callout__left {
    border-right: 1px solid var(--color-border);
    padding-right: 60px;
}
.stat-callout__inner {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 1rem;
}
.stat-callout__prefix {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    color: var(--color-text-muted);
}
.stat-callout__number {
    font-family: var(--font-serif);
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 400;
    line-height: 1;
    color: var(--color-orange);
}
.stat-callout__suffix {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 6vw, 4rem);
    color: var(--color-orange);
}
.stat-callout__reference {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.6;
    font-style: italic;
}
.stat-callout__context {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.stat-callout__intro {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    line-height: 1.5;
    color: var(--color-text-muted);
}

/* Timeline section */
.timeline-section > .container > .eyebrow {
    display: block;
    text-align: center;
}
.timeline-section > .container > .section-title {
    text-align: center;
}
.timeline-section > .container > .section-title {
    margin-bottom: 3.5rem;
}

/* Timeline — with step numbers and proper spacing */
.timeline {
    display: flex;
    gap: 48px;
    justify-content: center;
    position: relative;
    margin-top: 3rem;
}
.timeline__step {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}
.timeline__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--color-orange);
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--color-orange);
    margin-bottom: 1rem;
    flex-shrink: 0;
}
.timeline__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: var(--color-orange);
    color: #fff;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    white-space: nowrap;
}
.timeline__content {
    max-width: none;
    width: 100%;
    opacity: 1;
    transform: none;
}
.timeline__content h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}
.timeline__content p {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.timeline__connector {
    position: absolute;
    top: 24px;
    right: -36px;
    width: 24px;
    height: 2px;
    background: linear-gradient(to right, var(--color-orange), var(--color-border));
}

/* Health Systems — Two column */
.health-systems__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.health-systems__left h2 {
    margin-bottom: 1.5rem;
}
.health-systems__left p {
    color: var(--color-text-muted);
    line-height: 1.7;
}
.health-systems__list {
    list-style: none;
    padding: 0;
    margin-top: 2rem;
}
.health-systems__image {
    border-radius: 16px;
    overflow: hidden;
}
.health-systems__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}
.health-systems__list li {
    padding: 16px 0 16px 28px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    color: var(--color-text-muted);
    line-height: 1.6;
}
.health-systems__list li:last-child {
    border-bottom: none;
}
.health-systems__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
}

/* ============================================================
   COLLABORATION PAGE
   ============================================================ */
.collab-lookfor__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.collab-lookfor__content h2 {
    margin-bottom: 1rem;
}
.collab-lookfor__content p {
    color: var(--color-text-muted);
    line-height: 1.7;
}
.collab-lookfor__image {
    border-radius: 24px;
    overflow: hidden;
}
.collab-lookfor__image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

/* ============================================================
   MEDIA PAGE
   ============================================================ */
.media-filters { padding: 60px 0 8px; }
section.media-grid-section { padding-top: 24px; padding-bottom: 40px; }
.media-filters__form {
    display: flex;
    gap: 16px;
    align-items: center;
}
.media-filters__select,
.media-filters__input {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    padding: 12px 16px;
    background: rgba(251, 251, 244, 0.08);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-light);
    outline: none;
    transition: border-color 0.3s ease;
}
.media-filters__select:focus,
.media-filters__input:focus {
    border-color: var(--color-orange);
}
.media-filters__select {
    min-width: 160px;
    padding-right: 20px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.media-filters__select option { background: var(--color-dark); }
.media-filters__search {
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 400px;
    position: relative;
}
.media-filters__search .media-filters__input {
    width: 100%;
    padding-right: 48px;
}
.media-filters__btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-text-muted);
    padding: 8px;
    cursor: pointer;
    transition: color 0.3s ease;
}
.media-filters__btn:hover { color: var(--color-orange); }

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.media-card {
    max-width: none;
    margin: 0;
    opacity: 1;
    transform: none;
    padding: 0;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.media-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-orange);
}
.media-card__image {
    display: block;
    aspect-ratio: 3/2;
    overflow: hidden;
}
.media-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.media-card:hover .media-card__image img {
    transform: scale(1.05);
}
.media-card__content { padding: 24px; }
.media-card__date {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: 0.5rem;
}
.media-card__title {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
}
.media-card__title a { color: inherit; }
.media-card__title a:hover { color: var(--color-orange); }
.media-card__excerpt {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.media-card__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-orange);
}
.media-empty {
    max-width: none;
    opacity: 1;
    transform: none;
    text-align: center;
    color: var(--color-text-muted);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 3rem;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    border-color: var(--color-orange);
    color: var(--color-orange);
}

/* ============================================================
   INVESTORS PAGE
   ============================================================ */

/* Corporate Profile — Two column */
.investors-profile__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.investors-profile__content p {
    color: var(--color-text-muted);
    line-height: 1.7;
}
.investors-profile__image {
    border-radius: 24px;
    overflow: hidden;
}
.investors-profile__image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}

/* Strategy Cards (inside pinned section) */
.investors-strategy .pinned-section__left .eyebrow {
    margin-bottom: 1.5rem;
}
.strategy-card {
    margin-bottom: 32px;
    overflow: hidden;
}
.strategy-card__header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border);
}
.strategy-card__header h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
}
.strategy-card__header--left {
    background: linear-gradient(135deg, var(--color-orange), #c96840);
}
.strategy-card__header--right {
    background: linear-gradient(135deg, #4a90a4, #2d6b7f);
}
.strategy-card__list {
    list-style: none;
    padding: 32px;
}
.strategy-card__list li {
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    position: relative;
    line-height: 1.6;
}
.strategy-card__list li:last-child { border-bottom: none; }
.strategy-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
}
.strategy-card--banner {
    text-align: center;
    background: linear-gradient(135deg, rgba(224, 120, 80, 0.15), rgba(74, 144, 164, 0.15));
}
.strategy-card--banner p {
    font-family: var(--font-serif);
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    line-height: 1.6;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
/* Contact Main — Form + Sidebar */
.contact-main__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: start;
}
.contact-main__sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-height) + 40px);
}
.contact-sidebar {
    max-width: none;
    opacity: 1;
    transform: none;
    margin-bottom: 24px;
}
.contact-sidebar__heading {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.contact-sidebar__address {
    font-style: normal;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 1rem;
}
.contact-sidebar__company {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}
.contact-sidebar__map {
    border-radius: 16px;
    overflow: hidden;
    min-height: 300px;
    border: 1px solid var(--color-border);
}
.contact-sidebar__map iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: 0;
}
#oranda-map {
    width: 100%;
    height: 300px;
}
#oranda-map .leaflet-control-attribution {
    background: rgba(10, 10, 10, 0.6);
    color: rgba(255, 255, 255, 0.4);
    font-size: 10px;
}
#oranda-map .leaflet-control-attribution a {
    color: rgba(255, 255, 255, 0.5);
}
[data-theme="light"] #oranda-map .leaflet-control-attribution {
    background: rgba(251, 251, 244, 0.8);
    color: rgba(10, 10, 10, 0.4);
}
[data-theme="light"] #oranda-map .leaflet-control-attribution a {
    color: rgba(10, 10, 10, 0.5);
}
#oranda-map .leaflet-control-zoom a {
    background: rgba(20, 20, 20, 0.8);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}
#oranda-map .leaflet-control-zoom a:hover {
    background: rgba(20, 20, 20, 0.95);
    color: #fff;
}
[data-theme="light"] #oranda-map .leaflet-control-zoom a {
    background: rgba(251, 251, 244, 0.9);
    color: rgba(10, 10, 10, 0.8);
    border-color: rgba(10, 10, 10, 0.1);
}
[data-theme="light"] #oranda-map .leaflet-control-zoom a:hover {
    background: #fff;
    color: #0a0a0a;
}
.oranda-map-marker {
    background: none !important;
    border: none !important;
}
#oranda-map .leaflet-popup-content-wrapper {
    background: rgba(20, 20, 20, 0.9);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
#oranda-map .leaflet-popup-tip {
    background: rgba(20, 20, 20, 0.9);
}
#oranda-map .leaflet-popup-close-button {
    color: rgba(255, 255, 255, 0.5);
}
[data-theme="light"] #oranda-map .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    color: rgba(10, 10, 10, 0.9);
    border-color: rgba(10, 10, 10, 0.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
[data-theme="light"] #oranda-map .leaflet-popup-tip {
    background: rgba(255, 255, 255, 0.95);
}
[data-theme="light"] #oranda-map .leaflet-popup-close-button {
    color: rgba(10, 10, 10, 0.4);
}

/* Contact Form */
.contact-form {
    opacity: 1;
    transform: none;
}
.contact-form__hp {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    overflow: hidden;
}
.contact-form__fieldset {
    border: none;
    margin-bottom: 2rem;
}
.contact-form__fieldset legend {
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}
.contact-form__radios {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.contact-form__radio {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}
.contact-form__radio input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--color-orange);
}
.contact-form__radio span {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
}
.contact-form__field {
    margin-bottom: 1.5rem;
}
.contact-form__field label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}
.contact-form__field input,
.contact-form__field textarea {
    width: 100%;
    font-family: var(--font-sans);
    font-size: 1rem;
    padding: 14px 16px;
    background: rgba(251, 251, 244, 0.06);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    color: var(--color-text-light);
    outline: none;
    transition: border-color 0.3s ease;
}
.contact-form__field input:focus,
.contact-form__field textarea:focus {
    border-color: var(--color-orange);
}
.contact-form__field textarea { resize: vertical; min-height: 120px; }
.contact-form__captcha { max-width: 300px; }
.captcha-question {
    font-weight: 600;
    color: var(--color-orange);
}
.contact-form__actions { margin-top: 2rem; }
.contact-form__submit {
    background: var(--color-orange);
    color: #fff;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
}
.contact-form__submit:hover {
    background: var(--color-orange-light);
    transform: translateY(-2px);
}
.contact-form__status {
    margin-top: 1rem;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.9375rem;
    display: none;
}
.contact-form__status.is-success {
    display: block;
    background: rgba(52, 199, 89, 0.15);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: #34c759;
}
.contact-form__status.is-error {
    display: block;
    background: rgba(255, 59, 48, 0.15);
    border: 1px solid rgba(255, 59, 48, 0.3);
    color: #ff3b30;
}

/* Careers — Two column */
.careers-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}
.careers-section__image {
    border-radius: 24px;
    overflow: hidden;
    position: -webkit-sticky;
    position: sticky;
    top: calc(var(--header-height) + 40px);
}
.careers-section__image img {
    width: 100%;
    height: auto;
    border-radius: 24px;
}
.careers-section__values {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.careers-section__values li {
    padding: 12px 0 12px 24px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
    position: relative;
    line-height: 1.6;
}
.careers-section__values li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-orange);
}

/* Adverse Event Reporting */
.ae-section__inner {
    max-width: none;
    opacity: 1;
    transform: none;
    border: 1px solid var(--color-orange);
}
.ae-section__inner h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.ae-section__inner p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* ============================================================
   PRIVACY / POLICY PAGE
   ============================================================ */
.policy-section {
    padding-bottom: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
}
.policy-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.policy-section__title {
    font-family: var(--font-serif);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}
.policy-section__body {
    color: var(--color-text-muted);
    line-height: 1.85;
    font-size: 1rem;
}
.policy-section__body p {
    margin-bottom: 1.25rem;
}
.policy-section__body p:last-child {
    margin-bottom: 0;
}
.policy-section__body ul {
    padding-left: 0;
    list-style: none;
    margin-bottom: 1.25rem;
}
.policy-section__body ul:last-child {
    margin-bottom: 0;
}
.policy-section__body li {
    padding: 10px 0 10px 24px;
    position: relative;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.policy-section__body li:last-child {
    border-bottom: none;
}
.policy-section__body li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-orange);
}
.policy-section__body strong {
    color: var(--color-text-light);
    font-weight: 600;
}
.policy-section__body a {
    color: var(--color-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.policy-section__body a:hover {
    text-decoration-color: transparent;
}
.policy-contact {
    margin-top: 3rem;
    padding: 32px;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    color: var(--color-text-muted);
    line-height: 1.7;
    text-align: center;
}
.policy-contact p {
    text-align: center;
    margin: 0;
    max-width: none;
}
.policy-contact a {
    color: var(--color-orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}
[data-theme="light"] .policy-section__title {
    color: rgba(10, 10, 10, 0.9);
}
[data-theme="light"] .policy-section__body li {
    border-bottom-color: rgba(10, 10, 10, 0.06);
}
[data-theme="light"] .policy-section__body strong {
    color: rgba(10, 10, 10, 0.9);
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.error-404__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.error-404__media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.error-404__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(
        ellipse at center,
        rgba(10, 10, 10, 0.3) 0%,
        rgba(10, 10, 10, 0.7) 100%
    );
}
.error-404__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px;
}
.error-404__content .eyebrow {
    color: var(--color-orange);
    margin-bottom: 0.25rem;
    display: block;
}
.error-404__title {
    font-size: clamp(6rem, 15vw, 14rem);
    font-family: var(--font-serif);
    line-height: 0.9;
    color: #fff;
    margin-bottom: 2rem;
}
.error-404__text {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}
[data-theme="light"] .error-404__overlay {
    background: linear-gradient(
        to bottom,
        rgba(251, 251, 244, 0.85) 0%,
        rgba(251, 251, 244, 0.7) 50%,
        rgba(251, 251, 244, 0.9) 100%
    );
}
[data-theme="light"] .error-404__title { color: var(--color-dark); }
[data-theme="light"] .error-404__text { color: rgba(10, 10, 10, 0.6); }
[data-theme="light"] .error-404__content .eyebrow { color: var(--color-orange); }

/* ============================================================
   SINGLE POST / ARTICLE
   ============================================================ */
.page-hero-banner--no-media {
    background: var(--color-dark-secondary);
}
.page-hero-banner--no-media .page-hero-banner__overlay {
    background: none;
}
[data-theme="light"] .page-hero-banner--no-media {
    background: var(--color-bg);
}
[data-theme="light"] .page-hero-banner--no-media .page-hero-banner__overlay {
    background: none;
}
.page-hero-banner--no-media .page-hero-banner__title {
    max-width: 800px;
    margin-bottom: 2rem;
}
.page-hero-banner--no-media .page-hero-banner__date {
    margin-top: 0.5rem;
}
.article-content__hero-image {
    margin-bottom: 3rem;
    border-radius: 24px;
    overflow: hidden;
}
.article-content__body {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--color-text-muted);
}
.article-content__body h2,
.article-content__body h3 {
    font-family: var(--font-serif);
    color: var(--color-text-light);
    margin: 2rem 0 1rem;
}
.article-content__body p { margin-bottom: 1.5rem; }
.article-content__body img {
    border-radius: 16px;
    margin: 2rem 0;
}
.article-content__body a {
    color: var(--color-orange);
    text-decoration: underline;
}
.article-content__footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

/* ============================================================
   MODALS
   ============================================================ */
.modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
.modal__content {
    position: relative;
    z-index: 1;
    max-width: 520px;
    width: 90%;
    opacity: 1;
    transform: none;
    padding: 40px;
}
.modal__content h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.modal__content p {
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}
.modal__content p a {
    color: var(--color-orange);
    text-decoration: underline;
}
.modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 1.5rem;
}
.modal__btn {
    flex: 1;
    padding: 14px 24px;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    background: none;
    color: var(--color-text-light);
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.modal__btn:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.modal__btn--accept,
.modal__btn--continue,
.modal__btn--confirm-hcp {
    background: var(--color-orange);
    border-color: var(--color-orange);
    color: #fff;
}
.modal__btn--accept:hover,
.modal__btn--continue:hover,
.modal__btn--confirm-hcp:hover {
    background: var(--color-orange-light);
    border-color: var(--color-orange-light);
    color: #fff;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    padding: 0 24px 24px;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}
.cookie-banner.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}
.cookie-banner__inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 28px 36px;
    background: rgba(20, 20, 20, 0.85);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}
.cookie-banner__text h3 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    margin-bottom: 6px;
    color: var(--color-text-light);
}
.cookie-banner__text p {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
    max-width: none;
}
.cookie-banner__text a {
    color: var(--color-orange);
    text-decoration: underline;
}
.cookie-banner__actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}
.cookie-banner__actions .btn {
    white-space: nowrap;
    padding: 12px 24px;
    font-size: 0.875rem;
}
[data-theme="light"] .cookie-banner__inner {
    background: rgba(251, 251, 244, 0.9);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .cookie-banner__text h3 { color: #0a0a0a; }
[data-theme="light"] .cookie-banner__text p { color: rgba(10, 10, 10, 0.65); }

/* ============================================================
   NEW FOOTER (rebuilt)
   ============================================================ */
.footer__nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
}
.footer__nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
}
.footer__nav-links a {
    font-size: 0.9375rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}
.footer__nav-links a:hover { color: var(--color-orange); }
.footer__back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 1px solid var(--color-border);
    border-radius: 100px;
    padding: 8px 18px;
    color: var(--color-text-muted);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 32px;
}
.footer__back-to-top:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
.footer__utility-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}
.footer__utility-row a {
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}
.footer__utility-row a:hover { color: var(--color-orange); }
.footer__legal {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-border);
}
.footer__legal p {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    opacity: 0.7;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    max-width: none;
}
.footer__legal p:last-child { margin-bottom: 0; }

/* ============================================================
   SUBPAGE RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .explore-grid { grid-template-columns: repeat(2, 1fr); }
    .media-grid { grid-template-columns: repeat(2, 1fr); }
    .strategy-card { margin-bottom: 24px; }
    .editorial-row { gap: 40px; }
    .page-hero--with-image .page-hero__grid { gap: 40px; }
    .investors-profile__grid { gap: 40px; }
    .collab-lookfor__grid { gap: 40px; }
    .health-systems__grid { gap: 40px; }
    .careers-section__grid { gap: 40px; }
    .focus-section__grid { gap: 40px; }
    .contact-main__grid { gap: 40px; }
}

@media (max-width: 768px) {
    .page-hero-banner { height: 450px; }
    .page-hero-banner__title { font-size: clamp(2rem, 5.5vw, 3.5rem); }
    .section-title { font-size: clamp(1.75rem, 4.5vw, 2.5rem); }
    .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .explore-grid { grid-template-columns: 1fr; }
    .media-grid { grid-template-columns: 1fr; }
    .media-filters__form { flex-direction: column; }
    .media-filters__search { max-width: none; }
    .contact-main__grid { grid-template-columns: 1fr; }
    .contact-main__sidebar { position: static; }
    .contact-form__radios { flex-direction: column; }
    .editorial-row { grid-template-columns: 1fr; gap: 24px; }
    .editorial-row--reverse .editorial-row__content,
    .editorial-row--reverse .editorial-row__image { order: unset; }
    .focus-section__grid { grid-template-columns: 1fr; }
    .focus-section__left { position: static; }
    .stat-callout__grid { grid-template-columns: 1fr; }
    .stat-callout__left { border-right: none; padding-right: 0; border-bottom: 1px solid var(--color-border); padding-bottom: 32px; }
    .health-systems__grid { grid-template-columns: 1fr; }
    .investors-profile__grid { grid-template-columns: 1fr; }
    .collab-lookfor__grid { grid-template-columns: 1fr; }
    .careers-section__grid { grid-template-columns: 1fr; }
    .careers-section__image { position: static; }
    .timeline {
        flex-direction: column;
        gap: 32px;
    }
    .timeline__step { max-width: none; }
    .timeline__connector {
        position: static;
        width: 2px;
        height: 32px;
        margin: 0 auto;
        background: linear-gradient(to bottom, var(--color-orange), var(--color-border));
    }
    .values-scroll__track {
        padding: 0 24px;
    }
    .value-card {
        width: 300px;
    }
    .footer__nav-row { flex-direction: column; gap: 16px; align-items: flex-start; }
    .footer__nav-links { flex-direction: column; gap: 12px; }
    .footer__back-to-top { margin-left: 0; }
    .footer__utility-row { flex-direction: column; gap: 12px; }
    .modal__actions { flex-direction: column; }
    .cookie-banner { padding: 0 16px 16px; }
    .cookie-banner__inner { flex-direction: column; gap: 20px; padding: 24px; text-align: center; }
    .cookie-banner__actions { width: 100%; }
    .cookie-banner__actions .btn { flex: 1; }
}

/* ============================================================
   SUBPAGE LIGHT MODE OVERRIDES
   ============================================================ */
[data-theme="light"] .breadcrumb a { color: rgba(10, 10, 10, 0.5); }
[data-theme="light"] .breadcrumb__sep { color: rgba(10, 10, 10, 0.2); }
[data-theme="light"] .breadcrumb__current { color: var(--color-orange); }
[data-theme="light"] .accordion-item__header { color: rgba(10, 10, 10, 0.9); }
[data-theme="light"] .accordion-item__content { color: rgba(10, 10, 10, 0.6); }
[data-theme="light"] .placeholder-img {
    background: rgba(10, 10, 10, 0.03);
    border-color: rgba(10, 10, 10, 0.1);
}
[data-theme="light"] .editorial-row__number { color: var(--color-orange); }
[data-theme="light"] .mission-card__number { color: var(--color-orange); }
[data-theme="light"] .value-card__number { color: var(--color-orange); }
[data-theme="light"] .health-systems__right {
    background: rgba(251, 251, 244, 0.5);
    border-color: rgba(10, 10, 10, 0.08);
}
[data-theme="light"] .media-filters__select,
[data-theme="light"] .media-filters__input {
    background: rgba(10, 10, 10, 0.05);
    border-color: rgba(10, 10, 10, 0.12);
    color: rgba(10, 10, 10, 0.9);
}
[data-theme="light"] .media-filters__select option { background: #fbfbf4; }
[data-theme="light"] .contact-form__field input,
[data-theme="light"] .contact-form__field textarea {
    background: rgba(10, 10, 10, 0.04);
    border-color: rgba(10, 10, 10, 0.12);
    color: rgba(10, 10, 10, 0.9);
}
[data-theme="light"] .modal__overlay { background: rgba(0, 0, 0, 0.4); }
[data-theme="light"] .modal__content {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(10, 10, 10, 0.1);
}
[data-theme="light"] .strategy-card__header h3 { color: #fff; }
[data-theme="light"] .ae-section__inner { border-color: var(--color-orange); }
[data-theme="light"] .footer__back-to-top {
    border-color: rgba(10, 10, 10, 0.15);
    color: rgba(10, 10, 10, 0.6);
}
[data-theme="light"] .footer__back-to-top:hover {
    border-color: var(--color-orange);
    color: var(--color-orange);
}
