/* styles.css — Σταύρος Μάλλιαρης | Τεχνικός Ασφαλείας */

:root {
    --ink:     #0F1929;
    --ink2:    #192744;
    --accent:  #E8541A;
    --accent2: #F09030;
    --teal:    #2DAA6E;
    --slate:   #435973;
    --fog:     #F4F7FA;
    --fog2:    #E8EEF5;
    --white:   #FFFFFF;
    --ease:    cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
    scroll-behavior: smooth;
    font-size: 16px;
    /* iOS momentum scrolling */
    -webkit-overflow-scrolling: touch;
    overflow-y: scroll;
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--fog);
    color: var(--ink);
    /* Propagate momentum scrolling on iOS */
    -webkit-overflow-scrolling: touch;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--accent); }

/* ===== PROGRESS ===== */
#progress {
    position: fixed; top: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    width: 0%; z-index: 9999; transition: width 0.1s linear;
}

/* ===== NAVIGATION ===== */
nav {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    padding: 0 5%;
    height: 88px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.5s var(--ease);
}
nav.scrolled {
    height: 72px;
    background: rgba(15, 25, 41, 0.97);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(232,84,26,0.15);
}

.nav-logo {
    display: flex; align-items: center; gap: 14px;
    text-decoration: none;
}
.logo-rect {
    height: 44px; min-width: 80px; max-width: 130px;
    border-radius: 4px; overflow: hidden;
    border: 1.5px solid rgba(232,84,26,0.45);
    background: rgba(15,25,41,0.85);
    flex-shrink: 0;
    transition: box-shadow 0.3s;
    display: flex; align-items: center; justify-content: center;
    padding: 4px 8px;
}
.logo-rect img { height: 100%; width: auto; object-fit: contain; max-height: 36px; display: block; }
.logo-rect:hover { box-shadow: 0 0 0 4px rgba(232,84,26,0.2); }
.logo-text { display: flex; flex-direction: column; gap: 1px; }
.logo-text .name {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 13px; letter-spacing: 0.5px;
    color: var(--white);
}
.logo-text .title {
    font-size: 10px; letter-spacing: 0.3px;
    color: rgba(255,255,255,0.5);
    max-width: 200px; line-height: 1.3;
}

.nav-links {
    display: flex; align-items: center; gap: 36px;
}
.nav-links a {
    font-size: 13px; letter-spacing: 1.2px; text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    transition: color 0.25s;
    font-weight: 500;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.nav-cta {
    padding: 8px 20px;
    border: 1.5px solid var(--accent);
    border-radius: 4px;
    color: var(--white);
    font-weight: 600;
    transition: background 0.25s, color 0.25s;
}
.nav-links a.nav-cta:hover { background: var(--accent); }

.nav-right {
    display: flex; align-items: center; gap: 24px;
}
.lang-toggle {
    display: flex; align-items: center; gap: 6px;
}

/* nav-logo-group: flex row on all breakpoints; mobile extras shown via media query */
.nav-logo-group {
    display: flex; align-items: center; gap: 0; flex-wrap: nowrap;
}
.nav-logo-lang-sep,
.nav-logo-lang { display: none; }
.lang-btn {
    background: none; border: none; cursor: pointer;
    font-size: 12px; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.45);
    padding: 4px 6px; border-radius: 3px;
    transition: color 0.2s, background 0.2s;
    font-family: 'Inter', sans-serif;
}
.lang-btn:hover, .lang-btn.active { color: var(--white); background: rgba(255,255,255,0.08); }
.lang-sep { width: 1px; height: 14px; background: rgba(255,255,255,0.18); }
.lcode { font-weight: 600; }

.mobile-nav-right {
    display: none; align-items: center; gap: 0;
}
.mobile-lang {
    display: flex; align-items: center; gap: 1px;
}
.mobile-lang .lang-btn {
    display: flex; align-items: center; gap: 3px;
    font-size: 10px; font-weight: 600; letter-spacing: 0.7px;
    padding: 3px 6px; border-radius: 3px;
    color: rgba(255,255,255,0.45);
    background: none; border: none; cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s, background 0.2s;
}
.mobile-lang .lang-btn.active { color: var(--white); background: rgba(232,84,26,0.18); }
.mobile-lang .lang-sep { width: 1px; height: 12px; background: rgba(255,255,255,0.18); }
.mobile-lang .flag-icon { width: 14px; }
.mobile-nav-sep {
    width: 1px; height: 22px;
    background: rgba(255,255,255,0.22);
    margin: 0 8px;
    flex-shrink: 0;
}

.hamburger {
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    width: 34px; height: 34px;
    cursor: pointer; padding: 4px;
    position: relative;
}
.hamburger span {
    display: block; width: 22px; height: 2px;
    background: var(--white); border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.23,1,0.32,1),
                opacity   0.22s ease,
                width     0.28s ease;
    transform-origin: center;
    position: absolute;
}
.hamburger span:nth-child(1) { transform: translateY(-7px); }
.hamburger span:nth-child(2) { transform: translateY(0); }
.hamburger span:nth-child(3) { transform: translateY(7px); }

/* X state */
.hamburger.open span:nth-child(1) {
    transform: translateY(0) rotate(45deg);
    width: 22px;
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
    transform: translateY(0) rotate(-45deg);
    width: 22px;
}

/* ===== HERO ===== */
#heroNet {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0.40;
}
@media (max-width: 768px) {
    #heroNet { opacity: 0.18; }
}

.hero {
    position: relative; height: 100vh; min-height: 600px;
    overflow: hidden; display: flex; align-items: center;
    background: var(--ink);
}

.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transition: opacity 1.8s ease;
}
.hero-slide.active { opacity: 1; }
#slide1 { background: linear-gradient(135deg, #192744 0%, #0f1929 100%); }
#slide2 { background: linear-gradient(135deg, #0f1929 0%, #1a2f50 100%); }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        100deg,
        rgba(15,25,41,0.93) 0%,
        rgba(15,25,41,0.78) 50%,
        rgba(15,25,41,0.38) 100%
    );
    z-index: 1;
}

.hero-hex {
    position: absolute; right: 5%; top: 50%;
    transform: translateY(-50%);
    width: min(520px, 45vw); aspect-ratio: 1;
    background: radial-gradient(ellipse at center,
        rgba(232,84,26,0.07) 0%,
        transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* Hero photo group — pulled further left toward centre */
.hero-photo-group {
    position: absolute;
    right: 16%;
    top: calc(50% + 30px);
    transform: translateY(-50%);
    width: clamp(260px, 27vw, 390px);
    height: clamp(260px, 27vw, 390px);
    z-index: 2;
}
.hero-photo-wrap {
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
}
.hero-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center center;
    filter: contrast(1.04) saturate(0.92);
}

/* Shield badge — overlays bottom-right of hero photo */
.crosshair-wrap {
    position: absolute;
    bottom: 6%; right: 4%;
    z-index: 3;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    color: rgba(255,255,255,0.7);
    padding: 6px 8px;
}
.shield-badge-svg {
    width: clamp(20px, 2.3vw, 30px);
    animation: shieldFloat 4s ease-in-out infinite;
}
@keyframes shieldFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}
.ch-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 7px; letter-spacing: 1.5px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
}

/* Hero inner — shifted right toward centre */
.hero-inner {
    position: relative; z-index: 3;
    padding-left: clamp(5%, 5vw, 7%);
    margin-left: 5%;
    max-width: 58%;
    display: flex; flex-direction: column; gap: 18px;
}

.hero-credential {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(232,84,26,0.12);
    border: 1px solid rgba(232,84,26,0.3);
    border-radius: 100px;
    padding: 6px 16px;
    font-size: 11px; letter-spacing: 2px; font-weight: 600;
    color: rgba(255,255,255,0.85);
    text-transform: uppercase;
    width: fit-content;
}
.hero-credential .sep { color: var(--accent); }

.hero-name {
    display: flex; flex-direction: column; gap: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.5px;
}
.hero-name .line1 {
    font-size: clamp(38px, 5.5vw, 70px);
    color: var(--white);
}
.hero-name .line2 {
    font-size: clamp(38px, 5.5vw, 70px);
    color: var(--accent);
}

.hero-eyebrow {
    font-size: clamp(13px, 1.4vw, 16px);
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
}

.btn-accent {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 32px;
    background: var(--accent);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 14px; letter-spacing: 1px;
    border-radius: 4px;
    border: none; cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s, transform 0.2s;
    width: fit-content;
    text-transform: uppercase;
}
.btn-accent:hover { background: #d04515; transform: translateY(-2px); }

.hero-stats {
    display: flex; align-items: center; gap: 0;
    margin-top: 6px;
}
.hero-stat {
    display: flex; flex-direction: column; gap: 2px;
    padding: 0 24px;
}
.hero-stat:first-child { padding-left: 0; }
.stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 2.8vw, 28px);
    font-weight: 800; color: var(--white); line-height: 1;
}
.stat-lbl {
    font-size: 11px; letter-spacing: 0.8px;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
}
.hero-stat-sep {
    width: 1px; height: 36px;
    background: rgba(255,255,255,0.15);
}

/* Scroll hint — hidden on desktop, shown via mobile media query */
.hero-scroll-hint { display: none; }

/* ===== MARQUEE ===== */
.marquee-wrap {
    background: var(--accent);
    overflow: hidden; padding: 14px 0;
    position: relative; z-index: 5;
}
.marquee-track {
    display: flex; gap: 0;
    width: max-content;
    animation: marqueeScroll 28s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.marquee-item {
    display: flex; align-items: center; gap: 12px;
    padding: 0 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
}
.marquee-dot {
    width: 5px; height: 5px; border-radius: 50%;
    background: rgba(255,255,255,0.5);
    flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about-section {
    background: var(--fog);
    padding: clamp(40px, 6vw, 80px) 5%;
}
.about-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}
.about-quiz-center {
    max-width: 560px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.about-content {
    display: flex; flex-direction: column; gap: 24px;
}

/* Bio viewfinder frame */
.about-bio-frame {
    position: relative;
    padding: 28px 32px;
    margin-top: 20px;
    margin-bottom: 20px;
    max-width: 1100px;
    align-self: center;
    width: 100%;
}
.about-bio-frame::before,
.about-bio-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent);
    border-style: solid;
}
.about-bio-frame::before { top: 0;    left: 0;  border-width: 4px 0 0 4px; }
.about-bio-frame::after  { top: 0;    right: 0; border-width: 4px 4px 0 0; }

/* Bottom corners via extra spans injected in HTML */
.about-bio-corner-bl,
.about-bio-corner-br {
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--accent);
    border-style: solid;
}
.about-bio-corner-bl { bottom: 0; left: 0;  border-width: 0 0 4px 4px; }
.about-bio-corner-br { bottom: 0; right: 0; border-width: 0 4px 4px 0; }

/* Timeline constrained to bio frame width */
.about-timeline-wrap {
    position: relative;
    width: 100%;
    max-width: 860px;
    align-self: center;
    margin-top: 0.5em;
}

/* Accordion — mobile bio */
.about-accordion-wrap { display: none; }
.about-accordion { border: 1px solid rgba(25,39,68,0.15); border-radius: 8px; overflow: hidden; }
.about-acc-btn {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    padding: 14px 16px; background: var(--fog); border: none; cursor: pointer;
    font-family: inherit; font-size: 0.88em; font-weight: 700; color: #192744;
    letter-spacing: 0.01em; text-align: left; gap: 12px;
}
.about-acc-btn i { font-size: 0.75em; color: var(--accent); transition: transform 0.25s; flex-shrink: 0; }
.about-acc-btn.open i { transform: rotate(180deg); }
.about-acc-body {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.25s ease;
    background: #fff; padding: 0 16px;
    font-size: 0.9em; line-height: 1.7; color: var(--slate);
}
.about-acc-body.open { max-height: 400px; padding: 14px 16px; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    margin-bottom: 8px;
}
.eyebrow span {
    font-size: 11px; letter-spacing: 3px; font-weight: 700;
    text-transform: uppercase;
    color: var(--accent);
}
.eyebrow::before {
    content: '';
    display: block; width: 24px; height: 2px;
    background: var(--accent);
}

.section-heading {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(28px, 3.8vw, 48px);
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -0.5px;
}
.section-heading em {
    font-style: normal;
    color: var(--accent);
}
.section-heading.light { color: var(--white); }
.section-heading.light em { color: var(--accent2); }

.about-lead {
    font-size: clamp(14px, 1.3vw, 16px);
    line-height: 1.75;
    color: var(--slate);
}
.about-lead strong { color: var(--ink); font-weight: 600; }

/* About bullets */
.about-bullets {
    list-style: none;
    padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.about-bullets li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: clamp(13px, 1.2vw, 15px);
    line-height: 1.6;
    color: var(--slate);
    padding: 11px 16px;
    border-radius: 8px;
    background: rgba(232, 84, 26, 0.04);
    border-left: 3px solid var(--accent);
    transition: background 0.2s;
}
.about-bullets li::before {
    content: '→';
    color: var(--accent);
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.about-bullets li:hover { background: rgba(232, 84, 26, 0.08); }

/* Inline highlight spans */
.hi-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15em; font-weight: 800;
    color: var(--accent);
}
.hi-badge {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 0.9em;
    color: var(--accent2);
    background: rgba(240, 144, 48, 0.12);
    padding: 1px 6px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.hi-key {
    color: var(--ink);
    font-weight: 700;
}
.hi-green {
    color: #2DAA6E;
    font-weight: 700;
}

/* Dim row (animated dimension line) */
.dim-row {
    display: flex; align-items: center; gap: 10px;
    color: var(--slate); font-size: 12px; letter-spacing: 1.5px;
    text-transform: uppercase;
}
.dim-tick {
    width: 1px; height: 18px;
    background: currentColor; opacity: 0.4;
}
.dim-bar {
    flex: 1; height: 1px;
    background: currentColor; opacity: 0.2;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 1s var(--ease);
}
.dim-bar.dim-r { transform-origin: right center; }
[data-dim].measured .dim-bar { transform: scaleX(1); }
.dim-value { white-space: nowrap; opacity: 0.55; }

.heading-helmet-wrap {
    position: relative;
    display: inline-block;
}
.heading-helmet {
    position: absolute;
    width: 80px;
    right: 0;
    top: calc(-10px - 1cm);
    pointer-events: none;
    z-index: 999;
}
.heading-helmet svg {
    width: 100%; height: auto;
    display: block;
    filter: drop-shadow(0 4px 14px rgba(232,84,26,0.3));
    animation: shieldFloat 4s ease-in-out infinite;
}

.about-features {
    display: flex; flex-direction: column; gap: 12px;
    margin-top: 8px;
}
.feature-row {
    display: flex; align-items: center; gap: 20px;
    padding: 20px 22px;
    background: var(--white);
    /* stagger delays set per nth-child below */
    border: 1px solid var(--fog2);
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(15,25,41,0.05);
    position: relative; overflow: hidden;
    opacity: 0; transform: translateX(-32px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.feature-row::before {
    content: '';
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 4px; border-radius: 4px 0 0 4px;
}
.feature-row:nth-child(1)::before { background: var(--accent); }
.feature-row:nth-child(2)::before { background: var(--accent2); }
.feature-row:nth-child(3)::before { background: var(--teal); }

.feature-row:nth-child(1):hover { border-color: rgba(232,84,26,0.25); box-shadow: 0 6px 24px rgba(232,84,26,0.1); }
.feature-row:nth-child(2):hover { border-color: rgba(240,144,48,0.25); box-shadow: 0 6px 24px rgba(240,144,48,0.1); }
.feature-row:nth-child(3):hover { border-color: rgba(45,170,110,0.25); box-shadow: 0 6px 24px rgba(45,170,110,0.1); }

.feature-row:nth-child(1) { transition-delay: 0ms; }
.feature-row:nth-child(2) { transition-delay: 140ms; }
.feature-row:nth-child(3) { transition-delay: 280ms; }
.feature-row.revealed { opacity: 1; transform: none; }

.feature-row i {
    font-size: 16px; flex-shrink: 0;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
}
.feature-row:nth-child(1) i { background: rgba(232,84,26,0.12); color: var(--accent); }
.feature-row:nth-child(2) i { background: rgba(240,144,48,0.12); color: var(--accent2); }
.feature-row:nth-child(3) i { background: rgba(45,170,110,0.12); color: var(--teal); }

.feature-row strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; font-weight: 700; color: var(--ink);
    display: block; margin-bottom: 4px;
}
.feature-row span { font-size: 13px; color: var(--slate); line-height: 1.55; }

/* ── Team Section ────────────────────────────────────────────────────── */
.team-section {
    padding: 80px 7%;
    background: var(--surface);
}
.team-section-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.team-section-header {
    margin-bottom: 12px;
}
/* Sub-member cards */
.team-sub-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.team-sub-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--white);
    border: 1.5px solid var(--fog2);
    border-radius: 16px;
    padding: 24px 28px;
    box-shadow: 0 4px 24px rgba(15,25,41,0.06);
}
.team-sub-photo-wrap { flex-shrink: 0; }
.team-sub-photo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--fog2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slate);
    font-size: 28px;
}
.team-sub-photo-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid var(--ink);
    flex-shrink: 0;
}
.team-sub-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.team-sub-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    line-height: 1.2;
}
.team-sub-bio {
    font-size: 13px;
    color: var(--slate);
    line-height: 1.65;
    margin: 4px 0 0;
    white-space: nowrap;
}
@media (max-width: 700px) {
    .team-sub-cards { grid-template-columns: 1fr; }
    .team-sub-card { padding: 20px 16px; }
    .team-value-pills { flex-wrap: nowrap !important; gap: 5px; }
    .team-value-pill { font-size: 9px !important; letter-spacing: 0.8px; padding: 4px 8px !important; white-space: nowrap; }
    .team-profile-bio { text-align: left; }
}

.team-value-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}
.team-value-pill {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--ink);
    border: 1.5px solid var(--accent);
    border-radius: 999px;
    padding: 4px 12px;
}

/* Profile card — photo left, bio right */
.team-profile-card {
    display: flex;
    align-items: flex-start;
    gap: 48px;
    background: var(--white);
    border: 1.5px solid var(--fog2);
    border-radius: 20px;
    padding: 40px 44px;
    box-shadow: 0 4px 24px rgba(15,25,41,0.06);
}

/* Circular photo */
.team-profile-photo-wrap {
    flex-shrink: 0;
}

/* Bio block */
.team-profile-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 0;
}
.team-profile-role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
}
.team-profile-role::before {
    content: '';
    display: inline-block;
    width: 24px;
    height: 1.5px;
    background: var(--accent);
    flex-shrink: 0;
}
.team-profile-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: var(--ink);
    line-height: 1.1;
    margin: 0;
}
.team-profile-bio {
    font-size: 14px;
    color: var(--slate);
    line-height: 1.75;
    margin: 0;
}


/* Standalone stat pill cards */
.team-stat-pills {
    display: flex;
    gap: 14px;
}
.team-stat-pill {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px;
    border-radius: 14px;
    background: var(--white);
    border: 1.5px solid var(--fog2);
    cursor: default;
    user-select: none;
    transition: border-color 0.22s, box-shadow 0.22s, transform 0.22s;
}
.team-stat-pill i {
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    transition: color 0.22s;
}
.team-stat-pill[data-pill="experience"] { --pill-accent: #6366f1; }
.team-stat-pill[data-pill="certified"]  { --pill-accent: var(--accent); }
.team-stat-pill[data-pill="coverage"]   { --pill-accent: var(--teal); }
.team-stat-pill i { color: var(--pill-accent); }
.team-stat-pill:hover {
    border-color: var(--pill-accent);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--pill-accent) 16%, transparent);
    transform: translateY(-2px);
}
.tsp-inner {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}
.tsp-inner strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    display: block;
}
.tsp-inner span {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: var(--slate);
    line-height: 1.5;
    display: block;
}

/* Feature rows below card */
.team-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media (max-width: 700px) {
    .team-profile-card { flex-direction: column; align-items: center; gap: 24px; padding: 28px 20px; }
    .team-profile-body { align-items: center; text-align: center; }
    .team-profile-card .team-profile-role { justify-content: center; }
    .team-stat-pills { flex-direction: column; }
    .team-section { padding: 44px 4%; }
}

/* About aside — transparent card */
.about-aside {
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    background: transparent;
    border-radius: 12px;
    padding: 28px;
    border: 1.5px solid var(--fog2);
    opacity: 0; transform: translateX(36px);
    transition: opacity 0.9s var(--ease) 0.15s, transform 0.9s var(--ease) 0.15s;
}

.about-aside .sq-gauge-block,
.about-aside .sq-questions { align-self: stretch; }
.about-aside.revealed { opacity: 1; transform: none; }

/* Helmet widget */
.helmet-wrap {
    width: 90px; margin: 0 auto;
}
.helmet-wrap svg {
    width: 100%; height: auto;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(232,84,26,0.25));
    transition: transform 0.1s linear;
}

/* ── Safety Quiz ─────────────────────────────────────────────────────── */
.sq-gauge-block {
    text-align: center;
    padding: 4px 0 0;
}
.sq-gauge-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px; letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--slate); opacity: 0.65;
    margin-bottom: 2px;
}
.sq-gauge-svg {
    width: 100%; max-width: 190px;
    height: auto; display: block; margin: 0 auto;
}
.sq-status {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px; font-weight: 700;
    min-height: 18px; margin: 2px 0 0;
    letter-spacing: 0.2px;
    transition: color 0.4s;
}
.sq-status--low    { color: #E8541A; }
.sq-status--medium { color: #F09030; }
.sq-status--good   { color: #F09030; }
.sq-status--great  { color: #2DAA6E; }
.sq-status--perfect { color: #2DAA6E; }

.sq-questions {
    display: flex; flex-direction: column; gap: 7px;
}
.sq-item {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 9px 12px;
    border-radius: 8px;
    border: 1.5px solid transparent;
    background: rgba(232,84,26,0.04);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    user-select: none;
}
.sq-item:hover {
    background: rgba(232,84,26,0.08);
    border-color: rgba(232,84,26,0.25);
}
.sq-item--stavros {
    background: rgba(240,144,48,0.06);
    border-color: rgba(240,144,48,0.25);
}
.sq-item--stavros:hover {
    background: rgba(240,144,48,0.12);
    border-color: rgba(240,144,48,0.45);
}
.sq-check { display: none; }
.sq-checkmark {
    width: 17px; height: 17px; flex-shrink: 0;
    border: 2px solid #BEC9D8;
    border-radius: 4px;
    background: rgba(255,255,255,0.7);
    margin-top: 1px;
    transition: background 0.18s, border-color 0.18s;
    position: relative;
}
.sq-checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 4px; top: 1px;
    width: 5px; height: 9px;
    border: 2px solid white;
    border-top: none; border-left: none;
    transform: rotate(45deg);
}
.sq-check:checked ~ .sq-checkmark {
    background: var(--accent);
    border-color: var(--accent);
}
.sq-check:checked ~ .sq-checkmark::after { display: block; }
.sq-item--stavros .sq-check:checked ~ .sq-checkmark {
    background: var(--accent2);
    border-color: var(--accent2);
}
.sq-text {
    font-size: 12px; line-height: 1.5;
    color: var(--slate); flex: 1;
}
.sq-item--stavros .sq-text {
    color: var(--ink); font-weight: 600;
}
.sq-stavros-badge {
    display: inline-block;
    background: rgba(240,144,48,0.15);
    color: var(--accent2);
    font-size: 10px; font-weight: 700;
    padding: 1px 5px; border-radius: 4px;
    margin-left: 5px; vertical-align: middle;
    letter-spacing: 0.2px;
}

/* ===== DATA-REVEAL (general) ===== */
[data-reveal] {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}
[data-reveal].revealed {
    opacity: 1; transform: none;
}

/* ===== SERVICES ===== */
.services-section {
    background: var(--ink);
    padding: clamp(64px, 9vw, 120px) 5%;
    position: relative; overflow: hidden;
}
.services-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.services-header {
    max-width: 1240px; margin: 0 auto 56px;
}
.services-header .eyebrow span { color: var(--accent); }
.services-header .section-heading { color: var(--white); }
.services-header .section-heading em { color: var(--accent); }
.services-lead {
    font-size: clamp(14px, 1.3vw, 16px); line-height: 1.7;
    color: rgba(255,255,255,0.65); margin-top: 0; max-width: 900px;
}
.services-legal {
    margin-top: 12px; padding: 14px 20px;
    background: rgba(232,84,26,0.1);
    border-left: 3px solid var(--accent);
    border-radius: 0 6px 6px 0;
    font-size: 15px; line-height: 1.65;
    color: rgba(255,255,255,0.75); max-width: 1360px;
}

/* sec-meas — dimension-measuring animation */
.sec-meas {
    max-width: 1240px; margin: 20px auto 40px;
    display: flex; align-items: center; gap: 10px;
    color: rgba(255,255,255,0.25);
    font-size: 11px; letter-spacing: 2px;
    text-transform: uppercase;
}

/* Ticks: vertical lines that flicker in */
.sec-meas-tick {
    width: 1px; height: 0;
    background: currentColor;
    transition: height 0.25s ease;
}
.sec-meas.measured .sec-meas-tick {
    height: 16px;
}

/* Bars: extend from the ticks inward like calipers */
.sec-meas-bar {
    flex: 1; height: 1px;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform 0s;
}
.sec-meas-bar.bar-l {
    background: linear-gradient(90deg, rgba(255,255,255,0.25), transparent);
    transform-origin: left center;
}
.sec-meas-bar.bar-r {
    background: linear-gradient(270deg, rgba(255,255,255,0.25), transparent);
    transform-origin: right center;
}
.sec-meas.measured .sec-meas-bar.bar-l {
    transform: scaleX(1);
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s;
}
.sec-meas.measured .sec-meas-bar.bar-r {
    transform: scaleX(1);
    transition: transform 0.6s cubic-bezier(0.22,1,0.36,1) 0.2s;
}

/* Label: hidden until measured, then accent colour fades to dim */
.sec-meas-label {
    white-space: nowrap;
    opacity: 0;
    color: rgba(232,84,26,0.95);
    text-shadow: 0 0 12px rgba(232,84,26,0.4);
    transition: opacity 0s;
    min-width: 1ch; /* prevent layout collapse during typewriter */
}
.sec-meas.measured .sec-meas-label {
    opacity: 1;
    transition: opacity 0.15s 0.55s;
    animation: measDim 1.2s ease-out 1.6s forwards;
}
@keyframes measDim {
    to {
        color: rgba(255,255,255,0.28);
        text-shadow: none;
        letter-spacing: 2.5px;
    }
}

.services-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}
.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 36px 28px;
    transition: opacity 1s var(--ease), transform 1s var(--ease), background 0.3s, border-color 0.3s;
    opacity: 0; transform: translateY(32px);
    cursor: default;
}
.service-card.revealed { opacity: 1; transform: none; }

/* Stagger service cards */
.services-grid .service-card:nth-child(1) { transition-delay: 0ms; }
.services-grid .service-card:nth-child(2) { transition-delay: 120ms; }
.services-grid .service-card:nth-child(3) { transition-delay: 240ms; }
.services-grid .service-card:nth-child(4) { transition-delay: 360ms; }
.services-grid .service-card:nth-child(5) { transition-delay: 480ms; }
.services-grid .service-card:nth-child(6) { transition-delay: 600ms; }
.service-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700; letter-spacing: 2px;
    color: var(--accent); opacity: 0.6;
    margin-bottom: 16px;
}
.service-icon {
    font-size: 26px; color: var(--accent);
    margin-bottom: 16px; display: block;
}
.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--white);
    margin-bottom: 10px; line-height: 1.3;
}
.service-card p {
    font-size: 13.5px; line-height: 1.7;
    color: rgba(255,255,255,0.45);
}

/* ===== SECTORS ===== */
.sectors-section {
    background: var(--fog);
    padding: clamp(64px, 9vw, 120px) 5%;
    position: relative; overflow: hidden;
}

.sectors-header {
    max-width: 1240px; margin: 0 auto 56px;
}

/* Crane decoration — background watermark */
.crane-decoration {
    position: absolute;
    right: -40px; top: -60px;
    width: clamp(320px, 40vw, 520px);
    opacity: 0.06;
    color: var(--ink);
    pointer-events: none;
    z-index: 0;
}
.crane-decoration svg { width: 100%; height: auto; }

.sectors-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    position: relative; z-index: 1;
}
.sector-card {
    background: var(--white);
    border: 1px solid var(--fog2);
    border-radius: 10px;
    padding: 28px 24px;
    transition: box-shadow 0.3s, transform 0.3s var(--ease), border-color 0.3s;
    opacity: 0; transform: translateY(18px);
}
.sector-card.revealed { opacity: 1; transform: none; }
.sector-card:hover {
    box-shadow: 0 12px 40px rgba(15,25,41,0.1);
    transform: translateY(-4px);
    border-color: rgba(232,84,26,0.2);
}
.sector-icon-wrap {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(232,84,26,0.1);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 16px;
    color: var(--accent); font-size: 20px;
    transition: background 0.3s;
}
.sector-card:hover .sector-icon-wrap {
    background: rgba(232,84,26,0.18);
}
.sector-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--ink); margin-bottom: 8px;
}
.sector-card p {
    font-size: 13.5px; line-height: 1.65;
    color: var(--slate);
}
.sector-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 6px;
}
.sector-list li {
    font-size: 13px; line-height: 1.5; color: var(--slate);
    padding-left: 14px; position: relative;
}
.sector-list li::before {
    content: '—'; position: absolute; left: 0;
    color: var(--accent); font-size: 11px; top: 1px;
}
.sectors-lead {
    font-size: clamp(14px, 1.3vw, 16px); line-height: 1.7;
    color: var(--slate); margin-top: 12px; max-width: 900px;
}

/* ===== IN ACTION ===== */
.in-action-section {
    background: var(--ink);
    padding: clamp(56px, 8vw, 104px) 5%;
}
.in-action-header {
    max-width: 1200px; margin: 0 auto 48px;
    text-align: center;
}
.in-action-header .section-heading { color: var(--white); }
.in-action-header .eyebrow span { color: var(--accent); }
.in-action-header .eyebrow::before { background: var(--accent); }
.action-grid {
    max-width: 756px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.action-photo-wrap {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--ink2);
}
.action-photo-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: contrast(1.05) saturate(0.88);
    transition: none;
    display: block;
    transform: scale(1.08) translateY(0px);
}
/* Hover handled via JS parallax; fallback for non-JS */
.action-photo-wrap:hover img { filter: contrast(1.08) saturate(0.95); }

.action-caption {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 14px 18px;
    background: linear-gradient(to top, rgba(15,25,41,0.88) 0%, transparent 100%);
    font-size: 13px; letter-spacing: 0.8px;
    color: rgba(255,255,255,0.82);
    font-weight: 500;
}
@media (max-width: 640px) {
    .action-grid { grid-template-columns: 1fr; }
}

/* ===== QUOTE BANNER ===== */
.quote-banner {
    background: var(--ink2);
    padding: clamp(48px, 7vw, 88px) 5%;
    text-align: center;
    border-top: 3px solid var(--accent);
}
.quote-inner {
    max-width: 1080px; margin: 0 auto;
    display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.quote-icon {
    font-size: 32px; color: var(--accent); opacity: 0.7;
}
.quote-banner blockquote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(18px, 2.4vw, 26px);
    font-weight: 600; line-height: 1.45;
    color: rgba(255,255,255,0.85);
    font-style: normal;
}
.quote-author {
    font-size: 13px; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4); font-style: normal;
}

/* ===== RESOURCES ===== */
.resources-section {
    background: var(--fog2);
    padding: clamp(64px, 9vw, 120px) 5%;
}
.resources-header {
    max-width: 1240px; margin: 0 auto 48px;
    padding-left: 16px;
}
.resources-header .section-heading { color: var(--ink); }

.resources-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.resource-card {
    background: var(--white);
    border: 1px solid var(--fog2);
    border-radius: 10px;
    cursor: pointer;
    color: inherit; text-decoration: none;
    padding: 32px 28px;
    position: relative;
    display: flex; flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s var(--ease);
    opacity: 0; transform: translateY(18px);
}
.resource-card.revealed { opacity: 1; transform: none; }
.resource-card:hover {
    box-shadow: 0 10px 32px rgba(15,25,41,0.08);
    transform: translateY(-3px);
}
.resource-icon {
    font-size: 28px; color: var(--accent);
    margin-bottom: 16px;
}
.resource-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 16px; font-weight: 700;
    color: var(--ink); margin-bottom: 10px;
}
.resource-card p {
    font-size: 13.5px; line-height: 1.65;
    color: var(--slate); flex: 1;
}
.resource-link {
    display: inline-flex; align-items: center; gap: 6px;
    margin-top: 16px;
    font-size: 13px; font-weight: 600; font-family: 'Space Grotesk', sans-serif;
    color: var(--accent);
    text-decoration: none;
    transition: gap 0.2s;
}
.resource-link:hover { gap: 10px; }
.coming-soon-badge {
    position: absolute; top: 16px; right: 16px;
    background: rgba(232,84,26,0.1);
    color: var(--accent);
    font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px; border-radius: 100px;
    border: 1px solid rgba(232,84,26,0.25);
}

/* ===== CONTACT ===== */
.contact-section {
    background: linear-gradient(160deg, #1a2a42 0%, #141f33 40%, #0f1929 100%);
    padding: clamp(64px, 9vw, 120px) 5%;
    position: relative; overflow: hidden;
}
.contact-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.contact-header {
    max-width: 1240px; margin: 0 auto clamp(24px, 3vw, 40px);
}
.contact-grid {
    max-width: 1240px; margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 4vw, 64px);
    align-items: stretch;
}
.contact-left-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-gif-wrap {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0,0,0,0.2);
}
.contact-gif {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-person-row {
    display: flex;
    align-items: center;
    gap: 20px;
}
.contact-person-row .person-card {
    flex-shrink: 0;
}
.contact-person-row .contact-detail-list {
    flex: 1;
}
.contact-info .eyebrow span { color: var(--accent2); }
.contact-section .section-heading.light em { color: var(--accent); }

.contact-lead {
    font-size: 15px; line-height: 1.75;
    color: rgba(255,255,255,0.55);
}

.person-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 8px;
}
.person-photo {
    width: 80px; height: 80px;
    border-radius: 50%; object-fit: cover;
    border: 2px solid rgba(232,84,26,0.3);
}
.person-details h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px; font-weight: 700; color: var(--white);
}
.person-details p { font-size: 12px; color: rgba(255,255,255,0.45); }

.contact-detail-list { display: flex; flex-direction: column; gap: 12px; }
.contact-detail {
    display: flex; align-items: center; gap: 12px;
    font-size: 14px; color: rgba(255,255,255,0.65);
    transition: color 0.2s;
}
.contact-detail:hover { color: var(--white); }
.contact-detail i {
    width: 20px; text-align: center;
    color: var(--accent);
}

.calendly-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 24px;
    background: var(--teal);
    color: var(--white);
    border-radius: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; font-weight: 700;
    letter-spacing: 0.5px;
    transition: background 0.25s, transform 0.2s;
    width: 100%;
}
.calendly-cta:hover { background: #25956a; transform: translateY(-2px); }
.calendly-cta i { font-size: 16px; }

/* Contact form */
.contact-form-wrap {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 10px;
    padding: 32px;
    display: flex;
    flex-direction: column;
}
.contact-form-wrap #clientContactForm {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.contact-form-wrap #clientContactForm .field:last-of-type textarea {
    flex: 1;
    min-height: 80px;
}
.contact-form-wrap h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px; font-weight: 700;
    color: var(--white); margin-bottom: 24px;
}
.form-fields { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
    font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255,255,255,0.4); font-weight: 600;
}
.field input, .field select, .field textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 5px;
    color: var(--white);
    font-family: 'Inter', sans-serif; font-size: 14px;
    padding: 11px 14px;
    outline: none;
    transition: border-color 0.25s, background 0.25s;
    width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--accent);
    background: rgba(232,84,26,0.05);
}
.field select { cursor: pointer; }
.field select option { background: var(--ink2); color: var(--white); }
.field textarea { min-height: 110px; resize: vertical; }
.btn-submit {
    background: var(--accent);
    color: var(--white);
    border: none; border-radius: 5px; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px; font-weight: 700; letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 28px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.25s, transform 0.2s;
    width: 100%;
}
.btn-submit:hover { background: #d04515; transform: translateY(-1px); }
#formStatus {
    display: none; margin-top: 4px;
    padding: 12px 16px; border-radius: 5px;
    font-size: 13px; font-weight: 500; line-height: 1.4;
}
#formStatus.status-success {
    background: rgba(232,84,26,0.08);
    border: 1px solid rgba(232,84,26,0.35);
    color: var(--accent2, #F09030);
}
#formStatus.status-error {
    background: rgba(180,20,20,0.07);
    border: 1px solid rgba(180,20,20,0.3);
    color: #e06060;
}

/* ===== FOOTER ===== */
footer {
    background: #070E18;
    color: rgba(255,255,255,0.45);
    padding: 48px 5% 0;
}
.footer-top {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-logo-circle {
    width: 44px; height: 44px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid rgba(232,84,26,0.35);
    flex-shrink: 0;
}
.footer-logo-circle img { width: 100%; height: 100%; object-fit: cover; }
.footer-brand-text .fname {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 15px; color: var(--white);
}
.footer-brand-text .ftitle { font-size: 11px; margin-top: 2px; }
.footer-links {
    display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
}
.footer-links a {
    font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; justify-content: flex-end;
    padding: 20px 0;
}
.footer-socials { display: flex; gap: 12px; }
.social-link {
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45); font-size: 14px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-link:hover {
    background: var(--accent); color: var(--white);
    border-color: var(--accent);
}

/* Expertease credit */
.ec-rule {
    max-width: 1240px; margin: 0 auto;
    border: none; border-top: 1px solid rgba(255,255,255,0.06);
}
.expertease-credit { padding: 16px 0 20px; }
.ec-inner {
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.ec-copy { font-size: 11px; color: rgba(255,255,255,0.25); }
.ec-divider { flex: 1; }
.ec-brand {
    display: flex; align-items: center; gap: 7px;
    font-size: 11px; color: rgba(255,255,255,0.3);
    transition: color 0.2s;
}
.ec-brand:hover { color: rgba(255,255,255,0.6); }
.ec-label { letter-spacing: 0.5px; }
.ec-logo { height: 18px; width: auto; opacity: 0.5; }
.ec-name { font-weight: 600; }

/* ===== DIRECTIONAL REVEALS ===== */
[data-reveal-left] {
    opacity: 0; transform: translateX(-52px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal-left].revealed { opacity: 1; transform: none; }

[data-reveal-right] {
    opacity: 0; transform: translateX(52px);
    transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}
[data-reveal-right].revealed { opacity: 1; transform: none; }

/* Clip wipe — left to right reveal for headings */
[data-reveal-clip] {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.9s var(--ease);
}
[data-reveal-clip].revealed { clip-path: inset(0 0% 0 0); }

/* Word-by-word reveal */
[data-word-reveal] .wr-word {
    display: inline-block;
    opacity: 0; transform: translateY(22px);
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-word-reveal].revealed .wr-word { opacity: 1; transform: none; }

/* Service number slide-in (icon pop removed) */

/* Service number slide-in */
@keyframes numSlide {
    from { opacity: 0; transform: translateX(-10px); }
    to   { opacity: 0.6; transform: none; }
}
.service-card.revealed .service-num { animation: numSlide 0.4s var(--ease) 0.08s both; }

/* Resource card stagger delays */
.resources-grid .resource-card:nth-child(1)  { transition-delay: 0ms; }
.resources-grid .resource-card:nth-child(2)  { transition-delay: 80ms; }
.resources-grid .resource-card:nth-child(3)  { transition-delay: 160ms; }
.resources-grid .resource-card:nth-child(4)  { transition-delay: 240ms; }
.resources-grid .resource-card:nth-child(5)  { transition-delay: 320ms; }
.resources-grid .resource-card:nth-child(6)  { transition-delay: 400ms; }
.resources-grid .resource-card:nth-child(7)  { transition-delay: 0ms; }
.resources-grid .resource-card:nth-child(8)  { transition-delay: 80ms; }
.resources-grid .resource-card:nth-child(9)  { transition-delay: 160ms; }
.resources-grid .resource-card:nth-child(10) { transition-delay: 240ms; }
.resources-grid .resource-card:nth-child(11) { transition-delay: 320ms; }

/* Parallax photo wrapper */
.parallax-photo { overflow: hidden; border-radius: inherit; }
.parallax-photo img { will-change: transform; transition: transform 0.7s var(--ease); }
.parallax-photo:hover img { transform: scale(1.04) !important; }

/* Quote banner entrance */
@keyframes quoteSlide {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: none; }
}
.quote-banner.revealed blockquote { animation: quoteSlide 0.8s var(--ease) 0.15s both; }
.quote-banner.revealed .quote-icon { animation: quoteSlide 0.6s var(--ease) 0s both; }
.quote-banner.revealed .quote-author { animation: quoteSlide 0.6s var(--ease) 0.35s both; }

/* ========================================================
   MOBILE — 80% of users  (tablet ≤ 900 → phone ≤ 600 → xs ≤ 380)
   ======================================================== */

/* ── Tablet / large phone (≤ 900px) ─────────────────────── */
@media (max-width: 900px) {

    /* NAV — always dark on mobile */
    .mobile-nav-right { display: flex; }
    .lang-toggle { display: none; }
    .nav-logo-lang { display: none; }
    .nav-logo-lang-sep { display: none; }

    .nav-logo-group .nav-logo { flex-shrink: 1; min-width: 0; }

    nav {
        top: 0;
        padding: 0 4%; height: 60px;
        background: rgba(10,18,32,0.97);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid rgba(232,84,26,0.12);
    }
    nav.scrolled { height: 56px; }

    /* Logo — compact */
    .logo-rect { min-width: 32px; max-width: 44px; height: 28px; padding: 2px 4px; }
    .logo-text .name { font-size: 12px; letter-spacing: 0.2px; }
    .logo-text .title { display: block; font-size: 8px; max-width: 150px; color: rgba(255,255,255,0.45); }

    .nav-lang-mobile { display: none; }

    /* Dropdown panel */
    .nav-links {
        position: fixed;
        top: 60px; right: 0;
        width: clamp(200px, 55vw, 260px);
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        gap: 2px;
        padding: 14px 20px 18px;
        background: rgba(10,18,32,0.97);
        backdrop-filter: blur(20px);
        border-left: 1px solid rgba(232,84,26,0.18);
        border-bottom: 1px solid rgba(232,84,26,0.18);
        border-radius: 0 0 0 10px;
        opacity: 0; pointer-events: none;
        transform: translateY(-8px);
        transition: opacity 0.22s ease, transform 0.22s ease;
        z-index: 999;
    }
    .nav-links.open { opacity: 1; pointer-events: all; transform: translateY(0); }
    .nav-links a {
        font-size: 13px; letter-spacing: 1px;
        color: rgba(255,255,255,0.75);
        padding: 9px 6px;
        min-height: 40px; display: flex; align-items: center;
        width: 100%; justify-content: flex-end;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
    .nav-links a:last-child { border-bottom: none; }
    .nav-links a.nav-cta {
        border: 1.5px solid var(--accent);
        padding: 8px 16px;
        border-radius: 4px;
        margin-top: 6px;
        justify-content: center;
    }

    /* HERO */
    .hero-hex { display: none; }
    .hero-overlay {
        background: radial-gradient(ellipse at 50% 38%,
            rgba(15,25,41,0.45) 0%,
            rgba(15,25,41,0.85) 60%,
            rgba(15,25,41,0.97) 100%);
    }
    .hero {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100svh;
        padding-top: 88px; gap: 16px;
        padding-bottom: 56px;
    }
    .hero-photo-group {
        position: relative; right: auto; top: auto; transform: none;
        width: clamp(170px, 52vw, 230px);
        height: clamp(170px, 52vw, 230px);
        margin-top: max(calc(50svh - 92px - clamp(85px, 26vw, 115px)), 28px);
        margin-bottom: 0; flex-shrink: 0;
    }
    .hero-photo-wrap { border-width: 3px; }
    .hero-inner {
        max-width: 100%; padding: 0 5%;
        margin-left: 0;
        align-items: center; text-align: center;
        gap: 14px;
    }
    .hero-credential { display: none; }
    .hero-name   { order: 1; align-items: center; }
    .hero-eyebrow {
        order: 2; font-size: 11px; letter-spacing: 1.2px;
        color: rgba(255,255,255,0.6);
    }
    .btn-accent {
        order: 3; width: 100%; max-width: 300px;
        justify-content: center; padding: 16px 24px;
        font-size: 14px; min-height: 52px;
    }
    .hero-stats  { order: 4; justify-content: center; margin-top: 6px; }
    .hero-name .line1, .hero-name .line2 { font-size: clamp(34px, 10vw, 56px); }
    .stat-num { font-size: 19px; }
    .stat-lbl { font-size: 9px; letter-spacing: 0.5px; }

    /* Scroll hint */
    .hero-scroll-hint {
        display: flex; position: absolute; bottom: 24px; left: 50%;
        transform: translateX(-50%); z-index: 4;
        color: rgba(255,255,255,0.4); font-size: 18px;
        animation: scrollBounce 2s ease-in-out infinite;
    }
    @keyframes scrollBounce {
        0%, 100% { transform: translateX(-50%) translateY(0);   opacity: 0.4; }
        50%       { transform: translateX(-50%) translateY(7px); opacity: 0.75; }
    }

    /* ABOUT */
    .about-grid { grid-template-columns: 1fr; }
    .about-aside { order: -1; }

    /* SERVICES */
    .services-grid { grid-template-columns: 1fr 1fr; }

    /* Sectors / resources grids */
    .sectors-grid { grid-template-columns: 1fr 1fr; }
    .resources-grid { grid-template-columns: 1fr 1fr; }

    /* CONTACT */
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .crane-decoration { display: none; }
    .footer-top { flex-direction: column; align-items: flex-start; }
    .parallax-photo img { will-change: auto; }
    [data-reveal-left], [data-reveal-right] { transform: translateY(20px); }

    /* Sectors coverflow — slightly smaller cards on tablet */
    .sector-carousel-card { width: clamp(220px, 38vw, 300px); height: 340px; }
    .action-strip-item { width: clamp(230px, 42vw, 310px); }
    .action-strip  { animation-duration: 32s; }
}

/* ── Phone (≤ 600px) — PRIMARY TARGET ───────────────────── */
@media (max-width: 600px) {

    /* NAV — small phone refinements */
    nav { height: 52px; }
    nav.scrolled { height: 48px; }
    .logo-rect { max-width: 36px; height: 26px; }
    .logo-text .name { font-size: 11px; }
    .logo-text .title { font-size: 7.5px; max-width: 130px; }
    .hamburger span { width: 20px; }
    .hamburger.open span:nth-child(1),
    .hamburger.open span:nth-child(3) { width: 20px; }
    .nav-links { top: 52px; width: clamp(180px, 60vw, 240px); }
    .nav-logo-lang-sep { height: 24px; }
    .nav-logo-lang .lang-btn { padding: 2px 5px; font-size: 9px; }
    .nav-logo-lang .flag-icon { width: 13px; }
    .nav-links a { font-size: 11px; padding: 7px 6px; min-height: 34px; letter-spacing: 0.6px; }
    .nav-links a.nav-cta { padding: 6px 14px; margin-top: 4px; font-size: 11px; }

    /* HERO */
    .hero-photo-group {
        width: clamp(150px, 55vw, 200px);
        height: clamp(150px, 55vw, 200px);
    }
    .hero-inner { padding: 12px 4% 0; gap: 10px; }
    .hero-name .line1, .hero-name .line2 { font-size: clamp(30px, 11vw, 50px); }
    .hero-eyebrow { font-size: 10px; }
    .btn-accent {
        padding: 15px 20px; font-size: 14px;
        min-height: 52px; max-width: 100%;
        border-radius: 6px;
    }
    .hero-stats { gap: 0; }
    .hero-stat { padding: 6px 10px; }
    .hero-stat-sep { height: 28px; }
    .stat-num { font-size: 17px; }
    .stat-lbl { font-size: 8px; max-width: 72px; line-height: 1.3; }

    /* ABOUT */
    .about-section { padding: 44px 4%; }
    .about-grid { gap: 28px; }
    .about-aside { padding: 16px; }
    .about-bio-p2 { display: none; }
    .about-aside { display: none; }
    .about-bio { display: none !important; }
    .about-bio-frame { display: none; }
    .about-bio-corner-bl, .about-bio-corner-br { display: none; }
    .about-accordion-wrap { display: flex; flex-direction: column; gap: 8px; margin-top: 1.5em; }
    .feature-row { padding: 13px 14px; gap: 13px; }
    .feature-row i { width: 36px; height: 36px; font-size: 13px; }
    .feature-row strong { font-size: 13px; }
    .feature-row span { font-size: 12px; }

    /* SERVICES — 2-column compact grid */
    .services-section { padding: 44px 4%; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 2px; align-items: start; }
    .service-card { padding: 0; min-height: 173px; }
    /* Mobile: reset text-wrap transform */
    .sc-text-wrap { transform: translateY(0); }
    /* Touched state */
    .service-card.touched {
        box-shadow: 0 0 0 2px var(--accent), 0 8px 32px rgba(232,84,26,0.18);
        outline-color: var(--accent);
        min-height: unset;
    }
    .service-card.touched .sc-bg { opacity: 0; display: none; }
    .service-card.touched .sc-content {
        position: relative;
        inset: unset;
        min-height: unset;
        justify-content: flex-start;
        padding-top: 20px;
        background: rgba(15,25,41,0.97);
    }
    .service-card.touched .sc-top { transform: none; }
    .service-card.touched .sc-text-wrap {
        max-height: none; opacity: 1; transform: none; overflow: visible;
    }
    .service-card.touched h3 { font-size: 12px; }
    .service-card.touched p {
        font-size: 10px;
        line-height: 1.65;
        color: rgba(255,255,255,0.82);
    }
    .service-card h3 { font-size: 13px; }
    .service-card p { font-size: 10px; line-height: 1.6; }
    .service-icon { font-size: 20px; margin-bottom: 10px; }
    .service-num { font-size: 10px; margin-bottom: 10px; }
    .sc-content { padding: 16px; }
    .services-lead { font-size: 14px; }

    /* SECTORS — hide coverflow carousel, show compact 2-col static grid */
    .sectors-section { padding: 44px 4%; }
    .sectors-header { padding: 0; margin-bottom: 28px; }
    .sectors-coverflow-wrap { display: none; }
    .scroll-hint-label { display: none; }
    .sectors-mobile-grid { display: grid !important; }

    /* IN ACTION — very slow infinite strip on mobile */
    .in-action-section { padding: 44px 0; }
    .action-strip-item { width: 78vw; }

    /* QUOTE */
    .sectors-quote { margin: 32px 0 0; }
    .quote-banner { padding: 32px 4%; }
    .quote-banner blockquote { font-size: clamp(15px, 4.5vw, 20px); }

    /* RESOURCES — switch grid to link list */
    .resources-section { padding: 44px 4%; }
    .resources-grid { display: none; }
    .res-linklist { display: block; }

    /* CONTACT */
    .contact-section { padding: 44px 4%; }
    .contact-form-wrap { padding: 20px 16px; }
    .contact-person-row { flex-direction: column; align-items: flex-start; }
    .contact-lead { font-size: 14px; line-height: 1.7; }
    /* Calendly CTA — prominent on mobile */
    .calendly-cta {
        width: 100%; justify-content: center;
        padding: 16px 20px; font-size: 15px;
        min-height: 54px; border-radius: 8px;
    }
    .contact-detail-list { gap: 14px; }
    .contact-detail { font-size: 15px; min-height: 44px; }
    .btn-submit { padding: 16px; font-size: 15px; min-height: 52px; }

    /* FOOTER — centred on mobile */
    footer { padding: 36px 5% 0; }
    .footer-top {
        padding-bottom: 24px; gap: 16px;
        flex-direction: column; align-items: center; text-align: center;
    }
    .footer-brand { gap: 10px; flex-direction: column; align-items: center; }
    .footer-brand-text { text-align: center; }
    .footer-links { gap: 10px; flex-wrap: wrap; justify-content: center; }
    .footer-links a { font-size: 11px; min-height: 36px; display: flex; align-items: center; }
    .footer-logo-rect { height: 34px; min-width: 58px; }
    .footer-brand-text .fname { font-size: 13px; }
    .footer-brand-text .ftitle { font-size: 10px; }
    .footer-bottom { justify-content: center; }
    .footer-socials { justify-content: center; }
    .ec-inner { justify-content: center; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
    .ec-divider { display: none; }

    /* BACK TO TOP — centered floating button on mobile */
    .back-to-top {
        bottom: 20px; right: 50%; left: auto;
        transform: translateX(50%) translateY(16px);
        border-radius: 50px;
        padding: 10px 20px;
        font-size: 11px;
    }
    .back-to-top.visible {
        transform: translateX(50%) translateY(0);
    }

    /* SECTION HEADINGS */
    .section-heading { font-size: clamp(24px, 7vw, 36px); }
    .eyebrow span { font-size: 11px; letter-spacing: 2px; }
}

/* ── Extra small / iPhone SE (≤ 380px) ──────────────────── */
@media (max-width: 380px) {
    .hero-name .line1, .hero-name .line2 { font-size: clamp(27px, 12vw, 42px); }
    .hero-stats { flex-wrap: nowrap; gap: 0; }
    .hero-stat { padding: 0 8px; }
    .hero-stat-sep { display: block; }
    .stat-num { font-size: 15px; }
    .stat-lbl { font-size: 7px; max-width: 64px; }
    .about-grid { gap: 20px; }
    .services-grid { gap: 8px; }
    .resources-grid { display: none; }
    .res-linklist { display: block; }
    .action-strip-item { width: 85vw; }
    .contact-form-wrap { padding: 16px 12px; }
}

/* iOS input zoom fix — must be >= 16px to prevent auto-zoom */
@media (max-width: 900px) {
    .field input, .field select, .field textarea {
        font-size: 16px;
    }
}

/* Notch / safe-area support */
@supports (padding: env(safe-area-inset-bottom)) {
    footer {
        padding-bottom: env(safe-area-inset-bottom);
    }
    .contact-section {
        padding-bottom: max(clamp(64px, 9vw, 120px), calc(env(safe-area-inset-bottom) + 40px));
    }
}

/* Disable animations on reduced motion */
@media (prefers-reduced-motion: reduce) {
    [data-reveal], [data-reveal-left], [data-reveal-right],
    [data-reveal-clip], [data-word-reveal] .wr-word,
    .service-card, .sector-card, .resource-card,
    .feature-row, .about-aside {
        opacity: 1 !important;
        transform: none !important;
        clip-path: none !important;
        animation: none !important;
        transition: none !important;
    }
    .action-strip {
        animation: none !important;
    }
}

/* ===== LIGHTBOX ===== */
.lightbox {
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(7,14,24,0.96);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-img {
    max-width: min(92vw, 1100px);
    max-height: 78vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.7);
    transform: scale(0.94);
    transition: transform 0.35s var(--ease);
}
.lightbox.open .lightbox-img { transform: scale(1); }
.lightbox-caption {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.55);
    text-align: center; max-width: 600px;
}
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; cursor: pointer;
    font-size: 22px; color: rgba(255,255,255,0.6);
    line-height: 1; padding: 6px;
    transition: color 0.2s;
}
.lightbox-close:hover { color: var(--white); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed; bottom: 28px; right: 28px; left: auto; z-index: 500;
    transform: translateY(16px);
    display: flex; align-items: center; gap: 7px;
    padding: 9px 20px;
    background: var(--ink); color: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.12);
    border-radius: 2px; cursor: pointer;
    font-family: 'Space Grotesk', sans-serif; font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
    opacity: 0; pointer-events: none; white-space: nowrap;
    transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s, color 0.2s;
}
.back-to-top svg { width: 10px; height: 10px; flex-shrink: 0; stroke: currentColor; transition: transform 0.2s; }
.back-to-top:hover { border-color: rgba(232,84,26,.6); color: rgba(255,255,255,.9); }
.back-to-top:hover svg { transform: translateY(-2px); }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

/* ===== SLOT REEL (hero stats) ===== */
.slot-reel { display: inline-block; overflow: hidden; }
.slot-inner {
    display: inline-block;
    animation: slotSpin 0.6s cubic-bezier(0.2,0.8,0.4,1) both;
    animation-delay: 1.2s;
}
@keyframes slotSpin {
    0%   { transform: translateY(-60%); opacity: 0; }
    60%  { transform: translateY(8%); }
    80%  { transform: translateY(-3%); }
    100% { transform: translateY(0); opacity: 1; }
}

/* ===== EYEBROW — one size larger ===== */
.eyebrow span {
    font-size: 13px;
}

/* ===== GAUGE TITLE BOLD ===== */
.sq-gauge-title {
    font-weight: 700;
    opacity: 0.85;
}

/* ===== SERVICES — heading color helpers ===== */
.hi-orange { color: var(--accent) !important; font-style: normal; }
.hi-white  { color: var(--white)  !important; font-style: normal; }

/* Services lead full width */
.services-lead { max-width: 100%; }

/* ===== SERVICE CARDS — image visible at rest, text reveals on hover ===== */
.service-card {
    position: relative; overflow: hidden;
    min-height: 320px; cursor: pointer;
    transition: box-shadow 0.4s ease, outline-color 0.4s ease;
    outline: 2px solid transparent;
    outline-offset: -2px;
}
.service-card:hover {
    box-shadow: 0 0 0 2px var(--accent), 0 8px 32px rgba(232,84,26,0.18);
    outline-color: var(--accent);
}
.sc-bg {
    position: absolute; inset: 0;
    background-image: var(--card-img);
    background-size: cover; background-position: center;
    opacity: 0.55;
    transition: opacity 0.5s ease, transform 0.6s ease;
    pointer-events: none;
}
.service-card:hover .sc-bg { opacity: 0.15; transform: scale(1.04); }
/* Dark gradient so text is always readable over image */
.sc-content {
    position: absolute; inset: 0; z-index: 2;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(15,25,41,0.96) 0%, rgba(15,25,41,0.70) 55%, rgba(15,25,41,0.15) 100%);
    transition: background 0.35s ease, justify-content 0s;
}
.sc-top {
    display: flex; flex-direction: column; gap: 8px;
    transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.sc-text-wrap {
    overflow: hidden; max-height: 0; opacity: 0;
    transition: max-height 0.6s cubic-bezier(.22,1,.36,1), opacity 0.5s ease, transform 0.5s cubic-bezier(.22,1,.36,1);
    transform: translateY(8px);
}
/* Hover: subtle image dim, slide up text — NO height jump */
.service-card:hover .sc-top { transform: translateY(-6px); }
.service-card:hover .sc-text-wrap { max-height: 180px; opacity: 1; transform: translateY(0); }

/* ===== SECTORS — 3D COVERFLOW CAROUSEL ===== */
.sectors-coverflow-wrap {
    position: relative;
    max-width: 1240px; margin: 0 auto;
    padding: 8px 60px 4px;
    /* perspective applied here so children transform in 3D space */
    perspective: 1200px;
    perspective-origin: 50% 50%;
}
.sectors-coverflow-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 430px;
    transform-style: preserve-3d;
}
.sector-carousel-card {
    position: absolute;
    width: clamp(260px, 28vw, 340px);
    height: 400px;
    border-radius: 12px; overflow: hidden;
    cursor: pointer;
    /* smooth 3D transition for all coverflow state changes */
    transition:
        transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        opacity   0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94),
        box-shadow 0.55s ease;
    will-change: transform, opacity;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    user-select: none;
}
/* ── Coverflow position states ── */
.sector-carousel-card[data-cf-pos="0"] {
    /* active center */
    transform: translateX(0) rotateY(0deg) scale(1) translateZ(0);
    opacity: 1;
    z-index: 5;
    box-shadow: 0 24px 60px rgba(15,25,41,0.45);
    pointer-events: auto;
}
.sector-carousel-card[data-cf-pos="-1"] {
    transform: translateX(-72%) rotateY(38deg) scale(0.82) translateZ(-80px);
    opacity: 0.6;
    z-index: 4;
    pointer-events: auto;
}
.sector-carousel-card[data-cf-pos="1"] {
    transform: translateX(72%) rotateY(-38deg) scale(0.82) translateZ(-80px);
    opacity: 0.6;
    z-index: 4;
    pointer-events: auto;
}
.sector-carousel-card[data-cf-pos="-2"] {
    transform: translateX(-122%) rotateY(52deg) scale(0.67) translateZ(-160px);
    opacity: 0.28;
    z-index: 3;
    pointer-events: auto;
}
.sector-carousel-card[data-cf-pos="2"] {
    transform: translateX(122%) rotateY(-52deg) scale(0.67) translateZ(-160px);
    opacity: 0.28;
    z-index: 3;
    pointer-events: auto;
}
/* everything else is hidden */
.sector-carousel-card[data-cf-pos="-3"],
.sector-carousel-card[data-cf-pos="3"],
.sector-carousel-card[data-cf-hidden] {
    transform: translateX(-180%) rotateY(65deg) scale(0.5) translateZ(-220px);
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}
.sector-carousel-card[data-cf-pos="3"] {
    transform: translateX(180%) rotateY(-65deg) scale(0.5) translateZ(-220px);
}
.sector-carousel-card img {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.72; transition: opacity 0.45s, transform 0.55s var(--ease);
    display: block;
}
.sector-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(15,25,41,0.95) 0%, rgba(15,25,41,0.12) 70%);
}
.sector-card-body {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 24px 20px;
    transition: transform 0.45s var(--ease);
}
.sector-card-icon { color: var(--accent); font-size: 22px; margin-bottom: 10px; }
.sector-card-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700; font-size: 18px; color: var(--white);
    margin-bottom: 8px;
}
.sector-card-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.sector-card-list li {
    font-size: 12px; color: rgba(255,255,255,0.72);
    padding-left: 14px; position: relative; line-height: 1.5;
}
.sector-card-list li::before {
    content: '—'; position: absolute; left: 0;
    color: var(--accent); font-size: 10px; top: 1px;
}

/* Coverflow dot indicators */
.sectors-cf-dots {
    display: flex; justify-content: center; align-items: center; gap: 10px;
    margin-top: 28px;
}
.sectors-cf-dots .cf-dot {
    height: 4px;
    border-radius: 2px;
    background: rgba(15,25,41,0.15);
    border: none; padding: 0;
    cursor: pointer;
    transition: width 0.4s cubic-bezier(0.25,0.46,0.45,0.94),
                background 0.4s ease,
                opacity 0.4s ease;
    width: 20px;
    opacity: 0.5;
}
.sectors-cf-dots .cf-dot.active {
    width: 36px;
    background: var(--accent);
    opacity: 1;
    border-radius: 2px;
}
.sectors-cf-dots .cf-dot:hover:not(.active) {
    opacity: 0.8;
    background: rgba(15,25,41,0.35);
}
@media (max-width: 600px) {
    .sectors-cf-dots { display: none; }
}

/* hint label */
.scroll-hint-label {
    font-size: 11px; letter-spacing: 1.2px; text-align: center;
    color: rgba(255,255,255,0.25); margin-top: 14px;
    text-transform: uppercase;
}
.sectors-section .scroll-hint-label { color: rgba(15,25,41,0.35); }

/* Quote inside sectors section */
.sectors-quote {
    margin: 48px 5% 0;
    border-radius: 10px;
    border-top: 3px solid var(--accent);
}
.sectors-quote blockquote { font-style: italic; }
.sectors-quote:hover { background: rgba(25,39,68,0.95); }

/* ===== IN ACTION — infinite auto-scroll strip ===== */
.action-strip-wrap {
    overflow: hidden; position: relative;
    padding: 8px 0;
    max-width: 1240px; margin: 0 auto;
}
.action-strip {
    display: flex; gap: 16px; align-items: stretch;
    width: max-content;
    will-change: transform;
}
@keyframes actionInfinite {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.action-strip-item {
    flex-shrink: 0;
    width: clamp(260px, 26vw, 360px);
    border-radius: 10px; overflow: hidden;
    position: relative;
    /* 16:15 aspect ratio — 25% taller than original 16:12 */
    aspect-ratio: 16 / 15;
    background: var(--ink2);
}
.action-strip-item img {
    width: 100%; height: 100%; object-fit: cover;
    filter: contrast(1.05) saturate(0.88);
    display: block;
    transition: transform 0.55s var(--ease), filter 0.4s;
}
.action-strip-item:hover img {
    transform: scale(1.05);
    filter: contrast(1.08) saturate(0.95);
}

/* ===== FOOTER LOGO RECT ===== */
.footer-logo-rect {
    height: 40px; min-width: 70px; max-width: 110px;
    border-radius: 4px; overflow: hidden;
    border: 1.5px solid rgba(232,84,26,0.35);
    background: rgba(7,14,24,0.85);
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    padding: 4px 8px;
}
.footer-logo-rect img { height: 100%; width: auto; object-fit: contain; max-height: 32px; display: block; }

/* ===== EXPERTEASE — more discreet, no shimmer ===== */
.expertease-credit::before { display: none !important; }
.ec-name {
    animation: none !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    -webkit-text-fill-color: rgba(255,255,255,0.25) !important;
    color: rgba(255,255,255,0.25) !important;
}
.expertease-credit { opacity: 0.55; }

/* ===== SECTORS LEAD full width ===== */
.sectors-lead { max-width: 100%; }

/* ===== LIVE BADGE on hero photo ===== */
/* hero-photo-group keeps position:absolute from line 166 — do NOT override it here */
.live-badge {
    position: absolute;
    bottom: 6%; right: 3%;
    background: var(--ink);
    border: 1.5px solid var(--accent);
    border-radius: 20px;
    padding: 4px 10px 4px 8px;
    display: flex; align-items: center; gap: 6px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px; font-weight: 700;
    letter-spacing: 1px;
    color: var(--white);
    text-transform: uppercase;
    z-index: 4;
    box-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.live-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: #2DAA6E;
    display: inline-block;
    animation: livePulse 1.4s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.45; transform: scale(0.7); }
}

/* ===== HERO PHOTO — accent border colour ===== */
.hero-photo-wrap {
    border-color: var(--accent) !important;
    animation: photoPulseAccent 3.5s ease-in-out infinite !important;
}
@keyframes photoPulseAccent {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,84,26,0); }
    50%       { box-shadow: 0 0 0 14px rgba(232,84,26,0.22); }
}

/* ===== FLAG ICONS in language toggle ===== */
.flag-icon {
    width: 18px; height: auto;
    border-radius: 2px;
    vertical-align: middle;
    display: inline-block;
}

/* ===== SECTORS COVERFLOW — nav arrows ===== */
.sectors-nav-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(15,25,41,0.82); border: 1.5px solid rgba(232,84,26,0.5);
    color: var(--white); font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10;
    opacity: 1; transition: opacity 0.3s, background 0.2s, border-color 0.2s;
    pointer-events: auto;
}
.sectors-nav-arrow.left { left: 4px; }
.sectors-nav-arrow.right { right: 4px; }
.sectors-nav-arrow:hover { background: var(--accent); border-color: var(--accent); }

/* ===== CONTACT person-photo — rounded & centred ===== */
.person-photo {
    object-fit: cover;
    object-position: center top;
}

/* ===== MOBILE-ONLY: Sectors static 2-col compact grid ===== */
.sectors-mobile-grid {
    display: none; /* shown only inside ≤600px media query */
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0;
    max-width: 100%;
}
.smc-card {
    background: var(--white);
    border: 1px solid var(--fog2);
    border-radius: 10px;
    padding: 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.smc-icon {
    color: var(--accent);
    font-size: 20px;
}
.smc-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
}

/* ===== MOBILE-ONLY: Resources infinite strip ===== */
/* ===== RESOURCES CAROUSEL STRIP ===== */
/* ===== RESOURCES LINK LIST (mobile only) ===== */
.res-linklist {
    display: none;
    list-style: none; margin: 0; padding: 0;
}
@media (max-width: 600px) {
    .res-linklist { display: block; }
    .resources-grid { display: none; }
}
@media (max-width: 380px) {
    .res-linklist { display: block; }
    .resources-grid { display: none; }
}
.res-ll-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid var(--fog2);
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
}
.res-ll-item:active { background: rgba(232,84,26,0.04); }
.res-ll-icon {
    flex-shrink: 0;
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(232,84,26,0.08);
    border-radius: 9px;
    color: var(--accent); font-size: 15px;
}
.res-ll-title {
    flex: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13.5px; font-weight: 700;
    color: var(--ink); line-height: 1.3;
}
.res-ll-ext {
    flex-shrink: 0;
    font-size: 11px; color: var(--accent); opacity: 0.6;
}

.resources-strip-wrap {
    display: none; /* activated via JS on all breakpoints */
    overflow: hidden;
    position: relative;
    padding: 8px 0;
    max-width: 1240px; margin: 0 auto;
}
.resources-strip {
    display: flex;
    gap: 16px;
    align-items: stretch;
    width: max-content;
    will-change: transform;
}
.resources-strip .resource-card {
    flex: 0 0 clamp(260px, 26vw, 360px);
    border-radius: 10px;
    padding: 28px 24px;
    opacity: 1 !important;
    transform: none !important;
    /* same dark bg as action strip items */
    background: var(--white);
    border: 1px solid var(--fog2);
    display: flex; flex-direction: column;
    box-shadow: 0 4px 20px rgba(15,25,41,0.06);
}
.resources-strip .resource-card h3 { font-size: 15px; }
.resources-strip .resource-card p   { font-size: 13px; line-height: 1.65; flex: 1; }
.resources-strip .resource-card .resource-link { margin-top: auto; padding-top: 14px; }

/* mobile overrides inside the strip */
@media (max-width: 600px) {
    .resources-strip .resource-card {
        flex: 0 0 78vw;
        padding: 18px 16px;
    }
    .resources-strip .resource-card h3 { font-size: 13px; }
    .resources-strip .resource-card p   { font-size: 12px; }
}
@media (max-width: 380px) {
    .resources-strip .resource-card { flex: 0 0 85vw; }
}

/* ===== GOAL / ΣΤΟΧΟΣ SECTION ===== */
.goal-section {
    position: relative;
    background: var(--ink2);
    border-top: 3px solid var(--accent);
    overflow: hidden;
    padding: clamp(48px, 6vw, 80px) 5%;
}
.goal-canvas-wrap {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.goal-canvas-wrap canvas { width: 100%; height: 100%; display: block; }
.goal-content {
    position: relative; z-index: 1;
    max-width: 1240px; margin: 0 auto;
    display: flex; align-items: center; gap: clamp(32px, 6vw, 80px);
}
.goal-mark-wrap {
    flex: 0 0 clamp(80px, 10vw, 120px);
    display: flex; align-items: center; justify-content: center;
}
.goal-mark-svg {
    width: 100%; height: auto;
    filter: drop-shadow(0 0 10px rgba(232,84,26,0.2));
}
.gm-ring-mid {
    stroke-dasharray: 252;
    stroke-dashoffset: 252;
    animation: gmRingDraw 1.2s cubic-bezier(0.16,1,0.3,1) 0.2s forwards;
}
.gm-tick {
    opacity: 0;
    animation: gmFadeIn 0.4s ease forwards;
}
.gm-tick:nth-child(3) { animation-delay: 0.9s; }
.gm-tick:nth-child(4) { animation-delay: 1.0s; }
.gm-tick:nth-child(5) { animation-delay: 1.1s; }
.gm-tick:nth-child(6) { animation-delay: 1.2s; }
.gm-check {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: gmCheckDraw 0.55s cubic-bezier(0.16,1,0.3,1) 1.3s forwards;
}
.gm-pulse {
    transform-origin: 60px 60px;
    animation: gmPulse 3s ease-in-out 1.8s infinite;
}
@keyframes gmRingDraw  { to { stroke-dashoffset: 0; } }
@keyframes gmCheckDraw { to { stroke-dashoffset: 0; } }
@keyframes gmFadeIn    { to { opacity: 1; } }
@keyframes gmPulse {
    0%, 100% { transform: scale(1);    opacity: 0.35; }
    50%       { transform: scale(1.35); opacity: 0; }
}
.goal-text-block {
    flex: 1; display: flex; flex-direction: column; gap: 12px;
}
.goal-eyebrow {
    font-size: 14px; font-weight: 700; letter-spacing: 2.5px;
    color: var(--accent); text-transform: uppercase;
}
.goal-quote {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(17px, 2.2vw, 24px);
    font-weight: 600; line-height: 1.5;
    color: var(--white); font-style: normal; margin: 0;
}
.goal-author {
    font-size: 12px; letter-spacing: 0.5px;
    color: rgba(255,255,255,0.4); font-style: normal;
}
@media (max-width: 768px) {
    .goal-content { flex-direction: column; text-align: center; gap: 24px; }
    .goal-mark-wrap { flex: 0 0 76px; width: 76px; }
    .goal-section { margin-top: 44px; padding-top: 44px; }
}

/* ═══════════════════════════════════════════════════
   SCROLL-EFFECTS — clean animation layer
   ═══════════════════════════════════════════════════ */

/* ── Scroll progress bar ── */
.sx-progress-bar {
    position: fixed; top: 0; left: 0; z-index: 9999;
    height: 3px; width: 0%;
    background: linear-gradient(90deg, var(--accent), #ff9f60);
    pointer-events: none;
    transition: width 0.08s linear;
    border-radius: 0 2px 2px 0;
}

/* ── Hero load sequence — slide from sides ── */
.sx-hero-left {
    opacity: 0;
    transform: translateX(-70px);
    transition: opacity 0.85s cubic-bezier(.22,1,.36,1),
                transform 0.85s cubic-bezier(.22,1,.36,1);
}
.sx-hero-right {
    opacity: 0;
    transform: translateX(60px);
    transition: opacity 0.82s cubic-bezier(.22,1,.36,1),
                transform 0.82s cubic-bezier(.22,1,.36,1);
}
.sx-hero-in { opacity: 1; transform: none; }

/* Keep sx-load for any legacy elements */
.sx-load {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.75s cubic-bezier(.22,1,.36,1),
                transform 0.75s cubic-bezier(.22,1,.36,1);
}
.sx-load-in { opacity: 1; transform: none; }

/* ── General fade-up ── */
.sx-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
                transform 0.7s cubic-bezier(.22,1,.36,1);
}
.sx-up-go { opacity: 1; transform: none; }

/* ── Feature rows ── */
.sx-feature {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.6s cubic-bezier(.22,1,.36,1),
                transform 0.6s cubic-bezier(.22,1,.36,1);
}
.sx-feature-go { opacity: 1; transform: none; }

/* ── Resource cards ── */
.sx-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.55s cubic-bezier(.22,1,.36,1),
                transform 0.55s cubic-bezier(.22,1,.36,1);
}
.sx-card-go { opacity: 1; transform: none; }

/* ── Section headings ── */
.sx-heading {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.7s cubic-bezier(.22,1,.36,1),
                transform 0.7s cubic-bezier(.22,1,.36,1);
}
.sx-heading-go { opacity: 1; transform: none; }

/* ── Eyebrow wipe ── */
.sx-eyebrow { position: relative; overflow: hidden; }
.sx-eyebrow::after {
    content: '';
    position: absolute; inset: 0;
    background: var(--fog, #f0f3f7);
    transform: translateX(0);
    transition: transform 0.5s cubic-bezier(.4,0,.2,1);
    z-index: 1;
    pointer-events: none;
}
/* For dark sections: use the dark background colour */
.contact-section .sx-eyebrow::after,
.sectors-section .sx-eyebrow::after  { background: var(--ink, #0f1929); }
.sx-eyebrow-go::after { transform: translateX(105%); }

/* ── Slide in from sides (scroll-triggered) ── */
.sx-from-left {
    opacity: 0; transform: translateX(-52px);
    transition: opacity 0.78s cubic-bezier(.22,1,.36,1),
                transform 0.78s cubic-bezier(.22,1,.36,1);
}
.sx-from-left-go { opacity: 1; transform: none; }

.sx-from-right {
    opacity: 0; transform: translateX(52px);
    transition: opacity 0.78s cubic-bezier(.22,1,.36,1),
                transform 0.78s cubic-bezier(.22,1,.36,1);
}
.sx-from-right-go { opacity: 1; transform: none; }

/* ── Resource card hover (no jump) ── */
.resource-card {
    transition: transform 0.35s cubic-bezier(.22,1,.36,1),
                box-shadow 0.35s cubic-bezier(.22,1,.36,1),
                border-color 0.3s ease;
}
.resource-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(232,84,26,0.10);
    border-color: rgba(232,84,26,0.35);
}

/* ── Resource icon spin on hover ── */
@keyframes sx-spin-kf {
    to { transform: rotate(360deg); }
}
.sx-spin { animation: sx-spin-kf 0.45s cubic-bezier(.4,0,.2,1); }

/* ── Hero scroll hint bounce ── */
.hero-scroll-hint {
    animation: sx-bounce 1.8s ease-in-out 1s infinite;
}
@keyframes sx-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.55; }
    50%       { transform: translateY(7px); opacity: 1; }
}

/* ── Live dot pulse ── */
.live-dot {
    animation: sx-live-pulse 1.4s ease-in-out infinite;
}
@keyframes sx-live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50%       { transform: scale(1.7); opacity: 0.35; }
}

/* ── Hero hex float ── */
.hero-hex {
    animation: sx-hex-float 7s ease-in-out infinite;
}
@keyframes sx-hex-float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}

/* ── Slot reel stat numbers ── */
.slot-inner {
    animation: sx-slot-in 0.55s cubic-bezier(.22,1,.36,1) 0.9s both;
}
@keyframes sx-slot-in {
    from { opacity: 0; transform: translateY(80%); }
    to   { opacity: 1; transform: none; }
}

/* ── About helmet SVG spin-in ── */
#helmetSvg {
    animation: sx-helmet-pop 0.85s cubic-bezier(.34,1.46,.64,1) 0.5s both;
    transform-origin: 60px 45px;
}
@keyframes sx-helmet-pop {
    from { opacity: 0; transform: scale(0.3) rotate(-25deg); }
    to   { opacity: 1; transform: none; }
}

/* ── Goal mark pulse ring ── */
.gm-pulse {
    animation: sx-pulse-ring 2.5s ease-in-out infinite;
    transform-origin: 60px 60px;
}
@keyframes sx-pulse-ring {
    0%, 100% { opacity: 0.35; transform: scale(1); }
    50%       { opacity: 0;    transform: scale(1.4); }
}

/* ── Marquee dot pulse ── */
.marquee-dot { animation: sx-mdot 2s ease-in-out infinite; }
.marquee-item:nth-child(2n) .marquee-dot { animation-delay: 0.4s; }
.marquee-item:nth-child(3n) .marquee-dot { animation-delay: 0.8s; }
@keyframes sx-mdot {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%       { transform: scale(1.6); opacity: 1; }
}


/* ── Sectors heading em underline ── */
.sectors-header .section-heading em { position: relative; }
.sectors-header .section-heading em::after {
    content: '';
    position: absolute; bottom: -4px; left: 0;
    width: 0; height: 3px;
    background: var(--accent); border-radius: 2px;
    transition: width 0.9s cubic-bezier(.22,1,.36,1) 0.25s;
}
.sectors-header.in-view .section-heading em::after { width: 100%; }

/* ── About heading underline — removed ── */

/* ===== HERO — LFD CARD ===== */
.hero-lfd-group {
    position: absolute;
    right: 16%;
    top: 50%;
    transform: translateY(-50%);
    width: clamp(260px, 26vw, 360px);
    z-index: 2;
    /* subtle entrance */
    animation: lfdGroupFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes lfdGroupFadeIn {
    from { opacity: 0; transform: translateY(calc(-50% + 18px)); }
    to   { opacity: 1; transform: translateY(-50%); }
}

/* Override LFD card defaults to blend with hero */
.hero-lfd-group .lfd {
    --lfd-bg: rgba(8, 18, 36, 0.72);
    --lfd-border: rgba(232, 84, 26, 0.35);
    --lfd-accent: #E8541A;
    --lfd-ok: #2DAA6E;
    border-radius: 10px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(232,84,26,0.18);
}

/* ===== ABOUT — PHOTO ===== */
.about-photo-group {
    position: relative;
    width: clamp(160px, 22vw, 240px);
    height: clamp(160px, 22vw, 240px);
    margin: 0 auto 8px;
    flex-shrink: 0;
}

.about-photo-wrap {
    width: 100%; height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    animation: photoPulseAccent 3.5s ease-in-out infinite;
}

.about-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: contrast(1.04) saturate(0.92);
}

/* live-badge reuses existing styles — just reposition relative to new parent */
.about-photo-group .live-badge {
    position: absolute;
    bottom: 6%; right: 3%;
}

/* ===== RESPONSIVE — LFD card ===== */
@media (max-width: 900px) {
    .hero-lfd-group {
        position: relative;
        right: auto; top: auto;
        transform: none;
        animation: none;
        width: clamp(240px, 72vw, 320px);
        margin: 40px auto 0;
        flex-shrink: 0;
        order: 1;
    }

    .hero-inner {
        order: 0;
    }

    .about-photo-group {
        width: clamp(140px, 44vw, 200px);
        height: clamp(140px, 44vw, 200px);
    }
}

@media (max-width: 600px) {
    /* Hero: centre everything symmetrically */
    .hero {
        padding-top: 52px;   /* small nav height */
        padding-bottom: 52px;
        gap: 14px;
    }

    .hero-lfd-group {
        display: none;
    }

    .about-photo-group {
        width: clamp(130px, 50vw, 180px);
        height: clamp(130px, 50vw, 180px);
    }
}

/* ── Reduced motion: everything instant ── */
@media (prefers-reduced-motion: reduce) {
    .sx-hero-left, .sx-hero-right,
    .sx-load, .sx-up, .sx-feature, .sx-card, .sx-heading,
    .sx-from-left, .sx-from-right {
        opacity: 1 !important; transform: none !important;
    }
    .sx-progress-bar,
    .hero-scroll-hint, .live-dot, .hero-hex,
    .slot-inner, #helmetSvg, .gm-pulse,
    .marquee-dot { animation: none !important; }
}

/* ===== SAFETY QUIZ SECTION ===== */
.sqz-section {
    background: linear-gradient(135deg, #0F1929 0%, #1a2a40 60%, #0F1929 100%);
    padding: 0;
    height: 220px;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    position: relative;
    overflow: hidden;
}
/* Subtle animated dot-grid background */
.sqz-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(232,84,26,0.18) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    animation: sqzGridPulse 6s ease-in-out infinite;
}
@keyframes sqzGridPulse {
    0%, 100% { opacity: 0.5; }
    50%       { opacity: 1; }
}
/* Glowing orb top-right */
.sqz-section::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 260px; height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,84,26,0.22) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Intro screen ── */
.sqz-intro {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    width: 100%;
    height: 100%;
    padding: 0 5%;
    text-align: left;
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: relative;
    z-index: 1;
}
.sqz-intro-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sqz-intro-eyebrow {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
}
.sqz-intro-question {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(20px, 2.8vw, 34px);
    font-weight: 800;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
.sqz-intro-sub {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}
.sqz-intro-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
}
/* Mini preview chips */
.sqz-intro-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    max-width: 220px;
}
.sqz-intro-chip {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 5px 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    white-space: nowrap;
}
.sqz-start-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 38px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(232,84,26,0.45);
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.sqz-start-btn::after {
    content: '→';
    font-size: 16px;
    transition: transform 0.2s;
}
.sqz-start-btn:hover {
    background: #c73e0c;
    transform: translateY(-2px);
    box-shadow: 0 10px 32px rgba(232,84,26,0.5);
}
.sqz-start-btn:hover::after { transform: translateX(4px); }
.sqz-start-btn:active { transform: translateY(0); }

/* Timer/steps indicator */
.sqz-intro-meta {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sqz-intro-meta i { font-size: 11px; }

@media (max-width: 640px) {
    .sqz-intro {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 0 5%;
    }
    .sqz-intro-question { font-size: 20px; }
}

/* ── Game layout: 4 equal columns ── */
.sqz-game {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: stretch;
    background: var(--white);
    position: relative;
    z-index: 1;
    animation: sqzFadeIn 0.4s ease;
    overflow: hidden;
}
.sqz-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 8px;
    overflow: hidden;
}
.sqz-col:first-child  { padding-left: 5%; padding-right: 20px; }
.sqz-col-question     { padding-left: 20px; padding-right: 4px; border-right: 1px solid rgba(190,201,216,0.2); }
.sqz-col-progress     { padding-left: 5%; padding-right: 4px; }
.sqz-col:last-child   { padding-left: 4px; padding-right: 5%; }

/* Col 1 — Question */
.sqz-col-question { gap: 8px; }
.sqz-step-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.8;
}
.sqz-question-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(12px, 1.1vw, 14px);
    font-weight: 600;
    color: var(--ink);
    margin: 0;
    line-height: 1.4;
}
.sqz-options {
    display: flex;
    flex-direction: row;
    gap: 6px;
    flex-wrap: wrap;
}
.sqz-option-btn {
    background: #f5f8fb;
    border: 2px solid #DDE5EE;
    border-radius: 8px;
    padding: 7px 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.sqz-option-btn:hover {
    border-color: var(--accent);
    background: rgba(232,84,26,0.06);
    transform: translateX(3px);
}
.sqz-option-btn.selected-yes {
    border-color: #2DAA6E;
    background: rgba(45,170,110,0.1);
    color: #1a7a4a;
}
.sqz-option-btn.selected-no {
    border-color: var(--accent);
    background: rgba(232,84,26,0.08);
    color: var(--accent);
}

/* Col 2 — Image */
.sqz-col-img {
    padding: 10px 12px;
    overflow: hidden;
}
.sqz-question-img-wrap {
    width: 100%;
    height: 100%;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f4f8;
    max-height: 200px;
    outline: 1px solid rgba(0,0,0,1);
    outline-offset: -1px;
}
.sqz-question-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: opacity 0.35s ease;
}

/* Col 3 — Progress */
.sqz-col-progress { gap: 6px; }
.sqz-progress-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.sqz-progress-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--slate);
    text-transform: uppercase;
}
.sqz-progress-track {
    width: 100%;
    height: 8px;
    background: #DDE5EE;
    border-radius: 50px;
    overflow: hidden;
}
.sqz-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent) 0%, #f09030 100%);
    border-radius: 50px;
    transition: width 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.sqz-progress-steps {
    display: flex;
    gap: 8px;
    margin-top: 4px;
}
.sqz-step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #DDE5EE;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 700;
    color: #BEC9D8;
    transition: all 0.3s ease;
}
.sqz-step-dot.done-yes {
    border-color: #2DAA6E;
    background: #2DAA6E;
    color: #fff;
}
.sqz-step-dot.done-no {
    border-color: var(--accent);
    background: var(--accent);
    color: #fff;
}
.sqz-step-dot.active {
    border-color: var(--accent);
    color: var(--accent);
    transform: scale(1.15);
}

/* Col 4 — Score ring */
.sqz-col-ring {
    align-items: center;
    gap: 8px;
}
.sqz-score-ring-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}
.sqz-score-ring { width: 100%; height: 100%; }
.sqz-score-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 800;
    color: var(--ink);
}
.sqz-score-hint {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--slate);
    margin: 0;
    text-align: center;
    line-height: 1.4;
}

/* ── Result screen ── */
.sqz-result {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
    background: var(--white);
    position: relative;
    z-index: 1;
    animation: sqzFadeIn 0.5s ease;
}
.sqz-result-inner {
    display: flex;
    align-items: center;
    gap: 32px;
    max-width: 700px;
    width: 100%;
}
.sqz-result-ring-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}
.sqz-result-ring { width: 100%; height: 100%; }
.sqz-result-pct {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}
.sqz-result-text-col {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sqz-result-verdict {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(15px, 1.6vw, 19px);
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}
.sqz-result-msg {
    font-size: 13px;
    color: var(--slate);
    margin: 0;
    line-height: 1.5;
}
.sqz-result-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 4px;
    flex-wrap: wrap;
}
.sqz-result-cta {
    display: inline-block;
    font-size: 13px;
    padding: 11px 24px;
    text-decoration: none;
}
.sqz-retry-btn {
    background: transparent;
    border: 2px solid #DDE5EE;
    border-radius: 50px;
    padding: 10px 22px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--slate);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.sqz-retry-btn:hover {
    border-color: var(--ink);
    color: var(--ink);
}

@keyframes sqzFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .sqz-section { height: auto; min-height: 200px; }

    /* Intro */
    .sqz-intro { padding: 32px 5%; }

    /* Game: question + image on top row, progress + ring on bottom */
    .sqz-game {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
    }
    .sqz-col-img      { grid-column: 1; grid-row: 1; display: flex; padding: 10px 8px 10px 5%; border-right: 1px solid rgba(190,201,216,0.2); border-bottom: 1px solid rgba(190,201,216,0.2); }
    .sqz-col-question { grid-column: 2; grid-row: 1; padding: 16px 5% 16px 8px; border-right: none; border-bottom: 1px solid rgba(190,201,216,0.2); }
    .sqz-col-progress { grid-column: 1; grid-row: 2; padding: 12px 8px 12px 5%; border-right: 1px solid rgba(190,201,216,0.2); }
    .sqz-col:last-child { grid-column: 2; grid-row: 2; padding: 12px 5% 12px 8px; border-bottom: none; }

    /* Result */
    .sqz-result { padding: 28px 5%; }
    .sqz-result-inner { flex-direction: column; text-align: center; gap: 16px; }
    .sqz-result-actions { justify-content: center; flex-wrap: wrap; }
    .sqz-result-cta { width: 100%; text-align: center; box-sizing: border-box; }
    .sqz-retry-btn  { width: 100%; text-align: center; box-sizing: border-box; }
}
