/* ==========================================================================
   EPIC LAYER v1  —  Dark Luxury "Level Up"
   Sits on top of style-dark-luxury.css. Every effect is additive, scoped,
   and respects prefers-reduced-motion. Content never depends on JS to be
   visible (reveal classes are only added by js/epic.js).
   ========================================================================== */

:root {
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --hero-delay: 1.15s;               /* waits for the splash screen */
}
.no-splash { --hero-delay: 0.1s; }

/* --------------------------------------------------------------------------
   1. SPLASH INTRO  (CSS-only lifecycle: always auto-dismisses)
   -------------------------------------------------------------------------- */
.splash {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at 50% 45%, #15233a 0%, #0a0a0a 62%);
    animation: splashOut 0.7s ease 1.35s forwards;
}
.no-splash .splash { display: none; }
.splash-inner { text-align: center; padding: 0 20px; }
.splash-logo {
    width: 120px;
    height: auto;
    margin: 0 auto 26px;
    opacity: 0;
    filter: drop-shadow(0 0 28px rgba(212, 175, 55, 0.6));
    animation: splashLogo 1.1s var(--ease-out) 0.1s forwards;
}
.splash-name {
    font-family: var(--font-display);
    font-size: clamp(16px, 3.6vw, 24px);
    letter-spacing: 0.45em;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: splashText 0.9s var(--ease-out) 0.45s forwards;
}
.splash-line {
    height: 1px;
    width: 0;
    margin: 22px auto 0;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: splashLine 1s var(--ease-out) 0.6s forwards;
}
@keyframes splashLogo { from { opacity: 0; transform: scale(0.8) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splashText { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes splashLine { to { width: min(260px, 60vw); } }
@keyframes splashOut  { to { opacity: 0; visibility: hidden; } }

/* --------------------------------------------------------------------------
   2. SCROLL PROGRESS + CURSOR LIGHT
   -------------------------------------------------------------------------- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-light), #fff);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.8);
    z-index: 1100;
    pointer-events: none;
}

.cursor-glow {
    position: fixed;
    left: 0; top: 0;
    width: 640px; height: 640px;
    margin: -320px 0 0 -320px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.09), transparent 60%);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
    mix-blend-mode: screen;
    will-change: transform;
}
.cursor-glow.on { opacity: 1; }

/* --------------------------------------------------------------------------
   3. NAVBAR POLISH + QUICK MENU BUTTON
   -------------------------------------------------------------------------- */
.nav-container, .logo-image { transition: all 0.4s var(--ease-out); }
@media (min-width: 769px) {
    .navbar.scrolled .nav-container { padding-top: 12px; padding-bottom: 12px; }
    .navbar.scrolled .logo-image { height: 46px; }
}
@media (min-width: 769px) and (max-width: 1200px) {
    .nav-menu { gap: 24px; }
    .nav-link { font-size: 12.5px; letter-spacing: 1px; }
    .logo-text { font-size: 17px; letter-spacing: 1px; }
}

.nav-cmd {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    min-width: 40px;
    justify-content: center;
    padding: 0 12px;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    font: 500 12px var(--font-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.nav-cmd:hover { background: var(--gold); color: var(--primary-black); box-shadow: var(--shadow-gold); }
.nav-cmd .nav-cmd-label, .nav-cmd kbd { display: none; }
@media (max-width: 768px) {
    .nav-cmd { width: 100%; max-width: 320px; height: 52px; }
    .nav-cmd .nav-cmd-label { display: inline; }
    .nav-container { padding: 16px 20px; }
    .logo-image { height: 48px; }
    .logo-text { font-size: 15px; letter-spacing: 1px; }
}

/* --------------------------------------------------------------------------
   4. HERO — aurora, constellation canvas, shimmer title, roles, status
   -------------------------------------------------------------------------- */
.hero { padding-bottom: 130px; }

.hero-aurora { position: absolute; inset: 0; overflow: hidden; z-index: 0; pointer-events: none; }
.hero-aurora span {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.38;
    will-change: transform;
}
.hero-aurora span:nth-child(1) {
    width: 52vmax; height: 52vmax; left: -12vmax; top: -14vmax;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.55), transparent 65%);
    animation: auroraA 22s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(2) {
    width: 56vmax; height: 56vmax; right: -18vmax; bottom: -22vmax;
    background: radial-gradient(circle, rgba(31, 78, 140, 0.65), transparent 65%);
    animation: auroraB 26s ease-in-out infinite alternate;
}
.hero-aurora span:nth-child(3) {
    width: 34vmax; height: 34vmax; left: 38%; top: 30%;
    background: radial-gradient(circle, rgba(247, 231, 206, 0.25), transparent 65%);
    animation: auroraC 30s ease-in-out infinite alternate;
}
@keyframes auroraA { to { transform: translate3d(14vmax, 10vmax, 0) scale(1.15); } }
@keyframes auroraB { to { transform: translate3d(-16vmax, -8vmax, 0) scale(1.1); } }
@keyframes auroraC { to { transform: translate3d(-10vmax, 12vmax, 0) scale(0.85); } }
@media (max-width: 768px) {
    .hero-aurora span { filter: blur(60px); }
    .hero-aurora span:nth-child(3) { display: none; }
}

#hero-canvas {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
}

.hero-content {
    transform: translate3d(0, var(--hy, 0px), 0);
    opacity: var(--ho, 1);
    will-change: transform, opacity;
}

/* Choreographed entrance */
.hero-text > * { animation: heroRise 1.1s var(--ease-out) both; }
.hero-text > :nth-child(1) { animation-delay: calc(var(--hero-delay) + 0.00s); }
.hero-text > :nth-child(2) { animation-delay: calc(var(--hero-delay) + 0.18s); }
.hero-text > :nth-child(3) { animation-delay: calc(var(--hero-delay) + 0.30s); }
.hero-text > :nth-child(4) { animation-delay: calc(var(--hero-delay) + 0.42s); }
.hero-text > :nth-child(5) { animation-delay: calc(var(--hero-delay) + 0.54s); }
.hero-text > :nth-child(6) { animation-delay: calc(var(--hero-delay) + 0.66s); }
.hero-text > :nth-child(7) { animation-delay: calc(var(--hero-delay) + 0.80s); }
@keyframes heroRise { from { opacity: 0; transform: translateY(34px); } to { opacity: 1; transform: none; } }

.hero-text > .hero-title {
    background-image: linear-gradient(110deg, #ffffff 0%, #d4af37 28%, #f4d03f 46%, #fff6cf 56%, #d4af37 78%, #ffffff 100%);
    background-size: 260% 100%;
    background-position: 0% 50%;
    animation:
        heroTitleIn 1.5s var(--ease-out) var(--hero-delay) both,
        titleShimmer 9s ease-in-out calc(var(--hero-delay) + 1.6s) infinite alternate;
}
@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(30px) scale(1.05); filter: blur(14px); }
    to   { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes titleShimmer { to { background-position: 100% 50%; } }

.hero-roles {
    font-size: clamp(14px, 2vw, 18px);
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: -14px 0 38px;
    min-height: 1.7em;
}
.hero-roles .roles-label { color: var(--text-muted); margin-right: 10px; }
.hero-roles .typed {
    color: var(--gold-light);
    font-weight: 500;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    padding-bottom: 2px;
}
.hero-roles .caret {
    display: inline-block;
    width: 2px; height: 1.05em;
    margin-left: 5px;
    vertical-align: -0.15em;
    background: var(--gold);
    animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.hero-status {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    justify-content: center;
    align-items: center;
    margin-top: 54px;
}
.status-pill, .status-clock {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-light);
    background: rgba(10, 10, 10, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.25);
    backdrop-filter: blur(10px);
}
.status-clock i { color: var(--gold); font-size: 13px; width: 14px; text-align: center; }
.status-clock time { color: var(--gold-light); font-weight: 600; font-variant-numeric: tabular-nums; }
.status-clock .tz { color: var(--text-muted); }
.pulse-dot {
    position: relative;
    width: 9px; height: 9px;
    border-radius: 50%;
    background: #2ecc71;
}
.pulse-dot::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 1px solid #2ecc71;
    animation: pulseRing 2s ease-out infinite;
}
@keyframes pulseRing { from { transform: scale(0.5); opacity: 0.9; } to { transform: scale(1.6); opacity: 0; } }

.magnetic { translate: var(--tx, 0px) var(--ty, 0px); }

/* --------------------------------------------------------------------------
   5. TICKER STRIP
   -------------------------------------------------------------------------- */
.ticker {
    position: relative;
    overflow: hidden;
    background: #070707;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 20px 0;
}
.ticker::before, .ticker::after {
    content: '';
    position: absolute; top: 0; bottom: 0;
    width: min(140px, 14vw);
    z-index: 2;
    pointer-events: none;
}
.ticker::before { left: 0;  background: linear-gradient(90deg, #070707, transparent); }
.ticker::after  { right: 0; background: linear-gradient(270deg, #070707, transparent); }
.ticker-track { display: flex; width: max-content; animation: tickerMove 55s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding-right: 34px;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-light);
    white-space: nowrap;
}
.ticker-item strong {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 1px;
    color: var(--gold);
}
.ticker-item::after { content: '◆'; color: var(--gold); font-size: 9px; margin-left: 22px; opacity: 0.7; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   6. SECTION HEADERS — numbered eyebrow + drawing underline
   -------------------------------------------------------------------------- */
body { counter-reset: sec; }
.section-header { counter-increment: sec; }
.section-header::before {
    content: '— 0' counter(sec) ' —';
    display: block;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 6px;
    opacity: 0.9;
}
.js .section-header .title-underline {
    transform: scaleX(0);
    transition: transform 1.3s var(--ease-out) 0.25s;
}
.js .section-header.is-visible .title-underline { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   7. SCROLL REVEAL  (classes are added by JS only)
   -------------------------------------------------------------------------- */
.js .reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible { animation: revealUp 0.95s var(--ease-out) var(--d, 0s) backwards; }
.reveal-left  { --rx: -56px; --ry: 0px; }
.reveal-right { --rx: 56px;  --ry: 0px; }
@keyframes revealUp {
    from { opacity: 0; transform: translate(var(--rx, 0px), var(--ry, 38px)); }
    to   { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   8. SPOTLIGHT CARDS  (mouse-follow gold light + lit border)
   -------------------------------------------------------------------------- */
.spot-glow {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 1;
    background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(212, 175, 55, 0.13), transparent 55%);
}
.spot-glow::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(244, 208, 63, 0.95), transparent 60%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.spot-host:hover > .spot-glow { opacity: 1; }

/* --------------------------------------------------------------------------
   9. CAREER TIMELINE — progress beam, lit dots, industry filters
   -------------------------------------------------------------------------- */
.timeline-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: -10px 0 50px;
}
.tl-chip {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--text-light);
    padding: 10px 18px;
    font: 500 12px var(--font-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.tl-chip:hover { border-color: var(--gold); color: var(--gold); }
.tl-chip.active {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary-black);
    border-color: var(--gold);
}
.tl-chip small { opacity: 0.7; margin-left: 6px; font-size: 11px; }
.tl-count { margin-left: auto; color: var(--text-muted); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

.timeline-progress {
    position: absolute;
    left: 0; top: 0;
    width: 2px;
    height: var(--tp, 0px);
    background: linear-gradient(to bottom, var(--gold), var(--gold-light));
    box-shadow: 0 0 14px 2px rgba(244, 208, 63, 0.65);
    z-index: 1;
    pointer-events: none;
}
.timeline-progress::after {
    content: '';
    position: absolute;
    bottom: -5px; left: -4px;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 16px 6px rgba(244, 208, 63, 0.9);
}
.js .timeline-item .timeline-dot { transition: opacity 0.5s ease, filter 0.5s ease; }
.js .timeline-item:not(.lit) .timeline-dot { opacity: 0.35; filter: grayscale(0.7); }
.timeline-item.lit .timeline-dot { animation: dotPulse 2.6s ease-out infinite; }
@keyframes dotPulse {
    0%   { box-shadow: 0 0 0 4px var(--gold), 0 0 0 4px rgba(212, 175, 55, 0.6); }
    70%  { box-shadow: 0 0 0 4px var(--gold), 0 0 0 16px rgba(212, 175, 55, 0); }
    100% { box-shadow: 0 0 0 4px var(--gold), 0 0 0 4px rgba(212, 175, 55, 0); }
}
.timeline-item.is-filtered { display: none; }

/* --------------------------------------------------------------------------
   10. GLOBAL FOOTPRINT — interactive globe
   -------------------------------------------------------------------------- */
.global-section {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 28% 45%, rgba(15, 28, 46, 0.95), transparent 70%),
        linear-gradient(180deg, var(--primary-black), var(--rich-black));
}
.global-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.globe-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 60px;
    align-items: center;
}
.globe-stage {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}
/* Instant placeholder globe: visible from first paint, fades out when the real one is drawn,
   so the section never looks empty while the globe loads. */
.globe-stage::before {
    content: '';
    position: absolute;
    inset: 7%;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, #1d3556 0%, #0e1c30 55%, #060a11 100%);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.45), 0 0 80px rgba(212, 175, 55, 0.14);
    animation: globePlaceholder 2.4s ease-in-out infinite;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.globe-stage.globe-ready::before { opacity: 0; animation: none; }
@keyframes globePlaceholder { 50% { box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.7), 0 0 110px rgba(212, 175, 55, 0.24); } }
#globe-canvas {
    position: relative;
    display: block;
    width: 100%; height: 100%;
    cursor: grab;
    touch-action: pan-y;
}
#globe-canvas.dragging { cursor: grabbing; }
#globe-canvas.hovering { cursor: pointer; }
.globe-loading {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    pointer-events: none;
    transition: opacity 0.6s ease;
}
.globe-loading.done { opacity: 0; }
.globe-hint {
    position: absolute;
    left: 50%; bottom: 1%;
    transform: translateX(-50%);
    display: flex; align-items: center; gap: 10px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
    pointer-events: none;
}
.globe-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    margin-bottom: 26px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
}
.globe-legend span { display: inline-flex; align-items: center; gap: 10px; }
.globe-legend i { display: inline-block; width: 26px; height: 2px; background: var(--gold-light); box-shadow: 0 0 8px var(--gold); }
.globe-legend i.trade { background: var(--champagne); opacity: 0.8; box-shadow: none; }
.globe-legend i.hub { width: 9px; height: 9px; border-radius: 50%; background: var(--gold-light); }

.hub-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 26px;
}
.hub-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    text-align: left;
    background: rgba(26, 26, 26, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    font: 400 13px var(--font-primary);
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-smooth);
}
.hub-btn::before {
    content: '';
    flex: 0 0 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold-dark);
    transition: var(--transition-smooth);
}
.hub-btn:hover { border-color: var(--gold); transform: translateX(4px); }
.hub-btn.active {
    background: rgba(212, 175, 55, 0.13);
    border-color: var(--gold);
    color: var(--gold-light);
}
.hub-btn.active::before { background: var(--gold-light); box-shadow: 0 0 12px var(--gold-light); }
.hub-btn small { display: block; color: var(--text-muted); font-size: 11px; letter-spacing: 1px; }

.hub-detail {
    position: relative;
    padding: 30px;
    background: linear-gradient(135deg, var(--charcoal), var(--luxury-blue));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 3px solid var(--gold);
    box-shadow: var(--shadow-xl);
    min-height: 250px;
}
.hub-detail h3 { font-family: var(--font-display); font-size: 28px; color: var(--text-white); margin-bottom: 4px; letter-spacing: 1px; }
.hub-role { color: var(--gold); font-size: 13px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; }
.hub-time { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; font-size: 13px; color: var(--text-muted); letter-spacing: 1px; }
.hub-time b { color: var(--gold-light); font-variant-numeric: tabular-nums; }
.hub-detail p { color: var(--text-muted); line-height: 1.75; font-size: 15px; margin-bottom: 16px; }
.hub-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-tags span {
    padding: 6px 12px;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    background: rgba(212, 175, 55, 0.07);
}
@media (max-width: 1024px) {
    .globe-layout { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 480px) {
    .hub-list { grid-template-columns: 1fr; }
    .hub-detail { padding: 22px; }
}

/* --------------------------------------------------------------------------
   11. SIDE DOT NAVIGATION
   -------------------------------------------------------------------------- */
.dot-nav {
    position: fixed;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 900;
    display: none;
    flex-direction: column;
    gap: 6px;
}
@media (min-width: 1360px) { .dot-nav { display: flex; } }
.dot-nav a { position: relative; display: block; width: 20px; height: 20px; }
.dot-nav a i {
    position: absolute;
    inset: 5px;
    border: 1px solid var(--gold);
    transform: rotate(45deg);
    transition: var(--transition-smooth);
}
.dot-nav a.active i { background: var(--gold); box-shadow: 0 0 14px rgba(212, 175, 55, 0.9); transform: rotate(45deg) scale(1.35); }
.dot-nav a span {
    position: absolute;
    right: 30px; top: 50%;
    transform: translate(8px, -50%);
    padding: 5px 12px;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s ease;
}
.dot-nav a:hover span, .dot-nav a:focus-visible span { opacity: 1; transform: translate(0, -50%); }

/* --------------------------------------------------------------------------
   12. COMMAND PALETTE (Ctrl/Cmd + K)
   -------------------------------------------------------------------------- */
.cmdk {
    position: fixed;
    inset: 0;
    z-index: 100001;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 13vh 14px 0;
    background: rgba(5, 5, 5, 0.72);
    backdrop-filter: blur(8px);
}
.cmdk.open { display: flex; animation: cmdkIn 0.2s ease; }
@keyframes cmdkIn { from { opacity: 0; } to { opacity: 1; } }
.cmdk-panel {
    width: min(660px, 100%);
    background: linear-gradient(135deg, #141414, #0f1c2e);
    border: 1px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(212, 175, 55, 0.12);
    animation: cmdkPanel 0.3s var(--ease-out);
}
@keyframes cmdkPanel { from { transform: translateY(-14px) scale(0.98); opacity: 0; } to { transform: none; opacity: 1; } }
.cmdk-input-wrap { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-bottom: 1px solid rgba(212, 175, 55, 0.2); }
.cmdk-input-wrap i { color: var(--gold); }
.cmdk-input {
    flex: 1;
    min-width: 0;
    background: none;
    border: 0;
    outline: 0;
    color: #fff;
    font: 400 17px var(--font-primary);
    letter-spacing: 0.5px;
}
.cmdk-input::placeholder { color: var(--text-dark-muted); }
.cmdk-list { list-style: none; max-height: min(52vh, 430px); overflow-y: auto; padding: 8px 10px 12px; }
.cmdk-group { padding: 14px 14px 6px; font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.cmdk-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    color: var(--text-light);
    cursor: pointer;
}
.cmdk-item i { width: 20px; text-align: center; color: var(--gold); }
.cmdk-item .cmdk-hint { margin-left: auto; font-size: 11px; letter-spacing: 1.5px; color: var(--text-dark-muted); text-transform: uppercase; }
.cmdk-item[aria-selected="true"] { background: rgba(212, 175, 55, 0.14); color: #fff; box-shadow: inset 3px 0 0 var(--gold); }
.cmdk-empty { padding: 28px; text-align: center; color: var(--text-muted); }
.cmdk-foot { display: flex; gap: 20px; padding: 12px 22px; border-top: 1px solid rgba(212, 175, 55, 0.15); font-size: 11px; letter-spacing: 1px; color: var(--text-dark-muted); }
.cmdk kbd, .nav-cmd kbd {
    font: 500 11px var(--font-primary);
    padding: 2px 7px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
}
@media (max-width: 600px) { .cmdk-foot { display: none; } }

/* --------------------------------------------------------------------------
   13. CONTACT + FOOTER FLOURISHES
   -------------------------------------------------------------------------- */
.book-cta {
    position: relative;
    margin: 0 0 40px;
    padding: 34px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.35);
}
.book-cta h4 { font-family: var(--font-display); font-size: 24px; color: var(--text-white); margin-bottom: 10px; }
.book-cta h4 i { color: var(--gold); margin-right: 8px; }
.book-cta p { color: var(--text-muted); margin-bottom: 20px; line-height: 1.7; }

.footer { position: relative; overflow: hidden; }
.footer-wordmark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(40px, 11vw, 190px);
    line-height: 0.95;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: center;
    margin: 0 0 44px;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.45);
    background: linear-gradient(100deg, transparent 30%, rgba(244, 208, 63, 0.75) 50%, transparent 70%) 160% 0 / 250% 100% no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    animation: wordSweep 7s ease-in-out infinite;
    user-select: none;
}
@keyframes wordSweep { 0% { background-position: 160% 0; } 60%, 100% { background-position: -60% 0; } }

/* --------------------------------------------------------------------------
   13b. SS GLOBAL COMMODITIES LOGO
   The supplied artwork is a 1:1 gold-on-black square with generous black
   margins. Crop to the artwork (object-fit) and blend the black into the
   card background so it reads as a floating logo, like the other ventures.
   -------------------------------------------------------------------------- */
.ssglobal-logo-container .ssglobal-logo {
    width: 100%;
    max-width: 380px !important;
    max-height: none !important;
    height: auto;
    aspect-ratio: 1024 / 655;
    object-fit: cover;
    object-position: 50% 40.6%;
    mix-blend-mode: lighten;
    filter: none !important;
    transition: transform 0.4s ease;
}
.ssglobal-logo-container .ssglobal-logo:hover { transform: scale(1.04); }
@media (max-width: 768px) {
    .ssglobal-logo-container .ssglobal-logo { max-width: 300px !important; }
}

/* Multi-line routes inside a commodity row */
.commodity-details .trade-route + .trade-route { margin-top: -2px; }

/* --------------------------------------------------------------------------
   13c. GET IN TOUCH — balanced grid layout
   Row 1: intro + booking card      (2 equal columns)
   Row 2: Sri Lanka / Canada / Phone / Email   (4 equal cards)
   Row 3: three service areas       (3 equal cards)
   Row 4: social links + save contact (2 equal columns)
   -------------------------------------------------------------------------- */
.contact-content { display: block; }
.contact-info { width: 100%; }

/* Row 1 */
.contact-top {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
    margin-bottom: 70px;
}
.contact-intro { display: flex; flex-direction: column; justify-content: center; }
.contact-intro h3 { margin-bottom: 22px; }
.contact-intro > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 18px; }
.contact-intro .contact-emphasis { margin-bottom: 0 !important; }

.book-cta {
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 44px;
    border-left: 4px solid var(--gold);
}
.book-cta h4 { font-size: 28px; }
.book-cta p { margin-bottom: 26px; font-size: 16px; }

/* Section sub-headings (centred label with gold rules) */
.contact-subhead {
    display: flex;
    align-items: center;
    gap: 22px;
    margin: 0 0 28px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
}
.contact-subhead::before, .contact-subhead::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.45));
}
.contact-subhead::after { background: linear-gradient(270deg, transparent, rgba(212, 175, 55, 0.45)); }

/* Rows 2 + 3: equal-height cards */
.contact-details, .contact-services {
    display: grid;
    gap: 24px;
    margin-bottom: 70px;
}
.contact-details  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.contact-services { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.contact-details .contact-item,
.contact-services .contact-item {
    position: relative;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 32px 28px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.92), rgba(15, 28, 46, 0.72));
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}
.contact-details .contact-item:hover,
.contact-services .contact-item:hover {
    transform: translateY(-6px);
    border-color: var(--gold);
    box-shadow: 0 18px 40px rgba(212, 175, 55, 0.14);
}
.contact-details .contact-item::before,
.contact-services .contact-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), transparent);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform 0.5s var(--ease-out);
}
.contact-details .contact-item:hover::before,
.contact-services .contact-item:hover::before { transform: scaleX(1); }

.contact-item .contact-icon { width: 54px; height: 54px; font-size: 21px; }
.contact-item .contact-text { flex: 1; min-width: 0; }
.contact-item .contact-text h4 { font-size: 18px; line-height: 1.35; margin-bottom: 12px; }
.contact-item .contact-text p { overflow-wrap: anywhere; }
.contact-item .contact-text a { transition: color 0.3s ease; }
.contact-item .contact-text a:hover { color: var(--gold); }

/* Row 4: social + save contact, equal columns & heights */
.contact-bottom {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}
.contact-bottom .social-connect,
.contact-bottom .save-contact-section {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 36px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.92), rgba(15, 28, 46, 0.72));
}
.contact-bottom .social-connect h4 { margin-bottom: 22px; font-size: 20px; color: var(--gold); }
.contact-bottom .social-buttons {
    flex: 1;
    flex-direction: row;
    gap: 14px;
}
.contact-bottom .social-btn {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding: 20px 10px;
    text-align: center;
    font-size: 14px;
}
.contact-bottom .social-btn:hover { transform: translateY(-5px); }

.contact-bottom .save-contact-section {
    text-align: left;
    justify-content: center;
    align-items: flex-start;
    border-left: 4px solid var(--gold);
}
.contact-bottom .save-contact-section h4 { font-size: 20px; }
.contact-bottom .save-contact-section p { color: var(--text-muted); margin-bottom: 4px; }
.contact-bottom .save-contact-section .btn { margin-top: 22px !important; }

/* Responsive */
@media (max-width: 1200px) {
    .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .contact-top, .contact-bottom { grid-template-columns: 1fr; }
    .contact-services { grid-template-columns: 1fr; }
    .contact-top { margin-bottom: 50px; }
    .contact-details, .contact-services { margin-bottom: 50px; }
}
@media (max-width: 600px) {
    .contact-details { grid-template-columns: 1fr; }
    .book-cta, .contact-bottom .social-connect, .contact-bottom .save-contact-section { padding: 28px 22px; }
    .contact-details .contact-item, .contact-services .contact-item { padding: 26px 22px; }
    .contact-subhead { letter-spacing: 3px; gap: 14px; font-size: 12px; }
    .contact-bottom .social-buttons { flex-direction: column; }
    .contact-bottom .social-btn { flex-direction: row; justify-content: flex-start; padding: 16px 20px; gap: 16px; }
}

/* --------------------------------------------------------------------------
   13d. LAYOUT REWORK — About, Career, Ventures, Lifestyle, FAQ
   Everything stays visible (no tabs / read-more). Mobile falls back to
   single-column flow.
   -------------------------------------------------------------------------- */

/* ---- shared "card" look for About blocks ---- */
.my-journey, .heart-work, .my-approach, .beyond-resume, .languages {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(15, 28, 46, 0.6));
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-top: 2px solid var(--gold);
    box-shadow: var(--shadow-md);
    padding: 36px;
    margin: 0;
}
.about-lower h4 {
    margin: 0 0 20px;
    font-size: 19px;
    letter-spacing: 2px;
}
.about-lower h4 i { font-size: 20px; }
.about-lower p { font-size: 16px; line-height: 1.85; margin-bottom: 18px; }
.about-lower p:last-child { margin-bottom: 0; }
.about-lower strong { color: var(--text-white); font-weight: 500; }

/* ---- 1. ABOUT ---- */
.about-content { grid-template-columns: 410px minmax(0, 1fr); gap: 70px; }
.about-image { align-self: stretch; }
.about-content .profile-card { padding: 36px; }
.about-content .profile-image { width: 100%; max-width: 320px; }
.about-content .about-heading { font-size: clamp(28px, 3vw, 38px); line-height: 1.25; }

.about-lower-wrap { margin-top: 80px; position: relative; z-index: 1; }
.about-lower { display: flex; flex-direction: column; gap: 30px; }
.about-story { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.heart-work { background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(15, 28, 46, 0.5)); }
.my-approach p { margin-bottom: 0; }

.beyond-resume {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 50px;
    row-gap: 0;
}
.beyond-resume h4, .beyond-resume .role-badges { grid-column: 1 / -1; }
.beyond-resume .role-badges { margin: 0 0 28px; justify-content: flex-start; }

.about-lower .personal-quote {
    margin: 10px 0;
    padding: 64px 40px;
    text-align: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(212, 175, 55, 0.14), transparent 70%),
        linear-gradient(135deg, var(--luxury-blue), var(--midnight));
}
.about-lower .personal-quote i { position: static; display: block; margin-bottom: 14px; font-size: 38px; opacity: 0.55; }
.about-lower .personal-quote p {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 34px);
    line-height: 1.5;
    max-width: 900px;
    margin: 0 auto 22px;
}

.languages { display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: center; gap: 30px; }
.languages h4 { margin: 0 !important; }
.language-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.language-item { flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 20px; }
.language-level { font-size: 11px; }

/* ---- 2. CAREER ---- */
.role-card.featured .role-content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    gap: 60px;
    align-items: center;
}
.role-card.featured .role-highlights { margin: 0; }
.role-card.featured .role-highlights li { margin-bottom: 14px; font-size: 15px; line-height: 1.7; }
.role-card.featured .role-highlights li:last-child { margin-bottom: 0; }
.role-card .role-mission { color: var(--text-light); line-height: 1.7; margin-top: 8px; }
.role-card .role-main h3 { font-size: 30px; }

.skills-section, .education-section, .timeline-section { margin: 70px 0 0; }
.skills-section .subsection-title, .education-section .subsection-title, .timeline-section .subsection-title { margin-top: 0; }
.skills-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.skill-card { padding: 34px; }
.education-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.education-card { padding: 30px 26px; }
@media (max-width: 1100px) {
    .skills-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* zig-zag timeline: class .tl-zig is added by epic.js */
@media (min-width: 901px) {
    .timeline.tl-zig {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        padding-left: 0;
        column-gap: 0;
    }
    .timeline.tl-zig::before { left: 50%; margin-left: -1px; }
    .timeline.tl-zig .timeline-progress { left: 50%; margin-left: -1px; }
    .tl-zig .timeline-item {
        margin-bottom: 22px;
        padding: 22px 26px;
        align-items: center;
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.85), rgba(15, 28, 46, 0.6));
        border: 1px solid rgba(212, 175, 55, 0.18);
        box-shadow: var(--shadow-md);
        grid-row: var(--tr) / span 2;
        transition: border-color 0.3s ease, transform 0.3s ease;
    }
    .tl-zig .timeline-item:hover { border-color: rgba(212, 175, 55, 0.5); }
    .tl-zig .timeline-item.tl-left  { grid-column: 1; margin-right: 46px; flex-direction: row-reverse; text-align: right; }
    .tl-zig .timeline-item.tl-right { grid-column: 2; margin-left: 46px; }
    .tl-zig .timeline-item.tl-left .company-header { justify-content: flex-end; }
    .tl-zig .timeline-item.tl-left .timeline-dot  { left: auto; right: -52px; top: 30px; }
    .tl-zig .timeline-item.tl-right .timeline-dot { left: -52px; top: 30px; }
    .tl-zig .timeline-item::after {
        content: '';
        position: absolute;
        top: 35px;
        width: 40px; height: 1px;
        background: linear-gradient(to right, rgba(212, 175, 55, 0.6), rgba(212, 175, 55, 0.1));
    }
    .tl-zig .timeline-item.tl-left::after  { right: -46px; transform: scaleX(-1); }
    .tl-zig .timeline-item.tl-right::after { left: -46px; }
    .tl-zig .timeline-content { flex: 1; min-width: 0; }
}
@media (max-width: 900px) {
    /* single-column timeline: line on the left, dot centred on it */
    .timeline, .timeline.tl-zig { padding-left: 34px; }
    .timeline-item { padding-left: 0; }
    .timeline-item .timeline-dot { left: -40px; }
    .timeline-item.is-filtered { display: none; }
}

/* ---- 3. VENTURES ---- */
.venture-highlight { margin-bottom: 40px; }
.ventures-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
    align-items: stretch;
}
.ventures-grid .venture-card { margin: 0; padding: 36px 32px; display: flex; flex-direction: column; }
.ventures-grid .venture-card .venture-content { flex: 1; display: flex; flex-direction: column; }
.ventures-grid .venture-card:not(.venture-feature) .venture-image { margin-bottom: 24px; }
.ventures-grid .venture-card:not(.venture-feature) h3 { font-size: 24px; line-height: 1.25; }
.ventures-grid .venture-card:not(.venture-feature) .venture-projects,
.ventures-grid .venture-card:not(.venture-feature) .focus-areas,
.ventures-grid .venture-card:not(.venture-feature) .mission { margin-top: auto; }
.ventures-grid .venture-card .venture-content > p { color: var(--text-muted); line-height: 1.75; font-size: 15px; margin-bottom: 8px; }
.ventures-grid .venture-card .venture-location { margin-bottom: 14px; }

/* SS Global feature card — compact 3-zone layout:
   row 1: logo | identity | description + expertise
   row 2: six active trades in a 3 x 2 grid */
.ventures-grid .venture-feature {
    grid-column: 1 / -1;
    order: -1;
    padding: 34px 40px 38px;
    display: grid;
    grid-template-columns: 270px minmax(0, 0.8fr) minmax(0, 1.4fr);
    column-gap: 44px;
    row-gap: 30px;
    align-items: stretch;
    border-color: rgba(212, 175, 55, 0.4);
    border-left: 4px solid var(--gold);
}
.venture-feature .venture-id { align-self: center; }
/* same specificity as the generic .venture-content flex rule, but later => wins */
.ventures-grid .venture-feature .venture-content,
.ventures-grid .venture-feature .venture-meta { display: contents; }
.venture-feature .venture-image { grid-column: 1; grid-row: 1; margin: 0; align-self: stretch; display: flex; }
.venture-feature .ssglobal-logo-container {
    flex: 1;
    min-height: 0;
    padding: 18px;
    border: 1px solid rgba(212, 175, 55, 0.18);
}
.venture-feature .ssglobal-logo-container .ssglobal-logo { max-width: 230px !important; }
.venture-feature .venture-id { grid-column: 2; grid-row: 1; }
.venture-feature .venture-about { grid-column: 3; grid-row: 1; }
.venture-feature .venture-id h3 { font-size: 28px; margin-bottom: 8px; }
.venture-feature .venture-id .venture-badge { margin-bottom: 14px; }
.venture-feature .venture-id .venture-role { margin-bottom: 8px; }
.venture-feature .venture-id .venture-location { margin-bottom: 10px; }
.venture-feature .venture-id .venture-date { margin-bottom: 0 !important; line-height: 1.6; }
.venture-feature .venture-about > p { color: var(--text-muted); line-height: 1.75; margin: 0; font-size: 15px; }
.venture-feature .venture-about .focus-areas h4 { margin: 18px 0 12px; font-size: 14px; color: var(--gold); }
.venture-feature .venture-about .tags { gap: 8px; }
.venture-feature .venture-about .tag { padding: 7px 12px; font-size: 11px; }
.venture-feature .commodities-section {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    padding-top: 26px;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}
.venture-feature .commodities-section h4 { margin: 0 0 16px; font-size: 15px; }
.venture-feature .commodity-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.venture-feature .commodity-item { align-items: center; padding: 14px 18px; gap: 16px; }
.venture-feature .commodity-item i { font-size: 24px; min-width: 30px; margin-top: 0; text-align: center; }
.venture-feature .commodity-details { gap: 4px; }
.venture-feature .commodity-item:hover { transform: translateY(-3px); }
.ventures-grid .venture-card:not(.venture-feature):last-child { grid-column: auto; }
@media (max-width: 1100px) {
    .ventures-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ventures-grid .venture-card:not(.venture-feature):last-child { grid-column: 1 / -1; }
}
@media (max-width: 1200px) {
    .ventures-grid .venture-feature { grid-template-columns: 230px minmax(0, 1fr); column-gap: 34px; }
    .venture-feature .venture-id { grid-column: 2; grid-row: 1; }
    .venture-feature .venture-about { grid-column: 1 / -1; grid-row: 2; }
    .venture-feature .commodities-section { grid-row: 3; }
    .venture-feature .commodity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .ventures-grid .venture-feature { display: block; padding: 28px 22px; }
    .ventures-grid .venture-feature .venture-content,
    .ventures-grid .venture-feature .venture-meta { display: block; }
    .venture-feature .venture-image { margin-bottom: 22px; }
    .venture-feature .venture-about { margin-top: 20px; }
    .venture-feature .commodities-section { margin-top: 26px; }
    .venture-feature .commodity-list { grid-template-columns: minmax(0, 1fr); }
    .venture-feature .commodity-item { flex-direction: row; }
}
@media (max-width: 700px) {
    .ventures-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---- 3b. Venture links + S Selvarajah Consulting feature card ---- */
/* keep "(10 yrs 9 mos)" flowing as one line of text instead of separate flex items */
.venture-date { display: block !important; line-height: 1.7; }
.venture-date i { margin-right: 6px; }
.venture-date .live-dur { white-space: nowrap; }
.venture-link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 10px;
    margin-top: 22px;
    padding: 11px 20px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--gold);
    transition: var(--transition-smooth);
}
.venture-link i { font-size: 12px; transition: transform 0.3s ease; }
.venture-link:hover, .venture-link:focus-visible {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.venture-link:hover i { transform: translate(2px, -2px); }
.venture-feature .venture-id .venture-link { margin-top: 16px; }
.consulting-feature .venture-header .venture-link { margin-top: 16px; }

@media (min-width: 1201px) {
    .venture-card.consulting-feature {
        display: grid;
        grid-template-columns: 270px minmax(0, 0.8fr) minmax(0, 1.4fr);
        column-gap: 44px;
        row-gap: 30px;
        align-items: stretch;
        padding: 34px 40px 38px;
    }
    .consulting-feature .consulting-logo-header {
        grid-column: 1; grid-row: 1;
        margin: 0; padding: 18px;
        border: 1px solid rgba(212, 175, 55, 0.18);
        background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 28, 46, 0.6));
    }
    .consulting-feature .consulting-logo-header::after { display: none; }
    .consulting-feature .consulting-logo { max-width: 230px !important; max-height: 170px !important; }
    .consulting-feature .venture-header { grid-column: 2; grid-row: 1; margin: 0; align-self: center; }
    .consulting-feature .venture-header h3 { font-size: 28px; line-height: 1.2; }
    .consulting-feature .venture-description { grid-column: 3; grid-row: 1; margin: 0; font-size: 15px; line-height: 1.75; align-self: center; }
    .consulting-feature .clients-section {
        grid-column: 1 / -1; grid-row: 2;
        padding-top: 26px;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    }
    .consulting-feature .clients-section h4 { margin: 0; font-size: 15px; color: var(--gold); white-space: nowrap; }
    .consulting-feature .clients-grid { flex: 1; gap: 10px; }
    .consulting-feature .client-tag { padding: 8px 16px; font-size: 12px; }
}
@media (max-width: 1200px) {
    .consulting-feature { padding: 30px 26px; }
    .consulting-feature .consulting-logo-header { margin-bottom: 24px; padding: 10px 0 24px; }
    .consulting-feature .clients-section h4 { margin-top: 24px; margin-bottom: 14px; font-size: 15px; }
}

/* ---- 4. LIFESTYLE: 3 + 2 + 1 ---- */
.lifestyle-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 30px; align-items: stretch; }
.lifestyle-grid .lifestyle-card { grid-column: span 2; padding: 36px 32px; }
.lifestyle-grid .lifestyle-card:nth-child(4),
.lifestyle-grid .lifestyle-card:nth-child(5) { grid-column: span 3; }
.lifestyle-grid .lifestyle-card.philosophy {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 40px;
    align-items: center;
    padding: 44px 48px;
}
.lifestyle-grid .philosophy .lifestyle-icon { grid-row: 1 / span 2; margin: 0; width: 84px; height: 84px; font-size: 36px; }
.lifestyle-grid .philosophy h3 { margin-bottom: 14px; }
.lifestyle-grid .philosophy blockquote { margin: 0; font-size: clamp(17px, 1.6vw, 20px); }
.lifestyle-card .lifestyle-icon { width: 60px; height: 60px; font-size: 26px; margin-bottom: 22px; }
.lifestyle-card h3 { font-size: 24px; }
.lifestyle-card > p { font-size: 15px; }
@media (max-width: 1024px) {
    .lifestyle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lifestyle-grid .lifestyle-card,
    .lifestyle-grid .lifestyle-card:nth-child(4) { grid-column: span 1; }
    .lifestyle-grid .lifestyle-card:nth-child(5) { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
    .lifestyle-grid { grid-template-columns: minmax(0, 1fr); }
    .lifestyle-grid .lifestyle-card,
    .lifestyle-grid .lifestyle-card:nth-child(5) { grid-column: 1 / -1; }
    .lifestyle-grid .lifestyle-card.philosophy { display: block; padding: 32px 26px; }
    .lifestyle-grid .philosophy .lifestyle-icon { margin-bottom: 22px; }
}

/* ---- 5. FAQ: split layout ---- */
@media (min-width: 981px) {
    .faq-section > .container {
        display: grid;
        grid-template-columns: 360px minmax(0, 1fr);
        column-gap: 70px;
        align-items: start;
    }
    .faq-section .section-header {
        text-align: left;
        margin-bottom: 0;
        position: sticky;
        top: 120px;
    }
    .faq-section .section-title { font-size: clamp(30px, 3vw, 40px); line-height: 1.2; }
    .faq-section .title-underline { margin: 0 0 22px; background: linear-gradient(to right, var(--gold), transparent); transform-origin: left; }
    .faq-section .section-subtitle { margin: 0; max-width: none; font-size: 15px; line-height: 1.7; }
    .faq-section .faq-container { max-width: none; margin: 0; }
}
.faq-help {
    margin-top: 32px;
    padding: 26px;
    text-align: left;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1), rgba(212, 175, 55, 0.02));
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 4px solid var(--gold);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-help p { color: var(--text-light); font-size: 15px; line-height: 1.7; margin: 0 0 6px; text-transform: none; letter-spacing: 0; }
.faq-help .btn { width: 100%; justify-content: center; text-align: center; }
.faq-section .faq-item:last-child { margin-bottom: 0; }
@media (max-width: 980px) {
    .faq-help { max-width: 520px; margin-left: auto; margin-right: auto; }
    .faq-section .section-header { margin-bottom: 40px; }
}

/* ---- 6. CONTRAST FIXES ---- */
.impact-description { color: #cfcfcf; font-size: 15px; line-height: 1.65; }
.btn-download-secondary {
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid var(--gold);
    color: var(--gold-light);
}
.btn-download-secondary:hover { color: #fff; }
.book-cta p, .contact-bottom .save-contact-section p { color: var(--text-light); }

/* ---- 7. RESPONSIVE for About ---- */
@media (max-width: 1100px) {
    .about-story { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .about-story .my-approach { grid-column: 1 / -1; }
    .language-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .about-content { grid-template-columns: minmax(0, 1fr); gap: 50px; }
    .role-card.featured .role-content { grid-template-columns: minmax(0, 1fr); gap: 30px; }
}
@media (max-width: 800px) {
    .about-story { grid-template-columns: minmax(0, 1fr); }
    .beyond-resume { grid-template-columns: minmax(0, 1fr); }
    .languages { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .skills-grid, .education-grid { grid-template-columns: minmax(0, 1fr); }
    .my-journey, .heart-work, .my-approach, .beyond-resume, .languages { padding: 26px 22px; }
    .about-lower .personal-quote { padding: 40px 24px; }
    .about-lower-wrap { margin-top: 50px; }
}
@media (max-width: 520px) {
    .language-grid { grid-template-columns: minmax(0, 1fr); }
}

/* --------------------------------------------------------------------------
   14. SAFETY NETS
   -------------------------------------------------------------------------- */
@media (hover: none), (pointer: coarse) {
    .cursor-glow, .spot-glow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .splash { display: none; }
    .ticker-track, .footer-wordmark, .hero-aurora span, .pulse-dot::after,
    .timeline-item.lit .timeline-dot { animation: none !important; }
    .hero-text > * { animation: none !important; opacity: 1; }
    .js .section-header .title-underline { transform: none; }
}
@media print {
    .splash, .cursor-glow, .scroll-progress, .dot-nav, .cmdk, #hero-canvas, .hero-aurora { display: none !important; }
    .js .reveal:not(.is-visible) { opacity: 1 !important; }
}
