/* ==========================================================================
   RKS MODELER — Main stylesheet
   Design tokens, base styles and components.
   Breakpoints live in responsive.css, motion in animations.css.
   Brand colours come from the logo: red #df010e and blue #00348a.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
    --ink: #071026;             /* deep navy — dark sections */
    --graphite: #0b1733;
    --graphite-2: #10204a;
    --steel: #1d2d57;
    --grey: #8a93a6;
    --ivory: #f4f6fa;
    --paper: #e9edf4;
    --white: #ffffff;

    --accent: #df010e;          /* logo red */
    --accent-2: #ff4b55;        /* light red — text on dark */
    --accent-ink: #c8000c;      /* red — text on light */
    --blue: #00348a;            /* logo blue */
    --blue-2: #0a47b8;
    --wa: #25d366;

    --sans: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
    --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

    --max: 1440px;
    --gutter: clamp(20px, 4.2vw, 64px);
    --topbar-h: 40px;
    --bar-h: 84px;
    --header-h: calc(var(--topbar-h) + var(--bar-h));
    --section-y: clamp(88px, 10vw, 168px);
    --radius: 4px;
    --radius-lg: 16px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --ease-in-out: cubic-bezier(.65, 0, .35, 1);

    /* Theme variables (dark by default) */
    --bg: var(--ink);
    --fg: var(--ivory);
    --muted: rgba(244, 246, 250, .66);
    --line: rgba(244, 246, 250, .14);
    --accent-text: var(--accent-2);
    --heading-accent: var(--accent-2);
    --card-bg: #0f1d40;
}

.section--light, .section--paper, .svc-block, .svc-nav, .site-header {
    --fg: var(--ink);
    --muted: #4f586b;
    --line: rgba(7, 16, 38, .14);
    --accent-text: var(--accent-ink);
    --heading-accent: var(--blue);
    --card-bg: var(--white);
}
.section--light { --bg: var(--ivory); }
.section--paper { --bg: var(--paper); }
.section--dark, .section--ink, .create, .feature-full, .cta-band, .site-footer, .page-hero, .hero, .notfound, .marquee, .mobile-menu, .map-section {
    --fg: var(--ivory);
    --muted: rgba(244, 246, 250, .66);
    --line: rgba(244, 246, 250, .14);
    --accent-text: var(--accent-2);
    --heading-accent: var(--accent-2);
    --card-bg: #0f1d40;
}
.section--dark { --bg: var(--graphite); }
.section--ink { --bg: var(--ink); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }
body {
    margin: 0;
    font-family: var(--sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--fg);
    background: var(--ink);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    overflow-x: clip;
}
h1, h2, h3, h4, h5, p, figure, blockquote, dl, dd, ol, ul { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: #fff; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.sr-only {
    position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
    position: fixed; left: 1rem; top: -100px; z-index: 400;
    padding: .8rem 1.2rem; background: var(--accent); color: #fff; font-weight: 600; border-radius: 999px;
    transition: top .3s var(--ease);
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; }

/* ---------- Typography ---------- */
.h1, .h2, .h3, .h4 { font-weight: 500; color: var(--fg); letter-spacing: -.03em; }
.h1 { font-size: clamp(2.6rem, 1rem + 5vw, 5.6rem); line-height: 1; }
.h2 { font-size: clamp(2.1rem, 1.1rem + 3.3vw, 4.25rem); line-height: 1.04; max-width: 18ch; }
.h3 { font-size: clamp(1.45rem, 1.1rem + 1.1vw, 2rem); line-height: 1.15; letter-spacing: -.02em; }
.h4 { font-size: 1.15rem; line-height: 1.3; letter-spacing: -.01em; }
h1 em, h2 em, h3 em, .h1 em, .h2 em, .mega__title em, .site-footer__lead em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -.01em;
    color: var(--heading-accent, var(--accent-text));
}
.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.26rem); line-height: 1.62; color: var(--fg); opacity: .92; max-width: 60ch; }
p { color: var(--muted); line-height: 1.75; }

.label {
    display: inline-flex; align-items: center; gap: .85rem;
    font: 500 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent-text); margin-bottom: 1.6rem;
}
.label__num { display: inline-flex; align-items: center; }
.label__num .icon { width: 16px; height: 16px; }
.label__line { width: 42px; height: 1px; background: currentColor; opacity: .7; transform-origin: left; }
.label__text { color: var(--fg); opacity: .78; }

/* ---------- Buttons & links ---------- */
.btn {
    --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-hover-bg: var(--accent); --btn-hover-fg: #fff; --btn-border: transparent;
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center; gap: .75rem;
    min-height: 54px; padding: 0 1.5rem 0 1.65rem;
    border: 1px solid var(--btn-border); border-radius: 999px;
    background: var(--btn-bg); color: var(--btn-fg);
    font: 500 .95rem/1.1 var(--sans); letter-spacing: .005em; white-space: nowrap;
    transition: color .45s var(--ease), border-color .45s var(--ease), transform .4s var(--ease), box-shadow .45s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit;
    background: var(--btn-hover-bg); transform: translate3d(0, 101%, 0);
    transition: transform .55s var(--ease);
}
.btn:hover { color: var(--btn-hover-fg); }
.btn:hover::before { transform: translate3d(0, 0, 0); }
.btn__icon {
    display: grid; place-items: center; width: 30px; height: 30px; margin-right: -.55rem; border-radius: 50%;
    background: rgba(7, 16, 38, .1); transition: transform .45s var(--ease), background .45s;
}
.btn__icon .icon { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn > .icon { width: 20px; height: 20px; }
.btn--sm { min-height: 44px; padding: 0 1.1rem 0 1.25rem; font-size: .88rem; }
.btn--sm .btn__icon { width: 26px; height: 26px; }

.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-hover-bg: var(--blue); --btn-hover-fg: #fff; box-shadow: 0 14px 30px -16px rgba(223, 1, 14, .7); }
.btn--primary .btn__icon { background: rgba(255, 255, 255, .2); }
.btn--primary:hover { box-shadow: 0 14px 30px -16px rgba(0, 52, 138, .75); }
.btn--dark    { --btn-bg: var(--blue); --btn-fg: #fff; --btn-hover-bg: var(--accent); --btn-hover-fg: #fff; }
.btn--dark .btn__icon { background: rgba(244, 246, 250, .12); }
.btn--light   { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-hover-bg: var(--accent); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-border: rgba(244, 246, 250, .32); --btn-hover-bg: var(--ivory); --btn-hover-fg: var(--ink); }
.btn--wa { --btn-bg: rgba(37, 211, 102, .1); --btn-fg: var(--fg); --btn-border: rgba(37, 211, 102, .45); --btn-hover-bg: var(--wa); --btn-hover-fg: #06170c; }
.btn--wa > .icon { color: var(--wa); transition: color .4s; }
.btn--wa:hover > .icon { color: #06170c; }
.btn--wa-light { --btn-bg: var(--ivory); --btn-fg: var(--ink); --btn-hover-bg: var(--wa); --btn-hover-fg: #06170c; }
.btn--wa-light > .icon { color: #128c4a; }
.btn--wa-light:hover > .icon { color: #06170c; }

.link-arrow {
    position: relative; display: inline-flex; align-items: center; gap: .55rem;
    font-weight: 500; font-size: .95rem; color: var(--fg); padding-block: .35rem;
}
.link-arrow::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
    background: currentColor; opacity: .35; transform-origin: right; transition: transform .6s var(--ease), opacity .3s;
}
.link-arrow:hover::after { opacity: 1; animation: linkLine .7s var(--ease); }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .45s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.link-arrow--wa .icon { width: 18px; height: 18px; color: var(--wa); }
.link-arrow--wa:hover .icon { transform: none; }

.icon-btn {
    display: grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0;
    border: 1px solid var(--line); border-radius: 50%; color: var(--fg);
    transition: background .35s, color .35s, border-color .35s;
}
.icon-btn .icon { width: 19px; height: 19px; }
.icon-btn--wa .icon { color: #1fa855; transition: color .35s; }
.icon-btn--wa:hover { background: var(--wa); border-color: var(--wa); }
.icon-btn--wa:hover .icon { color: #06170c; }

/* ---------- Decorative ---------- */
.glass {
    background: rgba(10, 22, 50, .58);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    backdrop-filter: blur(18px) saturate(140%);
    border: 1px solid rgba(244, 246, 250, .12);
    border-radius: var(--radius-lg);
}
.glass--light { background: rgba(244, 246, 250, .78); border-color: rgba(7, 16, 38, .08); color: var(--ink); }

.corner { position: absolute; width: 22px; height: 22px; border: 1px solid var(--accent-text); pointer-events: none; }
.corner--tl { top: -11px; left: -11px; border-right: 0; border-bottom: 0; }
.corner--br { bottom: -11px; right: -11px; border-left: 0; border-top: 0; }

.blueprint-grid {
    position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(244, 246, 250, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(244, 246, 250, .05) 1px, transparent 1px);
    background-size: 96px 96px;
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 15%, transparent 78%);
    mask-image: radial-gradient(ellipse 75% 70% at 60% 40%, #000 15%, transparent 78%);
}
.blueprint-grid--soft { opacity: .6; }
.section--light .blueprint-grid, .section--paper .blueprint-grid {
    background-image:
        linear-gradient(rgba(7, 16, 38, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7, 16, 38, .05) 1px, transparent 1px);
}

.mask-line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask-line > span { display: inline-block; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 100;
    background: #fff; color: var(--ink);
    border-bottom: 1px solid rgba(7, 16, 38, .08);
    transition: box-shadow .5s var(--ease), border-color .5s, transform .6s var(--ease), background .5s;
}
/* Brand stripe: logo red into logo blue */
.site-header::before {
    content: ""; position: absolute; inset: 0 0 auto; z-index: 2; height: 3px;
    background: linear-gradient(90deg, var(--accent) 0 62%, var(--blue) 62% 100%);
}
.site-header.is-scrolled {
    --bar-h: 72px;
    background: rgba(255, 255, 255, .94);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom-color: rgba(7, 16, 38, .06);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -26px rgba(7, 16, 38, .45);
}
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-hidden .mega { opacity: 0 !important; visibility: hidden !important; }

/* Top bar (desktop): contact strip that folds away on scroll */
.topbar {
    height: var(--topbar-h); overflow: hidden;
    background: var(--ink); color: rgba(244, 246, 250, .7);
    font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
    transition: height .55s var(--ease), opacity .4s ease;
}
.site-header.is-scrolled .topbar { height: 0; opacity: 0; }
.topbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-top: 3px; }
.topbar__tag { display: flex; align-items: center; gap: .75rem; color: inherit; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar__dot { position: relative; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: var(--accent); }
.topbar__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--accent); animation: dotPulse 2.4s ease-out infinite; }
.topbar__links { display: flex; align-items: center; flex-shrink: 0; }
.topbar__links li + li { margin-left: 1.5rem; padding-left: 1.5rem; border-left: 1px solid rgba(244, 246, 250, .14); }
.topbar__links a { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; transition: color .3s; }
.topbar__links a:hover { color: #fff; }
.topbar__links .icon { width: 13px; height: 13px; color: var(--accent-2); }
.topbar__links .topbar__wa .icon { color: var(--wa); }

@keyframes dotPulse { 0% { transform: scale(.4); opacity: 1; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.site-header__bar { height: var(--bar-h); transition: height .5s var(--ease); }
.site-header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 1.5rem; }

.logo { display: inline-flex; align-items: center; gap: .8rem; flex-shrink: 0; }
.logo-note {
    display: flex; flex-direction: column; gap: .35rem; margin-right: auto; padding-left: 1.1rem;
    border-left: 1px solid rgba(7, 16, 38, .12);
    font: 500 .6rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); white-space: nowrap;
}
.logo-note span:first-child { color: var(--blue); font-weight: 600; }
.logo__mark { width: 36px; height: 36px; color: var(--accent); }
.logo__mark svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.3; }
.logo__type { display: flex; flex-direction: column; line-height: 1; }
.logo__text { font-weight: 600; font-size: 1.08rem; letter-spacing: .22em; }
.logo__sub { margin-top: .35rem; font: 400 .6rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.logo__img { display: block; height: 54px; width: auto; transition: height .5s var(--ease), transform .5s var(--ease); }
.site-header.is-scrolled .logo__img { height: 46px; }
.logo:hover .logo__img { transform: scale(1.03); }

/* Navigation pill. The list stays unpositioned so the mega panel can span the header;
   the sliding indicator is positioned against .site-header__inner instead. */
.nav__list {
    display: flex; align-items: center; gap: 2px; padding: 5px;
    border-radius: 999px; background: #f1f3f8; border: 1px solid rgba(7, 16, 38, .06);
}
.nav__indicator {
    position: absolute; left: 0; top: 50%; width: 0; height: 0; z-index: 0; pointer-events: none;
    border-radius: 999px; background: #fff; opacity: 0;
    box-shadow: 0 8px 18px -10px rgba(7, 16, 38, .45), 0 0 0 1px rgba(7, 16, 38, .05);
    transition: transform .5s var(--ease), width .5s var(--ease), height .5s var(--ease), opacity .3s;
}
.nav__indicator.is-visible { opacity: 1; }
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item--mega { position: static; }
.nav__link {
    position: relative; z-index: 1; display: block; padding: .62rem 1.05rem; border-radius: 999px;
    font-size: .9rem; font-weight: 500; letter-spacing: -.005em;
    color: rgba(7, 16, 38, .7); transition: color .3s, background .3s;
}
.nav__link:hover { color: var(--ink); }
.nav__link.is-active { color: var(--blue); font-weight: 600; }
.nav__link.is-active::after {
    content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px;
    border-radius: 50%; background: var(--accent);
}
/* Without the JS indicator, the active link gets its own pill */
html:not(.has-nav-indicator) .nav__link.is-active { background: #fff; box-shadow: 0 8px 18px -10px rgba(7, 16, 38, .45); }
.nav__item--mega .nav__link { padding-right: 1.7rem; }
.nav__toggle {
    position: relative; z-index: 2; display: grid; place-items: center;
    width: 22px; height: 22px; margin-left: -1.55rem; margin-right: .3rem; padding: 0;
    background: none; border: 0; color: rgba(7, 16, 38, .55); border-radius: 50%;
}
.nav__toggle:hover { color: var(--blue); }
.nav__toggle .icon { width: 14px; height: 14px; transition: transform .4s var(--ease); }
.nav__item--mega.is-open .nav__toggle .icon { transform: rotate(180deg); }

.mega {
    position: absolute; top: calc(100% - 6px); left: var(--gutter); right: var(--gutter);
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s;
}
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mega__inner {
    display: grid; grid-template-columns: 1fr 2.1fr; gap: 2.5rem;
    padding: 2.2rem; border-radius: var(--radius-lg);
    background: #fff;
    border: 1px solid rgba(7, 16, 38, .08);
    border-top: 3px solid var(--blue);
    box-shadow: 0 40px 80px -34px rgba(7, 16, 38, .4);
}
.mega__eyebrow { font: 500 .7rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); }
.mega__title { margin: 1rem 0 1.5rem; font-size: 1.7rem; line-height: 1.15; letter-spacing: -.02em; color: var(--ink); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
.mega__link {
    display: flex; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid rgba(7, 16, 38, .08);
    color: rgba(7, 16, 38, .78); transition: color .3s, padding .4s var(--ease);
}
.mega__link:hover, .mega__link.is-active { color: var(--blue); padding-left: .4rem; }
.mega__num { font: .7rem var(--mono); color: var(--accent-ink); }
.mega__name { font-size: .98rem; }
.mega--locations .mega__inner { grid-template-columns: minmax(0, .62fr) minmax(0, 3fr); gap: 2rem; padding: 1.8rem 2rem; max-height: calc(100vh - var(--header-h) - 24px); overflow-y: auto; overscroll-behavior: contain; }
.mega--locations .mega__title { font-size: 1.45rem; }
.mega__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.6rem; }
.mega__col--wide { grid-column: span 2; }
.mega__col--wide ul { columns: 2; column-gap: 1.6rem; }
.mega__col li { break-inside: avoid; }
.mega__col-title { display: flex; justify-content: space-between; gap: .5rem; padding-bottom: .6rem; margin-bottom: .3rem; border-bottom: 1px solid rgba(7, 16, 38, .12); font: 600 .68rem/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--ink); }
.mega__col-title span { color: var(--accent-ink); font-weight: 500; }
.mega__loc { display: block; padding: .3rem 0; font-size: .86rem; line-height: 1.35; color: rgba(7, 16, 38, .72); transition: color .3s, padding .4s var(--ease); }
.mega__loc:hover, .mega__loc.is-active { color: var(--blue); padding-left: .35rem; }
.mega__more { display: inline-flex; align-items: center; gap: .4rem; margin-top: .6rem; font: 500 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.mega__more .icon { width: 13px; height: 13px; transition: transform .3s var(--ease); }
.mega__more:hover .icon { transform: translateX(3px); }

.site-header__actions { display: flex; align-items: center; gap: .85rem; }

.header-call { display: inline-flex; align-items: center; gap: .75rem; color: var(--ink); }
.header-call__icon {
    position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid rgba(7, 16, 38, .12); color: var(--blue); transition: background .35s, color .35s, border-color .35s;
}
.header-call__icon .icon { width: 18px; height: 18px; }
.header-call:hover .header-call__icon { background: var(--blue); border-color: var(--blue); color: #fff; }
.header-call__text { display: flex; flex-direction: column; gap: .3rem; line-height: 1; }
.header-call__k { font: 500 .58rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.header-call__v { font-size: .95rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; transition: color .3s; }
.header-call:hover .header-call__v { color: var(--blue); }

.header-wa {
    display: none; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(37, 211, 102, .1); border: 1px solid rgba(37, 211, 102, .35); color: #1a9e4b;
    transition: background .3s, color .3s;
}
.header-wa .icon { width: 20px; height: 20px; }
.header-wa:hover { background: var(--wa); color: #06170c; }

.menu-toggle {
    display: none; align-items: center; gap: .7rem; height: 46px; padding: 0 1rem 0 1.15rem;
    border-radius: 999px; border: 0; background: var(--ink); color: #fff;
    font: 600 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase;
    transition: background .3s;
}
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { background: var(--blue); }
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span {
    position: absolute; left: 0; width: 100%; height: 1.6px; background: currentColor; border-radius: 2px;
    transition: transform .5s var(--ease), top .5s var(--ease), opacity .3s, width .4s var(--ease);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5.2px; width: 70%; left: auto; right: 0; }
.menu-toggle__bars span:nth-child(3) { top: 10.4px; }
.menu-toggle:hover .menu-toggle__bars span:nth-child(2) { width: 100%; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { top: 5.2px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { top: 5.2px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
    position: fixed; inset: 0; z-index: 90; height: 100vh; height: 100dvh; overflow: hidden;
    background: var(--ink); color: var(--ivory);
    visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .75s var(--ease-in-out), visibility 0s linear .75s;
}
.mobile-menu.is-open { visibility: visible; clip-path: inset(0 0 0 0); transition-delay: 0s; }
.mobile-menu__grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(244,246,250,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(244,246,250,.04) 1px, transparent 1px); background-size: 64px 64px; pointer-events: none; }
/* Scrolling lives on this inner layer: iOS Safari won't touch-scroll a fixed, clip-path animated panel */
.mobile-menu__scroll {
    position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
    overscroll-behavior: contain; -webkit-overflow-scrolling: touch; touch-action: pan-y;
}
.mobile-menu::before {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(60% 40% at 100% 0%, rgba(10, 71, 184, .38), transparent 70%),
        radial-gradient(55% 35% at 0% 100%, rgba(223, 1, 14, .2), transparent 70%);
}
.mobile-menu__inner { position: relative; min-height: 100%; display: flex; flex-direction: column; gap: 1.6rem; padding-top: calc(var(--header-h) + 18px); padding-bottom: calc(1.6rem + env(safe-area-inset-bottom)); }

.mm-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(244, 246, 250, .1); font: 500 .62rem/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.mm-eyebrow { display: flex; align-items: center; gap: .7rem; white-space: nowrap; color: rgba(244, 246, 250, .7); }
.mm-count { color: var(--accent-2); white-space: nowrap; }

.mobile-menu__list > li { opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .7s var(--ease); border-bottom: 1px solid rgba(244, 246, 250, .08); }
.mobile-menu.is-open .mobile-menu__list > li { opacity: 1; transform: none; transition-delay: calc(.18s + var(--i) * .05s); }
.mobile-menu__link {
    display: flex; align-items: center; gap: 1rem; flex: 1; min-width: 0; padding: .85rem 0;
    font-size: clamp(1.3rem, 5.4vw, 2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
    color: var(--ivory); transition: color .3s;
}
.mobile-menu__link.is-active { color: var(--accent-2); }
.mobile-menu__num { font: .66rem var(--mono); letter-spacing: .1em; color: var(--accent-2); min-width: 1.4rem; }
.mobile-menu__go { display: grid; place-items: center; width: 38px; height: 24px; margin-left: auto; border-radius: 50%; color: rgba(244, 246, 250, .45); transition: color .3s, transform .4s var(--ease); }
.mobile-menu__go .icon { width: 16px; height: 16px; }
.mobile-menu__link:active .mobile-menu__go { transform: translateX(4px); color: var(--ivory); }

/* Accordion (Services / Locations) */
.mm-acc__head { display: flex; align-items: center; gap: .75rem; }
.mm-acc__btn {
    display: inline-flex; align-items: center; gap: .55rem; height: 38px; padding: 0 .35rem 0 .8rem; flex: none;
    border-radius: 999px; border: 1px solid rgba(244, 246, 250, .16); background: rgba(244, 246, 250, .04); color: var(--ivory);
    transition: background .3s, border-color .3s;
}
.mm-acc__count { font: 500 .66rem/1 var(--mono); letter-spacing: .08em; color: rgba(244, 246, 250, .75); }
.mm-acc__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ivory); color: var(--ink); transition: transform .45s var(--ease), background .3s, color .3s; }
.mm-acc__icon .icon { width: 14px; height: 14px; }
.mm-acc.is-open .mm-acc__btn { background: rgba(10, 71, 184, .35); border-color: rgba(10, 71, 184, .8); }
.mm-acc.is-open .mm-acc__icon { transform: rotate(45deg); background: var(--accent); color: #fff; }
.mm-acc__panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .55s var(--ease), visibility 0s linear .55s; }
.mm-acc.is-open .mm-acc__panel { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s; }
.mm-acc__body { min-height: 0; overflow: hidden; }
.mm-acc__body > :first-child { margin-top: .2rem; }
.mm-acc__body > :last-child { margin-bottom: 1.1rem; }

.mm-svc { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
.mm-svc__link {
    display: flex; align-items: center; gap: .85rem; padding: .45rem .55rem .45rem .45rem;
    border-radius: 12px; border: 1px solid rgba(244, 246, 250, .1); background: rgba(244, 246, 250, .035);
    transition: background .3s, border-color .3s;
}
.mm-svc__link:active, .mm-svc__link.is-active { background: rgba(10, 71, 184, .28); border-color: rgba(10, 71, 184, .7); }
.mm-svc__thumb { flex: none; width: 58px; height: 44px; border-radius: 8px; overflow: hidden; background: var(--graphite-2); }
.mm-svc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.mm-svc__text { display: grid; gap: .2rem; flex: 1; min-width: 0; }
.mm-svc__num { font: .6rem/1 var(--mono); letter-spacing: .12em; color: var(--accent-2); }
.mm-svc__name { font-size: .98rem; font-weight: 500; line-height: 1.2; color: var(--ivory); }
.mm-svc__arrow { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(244, 246, 250, .14); color: rgba(244, 246, 250, .7); }
.mm-svc__arrow .icon { width: 12px; height: 12px; }

.mm-loc + .mm-loc { margin-top: 1.1rem; }
.mm-loc__title { display: flex; align-items: center; gap: .5rem; margin-bottom: .6rem; font: 600 .64rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 246, 250, .85); }
.mm-loc__title .icon { width: 13px; height: 13px; color: var(--accent-2); }
.mm-loc__title span { margin-left: auto; color: var(--accent-2); font-weight: 500; }
.mm-loc__list { display: flex; flex-wrap: wrap; gap: .4rem; }
.mm-chip {
    display: inline-flex; align-items: center; min-height: 36px; padding: .4rem .8rem;
    border-radius: 999px; border: 1px solid rgba(244, 246, 250, .14); background: rgba(244, 246, 250, .03);
    font-size: .84rem; line-height: 1.2; color: rgba(244, 246, 250, .86); transition: background .3s, border-color .3s, color .3s;
}
.mm-chip:active, .mm-chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }

.mm-all { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding-bottom: .2rem; border-bottom: 1px solid rgba(244, 246, 250, .3); font-size: .9rem; font-weight: 500; color: var(--ivory); }
.mm-all .icon { width: 15px; height: 15px; color: var(--accent-2); }

.mm-card {
    margin-top: auto; padding: 1.25rem; border-radius: var(--radius-lg);
    border: 1px solid rgba(244, 246, 250, .12);
    background: linear-gradient(160deg, rgba(10, 71, 184, .22), rgba(244, 246, 250, .03) 60%);
}
.mm-card__k { font: 500 .62rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.mm-card__t { margin: .6rem 0 1rem; font-size: 1.05rem; line-height: 1.4; color: var(--ivory); }
.mobile-menu__foot { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mobile-menu__foot .btn { justify-content: center; min-height: 50px; padding-inline: 1rem; }
.mm-card__contact { display: grid; gap: .55rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(244, 246, 250, .1); }
.mm-card__contact a { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; line-height: 1.4; color: rgba(244, 246, 250, .8); }
.mm-card__contact .icon { width: 16px; height: 16px; flex: none; margin-top: .1rem; color: var(--accent-2); }

@media (min-width: 560px) {
    .mm-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Home hero
   ========================================================================== */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 100vh; min-height: max(660px, 100svh);
    display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--ink); color: var(--ivory);
}
.hero::after, .page-hero::after, .cta-band::after, .notfound::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .08; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero__media-inner { position: absolute; inset: -6% 0; will-change: transform; }
.hero__media-inner picture { position: absolute; inset: 0; display: block; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__video {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
    opacity: 0; transition: opacity 1.4s ease; pointer-events: none;
}
.hero__video.is-playing { opacity: 1; }
.hero__overlay {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(90deg, rgba(7,16,38,.9) 0%, rgba(7,16,38,.66) 30%, rgba(7,16,38,.08) 60%, rgba(7,16,38,.1) 100%),
        linear-gradient(0deg, rgba(7,16,38,.92) 0%, rgba(7,16,38,0) 30%),
        linear-gradient(180deg, rgba(7,16,38,.6) 0%, rgba(7,16,38,0) 18%);
}
.hero::after { opacity: .035; }
.hero__light {
    position: absolute; inset: -20%; z-index: -2; pointer-events: none; mix-blend-mode: screen;
    background: radial-gradient(34% 30% at 68% 42%, rgba(223, 1, 14, .1), transparent 70%);
}
.hero__grid { inset: -96px; z-index: -1; }
.hero__blueprint { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bp-line { fill: none; stroke: rgba(122, 164, 255, .45); stroke-width: 1; stroke-dasharray: 1; stroke-dashoffset: 1; vector-effect: non-scaling-stroke; }
.bp-dim path { fill: none; stroke: rgba(244, 246, 250, .35); stroke-width: 1; vector-effect: non-scaling-stroke; }
.bp-dim text { fill: rgba(244, 246, 250, .55); font: 12px var(--mono); letter-spacing: .15em; }

.hero__ruler, .page-hero__ruler {
    position: absolute; left: calc(var(--gutter) * .42); top: 22%; bottom: 22%; width: 12px; z-index: 1; pointer-events: none; opacity: .7;
    background:
        repeating-linear-gradient(to bottom, rgba(244,246,250,.45) 0 1px, transparent 1px 60px) left top / 12px 100% no-repeat,
        repeating-linear-gradient(to bottom, rgba(244,246,250,.22) 0 1px, transparent 1px 12px) left top / 6px 100% no-repeat;
}
.hero__tech {
    position: absolute; z-index: 1; display: flex; gap: 1.5rem;
    font: 400 .68rem/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: rgba(244, 246, 250, .55);
}
.hero__tech--tr { top: calc(var(--header-h) + 36px); right: var(--gutter); }
.hero__tech--br { bottom: 108px; right: var(--gutter); }

.hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 80px); padding-bottom: clamp(40px, 7vh, 80px); }
.hero__eyebrow {
    display: flex; align-items: center; gap: 1rem; width: fit-content; max-width: 100%;
    padding: .55rem .9rem .55rem .75rem; border-radius: 3px; border-left: 2px solid var(--accent);
    background: rgba(7, 16, 38, .62); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    font: 500 .72rem/1.5 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--ivory);
}
.hero__eyebrow-line { width: 48px; height: 1px; flex-shrink: 0; background: var(--accent-2); transform-origin: left; }
.hero__title, .hero__text { text-shadow: 0 2px 24px rgba(7, 16, 38, .55); }
.hero__title {
    margin: 1.6rem 0 1.8rem; max-width: 13.5ch;
    font-size: clamp(2.6rem, 1rem + 5.7vw, 6.6rem); font-weight: 500; line-height: .98; letter-spacing: -.04em; color: var(--ivory);
}
.hero__title em { color: var(--accent-2); }
.hero__text { max-width: 540px; font-size: clamp(1rem, .92rem + .35vw, 1.18rem); line-height: 1.65; color: rgba(244, 246, 250, .78); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 2.4rem; }
.hero__wa { color: var(--ivory); margin-left: .5rem; }

.hero__bottom {
    position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 2rem;
    padding-block: 1.4rem; border-top: 1px solid rgba(244, 246, 250, .12);
    font: 400 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 246, 250, .6);
}
.hero__scroll { display: inline-flex; align-items: center; gap: .9rem; transition: color .3s; }
.hero__scroll:hover { color: var(--ivory); }
.hero__scroll-line { position: relative; width: 1px; height: 34px; background: rgba(244, 246, 250, .2); overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: var(--accent-2); }
.hero__bottom-end { display: flex; align-items: center; gap: 1.25rem; }
.hero__video-toggle {
    display: inline-flex; align-items: center; gap: .55rem; height: 38px; padding: 0 1rem 0 .8rem;
    border: 1px solid rgba(244, 246, 250, .3); border-radius: 999px;
    background: rgba(7, 16, 38, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--ivory); font: inherit; letter-spacing: inherit; text-transform: inherit;
    transition: background .3s, color .3s, border-color .3s;
}
.hero__video-toggle:hover { background: var(--ivory); border-color: var(--ivory); color: var(--ink); }
.hero__video-toggle-icon { display: grid; place-items: center; }
.hero__video-toggle-icon .icon { width: 14px; height: 14px; }
.hero__video-toggle-icon--play .icon { fill: currentColor; }
.hero__video-toggle-icon--play, .hero__video-toggle[aria-pressed="true"] .hero__video-toggle-icon--pause { display: none; }
.hero__video-toggle[aria-pressed="true"] .hero__video-toggle-icon--play { display: grid; }
.hero__disciplines { display: flex; gap: 1.75rem; }
.hero__disciplines li { display: flex; align-items: center; gap: .6rem; }
.hero__disciplines li::before { content: ""; width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }

/* ==========================================================================
   Inner page hero
   ========================================================================== */
.page-hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: clamp(580px, 84svh, 880px);
    display: flex; flex-direction: column; justify-content: flex-end;
    background: var(--ink); color: var(--ivory);
}
.page-hero__media { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.page-hero__media-inner { position: absolute; inset: -8% 0; will-change: transform; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
    position: absolute; inset: 0; z-index: -2;
    background:
        linear-gradient(0deg, rgba(7,16,38,.97) 0%, rgba(7,16,38,.6) 45%, rgba(7,16,38,.4) 100%),
        linear-gradient(90deg, rgba(7,16,38,.75) 0%, rgba(7,16,38,0) 70%);
}
.page-hero .blueprint-grid { z-index: -1; }
.page-hero__content { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 90px); padding-bottom: 2.5rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; font: 400 .7rem/1.6 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(244, 246, 250, .55); }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }
.breadcrumbs a { transition: color .3s; }
.breadcrumbs a:hover { color: var(--ivory); }
.breadcrumbs [aria-current] { color: var(--accent-2); }
.page-hero__label {
    display: flex; align-items: center; gap: .85rem; margin: 2.2rem 0 1.25rem;
    font: 500 .72rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2);
}
.page-hero__title {
    max-width: 17ch; font-size: clamp(2.5rem, 1rem + 5vw, 5.8rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; color: var(--ivory);
}
.page-hero__title em { color: var(--accent-2); }
.page-hero__lead { max-width: 620px; margin-top: 1.6rem; font-size: clamp(1rem, .95rem + .3vw, 1.16rem); color: rgba(244, 246, 250, .76); }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }
.page-hero__meta {
    position: relative; z-index: 2; display: flex; align-items: center; gap: 1.25rem; padding-block: 1.25rem;
    border-top: 1px solid rgba(244, 246, 250, .12);
    font: 400 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 246, 250, .55);
}
.page-hero__dim { position: relative; flex: 1; height: 1px; background: rgba(244, 246, 250, .22); }
.page-hero__dim::before, .page-hero__dim::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: rgba(244, 246, 250, .45); }
.page-hero__dim::before { left: 0; }
.page-hero__dim::after { right: 0; }
.page-hero__dim i { position: absolute; left: 50%; top: -3px; width: 7px; height: 7px; margin-left: -3.5px; border: 1px solid var(--accent-2); transform: rotate(45deg); background: var(--ink); }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: var(--section-y); background: var(--bg); color: var(--fg); }
.section > .container { position: relative; }
.section-head {
    display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end;
    margin-bottom: clamp(48px, 6vw, 92px);
}
.section-head > :last-child:not(:first-child) { justify-self: end; }
.section-head__text { color: var(--muted); max-width: 44ch; }
.section-head .h2 { margin: 0; }

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 124px); align-items: center; }
.intro__media { position: relative; }
.intro__frame { overflow: hidden; aspect-ratio: 4 / 4.6; border-radius: 2px; }
.intro__frame img, .feature__frame img, .showcase__frame img, .materials__media img, .creates__media img { width: 100%; height: 100%; object-fit: cover; }
[data-parallax] { transform: scale(1.12); will-change: transform; }
.intro__note { position: absolute; right: -26px; bottom: 48px; display: flex; align-items: center; gap: .9rem; padding: 1rem 1.3rem; font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; }
.intro__note-arrow { color: var(--accent-ink); }
.intro__note-arrow .icon { width: 18px; height: 18px; }
.intro__body > * + * { margin-top: 1.3rem; }
.intro__body .label { margin-bottom: 0; }
.intro__body .h2 { margin-top: 1.6rem; }
.inputs { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; margin-top: 2.4rem !important; border-top: 1px solid var(--line); }
.inputs__item { display: flex; align-items: center; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.inputs__thumb { flex-shrink: 0; width: 64px; height: 48px; overflow: hidden; border-radius: 2px; background: var(--paper); }
.inputs__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.inputs__item:hover .inputs__thumb img { transform: scale(1.08); }
.inputs__num { font: .7rem var(--mono); color: var(--accent-text); }
.inputs__title { font-weight: 500; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: clamp(72px, 9vw, 130px); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .75rem; padding: 2rem 1.5rem 0; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font: 400 .7rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.stat dd { font-size: clamp(3rem, 1.8rem + 3.6vw, 6rem); font-weight: 300; line-height: .9; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }

/* ---------- What we create (horizontal) ---------- */
.create { position: relative; overflow: hidden; padding-block: var(--section-y); background: var(--graphite); color: var(--ivory); }
.create__head { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
.create__head > :last-child { justify-self: end; }
.create__head .h2 { margin: 0; }
.create__viewport {
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
    scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.create__viewport::-webkit-scrollbar { display: none; }
.create__track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; }
.create__panel { flex-shrink: 0; width: clamp(270px, 78vw, 500px); scroll-snap-align: start; }
.create__link { display: block; }
.create__media { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--graphite-2); }
.create__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.9); }
.create__link:hover .create__media img { transform: scale(1.06); filter: saturate(1.05); }
.create__meta { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.25rem; padding-top: 1.25rem; }
.create__num { grid-row: span 2; padding-top: .45rem; font: .68rem var(--mono); letter-spacing: .1em; color: var(--accent-2); }
.create__title { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.create__text { font-size: .93rem; color: var(--muted); }
.create.is-pinned { padding-block: calc(var(--header-h) + 20px) 40px; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }
.create.is-pinned .create__viewport { overflow: visible; scroll-snap-type: none; }
.create.is-pinned .create__panel { width: min(34vw, 60vh); }

/* ---------- Services index ---------- */
.svc-index__list { border-top: 1px solid var(--line); }
.svc-row__link {
    position: relative; display: grid; grid-template-columns: 64px minmax(0, 1.15fr) minmax(0, 1fr) 50px;
    align-items: center; gap: 1.25rem 2.5rem; padding: clamp(22px, 2.4vw, 34px) 0;
    border-bottom: 1px solid var(--line); color: var(--fg);
}
.svc-row__link::before {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--fg);
    transform: scaleX(0); transform-origin: right; transition: transform .8s var(--ease);
}
.svc-row__num { font: .78rem var(--mono); color: var(--accent-text); }
.svc-row__thumb { display: none; }
.svc-row__title { font-size: clamp(1.35rem, 1rem + 1.4vw, 2.35rem); font-weight: 500; letter-spacing: -.028em; line-height: 1.1; transition: transform .6s var(--ease); }
.svc-row__text { font-size: .95rem; color: var(--muted); max-width: 46ch; }
.svc-row__arrow {
    display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid var(--line); border-radius: 50%;
    transition: background .45s var(--ease), color .45s, transform .6s var(--ease), border-color .45s;
}
.svc-row__arrow .icon { width: 18px; height: 18px; }
.svc-index__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: clamp(40px, 5vw, 64px); }
.svc-hover {
    position: fixed; left: 0; top: 0; z-index: 30; width: 300px; aspect-ratio: 4 / 3; overflow: hidden; pointer-events: none;
    border-radius: 3px; opacity: 0; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45);
    transition: opacity .35s var(--ease);
}
.svc-hover img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform .8s var(--ease); }
.svc-hover.is-visible { opacity: 1; }
.svc-hover.is-visible img { transform: scale(1); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding-block: clamp(28px, 4vw, 60px); background: var(--ink); color: var(--ivory); border-block: 1px solid rgba(244, 246, 250, .08); }
.marquee__track { display: flex; align-items: center; width: max-content; white-space: nowrap; font-size: clamp(2.6rem, 1.4rem + 5vw, 7rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.marquee__track > * { margin-right: clamp(24px, 3vw, 56px); }
.marquee__track .is-outline { color: transparent; -webkit-text-stroke: 1px rgba(244, 246, 250, .55); }
.marquee__track i { display: inline-block; flex-shrink: 0; width: .16em; height: .16em; background: var(--accent); transform: rotate(45deg); }

/* ---------- Showcase ---------- */
.showcase__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); }
.showcase__item { display: flex; flex-direction: column; }
.showcase__item--a { grid-column: 1 / span 7; grid-row: 1 / span 2; }
.showcase__item--b { grid-column: 8 / span 5; grid-row: 1; }
.showcase__item--c { grid-column: 8 / span 5; grid-row: 2; }
.showcase__frame { position: relative; overflow: hidden; border-radius: 2px; aspect-ratio: 4 / 3; background: var(--paper); }
.showcase__item--a .showcase__frame { flex: 1; aspect-ratio: auto; min-height: 420px; }
.showcase__item--a .showcase__frame img { position: absolute; inset: 0; }
.showcase figcaption { display: flex; gap: .8rem; padding-top: .9rem; font: 400 .7rem/1.5 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.showcase figcaption span { color: var(--accent-text); }
.showcase__text { grid-column: 1 / span 6; grid-row: 3; margin-top: 1.5rem; }
.showcase__text p { margin-bottom: 1rem; font-size: 1.05rem; max-width: 52ch; }

/* ---------- Feature split ---------- */
.feature__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.feature--reverse .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__frame { overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: 2px; background: var(--graphite-2); }
.feature__tag {
    position: absolute; left: 1rem; bottom: 1rem; padding: .55rem .85rem; border-radius: 999px;
    background: rgba(7, 16, 38, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ivory);
    font: 400 .64rem/1 var(--mono); letter-spacing: .16em;
}
.feature__body .label { margin-bottom: 1.4rem; }
.feature__body .h2 { margin-bottom: 1.5rem; }
.chip-list { display: flex; flex-wrap: wrap; gap: .5rem; margin-block: 2rem; }
.chip { padding: .55rem .95rem; border: 1px solid var(--line); border-radius: 999px; font-size: .84rem; color: var(--fg); transition: border-color .3s, background .3s; }
.chip:hover { border-color: var(--accent-text); }
.spec { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 2rem; border-top: 1px solid var(--line); }
.spec > div { padding: 1rem 1rem 0 0; }
.spec dt { font: 400 .66rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.spec dd { margin-top: .4rem; font-size: .95rem; color: var(--fg); }
.spec dd a { border-bottom: 1px solid var(--line); }
.spec--light { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block: 2rem; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }

/* ---------- Feature full-bleed ---------- */
.feature-full {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: min(100svh, 980px); display: flex; align-items: center;
    padding-block: clamp(100px, 12vw, 180px); background: var(--ink); color: var(--ivory);
}
.feature-full__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.feature-full__media-inner { position: absolute; inset: 0; will-change: transform; }
.feature-full__media img { width: 100%; height: 100%; object-fit: cover; }
.feature-full__overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,16,38,.7), rgba(7,16,38,.2) 60%, rgba(7,16,38,.45)); }
.feature-full__inner { display: flex; }
.feature-full__inner--right { justify-content: flex-end; }
.feature-full__card { max-width: 640px; padding: clamp(28px, 4vw, 56px); background: rgba(7, 16, 38, .62); }
.feature-full__card .h2 { margin-bottom: 1.25rem; }

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.why__item {
    position: relative; display: flex; flex-direction: column; min-height: 290px;
    padding: clamp(24px, 2.6vw, 40px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
    transition: background .6s var(--ease);
}
.why__item::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 1px; background: var(--accent-text); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease); }
.why__icon { display: block; width: 42px; height: 42px; color: var(--accent-text); margin-bottom: auto; }
.why__icon .icon { width: 100%; height: 100%; stroke-width: 1.1; }
.why__num { position: absolute; top: 1.6rem; right: 1.6rem; font: .68rem var(--mono); color: var(--muted); }
.why__title { margin: 2.5rem 0 .65rem; font-size: 1.12rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; }
.why__text { font-size: .92rem; line-height: 1.65; }

/* ---------- Process ---------- */
.process { overflow: hidden; }
.process .blueprint-grid { z-index: 0; }
.process__track { position: relative; }
.process__line { position: absolute; left: 22px; right: 22px; top: 22px; height: 1px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.process__line-fill { position: absolute; inset: 0; background: var(--accent-text); transform-origin: left; transform: scaleX(0); transition: transform 2.2s var(--ease); }
.process__track.is-in .process__line-fill { transform: scaleX(1); }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.75rem; }
.process__step { position: relative; }
.process__node {
    position: relative; z-index: 1; display: grid; place-items: center; width: 45px; height: 45px; margin-bottom: 1.8rem;
    border: 1px solid var(--line); border-radius: 50%; background: var(--bg); transition: border-color .8s var(--ease);
}
.process__node span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-text); transform: scale(0); transition: transform .6s var(--ease) .3s; }
.process__step.is-in .process__node { border-color: var(--accent-text); }
.process__step.is-in .process__node span { transform: scale(1); }
.process__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.2rem; border-radius: 2px; background: rgba(127, 140, 160, .15); }
.process__media::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255, 255, 255, .08); pointer-events: none; }
.process__num { font: .72rem var(--mono); letter-spacing: .1em; color: var(--accent-text); }
.process__title { margin: .6rem 0; font-size: 1.1rem; font-weight: 500; line-height: 1.25; letter-spacing: -.01em; }
.process__text { font-size: .9rem; line-height: 1.65; }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: clamp(20px, 2vw, 32px); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-card, .project-card {
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .5s;
}
.service-card__media, .project-card__media { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.service-card__media img, .project-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease); }
.service-card__num {
    position: absolute; top: 1rem; left: 1rem; padding: .45rem .7rem; border-radius: 999px;
    background: rgba(7, 16, 38, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    color: var(--ivory); font: .66rem/1 var(--mono); letter-spacing: .12em;
}
.service-card__body, .project-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.6rem 1.6rem 1.4rem; }
.service-card__title, .project-card__title { font-size: 1.28rem; font-weight: 500; line-height: 1.22; letter-spacing: -.015em; }
.service-card__title a, .project-card__title a { background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat; transition: background-size .6s var(--ease); }
.service-card__text, .project-card__text { margin-top: .75rem; font-size: .93rem; line-height: 1.65; }
.service-card__list { display: grid; gap: .45rem; margin-top: 1.1rem; font-size: .86rem; color: var(--fg); }
.service-card__list li { display: flex; align-items: center; gap: .65rem; opacity: .85; }
.service-card__list li::before { content: ""; width: 10px; height: 1px; flex-shrink: 0; background: var(--accent-text); }
.service-card__actions, .project-card__actions {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    margin-top: auto; padding-top: 1.25rem; border-top: 1px solid var(--line);
}
.service-card__body > :nth-last-child(2), .project-card__body > :nth-last-child(2) { margin-bottom: 1.5rem; }
.project-card__cat { font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .75rem; }
.project-card__view {
    position: absolute; top: 1rem; right: 1rem; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--ivory); color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease);
}
.project-card__view .icon { width: 18px; height: 18px; }

/* ---------- Masonry & gallery ---------- */
.masonry { columns: 3 300px; column-gap: clamp(16px, 2vw, 28px); }
.masonry > * { break-inside: avoid; margin-bottom: clamp(16px, 2vw, 28px); }
.masonry--projects .project-card { display: flex; }
.masonry--projects .project-card:nth-child(3n+1) .project-card__media { aspect-ratio: 4 / 5; }
.masonry--projects .project-card:nth-child(3n+2) .project-card__media { aspect-ratio: 1 / 1; }

.gallery-card { position: relative; }
.gallery-card__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--graphite-2); border-radius: 3px; overflow: hidden; cursor: zoom-in; }
.gallery-card__btn img { width: 100%; object-fit: cover; transition: transform 1.3s var(--ease), filter .6s; }
.masonry .gallery-card:nth-child(4n+1) .gallery-card__btn img { aspect-ratio: 3 / 4; }
.masonry .gallery-card:nth-child(4n+3) .gallery-card__btn img { aspect-ratio: 1 / 1; }
.gallery-card__btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,16,38,.45), transparent 50%); opacity: 0; transition: opacity .5s; }
.gallery-card__zoom {
    position: absolute; top: 1rem; right: 1rem; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    background: rgba(244, 246, 250, .92); color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .4s, transform .5s var(--ease);
}
.gallery-card__zoom .icon { width: 18px; height: 18px; }
.gallery-card__badge {
    position: absolute; left: .8rem; top: .8rem; z-index: 1; padding: .38rem .6rem; border-radius: 2px;
    background: var(--accent); color: #fff; font: 600 .58rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase;
}

/* ---------- On-site video (gallery) ---------- */
.onsite__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.onsite__media { position: relative; max-width: 420px; justify-self: center; width: 100%; }
.onsite__media::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--accent); border-radius: 4px; z-index: 0; }
.onsite__video { position: relative; z-index: 1; display: block; width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 4px; background: var(--ink); box-shadow: 0 40px 80px -40px rgba(7, 16, 38, .55); }
.onsite__body .lead { margin-top: 1.2rem; }
.onsite__thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; margin: 2rem 0 2.2rem; }
.onsite__thumbs li { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--paper); }
.onsite__thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.onsite__thumbs li:hover img { transform: scale(1.06); }
.gallery-card__btn:focus-visible .gallery-card__zoom { opacity: 1; transform: none; }
.gallery-card__cap { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: .8rem; }
.gallery-card__cat { font: 500 .64rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); white-space: nowrap; }
.gallery-card__title { font-size: .88rem; color: var(--muted); text-align: right; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: clamp(32px, 4vw, 56px); }
.filter-btn {
    display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0 1.1rem;
    border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--fg);
    font-size: .88rem; font-weight: 500; white-space: nowrap;
    transition: background .35s var(--ease), color .35s, border-color .35s;
}
.filter-btn:hover { border-color: var(--fg); }
.filter-btn__count { font: .66rem var(--mono); opacity: .6; }
.filter-btn.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: clamp(64px, 9vh, 100px) clamp(16px, 7vw, 110px); opacity: 0; transition: opacity .35s var(--ease); }
.lightbox.is-open { opacity: 1; }
.lightbox__backdrop { position: absolute; inset: 0; background: rgba(10, 11, 12, .95); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox__figure { position: relative; z-index: 1; display: flex; flex-direction: column; max-width: 100%; max-height: 100%; }
.lightbox__stage { overflow: hidden; border-radius: 3px; cursor: zoom-in; touch-action: pan-y; }
.lightbox__stage.is-zoomed { cursor: zoom-out; touch-action: none; }
.lightbox__img {
    display: block; width: auto; height: auto; max-width: min(1400px, 100%); max-height: calc(100svh - 210px); margin: 0 auto;
    object-fit: contain; transform: scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .4s;
}
.lightbox.is-open .lightbox__img.is-ready { transform: none; opacity: 1; }
.lightbox__stage.is-zoomed .lightbox__img { transform: scale(2.2); transition: transform .45s var(--ease); }
.lightbox__caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem 1.25rem; padding-top: 1rem; color: var(--ivory); }
.lightbox__cat { font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.lightbox__title { font-size: 1rem; }
.lightbox__count { margin-left: auto; font: .7rem var(--mono); color: rgba(244, 246, 250, .55); }
.lightbox__btn {
    position: fixed; z-index: 2; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border-radius: 50%;
    background: rgba(244, 246, 250, .08); border: 1px solid rgba(244, 246, 250, .18); color: var(--ivory);
    transition: background .3s, color .3s;
}
.lightbox__btn:hover { background: var(--ivory); color: var(--ink); }
.lightbox__btn .icon { width: 22px; height: 22px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__zoom { top: 20px; right: 84px; }
.lightbox__zoom[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.lightbox__prev { left: 20px; top: 50%; margin-top: -26px; }
.lightbox__next { right: 20px; top: 50%; margin-top: -26px; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; isolation: isolate; overflow: hidden;
    padding-block: clamp(96px, 11vw, 172px); color: var(--ivory);
    background: radial-gradient(60% 80% at 85% 20%, rgba(223, 1, 14, .16), transparent 60%), linear-gradient(135deg, #0c2463 0%, #071026 70%);
}
.cta-band__lines { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.cta-band__lines svg { width: 100%; height: 100%; }
.cta-band__lines path { fill: none; stroke: rgba(122, 164, 255, .4); stroke-width: 1; vector-effect: non-scaling-stroke; }
.cta-band__lines circle { fill: var(--accent); }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 2.5rem 5rem; align-items: end; }
.cta-band__title { font-size: clamp(2.4rem, 1.2rem + 4vw, 5.2rem); line-height: 1.02; max-width: 15ch; }
.cta-band__side p { margin-bottom: 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Contact ---------- */
.contact-cta__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-cta__grid .lead { margin-top: 1.5rem; }
.contact-cta__form { padding: clamp(24px, 3.6vw, 52px); border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(244, 246, 250, .03); }
.contact-cta__form--light { background: var(--white); box-shadow: 0 40px 80px -50px rgba(7, 16, 38, .35); }
.contact-cta__form-title { margin-bottom: 1.5rem; }
.contact-mini { display: grid; gap: 1.1rem; margin-block: 2.2rem; }
.contact-mini li { display: flex; align-items: flex-start; gap: 1rem; color: var(--fg); }
.contact-mini .icon { width: 20px; height: 20px; margin-top: .2rem; color: var(--accent-text); }
.contact-mini a { transition: color .3s; }
.contact-mini a:hover { color: var(--accent-text); }

.form { display: grid; gap: 1.35rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; }
.field { display: grid; gap: .45rem; }
.field label { font: 500 .68rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
    width: 100%; padding: .8rem 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
    background: transparent; color: var(--fg); font-size: 1rem; outline: none;
    transition: border-color .3s, box-shadow .3s;
}
.field textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.field select {
    -webkit-appearance: none; appearance: none; padding-right: 1.5rem; cursor: pointer;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%23df010e' stroke-width='1.5'%3E%3Cpath d='m3 5 4 4 4-4'/%3E%3C/svg%3E") right center no-repeat;
}
.field select option { color: #111; background: #fff; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--accent-text); box-shadow: 0 1px 0 0 var(--accent-text); }
.field.is-invalid input, .field.is-invalid textarea { border-bottom-color: #d9735a; box-shadow: 0 1px 0 0 #d9735a; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: .5rem; }
.form__note { max-width: 38ch; font-size: .84rem; line-height: 1.5; }
.form__note.is-error { color: #e08b73; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card {
    display: flex; flex-direction: column; min-height: 280px; padding: 2rem;
    border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); color: var(--ink);
    transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s;
}
.contact-card__icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--accent-ink); border-radius: 50%; color: var(--accent-ink); }
.contact-card__icon .icon { width: 22px; height: 22px; }
.contact-card--wa .contact-card__icon { border-color: #1fa855; color: #1a8f48; }
.contact-card__k { margin-top: auto; padding-top: 2rem; font: 500 .68rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.contact-card__v { margin-top: .7rem; font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.contact-card__v--addr { font-size: 1.05rem; line-height: 1.55; letter-spacing: 0; }
.contact-card__cta { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; font-size: .9rem; font-weight: 500; color: var(--accent-ink); }
.contact-card__cta .icon { width: 16px; height: 16px; transition: transform .4s var(--ease); }

.map-section { position: relative; height: clamp(440px, 62vh, 640px); background: var(--graphite-2); }
.map-section__frame, .map-section__frame iframe { width: 100%; height: 100%; }
.map-section__frame iframe { border: 0; filter: grayscale(1) contrast(1.05) brightness(.92); }
.map-section__card-wrap { position: absolute; left: 0; right: 0; bottom: 2rem; pointer-events: none; }
.map-section__card { max-width: 380px; padding: 1.6rem 1.8rem; color: var(--ivory); pointer-events: auto; }
.map-section__card .label { margin-bottom: 1rem; }
.map-section__card address { margin-bottom: 1rem; color: rgba(244, 246, 250, .85); line-height: 1.6; }

/* ---------- Service detail ---------- */
.detail-intro__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.5rem clamp(40px, 7vw, 120px); }
.detail-intro__body > * + * { margin-top: 1.3rem; }
.glance { display: grid; grid-template-columns: auto 1fr; margin-top: 2.6rem !important; border-top: 1px solid var(--line); }
.glance__item { padding: 1.5rem 2.5rem 0 0; }
.glance__item + .glance__item { padding-left: 2.5rem; padding-right: 0; border-left: 1px solid var(--line); }
.glance__k { display: block; font: 500 .66rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.glance__v { display: block; margin-top: .6rem; font-size: 3.2rem; font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--fg); }
.glance__v--text { font-size: 1rem; font-weight: 400; line-height: 1.55; letter-spacing: 0; }

.creates__layout { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: stretch; }
.creates__media { position: relative; overflow: hidden; min-height: 440px; border-radius: 2px; }
.creates__media img { position: absolute; inset: 0; }
.creates__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.create-item { padding: clamp(24px, 2.6vw, 38px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.create-item__num { font: .7rem var(--mono); color: var(--accent-text); }
.create-item__title { margin: .9rem 0 .6rem; font-size: 1.2rem; font-weight: 500; letter-spacing: -.015em; }
.create-item p { font-size: .93rem; line-height: 1.65; }
.creates__layout--cards { display: block; }
.creates__layout--cards .creates__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creates__layout--cards .create-item { display: flex; flex-direction: column; padding: 14px 14px clamp(22px, 2vw, 30px); background: rgba(255, 255, 255, .45); transition: background .5s var(--ease); }
.creates__layout--cards .create-item > :not(.create-item__media) { padding-inline: clamp(6px, .8vw, 12px); }
.creates__layout--cards .create-item:hover { background: #fff; }
.create-item__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 1.3rem; border-radius: 2px; background: var(--paper); }
.create-item__media img, .translate__media img, .process__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.create-item:hover .create-item__media img, .translate__item:hover .translate__media img, .process__step:hover .process__media img { transform: scale(1.05); }

.apps { overflow: hidden; }
.apps__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 110px); }
.apps__types-title { margin-bottom: 0; }
.check-list { display: grid; margin-top: 2rem; border-top: 1px solid var(--line); }
.check-list li { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); color: var(--fg); }
.check-list .icon { width: 18px; height: 18px; color: var(--accent-text); }
.types-list { margin-top: 2rem; border-top: 1px solid var(--line); }
.types-list li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); transition: padding .45s var(--ease); }
.types-list__num { font: .7rem var(--mono); color: var(--accent-text); }
.types-list__name { font-size: 1.05rem; color: var(--fg); }
.types-list__wa { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; transition: background .3s, border-color .3s; }
.types-list__wa .icon { width: 17px; height: 17px; color: var(--wa); }
.types-list__wa:hover { background: var(--wa); border-color: var(--wa); }
.types-list__wa:hover .icon { color: #06170c; }

.detail-gallery__grid { display: grid; gap: clamp(16px, 2vw, 28px); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-gallery__grid .gallery-card { display: flex; flex-direction: column; }
.detail-gallery__grid .gallery-card__btn img { aspect-ratio: 4 / 3; height: auto; }
.detail-gallery__grid--3 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.detail-gallery__grid--4 { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr); }
.detail-gallery__grid--3 > :first-child, .detail-gallery__grid--4 > :first-child { grid-row: span 2; }
.detail-gallery__grid--3 > :first-child .gallery-card__btn, .detail-gallery__grid--4 > :first-child .gallery-card__btn { flex: 1; min-height: 320px; }
.detail-gallery__grid--3 > :first-child .gallery-card__btn img, .detail-gallery__grid--4 > :first-child .gallery-card__btn img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
.detail-gallery__grid--4 > :nth-child(4) { grid-column: 2 / span 2; }
.detail-gallery__grid--4 > :nth-child(4) .gallery-card__btn img { aspect-ratio: 16 / 7; }

/* ---------- About ---------- */
.translate__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.translate__item { display: flex; flex-direction: column; min-height: 270px; padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .5s; }
.translate__num { font: .7rem var(--mono); color: var(--accent-text); }
.translate__title { margin: 1rem 0 .7rem; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; }
.translate__item p { font-size: .95rem; }
.translate__arrow { display: inline-flex; align-items: center; gap: .5rem; margin-top: auto; padding-top: 1.5rem; font: 500 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.translate__arrow .icon { width: 14px; height: 14px; }
.translate__media { position: relative; overflow: hidden; aspect-ratio: 16 / 10; margin: calc(clamp(28px, 3vw, 44px) * -.55) calc(clamp(28px, 3vw, 44px) * -.55) 1.6rem; border-radius: 2px; background: var(--paper); }
.approach { overflow: hidden; }
.approach__grid { position: relative; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 3rem clamp(40px, 6vw, 110px); }
.approach__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem 3rem; }
.approach__col { padding-top: 1.5rem; border-top: 1px solid var(--line); }
.approach__col .h4 { margin-bottom: .8rem; }
.materials__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.materials__media { overflow: hidden; aspect-ratio: 4 / 3.2; border-radius: 2px; }
.materials .lead { margin-top: 1.5rem; }

/* ---------- Services page ---------- */
.svc-nav {
    position: sticky; top: 72px; z-index: 50;
    background: rgba(244, 246, 250, .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(7, 16, 38, .08); color: var(--ink);
    transition: top .6s var(--ease);
}
.header-hidden .svc-nav { top: 0; }
.svc-nav__list { display: flex; gap: .25rem; padding-block: .7rem; overflow-x: auto; scrollbar-width: none; }
.svc-nav__list::-webkit-scrollbar { display: none; }
.svc-nav__list a { display: flex; align-items: center; gap: .5rem; padding: .55rem .9rem; border-radius: 999px; font-size: .85rem; white-space: nowrap; transition: background .3s, color .3s; }
.svc-nav__list a span { font: .64rem var(--mono); color: var(--accent-ink); transition: color .3s; }
.svc-nav__list a:hover, .svc-nav__list a.is-active { background: var(--ink); color: var(--ivory); }
.svc-nav__list a:hover span, .svc-nav__list a.is-active span { color: var(--accent-2); }

.svc-block { padding-block: clamp(72px, 8vw, 132px); background: var(--ivory); color: var(--ink); border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.svc-block:nth-child(even) { background: var(--paper); }
.svc-block__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.svc-block--reverse .svc-block__media { order: 2; }
.svc-block__media { position: relative; }
.svc-block__frame { display: block; overflow: hidden; aspect-ratio: 4 / 3.3; border-radius: 2px; }
.svc-block__frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc-block__big-num {
    position: absolute; top: -.5em; right: -.05em; pointer-events: none;
    font-size: clamp(5rem, 10vw, 11rem); font-weight: 300; line-height: 1; letter-spacing: -.06em;
    color: transparent; -webkit-text-stroke: 1px rgba(7, 16, 38, .28);
}
.svc-block--reverse .svc-block__big-num { right: auto; left: -.05em; }
.svc-block__body .label { margin-bottom: 1.2rem; }
.svc-block__title { margin-bottom: 1.25rem; font-size: clamp(2rem, 1.1rem + 2.6vw, 3.4rem); }
.svc-block__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; margin-block: 2rem 0; border-top: 1px solid var(--line); }
.svc-block__list li { display: flex; align-items: center; gap: .7rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.svc-block__list .icon { width: 14px; height: 14px; color: var(--accent-ink); }

/* ---------- Project detail ---------- */
.project-detail__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(40px, 5vw, 90px); align-items: start; }
.project-detail__zoom { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; border-radius: 3px; overflow: hidden; cursor: zoom-in; }
.project-detail__zoom img { width: 100%; transition: transform 1.3s var(--ease); }
.project-detail__body { position: sticky; top: calc(var(--header-h) + 24px); }
.project-detail__body .h4 { margin-top: .5rem; }
.check-list--light { margin-top: 1rem; }
.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: clamp(64px, 7vw, 110px); border-top: 1px solid var(--line); }
.pager__link { display: flex; flex-direction: column; gap: .6rem; padding: 2rem 0; color: var(--fg); }
.pager__link--next { align-items: flex-end; text-align: right; }
.pager__dir { display: inline-flex; align-items: center; gap: .5rem; font: 500 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.pager__dir .icon { width: 14px; height: 14px; }
.pager__title { font-size: clamp(1.2rem, 1rem + 1vw, 1.8rem); font-weight: 500; letter-spacing: -.02em; transition: transform .5s var(--ease); }

/* ---------- 404 ---------- */
.notfound { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; display: flex; align-items: center; padding-top: var(--header-h); background: var(--ink); color: var(--ivory); }
.notfound .blueprint-grid { z-index: -1; }
.notfound__inner { position: relative; z-index: 1; }
.notfound .h1 { max-width: 16ch; margin-bottom: 1.5rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { position: relative; overflow: hidden; padding-top: clamp(80px, 9vw, 140px); background: var(--ink); color: var(--ivory); }
.site-footer__grid-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(244,246,250,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(244,246,250,.035) 1px, transparent 1px); background-size: 96px 96px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.site-footer .container { position: relative; }
.site-footer__top { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr); gap: 3rem clamp(40px, 6vw, 110px); padding-bottom: clamp(56px, 6vw, 96px); border-bottom: 1px solid var(--line); }
.site-footer__logo {
    display: inline-block; margin-bottom: 2rem; padding: 14px 18px; border-radius: 12px; background: #fff;
    box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6); transition: transform .5s var(--ease);
}
.site-footer__logo:hover { transform: translateY(-3px); }
.site-footer__logo img { height: 56px; width: auto; }
.site-footer__lead { font-size: clamp(1.8rem, 1.2rem + 2vw, 2.9rem); font-weight: 500; line-height: 1.08; letter-spacing: -.03em; color: var(--ivory); max-width: 16ch; }
.site-footer__tag { margin-top: 1.5rem; max-width: 44ch; }
.site-footer__ctas { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.site-footer__cols { display: grid; grid-template-columns: .8fr 1fr 1.3fr; gap: 2rem; }
.site-footer__heading { margin-bottom: 1.3rem; font: 500 .68rem/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-2); }
.site-footer__col li + li { margin-top: .75rem; }
.site-footer__col a { position: relative; color: rgba(244, 246, 250, .76); font-size: .95rem; transition: color .3s; }
.site-footer__col a:hover { color: var(--ivory); }
.site-footer__col address { display: grid; gap: 1rem; }
.site-footer__col address a { display: inline-flex; align-items: flex-start; gap: .6rem; line-height: 1.55; }
.site-footer__col address .icon { width: 16px; height: 16px; margin-top: .2rem; color: var(--accent-2); }
.site-footer__address { display: block !important; }

/* Footer — areas we serve */
.site-footer__areas { padding-block: clamp(48px, 5vw, 80px); border-bottom: 1px solid var(--line); }
.fa-card {
    position: relative; overflow: hidden; isolation: isolate;
    padding: clamp(22px, 3.4vw, 52px); border-radius: 28px;
    background: linear-gradient(155deg, #0e2156 0%, #0a1838 42%, #081230 100%);
    border: 1px solid rgba(244, 246, 250, .1);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 50px 100px -50px rgba(0, 0, 0, .8);
}
.fa-card::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px;
    background: linear-gradient(120deg, rgba(223, 1, 14, .7), rgba(244, 246, 250, .05) 30%, rgba(244, 246, 250, .04) 70%, rgba(10, 71, 184, .9));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
}
.fa-card__glow {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(40% 55% at 100% 0%, rgba(10, 71, 184, .45), transparent 70%),
        radial-gradient(35% 45% at 0% 100%, rgba(223, 1, 14, .22), transparent 70%);
}
.fa-card__grid {
    position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .6;
    background-image: linear-gradient(rgba(244, 246, 250, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(244, 246, 250, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(70% 80% at 80% 0%, #000, transparent 75%); mask-image: radial-gradient(70% 80% at 80% 0%, #000, transparent 75%);
}

.fa-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.75rem 3rem; margin-bottom: clamp(28px, 3vw, 44px); }
.fa-head .site-footer__heading { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.fa-head__title { font-size: clamp(1.6rem, 1.05rem + 2vw, 2.9rem); font-weight: 500; line-height: 1.05; letter-spacing: -.035em; color: var(--ivory); max-width: 20ch; }
.fa-head__title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-2); }
.fa-stats { display: flex; border: 1px solid rgba(244, 246, 250, .12); border-radius: 18px; background: rgba(7, 16, 38, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.fa-stats li { display: grid; gap: .35rem; padding: 1rem 1.5rem; text-align: center; }
.fa-stats li + li { border-left: 1px solid rgba(244, 246, 250, .1); }
.fa-stats strong { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: var(--ivory); }
.fa-stats span { font: 500 .6rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 246, 250, .6); }

.fa-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) repeat(3, minmax(0, 1fr)); gap: 1rem; }
.fa-panel {
    position: relative; padding: 1.1rem 1.1rem 1.2rem; border-radius: 18px;
    background: linear-gradient(180deg, rgba(244, 246, 250, .055), rgba(244, 246, 250, .015));
    border: 1px solid rgba(244, 246, 250, .09);
    transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.fa-panel::after { content: ""; position: absolute; left: 1.1rem; right: 1.1rem; top: 0; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--accent), var(--blue-2)); transform: scaleX(.18); transform-origin: left; transition: transform .6s var(--ease); }
.fa-panel__head { display: flex; align-items: center; gap: .8rem; padding-bottom: .95rem; margin-bottom: .55rem; border-bottom: 1px dashed rgba(244, 246, 250, .14); }
.fa-panel__badge { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(145deg, var(--accent), #8c0008); box-shadow: 0 10px 24px -10px rgba(223, 1, 14, .8); color: #fff; }
.fa-panel__badge .icon { width: 18px; height: 18px; }
.fa-panel__titles { display: grid; gap: .3rem; flex: 1; min-width: 0; }
.fa-panel__num { font: 500 .58rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 246, 250, .5); }
.fa-panel__title { font-size: 1.02rem; font-weight: 600; line-height: 1.2; letter-spacing: -.01em; color: var(--ivory); }
.fa-panel__count { display: grid; place-items: center; flex: none; min-width: 34px; height: 34px; padding: 0 .5rem; border-radius: 999px; background: rgba(244, 246, 250, .08); border: 1px solid rgba(244, 246, 250, .14); font: 600 .72rem/1 var(--mono); color: var(--ivory); }
.fa-panel--wide .fa-list { columns: 2; column-gap: 1.2rem; }
.fa-list li { break-inside: avoid; }
.fa-list a {
    display: flex; align-items: center; gap: .6rem; padding: .42rem .5rem; margin-inline: -.5rem; border-radius: 8px;
    font-size: .88rem; line-height: 1.3; color: rgba(244, 246, 250, .72);
    transition: color .3s, background .3s;
}
.fa-list__dot { flex: none; width: 5px; height: 5px; border-radius: 50%; background: rgba(244, 246, 250, .28); transition: background .3s, box-shadow .3s; }
.fa-list__go { display: grid; place-items: center; margin-left: auto; opacity: 0; transform: translate(-4px, 4px); transition: opacity .3s, transform .4s var(--ease); color: var(--accent-2); }
.fa-list__go .icon { width: 12px; height: 12px; }
.fa-list a:hover, .fa-list a:focus-visible { color: #fff; background: rgba(244, 246, 250, .06); }
.fa-list a:hover .fa-list__dot { background: var(--accent-2); box-shadow: 0 0 0 4px rgba(255, 75, 85, .18); }
.fa-list a:hover .fa-list__go { opacity: 1; transform: none; }

.fa-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-top: clamp(22px, 2.4vw, 32px); padding: 1rem 1rem 1rem 1.25rem; border-radius: 18px; background: rgba(7, 16, 38, .5); border: 1px solid rgba(244, 246, 250, .09); }
.fa-strip__text { display: flex; align-items: center; gap: .75rem; font-size: .92rem; line-height: 1.45; color: rgba(244, 246, 250, .75); }
.fa-strip__text strong { color: var(--ivory); font-weight: 600; }
.fa-strip__text > .icon { flex: none; width: 18px; height: 18px; color: var(--accent-2); }
.fa-strip__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.fa-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: 0 1.2rem; border-radius: 999px; font-size: .88rem; font-weight: 600; transition: transform .4s var(--ease), background .3s, box-shadow .4s; }
.fa-btn .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.fa-btn--light { background: var(--ivory); color: var(--ink); }
.fa-btn--light .icon { color: var(--accent); }
.fa-btn--light:hover { box-shadow: 0 14px 30px -14px rgba(244, 246, 250, .6); }
.fa-btn--light:hover .icon { transform: translateX(3px); }
.fa-btn--wa { background: var(--wa); color: #06170c; }
.fa-btn--wa:hover { box-shadow: 0 14px 30px -14px rgba(37, 211, 102, .8); }
.fa-btn:hover { transform: translateY(-2px); }
.site-footer__word {
    margin-top: clamp(40px, 5vw, 72px); text-align: center; white-space: nowrap; user-select: none;
    font-size: clamp(2.4rem, 12.6vw, 13rem); font-weight: 600; line-height: .82; letter-spacing: -.05em;
    color: transparent; -webkit-text-stroke: 1px rgba(244, 246, 250, .22);
    background: linear-gradient(180deg, rgba(223, 1, 14, .22), transparent 70%); -webkit-background-clip: text; background-clip: text;
}
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; padding-block: 1.75rem; margin-top: clamp(24px, 3vw, 40px); border-top: 1px solid var(--line); font-size: .84rem; color: var(--muted); }
.site-footer__bottom p { color: inherit; line-height: 1.5; }
.site-footer__meta { display: flex; gap: 2rem; }
.site-footer__top-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--ivory); }
.site-footer__top-link .icon { width: 14px; height: 14px; transform: rotate(-45deg); }

/* ---------- Floating WhatsApp + mobile bar ---------- */
.wa-float {
    position: fixed; right: clamp(16px, 2vw, 28px); bottom: clamp(16px, 2vw, 28px); z-index: 80;
    display: flex; align-items: center; height: 58px; padding: 0 1.05rem; border-radius: 999px;
    background: rgba(10, 22, 50, .92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    color: var(--ivory); border: 1px solid rgba(244, 246, 250, .12); box-shadow: 0 20px 44px -14px rgba(0, 0, 0, .55);
    transition: border-color .4s, transform .4s var(--ease);
}
.wa-float .icon { width: 26px; height: 26px; color: var(--wa); }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .88rem; font-weight: 500; transition: max-width .6s var(--ease), margin .6s var(--ease); }
.wa-float:hover, .wa-float:focus-visible { border-color: rgba(37, 211, 102, .6); }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 200px; margin-left: .65rem; }

.mobile-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: none; grid-template-columns: 1fr 1.3fr; gap: 8px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(7, 16, 38, .92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-top: 1px solid rgba(244, 246, 250, .1);
}
.mobile-bar__btn { display: flex; align-items: center; justify-content: center; gap: .5rem; height: 50px; border-radius: 999px; border: 1px solid rgba(244, 246, 250, .2); color: var(--ivory); font-weight: 500; }
.mobile-bar__btn .icon { width: 20px; height: 20px; }
.mobile-bar__btn--wa { background: var(--wa); border-color: var(--wa); color: #06170c; }

html.is-locked, html.is-locked body { overflow: hidden; }

/* ---------- Location pages ---------- */
.hero__crumbs { margin-bottom: 1.25rem; }
.hero__crumbs .breadcrumbs ol { color: rgba(244, 246, 250, .78); text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.hero__crumbs .breadcrumbs [aria-current] { color: var(--ivory); }

.loc-facts { display: grid; gap: 0; margin-block: 2rem; border-top: 1px solid var(--line); }
.loc-facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding-block: .95rem; border-bottom: 1px solid var(--line); }
.loc-facts dt { font: 500 .68rem/1.9 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.loc-facts dd { margin: 0; color: var(--fg); line-height: 1.55; }

.loc-area .h2, .faq .h2 { margin-bottom: 1.25rem; }
.loc-area__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 88px); align-items: center; }
.loc-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-block: 2rem; }
.loc-links a, .loc-card {
    display: flex; align-items: center; gap: .7rem; padding: .85rem 1rem;
    background: var(--card-bg); border: 1px solid var(--line); border-radius: var(--radius);
    color: var(--fg); font-size: .92rem; line-height: 1.35;
    transition: border-color .3s, transform .4s var(--ease), box-shadow .4s var(--ease);
}
.loc-links .icon { width: 16px; height: 16px; flex: none; color: var(--accent-text); }
.loc-links a:hover, .loc-links a:focus-visible { border-color: var(--blue); }
.loc-area__map { position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.loc-area__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(1.05); }
.loc-area__card {
    position: absolute; left: 16px; bottom: 16px; max-width: calc(100% - 32px); padding: 1.1rem 1.25rem;
    background: rgba(7, 16, 38, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    color: var(--ivory); border-radius: var(--radius); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .6);
    --fg: var(--ivory); --accent-text: var(--accent-2);
}
.loc-area__k { display: flex; align-items: center; gap: .45rem; margin-bottom: .4rem; font: 500 .66rem var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-2); }
.loc-area__k .icon { width: 14px; height: 14px; }
.loc-area__card address { font-style: normal; font-size: .9rem; line-height: 1.55; margin-bottom: .6rem; color: rgba(244, 246, 250, .86); }

.faq__grid { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(32px, 5vw, 96px); align-items: start; }
.faq__grid > div:first-child { position: sticky; top: calc(var(--header-h) + 24px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.35rem; cursor: pointer; list-style: none; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); font-weight: 500; color: var(--fg); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; transition: transform .4s var(--ease), background .3s, color .3s; }
.faq__icon .icon { width: 16px; height: 16px; }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--ink); color: var(--ivory); border-color: var(--ink); }
.faq__a { padding-bottom: 1.5rem; max-width: 62ch; }
.faq__a p { color: var(--muted); line-height: 1.75; }
.faq__q-text { margin: 0; font: inherit; letter-spacing: inherit; color: inherit; }
.faq .section-head__text a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* SEO content block */
.seo-content .chip-list { margin-block: 1.6rem 0; }
.seo-content__links { display: flex; flex-wrap: wrap; gap: .8rem 2rem; margin-top: 1.8rem !important; }

/* Locations index */
.loc-group { margin-top: clamp(40px, 5vw, 72px); scroll-margin-top: calc(var(--header-h) + 72px); }
.loc-group__head { display: grid; grid-template-columns: auto 1fr auto; gap: 1.25rem 2rem; align-items: start; padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.loc-group__num { font: 500 .8rem var(--mono); color: var(--accent-text); padding-top: .5rem; }
.loc-group__title { margin-bottom: .5rem; }
.loc-group__head p { color: var(--muted); max-width: 64ch; }
.loc-group__count { font: 500 .7rem var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: .6rem; white-space: nowrap; }
.loc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: .75rem; }
.loc-card { height: 100%; padding: 1rem 1.1rem; }
.loc-card__icon { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 52, 138, .08); color: var(--blue); }
.loc-card__icon .icon { width: 17px; height: 17px; }
.loc-card__body { display: grid; gap: .15rem; flex: 1; min-width: 0; }
.loc-card__name { font-weight: 600; font-size: 1rem; }
.loc-card__sub { font-size: .78rem; color: var(--muted); }
.loc-card__arrow { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line); transition: background .3s, color .3s, transform .4s var(--ease); }
.loc-card__arrow .icon { width: 13px; height: 13px; }
.loc-card:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- Hover-only effects ---------- */
@media (hover: hover) and (pointer: fine) {
    .svc-row__link:hover::before { transform: scaleX(1); transform-origin: left; }
    .svc-row__link:hover .svc-row__title { transform: translateX(14px); }
    .svc-row__link:hover .svc-row__arrow { background: var(--fg); color: var(--bg); border-color: var(--fg); transform: rotate(45deg); }
    .service-card:hover, .project-card:hover { transform: translateY(-6px); box-shadow: 0 36px 70px -36px rgba(0, 0, 0, .45); }
    .service-card:hover .service-card__media img, .project-card:hover .project-card__media img { transform: scale(1.06); }
    .service-card:hover .service-card__title a, .project-card:hover .project-card__title a { background-size: 100% 1px; }
    .project-card:hover .project-card__view { opacity: 1; transform: none; }
    .gallery-card__btn:hover img, .project-detail__zoom:hover img { transform: scale(1.05); }
    .gallery-card__btn:hover::after { opacity: 1; }
    .gallery-card__btn:hover .gallery-card__zoom, .project-detail__zoom:hover .gallery-card__zoom { opacity: 1; transform: none; }
    .why__item:hover { background: rgba(244, 246, 250, .03); }
    .why__item:hover::before { transform: scaleX(1); }
    .translate__item:hover { background: rgba(7, 16, 38, .03); }
    .types-list li:hover { padding-left: .5rem; }
    .svc-block__frame:hover img { transform: scale(1.05); }
    .contact-card:hover { transform: translateY(-5px); box-shadow: 0 30px 60px -36px rgba(7, 16, 38, .4); border-color: rgba(7, 16, 38, .25); }
    .contact-card:hover .contact-card__cta .icon { transform: translateX(4px); }
    .pager__link:hover .pager__title { transform: translateX(6px); }
    .pager__link--next:hover .pager__title { transform: translateX(-6px); }
    .nav__item--mega:not(.is-suppressed):not(.nav__item--click):hover .mega, .nav__item--mega:not(.is-suppressed):not(.nav__item--click):focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
    .nav__item--mega:not(.is-suppressed):not(.nav__item--click):hover .nav__toggle .icon { transform: rotate(180deg); }
    .loc-card:hover { transform: translateY(-3px); border-color: rgba(0, 52, 138, .35); box-shadow: 0 24px 48px -30px rgba(7, 16, 38, .35); }
    .loc-card:hover .loc-card__arrow { background: var(--ink); color: var(--ivory); border-color: var(--ink); transform: rotate(45deg); }
    .loc-links a:hover { transform: translateX(4px); }
    .fa-panel:hover { transform: translateY(-4px); border-color: rgba(244, 246, 250, .2); box-shadow: 0 30px 60px -34px rgba(0, 0, 0, .8); }
    .fa-panel:hover::after { transform: scaleX(1); }
}
