/* ==========================================================================
   05 · SECTIONS — one block per landing-page section (in page order)
   ========================================================================== */

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--header-h) + 40px) 0 120px;
}
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-canvas, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Live-coding background: faint behind the headline (left), stronger on the right */
.hero-canvas {
    -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.85) 75%, #000 100%);
            mask-image: linear-gradient(90deg, rgba(0,0,0,.22) 0%, rgba(0,0,0,.3) 45%, rgba(0,0,0,.85) 75%, #000 100%);
}
@media (max-width: 760px) {   /* phones: text covers the full width → keep it very subtle */
    .hero-canvas { -webkit-mask-image: none; mask-image: none; opacity: .28; }
}
.hero-video { object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-video.is-ready { opacity: .55; }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 70% at 78% 30%, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
        radial-gradient(40% 50% at 10% 90%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%),
        linear-gradient(180deg, rgb(11 15 16 / .55) 0%, rgb(11 15 16 / .35) 40%, var(--black) 100%);
}
.hero-grid { /* subtle engineering grid */
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
    background-size: 72px 72px;
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
            mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 80%);
}
.hero-content { position: relative; }
.hero-title {
    font-size: var(--fs-hero); font-weight: 600; letter-spacing: -.04em; line-height: .98;
    max-width: 14ch; margin-bottom: .35em;
}
/* Gradient word. Applied to the inner word spans too, because split-text.js
   wraps words in inline-blocks, which do not inherit background-clip:text. */
.hero-title em,
.hero-title em .split-word > span {
    font-style: normal;
    background: linear-gradient(100deg, var(--brand) 10%, var(--brand-200) 50%, var(--accent) 95%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-rotator {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: .5em;
    font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 500;
    margin-bottom: 1.2rem; color: var(--dark-muted);
}
.rotator { position: relative; display: inline-grid; color: var(--white); }
.rotator-word {
    grid-area: 1 / 1; white-space: nowrap;
    opacity: 0; transform: translateY(60%); filter: blur(6px);
    transition: opacity .6s var(--ease-out), transform .7s var(--ease-out), filter .6s;
}
.rotator-word.is-active { opacity: 1; transform: none; filter: none; }
.rotator-word.is-leaving { opacity: 0; transform: translateY(-60%); filter: blur(6px); }
.rotator-word::after { /* blinking caret right after each word */
    content: ""; display: inline-block; width: 2px; height: .9em; margin-left: 6px;
    vertical-align: -.1em; background: var(--accent); animation: blink 1s steps(1) infinite;
}
.hero-lead { font-size: var(--fs-lg); max-width: 56ch; color: var(--dark-muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 2.2rem 0 3.6rem; }
.hero-stats {
    display: grid; grid-template-columns: repeat(4, auto); justify-content: start;
    gap: 24px clamp(28px, 5vw, 72px); margin: 0;
    padding-top: 28px; border-top: 1px solid var(--dark-border); max-width: 980px;
}
@media (max-width: 760px) {
    .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* 2×2 on phones */
}
.hero-stat dt { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 2vw, 3rem); font-weight: 600; line-height: 1; }
.hero-stat dt em { font-style: normal; color: var(--accent); }
.hero-stat dd { margin: .4rem 0 0; font-size: var(--fs-sm); color: var(--dark-muted); }

.video-toggle {
    position: absolute; right: var(--gutter); bottom: 40px;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--dark-border); background: rgb(255 255 255 / .05);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    display: grid; place-items: center;
}
.video-toggle-icon { width: 12px; height: 14px; border-inline: 4px solid var(--white); }
.video-toggle.is-paused .video-toggle-icon {
    border: 0; width: 0; height: 0;
    border-left: 12px solid var(--white); border-block: 7px solid transparent; margin-left: 4px;
}
.scroll-cue {
    position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font-family: var(--font-mono); font-size: 10px; letter-spacing: .3em; text-transform: uppercase;
    color: var(--dark-muted);
}
.scroll-cue-line { position: relative; width: 1px; height: 48px; background: var(--dark-border); overflow: hidden; }
.scroll-cue-line::after {
    content: ""; position: absolute; inset: 0; background: var(--brand);
    animation: scroll-line 2.2s var(--ease-in-out) infinite;
}

/* ---------- Tech marquee ---------- */
.marquee {
    overflow: hidden; padding: 22px 0;
    background: var(--brand); color: var(--black);
    font-family: var(--font-display); font-size: var(--fs-lg); font-weight: 500;
}
.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 28px; padding-right: 28px; }
.marquee-group i { font-style: normal; font-size: .7em; color: var(--brand-700); }
.marquee-em { font-style: italic; color: var(--brand-800); }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-text > p:not(.kicker) { font-size: var(--fs-md); color: var(--text-muted); }
.parent-link {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 8px 18px 8px 8px; border-radius: 999px;
    border: 1px solid var(--border); font-size: var(--fs-sm); transition: .3s;
}
.parent-link img { width: 36px; height: 36px; border-radius: 50%; }
.parent-link:hover { border-color: var(--brand); box-shadow: 0 8px 24px -10px var(--brand-glow); }

.code-window {
    position: relative;
    background: var(--black); color: #E6EDEE;
    border-radius: var(--radius-lg);
    border: 1px solid rgb(255 255 255 / .08);
    box-shadow: var(--shadow-lg), 0 0 0 1px rgb(0 0 0 / .04);
    overflow: hidden;
    transform-style: preserve-3d;
    transition: transform .4s var(--ease-out);
}
.code-window::before { /* brand glow behind */
    content: ""; position: absolute; inset: auto -20% -60% 20%; height: 80%;
    background: radial-gradient(closest-side, var(--brand-glow), transparent); pointer-events: none;
}
.code-window-bar {
    display: flex; align-items: center; gap: 7px; padding: 14px 18px;
    border-bottom: 1px solid rgb(255 255 255 / .07);
    font-family: var(--font-mono); font-size: var(--fs-xs); color: rgb(255 255 255 / .45);
}
.code-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgb(255 255 255 / .14); }
.code-window-bar i:first-child { background: var(--accent); }
.code-window-bar i:nth-child(2) { background: var(--brand); }
.code-window-bar span { margin-left: 10px; }
.code-window-body {
    margin: 0; padding: 22px 24px; min-height: 300px;
    font-size: clamp(11px, .55rem + .35vw, 14px); line-height: 1.75;
    overflow-x: auto; white-space: pre;
}
.c-k { color: var(--accent); }
.c-f { color: var(--brand); }
.c-s { color: #C9E7E8; }
.c-c { color: rgb(255 255 255 / .35); font-style: italic; }
.c-b { color: #FFD3C9; }
.code-window-status {
    display: flex; align-items: center; gap: 10px; padding: 12px 20px;
    border-top: 1px solid rgb(255 255 255 / .07);
    font-family: var(--font-mono); font-size: 11px; color: var(--brand-300);
}
.code-window-status .pulse-dot { background: var(--brand); }
.code-window-status .pulse-dot::after { border-color: var(--brand); }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--bg-alt); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.service-card {
    display: flex; flex-direction: column;
    padding: 32px 28px 30px; min-height: 340px;
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    overflow: hidden;
    transition: transform .5s var(--ease-out), box-shadow .5s, border-color .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--brand) 45%, transparent); }
/* Content flows from the top so icon, title and text line up across all cards */
.service-num { font-family: var(--font-mono); font-size: var(--fs-xs); color: var(--text-muted); }
.service-icon {
    display: grid; place-items: center; width: 60px; height: 60px; margin: 32px 0 24px;
    border-radius: 16px; background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand-text);
    transition: transform .5s var(--ease-out), background-color .3s, color .3s;
}
.service-icon .icon { width: 28px; height: 28px; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); background: var(--brand); color: var(--black); }
.service-card h3 {
    font-size: var(--fs-md); margin-bottom: .6em;
    min-height: 2.16em;   /* reserve 2 lines: texts start at the same height */
}
.service-card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.service-line {
    position: absolute; left: 0; bottom: 0; height: 3px; width: 100%;
    background: linear-gradient(90deg, var(--brand), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.service-card:hover .service-line { transform: scaleX(1); }

/* ==========================================================================
   PRINCIPLES (dark)
   ========================================================================== */
.pillars { overflow: hidden; }
.pillar-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--dark-border);
}
.pillar {
    padding: 36px 28px 8px 0;
    border-right: 1px solid var(--dark-border);
    margin-right: 28px;
}
.pillar:last-child { border-right: 0; margin-right: 0; }
.pillar-icon { color: var(--accent); margin-bottom: 26px; }
.pillar-icon .icon { width: 34px; height: 34px; }
.pillar h3 { font-size: var(--fs-md); }
.pillar p { font-size: var(--fs-sm); color: var(--dark-muted); }
.pillars-orb {
    position: absolute; right: -10%; top: -30%; width: 60vw; max-width: 800px; aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent);
    animation: float 14s var(--ease-in-out) infinite alternate; pointer-events: none;
}

/* ==========================================================================
   APPLICATIONS
   ========================================================================== */
.app-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
@media (min-width: 1200px) { .app-grid { grid-template-columns: repeat(5, 1fr); } }
.app-card {
    display: flex; flex-direction: column;
    padding: 26px; min-height: 280px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface);
    transition: transform .5s var(--ease-out), border-color .3s, box-shadow .5s;
}
.app-card:hover { transform: translateY(-6px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.app-card-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 36px; }
.app-icon {
    display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
    background: var(--black); color: var(--brand);
    transition: transform .5s var(--ease-out);
}
:root[data-theme="dark"] .app-icon { background: var(--surface-2); }
.app-card:hover .app-icon { transform: scale(1.08) rotate(6deg); }
.app-icon img { width: 70%; height: 70%; object-fit: contain; }
.app-tag {
    font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase;
    padding: .3rem .6rem; border-radius: 999px; background: var(--surface-2); color: var(--text-muted);
}
/* Long labels wrap; the pill hugs the longest line instead of the leftover slot */
.app-tag--wrap { width: min-content; max-width: 100%; text-align: center; }
.app-name {
    display: flex; align-items: center; gap: 8px;
    min-height: 28px;                     /* same height with text, icon or logo */
    font-size: 1.05rem; letter-spacing: -.02em;
}
.app-name > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
/* Small brand icon before the name (4yourtaste, sniff-news…) */
.app-name-icon { width: 22px; height: 22px; flex-shrink: 0; border-radius: 6px; object-fit: contain; }
/* Full brand logo instead of the name (qruick) */
.app-name-logo { height: 28px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
/* Full lockup (mark + wordmark) stands in for the icon and the name */
.app-card--lockup .app-card-top { justify-content: flex-end; margin-bottom: 22px; }
.app-card--lockup .app-name-logo { height: 46px; }
.app-name-logo--dark { display: none; }
:root[data-theme="dark"] .app-name-logo--light { display: none; }
:root[data-theme="dark"] .app-name-logo--dark  { display: block; }
.app-card p { font-size: var(--fs-sm); color: var(--text-muted); }
.app-visit {
    margin-top: auto; display: inline-flex; align-items: center; gap: .4em;
    font-size: var(--fs-sm); font-weight: 600; color: var(--brand-text);
}
.app-visit .icon { transition: transform .35s var(--ease-out); }
.app-card:hover .app-visit { color: var(--accent); }
.app-card:hover .app-visit .icon { transform: translateX(5px); }

/* ==========================================================================
   WORLD MAP (dark)
   ========================================================================== */
.world { background: var(--dark-bg); overflow: hidden; }
.world-map {
    position: relative; width: 100%;
    aspect-ratio: 450 / 178;   /* = dot grid cols / rows (0.8° cells stay square) */
}
.world-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.world-pins { position: absolute; inset: 0; }
.world-pin {
    --c: var(--brand);
    position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px;
    border-radius: 50%; background: var(--c);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 30%, transparent), 0 0 12px var(--c);
    cursor: pointer; padding: 0;
    opacity: 0; transform: scale(0);
    transition: opacity .4s, transform .6s var(--ease-out);
    transition-delay: calc(var(--i) * 60ms);
}
.world-map.is-visible .world-pin { opacity: 1; transform: scale(1); }
.world-pin::after { /* radar pulse */
    content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 1px solid var(--c); opacity: 0;
    animation: pin-pulse 2.8s var(--ease-out) infinite; animation-delay: calc(var(--i) * 170ms);
}
.world-pin:hover, .world-pin:focus-visible { transform: scale(1.7); z-index: 2; }
.world-pin--hq       { --c: var(--accent); width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; }
.world-pin--office   { --c: var(--office); }   /* COLOR_OFFICE in .env */
.world-pin--client   { --c: var(--brand); }
.world-pin--solution { --c: var(--white); }

.world-tooltip {
    position: absolute; z-index: 3; pointer-events: none;
    padding: 10px 14px; border-radius: 12px; min-width: 150px;
    background: rgb(20 26 28 / .92); border: 1px solid var(--dark-border);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font-size: var(--fs-xs); line-height: 1.4; color: var(--dark-muted);
    opacity: 0; transform: translate(-50%, calc(-100% - 14px)) scale(.95);
    transition: opacity .2s, transform .25s var(--ease-out);
}
.world-tooltip.is-visible { opacity: 1; transform: translate(-50%, calc(-100% - 18px)); }
.world-tooltip strong { display: block; font-size: var(--fs-sm); color: var(--white); }

.world-footer {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px;
    margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--dark-border);
}
.world-legend { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: var(--fs-sm); color: var(--dark-muted); }
.world-legend li { display: flex; align-items: center; gap: 8px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot--hq { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.legend-dot--office { background: var(--office); }
.legend-dot--client { background: var(--brand); }
.legend-dot--solution { background: var(--white); }
.world-stats { display: flex; gap: 40px; }
.world-stats p { margin: 0; color: var(--dark-muted); font-size: var(--fs-sm); }
.world-stats strong { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--white); margin-right: .2em; }

/* ==========================================================================
   SUSTAINABILITY
   ========================================================================== */
.green-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
/* Grid children may shrink below their content width (prevents horizontal scroll on phones) */
.about-grid > *, .green-grid > *, .contact-panel > * { min-width: 0; }
.green-cards { display: grid; gap: 14px; margin-top: 36px; }
.green-card {
    display: flex; gap: 18px; padding: 22px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .3s, transform .4s var(--ease-out);
}
.green-card:hover { border-color: var(--brand); transform: translateX(6px); }
.green-card-icon {
    flex-shrink: 0; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px;
    background: color-mix(in srgb, var(--brand) 15%, transparent); color: var(--brand-text);
}
.green-card h3 { font-size: var(--fs-base); font-family: var(--font-display); letter-spacing: 0; margin-bottom: .3em; }
.green-card p { font-size: var(--fs-sm); color: var(--text-muted); margin: 0; }
.green-visual {
    position: relative; display: grid; justify-items: center; gap: 28px;
    padding: clamp(28px, 4vw, 48px); border-radius: var(--radius-lg);
    background:
        radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--brand) 20%, transparent), transparent 70%),
        var(--bg-alt);
    border: 1px solid var(--border);
}
.eu-chip {
    display: flex; align-items: center; gap: 14px; padding: 12px 20px 12px 14px;
    border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.eu-chip .icon { width: 32px; height: 32px; color: var(--brand-text); }
.eu-chip strong { display: block; font-size: var(--fs-sm); }
.eu-chip small { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); }

/* ==========================================================================
   CLIENTS & PARTNERS
   ========================================================================== */
.clients { padding-bottom: calc(var(--section-y) * .6); background: var(--bg-alt); }
.client-marquee {
    display: grid; gap: 10px;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.client-row { overflow: hidden; }
/* margin (not gap) on the items keeps the -50% loop perfectly seamless */
.client-track {
    display: flex; width: max-content; padding-block: 6px;
    animation: marquee-third 42s linear infinite;   /* content printed 3× → move one third */
}
.client-row--reverse .client-track { animation-direction: reverse; animation-duration: 48s; }
.client-row:nth-child(3) .client-track { animation-duration: 54s; }   /* different pace per row */
.client-row:nth-child(4) .client-track { animation-duration: 60s; }
.client-row:hover .client-track { animation-play-state: paused; }

/* Logo tile: logos are monochrome grey PNGs (images/clients) */
.client-logo {
    flex-shrink: 0;
    display: grid; place-items: center;
    width: clamp(132px, 12vw, 176px); aspect-ratio: 5 / 3;
    margin-right: 14px; padding: 12px 18px;
    border: 1px solid var(--border); border-radius: var(--radius);
    background: var(--surface);
    transition: border-color .3s, transform .4s var(--ease-out), box-shadow .4s;
}
.client-logo img {
    width: 100%; height: 100%; object-fit: contain;
    opacity: .62;
    transition: opacity .3s, filter .3s;
}
.client-logo:hover { border-color: var(--brand); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.client-logo:hover img { opacity: 1; }
/* Dark theme: turn the grey logos white so they stay readable */
/* Dark theme: invert grey → light grey (inner white details become dark,
   so filled logos keep their shape instead of turning into white blocks) */
:root[data-theme="dark"] .client-logo img { filter: invert(1) grayscale(1); opacity: .72; }
:root[data-theme="dark"] .client-logo:hover img { opacity: 1; }
/* Clients without a logo file: typographic wordmark in the same tile */
.client-wordmark {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(.8rem, .7rem + .3vw, .95rem); line-height: 1.15; letter-spacing: -.01em;
    text-align: center; color: var(--text-muted);
    transition: color .3s;
}
.client-logo--text:hover .client-wordmark { color: var(--text); }

.partners { padding-top: calc(var(--section-y) * .8); }
.partner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.partner-card {
    position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 28px;
    min-height: 200px; padding: 30px;
    border: 1px solid var(--border); border-radius: var(--radius);
    transition: border-color .3s, background-color .3s, transform .5s var(--ease-out);
}
.partner-card:hover { border-color: var(--accent); transform: translateY(-4px); background: var(--bg-alt); }
.partner-wordmark {
    font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.03em;
}
.partner-card:first-child .partner-wordmark { color: var(--accent); }
.partner-logo {
    max-height: 42px; width: auto; object-fit: contain; object-position: left center;
    max-width: calc(100% - 32px);   /* keep clear of the external-link icon (top right) */
}
/* Logo pairs (logo + logo_dark): show the right one for the active theme */
.partner-logo--dark { display: none; }
:root[data-theme="dark"] .partner-logo--light { display: none; }
:root[data-theme="dark"] .partner-logo--dark  { display: block; }
/* No light version available ('invert_dark'): black → white, hue-rotate keeps the colours */
:root[data-theme="dark"] .partner-logo--invert-dark { filter: invert(1) hue-rotate(180deg); }
.partner-card p { margin: 0; font-size: var(--fs-sm); color: var(--text-muted); }
.partner-ext { position: absolute; top: 26px; right: 26px; opacity: .4; transition: .3s; }
.partner-card:hover .partner-ext { opacity: 1; color: var(--accent); transform: translate(2px, -2px); }

/* ==========================================================================
   CONTACT (dark)
   ========================================================================== */
.contact { background: var(--dark-bg); }
.contact-panel {
    position: relative; overflow: hidden;
    display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px);
    padding: clamp(32px, 6vw, 72px);
    border-radius: var(--radius-lg);
    background:
        radial-gradient(70% 90% at 0% 0%, color-mix(in srgb, var(--brand) 28%, transparent), transparent 60%),
        radial-gradient(50% 70% at 100% 100%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 60%),
        var(--dark-bg-2);
    border: 1px solid var(--dark-border);
}
.contact-intro .section-lead { color: var(--dark-muted); margin-bottom: 2rem; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: center; }
.contact-card {
    display: flex; flex-direction: column; gap: 8px;
    padding: 20px; border-radius: var(--radius);
    background: rgb(255 255 255 / .04); border: 1px solid var(--dark-border);
    font-size: var(--fs-sm); color: var(--dark-muted);
    transition: background-color .3s, border-color .3s;
}
.contact-card:hover { background: rgb(255 255 255 / .07); border-color: color-mix(in srgb, var(--brand) 40%, transparent); }
.contact-label {
    display: flex; align-items: center; gap: .5em; margin-bottom: 4px;
    font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--brand);
}
.contact-big { font-family: var(--font-display); font-size: var(--fs-md); color: var(--white); word-break: break-word; }
/* Email: smaller so the full address fits on one line */
.contact-big--email { font-size: .9rem; letter-spacing: -.01em; white-space: nowrap; overflow-wrap: normal; word-break: normal; }
.contact-big:hover, .contact-small:hover { color: var(--accent); }
.contact-card .link-arrow { margin-top: auto; color: var(--brand-300); font-size: var(--fs-xs); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1080px) {
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .pillar-grid { grid-template-columns: repeat(2, 1fr); }
    .pillar:nth-child(2) { border-right: 0; margin-right: 0; }
    .pillar:nth-child(-n+2) { border-bottom: 1px solid var(--dark-border); padding-bottom: 28px; }
    .contact-panel { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .about-grid, .green-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .service-grid, .pillar-grid, .contact-cards { grid-template-columns: 1fr; }
    .pillar { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--dark-border); padding-bottom: 28px; }
    .service-card { min-height: 0; }
    .service-card h3 { min-height: 0; }
    .hero-actions .btn { width: 100%; }
    .world-pin { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; }
    .world-pin--hq { width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; }
    .video-toggle { display: none; }
}
