/* 1011.ma — site stylesheet (no build step, cache-busted with filemtime).
   Direction (BRIEF.md): binary, switched-on, night signage. Brand only: black, white, orange, red.
   Rules: one fluid type scale, body 14-15px, rectangle buttons, no cream, no tinted pills, no left borders, no gradients. */

/* ---------- 1. Tokens ---------- */
:root {
    --black: #050505;
    --black-2: #0e0e0e;
    --black-3: #161616;
    --white: #ffffff;
    --band: #f2f3f5;
    --ink: #0b0b0b;
    --ink-2: #3c4043;
    --mute: #5f6368;
    --mute-d: #9a9a9a;
    --line: #e3e5e8;
    --line-d: #262626;
    --line-ui: #7b8087;   /* borders that identify a control: 3.98:1 on white, 3.58:1 on band (WCAG 1.4.11) */
    --orange: #f2622e;
    --red: #e3262b;
    --red-d: #c41e23;     /* small red text on band / light grey grounds: 5.32:1 (#e3262b is 4.13 there) */

    --f-brand: Montserrat, system-ui, -apple-system, "Segoe UI", sans-serif;
    --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

    /* Owner scale (2026-10-13): body 14-15px, titles not hero-sized, everything relative to the screen. */
    --fs-xs: clamp(0.6875rem, 0.66rem + 0.12vw, 0.75rem);
    --fs-sm: clamp(0.75rem, 0.72rem + 0.15vw, 0.8125rem);
    --fs-base: clamp(0.875rem, 0.85rem + 0.12vw, 0.9375rem);
    --fs-md: clamp(0.9375rem, 0.9rem + 0.2vw, 1.0625rem);
    --fs-lg: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
    --fs-xl: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
    --fs-2xl: clamp(1.3125rem, 1.1rem + 1vw, 1.75rem);
    --fs-3xl: clamp(1.625rem, 1.25rem + 1.8vw, 2.375rem);
    --fs-4xl: clamp(2rem, 1.4rem + 3vw, 3.25rem);
    --fs-word: clamp(5.5rem, 3rem + 13vw, 15rem);

    --gutter: clamp(1.25rem, 5vw, 5rem);
    --section: clamp(3.5rem, 8vw, 7rem);
    --max: 1280px;
    --header-h: 76px;
    --radius: 10px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
    margin: 0;
    background: var(--white);
    color: var(--ink);
    font-family: var(--f-brand);
    font-size: var(--fs-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -60px; z-index: 100; background: var(--orange); color: var(--black); padding: .6rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.section { padding-block: var(--section); }
.section--band { background: var(--band); }
.section--dark { background: var(--black); color: var(--white); }
.muted { color: var(--mute); }

/* ---------- 3. Type ---------- */
.kicker { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.kicker a { text-decoration: none; }
.kicker a:hover { color: var(--ink); }
.display { font-weight: 800; text-transform: uppercase; font-size: var(--fs-3xl); line-height: 1.04; letter-spacing: -.01em; max-width: 19ch; }
.h1 { font-weight: 800; text-transform: uppercase; font-size: var(--fs-4xl); line-height: 1.02; letter-spacing: -.01em; max-width: 20ch; }
.h2 { font-weight: 800; text-transform: uppercase; font-size: var(--fs-3xl); line-height: 1.05; letter-spacing: -.005em; max-width: 22ch; }
.h3 { font-weight: 800; font-size: var(--fs-xl); line-height: 1.2; }
.lede { font-size: var(--fs-md); color: var(--mute); max-width: 60ch; }
.section--dark .lede { color: #bdbdbd; }
.section--dark .kicker, .hero .kicker { color: var(--orange); }
.section-head { display: grid; gap: .7rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
.price-tag { font-family: var(--f-mono); font-size: var(--fs-sm); color: var(--orange); margin-top: 1rem; }

/* Words rising one by one (Piano Menara). site.js wraps words; without JS the title is plain. */
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.split .w > span { display: inline-block; transform: translateY(105%); transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 55ms); }
.split.is-in .w > span { transform: none; }
.split.is-done .w > span { transform: none; transition: none; }

/* ---------- 4. Buttons (rectangles; filled empties on hover, outline fills) ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
    padding: .9rem 1.25rem; border: 1px solid transparent; border-radius: 4px;
    font: 700 var(--fs-sm) var(--f-brand); text-transform: uppercase; letter-spacing: .06em;
    text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s;
    white-space: nowrap;
}
.btn--sm { padding: .62rem .95rem; font-size: var(--fs-xs); }
.btn--accent { background: var(--orange); border-color: var(--orange); color: var(--black); }
/* Hover / focus keeps the contrast: black fill, orange text (6.37:1), never orange text on white (3.20). */
.btn--accent:hover, .btn--accent:focus-visible { background: var(--black); border-color: var(--orange); color: var(--orange); }
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--ink:hover, .btn--ink:focus-visible { background: transparent; color: var(--ink); }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--ink); color: var(--white); }
.btn--ghost-light { background: transparent; border-color: #5a5a5a; color: var(--white); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { background: var(--white); border-color: var(--white); color: var(--black); }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: var(--fs-sm); text-decoration: none; }
.link-arrow .ico { transition: transform .2s var(--ease); }
.link-arrow:hover .ico { transform: translateX(4px); }

/* ---------- 5. Header (Scan&Gagne: floating black bar once scrolled) ---------- */
.site-header { position: fixed; inset-inline: 0; top: 0; z-index: 50; color: var(--white); transition: padding .25s var(--ease); }
.header-row { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.25rem); min-height: var(--header-h); transition: all .25s var(--ease); }
.site-header.is-stuck { padding-top: 10px; }
.site-header.is-stuck .header-row {
    min-height: 60px; background: rgba(5, 5, 5, .95); border: 1px solid #1d1d1d; border-radius: var(--radius);
    max-width: calc(var(--max) - 2 * var(--gutter) + 2rem); padding-inline: 1.1rem;
}
.wordmark { font-weight: 900; letter-spacing: -.07em; font-size: var(--fs-2xl); line-height: 1; text-decoration: none; color: inherit; font-family: Montserrat, sans-serif; }
.wordmark--lg { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); }
.logo { display: block; height: .82em; width: auto; }
.wordmark { display: inline-flex; align-items: center; color: var(--white); }
.wordmark .logo { height: clamp(22px, 1.3rem + .5vw, 30px); }
.wordmark--lg .logo { height: clamp(40px, 2rem + 2vw, 58px); }
.logo--split .d { transition: fill .3s; }
.logo--split .d.hot { fill: var(--orange); }

.main-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.75rem); margin-inline-start: auto; }
.nav-list { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.75rem); list-style: none; margin: 0; padding: 0; }
.nav-list > li > a, .nav-btn {
    display: inline-flex; align-items: center; gap: .3rem; padding: .4rem 0; background: none; border: 0; border-bottom: 1px solid transparent;
    color: #d6d6d6; font: 600 var(--fs-sm) var(--f-brand); text-decoration: none; cursor: pointer;
}
.nav-list > li > a:hover, .nav-btn:hover, .nav-list .is-current, .nav-btn[aria-expanded="true"] { color: var(--white); border-bottom-color: var(--orange); }
.nav-chev { transition: transform .2s var(--ease); }
.nav-btn[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }

/* Services panel: every service with its icon and one line. No group labels (owner rule). */
.services-panel {
    position: absolute; inset-inline: 0; top: 100%; padding-top: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
.has-panel.is-open .services-panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.services-panel__in { background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); }
.svc-menu { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.svc-menu a { position: relative; display: flex; gap: .8rem; align-items: flex-start; padding: .9rem .9rem 1rem; border-radius: 6px; text-decoration: none; transition: background .15s; }
.svc-menu a:hover, .svc-menu a:focus-visible, .svc-menu a.is-current { background: var(--band); }
.svc-menu__ico { color: var(--red); flex: none; margin-top: 2px; }
.svc-menu__txt { display: grid; gap: .2rem; min-width: 0; }
.svc-menu__txt strong { font-size: var(--fs-sm); font-weight: 800; }
.svc-menu__txt small { font-size: var(--fs-xs); color: var(--mute); line-height: 1.4; }
.svc-menu__bit { position: absolute; top: .7rem; inset-inline-end: .8rem; font: 500 var(--fs-xs) var(--f-mono); color: #b9bcc1; }
.services-panel__foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); margin-top: .8rem; padding: .9rem .9rem .2rem; }
.services-panel__reply { font: 500 var(--fs-xs) var(--f-mono); color: var(--mute); }

.lang-menu { position: relative; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: .4rem; cursor: pointer; font: 500 var(--fs-xs) var(--f-mono); color: #d6d6d6; padding: .4rem 0; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary { color: var(--white); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 10px); list-style: none; margin: 0; padding: .4rem; background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; min-width: 170px; box-shadow: 0 18px 40px rgba(0, 0, 0, .2); }
.lang-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; border-radius: 5px; text-decoration: none; font-size: var(--fs-sm); }
.lang-list a:hover, .lang-list a[aria-current] { background: var(--band); }
.lang-short { font: 500 var(--fs-xs) var(--f-mono); color: var(--mute); width: 1.8em; }

.header-tools { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }
.main-nav + .header-tools { margin-inline-start: 0; }
.tool { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #333; border-radius: 4px; color: var(--white); text-decoration: none; transition: border-color .2s, background .2s; }
.tool:hover { border-color: var(--white); }
.menu-toggle { display: none; width: 42px; height: 42px; background: none; border: 1px solid #333; border-radius: 4px; color: var(--white); cursor: pointer; place-items: center; }
.menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 1.6px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-bars { position: relative; }
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; inset-inline-start: 0; }
.menu-bars::before { top: -6px; }
.menu-bars::after { top: 6px; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Tooltips for icon-only links (owner rule: icon, label on hover). */
[data-tip] { position: relative; }
[data-tip]::after {
    content: attr(data-tip); position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 5;
    background: var(--white); color: var(--black); font: 700 var(--fs-xs) var(--f-brand); white-space: nowrap;
    padding: .3rem .55rem; border-radius: 3px; opacity: 0; pointer-events: none; transition: opacity .15s;
}
[data-tip]:hover::after, [data-tip]:focus-visible::after { opacity: 1; }

/* ---------- 6. Hero (home) ---------- */
.hero { position: relative; background: var(--black); color: var(--white); overflow: hidden; min-height: clamp(620px, 94vh, 920px); display: flex; }
.hero__bin { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__vignette { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 65% 45%, rgba(5, 5, 5, .1) 0%, rgba(5, 5, 5, .78) 68%, #050505 100%); }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); padding-bottom: clamp(3rem, 7vw, 5.5rem); }
.hero__copy { display: grid; gap: 1.2rem; max-width: 640px; }
.hero__lede { font-size: var(--fs-md); color: #c7c7c7; max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .4rem; }
.hero__assure { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; list-style: none; margin: .2rem 0 0; padding: 0; font-size: var(--fs-sm); color: #a8a8a8; }
.hero__assure li { display: inline-flex; align-items: center; gap: .4rem; }
.hero__assure .ico { color: var(--orange); }
.hero__mark { justify-self: end; text-align: end; }
.hero__word { direction: ltr; unicode-bidi: isolate; font-weight: 900; color: var(--white); letter-spacing: -.075em; line-height: .78; font-size: var(--fs-word); margin: 0; font-family: Montserrat, sans-serif; }
.hero__word .logo { height: auto; width: clamp(15rem, 10rem + 18vw, 30rem); }
.hero__word i.hot { color: var(--orange); }
.hero__tag { font-weight: 800; text-transform: uppercase; font-size: var(--fs-lg); line-height: 1.12; margin-top: 1.1rem; font-family: Montserrat, sans-serif; }
.hero__tag b { color: var(--orange); }

/* ---------- 7. Page head (inner pages) ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(2.5rem, 7vw, 5rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
/* Owner 14/10: no full dark mode. Inner page heads are light; black stays for the home hero, statement and footer. */
.page-head--dark { background: var(--band); color: var(--ink); border-bottom: 1px solid var(--line); }
.page-head .container { display: grid; gap: .9rem; }

/* ---------- 8. Services bento (Scan&Gagne + Marvra ↗) ---------- */
.bento { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(.7rem, 1.4vw, 1rem); }
.bento__tile {
    position: relative; display: flex; flex-direction: column; gap: 1.6rem; min-height: 210px;
    padding: clamp(1.1rem, 2vw, 1.5rem); padding-inline-end: 4rem;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    text-decoration: none; color: var(--ink); transition: border-color .2s, background .2s;
}
.bento__tile--lg { grid-column: span 2; background: var(--black); color: var(--white); border-color: var(--black); min-height: 260px; }
.bento__tile:hover { border-color: var(--ink); }
.bento__tile--cta { grid-column: span 2; background: var(--orange); border-color: var(--orange); color: var(--black); min-height: 0; }
.bento__tile--cta .bento__body span { color: rgba(5, 5, 5, .75); }
.bento__tile--cta .bento__disc { border-color: rgba(5, 5, 5, .25); }
.bento__tile--cta:hover { border-color: var(--black); }
.bento__tile--cta:hover .bento__disc { background: var(--black); border-color: var(--black); color: var(--orange); }
.bento__tile--lg:hover { border-color: var(--orange); }
.bento__top { display: flex; justify-content: space-between; align-items: flex-start; }
.bento__ico { color: var(--red); }
.bento__tile--lg .bento__ico { color: var(--orange); }
.bento__bit { font: 500 var(--fs-xl) var(--f-mono); color: #c4c7cc; position: absolute; top: clamp(1.1rem, 2vw, 1.5rem); inset-inline-end: clamp(1.1rem, 2vw, 1.5rem); }
.bento__tile--lg .bento__bit { color: #3a3a3a; }
.bento__body { display: grid; gap: .45rem; margin-top: auto; }
.bento__body strong { font-size: var(--fs-lg); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.bento__tile--lg .bento__body strong { font-size: var(--fs-2xl); }
.bento__body span { color: var(--mute); font-size: var(--fs-sm); max-width: 46ch; }
.bento__tile--lg .bento__body span { color: #b5b5b5; font-size: var(--fs-base); }
.bento__price { font-style: normal; font: 500 var(--fs-xs) var(--f-mono); color: var(--red); }
.bento__tile--lg .bento__price { color: var(--orange); }
.bento__disc {
    position: absolute; bottom: clamp(1.1rem, 2vw, 1.5rem); inset-inline-end: clamp(1.1rem, 2vw, 1.5rem);
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    border: 1px solid var(--line); transition: transform .3s var(--ease), background .2s, color .2s, border-color .2s;
}
.bento__tile--lg .bento__disc { border-color: #333; }
.bento__tile:hover .bento__disc { transform: rotate(45deg); background: var(--orange); border-color: var(--orange); color: var(--black); }

/* ---------- 9. Footer ---------- */
.site-footer { background: var(--black); color: #cfcfcf; padding-top: clamp(3.5rem, 7vw, 5.5rem); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 4fr) repeat(3, minmax(0, 2.4fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.footer-brand { display: grid; gap: 1rem; align-content: start; }
.footer-brand .wordmark { color: var(--white); }
.footer-brand p { font-size: var(--fs-sm); max-width: 34ch; color: var(--mute-d); }
.footer-icons { display: flex; gap: .5rem; }
.round-ico { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #2c2c2c; display: grid; place-items: center; color: var(--white); text-decoration: none; transition: border-color .2s, background .2s, color .2s; }
.round-ico:hover { background: var(--orange); border-color: var(--orange); color: var(--black); }
.footer-icons [data-tip]::after { top: auto; bottom: calc(100% + 8px); inset-inline-start: 0; inset-inline-end: auto; }
.footer-title { font: 500 var(--fs-xs) var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer-links a { text-decoration: none; color: #cfcfcf; }
.footer-links a:hover { color: var(--white); }
.footer-reply { font: 500 var(--fs-xs) var(--f-mono); color: var(--mute-d); }
.footer-cities { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: clamp(2rem, 4vw, 3rem); font-size: var(--fs-xs); }
.footer-cities a { color: #7a7a7a; text-decoration: none; }
.footer-cities a:hover { color: var(--white); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 2rem; border-top: 1px solid #1c1c1c; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-block: 1.2rem; font-size: var(--fs-xs); color: var(--mute-d); }
.footer-legal .pending { color: var(--orange); }
.footer-legal__links { display: flex; gap: 1.2rem; }
.footer-legal__links a { text-decoration: none; }
.footer-legal__links a:hover { color: var(--white); }
.footer-motion { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.footer-motion:hover { color: var(--white); }
.footer-motion[aria-pressed="true"] { color: var(--orange); }
.footer-watermark { margin: .4rem 0 0; font-weight: 900; text-transform: uppercase; font-size: clamp(3rem, 1rem + 9vw, 9rem); line-height: .82; letter-spacing: -.04em; color: #131313; white-space: nowrap; user-select: none; overflow: hidden; }
.wm-track { display: inline-flex; gap: 4rem; animation: wm 60s linear infinite; padding-inline-end: 4rem; }
@keyframes wm { to { transform: translateX(-50%); } }

/* ---------- 10. Contact dock, mobile bar, consent ---------- */
.fab-dock { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); inset-inline-end: 18px; z-index: 40; }
.fab { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--black); box-shadow: 0 10px 30px rgba(0, 0, 0, .3); text-decoration: none; transition: transform .2s var(--ease); }
.fab:hover { transform: scale(1.06); }
.fab[data-tip]::after { top: 50%; bottom: auto; inset-inline-end: calc(100% + 10px); transform: translateY(-50%); background: var(--black); color: var(--white); }
.mobile-bar { display: none; }
.consent {
    position: fixed; inset-inline-start: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 60; max-width: 420px;
    background: var(--white); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.1rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
    display: grid; gap: .8rem; font-size: var(--fs-sm);
}
.consent__btns { display: flex; gap: .5rem; justify-content: flex-end; }

/* ---------- 11. Reveal (visible at rest; site.js arms it, 4 s failsafe) ---------- */
.can-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.can-reveal .reveal.is-in { opacity: 1; transform: none; }

/* View transitions between pages (Piano Menara): the header stays, the page fades. */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out .18s ease-in both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
html.is-still::view-transition-old(root), html.is-still::view-transition-new(root) { animation: none; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- 12. Responsive ---------- */
@media (max-width: 1100px) {
    .svc-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 980px) {
    :root { --header-h: 66px; }
    .menu-toggle { display: grid; }
    .main-nav + .header-tools { margin-inline-start: auto; }
    .header-cta { display: none; }
    .main-nav {
        position: fixed; inset: 0; z-index: -1; background: var(--black); flex-direction: column; align-items: stretch; gap: 1.5rem;
        padding: calc(var(--header-h) + 1.5rem) var(--gutter) calc(6rem + env(safe-area-inset-bottom, 0px)); overflow-y: auto;
        opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s;
    }
    .menu-open .main-nav { opacity: 1; visibility: visible; transition-delay: 0s; }
    .menu-open { overflow: hidden; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-list > li { border-bottom: 1px solid var(--line-d); }
    .nav-list > li > a, .nav-btn { width: 100%; justify-content: space-between; padding: 1rem 0; font-size: var(--fs-lg); font-weight: 700; border: 0; color: var(--white); }
    .services-panel { position: static; padding: 0 0 1rem; opacity: 1; visibility: visible; transform: none; display: none; }
    .has-panel.is-open .services-panel { display: block; }
    .services-panel__in { background: transparent; border: 0; box-shadow: none; padding: 0; color: var(--white); }
    .svc-menu { grid-template-columns: minmax(0, 1fr); }
    .svc-menu a:hover, .svc-menu a.is-current { background: var(--black-3); }
    .svc-menu__txt small { color: var(--mute-d); }
    .services-panel__foot { border-color: var(--line-d); }
    .services-panel__reply { display: none; }
    .lang-menu { align-self: flex-start; }
    .lang-list { inset-inline-end: auto; inset-inline-start: 0; }
    .site-header.is-stuck .header-row { max-width: none; }
    .hero__in { grid-template-columns: minmax(0, 1fr); align-items: start; }
    .hero__mark { justify-self: start; text-align: start; order: -1; }
    .hero__word .logo { width: clamp(11rem, 6rem + 30vw, 18rem); }
    .hero__tag { display: none; }
    .fab-dock { display: none; }
    .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
        padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); gap: 8px; background: rgba(5, 5, 5, .96); border-top: 1px solid #1d1d1d;
    }
    .mobile-bar a { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem; border-radius: 4px; font: 700 var(--fs-sm) var(--f-brand); text-decoration: none; }
    .mobile-bar__call { border: 1px solid #3a3a3a; color: var(--white); }
    .mobile-bar__main { background: var(--orange); color: var(--black); }
    .site-footer { padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px)); }
    .consent { inset-inline: 12px; bottom: calc(78px + env(safe-area-inset-bottom, 0px)); max-width: none; }
    /* WCAG 2.4.11: an element reached with Tab never ends up under the fixed bottom bar (about 63px + safe area). */
    html { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
    .bento { grid-template-columns: minmax(0, 1fr); }
    .bento__tile--lg, .bento__tile--cta { grid-column: auto; }
    .footer-grid { grid-template-columns: minmax(0, 1fr); }
    .header-tools .tool { display: none; }
}

/* ---------- 13. RTL (Arabic) ---------- */
[dir="rtl"] body { font-family: Cairo, var(--f-brand); }
/* JetBrains Mono has no Arabic: without Cairo next in the stack, Arabic captions fell back to Courier New.
   Latin digits and codes keep the mono face. Small captions are 13px minimum in Arabic. */
[dir="rtl"] {
    --f-mono: "JetBrains Mono", Cairo, ui-monospace, monospace;
    --fs-xs: clamp(0.8125rem, 0.8rem + 0.1vw, 0.875rem);
    --fs-sm: clamp(0.8125rem, 0.79rem + 0.15vw, 0.875rem);
}
/* Letter-spacing pulls Arabic letters apart and breaks their joins: none anywhere in Arabic. Important because the
   tracked captions are spread over several files with selectors of every weight. */
[dir="rtl"] body * { letter-spacing: 0 !important; }
[dir="rtl"] .display, [dir="rtl"] .h1, [dir="rtl"] .h2, [dir="rtl"] .kicker, [dir="rtl"] .btn { letter-spacing: 0; text-transform: none; }
/* Kickers in Arabic: the monospace font gave its wide spaces to Arabic words. */
[dir="rtl"] .kicker { font-family: Cairo, var(--f-brand); }
[dir="rtl"] .display, [dir="rtl"] .h1 { line-height: 1.25; }
[dir="rtl"] .ico-flip, [dir="rtl"] .link-arrow .ico, [dir="rtl"] .btn .ico[data-dir], [dir="rtl"] .bento__disc .ico { transform: scaleX(-1); }
[dir="rtl"] .bento__tile:hover .bento__disc { transform: rotate(-45deg); }
[dir="rtl"] .wm-track { animation-direction: reverse; }
[dir="rtl"] .link-arrow:hover .ico { transform: scaleX(-1) translateX(4px); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
    .split .w > span { transform: none; }
    .wm-track { animation: none; }
    ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
    .footer-motion { display: none; }
}
/* Footer "pause animations" (html.is-still, site.js): every CSS loop stops where it is. */
.is-still *, .is-still *::before, .is-still *::after { animation-play-state: paused !important; }

/* Small red captions and the focus ring on grey bands: the brand red and orange are below 4.5:1 / 3:1 there. */
.section--band .kicker, .svc-hero .kicker, .page-head--dark .kicker { color: var(--red-d); }
.section--band :focus-visible, .svc-hero :focus-visible, .page-head--dark :focus-visible { outline-color: var(--ink); }

/* ---------- Header on light pages (everything except the home hero) ---------- */
body:not(.is-dark-top) .site-header:not(.is-stuck) { color: var(--ink); }
body:not(.is-dark-top) .site-header:not(.is-stuck) .wordmark { color: var(--ink); }
body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-list > li > a,
body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-btn,
body:not(.is-dark-top) .site-header:not(.is-stuck) .lang-menu summary { color: var(--ink-2); }
body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-list > li > a:hover,
body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-btn:hover,
body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-list .is-current { color: var(--ink); }
body:not(.is-dark-top) .site-header:not(.is-stuck) .tool,
body:not(.is-dark-top) .site-header:not(.is-stuck) .menu-toggle { color: var(--ink); border-color: #d0d3d8; }
@media (max-width: 980px) {
    /* The open mobile menu is black: its links stay white whatever the page. */
    body.menu-open .site-header .nav-list > li > a, body.menu-open .site-header .nav-btn,
    body.menu-open .site-header .lang-menu summary { color: var(--white) !important; }
    body.menu-open .site-header .wordmark, body.menu-open .site-header .menu-toggle { color: var(--white) !important; border-color: #333 !important; }
}

/* Service navigation: the two binary columns lead into a real project preview. */
.services-panel__body { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(240px, 1fr); gap: 1.4rem; }
.svc-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; }
.svc-menu a { height: 100%; border-radius: 0; padding-inline-end: 1.5rem; }
.svc-menu__txt strong { padding-inline-end: .4rem; }
.svc-menu__bit { color: var(--orange); }
.menu-preview { display: grid; border-inline-start: 1px solid var(--line); padding-inline-start: 1.4rem; }
.menu-preview__card { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 150ms ease-out, visibility 0s 150ms; font-size: var(--fs-xs); }
.menu-preview__card.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.menu-preview__card[hidden] { display: none; }
.menu-preview img, .mobile-featured img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.menu-preview__name { display: flex; flex-wrap: wrap; gap: .5rem; align-items: baseline; font-size: var(--fs-sm); font-weight: 800; margin-block: .65rem .3rem; }
.menu-preview__name small { font-size: var(--fs-xs); color: var(--mute); font-weight: 400; }
.menu-preview__case { display: block; margin-block: .5rem; }
.menu-preview .link-arrow { margin-top: .6rem; }
.menu-contact { display: flex; gap: .5rem; }
.services-panel__foot .tool { color: var(--ink); border-color: var(--line); }
.mobile-menu-actions, .mobile-featured { display: none; }
@media (max-width: 980px) {
    .main-nav { gap: 1rem; }
    .nav-list > li > a, .nav-btn { padding-block: .75rem; font-size: var(--fs-md); }
    .has-panel > .nav-btn { display: none; }
    .services-panel, .has-panel.is-open .services-panel { display: block; padding-block: .5rem; }
    .services-panel__body { display: block; }
    .svc-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(4, auto); grid-auto-flow: column; gap: .25rem; }
    .svc-menu a { padding: .7rem .6rem; gap: .5rem; align-items: center; }
    .svc-menu__txt strong { font-size: .74rem; }
    .svc-menu__txt small, .svc-menu__bit, .services-panel__foot, .menu-preview { display: none; }
    .svc-menu__ico .ico { width: 18px; height: 18px; }
    .mobile-menu-actions { display: grid; gap: .85rem; }
    .mobile-menu-actions .btn { width: 100%; justify-content: center; }
    .mobile-menu-actions .menu-contact { justify-content: center; }
    .mobile-featured { display: grid; gap: .5rem; text-decoration: none; font-size: var(--fs-xs); color: var(--white); margin-top: .5rem; }
    .mobile-featured img { aspect-ratio: 2 / 1; border-color: var(--line-d); }
    .mobile-featured strong { font-size: var(--fs-sm); }
    body:not(.menu-open) .main-nav * { visibility: hidden !important; }
    .menu-open .header-tools > .tool { display: none; }
    .menu-open .main-nav { padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .menu-preview__card { transition: none; } }

@media (min-width: 981px) { .has-panel:not(.is-open) .menu-preview__card { visibility: hidden; } }

/* ---------- Capsule menu (Bricks.co reference, 2026-10-17) ----------
   Desktop only: links, the white CTA pill (the only bright element), then darker pills for language and WhatsApp,
   all in one rounded bar. No position / blur on the capsule: the Services panel keeps the full header width. */
@media (min-width: 981px) {
    .nav-capsule {
        display: flex; align-items: center; gap: 4px; margin-inline-start: auto; padding: 5px;
        border-radius: 999px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .14);
    }
    .nav-capsule .main-nav { margin-inline-start: 0; gap: 4px; }
    .nav-capsule .nav-list { gap: 2px; }
    /* Every pill is 40px tall, like the reference. */
    .nav-capsule .nav-list > li > a, .nav-capsule .nav-btn, .nav-capsule .lang-menu summary, .nav-capsule .header-cta { min-height: 40px; box-sizing: border-box; align-items: center; }
    .nav-capsule .header-cta { padding-block: 0; }
    .nav-capsule .nav-list > li > a, .nav-capsule .nav-btn {
        padding: 0 1rem; border: 0; border-radius: 999px; color: #e7e8ea; font-weight: 600; transition: background .15s, color .15s;
    }
    .nav-capsule .nav-list > li > a:hover, .nav-capsule .nav-btn:hover, .nav-capsule .nav-btn[aria-expanded="true"] { background: rgba(255, 255, 255, .1); color: var(--white); }
    .nav-capsule .nav-list .is-current { background: rgba(255, 255, 255, .14); color: var(--white); }
    .nav-capsule .lang-menu summary {
        padding: 0 .85rem; border-radius: 999px; background: rgba(255, 255, 255, .12); color: var(--white); font: 600 var(--fs-xs) var(--f-brand);
    }
    .nav-capsule .lang-menu summary:hover, .nav-capsule .lang-menu[open] summary { background: rgba(255, 255, 255, .2); }
    .nav-capsule .header-tools { gap: 4px; margin-inline-start: 0; }
    .nav-capsule .header-cta {
        order: 1; padding: .66rem 1.15rem; border-radius: 999px; background: var(--white); border-color: var(--white); color: var(--black);
        text-transform: none; letter-spacing: 0; font-size: var(--fs-sm);
    }
    .nav-capsule .header-cta:hover, .nav-capsule .header-cta:focus-visible { background: var(--orange); border-color: var(--orange); color: var(--black); }
    .nav-capsule .header-tools .tool { order: 2; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); }
    .nav-capsule .header-tools .tool:hover { background: rgba(255, 255, 255, .22); }

    /* Light pages: the capsule turns solid dark so the bar keeps the same look on white. */
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule { background: #121417; border-color: #121417; box-shadow: 0 10px 30px rgba(11, 11, 11, .12); }
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .nav-list > li > a,
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .nav-btn { color: #e7e8ea; }
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .nav-list .is-current,
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .nav-list > li > a:hover,
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .nav-btn:hover { color: var(--white); }
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .lang-menu summary,
    body:not(.is-dark-top) .site-header:not(.is-stuck) .nav-capsule .tool { color: var(--white); }

    /* Scrolled: the header bar disappears, the logo and the capsule float on their own. */
    .site-header.is-stuck .header-row { background: transparent; border-color: transparent; }
    .site-header.is-stuck .nav-capsule { background: rgba(18, 20, 23, .94); border-color: rgba(255, 255, 255, .1); box-shadow: 0 14px 34px rgba(0, 0, 0, .25); }
    /* Scrolled: no background behind the logo; site.js reads what is under it and picks white or black. */
    .site-header.is-stuck .wordmark { color: var(--white); transition: color .25s var(--ease); }
    .site-header.is-stuck.is-on-light .wordmark { color: var(--ink); }
}
@media (max-width: 980px) { .nav-capsule { display: contents; } }
