/* ─── DESIGN TOKENS ─── */
:root {
    --bg:          #f4f6f8;
    --surface:     #ffffff;
    --surface-2:   #eef1f5;
    --border:      rgba(100,120,150,0.15);
    --accent:      #5b9bd5;
    --accent-dark: #2f6fa8;
    --text:        #1a2535;
    --text-muted:  #5a6a7e;
    --glass-bg:    rgba(255,255,255,0.01);
    --overlay:     rgba(15,25,45,0.52);
    --radius:      10px;
    --radius-lg:   18px;
}

html { scroll-behavior: auto; }
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

/* ─── NAVIGATION ─── */
.site-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    z-index: 100;
}

/* FIX: scrolled state — JS adds this class on scroll */
.site-header.scrolled {
    position: fixed;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 12px rgba(20,60,120,0.08);
}
.site-header.scrolled .nav-links a { color: var(--text-muted); }
.site-header.scrolled .nav-links a:hover { color: var(--text); }

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 56px;
    gap: 16px;
}
.logo img { height: 44px; }
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    flex: 1;
    justify-content: center;
}
.nav-links a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.2s;
}
.nav-links a:hover { color: #fff; }

/* ─── HAMBURGER (mobile only) ─── */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: var(--radius);
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}
.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform 0.25s, opacity 0.25s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(15,25,45,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255,255,255,0.12);
    padding: 8px 0 16px;
    z-index: 99;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 12px 24px;
    transition: background 0.15s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.08); color: #fff; }

/* ─── LANGUAGE TOGGLE ─── */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    overflow: hidden;
    flex-shrink: 0;
}
.lang-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.65);
    font-family: 'DM Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.lang-btn.active {
    background: rgba(255,255,255,0.22);
    color: #fff;
}
.lang-btn:hover:not(.active) { color: rgba(255,255,255,0.9); }

/* Scrolled header lang toggle */
.site-header.scrolled .lang-toggle {
    background: rgba(26,47,78,0.1);
    border-color: rgba(47,111,168,0.3);
}
.site-header.scrolled .lang-btn { color: var(--text-muted); }
.site-header.scrolled .lang-btn.active {
    background: var(--accent);
    color: #fff;
}
/* Change hamburger color when header is scrolled */
.site-header.scrolled .hamburger span {
    background: var(--text-muted); /* or var(--text) for darker */
}


@media (min-width: 769px) {
    /* Show desktop nav */
    nav .nav-links {
        display: flex;
    }

    /* Hide mobile drawer */
    .mobile-nav {
        display: none !important;
    }

    /* Hide hamburger on desktop */
    .hamburger {
        display: none;
    }
}

@media (max-width: 768px) {
    /* Hide desktop nav links */
    nav .nav-links {
        display: none;
    }

    /* Show hamburger */
    .hamburger {
        display: flex;
    }

    /* Mobile drawer hidden until opened */
    .mobile-nav {
        display: none;
    }
    .mobile-nav.open {
        display: flex;
    }
}

/* ─── HERO ─── */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fff;
}
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    animation: heroZoom 12s ease-in-out infinite alternate;
}
.hero-slide.active { opacity: 1; }
@keyframes heroZoom {
    from { transform: scale(1.05); }
    to   { transform: scale(1.00); }
}
.hero-slide-1 { background-image: url('Images/busy-cargo-port.jpg'); }
.hero-slide-2 { background-image: url('Images/vessel in port.jpg'); }
.hero-slide-3 { background-image: url('Images/Roofer_at_Work.png'); }
.hero-slide-4 { background-image: url('Images/Nighttime_Driving_Reflections.png'); }

.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background: var(--overlay); pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(transparent, var(--bg));
    pointer-events: none; z-index: 3;
}
.hero-glass {
    position: relative; z-index: 2;
    width: min(820px, 88vw);
    padding: 56px 48px;
    background: var(--glass-bg);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.hero h1 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 400;
    line-height: 1.12;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}
.hero h1 em { font-style: italic; color: #a8d4f5; }
.hero-sub {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    max-width: 480px;
    margin: 0 auto 32px;
    font-weight: 300;
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #fff;
    padding: 13px 28px;
    border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 24px rgba(47,111,168,0.4);
    transition: background 0.2s, transform 0.15s;
}
.hero-cta:hover { background: var(--accent-dark); transform: translateY(-1px); }
.hero-cta .dot {
    width: 8px; height: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}
.slide-indicators {
    position: absolute; bottom: 148px; right: 56px; z-index: 2;
    display: flex; gap: 7px; align-items: center;
}
.slide-dot {
    width: 26px; height: 3px; border-radius: 2px;
    background: rgba(255,255,255,0.3); cursor: pointer;
    transition: background 0.3s, width 0.3s;
}
.slide-dot.active { background: rgba(255,255,255,0.9); width: 36px; }

/* ─── LAYOUT ─── */
section { padding: 80px 24px; }
.container { max-width: 1100px; margin: 0 auto; }
.container-narrow { max-width: 760px; margin: 0 auto; }

h2 {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.7rem, 3.5vw, 2.4rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--text);
    text-align: center;
    margin-bottom: 12px;
}
.section-intro {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 48px;
    font-weight: 300;
}

/* ─── ANSWER-FIRST SUMMARY ─── */
.answer-first {
    background: linear-gradient(135deg, rgba(91,155,213,0.08) 0%, rgba(47,111,168,0.05) 100%);
    border: 1px solid rgba(91,155,213,0.25);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 48px;
}
.answer-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 8px;
    text-align: left;
}
.answer-text {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.65;
    font-weight: 400;
    text-align: left;
}

/* ─── WHAT IS SELFTY ─── */
.selfty-intro { background: var(--surface); }
.selfty-intro p {
    text-align: center;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 10px;
}

/* ─── ACCORDION ─── */
.accordion-wrap { margin-top: 40px; }
.acc-item {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
    background: var(--surface);
}
.acc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
    transition: background 0.15s;
    user-select: none;
}
.acc-header:hover { background: var(--surface-2); }
.acc-icon {
    width: 24px; height: 24px;
    border-radius: 50%;
    border: 1.5px solid var(--accent);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.25s;
}
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-body-inner {
    padding: 0 22px 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}
.acc-body-inner p + p { margin-top: 12px; }
.acc-item.open .acc-body { max-height: 1000px; }

/* ─── COMPASS SECTION ─── */
.compass-section {
    background: var(--surface-2);
    padding: 80px 24px 0;
}

/* Two-column hero layout */
.compass-wrap-outer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
    max-width: 1060px;
    margin: 0 auto;
    padding-bottom: 48px;
}

/* LEFT: image */
.compass-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

/* FIX: removed conflicting overflow:hidden / overflow:visible — use visible so shadow shows */
.compass-img-wrap {
    width: 100%;
    max-width: 420px;
    position: relative;
    top: 20px;
    overflow: visible;
}

.compass-img-wrap img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(20,60,120,0.1);
}

/* Remove outline and shadow from stacked compass images */
.compass-stack img {
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

/* ─── STACKED COMPASS (outer ring + spinning symbol) ─── */
.compass-stack {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.compass-text,
.compass-symbol {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transform-origin: center center;
}

.compass-text { z-index: 1; }

.compass-symbol {
    z-index: 2;
    animation: spin-symbol 12s linear infinite;
    transform-origin: center center;
}

@keyframes spin-symbol {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* CTA button */
.compass-cta-btn {
    background: var(--accent-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    padding: 14px 28px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(47,111,168,0.3);
    transition: background 0.2s, transform 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}
.compass-cta-btn:hover { background: var(--accent); transform: translateY(-1px); }
.compass-cta-btn.open { background: #1a2f4e; }
.compass-arrow {
    display: inline-block;
    font-style: normal;
    transition: transform 0.3s;
    font-size: 1.1rem;
}

/* RIGHT: text */
.compass-right { display: flex; flex-direction: column; gap: 16px; }
.compass-tagline { font-size: 1rem; font-weight: 600; color: var(--text-muted); }
.compass-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
    font-weight: 300;
}
.compass-ctx-cards { display: flex; flex-direction: column; gap: 10px; }
.compass-ctx-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 12px 14px;
}
.compass-ctx-icon { font-size: 1.25rem; flex-shrink: 0; }

.compass-ctx-icon img {
    width: 32px;
    height: auto;
    object-fit: contain;
    display: block;
}
.compass-ctx-card strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}
.compass-ctx-card span {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* Accordion wrapper */
.compass-accordion-wrap {
    background: var(--surface);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    box-shadow: 0 -2px 16px rgba(20,60,120,0.07);
    overflow: hidden;
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.5s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
    max-width: 100%;
}
.compass-accordion-wrap.open {
    grid-template-rows: 1fr;
    opacity: 1;
}
.compass-accordion-inner { overflow: hidden; }

/* Accordion items */
.cacc-item { border-bottom: 1px solid var(--border); }
.cacc-item:last-child { border-bottom: none; }

.cacc-header {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 32px;
    cursor: pointer;
    text-align: left;
    font-family: 'DM Sans', sans-serif;
    transition: background 0.18s;
}
.cacc-header:hover { background: var(--surface-2); }

.cacc-num {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(91,155,213,0.15);
    color: var(--accent-dark);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.cacc-header.active .cacc-num { background: var(--accent-dark); color: #fff; }

.cacc-title { font-size: 0.95rem; font-weight: 600; color: var(--text); flex: 1; }
.cacc-header.active .cacc-title { color: var(--accent-dark); }

.cacc-chevron { font-size: 0.7rem; color: var(--text-muted); transition: transform 0.28s; flex-shrink: 0; }
.cacc-header.active .cacc-chevron { transform: rotate(180deg); }

.cacc-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.32s cubic-bezier(0.4,0,0.2,1);
}
.cacc-body.open { grid-template-rows: 1fr; }
.cacc-body-inner { overflow: hidden; }

.cacc-inner {
    padding: 4px 32px 24px 74px;
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--text-muted);
}
.cacc-summary { margin-bottom: 14px; }

.cacc-ctx-rows { display: flex; flex-direction: column; gap: 6px; }
.cacc-ctx-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 0.85rem;
}
.cacc-ctx-lbl {
    font-weight: 600;
    color: var(--accent-dark);
    min-width: 76px;
    flex-shrink: 0;
}
.cacc-ctx-val { color: var(--text-muted); line-height: 1.5; }

/* Center the "Explore the 8 Competencies" button */
.compass-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.compass-cta-btn {
    margin: 0 auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Optional: better spacing on mobile */
@media (max-width: 768px) {
    .compass-cta {
        padding: 0 16px;
    }
}

/* Adjust compass image alignment for desktop and mobile */
@media (min-width: 769px) {
    .compass-left {
        align-items: center;
        justify-content: center;
    }

    .compass-img-wrap {
        max-width: 480px; /* slightly larger for desktop */
        top: 0; /* remove upward offset */
    }
}

@media (max-width: 768px) {
    .compass-img-wrap {
        max-width: 320px;
        margin: 0 auto;
        top: 10px;
    }
}


/* ─── TEAM CONTACT BUTTONS LAYOUT ─── */
.contact-btns--team {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .contact-btns--team {
        flex-direction: row;
        justify-content: center;
    }
    .contact-btns--team .contact-btn--team {
        flex: 1;
        max-width: 280px;
    }
}

/* ─── GLOBAL ICON SIZE FIX FOR COMPASS + ACCORDION ─── */
.compass-ctx-icon img,
.cacc-ctx-row img {
    width: 32px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

/* ─── TEAM SECTION ─── */
.team-section { background: var(--surface); }
.team-wave-wrap {
    position: relative; overflow: hidden;
    padding: 64px 24px 80px;
}
.team-wave-bg {
    position: absolute; inset: 0; z-index: 0; overflow: hidden;
    background: linear-gradient(180deg, #e8f4fd 0%, #d0e8f7 50%, #b8d9f0 100%);
}
.team-wave-bg svg {
    position: absolute; bottom: 0; width: 200%; height: 60%;
}
.wave1 { animation: waveMove 9s linear infinite; opacity: 0.5; }
.wave2 { animation: waveMove 14s linear infinite reverse; opacity: 0.35; bottom: -10px; }
.wave3 { animation: waveMove 6s linear infinite; opacity: 0.25; bottom: -20px; }
.wave2, .wave3 { position: absolute; width: 200%; }
@keyframes waveMove {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.team-wave-wrap .team-grid { position: relative; z-index: 1; }

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.team-card:last-child:nth-child(3n + 1) { grid-column: 2 / 3; }
.team-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 20px 22px;
    text-align: center;
    transition: box-shadow 0.2s, transform 0.2s;
}
.team-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.07); transform: translateY(-3px); }
.team-card img {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    object-position: var(--photo-pos, center);
    margin-bottom: 14px;
    border: 3px solid var(--surface-2);
}
.team-card h4 {
    font-family: 'DM Serif Display', serif;
    font-size: 1.05rem; font-weight: 400; margin-bottom: 4px;
}
.team-role {
    font-size: 0.78rem; color: var(--accent-dark);
    font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.5px; margin-bottom: 10px;
}
.team-bio { font-size: 0.82rem; color: var(--text-muted); line-height: 1.55; font-weight: 300; }
.team-li-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 14px; color: var(--accent-dark); text-decoration: none;
    font-size: 0.82rem; font-weight: 600;
}
.team-li-link:hover { text-decoration: underline; }
.team-li-link svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── WHITEPAPER CTA ─── */
.whitepaper-cta {
    background: linear-gradient(135deg, #1a2f4e 0%, #2a4a72 100%);
    color: #fff; text-align: center; padding: 80px 24px;
}
.whitepaper-cta h2 { color: #fff; }
.whitepaper-cta .section-intro { color: rgba(255,255,255,0.72); }
.btn-primary {
    display: inline-block; background: var(--accent); color: #fff;
    padding: 13px 32px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.9rem; text-decoration: none;
    margin-top: 8px;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 20px rgba(47,111,168,0.4);
}
.btn-primary:hover { background: #4a8bc5; transform: translateY(-1px); }

/* ─── FAQ SECTION ─── */
.faq-section { background: var(--surface); }

/* ─── UN SDG ─── */
.sdg-section { background: var(--surface-2); }

/* ─── CONTACT ─── */
.contact-section { background: var(--surface); }
.contact-section > .container-narrow > p {
    text-align: center; color: var(--text-muted);
}

/* ─── CONTACT BUTTONS WITH IMAGES ─── */
.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 40px 0 60px;
}
.contact-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 18px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}
.contact-btn-img {
    width: 48px; height: 48px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.15);
    display: block;
}

/* LinkedIn */
.contact-btn--li {
    background: linear-gradient(135deg, #0a66c2 0%, #0d7be0 100%);
    color: #fff;
    box-shadow: 0 6px 20px rgba(10,102,194,0.25);
}
.contact-btn--li:hover {
    background: linear-gradient(135deg, #084f9a 0%, #0a66c2 100%);
    transform: translateY(-2px);
}

/* Team button */
.contact-btn--team {
    background: linear-gradient(135deg, #5b9bd5 0%, #2f6fa8 100%);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(47,111,168,0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 20px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all 0.25s ease;
}
.contact-btn--team:hover {
    background: linear-gradient(135deg, #4a8bc5 0%, #2a5f90 100%);
    transform: translateY(-2px);
}
.contact-btn--team .contact-btn-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.18);
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.contact-btn--team .contact-btn-label {
    font-size: 0.92rem; font-weight: 600; color: #fff; margin-bottom: 4px;
}
.contact-btn--team .contact-btn-sub {
    font-size: 0.78rem; opacity: 0.85; color: #e8f4fd;
}

/* Shared text */
.contact-btn-label {
    font-size: 0.9rem; font-weight: 600; margin-bottom: 4px;
}
.contact-btn-sub {
    font-size: 0.78rem; opacity: 0.8; font-weight: 400;
}

/* ─── INDIVIDUAL IMAGE POSITIONING ─── */
.contact-btn--team img[alt="Thorsten Guhr"] { transform: translateY(8px); }
.contact-btn--team img[alt="Jason Mcqueen"] { transform: translateY(10px); }

.privacy-box {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 40px;
}
.privacy-box h2 { text-align: left; font-size: 1.4rem; margin-bottom: 14px; }
.privacy-box p { text-align: left; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 18px; }
.btn-outline {
    display: inline-block;
    border: 1.5px solid var(--accent);
    color: var(--accent-dark);
    padding: 9px 22px; border-radius: var(--radius);
    font-weight: 600; font-size: 0.85rem; text-decoration: none;
    transition: background 0.2s;
}
.btn-outline:hover { background: rgba(91,155,213,0.1); }

/* ─── FOOTER ─── */
footer {
    background: var(--text);
    color: rgba(255,255,255,0.6);
    padding: 48px 56px;
}
.footer-inner {
    max-width: 1100px; margin: 0 auto;
    display: flex; justify-content: space-between;
    align-items: flex-start; gap: 32px; flex-wrap: wrap;
}
footer p { font-size: 0.85rem; line-height: 1.8; }
footer a { color: rgba(255,255,255,0.5); text-decoration: none; }
footer a:hover { color: #fff; }
.footer-links p { line-height: 2; }

/* ─── HERO ENTRANCE ANIMATIONS ─── */
.site-header { animation: fadeDown 0.8s cubic-bezier(0.22,1,0.36,1) both; }
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero h1    { animation: fadeUp 0.8s 0.5s cubic-bezier(0.22,1,0.36,1) both; }
.hero-sub   { animation: fadeUp 0.8s 0.7s cubic-bezier(0.22,1,0.36,1) both; }
.hero-cta   { animation: fadeUp 0.8s 0.9s cubic-bezier(0.22,1,0.36,1) both; }
.slide-indicators { animation: fadeIn 0.7s 1.3s ease both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
                transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-group > * {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.6s cubic-bezier(0.22,1,0.36,1),
                transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.reveal-group.visible > *:nth-child(1) { transition-delay: 0s;    opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(2) { transition-delay: 0.1s;  opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(3) { transition-delay: 0.2s;  opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(4) { transition-delay: 0.3s;  opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(5) { transition-delay: 0.4s;  opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(6) { transition-delay: 0.5s;  opacity: 1; transform: none; }
.reveal-group.visible > *:nth-child(7) { transition-delay: 0.6s;  opacity: 1; transform: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 860px) {
    .compass-wrap-outer {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .compass-left { align-items: flex-start; }
    .compass-img-wrap { max-width: 320px; }
    .cacc-inner { padding-left: 52px; }
}

@media (max-width: 768px) {
    nav { padding: 18px 20px; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .hero-glass { padding: 36px 24px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .team-card:last-child:nth-child(3n + 1) { grid-column: auto; }
    footer { padding: 40px 20px; }
    .slide-indicators { display: none; }
    .cacc-inner { padding-left: 44px; }
    .cacc-header { padding: 14px 20px; }
}

@media (max-width: 480px) {
    .team-grid { grid-template-columns: 1fr; }
    .cacc-inner { padding-left: 16px; }
    .cacc-num { flex-shrink: 0; }
}
