/* ==========================================================================
   SFracta — site styles (home + inner pages)
   Load order: Bootstrap (components only) → Tailwind CDN (preflight off) → this file.
   Bootstrap owns .btn / .progress / .modal / .carousel, so our own classes are
   namespaced (.btn-x, .sbar, …) to avoid collisions.
   Sections: 1 Tokens · 2 Base · 3 Utilities · 4 Preloader · 5 Logo · 6 Header
   7 Hero · 8 About · 9 Services · 10 Projects · 11 Stats · 12 Process
   13 Associations · 14 Testimonials · 15 Media · 16 Career · 17 Contact form
   18 Social · 19 Footer · 20 Global widgets · 21 Modal · 22 Small screens · 23 Reduced motion
   24 Inner pages (page hero, filters, project cards/detail, CTA, FAQ, about, services, media, contact, career)
   25 Slow zoom-out on photos · 26 Card background photo on hover
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
/* Logo wordmark font. Isocteur is not on Google Fonts: drop isocteur.woff2 into
   public/frontend/fonts/ and add  url('../fonts/isocteur.woff2') format('woff2')  to src.
   Until then the stack falls back to Orbitron (loaded) → Michroma → sans-serif. */
@font-face {
    font-family: 'Isocteur';
    src: local('Isocteur'), local('ISOCTEUR');
    font-display: swap;
}

:root {
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #141414;
    --accent: #e8702a;
    --grey: #b5b5b5;
    --text: #f2f2f2;
    --line: rgba(255, 255, 255, .12);

    --ff-head: 'Montserrat', 'Josefin Sans', system-ui, sans-serif;
    --ff-body: 'Lato', system-ui, sans-serif;
    --ff-logo: 'Isocteur', 'Orbitron', 'Michroma', sans-serif;
    --ff-script: 'Great Vibes', cursive;

    --pad: clamp(20px, 5vw, 84px);
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-io: cubic-bezier(.65, 0, .35, 1);
}

/* ---------- 2. Base (overrides Bootstrap reboot) ---------- */
html { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-scrolling iframe { pointer-events: none; }

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--ff-body);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
}
/* Subtle concrete / noise texture over the whole page */
body::before {
    content: "";
    position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
main, .ftr { position: relative; z-index: 2; }

h1, h2, h3, h4, h5, h6 {
    margin: 0; color: var(--text);
    font-family: var(--ff-head); font-weight: 300; line-height: 1.1;
    text-transform: uppercase; letter-spacing: .14em;
}
p, figure, blockquote, address { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a, a:hover { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
/* Image protection (with main.js initImageGuard): no drag-to-desktop, no selection, no iOS long-press "Save Image" */
img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
button { font: inherit; color: inherit; }
address { font-style: normal; }
::selection { background: var(--accent); color: #0a0a0a; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip-link {
    position: fixed; left: 16px; top: -64px; z-index: 10002;
    background: var(--accent); color: #0a0a0a; padding: 10px 16px;
    font: 600 .75rem/1 var(--ff-head); letter-spacing: .15em; text-transform: uppercase;
    transition: top .3s;
}
.skip-link:focus { top: 16px; }

/* ---------- 3. Utilities & shared components ---------- */
.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--pad); }
.sec { position: relative; padding-block: clamp(80px, 11vw, 170px); }
.sec--alt { background: var(--bg-3); }
.accent { color: var(--accent); }

.eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
    font: 500 .72rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--grey);
}
.eyebrow--center, .sec-head--center .eyebrow { justify-content: center; }
.dash { display: inline-block; width: 38px; height: 2px; background: var(--accent); flex: none; }

.h-xl { font-size: clamp(2.1rem, 5.6vw, 5.2rem); font-weight: 200; letter-spacing: .12em; overflow-wrap: break-word; }

.sec-head { display: flex; flex-direction: column; gap: 26px; margin-bottom: clamp(44px, 6vw, 90px); }
.sec-head__p { max-width: 26rem; color: var(--grey); }
.sec-head--center { align-items: center; text-align: center; }
@media (min-width: 900px) {
    .sec-head:not(.sec-head--center) { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}

/* Split-heading words (JS wraps words so each can rise out of a mask) */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding-block: .06em; margin-block: -.06em; }
.swi { display: inline-block; will-change: transform; }

/* Buttons — outline with orange fill sliding in, arrow nudges right */
.btn-x {
    position: relative; display: inline-flex; align-items: center; gap: 20px; isolation: isolate; overflow: hidden;
    padding: 19px 34px; border: 1px solid rgba(255, 255, 255, .55); background: transparent; cursor: pointer;
    font: 500 .72rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: var(--text);
    transition: color .5s var(--ease), border-color .5s var(--ease);
}
.btn-x::before {
    content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent);
    transform: translateX(-101%); transition: transform .65s var(--ease);
}
.btn-x svg { width: 24px; height: 12px; flex: none; transition: transform .5s var(--ease); }
.btn-x:hover, .btn-x:focus-visible { color: #0a0a0a; border-color: var(--accent); }
.btn-x:hover::before, .btn-x:focus-visible::before { transform: none; }
.btn-x:hover svg { transform: translateX(8px); }
.btn-x--fill { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.btn-x--fill::before { background: var(--text); }

/* Text link with sweeping underline + arrow */
.link-arrow {
    position: relative; display: inline-flex; flex: none; align-items: center; gap: 16px; padding-bottom: 12px; white-space: nowrap;
    font: 500 .74rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: var(--text);
}
.link-arrow::before, .link-arrow::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; }
.link-arrow::before { background: var(--line); }
.link-arrow::after { background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease); }
.link-arrow:hover::after { transform: scaleX(1); transform-origin: left; }
.link-arrow:hover { color: var(--accent); }
.link-arrow svg { width: 24px; height: 12px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(8px); }

/* ---------- 4. Preloader ---------- */
.pre {
    position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; background: var(--bg);
    transition: opacity .9s var(--ease), visibility 0s linear .9s;
}
.pre.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.pre__in { display: flex; flex-direction: column; align-items: center; gap: 26px; padding: 0 20px; text-align: center; transition: transform .9s var(--ease); }
.pre.is-done .pre__in { transform: translateY(-24px) scale(.97); }
.pre__mark { height: clamp(110px, 20vh, 190px); width: auto; overflow: visible; filter: drop-shadow(0 0 16px rgba(232, 112, 42, .32)); }
.pre__mark path {
    fill: none; stroke-width: 37; stroke-linejoin: miter; stroke-dasharray: 1 2; stroke-dashoffset: 1.02;
    animation: draw 1.1s .15s var(--ease-io) forwards;
}
.pre__a { stroke: var(--accent); }
.pre__b { stroke: #f7f3e8; /* ivory white */ animation-delay: 1.25s !important; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.pre__word {
    display: flex; align-items: baseline; font-family: var(--ff-logo); font-size: clamp(1.7rem, 4.4vw, 2.7rem);
    opacity: 0; animation: rise .9s 2.25s var(--ease) forwards;
}
.pre__word b { color: var(--accent); font-weight: 700; letter-spacing: .32em; }
.pre__word span { font-size: .74em; font-weight: 400; color: #d6d6d6; letter-spacing: .5em; margin-right: -.5em; }
.pre__sub {
    font: 400 clamp(.5rem, 1.5vw, .68rem)/1.6 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--grey);
    opacity: 0; animation: rise .9s 2.55s var(--ease) forwards;
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- 5. Logo lock-up ---------- */
.logo { display: inline-flex; align-items: center; gap: 16px; line-height: 1; }
.logo__mark { height: 40px; width: auto; flex: none; overflow: visible; }
.logo__mark path { fill: none; stroke-width: 37; stroke-linejoin: miter; transition: stroke .4s; }
.logo__wave { pointer-events: none; transform-box: fill-box; transform-origin: center; opacity: 0; animation: logowave 2.6s ease-out infinite; }
.logo__wave path { stroke: #fff; stroke-width: 22; }
@keyframes logowave { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.lg-a { stroke: var(--accent); }
.lg-b { stroke: #f7f3e8; } /* ivory white */
.logo__word { display: inline-flex; align-items: baseline; font-family: var(--ff-logo); font-size: 1.3rem; }
.logo__word b { color: var(--accent); font-weight: 700; letter-spacing: .32em; }
.logo__word span { font-size: .74em; font-weight: 400; color: #d6d6d6; letter-spacing: .5em; margin-right: -.5em; }
.logo--white .lg-a, .logo--white .lg-b { stroke: #f7f3e8; }
.logo--white .logo__word b, .logo--white .logo__word span { color: #f7f3e8; }
/* Footer wordmark: a wave runs through the letters, S → a, in step with the emblem wave */
.logo__word i { font-style: normal; }
.logo--white .logo__word b, .logo--white .logo__word i {
    display: inline-block; animation: letterwave 2.6s ease-in-out infinite; animation-delay: calc(var(--i) * .13s);
}
@keyframes letterwave {
    0%, 55%, 100% { transform: translateY(0); text-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    25% { transform: translateY(-.16em); text-shadow: 0 0 .5em rgba(255, 255, 255, .55); }
}
/* Header logo: same intro as the preloader — emblem draws itself, then the wordmark rises (starts when the preloader ends) */
/* Held hidden until the page has settled (main.js adds .site-ready), so the intro plays smoothly and completes on every refresh */
.js:not(.site-ready) .logo--color .logo__mark g path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; }
.js:not(.site-ready) .logo--color .logo__word { opacity: 0; }
.site-ready .logo--color .logo__mark g path { stroke-dasharray: 1 2; stroke-dashoffset: 1.02; animation: draw 1.1s .1s var(--ease-io) forwards; }
.site-ready .logo--color .logo__mark g .lg-b { animation-delay: 1.2s; }
.site-ready .logo--color .logo__word { animation: rise .9s 2.1s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .site-ready .logo--color .logo__mark g path, .site-ready .logo--color .logo__word { animation: none; stroke-dashoffset: 0; } }
@media (min-width: 768px) { .logo__mark { height: 48px; } .logo__word { font-size: 1.55rem; } }
@media (min-width: 1280px) { .logo__mark { height: 54px; } .logo__word { font-size: 1.75rem; } .logo { gap: 20px; } }

/* ---------- 6. Header ---------- */
.hdr {
    position: fixed; top: 0; left: 0; right: 0; z-index: 900; border-bottom: 1px solid transparent;
    transition: background .5s var(--ease), border-color .5s var(--ease), backdrop-filter .5s;
}
.hdr__in {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    max-width: 1800px; margin-inline: auto; padding: 20px var(--pad); transition: padding .5s var(--ease);
}
.hdr.is-scrolled {
    background: rgba(10, 10, 10, .72); border-color: var(--line);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.hdr.is-scrolled .hdr__in { padding-block: 11px; }
body.menu-open .hdr { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; z-index: 960; }

.hdr__nav { display: none; }
.hdr__nav ul { display: flex; gap: clamp(22px, 2.8vw, 48px); }
.hdr__nav a {
    position: relative; display: block; padding: 10px 0;
    font: 500 .68rem/1 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; color: var(--text);
    transition: color .4s;
}
.hdr__nav a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent);
    transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease);
}
.hdr__nav a:hover, .hdr__nav a.is-active { color: var(--accent); }
.hdr__nav a:hover::after, .hdr__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.hdr__right { display: flex; align-items: center; gap: 26px; }
.hdr__roles { display: none; }
.hdr__roles ul { display: flex; flex-direction: column; gap: 2px; }
.hdr__roles li { font: 400 .6rem/1.5 var(--ff-head); letter-spacing: .38em; color: var(--text); }

.hdr__call {
    display: none; align-items: center; gap: 12px; height: 46px; padding: 0 20px; white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, .35); border-radius: 46px; font: 500 .66rem/1 var(--ff-head);
    letter-spacing: .2em; text-transform: uppercase; transition: background .4s, color .4s, border-color .4s;
}
.hdr__call i { font-size: .8rem; color: var(--accent); transition: color .4s; }
.hdr__call:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.hdr__call:hover i { color: #0a0a0a; }

.hdr__burger {
    position: relative; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; cursor: pointer;
}
.hdr__burger span {
    position: absolute; left: 13px; width: 18px; height: 1px; background: #fff; transition: transform .5s var(--ease), opacity .3s;
}
.hdr__burger span:nth-child(1) { top: 16px; }
.hdr__burger span:nth-child(2) { top: 22px; }
.hdr__burger span:nth-child(3) { top: 28px; }
.hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 768px) { .hdr__call { display: inline-flex; } }
@media (min-width: 1024px) {
    .hdr__in { display: grid; grid-template-columns: 1fr auto 1fr; }
    .hdr__nav { display: block; }
    .hdr__right { justify-self: end; }
    .hdr__burger { display: none; }
}
/* Small desktop / tablet landscape: tighten the bar so logo + menu + Call all fit */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hdr__in { gap: 16px; }
    .hdr__nav ul { gap: clamp(14px, 1.7vw, 22px); }
    .hdr__nav a { font-size: .62rem; letter-spacing: .14em; }
    .hdr__call { height: 42px; padding: 0 16px; gap: 9px; letter-spacing: .14em; }
}

/* Desktop: over the hero the roles hang under the Call button; once the hero is scrolled past
   (main.js adds .is-past-hero) the button hides and the roles slide up into its place in the bar. */
@media (min-width: 1280px) {
    .hdr__in { position: relative; }
    .hdr__roles {
        display: block; position: absolute; right: var(--pad); top: calc(100% + 4px); z-index: 1;
        text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
        transition: top .6s var(--ease), transform .6s var(--ease);
    }
    .hdr__roles li { transition: font-size .6s var(--ease), line-height .6s var(--ease); }
    .hdr__call { transition: background .4s, color .4s, border-color .4s, opacity .35s, visibility .35s; }

    .hdr.is-past-hero .hdr__call { opacity: 0; visibility: hidden; pointer-events: none; }
    .hdr.is-past-hero .hdr__roles { top: 50%; transform: translateY(-50%); text-shadow: none; }
    .hdr.is-past-hero .hdr__roles ul { gap: 0; }
    .hdr.is-past-hero .hdr__roles li { font-size: .58rem; line-height: 1.4; }
}

/* Mobile overlay menu */
.mmenu {
    position: fixed; inset: 0; z-index: 950; display: flex; overflow-y: auto; visibility: hidden;
    padding: 118px var(--pad) 36px; background: #0a0a0a; clip-path: inset(0 0 100% 0);
}
.mmenu.is-open { visibility: visible; clip-path: inset(0); }
.mmenu__in { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; width: 100%; margin: auto; }
.mmenu li { overflow: hidden; }
.mmenu li a { display: flex; align-items: baseline; gap: 18px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mmenu li small { font: 500 .68rem/1 var(--ff-head); letter-spacing: .2em; color: var(--accent); }
.mmenu li span { font: 200 clamp(1.9rem, 8.4vw, 3.2rem)/1.15 var(--ff-head); letter-spacing: .1em; text-transform: uppercase; }
.mmenu li a:hover span { color: var(--accent); }
.mmenu__foot { display: flex; flex-direction: column; gap: 6px; color: var(--grey); font-size: .95rem; }
.mmenu__foot p { font: 400 .62rem/1.8 var(--ff-head); letter-spacing: .25em; text-transform: uppercase; margin-bottom: 10px; }

/* ---------- 7. Hero ---------- */
.hero {
    position: relative; display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh;
    padding: 140px 0 100px; overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: -3%; z-index: -3; will-change: transform; }
.hero__img {
    width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform-origin: 72% 58%;
    filter: brightness(.66) saturate(.95) contrast(1.08);
    animation: zoomout 26s cubic-bezier(.2, .6, .35, 1) both;
}
/* Slow zoom-out: the photo starts close and settles back over ~26s (uses the `scale` property, so it stacks with transforms) */
@keyframes zoomout { from { scale: 1.24; } to { scale: 1; } }
.hero__shade {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(10, 10, 10, .97) 0%, rgba(10, 10, 10, .82) 34%, rgba(10, 10, 10, .3) 64%, rgba(10, 10, 10, .05) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, .8) 0%, rgba(10, 10, 10, 0) 24%, rgba(10, 10, 10, 0) 58%, rgba(10, 10, 10, .92) 100%);
}
.hero__inner { position: relative; z-index: 1; margin-block: auto; }
.hero__pre { margin-bottom: clamp(14px, 2vw, 26px); font: 300 clamp(.68rem, 1vw, .92rem)/1 var(--ff-head); letter-spacing: .5em; color: var(--grey); }
.hero__title { font-size: clamp(2.7rem, 6.3vw, 7.2rem); font-weight: 300; letter-spacing: .06em; line-height: 1.02; }
.hero__line { display: block; overflow: hidden; padding-block: .05em; }
.hero__line--accent { color: var(--accent); }
.hero__line .ch { display: inline-block; will-change: transform; }
.hero__tag { margin-top: clamp(20px, 2.6vw, 38px); font: 400 clamp(.64rem, .9vw, .88rem)/1.9 var(--ff-head); letter-spacing: .4em; color: var(--grey); }
.hero__tag i { margin: 0 .8em; font-style: normal; opacity: .55; }
.hero__dash { display: block; width: 54px; height: 2px; margin: clamp(26px, 4vw, 52px) 0 24px; background: var(--accent); transform-origin: left; }
.hero__lead { max-width: 30rem; margin-bottom: 34px; font-size: clamp(.95rem, 1.15vw, 1.1rem); color: #cdcdcd; }

.hero__scroll { display: none; }
@media (min-width: 1024px) {
    .hero__scroll {
        position: absolute; left: var(--pad); bottom: 38px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
    }
    .hero__scroll-line { display: block; width: 1px; height: 62px; background: linear-gradient(var(--grey), transparent); }
    .hero__scroll-txt { font: 400 .58rem/1 var(--ff-head); letter-spacing: .3em; color: var(--grey); }
    .hero__mouse { position: relative; width: 24px; height: 38px; border: 1px solid var(--grey); border-radius: 14px; }
    .hero__mouse i { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: var(--accent); animation: wheel 1.8s var(--ease-io) infinite; }
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Pillars: 1 col (mobile) → 2×2 (tablet) → 4 in a row (desktop, bottom-right) */
.hero__pillars { display: grid; grid-template-columns: 1fr; gap: 0; margin: 44px var(--pad) 0; }
.hero__pillars li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; padding: 16px 0; border-top: 1px solid var(--line); }
.hero__pillars .no { grid-row: span 2; font: 200 1.9rem/1 var(--ff-head); color: rgba(255, 255, 255, .7); }
.hero__pillars .bar { display: none; }
.hero__pillars strong { font: 500 .72rem/1.4 var(--ff-head); letter-spacing: .2em; color: var(--text); }
.hero__pillars em { font: 400 .58rem/1.4 var(--ff-head); letter-spacing: .25em; font-style: normal; color: #8f8f8f; }
@media (min-width: 640px) { .hero__pillars { grid-template-columns: repeat(2, 1fr); column-gap: 32px; } }
@media (min-width: 1024px) { .hero { padding-bottom: 180px; } } /* keeps content clear of the scroll cue + pillars */
@media (min-width: 1280px) {
    .hero__pillars {
        /* extra right offset keeps pillar 04 clear of the floating WhatsApp button */
        position: absolute; right: calc(var(--pad) + 44px); bottom: 44px; z-index: 2; display: flex; margin: 0;
    }
    .hero__pillars li { display: block; padding: 4px 38px; border-top: 0; border-left: 1px solid var(--line); }
    .hero__pillars li:first-child { border-left: 0; }
    .hero__pillars li:last-child { padding-right: 0; }
    .hero__pillars .no { display: block; font-size: 1.7rem; margin-bottom: 4px; }
    .hero__pillars .bar { display: block; width: 14px; height: 1px; margin: 4px 0 14px; background: var(--accent); }
    .hero__pillars strong { display: block; font-size: .68rem; }
    .hero__pillars em { display: block; margin-top: 6px; font-size: .54rem; }
}
@media (max-width: 639px) { .hero__tag { letter-spacing: .22em; } .hero__tag i { margin: 0 .5em; } }

/* ---------- 8. About ---------- */
.about__grid { display: grid; gap: 70px; align-items: center; }
.about__statement {
    font: 300 clamp(1.45rem, 2.8vw, 2.85rem)/1.38 var(--ff-head); letter-spacing: .015em; text-transform: none;
}
.about__founder { display: flex; align-items: stretch; gap: 22px; margin: clamp(34px, 4vw, 56px) 0 38px; }
.about__founder-line { width: 2px; background: var(--accent); flex: none; }
.about__name { font: 400 1.05rem/1.3 var(--ff-head); letter-spacing: .18em; text-transform: uppercase; color: var(--text); }
.about__role { margin-top: 6px; color: var(--grey); }
.about__qual { font: 400 .78rem/1.6 var(--ff-head); letter-spacing: .16em; color: #8f8f8f; }
/* Two partners side by side; their initials (S, F) picked out in the accent colour */
.about__partners { margin: clamp(34px, 4vw, 56px) 0 38px; }
.about__sf { margin-bottom: 20px; font: 400 .66rem/1.6 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.about__sf b, .about__name b { font-weight: inherit; color: var(--accent); }
.about__founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px 34px; }
.about__partners .about__founder { margin: 0; }
.about__partners .about__name { font-size: .95rem; }

.about__media { position: relative; padding-bottom: clamp(50px, 9vw, 110px); }
.about__img { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #000; }
.about__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.82) contrast(1.05); transform: scale(1.18); }
.about__board { position: absolute; left: 0; bottom: 0; width: 72%; border: 1px solid var(--line); box-shadow: 0 40px 70px -20px rgba(0, 0, 0, .85); }
.about__since { display: none; }
@media (min-width: 1024px) {
    .about__grid { grid-template-columns: 1.15fr .85fr; gap: clamp(60px, 8vw, 150px); }
    .about__board { left: -14%; width: 64%; }
    .about__since {
        display: block; position: absolute; right: -1.5rem; top: 0; writing-mode: vertical-rl;
        font: 400 .64rem/1 var(--ff-head); letter-spacing: .5em; text-transform: uppercase; color: #777;
    }
}

/* ---------- 9. Services ---------- */
.svc-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .svc-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.svc { position: relative; aspect-ratio: 3 / 4; }
.svc__link {
    position: absolute; inset: 0; display: block; overflow: hidden; background: #000;
    transition: transform .7s var(--ease), box-shadow .7s var(--ease);
}
.svc__link:hover, .svc__link:focus-visible { transform: translateY(-8px); box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .9); }
.svc__img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform 1.5s var(--ease), filter .8s; }
.svc__link:hover .svc__img, .svc__link:focus-visible .svc__img { transform: scale(1.09); filter: grayscale(0); }
.svc__shade {
    position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .3) 0%, rgba(10, 10, 10, .88) 100%);
    opacity: 1; transition: opacity .8s var(--ease);
}
.svc__link:hover .svc__shade, .svc__link:focus-visible .svc__shade { opacity: .7; }
.svc__no { position: absolute; top: 22px; left: 26px; font: 200 1.6rem/1 var(--ff-head); letter-spacing: .1em; }
.svc__arrow {
    position: absolute; top: 18px; right: 20px; display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; opacity: 0; transform: translateX(-10px) rotate(-45deg);
    transition: opacity .5s, transform .6s var(--ease), background .4s, color .4s;
}
.svc__arrow svg { width: 20px; height: 10px; }
.svc__link:hover .svc__arrow, .svc__link:focus-visible .svc__arrow { opacity: 1; transform: none; background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.svc__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 28px 32px; }
.svc__body h3 { font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 400; letter-spacing: .2em; }
.svc__line { display: block; width: 36px; height: 2px; margin: 16px 0; background: var(--accent); transition: width .8s var(--ease); }
.svc__link:hover .svc__line, .svc__link:focus-visible .svc__line { width: 100%; }
.svc__body p {
    max-height: 0; opacity: 0; transform: translateY(22px); overflow: hidden; color: #d8d8d8; font-size: .95rem; line-height: 1.65;
    transition: max-height .8s var(--ease), opacity .6s, transform .8s var(--ease);
}
.svc__link:hover .svc__body p, .svc__link:focus-visible .svc__body p { max-height: 10em; opacity: 1; transform: none; }
/* Touch devices have no hover — keep the description visible */
@media (hover: none) {
    .svc__body p { max-height: none; opacity: 1; transform: none; }
    .svc__line { width: 100%; }
    .svc__shade { opacity: .85; }
}

/* ---------- 10. Featured projects ---------- */
.hs { position: relative; padding: clamp(70px, 10vw, 120px) 0 clamp(50px, 8vw, 90px); background: var(--bg); overflow: hidden; }
.hs__viewport {
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    padding-inline: var(--pad); scroll-padding-inline: var(--pad);
}
.hs__viewport::-webkit-scrollbar { display: none; }
.hs__track { display: flex; align-items: flex-start; gap: clamp(20px, 3vw, 52px); width: max-content; }
.hs__intro { flex: 0 0 min(66vw, 340px); scroll-snap-align: start; padding-top: 6px; }
.hs__intro-p { max-width: 22rem; margin-top: 26px; color: var(--grey); }
.hs__hint { display: flex; align-items: center; gap: 16px; margin-top: 40px; font: 400 .62rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: #8f8f8f; }
.hs__hint-line { width: 44px; height: 1px; background: var(--accent); }
.hs__hint-d { display: none; }

.hs__card { flex: 0 0 min(74vw, 320px); scroll-snap-align: start; cursor: pointer; }
.hs__imgwrap { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.hs__imgwrap img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88) grayscale(.15); transition: transform 1.3s var(--ease), filter .8s; user-select: none; }
.hs__card:hover .hs__imgwrap img, .hs__card:focus-visible .hs__imgwrap img { transform: scale(1.05); filter: none; }
.hs__credit { display: block; margin-top: 10px; text-align: right; font: 400 .54rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: #6b6b6b; }
.hs__meta { display: flex; gap: 18px; align-items: flex-start; margin-top: 16px; }
.hs__no { font: 200 1.5rem/1 var(--ff-head); color: var(--accent); }
.hs__meta h3 { font-size: .95rem; font-weight: 400; letter-spacing: .16em; line-height: 1.35; }
.hs__meta p { margin-top: 6px; font: 400 .62rem/1.6 var(--ff-head); letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.hs__meta p i { margin: 0 .4em; font-style: normal; color: var(--accent); }
.hs__end { flex: 0 0 min(70vw, 260px); scroll-snap-align: start; align-self: center; display: grid; place-items: center; padding-right: var(--pad); }
.hs__progress { display: none; }

@media (min-width: 1024px) {
    .hs { height: 100vh; min-height: 640px; padding: 0; display: flex; align-items: center; }
    .hs__viewport { width: 100%; padding-inline: 0; scroll-snap-type: none; }
    .hs__track { align-items: center; padding-inline: var(--pad); }
    .hs__intro { flex: 0 0 clamp(320px, 30vw, 500px); padding-right: 40px; }
    .hs__card { flex: 0 0 clamp(250px, min(24vw, 41vh), 400px); }
    .hs__end { flex: 0 0 clamp(260px, 26vw, 380px); padding-right: 0; }
    .hs__hint-d { display: inline; } .hs__hint-m { display: none; }
    .hs__progress { display: block; position: absolute; left: var(--pad); right: var(--pad); bottom: 36px; height: 1px; background: var(--line); }
    .hs__progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
}

/* ---------- 11. Stats ---------- */
.stats { padding-block: clamp(70px, 9vw, 130px); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 0; }
.stat { padding-inline: clamp(12px, 3vw, 44px); border-left: 1px solid var(--line); }
.stat__num { display: block; font: 200 clamp(2.3rem, 5.4vw, 5rem)/1 var(--ff-head); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
.stat__num em { font-style: normal; color: var(--accent); }
.stat__bar { display: block; width: 30px; height: 2px; margin: 22px 0 14px; background: var(--accent); }
.stat__label { font: 400 .7rem/1.6 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 12. Process timeline ---------- */
.process .h-xl { font-size: clamp(1.6rem, 3.3vw, 3.2rem); }
.tl { position: relative; display: grid; grid-template-columns: 1fr; gap: 54px; padding-left: 46px; }
.tl__rail { position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.tl__fill { position: absolute; inset: 0; background: var(--accent); transform: scaleY(0); transform-origin: top; box-shadow: 0 0 12px rgba(232, 112, 42, .6); }
.tl__step { position: relative; }
.tl__dot {
    position: absolute; left: -46px; top: 6px; width: 15px; height: 15px; background: var(--bg-3);
    border: 1px solid #555; transform: rotate(45deg); transition: background .5s, border-color .5s, box-shadow .5s;
}
.tl__step.is-active .tl__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 16px rgba(232, 112, 42, .7); }
.tl__no { display: block; font: 200 clamp(2.4rem, 4vw, 3.6rem)/1 var(--ff-head); color: rgba(255, 255, 255, .18); transition: color .6s; }
.tl__step.is-active .tl__no { color: var(--accent); }
.tl__step h3 { margin: 16px 0 12px; font-size: clamp(1.15rem, 1.8vw, 1.6rem); font-weight: 400; letter-spacing: .22em; }
.tl__step p { max-width: 20rem; color: var(--grey); }
@media (min-width: 768px) {
    .tl { grid-template-columns: repeat(4, 1fr); gap: 0 clamp(24px, 3vw, 56px); padding: 54px 0 0; }
    .tl__rail { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
    .tl__fill { transform: scaleX(0); transform-origin: left; }
    .tl__dot { left: 0; top: -54px; }
}

/* ---------- 13. Associations marquee ---------- */
.assoc { padding-block: clamp(70px, 9vw, 120px); }
.marquee {
    margin-top: 36px; padding: 34px 0; overflow: hidden; border-block: 1px solid var(--line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marq 70s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }
.chip {
    display: flex; align-items: center; gap: 16px; padding-inline: clamp(28px, 5vw, 68px); white-space: nowrap;
    filter: grayscale(1); opacity: .7; transition: filter .5s, opacity .5s;
}
.chip:hover { filter: none; opacity: 1; }
.chip__mark {
    display: grid; place-items: center; width: 54px; height: 54px; border: 1.5px solid var(--c); border-radius: 50%;
    font: 600 .8rem/1 var(--ff-head); letter-spacing: .06em; color: var(--c);
}
.chip__name { font: 400 .78rem/1 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; }

/* ---------- 14. Testimonials ---------- */
.testi__carousel { max-width: 980px; margin-inline: auto; text-align: center; }
.testi__carousel .carousel-inner { min-height: 0; }
@media (min-width: 768px) { .testi__carousel .carousel-inner { min-height: 360px; } }
.testi__q { display: block; height: .55em; margin-bottom: 26px; font: 200 clamp(6rem, 14vw, 11rem)/1 var(--ff-head); color: var(--accent); }
.testi__item blockquote { font: 300 clamp(1.1rem, 2.2vw, 1.75rem)/1.65 var(--ff-head); letter-spacing: .015em; color: var(--text); }
.testi__item figcaption { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-top: 38px; }
.testi__avatar { width: 52px; height: 52px; margin-bottom: 8px; border-radius: 50%; object-fit: cover; border: 1px solid var(--accent); }
.testi__item strong { font: 500 .85rem/1.3 var(--ff-head); letter-spacing: .22em; text-transform: uppercase; }
.testi__item figcaption > span:not(.testi__stars) { font-size: .9rem; color: var(--grey); }
.testi__stars { display: flex; gap: 4px; margin-top: 6px; font-size: .62rem; }
.testi__stars i { color: #444; } .testi__stars i.on { color: var(--accent); }

.testi__nav { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 44px; }
.testi__nav > button {
    display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%;
    background: transparent; cursor: pointer; transition: background .4s, border-color .4s, color .4s;
}
.testi__nav > button:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.testi__nav .carousel-indicators { position: static; display: flex; gap: 6px; margin: 0; }
.testi__nav .carousel-indicators [data-bs-target] {
    box-sizing: content-box; width: 32px; height: 2px; margin: 0; padding: 0; border: 0; border-block: 14px solid transparent;
    background: rgba(255, 255, 255, .3) padding-box; opacity: 1; text-indent: 0; transition: background .4s;
}
.testi__nav .carousel-indicators .active { background: var(--accent) padding-box; }

/* ---------- 15. Media ---------- */
.posts { display: grid; gap: 22px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); gap: 28px; } }
.post__link {
    display: block; height: 100%; border: 1px solid var(--line); background: var(--bg-3);
    transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.post__link:hover, .post__link:focus-visible { transform: translateY(-9px); border-color: var(--accent); box-shadow: 0 30px 50px -26px rgba(0, 0, 0, .9); }
.post__img { aspect-ratio: 3 / 2; overflow: hidden; }
.post__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3) brightness(.9); transition: transform 1.2s var(--ease), filter .8s; }
.post__link:hover .post__img img { transform: scale(1.06); filter: none; }
.post__body { padding: 28px 28px 32px; }
.post__meta { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; font: 500 .62rem/1 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.post__meta span { color: var(--accent); }
.post__meta span::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--line); }
.post__body h3 { font: 400 1.05rem/1.55 var(--ff-head); letter-spacing: .06em; text-transform: none; }
.post__more { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; font: 500 .66rem/1 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }
.post__more svg { width: 22px; height: 10px; transition: transform .5s var(--ease); }
.post__link:hover .post__more svg { transform: translateX(8px); }

/* ---------- 16. Career strip ---------- */
.career { position: relative; padding-block: clamp(80px, 11vw, 150px); overflow: hidden; isolation: isolate; }
.career__bg { position: absolute; inset: -12% 0; z-index: -2; }
.career__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; filter: saturate(.9) brightness(.62); }
.career::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 10, 10, .9) 0%, rgba(10, 10, 10, .62) 45%, rgba(10, 10, 10, .28) 100%); }
.career__in { display: flex; flex-direction: column; gap: 40px; }
.career__title { max-width: 18ch; font-size: clamp(1.8rem, 4.4vw, 4rem); font-weight: 200; letter-spacing: .1em; }
.brand-word { display: inline-block; white-space: nowrap; font-family: var(--ff-logo); text-transform: none; }
.brand-word b { color: var(--accent); font-weight: 700; letter-spacing: .3em; }
.brand-word span { font-size: .74em; font-weight: 400; letter-spacing: .4em; color: #d6d6d6; }
@media (min-width: 900px) { .career__in { flex-direction: row; align-items: center; justify-content: space-between; gap: 60px; } }

/* ---------- 17. Contact / query form ---------- */
.contact__grid { display: grid; gap: 64px; align-items: stretch; }
.contact__text { display: flex; flex-direction: column; justify-content: space-between; }
.contact__title { font-size: clamp(1.9rem, 3.9vw, 3.7rem); }
.contact__lead { max-width: 30rem; margin-top: 30px; color: var(--grey); }
.contact__list { display: grid; gap: 18px; margin-top: 40px; }
.contact__list li { display: flex; align-items: flex-start; gap: 16px; color: #d6d6d6; }
.contact__list i { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: .78rem; color: var(--accent); }
.contact__list li > a, .contact__list li > span { padding-top: 6px; }
.contact__list a { transition: color .3s; } .contact__list a:hover { color: var(--accent); }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(60px, 8vw, 140px); } }

.qf { padding: clamp(20px, 3vw, 38px); border: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.ff { position: relative; margin-bottom: 22px; }
.ff-row { display: grid; gap: 0 28px; }
@media (min-width: 640px) { .ff-row { grid-template-columns: 1fr 1fr; } }
.ff input, .ff select, .ff textarea {
    display: block; width: 100%; padding: 20px 0 8px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .28); border-radius: 0; outline: 0;
    background: transparent; color: var(--text); font: 300 1rem/1.5 var(--ff-body); transition: border-color .4s, box-shadow .4s;
    -webkit-appearance: none; appearance: none;
}
.ff textarea { resize: vertical; min-height: 74px; }
.ff select { cursor: pointer; padding-right: 28px; }
.ff select option { background: #141414; color: var(--text); }
.ff input:focus, .ff select:focus, .ff textarea:focus { border-bottom-color: var(--accent); box-shadow: 0 1px 0 var(--accent); }
.ff label {
    position: absolute; left: 0; top: 18px; transform-origin: left top; pointer-events: none; color: var(--grey);
    font: 300 1rem/1.4 var(--ff-body); transition: top .35s var(--ease), font-size .35s var(--ease), letter-spacing .35s, color .35s;
}
.ff input:focus ~ label, .ff input:not(:placeholder-shown) ~ label,
.ff textarea:focus ~ label, .ff textarea:not(:placeholder-shown) ~ label,
.ff select:focus ~ label, .ff select:valid ~ label {
    top: 0; font: 500 .64rem/1.4 var(--ff-head); letter-spacing: .22em; text-transform: uppercase; color: var(--accent);
}
.ff__caret { position: absolute; right: 2px; bottom: 14px; font-size: .7rem; color: var(--grey); pointer-events: none; }
.ff__err { position: absolute; left: 0; top: 100%; margin-top: 5px; font-size: .74rem; line-height: 1.3; color: #ff7a7a; }
.ff.is-invalid input, .ff.is-invalid select, .ff.is-invalid textarea { border-bottom-color: #ff6a6a; }
.ff input:-webkit-autofill, .ff textarea:-webkit-autofill {
    -webkit-text-fill-color: var(--text); box-shadow: 0 0 0 1000px #151515 inset; caret-color: var(--text);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qf .btn-x { margin-top: 6px; }
.qf__status { min-height: 1.6em; margin-top: 14px; font-size: .92rem; }
.qf__status.is-ok { color: #6fd39a; } .qf__status.is-err { color: #ff8a8a; }
.qf.is-sending .btn-x { opacity: .6; pointer-events: none; }

/* ---------- 18. Social feed ---------- */
.ig__item { position: relative; display: block; flex: none; aspect-ratio: 1; overflow: hidden; background: #000; }
/* Lazy-loaded photo: the <img loading="lazy"> defers the network fetch; main.js adds .is-loaded once it
   actually arrives (initMarqueeLazyLoad), so it fades in over the black tile instead of popping in. */
.ig__item img {
    width: 100%; height: 100%; object-fit: cover; filter: grayscale(.35) brightness(.85); opacity: 0;
    transition: opacity .6s var(--ease), transform 1.2s var(--ease), filter .8s;
}
.ig__item img.is-loaded { opacity: 1; }
.ig__item:hover img { transform: scale(1.08); filter: none; }
.ig__ov {
    position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.9rem; color: #0a0a0a;
    background: rgba(232, 112, 42, .82); opacity: 0; transition: opacity .45s;
}
.ig__item:hover .ig__ov, .ig__item:focus-visible .ig__ov { opacity: 1; }
.ig__badge {
    position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center;
    width: 32px; height: 32px; border-radius: 50%; font-size: 1rem; color: #fff;
    background: rgba(10, 10, 10, .55); backdrop-filter: blur(4px); transition: opacity .45s;
}
.ig__item:hover .ig__badge, .ig__item:focus-visible .ig__badge { opacity: 0; }
/* Self-scrolling marquee: the track holds the post list twice back-to-back and slides left by exactly
   one copy's width (50%), so the loop is seamless. container-type lets each tile size itself off the
   row's own width (not the viewport), so "N tiles visible" holds at any container size. */
.ig--row {
    container-type: inline-size; overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.ig__track { display: flex; width: max-content; gap: 8px; will-change: transform; animation: ig-marq 50s linear infinite; }
.ig--row:hover .ig__track, .ig--row:focus-within .ig__track { animation-play-state: paused; }
@keyframes ig-marq { to { transform: translateX(-50%); } }
.ig__item { width: calc((100cqw - 8px) / 2); }                                  /* 2 tiles at a time */
@media (min-width: 560px) { .ig__item { width: calc((100cqw - 8px * 2) / 3); } }  /* 3 tiles */
@media (min-width: 860px) { .ig__item { width: calc((100cqw - 8px * 3) / 4); } }  /* 4 tiles */
@media (min-width: 1100px) { .ig__item { width: calc((100cqw - 8px * 4) / 5); } } /* 5 tiles */

/* ---------- 19. Footer ---------- */
.ftr { background: #060606; border-top: 1px solid var(--line); }
.ftr__grid { display: grid; grid-template-columns: 1fr; gap: 52px; padding-block: clamp(64px, 8vw, 110px) 64px; }
@media (min-width: 768px) { .ftr__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 60px; } }
.ftr__script { margin: 22px 0 10px; font: 400 2.1rem/1.2 var(--ff-script); color: var(--text); }
.ftr__about { max-width: 22rem; color: var(--grey); font-size: .95rem; }
.ftr__h { margin-bottom: 26px; font: 500 .74rem/1 var(--ff-head); letter-spacing: .3em; color: var(--accent); }
.ftr__list li a {
    display: inline-block; padding: 6px 0; color: #bdbdbd; font-size: .95rem;
    background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease), color .3s;
}
.ftr__list li a:hover { background-size: 100% 1px; color: var(--text); }
.ftr__contact { display: grid; gap: 16px; }
.ftr__contact li { display: flex; align-items: flex-start; gap: 14px; color: #bdbdbd; font-size: .95rem; }
.ftr__contact i { width: 16px; margin-top: 7px; flex: none; text-align: center; font-size: .8rem; color: var(--accent); }
.ftr__contact a { transition: color .3s; } .ftr__contact a:hover { color: var(--accent); }
.social { display: flex; gap: 12px; margin-top: 30px; }
.social a {
    display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%;
    color: #d0d0d0; transition: background .4s, border-color .4s, color .4s, transform .5s var(--ease);
}
.social a:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; transform: translateY(-4px); }
.ftr__map { height: clamp(280px, 32vw, 430px); border-block: 1px solid var(--line); background: #111; }
.ftr__map iframe { display: block; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.88) brightness(.95); }
.ftr__bar { padding-block: 24px; }
.ftr__grid + .ftr__bar { border-top: 1px solid var(--line); } /* divider when there is no map (every page but Contact) */
.ftr__bar-in { display: flex; flex-direction: column; gap: 8px; align-items: center; justify-content: space-between; text-align: center; font-size: .82rem; color: #8a8a8a; }
.ftr__bar-tag { font: 400 .62rem/1.6 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; }
@media (min-width: 768px) { .ftr__bar-in { flex-direction: row; text-align: left; } }

/* ---------- 20. Global widgets ---------- */
.sbar { position: fixed; top: 0; left: 0; z-index: 9000; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.fab {
    position: fixed; z-index: 800; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
    font-size: 1.55rem; box-shadow: 0 12px 30px rgba(0, 0, 0, .55); transition: transform .4s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab--wa { right: 156px; bottom: 20px; background: #25d366; color: #fff; }
.fab--wa::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #25d366; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .65; } 100% { transform: scale(1.85); opacity: 0; } }
.fab--call { right: 88px; bottom: 20px; background: var(--accent); color: #0a0a0a; font-size: 1.25rem; }
.fab--call::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: var(--accent); animation: pulse 2.2s ease-out 1.1s infinite; }
.fab--ig { right: 20px; bottom: 20px; color: #fff; background: radial-gradient(circle at 30% 107%, #fdf497 0, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.fab--ig::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: #d6249f; animation: pulse 2.2s ease-out 0.55s infinite; }

.totop {
    position: fixed; right: 227px; bottom: 23px; z-index: 800; display: grid; place-items: center; width: 50px; height: 50px; padding: 0;
    border: 0; border-radius: 50%; background: rgba(10, 10, 10, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: #fff; font-size: .85rem; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: opacity .4s, visibility .4s, transform .5s var(--ease), color .3s;
}
.totop.is-show { opacity: 1; visibility: visible; transform: none; }
.totop:hover { color: var(--accent); }
.totop svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.totop__bg { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 2; }
.totop__ring { fill: none; stroke: var(--accent); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }

/* Custom cursor (enabled by JS on fine pointers only) */
.cursor { display: none; }
body.has-cursor .cursor { display: block; }
body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [role="button"], body.has-cursor label, body.has-cursor select { cursor: none; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; z-index: 10001; pointer-events: none; border-radius: 50%; opacity: 0; transition: opacity .3s; }
.cursor.is-on .cursor__dot, .cursor.is-on .cursor__ring { opacity: 1; }
.cursor__dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor__ring {
    display: grid; place-items: center; width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255, 255, 255, .6);
    transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .4s, border-color .4s, opacity .3s;
}
.cursor__ring em { font: 600 .58rem/1 var(--ff-head); font-style: normal; letter-spacing: .22em; padding-left: .22em; color: #0a0a0a; opacity: 0; transition: opacity .3s; }
.cursor.is-link .cursor__ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-color: var(--accent); }
.cursor.is-view .cursor__ring { width: 96px; height: 96px; margin: -48px 0 0 -48px; border-color: var(--accent); background: var(--accent); }
.cursor.is-view .cursor__ring em { opacity: 1; }
.cursor.is-view .cursor__dot { opacity: 0; }

/* ---------- 21. Project quick-view modal (Bootstrap) ---------- */
.modal { --bs-backdrop-opacity: .88; }
.modal-backdrop { --bs-backdrop-bg: #000; }
.pm { position: relative; border: 1px solid var(--line); border-radius: 0; background: #101010; color: var(--text); overflow: hidden; }
.pm__close {
    position: absolute; top: 14px; right: 14px; z-index: 5; display: grid; place-items: center; width: 44px; height: 44px;
    border: 1px solid var(--line); border-radius: 50%; background: rgba(10, 10, 10, .75); cursor: pointer; transition: background .3s, color .3s;
}
.pm__close:hover { background: var(--accent); color: #0a0a0a; }
.pm__grid { display: grid; grid-template-columns: 1fr; }
.pm__img { aspect-ratio: 4 / 3; overflow: hidden; }
.pm__img img { width: 100%; height: 100%; object-fit: cover; }
.pm__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 18px; padding: clamp(26px, 4vw, 58px); }
.pm__cat { font: 500 .68rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.pm__body h3 { font-size: clamp(1.4rem, 2.6vw, 2.3rem); font-weight: 300; }
.pm__meta { font: 400 .7rem/1.6 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.pm__text { color: #cfcfcf; }
@media (min-width: 768px) { .pm__grid { grid-template-columns: 1.1fr 1fr; } .pm__img { aspect-ratio: auto; min-height: 520px; } }

/* ---------- 22. Small-screen refinements ---------- */
/* Phones: smaller floating buttons so the right-hand stack covers less content,
   and room at the foot of the page so the last footer line can scroll clear of them */
@media (max-width: 767px) {
    .fab { width: 46px; height: 46px; font-size: 1.3rem; }
    .fab--wa { right: 122px; bottom: 14px; }
    .fab--call { right: 68px; bottom: 14px; font-size: 1.05rem; }
    .fab--ig { right: 14px; bottom: 14px; }
    .totop { right: 178px; bottom: 16px; width: 42px; height: 42px; }
    .ftr__bar { padding-bottom: 76px; }
}
/* Small phones (≤ 359px): keep the hero title, button and preloader tagline on one line */
@media (max-width: 359px) {
    .hero__title { font-size: 2.3rem; }
    .btn-x { gap: 14px; padding: 17px 20px; letter-spacing: .18em; }
    .pre__sub { letter-spacing: .14em; }
    .ftr__bar-tag { letter-spacing: .18em; }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .marquee { overflow-x: auto; }
    .marquee__track { animation: none; }
    .ig--row { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .ig__track { animation: none; }
    .fab--wa::before, .fab--call::before, .fab--ig::before, .logo__wave { display: none; }
    .logo--white .logo__word b, .logo--white .logo__word i { animation: none; }
    .phero__video, .phero__vctl { display: none; }
}

/* ==========================================================================
   24. Inner pages — About · Services · Projects · Media · Career · Contact
   Built from the same tokens and components as the home page.
   ========================================================================== */
[hidden] { display: none !important; }

/* ---------- 24.1 Page hero ---------- */
.phero {
    position: relative; display: flex; flex-direction: column; justify-content: flex-end;
    min-height: 100vh; min-height: 100svh; padding: 150px 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate;
}
.phero--md { min-height: 78vh; min-height: 78svh; }
.phero__media { position: absolute; inset: -4% 0; z-index: -4; will-change: transform; }
.phero__img {
    width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 55%;
    filter: brightness(var(--phero-bright, .55)) saturate(.85) contrast(1.1); animation: zoomout 24s cubic-bezier(.2, .6, .35, 1) both;
}
/* Banner video: same dimmed look as the photo, fades in over it once playing (main.js: initHeroVideo) */
.phero__video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease;
    filter: brightness(var(--phero-bright, .55)) saturate(.85) contrast(1.1);
}
.phero__video.is-on { opacity: 1; }
.phero__vctl {
    position: absolute; left: clamp(20px, 5vw, 72px); bottom: clamp(24px, 3vw, 44px); z-index: 3; display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 16px; border: 1px solid var(--line); background: rgba(10, 10, 10, .5); color: var(--text);
    font: 500 .58rem/1 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; cursor: pointer;
    backdrop-filter: blur(6px); transition: border-color .3s, color .3s;
}
.phero__vctl:hover, .phero__vctl:focus-visible { border-color: var(--accent); color: var(--accent); }
.phero__vctl-ico { width: 8px; height: 10px; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.phero__vctl.is-paused .phero__vctl-ico { width: 0; height: 0; border: 0; border-left: 9px solid currentColor; border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
.phero__shade {
    position: absolute; inset: 0; z-index: -3; opacity: var(--phero-shade, 1);
    background:
        linear-gradient(90deg, rgba(10, 10, 10, .94) 0%, rgba(10, 10, 10, .72) 38%, rgba(10, 10, 10, .2) 72%, rgba(10, 10, 10, .08) 100%),
        linear-gradient(180deg, rgba(10, 10, 10, .75) 0%, rgba(10, 10, 10, 0) 26%, rgba(10, 10, 10, 0) 55%, rgba(10, 10, 10, .96) 100%);
}
/* Giant outlined word behind the content — purely decorative */
.phero__word {
    position: absolute; right: -.04em; bottom: -.12em; z-index: -2; pointer-events: none; user-select: none; white-space: nowrap;
    font: 800 clamp(4.6rem, 17vw, 17rem)/1 var(--ff-head); letter-spacing: .04em; text-transform: uppercase;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .08);
}
.phero__inner { position: relative; }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin-bottom: clamp(26px, 3.4vw, 44px); }
.crumbs li { font: 500 .62rem/1.6 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: var(--grey); }
.crumbs li + li::before { content: "/"; margin: 0 .9em; color: var(--accent); }
.crumbs a { transition: color .3s; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }
.phero__eyebrow { margin-bottom: 20px; }
.phero__title {
    max-width: 17ch; font-size: clamp(2.5rem, 7vw, 7rem); font-weight: 200; letter-spacing: .08em; line-height: 1.04;
    overflow-wrap: break-word;
}
.phero--md .phero__title { max-width: 24ch; font-size: clamp(1.9rem, 4.6vw, 4.4rem); letter-spacing: .06em; line-height: 1.12; }
.phero__lead { max-width: 34rem; margin-top: clamp(22px, 2.6vw, 34px); font-size: clamp(.98rem, 1.2vw, 1.12rem); color: #cdcdcd; }
.phero__facts { display: flex; flex-wrap: wrap; gap: 22px 0; margin: clamp(34px, 4.4vw, 60px) 0 0; }
.phero__facts > div {
    display: flex; flex-direction: column-reverse; gap: 6px; padding: 2px clamp(20px, 3vw, 44px);
    border-left: 1px solid var(--line);
}
.phero__facts > div:first-child { padding-left: 0; border-left: 0; }
.phero__facts dt { font: 400 .58rem/1.4 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; color: #8f8f8f; }
.phero__facts dd { margin: 0; font: 300 clamp(1.05rem, 1.7vw, 1.55rem)/1.2 var(--ff-head); letter-spacing: .06em; color: var(--text); }
.phero__scroll { display: none; }
@media (min-width: 1024px) {
    .phero__scroll {
        position: absolute; left: 50%; bottom: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px;
        transform: translateX(-50%);
    }
    .phero__scroll-txt { font: 400 .56rem/1 var(--ff-head); letter-spacing: .34em; padding-left: .34em; color: var(--grey); }
    .phero__scroll-line { position: relative; width: 1px; height: 64px; overflow: hidden; background: var(--line); }
    .phero__scroll-line::after {
        content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 50%; background: var(--accent);
        animation: dropline 2.2s var(--ease-io) infinite;
    }
}
@keyframes dropline { from { transform: translateY(-100%); } to { transform: translateY(200%); } }
@media (max-width: 639px) {
    .phero { padding-top: 124px; }
    .phero__word { font-size: 5.4rem; bottom: .1em; }
    .phero__facts > div { padding: 2px 20px 2px 0; margin-right: 20px; }
    .phero__facts > div:not(:first-child) { padding-left: 20px; }
}

/* ---------- 24.1b About: hero + scroll story ----------
   The About hero is followed by six more scenes (resources/views/frontend/partials/about-story.blade.php).
   main.js (initAboutStory) adds .astory--on on desktop with motion: the stage is pinned and one timeline slides,
   wipes and fades the scenes over each other as you scroll. Without it the scenes stay hidden and only the hero shows. */
.as { display: none; }
.astory--on .astory__stage { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--bg); }
.astory--on .astory__stage > .phero { position: absolute; inset: 0; min-height: 0; height: 100%; }
.astory--on .phero__lead { display: none; }          /* the lead is the big statement of scene 3 */
.astory--on .as { display: block; position: absolute; inset: 0; overflow: hidden; contain: layout paint; }
.as img { display: block; }
/* Photos are shown whole: full-bleed scenes use .as-fit (contain + blurred backdrop), small ones keep their own proportions */
.as-fit { position: absolute; inset: 0; overflow: hidden; background: #0a0a0a; }
/* soft backdrop: a tiny pre-blurred copy of the photo, stretched over the box and dimmed — no CSS filter (they are slow on full-screen layers) */
.as-fit::before { content: ""; position: absolute; inset: 0; background: var(--fit) center / cover no-repeat; opacity: .5; }
.as-fit img { position: relative; width: 100%; height: 100%; object-fit: contain; }
:where(.as p) { margin: 0; }

/* 2 · About */
.as-about__l { position: absolute; inset: 0 50% 0 0; overflow: hidden; background: #000; }
.as-about__l img { filter: brightness(.85); }
.as-about__r {
    position: absolute; inset: 0 0 0 50%;
    background: radial-gradient(120% 90% at 100% 100%, rgba(232, 112, 42, .3), rgba(232, 112, 42, 0) 62%), linear-gradient(160deg, #161616 0%, #0d0d0d 100%);
}
.as-about__c { position: relative; height: 100%; padding: clamp(150px, 21vh, 210px) clamp(24px, 5vw, 80px) clamp(40px, 7vh, 80px); display: flex; flex-direction: column; }
.as-about__h { max-width: 34rem; font: 300 clamp(1.5rem, 2.6vw, 2.8rem)/1.18 var(--ff-head); letter-spacing: .01em; color: var(--text); }
.as-about__p { margin-top: auto; max-width: 21rem; font-size: clamp(.92rem, 1.1vw, 1.1rem); line-height: 1.65; color: #dcdcdc; }
.as-about__img { position: absolute; right: clamp(24px, 6.4vw, 100px); bottom: clamp(30px, 6vh, 70px); width: clamp(140px, 16vw, 300px); overflow: hidden; }
.as-about__img img { width: 100%; height: auto; }

/* 3 · Overview */
.as-over__bg { position: absolute; inset: 0 0 auto 0; height: 125%; }
.as-over__bg img { filter: brightness(.66) saturate(.92); }
.as-over__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .5) 0%, rgba(10, 10, 10, 0) 35%, rgba(10, 10, 10, 0) 58%, rgba(10, 10, 10, .75) 100%); }
.as-over__in { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding-block: clamp(120px, 16vh, 180px) clamp(60px, 9vh, 110px); }
.as-over__title { max-width: 46rem; font: 300 clamp(1.7rem, 3.3vw, 3.3rem)/1.2 var(--ff-head); letter-spacing: .01em; color: var(--text); }
.as-over__text { align-self: flex-end; max-width: 24rem; margin-right: clamp(0px, 6vw, 96px); font-size: .98rem; line-height: 1.7; color: #f4f4f4; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.ov-w { display: inline-block; white-space: nowrap; }

/* 4 · Photos */
.as-photos { background: radial-gradient(90% 75% at 72% 28%, rgba(232, 112, 42, .3), rgba(232, 112, 42, 0) 60%), linear-gradient(180deg, #111 0%, #0a0a0a 100%); }
.as-photos__i { position: absolute; will-change: transform; }
.as-photos__i img { width: 100%; height: auto; }
.as-photos__i--1 { left: 2%; top: 49%; width: 34%; }
.as-photos__i--2 { left: 28%; top: 18%; width: 23%; }
.as-photos__i--3 { left: 52%; top: 64%; width: 26%; }
.as-photos__i--4 { left: 64%; top: 8%; width: 34%; }
.as-photos__t { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding-inline: 17%; text-align: center; pointer-events: none; }
.as-photos__t p {
    font: 300 clamp(1.5rem, 3vw, 3.2rem)/1.25 var(--ff-head); letter-spacing: .01em; color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, .9), 0 2px 10px rgba(0, 0, 0, .75), 0 8px 34px rgba(0, 0, 0, .6);
}

/* 5 · Place */
.as-place { background: #000; }
.as-place__slide { position: absolute; inset: 0; overflow: hidden; }
.as-place__slide img { filter: brightness(.72) saturate(.95); }
.as-place__card {
    position: absolute; right: clamp(24px, 5.6vw, 80px); bottom: clamp(40px, 8vh, 100px); z-index: 2;
    width: clamp(300px, 23vw, 440px); height: clamp(210px, 28vh, 250px); background: rgba(12, 12, 12, .94); border: 1px solid var(--line);
}
.as-place__cap { position: absolute; inset: 0; padding: 26px 28px; display: flex; flex-direction: column; }
.as-place__plus { align-self: flex-end; display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--accent); border-radius: 50%; color: var(--accent); transition: background .3s, color .3s; }
.as-place__plus:hover { background: var(--accent); color: #0a0a0a; }
.as-place__plus svg { width: 14px; height: 14px; }
.as-place__t { margin-top: auto; font: 300 clamp(1.1rem, 1.5vw, 1.5rem)/1.25 var(--ff-head); letter-spacing: .02em; color: var(--text); }
.as-place__line { display: block; height: 2px; margin: 12px 0 10px; background: rgba(255, 255, 255, .18); }
.as-place__line i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.as-place__d { font-size: .84rem; line-height: 1.55; color: #cfcfcf; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* 6 · Slider — light band; the photo nearest the pointer grows */
.as-slider { background: #f7f3e8; color: #141414; }
.as-slider__head { position: absolute; inset: clamp(120px, 20vh, 200px) 0 auto 0; text-align: center; padding-inline: var(--pad); }
.as-slider__eyebrow { font: 500 .62rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: #2a2a2a; }
.as-slider__titles { position: relative; height: 3.6em; margin-top: 3.2vh; font: 300 clamp(1.7rem, 3.1vw, 3.3rem)/1.2 var(--ff-head); letter-spacing: .01em; color: #141414; }
.as-slider__titles p { position: absolute; inset: 0 8%; opacity: 0; }
.as-slider__row { position: absolute; inset: auto 0 0 0; height: 78vh; }
.as-slider__item { position: absolute; left: 0; bottom: 0; display: block; overflow: hidden; transform-origin: 50% 100%; will-change: transform; }
.as-slider__item img { width: 100%; height: auto; }

/* 7 · More */
.as-more__bg { position: absolute; inset: 0; }
.as-more__bg img { filter: brightness(.5) saturate(.9); }
.as-more__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 10, 10, .55) 0%, rgba(10, 10, 10, 0) 40%, rgba(10, 10, 10, .75) 100%); }
.as-more__in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-end; text-align: right; padding-block: 120px clamp(70px, 12vh, 140px); padding-right: calc(var(--pad) + 64px); }
.as-more__eyebrow { margin-bottom: 18px; font: 500 .62rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.as-more__title { margin-bottom: clamp(24px, 4vh, 44px); font: 300 clamp(2.4rem, 6.2vw, 6.2rem)/1.02 var(--ff-head); letter-spacing: .02em; text-transform: uppercase; color: var(--text); }

/* Compact layout of the story — narrow screens, up to 899px wide (main.js: `compact`). Same seven scenes, portrait-friendly:
   the about scene stacks photo over text, the slider is swiped, and text/cards keep clear of the floating call / WhatsApp buttons
   (bottom-right, up to ~115px from the bottom). */
@media (max-width: 899px) {
    .as-about__l { inset: 0 0 52% 0; }
    .as-about__r { inset: 48% 0 0 0; }
    .as-about__c { padding: 24px 22px 120px; }
    .as-about__h { max-width: none; font-size: clamp(1.25rem, 5.6vw, 1.75rem); }
    .as-about__p { margin-top: 14px; max-width: none; font-size: .9rem; line-height: 1.6; }
    .as-about__img { display: none; }

    .as-over__in { padding-block: 104px 130px; }
    .as-over__title { max-width: none; font-size: clamp(1.35rem, 6.2vw, 1.9rem); }
    .as-over__text { align-self: stretch; max-width: none; margin-right: 0; padding-right: 64px; font-size: .88rem; line-height: 1.6; }

    .as-photos__t { padding-inline: 8%; }
    .as-photos__t p { font-size: clamp(1.15rem, 5vw, 1.6rem); }
    .as-photos__i--1 { left: 4%; top: 12%; width: 52%; }
    .as-photos__i--2 { left: 46%; top: 22%; width: 50%; }
    .as-photos__i--3 { left: 6%; top: 66%; width: 54%; }
    .as-photos__i--4 { left: 42%; top: 76%; width: 52%; }

    .as-place__slide .as-fit img { object-position: 50% 30%; }
    .as-place__card { left: 16px; right: 16px; bottom: 178px; width: auto; height: auto; min-height: 170px; }   /* above the call / WhatsApp / back-to-top stack */
    .as-place__cap { position: relative; padding: 18px 20px; }
    .as-place__cap:not(:first-child) { position: absolute; inset: 0; }
    .as-place__t { margin-top: 12px; }

    .as-slider__head { inset: 96px 0 auto 0; }
    .as-slider__titles { font-size: clamp(1.4rem, 6vw, 1.9rem); }
    .as-slider__row {
        inset: auto 0 0 0; height: auto; display: flex; align-items: flex-end; gap: 14px; overflow-x: auto; overflow-y: hidden;
        padding: 0 calc(50% - 33vw) 118px; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .as-slider__row::-webkit-scrollbar { display: none; }
    .as-slider__item { position: relative; flex: 0 0 auto; display: flex; justify-content: center; align-items: flex-end; width: 66vw; height: auto; scroll-snap-align: center; transform: scale(.8); transition: transform .45s var(--ease); }
    .as-slider__item.is-on { transform: scale(1); }
    .as-slider__item img { width: auto; max-width: 100%; height: auto; max-height: 40vh; max-height: 40svh; }   /* natural proportions, capped so a tall photo never covers the title: nothing is cropped or stretched */

    .as-more__in { padding: 96px 70px 130px 22px; }
    .as-more__title { font-size: clamp(2rem, 10.5vw, 3.4rem); }
}

/* ---------- 24.2 Filter tabs ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(34px, 4vw, 56px); }
.filters--end { margin-bottom: 0; }
.filters__btn {
    display: inline-flex; align-items: flex-start; gap: 6px; padding: 13px 22px; border: 1px solid var(--line); border-radius: 40px;
    background: transparent; cursor: pointer; color: var(--text);
    font: 500 .64rem/1 var(--ff-head); letter-spacing: .22em; text-transform: uppercase;
    transition: background .4s, border-color .4s, color .4s;
}
.filters__btn sup { top: 0; font-size: .82em; letter-spacing: .05em; color: var(--accent); transition: color .4s; }
.filters__btn:hover { border-color: var(--accent); color: var(--accent); }
.filters__btn.is-active { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.filters__btn.is-active sup { color: #0a0a0a; }
/* Sector tabs: number prefix, sectors without projects yet are dimmed (still clickable) */
.filters__no { margin-right: 4px; opacity: .55; font-size: .9em; }
.filters__btn.is-empty:not(.is-active) { color: #7d7d7d; border-color: rgba(255, 255, 255, .07); }
.filters__btn.is-empty:not(.is-active):hover { color: var(--accent); border-color: var(--accent); }
/* Many tabs on phones: one swipeable row instead of a wall of buttons */
@media (max-width: 699px) {
    .filters--scroll {
        flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--pad)); padding: 2px var(--pad) 6px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
    }
    .filters--scroll::-webkit-scrollbar { display: none; }
    .filters--scroll .filters__btn { flex: 0 0 auto; white-space: nowrap; }
}
/* Sector grid: tall "All" tile on the left + sectors in two even rows (5 × 2) */
.filters--grid { display: grid; grid-template-columns: minmax(120px, .8fr) repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(2, auto); gap: 10px; }
.filters--grid .filters__btn {
    align-items: center; gap: 10px; min-height: 58px; padding: 12px 16px; border-radius: 14px;
    text-align: left; letter-spacing: .16em; line-height: 1.35; white-space: normal;
}
.filters--grid .filters__no { flex: 0 0 auto; margin: 0; padding-right: 10px; border-right: 1px solid currentColor; line-height: 1; }
.filters--grid .filters__name { flex: 1 1 auto; min-width: 0; }
.filters--grid sup { flex: 0 0 auto; align-self: flex-start; }
.filters--grid .filters__btn--all {
    grid-row: 1 / span 2; flex-direction: column; align-items: flex-start; justify-content: space-between;
    padding: 16px 18px; font-size: .74rem;
}
.filters--grid .filters__btn--all sup { align-self: flex-end; font-size: 1.6em; letter-spacing: 0; }
/* Laptops: tighter tiles so five still fit per row */
@media (max-width: 1199px) {
    .filters--grid { grid-template-columns: 84px repeat(5, minmax(0, 1fr)); gap: 8px; }
    .filters--grid .filters__btn { gap: 8px; padding: 10px 12px; letter-spacing: .08em; font-size: .6rem; }
    .filters--grid .filters__no { padding-right: 8px; }
    .filters--grid .filters__btn--all { padding: 14px; }
}
/* Tablets: 4 columns, "All" still spans two rows → a clean 4 × 3 block */
@media (min-width: 700px) and (max-width: 991px) {
    .filters--grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: none; }
}
/* Phones: still two rows, swiped sideways */
@media (max-width: 699px) {
    .filters--grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: max-content; }
    .filters--grid .filters__btn { white-space: nowrap; min-height: 50px; }
    .filters--grid .filters__btn--all { min-width: 92px; }
}
.filters + .filters__note { margin: calc(-1 * clamp(14px, 2vw, 30px)) 0 clamp(30px, 3.5vw, 48px); }
.filters__note { font: 400 .68rem/1.6 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.pgrid__empty {
    display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: clamp(40px, 6vw, 80px) clamp(24px, 4vw, 56px);
    border: 1px dashed var(--line); color: var(--grey); font-size: 1.05rem;
}
.pgrid__empty[hidden] { display: none; }

/* ---------- 24.3 Project grid + card ---------- */
.pgrid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 900px) {
    .pgrid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .pgrid .pcard.is-wide { grid-column: 1 / -1; }
    .pgrid--3 { grid-template-columns: repeat(3, 1fr); }
}
.pcard__link { position: relative; display: block; overflow: hidden; background: #000; isolation: isolate; }
.pcard__img { aspect-ratio: 4 / 3; overflow: hidden; }
@media (min-width: 900px) { .pcard.is-wide .pcard__img { aspect-ratio: 21 / 9; } }
.pcard__img img {
    width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); filter: brightness(.82) saturate(.9);
    transition: transform 1.6s var(--ease), filter .9s;
}
.pcard__link:hover .pcard__img img, .pcard__link:focus-visible .pcard__img img { transform: scale(1.08); filter: brightness(1) saturate(1); }
.pcard__shade {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(10, 10, 10, .45) 0%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, .1) 50%, rgba(10, 10, 10, .9) 100%);
}
.pcard__top { position: absolute; top: 22px; left: 26px; right: 26px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pcard__no { font: 200 1.6rem/1 var(--ff-head); letter-spacing: .08em; }
.pcard__cat {
    padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 30px; background: rgba(10, 10, 10, .35);
    -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    font: 500 .58rem/1 var(--ff-head); letter-spacing: .24em; text-transform: uppercase;
}
.pcard__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: block; padding: 28px 100px 30px 28px; }
.pcard__line { display: block; width: 36px; height: 2px; margin-bottom: 18px; background: var(--accent); transition: width .9s var(--ease); }
.pcard__link:hover .pcard__line, .pcard__link:focus-visible .pcard__line { width: 110px; }
.pcard__title { font-size: clamp(1.05rem, 1.7vw, 1.55rem); font-weight: 400; letter-spacing: .16em; line-height: 1.25; }
.pcard.is-wide .pcard__title { font-size: clamp(1.2rem, 2.6vw, 2.5rem); font-weight: 300; }
.pcard__meta { display: block; margin-top: 10px; font: 400 .62rem/1.6 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.pcard__meta i { margin: 0 .5em; font-style: normal; color: var(--accent); }
.pcard__text {
    display: block; max-width: 36rem; max-height: 0; opacity: 0; overflow: hidden; transform: translateY(16px);
    color: #d6d6d6; font-size: .95rem; line-height: 1.6;
    transition: max-height .8s var(--ease), opacity .6s, transform .8s var(--ease), margin .8s var(--ease);
}
.pcard__link:hover .pcard__text, .pcard__link:focus-visible .pcard__text { max-height: 8em; margin-top: 14px; opacity: 1; transform: none; }
.pcard__go {
    position: absolute; right: 26px; bottom: 30px; z-index: 2; display: grid; place-items: center; width: 56px; height: 56px;
    border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%;
    transition: background .45s, border-color .45s, color .45s, transform .7s var(--ease);
}
.pcard__go svg { width: 22px; height: 11px; }
.pcard__link:hover .pcard__go, .pcard__link:focus-visible .pcard__go { background: var(--accent); border-color: var(--accent); color: #0a0a0a; transform: rotate(-45deg); }
@media (hover: none) { .pcard.is-wide .pcard__text { max-height: none; margin-top: 12px; opacity: 1; transform: none; } }
@media (max-width: 599px) {
    .pcard__img { aspect-ratio: 4 / 5; }
    .pcard__body { padding: 22px 22px 24px; }
    .pcard__go { top: 64px; bottom: auto; right: 22px; width: 46px; height: 46px; }
    .pcard__top { left: 22px; right: 22px; }
}
.projects + .stats, .about + .stats { border-top: 1px solid var(--line); }

/* ---------- 24.4 Project detail ---------- */
.pd__grid { display: grid; gap: 60px; }
@media (min-width: 1024px) {
    .pd__grid { grid-template-columns: minmax(280px, 380px) 1fr; gap: clamp(60px, 8vw, 150px); align-items: start; }
    .pd__facts { position: sticky; top: 110px; }
}
.pd__facts dl { margin: 0; border-top: 1px solid var(--line); }
.pd__facts dl > div { display: flex; justify-content: space-between; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.pd__facts dt { font: 500 .6rem/1.9 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: #8f8f8f; }
.pd__facts dd { margin: 0; text-align: right; color: var(--text); }
.pd__scope-h { margin: 36px 0 16px; font: 500 .62rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.pd__scope { display: flex; flex-wrap: wrap; gap: 8px; }
.pd__scope li { padding: 8px 15px; border: 1px solid var(--line); border-radius: 30px; font-size: .85rem; color: #d6d6d6; }
.pd__lead { margin-bottom: 36px; font: 300 clamp(1.3rem, 2.3vw, 2.15rem)/1.5 var(--ff-head); letter-spacing: .01em; text-transform: none; }
.pd__p { max-width: 46rem; margin-bottom: 22px; color: #c9c9c9; font-size: 1.04rem; }
.pd__story .link-arrow { margin-top: 22px; }
.pd__wide { position: relative; height: clamp(320px, 56vw, 88vh); margin: 0; overflow: hidden; background: #000; }
.pd__wide-in { position: absolute; inset: -9% 0; }
.pd__wide-in img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1.6s var(--ease);
}
.pd__wide-in img.is-active { opacity: 1; }
.pd__wide figcaption {
    position: absolute; left: 0; right: 0; bottom: 22px; text-align: right; text-shadow: 0 1px 8px rgba(0, 0, 0, .8);
    font: 400 .58rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: #d0d0d0;
}

/* ---------- 24.4 Explore by room ---------- */
.proom-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 640px) { .proom-grid { grid-template-columns: 1fr 1fr; } }
.proom__item {
    position: relative; display: flex; align-items: flex-end; aspect-ratio: 1 / 1; padding: 28px;
    overflow: hidden; isolation: isolate; border: 1px solid var(--line);
}
.proom__item img {
    position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover;
    filter: brightness(.45) grayscale(.3); transition: filter .8s, transform 1.4s var(--ease);
}
.proom__txt em { display: block; font: 500 .6rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.proom__txt strong { display: block; margin-top: 10px; font: 300 clamp(1.2rem, 2.2vw, 1.8rem)/1.2 var(--ff-head); letter-spacing: .1em; text-transform: uppercase; }

/* Each tile fades in with its own signature motion */
.proom__item:nth-child(4n+1) img { transition-property: filter, transform; }
.proom__item:nth-child(4n+1):hover img, .proom__item:nth-child(4n+1):focus-visible img { filter: brightness(.6) grayscale(0); transform: scale(1.08); }

.proom__item:nth-child(4n+2) img { transform: translateY(0); }
.proom__item:nth-child(4n+2):hover img, .proom__item:nth-child(4n+2):focus-visible img { filter: brightness(.6) grayscale(0); transform: translateY(-3%) scale(1.04); }

.proom__item:nth-child(4n+3) img { transform: scale(1.1); }
.proom__item:nth-child(4n+3):hover img, .proom__item:nth-child(4n+3):focus-visible img { filter: brightness(.65) grayscale(0); transform: scale(1); }

.proom__item:nth-child(4n+4) img { transform: rotate(0deg) scale(1.02); }
.proom__item:nth-child(4n+4):hover img, .proom__item:nth-child(4n+4):focus-visible img { filter: brightness(.6) grayscale(0); transform: rotate(1.5deg) scale(1.08); }

/* Projects with many rooms: three smaller landscape tiles per row */
@media (min-width: 1024px) {
    .proom-grid--many { grid-template-columns: repeat(3, 1fr); }
    .proom-grid--many .proom__item { aspect-ratio: 4 / 3; }
}
.proom__txt small { display: block; margin-top: 8px; font: 400 .7rem/1 var(--ff-head); letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }

/* ---------- 24.4 Room-by-room gallery ---------- */
.rgal__room { padding-block: clamp(34px, 4vw, 56px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.rgal__head { display: flex; gap: clamp(18px, 3vw, 40px); align-items: baseline; margin-bottom: 26px; }
.rgal__no { font: 300 .8rem/1 var(--ff-head); letter-spacing: .2em; color: var(--accent); }
.rgal__title { font: 300 clamp(1.2rem, 2.2vw, 1.8rem)/1.2 var(--ff-head); letter-spacing: .1em; text-transform: uppercase; }
.rgal__text { max-width: 44rem; margin-top: 10px; color: var(--grey); }
.rgal__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 900px) { .rgal__grid { grid-template-columns: repeat(3, 1fr); gap: 14px; } }
.rgal__item { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
.rgal__item img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.88); transition: filter .6s, transform 1.2s var(--ease); }
.rgal__item:hover img, .rgal__item:focus-visible img { filter: brightness(1); transform: scale(1.05); }

/* ---------- 24.4 Lightbox (main.js: initLightbox) ---------- */
.lb {
    position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 64px 16px;
    background: rgba(5, 5, 5, .96); opacity: 0; visibility: hidden; transition: opacity .35s, visibility 0s .35s;
}
.lb.is-open { opacity: 1; visibility: visible; transition: opacity .35s; }
.lb__img { max-width: min(100%, 1800px); max-height: calc(100vh - 128px); object-fit: contain; box-shadow: 0 20px 60px rgba(0, 0, 0, .6); }
.lb__cap { position: absolute; left: 16px; right: 16px; bottom: 22px; text-align: center; font: 400 .66rem/1.4 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: #d0d0d0; }
.lb__btn {
    position: absolute; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%; background: rgba(10, 10, 10, .5); color: #fff; cursor: pointer; transition: background .3s, border-color .3s, color .3s;
}
.lb__btn:hover, .lb__btn:focus-visible { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.lb__btn svg { width: 20px; height: 20px; }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 599px) { .lb__prev, .lb__next { top: auto; bottom: 56px; transform: none; width: 44px; height: 44px; } }

/* ---------- 24.5 CTA strip ---------- */
.ctas {
    position: relative; padding-block: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line); overflow: hidden;
    background: radial-gradient(ellipse 60% 90% at 88% 10%, rgba(232, 112, 42, .16), transparent 60%), #0d0d0d;
}
.ctas__in { display: flex; flex-direction: column; gap: 44px; }
.ctas__title { max-width: 17ch; font-size: clamp(1.9rem, 4.2vw, 4rem); font-weight: 200; letter-spacing: .1em; }
.ctas__text { max-width: 32rem; margin-top: 26px; color: var(--grey); }
.ctas__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ctas__phone { display: inline-flex; align-items: center; gap: 12px; font: 500 .74rem/1 var(--ff-head); letter-spacing: .2em; color: var(--grey); transition: color .3s; }
.ctas__phone i { color: var(--accent); }
.ctas__phone:hover { color: var(--accent); }
@media (min-width: 1000px) { .ctas__in { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 80px; } }

/* ---------- 24.6 FAQ + job accordion ---------- */
.faq__grid { display: grid; gap: 50px; }
@media (min-width: 1024px) {
    .faq__grid { grid-template-columns: .8fr 1.2fr; gap: clamp(60px, 8vw, 140px); align-items: start; }
    .faq__grid > header { position: sticky; top: 110px; }
}
.faq__title { font-size: clamp(1.8rem, 3.6vw, 3.4rem); }
.faq__p { max-width: 24rem; margin-top: 26px; color: var(--grey); }
.faq__p a { color: var(--text); border-bottom: 1px solid var(--accent); transition: color .3s; }
.faq__p a:hover { color: var(--accent); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__h { margin: 0; font: inherit; letter-spacing: normal; text-transform: none; }
.faq__btn {
    display: flex; align-items: center; gap: 22px; width: 100%; padding: 26px 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--text);
}
.faq__no { flex: none; width: 34px; font: 200 1rem/1 var(--ff-head); color: var(--accent); }
.faq__q { flex: 1; font: 400 clamp(.98rem, 1.3vw, 1.15rem)/1.45 var(--ff-head); letter-spacing: .04em; transition: color .3s; }
.faq__btn:hover .faq__q, .job__head:hover .job__title { color: var(--accent); }
.faq__icon {
    position: relative; flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%;
    transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1px; margin-left: -6px; background: currentColor; }
.faq__icon::after { transform: rotate(90deg); }
[aria-expanded="true"] > .faq__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.faq__a { max-width: 44rem; padding: 0 60px 30px 56px; color: var(--grey); }
@media (max-width: 599px) { .faq__a { padding: 0 0 26px 0; } .faq__btn { gap: 14px; } .faq__no { width: 24px; } }

/* Tailwind CDN also ships a `.collapse { visibility: collapse }` utility, which hid the opened answers
   (the panel grew but stayed empty). Keep Bootstrap accordion panels visible. */
.job .collapse, .job .collapsing, .faq__item .collapse, .faq__item .collapsing { visibility: visible; }

.joblist { border-top: 1px solid var(--line); }
.job { border-bottom: 1px solid var(--line); }
.job__head {
    display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; width: 100%; padding: 30px 0; border: 0; background: none;
    cursor: pointer; text-align: left; color: var(--text);
}
.job__title { flex: 1 1 260px; font: 400 clamp(1.1rem, 2vw, 1.65rem)/1.3 var(--ff-head); letter-spacing: .14em; text-transform: uppercase; transition: color .3s; }
.job__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job__tags span { padding: 7px 13px; border: 1px solid var(--line); border-radius: 30px; font: 500 .56rem/1 var(--ff-head); letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.job__body { max-width: 50rem; padding: 0 0 40px; color: var(--grey); }
.job__need-h { margin: 28px 0 14px; font: 500 .62rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.job__body .srow__list { margin-bottom: 34px; }

/* ---------- 24.7 About: mission / values / founder ---------- */
.mv__grid { display: grid; gap: 22px; }
@media (min-width: 900px) { .mv__grid { grid-template-columns: 1fr 1fr; } }
.mv__card {
    position: relative; overflow: hidden; padding: clamp(32px, 4.4vw, 64px); border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    transition: border-color .5s, transform .7s var(--ease);
}
.mv__card:hover { border-color: var(--accent); transform: translateY(-6px); }
.mv__no { position: absolute; right: 24px; top: 6px; font: 200 clamp(4.5rem, 8vw, 7rem)/1 var(--ff-head); color: rgba(255, 255, 255, .05); }
.mv__h { margin-bottom: 20px; font: 300 clamp(1.35rem, 2.2vw, 2rem)/1.35 var(--ff-head); letter-spacing: .02em; text-transform: none; }
.mv__card > p:last-child { color: var(--grey); }
.mv__values-head { margin-top: clamp(90px, 11vw, 160px); }

.vgrid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .vgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .vgrid { grid-template-columns: repeat(4, 1fr); } }
.vcard { padding: 42px 32px 38px; border: 1px solid var(--line); transition: border-color .5s, transform .7s var(--ease), background .5s; }
.vcard:hover { border-color: var(--accent); background: rgba(232, 112, 42, .04); transform: translateY(-6px); }
.vcard__icon { display: block; margin-bottom: 28px; font-size: 1.7rem; color: var(--accent); }
.vcard h3 { margin-bottom: 14px; font-size: .95rem; font-weight: 400; letter-spacing: .2em; }
.vcard p { color: var(--grey); font-size: .95rem; }

.founder__grid { display: grid; gap: 56px; align-items: center; }
@media (min-width: 1024px) { .founder__grid { grid-template-columns: 1fr 1fr; gap: clamp(60px, 7vw, 130px); } }
.founder__board img { width: 100%; border: 1px solid var(--line); box-shadow: 0 50px 80px -30px rgba(0, 0, 0, .9); }
.founder__name { font-size: clamp(1.9rem, 4vw, 3.8rem); }
.founder__role { margin-top: 22px; font: 400 .68rem/2 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }
.founder__quote { margin: 36px 0 28px; padding-left: 28px; border-left: 2px solid var(--accent); font: 300 clamp(1.1rem, 1.7vw, 1.5rem)/1.6 var(--ff-head); color: var(--text); }
.founder__p { max-width: 36rem; color: var(--grey); }
.founder__sign { margin-top: 26px; }
/* Partner cards (About page): a big outlined initial behind each partner */
.founder__head .sec-head__p b { font-weight: inherit; color: var(--accent); }
.partners { display: grid; gap: clamp(18px, 2.4vw, 30px); }
@media (min-width: 800px) { .partners { grid-template-columns: 1fr 1fr; } }
.partner {
    position: relative; overflow: hidden; padding: clamp(28px, 3.4vw, 52px);
    border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .02);
    transition: border-color .5s;
}
.partner:hover { border-color: var(--accent); }
.partner__letter {
    position: absolute; top: clamp(18px, 2.4vw, 34px); right: clamp(22px, 3vw, 44px); pointer-events: none;
    font: 200 clamp(7rem, 12vw, 11rem)/.8 var(--ff-head); color: transparent;
    -webkit-text-stroke: 1px var(--accent); opacity: .35; transition: opacity .5s;
}
.partner:hover .partner__letter { opacity: .7; }
.partner > :not(.partner__letter) { position: relative; }
.partner__no { font: 500 .64rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: var(--accent); }
.partner__name { margin-top: clamp(40px, 5vw, 80px); font: 400 clamp(1.4rem, 2.3vw, 2.1rem)/1.2 var(--ff-head); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.partner__role { margin-top: 12px; color: var(--text); opacity: .85; }
.partner__qual { margin-top: 8px; font: 400 .66rem/1.8 var(--ff-head); letter-spacing: .18em; text-transform: uppercase; color: var(--grey); }
.partner__p { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--grey); }
.founder__quote--wide { max-width: 60rem; margin: clamp(40px, 5vw, 70px) 0 0; }
.founder__quote cite { display: block; margin-top: 18px; font: 500 .64rem/1.6 var(--ff-head); font-style: normal; letter-spacing: .24em; text-transform: uppercase; color: var(--accent); }

/* ---------- 24.8 Services page ---------- */
.svc-intro { padding-bottom: clamp(50px, 6vw, 90px); }
.svc-index { border-top: 1px solid var(--line); }
.svc-index a {
    display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 6px 26px; padding: 26px 0; border-bottom: 1px solid var(--line);
    transition: padding .6s var(--ease), color .4s;
}
.svc-index__no { font: 200 1.4rem/1 var(--ff-head); color: var(--accent); }
.svc-index__t { font: 400 clamp(1.1rem, 2.2vw, 2rem)/1.2 var(--ff-head); letter-spacing: .16em; text-transform: uppercase; }
.svc-index__tag { grid-column: 2; grid-row: 2; font: 400 .6rem/1.4 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: #8f8f8f; }
.svc-index i {
    grid-column: 3; grid-row: 1 / span 2; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
    font-size: .8rem; transition: background .4s, border-color .4s, color .4s, transform .6s var(--ease);
}
.svc-index a:hover { padding-left: 16px; color: var(--accent); }
.svc-index a:hover i { background: var(--accent); border-color: var(--accent); color: #0a0a0a; transform: translateY(4px); }
@media (min-width: 900px) {
    .svc-index a { grid-template-columns: 80px 1fr auto auto; }
    .svc-index__tag { grid-column: 3; grid-row: 1; }
    .svc-index i { grid-column: 4; grid-row: 1; }
}

.srow { padding-block: clamp(70px, 9vw, 140px); border-top: 1px solid var(--line); }
.srow:nth-child(even) { background: var(--bg-3); }
.srow__grid { display: grid; gap: 54px; align-items: center; }
@media (min-width: 1024px) {
    .srow__grid { grid-template-columns: 1fr 1.05fr; gap: clamp(60px, 7vw, 140px); }
    .srow.is-flip .srow__media { order: 2; }
}
.srow__media { position: relative; }
.srow__img { aspect-ratio: 4 / 5; max-height: 80vh; overflow: hidden; background: #000; }
.srow__img img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.85) contrast(1.05); }
.srow__no {
    position: absolute; top: -.42em; right: -.12em; pointer-events: none;
    font: 700 clamp(4.5rem, 10vw, 9rem)/1 var(--ff-head); color: transparent; -webkit-text-stroke: 1px var(--accent);
}
.srow.is-flip .srow__no { right: auto; left: -.12em; }
.srow__title { font-size: clamp(2rem, 4.4vw, 4rem); font-weight: 200; letter-spacing: .12em; }
.srow__lead { margin-top: 26px; font-size: 1.12rem; color: #e2e2e2; }
.srow__body { margin-top: 18px; color: var(--grey); }
.srow__list { display: grid; gap: 12px 30px; margin: 34px 0 42px; }
@media (min-width: 560px) { .srow__list:not(.srow__list--one) { grid-template-columns: 1fr 1fr; } }
.srow__list li { position: relative; padding-left: 26px; color: #d6d6d6; }
.srow__list li::before {
    content: ""; position: absolute; left: 2px; top: .68em; width: 7px; height: 7px; border: 1px solid var(--accent); transform: rotate(45deg);
}

/* ---------- 24.9 Media: featured, archive, article, press ---------- */
.feat { display: grid; border: 1px solid var(--line); background: var(--bg-3); transition: border-color .5s, box-shadow .7s var(--ease), transform .7s var(--ease); }
.feat:hover, .feat:focus-visible { border-color: var(--accent); transform: translateY(-6px); box-shadow: 0 40px 70px -34px rgba(0, 0, 0, .9); }
@media (min-width: 1000px) { .feat { grid-template-columns: 1.25fr 1fr; } }
.feat__img { aspect-ratio: 16 / 10; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) brightness(.9); transition: transform 1.4s var(--ease), filter .8s; }
.feat:hover .feat__img img { transform: scale(1.05); filter: none; }
.feat__body { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px); }
.feat__title { margin-bottom: 20px; font: 300 clamp(1.4rem, 2.5vw, 2.35rem)/1.35 var(--ff-head); letter-spacing: .02em; text-transform: none; }
.feat__excerpt { color: var(--grey); }
.post__excerpt {
    margin-top: 12px; color: var(--grey); font-size: .93rem; line-height: 1.65;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.press__in { display: flex; flex-direction: column; gap: 34px; }
.press__title { font-size: clamp(1.7rem, 3.4vw, 3.2rem); }
.press__side { max-width: 28rem; }
.press__side p { margin-bottom: 28px; color: var(--grey); }
@media (min-width: 900px) { .press__in { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 80px; } }

.art__grid { display: grid; gap: 40px; }
.art__share { display: flex; align-items: center; gap: 10px; align-self: start; }
.art__share p { margin-right: 6px; font: 500 .58rem/1 var(--ff-head); letter-spacing: .28em; text-transform: uppercase; color: #8f8f8f; }
@media (min-width: 1024px) {
    .art__grid { grid-template-columns: 1fr minmax(0, 46rem) 1fr; gap: 0; }
    .art__share { grid-column: 1; grid-row: 1; justify-self: end; flex-direction: column; margin-right: clamp(40px, 5vw, 90px); position: sticky; top: 120px; }
    .art__share p { margin: 0 0 8px; writing-mode: vertical-rl; }
    .art__body { grid-column: 2; grid-row: 1; }
}
.art__share a {
    display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; color: #d0d0d0;
    transition: background .4s, border-color .4s, color .4s;
}
.art__share a:hover { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.art__body p { margin-bottom: 1.5em; font-size: 1.08rem; line-height: 1.85; color: #d0d0d0; }
.art__body .art__lead { margin-bottom: 1.6em; font: 300 clamp(1.2rem, 1.9vw, 1.6rem)/1.6 var(--ff-head); color: var(--text); }
.art__foot { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }

/* ---------- 24.10 Contact + career form extras ---------- */
.reach__grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .reach__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reach__grid { grid-template-columns: repeat(4, 1fr); } }
.reach__card {
    position: relative; z-index: 0; overflow: hidden;
    padding: 40px 32px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
    transition: border-color .5s, transform .7s var(--ease);
}
.reach__card::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background-position: center; background-size: cover; background-repeat: no-repeat;
    opacity: 0; transition: opacity .5s var(--ease); pointer-events: none;
}
.reach__card:nth-child(1)::before { background-image: url('../../img/background/reach-call.png'); }
.reach__card:nth-child(2)::before { background-image: url('../../img/background/reach-email.png'); }
.reach__card:nth-child(3)::before { background-image: url('../../img/background/reach-location.png'); }
.reach__card:nth-child(4)::before { background-image: url('../../img/background/reach-hours.png'); }
.reach__card:hover { border-color: var(--accent); transform: translateY(-6px); }
.reach__card:hover::before { opacity: .15; }
.reach__card > i {
    display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 28px; border: 1px solid var(--line); border-radius: 50%;
    font-size: 1rem; color: var(--accent);
}
.reach__card h2 { margin-bottom: 16px; font-size: .82rem; font-weight: 400; letter-spacing: .24em; }
.reach__card p, .reach__card address { color: #cfcfcf; line-height: 1.9; }
.reach__card a { transition: color .3s; }
.reach__card a:hover { color: var(--accent); }
.reach__link { display: inline-block; margin-top: 14px; padding-bottom: 4px; border-bottom: 1px solid var(--accent); font: 500 .6rem/1 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; color: var(--accent); }

/* File field (career form): the native input is visually hidden; its label is the styled picker */
.ff--file input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.ff.ff--file input[type="file"] ~ label {
    position: relative; top: auto; display: flex; align-items: center; gap: 14px; padding: 18px; cursor: pointer; pointer-events: auto;
    border: 1px dashed rgba(255, 255, 255, .3); color: var(--grey);
    font: 300 .95rem/1.4 var(--ff-body); letter-spacing: normal; text-transform: none;
    transition: border-color .4s, color .4s, background .4s;
}
.ff--file label > i { color: var(--accent); }
.ff__file-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ff__file-btn { flex: none; padding: 9px 14px; border: 1px solid var(--line); font: 500 .58rem/1 var(--ff-head); letter-spacing: .22em; text-transform: uppercase; color: var(--text); }
.ff.ff--file input[type="file"] ~ label:hover, .ff--file.has-file input[type="file"] ~ label { border-color: var(--accent); color: var(--text); background: rgba(232, 112, 42, .05); }
.ff--file input[type="file"]:focus-visible ~ label { outline: 2px solid var(--accent); outline-offset: 3px; }
.ff--file.is-invalid input[type="file"] ~ label { border-color: #ff6a6a; }

.pm__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 30px; }

/* ---------- 25. Slow zoom-out on photos ----------
   main.js adds .zo to the main photos of every page and .is-in once each one scrolls into view:
   the photo starts slightly close and slowly settles back. It animates the `scale` property,
   as a keyframe animation, so it stacks with the hover zooms and GSAP parallax (both use `transform`)
   and leaves each component's own `transition` untouched. Without JS nothing changes. */
.zo { scale: 1.2; }
.zo.is-in { animation: zoomsettle var(--zo-time, 7s) cubic-bezier(.2, .6, .35, 1) both; }
@keyframes zoomsettle { from { scale: 1.2; } to { scale: 1; } }
.career__bg img.zo, .pd__wide-in img.zo { --zo-time: 11s; }

/* ---------- 26. Card background photo on hover (About: mission / vision / values) ----------
   The photo sits behind the card content, hidden; on hover it fades in to 20% and gently settles back. */
.mv__card, .vcard { position: relative; overflow: hidden; isolation: isolate; }
.card-bg {
    position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; pointer-events: none;
    opacity: 0; scale: 1.1; transition: opacity .8s var(--ease), scale 1.6s var(--ease);
}
.mv__card:hover .card-bg, .vcard:hover .card-bg { opacity: .2; scale: 1; }

/* =======================================================================
   CMS additions — admin-controlled logos, design overrides and the new
   blocks the CMS introduced (sub-category filter, service detail, video).
   ======================================================================= */

/* Section heading colour set in Admin → Design */
[style*="--cms-h"] :is(h1, h2, h3, .h-xl) { color: var(--cms-h); }

/* Header: "sticky" switched off in Admin → Header */
.hdr--static { position: absolute; }

/* Uploaded logos (Admin → General Settings) */
.hdr__img { display: block; height: 42px; width: auto; max-width: 220px; object-fit: contain; }
@media (min-width: 1280px) { .hdr__img { height: 54px; } }
.hdr__img--mob { display: none; }
@media (max-width: 767px) { .hdr__img--desk { display: none; } .hdr__img--mob { display: block; } }
.ftr__img { display: block; height: 56px; width: auto; max-width: 240px; object-fit: contain; }

/* Association logos in the marquee */
.chip__logo { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: #fff; padding: 6px; }

/* Video badge on media cards */
.post__img, .feat__img { position: relative; }
.post__play {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; place-items: center;
    width: 58px; height: 58px; border-radius: 50%; background: rgba(10, 10, 10, .6); border: 1px solid rgba(255, 255, 255, .4);
    color: #fff; backdrop-filter: blur(4px); transition: background .4s;
}
.post__link:hover .post__play, .feat:hover .post__play { background: var(--accent); border-color: var(--accent); }
.art__video { position: relative; aspect-ratio: 16 / 9; margin: 0 0 2em; border: 1px solid var(--line); background: #000; }
.art__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Partner cards: optional photo + profile link */
.partner__photo { position: relative; display: block; width: 84px; height: 84px; margin-top: 26px; border-radius: 50%; object-fit: cover; border: 1px solid var(--line); }
.partner__photo + .partner__name { margin-top: 18px; }
.partner__link { position: relative; display: inline-flex; gap: 10px; align-items: center; margin-top: 18px; font: 500 .66rem/1 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }

/* Services: the photo links to the service page; two actions under each row */
a.srow__img { display: block; }
.srow__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.career-intro__img { margin-bottom: clamp(30px, 4vw, 56px); aspect-ratio: 21 / 8; overflow: hidden; border: 1px solid var(--line); }
.career-intro__img img { width: 100%; height: 100%; object-fit: cover; }

/* Projects: sub-category chips for the active category + search */
.subfilters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin: calc(-1 * clamp(14px, 2vw, 30px)) 0 18px; }
.subfilters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.subfilters__btn {
    display: inline-flex; align-items: flex-start; gap: 5px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 30px;
    background: transparent; color: var(--grey); cursor: pointer; font: 500 .6rem/1 var(--ff-head); letter-spacing: .16em; text-transform: uppercase;
    transition: color .3s, border-color .3s, background .3s;
}
.subfilters__btn sup { top: 0; font-size: .85em; color: var(--accent); }
.subfilters__btn:hover { color: var(--accent); border-color: var(--accent); }
.subfilters__btn.is-active { color: #0a0a0a; background: var(--text); border-color: var(--text); }
.subfilters__btn.is-active sup { color: #0a0a0a; }
.subfilters__btn.is-empty:not(.is-active) { opacity: .55; }
.subfilters__btn[hidden] { display: none; }
.subfilters__search { position: relative; flex: 0 1 280px; margin: 0 0 0 auto; }
.subfilters__search i { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--grey); font-size: .8rem; }
.subfilters__search input {
    width: 100%; padding: 10px 0 10px 26px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--text);
    font: 400 .9rem/1.2 var(--ff-body); outline: none; transition: border-color .3s;
}
.subfilters__search input:focus { border-color: var(--accent); }
.subfilters + .filters__note { margin-top: 0; }
@media (max-width: 699px) { .subfilters { margin-top: 0; } .subfilters__search { flex-basis: 100%; } }
.subfilters__chips[hidden] { display: none; }
.subfilters__chips[hidden] { display: none; }

/* ---------- About: design philosophy ----------
   Copy on the dark left of the studio-model backdrop, the portrait stands in front of it, and a pillars strip
   (Proportion · Material · Light · Colour · Space) closes the section. */
.phil { position: relative; overflow: hidden; isolation: isolate; background: #0a0a0a; padding-block: clamp(70px, 9vw, 130px) 0; }
.phil__bg { position: absolute; inset: 0; z-index: -3; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.phil__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(10, 10, 10, .94) 0, rgba(10, 10, 10, .8) 36%, rgba(10, 10, 10, .2) 66%, rgba(10, 10, 10, .05) 100%), linear-gradient(0deg, #0a0a0a 0, transparent 22%), linear-gradient(180deg, #0a0a0a 0, transparent 14%); }
.phil__ghost {
    position: absolute; left: -.03em; top: clamp(18px, 4vw, 56px); z-index: -1; pointer-events: none; user-select: none; white-space: nowrap;
    font: 800 clamp(4rem, 15vw, 14rem)/1 var(--ff-head); letter-spacing: .04em; text-transform: uppercase;
    color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
}
.phil__inner { position: relative; display: grid; gap: 30px; align-items: end; }
.phil__copy { position: relative; z-index: 2; padding-bottom: clamp(40px, 6vw, 90px); }
.phil__eyebrow { font: 300 .95rem/1 var(--ff-head); letter-spacing: .38em; text-transform: uppercase; color: var(--grey); }
.phil__rule { display: block; width: 60px; height: 2px; margin: 22px 0 30px; background: var(--accent); }
.phil__title { display: flex; flex-direction: column; font-size: clamp(2rem, 4.6vw, 4.2rem); font-weight: 200; line-height: 1.12; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 30px; }
.phil__lead { max-width: 36rem; margin-bottom: 18px; font: 500 clamp(1.02rem, 1.35vw, 1.2rem)/1.5 var(--ff-head); letter-spacing: .02em; color: var(--text); }
.phil__p { max-width: 36rem; margin-bottom: 18px; color: rgba(255, 255, 255, .78); line-height: 1.75; }
.phil__quote { position: relative; max-width: 36rem; margin: 26px 0 8px; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); }
.phil__quote p { font: 300 clamp(1.15rem, 1.9vw, 1.65rem)/1.3 var(--ff-head); letter-spacing: .04em; color: var(--text); }
.phil__quote footer { margin-top: 10px; font: 400 .6rem/1.4 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; color: var(--grey); }
.phil__btn { margin-top: 22px; }
.phil__media { position: relative; z-index: 1; justify-self: center; width: min(78%, 420px); margin-top: -10px; }
.phil__media { -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 9%); mask-image: linear-gradient(0deg, transparent 0, #000 9%); }
.phil__media img { display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 44px rgba(0, 0, 0, .6)); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%); }
.phil__bar { position: relative; z-index: 2; margin-top: -1px; border-top: 1px solid var(--line); background: rgba(10, 10, 10, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); padding-block: clamp(26px, 3.4vw, 44px); }
.phil__bar-h { margin-bottom: 20px; font: 500 .62rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--accent); }
.phil__pillars { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; margin: 0; padding: 0; list-style: none; }
.phil__pillars li { display: flex; flex-direction: column; gap: 6px; padding-top: 14px; border-top: 1px solid var(--line); transition: border-color .4s; }
.phil__pillars li:hover { border-color: var(--accent); }
.phil__no { font: 400 .58rem/1 var(--ff-head); letter-spacing: .24em; color: var(--accent); }
.phil__pillars strong { font: 300 clamp(1.05rem, 1.6vw, 1.4rem)/1.2 var(--ff-head); letter-spacing: .1em; text-transform: uppercase; }
.phil__pillars li > span:last-child { font-size: .82rem; line-height: 1.5; color: var(--grey); }
@media (min-width: 640px) { .phil__pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 900px) {
    .phil { padding-block: clamp(80px, 8vw, 120px) 0; }
    .phil__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: min(58vh, 560px); }
    .phil__media { width: min(100%, 560px); justify-self: center; margin: 0 0 0 clamp(0px, 4vw, 70px); align-self: end; }
    .phil__pillars { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 28px; }
}
/* ---------- Project share ---------- */
.pd__share-btn {
    display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; padding: 15px 26px; cursor: pointer;
    border: 1px solid rgba(255, 255, 255, .55); background: transparent; color: var(--text);
    font: 500 .68rem/1 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.pd__share-btn:hover, .pd__share-btn:focus-visible { background: var(--accent); border-color: var(--accent); color: #0a0a0a; }
.shr { position: fixed; inset: 0; z-index: 9500; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.shr[hidden] { display: none; }
.shr-open { overflow: hidden; }
.shr__box { position: relative; width: min(100%, 480px); padding: 34px 30px 30px; background: #111; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.shr__close { position: absolute; top: 12px; right: 14px; width: 36px; height: 36px; border: 0; background: none; color: var(--text); font-size: 1.1rem; cursor: pointer; }
.shr__close:hover { color: var(--accent); }
.shr__h { margin-bottom: 22px; font: 500 .72rem/1 var(--ff-head); letter-spacing: .3em; text-transform: uppercase; color: var(--grey); }
.shr__card { display: flex; gap: 16px; align-items: center; margin-bottom: 24px; padding: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.shr__card img { width: 96px; height: 72px; object-fit: cover; flex: none; }
.shr__card strong { display: block; font-weight: 500; line-height: 1.3; }
.shr__card span { display: block; margin-top: 4px; font-size: .8rem; color: var(--grey); }
.shr__links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 24px; }
.shr__links a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 4px; border: 1px solid var(--line); font-size: 1.2rem; color: var(--c, var(--text)); transition: background .3s, border-color .3s; }
.shr__links a span { font: 500 .55rem/1 var(--ff-head); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.shr__links a:hover { background: rgba(255, 255, 255, .06); border-color: var(--c, var(--accent)); }
.shr__copy { display: flex; }
.shr__copy input { flex: 1; min-width: 0; padding: 14px 14px; border: 1px solid var(--line); border-right: 0; background: #0a0a0a; color: var(--grey); font: inherit; font-size: .82rem; }
.shr__copy button { padding: 0 22px; border: 0; background: var(--accent); color: #0a0a0a; cursor: pointer; font: 600 .62rem/1 var(--ff-head); letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 420px) { .shr__links { grid-template-columns: repeat(3, 1fr); } }
.pd__share-btn--hero { margin: 26px 0 0; }

/* ---------- 24.1c Hero flipbook (project pages) ----------
   Leaves are hinged on the spine (the book's centre line); .is-flipped turns one over to the left.
   main.js (initFlipbook) sets .is-flipped / z-index and slides the book so a closed cover or back sits centred. */
.phero__inner--book { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(36px, 5vw, 56px); align-items: center; }
.phero__copy { min-width: 0; }
@media (min-width: 1024px) {
    .phero__inner--book { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 4vw, 72px); }
    .phero__inner--book .phero__title { max-width: 14ch; font-size: clamp(2.1rem, 3.6vw, 4rem); }
}
.fb { position: relative; width: 100%; max-width: min(640px, calc((100vh - 330px) * 1.5)); min-width: 280px; margin: 0 auto; outline: 0; perspective: 2400px; }
.fb__book {
    position: relative; width: 100%; aspect-ratio: 3 / 2; transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(.5, .05, .2, 1); transform: translateX(-25%);
}
.fb[data-pos="mid"] .fb__book { transform: translateX(0); }
.fb[data-pos="end"] .fb__book { transform: translateX(25%); }
.fb:focus-visible .fb__book { outline: 1px solid var(--accent); outline-offset: 12px; }
.fb__leaf {
    position: absolute; top: 0; left: 50%; width: 50%; height: 100%; transform-origin: 0 50%; transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(.5, .05, .2, 1); cursor: pointer;
}
.fb__leaf.is-flipped { transform: rotateY(-180deg); }
.fb__face {
    position: absolute; inset: 0; overflow: hidden; background: #151515; backface-visibility: hidden; -webkit-backface-visibility: hidden;
    box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .85);
}
.fb__face--back { transform: rotateY(180deg); }
.fb__face img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
/* soft shading toward the spine so each page reads as curved paper */
.fb__face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.fb__face--front::after { background: linear-gradient(90deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 14%); }
.fb__face--back::after { background: linear-gradient(270deg, rgba(0, 0, 0, .5), rgba(0, 0, 0, 0) 14%); }
.fb__cap {
    position: absolute; inset: auto 0 0; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 38px 7% 7%;
    background: linear-gradient(0deg, rgba(10, 10, 10, .92), rgba(10, 10, 10, 0));
}
.fb__cap em, .fb__page em { font: 500 .56rem/1.4 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; font-style: normal; color: var(--accent); }
.fb__cap > * { flex-shrink: 0; }
.fb__cap em { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fb__cap strong { font: 300 clamp(1.05rem, 2vw, 1.7rem)/1.15 var(--ff-head); letter-spacing: .06em; }
.fb__cap small { font: 400 .54rem/1.4 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: #aaa; }
.fb__no { position: absolute; right: 7%; bottom: 5%; z-index: 1; font: 400 .6rem/1 var(--ff-head); letter-spacing: .2em; color: rgba(255, 255, 255, .8); text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }
.fb__face--back .fb__no { right: auto; left: 7%; }
.fb__page { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 9%; background: #111; }
.fb__page strong { font: 300 clamp(1.1rem, 2vw, 1.7rem)/1.2 var(--ff-head); letter-spacing: .06em; }
.fb__page dl { display: grid; gap: 12px; margin: 0; }
.fb__page dl > div { display: flex; flex-direction: column-reverse; gap: 3px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.fb__page dt { font: 400 .5rem/1.4 var(--ff-head); letter-spacing: .24em; text-transform: uppercase; color: #8f8f8f; }
.fb__page dd { margin: 0; font: 300 clamp(.8rem, 1.3vw, 1.05rem)/1.25 var(--ff-head); letter-spacing: .05em; }
.fb__page--end { align-items: flex-start; }
.fb__bar { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: clamp(22px, 3vw, 34px); }
.fb__btn {
    display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid var(--line); background: rgba(10, 10, 10, .5);
    color: var(--text); cursor: pointer; backdrop-filter: blur(6px); transition: border-color .3s, color .3s, opacity .3s;
}
.fb__btn svg { width: 22px; height: 11px; }
.fb__btn:hover:not(:disabled), .fb__btn:focus-visible { border-color: var(--accent); color: var(--accent); }
.fb__btn:disabled { opacity: .3; cursor: default; }
.fb__count { min-width: 8.5em; text-align: center; font: 500 .58rem/1 var(--ff-head); letter-spacing: .26em; text-transform: uppercase; color: var(--grey); }
@media (max-width: 639px) { .fb__cap { padding: 22px 8% 8%; } .fb__cap small { display: none; } .fb__page { padding: 8%; gap: 8px; } .fb__page dl { gap: 7px; } }
@media (prefers-reduced-motion: reduce) { .fb__book, .fb__leaf { transition-duration: .01s; } }

/* Philosophy: single scene photo (portrait + studio model, right side) — copy sits on the dark left, as in the design mock-up */
.phil--scene { padding-block: clamp(90px, 10vw, 150px); }
.phil--scene .phil__bg { z-index: -3; inset: auto 0 0 auto; width: 100%; height: auto; max-height: none; object-fit: cover; object-position: 60% 20%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(0deg, transparent 0, #000 6%); mask-image: linear-gradient(90deg, transparent 0, #000 16%); }
.phil--scene .phil__shade { background: linear-gradient(90deg, #0a0a0a 0, rgba(10, 10, 10, .9) 30%, rgba(10, 10, 10, .25) 58%, rgba(10, 10, 10, 0) 80%), linear-gradient(180deg, #0a0a0a 0, transparent 12%), linear-gradient(0deg, #0a0a0a 0, transparent 10%); }
.phil--scene .phil__inner { min-height: 0; }
.phil--scene .phil__copy { padding-bottom: 0; }
@media (max-width: 899px) {
    .phil--scene .phil__bg { position: relative; display: block; margin-top: 34px; height: 420px; object-position: 62% 18%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%); mask-image: linear-gradient(180deg, transparent 0, #000 22%); }
    .phil--scene .phil__shade { background: linear-gradient(180deg, #0a0a0a 0, transparent 14%); }
    .phil--scene { padding-bottom: 0; display: flex; flex-direction: column; }
    .phil--scene .phil__bg { order: 2; }
}
@media (min-width: 900px) {
    .phil--scene { min-height: min(100vh, 900px); display: flex; align-items: center; }
    .phil--scene .phil__bg { position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: auto; max-width: none; height: 100%; aspect-ratio: 910 / 805; object-fit: cover; object-position: right center; }
    .phil--scene .phil__inner { width: 100%; grid-template-columns: minmax(0, 1fr); }
    .phil--scene .phil__copy { max-width: 40rem; }
}@media (min-width: 900px) {
    .phil--scene .phil__title { font-size: clamp(2rem, 3.3vw, 3.5rem); }
    .phil--scene .phil__title span { white-space: nowrap; }
    .phil--scene .phil__copy { max-width: 42rem; }
}
/* Philosophy scene: sit the photo further right so it never runs under the copy */
@media (min-width: 900px) {
    .phil--scene .phil__bg {
        top: auto; bottom: 0; right: 0; width: 54vw; max-width: 980px; height: auto; aspect-ratio: 910 / 805; object-position: right bottom;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, transparent 0, #000 14%); -webkit-mask-composite: source-in;
        mask-image: linear-gradient(90deg, transparent 0, #000 18%), linear-gradient(180deg, transparent 0, #000 14%); mask-composite: intersect;
    }
}
@media (min-width: 900px) and (max-width: 1439px) { .phil--scene .phil__bg { width: 48vw; } .phil--scene .phil__copy { max-width: 34rem; } }

/* ---------- Responsive safety: grid / flex children may shrink below their content width ---------- */
.contact__grid > *, .qf, .ff, .ff--file label { min-width: 0; max-width: 100%; }
.ff--file label { overflow: hidden; }

/* ---------- Auto-rotate: orientation-specific layout ---------- */
/* Mobile Portrait */
@media screen and (orientation: portrait) {
    .container {
        width: 100%;
    }
}

/* Mobile Landscape */
@media screen and (orientation: landscape) {
    .container {
        width: 100%;
    }
}
