/* ==========================================================================
   Interkasi Engineering & Supplies - homepage
   Brand: signal red + deep slate. Fonts are self-hosted (no external requests).
   Motif: the red "wire" from the logo - used for the hero line and the
   Commitment circuit, so the page feels drawn from the brand.
   ========================================================================== */

@font-face { font-family: 'Barlow Condensed'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-condensed-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow Condensed'; font-weight: 700; font-display: swap; src: url('../fonts/barlow-condensed-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 400; font-display: swap; src: url('../fonts/barlow-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 500; font-display: swap; src: url('../fonts/barlow-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-weight: 600; font-display: swap; src: url('../fonts/barlow-latin-600-normal.woff2') format('woff2'); }

:root {
  --red: #ed1c24;
  --red-dark: #c4121a;
  --ink: #0a1216;
  --ink-2: #111b21;
  --paper: #f3f4f2;
  --white: #fff;
  --text: #182126;
  --muted: #566167;
  --line: rgba(10, 18, 22, .12);
  --line-light: rgba(255, 255, 255, .16);
  --font-display: 'Barlow Condensed', 'Arial Narrow', 'Roboto Condensed', sans-serif;
  --font-body: 'Barlow', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 96px;
  --pad: clamp(64px, 8vw, 116px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, dl, dd { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: min(100% - 48px, 1240px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--ink); color: #fff; padding: 10px 16px; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.s-icon { width: 15px; height: 15px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border: 2px solid transparent; border-radius: 4px; font-weight: 600; font-size: 16px; letter-spacing: .01em; overflow: hidden; isolation: isolate; transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover::before { transform: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red::before { background: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark::before { background: var(--red); }
.btn-ghost { color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--ink); border-color: #fff; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 120; background: #fff; transition: box-shadow .3s var(--ease), background .3s; }
.site-header.is-scrolled { box-shadow: 0 8px 28px -14px rgba(10, 18, 22, .4); }
.header-inner { display: flex; align-items: stretch; min-height: var(--header-h); transition: min-height .35s var(--ease); }
.is-scrolled .header-inner { min-height: 76px; }

.brand { position: relative; display: flex; align-items: center; flex: none; padding: 12px 0; margin-right: clamp(64px, 10vw, 150px); }
.brand img { height: 68px; width: auto; transition: height .35s var(--ease), opacity .3s; }
.is-scrolled .brand img { height: 54px; }
.logo-light { position: absolute; left: 0; opacity: 0; }

.header-right { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 44px; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); overflow: hidden; transition: height .35s var(--ease), opacity .25s, border-color .35s; }
.is-scrolled .topbar { height: 0; opacity: 0; border-color: transparent; }
.topbar-contact { display: flex; align-items: center; gap: 30px; }
.topbar-contact li { display: flex; align-items: center; gap: 9px; white-space: nowrap; }
.ci { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--red); color: #fff; align-self: center; }
.ci svg { width: 13px; height: 13px; }
.topbar-contact a { color: var(--text); font-weight: 500; transition: color .2s; }
.topbar-contact a:hover { color: var(--red); }

.social { display: flex; gap: 8px; margin-left: auto; }
.social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: rgba(10, 18, 22, .07); transition: background .25s, color .25s; }
.social a:hover { background: var(--red); color: #fff; }

.navrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.primary-nav > ul { display: flex; height: 100%; }
.primary-nav > ul > li { position: relative; display: flex; }
.primary-nav a { position: relative; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 24px; font-weight: 600; font-size: 16px; color: var(--text); transition: color .25s; }
.primary-nav > ul > li > a::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--red); clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease); }
.primary-nav a > * { position: relative; z-index: 1; }
.primary-nav a:hover { color: var(--red); }
.primary-nav a.is-active { color: #fff; }
.primary-nav a.is-active::before { transform: scaleY(1); }
.caret { width: 7px; height: 7px; margin-top: -3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .25s var(--ease); }
.has-menu:hover .caret, .has-menu:focus-within .caret { transform: rotate(225deg) translate(-2px, -2px); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 260px; background: #fff; border-top: 3px solid var(--red); box-shadow: 0 22px 40px -18px rgba(10, 18, 22, .45); padding: 8px 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s; }
.has-menu:hover .submenu, .has-menu:focus-within .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { min-height: 0; padding: 12px 22px; font-weight: 500; font-size: 15.5px; border-left: 3px solid transparent; }
.submenu a:hover { background: var(--paper); border-left-color: var(--red); }
.btn-header { min-height: 46px; padding: 0 26px; font-size: 15px; }
/* Company Profile buttons: no focus outline ring */
.btn-header:focus, .btn-header:focus-visible, .drawer-foot .btn:focus, .drawer-foot .btn:focus-visible, .dock-quote:focus, .dock-quote:focus-visible { outline: none; }

/* Mobile toggle: label + two-line mark that crosses into an X */
.menu-toggle { display: none; align-self: center; margin-left: auto; align-items: center; gap: 12px; height: 44px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 4px; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; transition: color .3s, border-color .3s; }
.mt-bars { position: relative; width: 20px; height: 10px; }
.mt-bars i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform .4s var(--ease), top .4s var(--ease); }
.mt-bars i:first-child { top: 0; }
.mt-bars i:last-child { top: 8px; width: 60%; }
.menu-open .mt-bars i:first-child { top: 4px; transform: rotate(45deg); }
.menu-open .mt-bars i:last-child { top: 4px; width: 100%; transform: rotate(-45deg); }

/* ---------- Mobile drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 110; background: var(--ink); color: #fff; overflow-y: auto; visibility: hidden; clip-path: circle(0 at calc(100% - 58px) 36px); transition: clip-path .75s var(--ease), visibility 0s .75s; }
.menu-open .drawer { visibility: visible; clip-path: circle(160% at calc(100% - 58px) 36px); transition: clip-path .8s var(--ease), visibility 0s; }
.drawer::before { content: ""; position: absolute; right: -30%; top: -10%; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 28, 36, .28), transparent); pointer-events: none; }
.drawer-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 34px; min-height: 100%; padding: 104px 28px calc(30px + env(safe-area-inset-bottom)); }
.drawer-nav ul { position: relative; margin-left: 6px; padding-left: 30px; border-left: 2px solid rgba(255, 255, 255, .14); }
.drawer-nav li { opacity: 0; transform: translateX(26px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.menu-open .drawer-nav li { opacity: 1; transform: none; }
.menu-open .drawer-nav li:nth-child(1) { transition-delay: .25s; }
.menu-open .drawer-nav li:nth-child(2) { transition-delay: .32s; }
.menu-open .drawer-nav li:nth-child(3) { transition-delay: .39s; }
.menu-open .drawer-nav li:nth-child(4) { transition-delay: .46s; }
.menu-open .drawer-nav li:nth-child(5) { transition-delay: .53s; }
.drawer-nav a { position: relative; display: block; padding: 9px 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(46px, 14vw, 64px); line-height: 1.02; letter-spacing: -.01em; color: rgba(255, 255, 255, .72); transition: color .25s, transform .3s var(--ease); }
.drawer-nav a::before { content: ""; position: absolute; left: -38px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 2px solid rgba(255, 255, 255, .3); transition: background .25s, border-color .25s, box-shadow .25s; }
.drawer-nav a:hover, .drawer-nav a:active { color: #fff; transform: translateX(6px); }
.drawer-nav a.is-active { color: #fff; }
.drawer-nav a.is-active::before, .drawer-nav a:hover::before { background: var(--red); border-color: var(--red); box-shadow: 0 0 0 6px rgba(237, 28, 36, .22); }
.drawer-foot { display: grid; gap: 6px; padding-top: 26px; border-top: 1px solid var(--line-light); opacity: 0; transform: translateY(16px); transition: opacity .5s .55s var(--ease), transform .5s .55s var(--ease); }
.menu-open .drawer-foot { opacity: 1; transform: none; }
.drawer-label { font-size: 14px; color: rgba(255, 255, 255, .55); }
.drawer-phone { font-family: var(--font-display); font-weight: 700; font-size: 34px; line-height: 1.1; }
.drawer-mail { color: rgba(255, 255, 255, .8); word-break: break-all; }
.drawer-addr { color: rgba(255, 255, 255, .55); font-size: 15px; margin-bottom: 14px; }
.drawer-foot .btn { width: 100%; }

/* Header turns dark while the drawer is open */
.menu-open .site-header { background: transparent; box-shadow: none; }
.menu-open .menu-toggle { color: #fff; border-color: rgba(255, 255, 255, .6); }
.menu-open .logo-dark { opacity: 0; }
.menu-open .logo-light { opacity: 1; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: calc(100vh - var(--header-h)); min-height: calc(100svh - var(--header-h)); max-height: 880px; color: #fff; overflow: hidden; background: #0a1216; }
.hero-media { position: absolute; inset: 0; z-index: -3; background: radial-gradient(90% 80% at 75% 25%, #24424f 0%, #0d171c 70%); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 70% 45%; animation: settle 22s ease-out both; }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 12, 15, .95) 0%, rgba(7, 12, 15, .82) 34%, rgba(7, 12, 15, .4) 68%, rgba(7, 12, 15, .22) 100%),
    linear-gradient(0deg, rgba(7, 12, 15, .9) 0%, rgba(7, 12, 15, 0) 42%),
    linear-gradient(180deg, rgba(7, 12, 15, .5) 0%, rgba(7, 12, 15, 0) 24%); }

.hero-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 72px 64px; }
.hero-sub { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; font-weight: 600; font-size: 18px; color: rgba(255, 255, 255, .86); }
.hero-sub::before { content: ""; width: 44px; height: 3px; background: var(--red); transform-origin: left; animation: grow .9s .35s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: none; } }
.hero h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(60px, 9vw, 128px); line-height: .94; letter-spacing: -.01em; }
.hero h1 span { display: block; color: rgba(255, 255, 255, .55); }
.hero-lead { margin-top: 28px; max-width: 31em; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: rgba(255, 255, 255, .85); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

.hero-facts { position: relative; border-top: 1px solid var(--line-light); background: rgba(7, 12, 15, .62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero-facts dl { display: grid; grid-template-columns: repeat(4, 1fr); }
.hero-facts dl > div { padding: 24px 24px 24px 28px; border-left: 1px solid var(--line-light); }
.hero-facts dl > div:first-child { padding-left: 0; border-left: 0; }
.hero-facts dt { font-family: var(--font-display); font-weight: 700; font-size: 40px; line-height: 1; }
.hero-facts dd { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .66); }
.wire { position: absolute; left: 0; top: -1px; height: 2px; width: 0; background: var(--red); animation: wire 2s 1.1s var(--ease) forwards; }
.wire::after { content: ""; position: absolute; right: -5px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(237, 28, 36, .5), 0 0 18px 4px rgba(237, 28, 36, .8); animation: node 2s 1.1s linear forwards; }
@keyframes wire { to { width: 100%; } }
@keyframes node { 0%, 88% { opacity: 1; } 100% { opacity: 0; } }

.js .rise { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { padding: var(--pad) 0; }
.kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 600; font-size: 16px; color: var(--red); }
.kicker::before { content: ""; width: 9px; height: 9px; background: var(--red); }
.section h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.005em; color: var(--ink); }
.lead { margin-top: 20px; color: var(--muted); font-size: 18px; line-height: 1.7; max-width: 34em; }
.lead + .lead { margin-top: 14px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }

/* About */
.frame { position: relative; z-index: 0; aspect-ratio: 4 / 4.5; background: linear-gradient(150deg, #24424f, var(--ink)); border-radius: 4px; }
.frame::before { content: ""; position: absolute; z-index: -1; inset: 20px -20px -20px 20px; border: 2px solid var(--red); border-radius: 4px; }
.frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.frame figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 70px 26px 24px; border-radius: 0 0 4px 4px; background: linear-gradient(0deg, rgba(7, 12, 15, .9), transparent); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.1; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 34px 0; }
.pair > div { padding-top: 16px; border-top: 2px solid var(--red); }
.pair dt { font-family: var(--font-display); font-weight: 700; font-size: 25px; line-height: 1.1; color: var(--ink); }
.pair dd { margin-top: 6px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.reg-note { margin-top: 24px; max-width: 34em; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Commitment: a circuit with three nodes */
.commit { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.commit::before { content: ""; position: absolute; right: -10%; top: -30%; width: 55%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(237, 28, 36, .2), transparent); }
.commit .container { position: relative; }
.commit h2 { color: #fff; max-width: 11em; }
.commit-list { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; margin-top: 72px; }
.commit-list::before, .commit-list::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(255, 255, 255, .16); }
.commit-list::after { background: var(--red); transform-origin: left; transition: transform 2s .3s var(--ease); }
.js .commit-list::after { transform: scaleX(0); }
.js .commit-list.is-in::after { transform: scaleX(1); }
.commit-item { position: relative; padding-top: 52px; }
.commit-item::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 7px var(--ink), 0 0 0 9px rgba(237, 28, 36, .55); z-index: 1; }
.commit-item h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 3.6vw, 48px); line-height: 1; }
.commit-item p { margin-top: 16px; max-width: 22em; font-size: 18px; line-height: 1.65; color: rgba(255, 255, 255, .72); }

/* Services: a spec sheet */
.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.services-intro { position: sticky; top: 120px; }
.services-intro .btn { margin-top: 32px; }
.spec { border-bottom: 1px solid var(--line); }
.spec li { position: relative; padding: 34px 0 34px 0; border-top: 1px solid var(--line); transition: padding .4s var(--ease), background .4s; }
.spec li::before { content: ""; position: absolute; left: 0; top: -1px; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.spec li:hover { padding-left: 28px; }
.spec li:hover::before { transform: scaleY(1); }
.spec h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.4vw, 44px); line-height: 1; color: var(--ink); }
.spec p { margin-top: 10px; max-width: 28em; color: var(--muted); font-size: 17.5px; line-height: 1.6; }

/* CTA */
.cta { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.cta-media { position: absolute; inset: 0; z-index: -3; background: radial-gradient(80% 120% at 80% 30%, #2a4756, var(--ink)); }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(7, 12, 15, .94) 0%, rgba(7, 12, 15, .8) 50%, rgba(120, 8, 14, .55) 100%); }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.cta-inner { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; padding-block: clamp(72px, 9vw, 120px); }
.cta h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 5vw, 68px); line-height: 1; max-width: 13em; color: #fff; }
.cta p { margin-top: 16px; max-width: 32em; font-size: 18px; color: rgba(255, 255, 255, .85); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--ink-2); color: rgba(255, 255, 255, .7); font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr 1.2fr 1.1fr; }
.f-col { padding: 64px 36px; }
.f-col:first-child { padding-left: 0; }
.f-col + .f-col { border-left: 1px solid var(--line-light); }
.footer-logo { display: inline-block; padding: 10px 14px; border-radius: 4px; background: #fff; }
.footer-logo img { height: 56px; width: auto; }
.f-brand > p { margin-top: 22px; max-width: 26em; line-height: 1.7; }
.footer-social { margin: 22px 0 0; }
.footer-social a { background: rgba(255, 255, 255, .1); color: #fff; }
.f-col h3 { margin-bottom: 22px; font-family: var(--font-display); font-weight: 700; font-size: 26px; line-height: 1; color: #fff; }
.f-links { display: grid; gap: 12px; }
.f-links a { display: inline-block; transition: color .2s, transform .3s var(--ease); }
.f-links a:hover { color: #fff; transform: translateX(5px); }
.f-contact { display: grid; gap: 18px; }
.f-contact dt { font-size: 13.5px; font-weight: 600; color: var(--red); }
.f-contact dd { color: #fff; line-height: 1.5; }
.f-contact .with-ci { display: flex; align-items: flex-start; gap: 12px; }
.f-contact .with-ci .ci { margin-top: 1px; }
.f-contact a:hover { text-decoration: underline; text-underline-offset: 4px; }
.map-frame { border-radius: 4px; overflow: hidden; border: 1px solid var(--line-light); background: #1a2a32; aspect-ratio: 16 / 11; }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.f-bottom { border-top: 1px solid var(--line-light); }
.f-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 22px; font-size: 14.5px; color: rgba(255, 255, 255, .5); }

/* Mobile action bar */
.dock { display: none; }

/* Scroll reveal (light touch) */
.js [data-reveal] { opacity: 0; transform: translateY(var(--from, 24px)); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1240px) {
  .topbar-address { display: none; }
  .brand { margin-right: 48px; }
  .primary-nav a { padding: 0 18px; }
}

@media (max-width: 1020px) {
  :root { --header-h: 72px; --pad: 76px; }
  .brand { margin-right: 0; padding: 10px 0; }
  .brand img { height: 48px; }
  .is-scrolled .brand img { height: 44px; }
  .is-scrolled .header-inner { min-height: 64px; }
  .header-right { display: none; }
  .menu-toggle { display: inline-flex; }
  .container { width: min(100% - 40px, 1240px); }

  .hero { min-height: calc(100svh - var(--header-h)); max-height: none; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: rgba(7, 12, 15, .15); }
  .hero-shade { background: linear-gradient(0deg, rgba(7, 12, 15, .96) 0%, rgba(7, 12, 15, .82) 38%, rgba(7, 12, 15, .45) 70%, rgba(7, 12, 15, .6) 100%); }
  .hero-body { justify-content: flex-end; padding-block: 56px 38px; }
  .hero-sub { flex-direction: column; align-items: flex-start; gap: 14px; font-size: 16px; margin-bottom: 18px; }
  .hero h1 { font-size: clamp(54px, 15.5vw, 108px); line-height: .92; }
  .hero-lead { margin-top: 22px; font-size: 17.5px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn { flex: 1 1 100%; min-height: 56px; }
  .hero-facts dl { grid-template-columns: 1fr 1fr; }
  .hero-facts dl > div, .hero-facts dl > div:first-child { padding: 20px 14px 20px 0; border-left: 0; }
  .hero-facts dl > div:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line-light); }
  .hero-facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line-light); }
  .hero-facts dt { font-size: 34px; }
  .hero-facts dd { font-size: 14.5px; }

  .split { grid-template-columns: 1fr; gap: 56px; }
  .frame { aspect-ratio: 4 / 3.6; margin-right: 14px; }
  .frame::before { inset: 14px -14px -14px 14px; }
  .commit-list { grid-template-columns: 1fr; gap: 44px; margin-top: 48px; padding-left: 44px; }
  .commit-list::before, .commit-list::after { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .commit-list::after { transform-origin: top; }
  .js .commit-list::after { transform: scaleY(0); }
  .js .commit-list.is-in::after { transform: scaleY(1); }
  .commit-item { padding-top: 0; }
  .commit-item::before { left: -44px; top: 6px; }
  .commit-item p { max-width: 30em; }
  .services-grid { grid-template-columns: 1fr; gap: 44px; }
  .services-intro { position: static; }
  .spec li:hover { padding-left: 0; }
  .spec li:hover::before { transform: scaleY(0); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .f-col, .f-col:first-child { padding: 44px 28px 44px 0; }
  .f-col + .f-col { border-left: 0; }
  .f-col:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line-light); }
  .f-brand { grid-column: 1 / -1; border-bottom: 1px solid var(--line-light); }
  .f-brand + .f-col { padding-left: 0; border-left: 0; }

  .dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; display: grid; grid-template-columns: 1fr 1.5fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .45s var(--ease); }
  .dock.is-visible { transform: none; }
  .menu-open .dock { transform: translateY(110%); }
  .dock a { display: grid; place-items: center; min-height: 50px; border-radius: 4px; font-weight: 600; font-size: 16px; }
  .dock-call { border: 1.5px solid var(--ink); color: var(--ink); }
  .dock-quote { background: var(--red); color: #fff; }
  .f-bottom { padding-bottom: 72px; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .lead { font-size: 17px; }
  .section h2 { font-size: clamp(40px, 12vw, 52px); }
  .pair { grid-template-columns: 1fr; gap: 22px; }
  .frame figcaption { font-size: 23px; padding: 56px 20px 20px; }
  .spec li { padding: 28px 0; }
  .cta-inner { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { flex: 1 1 100%; min-height: 56px; }
  .footer-grid { grid-template-columns: 1fr; }
  .f-col, .f-col:first-child, .f-col:nth-child(even), .f-brand + .f-col { padding: 36px 0; border-left: 0; }
  .f-col + .f-col { border-top: 1px solid var(--line-light); }
  .f-brand { border-bottom: 0; }
  .f-bottom .container { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .js .rise, .js [data-reveal] { opacity: 1; transform: none; }
  .wire { width: 100%; }
}

/* ==========================================================================
   PROJECTS PAGE
   ========================================================================== */
.page-hero { min-height: 0; max-height: none; }
.page-hero .hero-body { justify-content: flex-end; padding-block: clamp(70px, 9vw, 120px) clamp(44px, 5vw, 64px); }
.page-hero h1 { font-size: clamp(64px, 10vw, 140px); }
.crumbs { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 600; font-size: 16px; color: rgba(255, 255, 255, .7); }
.crumbs a:hover { color: #fff; }
.crumbs span { display: flex; align-items: center; gap: 12px; color: #fff; }
.crumbs span::before { content: ""; width: 7px; height: 7px; background: var(--red); }
.facts-3 { grid-template-columns: repeat(3, 1fr) !important; }

.register { background: var(--paper); }
.register-bar { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 56px; }
.register-bar h2 { max-width: 12em; }
.filters { display: inline-flex; padding: 5px; gap: 4px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.filters button { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 4px; background: transparent; color: var(--text); font-weight: 600; font-size: 15.5px; transition: background .25s, color .25s; }
.filters button b { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; background: rgba(10, 18, 22, .08); font-size: 13px; }
.filters button:hover { background: rgba(10, 18, 22, .05); }
.filters button.is-on { background: var(--ink); color: #fff; }
.filters button.is-on b { background: var(--red); }

.proj-list { display: grid; gap: clamp(56px, 7vw, 96px); }
.proj { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 5vw, 76px); align-items: center; }
.proj:nth-child(even) .proj-visual { order: 2; }
.proj.is-filtered-out { display: none; }

.proj-visual { position: relative; z-index: 0; }
.proj-visual::before { content: ""; position: absolute; z-index: -1; inset: 18px 18px -18px -18px; border: 2px solid var(--red); border-radius: 4px; opacity: .85; transition: transform .5s var(--ease); }
.proj:nth-child(even) .proj-visual::before { inset: 18px -18px -18px 18px; }
.proj:hover .proj-visual::before { transform: translate(-6px, 6px); }
.proj:nth-child(even):hover .proj-visual::before { transform: translate(6px, 6px); }
.ph-box { position: relative; }
.ph-main, .ph-fallback { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; border-radius: 4px; overflow: hidden; background: var(--ink); }
.ph-main { cursor: zoom-in; }
.ph-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.ph-main:hover img { transform: scale(1.05); }
.ph-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 12, 15, .55), transparent 40%); pointer-events: none; }
.ph-zoom { position: absolute; z-index: 2; right: 16px; bottom: 16px; padding: 8px 14px; border-radius: 4px; background: rgba(255, 255, 255, .95); color: var(--ink); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease); }
.ph-main:hover .ph-zoom, .ph-main:focus-visible .ph-zoom { opacity: 1; transform: none; }
.ph-fallback { display: grid; place-items: center; background:
  radial-gradient(70% 90% at 80% 20%, rgba(237, 28, 36, .22), transparent 70%),
  linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0 / 44px 44px,
  linear-gradient(150deg, #1d3340, #0a1216); }
.ph-fallback span { font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7vw, 92px); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .45); text-align: center; padding: 0 20px; }
.ph-fallback i { position: absolute; left: 0; bottom: 0; width: 38%; height: 4px; background: var(--red); }
.on-photo { position: absolute; z-index: 3; left: 16px; top: 16px; }
.ph-type { position: absolute; z-index: 3; left: 16px; bottom: 16px; font-family: var(--font-display); font-weight: 600; font-size: 22px; color: #fff; }
.ph-main ~ .ph-type { text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.ph-fallback ~ .ph-type { display: none; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 0; border: 0; border-radius: 4px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink); cursor: zoom-in; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.thumbs button:hover img { transform: scale(1.08); opacity: .85; }

.status { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border-radius: 4px; font-weight: 600; font-size: 14.5px; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.status-ongoing { background: #fff; color: var(--red-dark); }
.status-ongoing::before { animation: pulse 1.8s ease-in-out infinite; }
.status-completed { background: var(--ink); color: #fff; }
.status-completed::before { border-radius: 0; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; background: none; transform: rotate(45deg) translate(-1px, -2px); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, .55); } 60% { box-shadow: 0 0 0 7px rgba(237, 28, 36, 0); } }

.period { margin-bottom: 12px; font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1; color: var(--red); }
.proj-body h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; color: var(--ink); }
.proj-facts { display: grid; gap: 16px; margin-top: 24px; }
.proj-facts dt, .scope-label { margin-bottom: 3px; font-size: 14px; font-weight: 600; color: var(--red); }
.proj-facts dd { font-size: 17.5px; line-height: 1.45; color: var(--text); font-weight: 500; }
.proj-scope { margin-top: 24px; padding-top: 20px; border-top: 1px dashed rgba(10, 18, 22, .2); }
.proj-scope ul { display: grid; gap: 7px; margin-top: 8px; }
.proj-scope li { position: relative; padding-left: 20px; font-size: 16.5px; line-height: 1.5; color: var(--muted); }
.proj-scope li::before { content: ""; position: absolute; left: 0; top: .6em; width: 8px; height: 8px; background: var(--red); }
.proj-empty { padding: 48px 0; font-size: 18px; color: var(--muted); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 56px 72px; background: rgba(7, 12, 15, .94); animation: fadeIn .3s; }
.lightbox[hidden] { display: none; }
.lightbox figure { max-width: min(1200px, 100%); max-height: 100%; display: grid; gap: 14px; justify-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 4px; }
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: 16px; text-align: center; }
.lb-close { position: absolute; top: 16px; right: 16px; min-height: 44px; padding: 0 18px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 4px; background: transparent; color: #fff; font-weight: 600; }
.lb-close:hover { background: #fff; color: var(--ink); }
.lb-nav { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; border: 1.5px solid rgba(255, 255, 255, .5); border-radius: 50%; background: transparent; }
.lb-nav::before { content: ""; position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border: solid #fff; border-width: 2.5px 2.5px 0 0; }
.lb-prev { left: 14px; } .lb-prev::before { transform: translateX(3px) rotate(-135deg); }
.lb-next { right: 14px; } .lb-next::before { transform: translateX(-3px) rotate(45deg); }
.lb-nav:hover { background: var(--red); border-color: var(--red); }
.lightbox.single .lb-nav { display: none; }
@keyframes fadeIn { from { opacity: 0; } }

@media (max-width: 1020px) {
  .page-hero .hero-body { padding-block: 64px 40px; }
  .proj { grid-template-columns: 1fr; gap: 36px; }
  .proj:nth-child(even) .proj-visual { order: 0; }
  .proj-visual::before, .proj:nth-child(even) .proj-visual::before { inset: 12px -12px -12px 12px; }
  .proj:hover .proj-visual::before, .proj:nth-child(even):hover .proj-visual::before { transform: none; }
  .ph-zoom { opacity: 1; transform: none; }
  .register-bar { align-items: flex-start; margin-bottom: 44px; }
  .filters { width: 100%; }
  .filters button { flex: 1; justify-content: center; padding: 0 10px; }
  .lightbox { padding: 64px 12px 24px; }
  .lb-nav { top: auto; bottom: 18px; margin: 0; }
  .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); }
}
@media (max-width: 600px) {
  .page-hero h1 { font-size: clamp(60px, 19vw, 96px); }
  .page-hero .hero-facts .facts-3 > div, .page-hero .hero-facts .facts-3 > div:first-child { padding: 18px 8px 18px 0; border-top: 0 !important; }
  .page-hero .hero-facts .facts-3 > div + div { padding-left: 14px; border-left: 1px solid var(--line-light); }
  .filters button { font-size: 14.5px; gap: 7px; }
  .proj-list { gap: 64px; }
  .ph-main, .ph-fallback { aspect-ratio: 4 / 3.2; }
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.about-side { position: sticky; top: 120px; }
.reg-box { margin-top: 36px; padding: 26px 28px; background: var(--ink); color: #fff; border-radius: 4px; border-left: 4px solid var(--red); }
.reg-title { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: #ff7a80; }
.reg-box dl { display: grid; gap: 18px; }
.reg-box dt { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.15; }
.reg-box dd { margin-top: 3px; font-size: 15.5px; color: rgba(255, 255, 255, .72); }
.prose p { margin-top: 20px; font-size: 18px; line-height: 1.8; color: var(--muted); max-width: 38em; }
.prose p:first-child { margin-top: 0; }
.prose .prose-lead { font-size: 21px; line-height: 1.6; color: var(--ink); font-weight: 500; }

.mission { background: #fff; }
.mission-text { max-width: 24em; font-family: var(--font-display); font-weight: 600; font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; color: var(--ink); letter-spacing: -.005em; }
.mission-sub { margin-top: 32px; padding-top: 28px; border-top: 2px solid var(--red); max-width: 36em; font-size: 19px; line-height: 1.75; color: var(--muted); }

.policies { background: var(--paper); }
.policies-head { margin-bottom: 44px; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.policy { padding: 40px 48px 8px 0; }
.policy + .policy { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--line); }
.policy h3 { font-family: var(--font-display); font-weight: 700; font-size: clamp(30px, 3vw, 40px); line-height: 1.05; color: var(--ink); }
.policy p { margin-top: 16px; font-size: 18px; line-height: 1.75; color: var(--muted); max-width: 30em; }

.strength { background: #fff; }
.strength-list { border-bottom: 1px solid var(--line); }
.strength-list li { position: relative; padding: 24px 0 24px 0; border-top: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; color: var(--ink); transition: padding .4s var(--ease), color .3s; }
.strength-list li::before { content: ""; position: absolute; left: 0; top: -1px; bottom: 0; width: 4px; background: var(--red); transform: scaleY(0); transform-origin: top; transition: transform .45s var(--ease); }
.strength-list li:hover { padding-left: 26px; }
.strength-list li:hover::before { transform: scaleY(1); }

.certs { background: var(--paper); }
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cert { position: relative; padding: 40px 36px 36px; background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.cert::before { content: ""; position: absolute; left: 0; top: 0; right: 0; height: 4px; background: var(--red); }
.cert-class { font-family: var(--font-display); font-weight: 700; font-size: clamp(56px, 6vw, 84px); line-height: .9; color: var(--red); }
.cert h3 { margin-top: 18px; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1.05; color: var(--ink); }
.cert-no { margin-top: 14px; font-weight: 600; font-size: 18px; color: var(--text); }
.cert-by { margin-top: 4px; font-size: 15.5px; color: var(--muted); }
.cert-scans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 24px; }
.cert-scans img { width: 100%; border: 1px solid var(--line); border-radius: 4px; background: #fff; }

@media (max-width: 1020px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-side { position: static; }
  .policy-grid { grid-template-columns: 1fr; }
  .policy, .policy + .policy { padding: 32px 0 8px; border-left: 0; }
  .policy + .policy { border-top: 1px solid var(--line); margin-top: 24px; }
  .strength-list li:hover { padding-left: 0; }
  .strength-list li:hover::before { transform: scaleY(0); }
  .cert-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .reg-box { padding: 22px 20px; }
  .prose p, .policy p, .mission-sub { font-size: 17px; }
  .prose .prose-lead { font-size: 19px; }
  .cert { padding: 34px 24px 28px; }
}

/* ==========================================================================
   SERVICES PAGE + shared sub-navigation
   ========================================================================== */
.subnav { position: sticky; top: 76px; z-index: 90; background: #fff; border-bottom: 1px solid var(--line); }
.subnav .container { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.subnav .container::-webkit-scrollbar { display: none; }
.subnav a { position: relative; flex: none; padding: 18px 18px; font-weight: 600; font-size: 15.5px; color: var(--muted); white-space: nowrap; transition: color .25s; }
.subnav a::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.subnav a:hover { color: var(--ink); }
.subnav a.is-on { color: var(--ink); }
.subnav a.is-on::after { transform: scaleX(1); }

.svc-section { background: #fff; }
.svc-list { display: grid; gap: clamp(72px, 9vw, 130px); }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; scroll-margin-top: 150px; }
.svc:nth-child(even) .svc-visual { order: 2; }
.svc-visual { position: relative; z-index: 0; }
.svc-visual::before { content: ""; position: absolute; z-index: -1; inset: 18px 18px -18px -18px; border: 2px solid var(--red); border-radius: 4px; }
.svc:nth-child(even) .svc-visual::before { inset: 18px -18px -18px 18px; }
.svc-visual > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 4px; }
.svc-visual .ph-fallback { aspect-ratio: 4 / 3.4; }
.svc .lead { margin-top: 16px; }
.svc-items { display: grid; gap: 0; margin-top: 28px; border-top: 1px solid var(--line); }
.svc-items li { position: relative; padding: 14px 0 14px 26px; border-bottom: 1px solid var(--line); font-size: 17.5px; line-height: 1.45; font-weight: 500; color: var(--text); }
.svc-items li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 9px; height: 9px; background: var(--red); transition: transform .3s var(--ease); }
.svc-items li:hover::before { transform: rotate(45deg) scale(1.15); }
.textlink { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-weight: 600; color: var(--ink); border-bottom: 2px solid var(--red); padding-bottom: 3px; transition: color .25s, gap .3s var(--ease); }
.textlink:hover { color: var(--red); gap: 16px; }

@media (max-width: 1020px) {
  .subnav { top: 64px; }
  .svc { grid-template-columns: 1fr; gap: 40px; scroll-margin-top: 130px; }
  .svc:nth-child(even) .svc-visual { order: 0; }
  .svc-visual::before, .svc:nth-child(even) .svc-visual::before { inset: 12px -12px -12px 12px; }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */
.hero-facts-row { display: grid; grid-template-columns: 1fr 1fr; }
.hf-link { display: block; padding: 24px 24px 24px 0; transition: background .3s; }
.hf-link + .hf-link { padding-left: 28px; border-left: 1px solid var(--line-light); }
.hf-link span { display: block; font-size: 15px; color: rgba(255, 255, 255, .66); }
.hf-link b { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; word-break: break-word; }
.hf-link:hover b { color: #ff7a80; }

.contact { background: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-info .lead { margin-top: 18px; }
.info-list { display: grid; gap: 22px; margin: 34px 0; padding: 28px 0; border-block: 1px solid var(--line); }
.info-list li { display: flex; gap: 16px; align-items: flex-start; line-height: 1.5; }
.info-list .ci { width: 40px; height: 40px; }
.info-list .ci svg { width: 19px; height: 19px; }
.info-list strong { display: block; font-size: 14px; font-weight: 600; color: var(--red); }
.info-list a { font-size: 19px; font-weight: 500; transition: color .2s; word-break: break-word; }
.info-list a:hover { color: var(--red); }
.map-light { border-color: var(--line); background: #dfe3e1; }
.map-light iframe { filter: none; }

.form-card { position: relative; padding: clamp(28px, 4vw, 52px); background: #fff; border-radius: 4px; border-top: 4px solid var(--red); box-shadow: 0 30px 60px -36px rgba(10, 18, 22, .45); }
.form-title { margin-bottom: 26px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.6vw, 46px); line-height: 1; color: var(--ink); }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field label { font-weight: 600; font-size: 15px; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border: 1.5px solid rgba(10, 18, 22, .18); border-radius: 4px; background: #fff; font: inherit; font-size: 17px; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 140px; }
.field select { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%230a1216' stroke-width='2'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(10, 18, 22, .4); }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); box-shadow: 0 0 0 4px rgba(237, 28, 36, .14); }
.field.has-err input, .field.has-err textarea { border-color: var(--red-dark); }
.field-err { display: block; margin: -10px 0 18px; font-size: 14.5px; font-weight: 500; color: var(--red-dark); }
.field .field-err { margin: 0; }
.form-alert { margin-bottom: 22px; padding: 14px 18px; border-left: 4px solid var(--red); background: rgba(237, 28, 36, .08); color: var(--red-dark); font-weight: 500; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-block { width: 100%; min-height: 58px; font-size: 17px; margin-top: 6px; }
.form-done { padding: 28px 0; text-align: left; }
.form-done h3 { margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 3.6vw, 46px); line-height: 1.02; color: var(--ink); }
.form-done p { margin: 14px 0 28px; font-size: 18px; color: var(--muted); }
.form-done a:not(.btn) { color: var(--red); font-weight: 600; }
.done-mark { display: block; width: 60px; height: 60px; border-radius: 50%; background: var(--red); position: relative; }
.done-mark::after { content: ""; position: absolute; left: 22px; top: 14px; width: 12px; height: 22px; border: solid #fff; border-width: 0 4px 4px 0; transform: rotate(45deg); }

@media (max-width: 1020px) {
  .contact-grid { display: flex; flex-direction: column; align-items: stretch; }
  .contact-info { display: contents; }
  .form-card { order: 1; margin-top: 8px; }
  .map-light { order: 2; margin-top: 44px; }
}
@media (max-width: 600px) {
  .hero-facts-row { grid-template-columns: 1fr; }
  .hf-link, .hf-link + .hf-link { padding: 16px 0; border-left: 0; }
  .hf-link + .hf-link { border-top: 1px solid var(--line-light); }
  .field-row { grid-template-columns: 1fr; }
}

/* About enhancements */
.about-photo { margin: 30px 14px 0 0; aspect-ratio: 4 / 3; }
.timeline-wrap { margin-top: clamp(56px, 7vw, 90px); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; padding-top: 44px; counter-reset: none; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: 0; top: -44px; width: 16px; height: 16px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 6px var(--paper), 0 0 0 8px rgba(237, 28, 36, .5); }
.timeline b { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 4vw, 56px); line-height: 1; color: var(--ink); }
.timeline span { display: block; margin-top: 10px; max-width: 18em; font-size: 17px; line-height: 1.55; color: var(--muted); }

.work { background: #fff; }
.work-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 36px; }
.work-head .textlink { margin-top: 0; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(150px, 17vw, 230px); gap: 14px; }
.mo { position: relative; overflow: hidden; border-radius: 4px; background: var(--ink); }
.mo-1 { grid-column: span 2; grid-row: span 2; }
.mo img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.mo:hover img { transform: scale(1.06); }
.mo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 12, 15, .65), transparent 50%); }
.mo span { position: absolute; z-index: 2; left: 16px; bottom: 14px; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: #fff; }

@media (max-width: 1020px) {
  .timeline { grid-template-columns: 1fr; gap: 34px; padding: 0 0 0 40px; }
  .timeline::before { left: 7px; right: auto; top: 8px; bottom: 8px; width: 2px; height: auto; }
  .timeline li::before { left: -40px; top: 8px; }
  .mosaic { grid-template-columns: 1fr 1fr; }
  .mo-1 { grid-column: span 2; grid-row: span 1; }
}

/* ---------- Project detail pages and portfolio summaries ---------- */
.proj-summary { margin: 18px 0 20px; max-width: 62ch; color: var(--muted); font-size: 17px; line-height: 1.7; }
.project-readmore { margin-top: 24px; gap: 18px; }
.project-readmore span { font-size: 21px; transition: transform .25s; }
.project-readmore:hover span { transform: translateX(4px); }
.project-detail-hero .hero-body { padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(76px, 9vw, 120px); }
.project-detail-hero h1 { max-width: 950px; }
.project-detail-hero .hero-lead { max-width: 760px; }
.project-detail-hero .btn { margin-top: 28px; }
.project-detail .crumbs { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.project-detail .crumbs a { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.project-detail .crumbs a::after { content: "/"; margin-left: 12px; color: rgba(255,255,255,.6); display: inline-block; }
.project-detail .kicker { color: var(--red); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 14px; }
.project-detail-hero .kicker { color: #fff; margin-top: 28px; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .75fr); gap: clamp(36px, 7vw, 100px); align-items: start; }
.detail-main h2, .section-heading h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(36px, 4.5vw, 58px); line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 24px; color: var(--ink); }
.detail-main > p:not(.kicker) { color: var(--muted); max-width: 72ch; margin-top: 18px; font-size: 18px; line-height: 1.8; }
.project-fact-panel { background: #fff; border-top: 4px solid var(--red); padding: clamp(24px, 3vw, 36px); }
.project-fact-panel dl { display: grid; }
.project-fact-panel dl > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.project-fact-panel dl > div:last-child { border-bottom: 0; padding-bottom: 0; }
.project-fact-panel dt { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 4px; }
.project-fact-panel dd { color: var(--ink); font-size: 17px; font-weight: 600; line-height: 1.5; }
.project-scope-section { background: #fff; }
.section-heading { max-width: 760px; margin-bottom: 40px; }
.section-heading > p:last-child { color: var(--muted); font-size: 18px; }
.detail-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.detail-scope-item { min-height: 170px; padding: 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.detail-scope-item > span { color: var(--red); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.detail-scope-item h3 { margin-top: 20px; font-size: 20px; line-height: 1.3; color: var(--ink); font-weight: 600; }
.project-outcome { margin-top: 42px; max-width: 900px; padding-left: 24px; border-left: 3px solid var(--red); }
.project-outcome > p:last-child { color: var(--muted); font-size: 19px; line-height: 1.75; }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.project-gallery-item { position: relative; margin: 0; background: #e4e7e4; overflow: hidden; }
.project-gallery-item:first-child { grid-column: span 2; }
.project-gallery-item a { position: relative; display: block; min-height: 200px; }
.project-gallery-item img { width: 100%; height: clamp(240px, 35vw, 500px); object-fit: cover; transition: transform .6s cubic-bezier(.22,.8,.24,1); }
.project-gallery-item:first-child img { height: clamp(300px, 48vw, 620px); }
.project-gallery-item a:hover img { transform: scale(1.025); }
.project-gallery-item a > span { position: absolute; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 14px; background: rgba(10,18,22,.9); color: #fff; padding: 10px 14px; font-size: 13px; }
.project-gallery-item a > span b { color: #fff; font-size: 18px; }
.gallery-single { grid-template-columns: minmax(0, 1fr); }
.gallery-single .project-gallery-item:first-child { grid-column: auto; }
.project-gallery-item img { background: #e4e7e4; }
.back-projects { display: inline-flex; color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--red); padding-bottom: 6px; }
@media (max-width: 760px) {
  .detail-grid { grid-template-columns: 1fr; gap: 34px; }
  .detail-scope-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .detail-scope-item { padding: 20px; min-height: 145px; }
  .detail-scope-item h3 { font-size: 18px; }
  .project-gallery { gap: 10px; }
  .project-gallery-item img { height: 220px; }
  .project-gallery-item:first-child img { height: 300px; }
  .project-detail-hero .hero-body { padding-top: 48px; }
}
@media (max-width: 460px) {
  .detail-scope-grid { grid-template-columns: 1fr; }
  .project-gallery { grid-template-columns: 1fr; }
  .project-gallery-item:first-child { grid-column: auto; }
  .project-gallery-item img, .project-gallery-item:first-child img { height: 240px; }
  .project-readmore { width: 100%; }
}

/* ---------- Service list additions ---------- */
.svc h2 a { color: inherit; }
.svc h2 a:hover { color: var(--red); }
.svc-blurb { margin-top: 14px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.svc-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.svc-links .textlink { margin-top: 0; }
@media (max-width: 560px) { .svc-links .btn { width: 100%; } }

/* ==========================================================================
   Service detail pages (.sx) - blueprint / circuit corporate look
   ========================================================================== */
.sx { background: var(--paper); }
.sx-sec { padding: clamp(64px, 8vw, 112px) 0; }
.sx-kicker { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--red); }
.sx-kicker::before { content: ""; width: 28px; height: 2px; background: var(--red); }
.sx h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -.005em; color: var(--ink); }
.sx-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.sx-head > p:last-child { margin-top: 14px; color: var(--muted); font-size: 18px; }
.sx-head-row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.sx-head-row .textlink { margin-top: 0; }

/* Hero */
.sx-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; }
.sx-hero-media { position: absolute; inset: 0 0 0 38%; z-index: -3; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); background: radial-gradient(90% 80% at 70% 30%, #24424f, #0d171c); }
.sx-hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: .55; animation: settle 22s ease-out both; }
.sx-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, rgba(10,18,22,.2) 55%, rgba(10,18,22,.5) 100%); }
.sx-hero-grid { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, #000 20%, transparent 85%); mask-image: linear-gradient(90deg, #000 20%, transparent 85%); }
.sx-ghost { position: absolute; z-index: -1; right: 3%; bottom: -.18em; font-family: var(--font-display); font-weight: 700; font-size: clamp(200px, 30vw, 440px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.1); pointer-events: none; user-select: none; }
.sx-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 80px); align-items: end; padding-block: clamp(44px, 5vw, 72px) clamp(56px, 6vw, 84px); }
.sx-crumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 30px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.65); }
.sx-crumbs a:hover { color: #fff; }
.sx-crumbs a::after { content: "/"; margin-left: 10px; color: rgba(255,255,255,.35); }
.sx-crumbs span { color: #fff; }
.sx-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.85); background: rgba(255,255,255,.05); }
.sx-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(237,28,36,.25); }
.sx-hero h1 { margin-top: 22px; font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 6.4vw, 92px); line-height: .95; letter-spacing: -.01em; text-transform: uppercase; }
.sx-hero h1::after { content: ""; display: block; width: 84px; height: 5px; margin-top: 22px; background: var(--red); }
.sx-lead { margin-top: 22px; max-width: 30em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: rgba(255,255,255,.82); }
.sx-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sx-card { padding: 28px; border: 1px solid rgba(255,255,255,.16); border-top: 3px solid var(--red); background: rgba(10,18,22,.55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.sx-card-big { font-family: var(--font-display); font-weight: 700; font-size: 58px; line-height: 1; }
.sx-card-small { margin-top: 6px; font-size: 14.5px; color: rgba(255,255,255,.7); }
.sx-card dl { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 24px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.sx-card dl > div + div { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.14); }
.sx-card dt { font-family: var(--font-display); font-weight: 700; font-size: 30px; line-height: 1; }
.sx-card dd { margin-top: 6px; font-size: 12.5px; line-height: 1.3; color: rgba(255,255,255,.62); }
.sx-wire { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--red) 0, var(--red) 30%, rgba(237,28,36,0) 100%); }

/* Sticky nav */
.sx-nav { top: 76px; }
.sx-nav .container { gap: 0; }

/* Overview */
.sx-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.sx-split h2 { max-width: 12em; }
.sx-prose p { color: var(--muted); font-size: 18px; line-height: 1.8; margin-top: 18px; }
.sx-prose p.sx-first { margin-top: 0; color: var(--ink); font-size: clamp(20px, 1.9vw, 24px); line-height: 1.55; font-weight: 500; }
.sx-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.sx-checks li { position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.45; font-weight: 600; color: var(--ink); }
.sx-checks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; background: var(--red); clip-path: polygon(14% 52%, 0 66%, 40% 100%, 100% 22%, 86% 8%, 40% 70%); }

/* Capabilities bento */
.sx-dark { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.sx-dark::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; }
.sx-dark .container { position: relative; }
.sx-dark h2 { color: #fff; }
.sx-dark .sx-head > p:last-child { color: rgba(255,255,255,.65); }
.sx-bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.sx-tile { grid-column: span 2; }
.sx-tile.span-6 { grid-column: span 6; }
.sx-tile.span-3 { grid-column: span 3; }
.sx-tile { position: relative; padding: 30px 28px 32px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); overflow: hidden; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.sx-tile::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sx-tile:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.22); transform: translateY(-4px); }
.sx-tile:hover::before { transform: scaleX(1); }
.sx-num { display: block; font-family: var(--font-display); font-weight: 700; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35); }
.sx-tile h3 { margin-top: 22px; font-size: 21px; line-height: 1.25; font-weight: 600; }
.sx-tile p { margin-top: 12px; font-size: 16px; line-height: 1.7; color: rgba(255,255,255,.7); }
.sx-tile.is-lead { grid-column: span 4; grid-row: span 2; background: linear-gradient(145deg, var(--red) 0%, #9d0c12 100%); border-color: transparent; padding: 38px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; }
.sx-tile.is-lead .sx-num { -webkit-text-stroke-color: rgba(255,255,255,.55); font-size: 96px; margin-bottom: auto; }
.sx-tile.is-lead h3 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.1; font-family: var(--font-display); font-weight: 700; }
.sx-tile.is-lead p { color: rgba(255,255,255,.92); font-size: 17.5px; max-width: 40em; }
.sx-tile.is-lead::before { background: #fff; }

/* Audience */
.sx-aud { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--ink); }
.sx-aud > div { padding: 28px 26px 12px 0; }
.sx-aud > div + div { padding-left: 26px; border-left: 1px solid var(--line); }
.sx-aud span { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--red); }
.sx-aud h3 { margin-top: 14px; font-size: 20px; line-height: 1.25; color: var(--ink); font-weight: 600; }
.sx-aud p { margin-top: 10px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Process */
.sx-process { background: #fff; }
.sx-steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.sx-steps::before { content: ""; position: absolute; left: 24px; right: 0; top: 24px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 18px); }
.sx-steps li { position: relative; }
.sx-node { position: relative; display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 24px; background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 24px; box-shadow: 0 0 0 8px #fff; }
.sx-steps li:first-child .sx-node { background: var(--red); }
.sx-steps h3 { font-size: 20px; line-height: 1.25; color: var(--ink); font-weight: 600; }
.sx-steps p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 1.65; }

/* Projects */
.sx-projs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sx-proj { position: relative; display: block; min-height: 380px; overflow: hidden; background: var(--ink-2); color: #fff; isolation: isolate; }
.sx-proj img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.sx-proj::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,18,22,.95) 0%, rgba(10,18,22,.35) 55%, rgba(10,18,22,.1) 100%); }
.sx-proj::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.sx-proj:hover img { transform: scale(1.06); }
.sx-proj:hover::after { transform: scaleX(1); }
.sx-proj-type { position: absolute; left: 16px; top: 16px; padding: 5px 10px; background: var(--red); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.sx-proj-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px; }
.sx-proj h3 { font-size: 19px; line-height: 1.25; font-weight: 600; }
.sx-proj em { display: block; margin-top: 8px; font-style: normal; font-size: 14px; color: rgba(255,255,255,.7); }

/* FAQ */
.sx-faq-sec { background: #fff; }
.sx-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.sx-faq-side { position: sticky; top: 150px; }
.sx-faq-side > p:not(.sx-kicker) { margin: 16px 0 26px; color: var(--muted); font-size: 18px; }
.sx-faq details { border-top: 1px solid var(--line); }
.sx-faq details:last-child { border-bottom: 1px solid var(--line); }
.sx-faq summary { position: relative; cursor: pointer; padding: 22px 48px 22px 0; list-style: none; font-size: 19px; font-weight: 600; color: var(--ink); }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 28px; height: 28px; margin-top: -14px; background: linear-gradient(var(--red), var(--red)) center/12px 2px no-repeat, linear-gradient(var(--red), var(--red)) center/2px 12px no-repeat; border: 1px solid var(--line); border-radius: 50%; transition: transform .3s var(--ease); }
.sx-faq details[open] summary::after { transform: rotate(45deg); }
.sx-faq details > p { padding: 0 48px 24px 0; color: var(--muted); font-size: 17.5px; line-height: 1.75; }

/* More services */
.sx-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sx-more a { position: relative; display: block; padding: 30px 28px 64px; background: #fff; border-top: 3px solid var(--ink); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.sx-more a:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 18px 40px -22px rgba(10,18,22,.4); }
.sx-more span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--red); }
.sx-more h3 { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; color: var(--ink); text-transform: uppercase; }
.sx-more p { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.sx-more b { position: absolute; left: 28px; bottom: 24px; font-size: 26px; color: var(--red); transition: transform .3s var(--ease); }
.sx-more a:hover b { transform: translateX(8px); }

/* Responsive */
@media (max-width: 1100px) {
  .sx-hero-inner { grid-template-columns: 1fr; align-items: start; }
  .sx-card { max-width: 440px; }
  .sx-hero-media { inset: 0; clip-path: none; }
  .sx-hero-media::after { background: linear-gradient(90deg, var(--ink) 0%, rgba(10,18,22,.65) 100%); }
  .sx-projs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .sx-split, .sx-faq-grid { grid-template-columns: 1fr; }
  .sx-faq-side { position: static; }
  .sx-bento { grid-template-columns: 1fr 1fr; }
  .sx-tile, .sx-tile.span-3 { grid-column: span 1; }
  .sx-tile.is-lead, .sx-tile.span-6 { grid-column: span 2; grid-row: auto; min-height: 0; }
  .sx-aud { grid-template-columns: 1fr 1fr; }
  .sx-aud > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .sx-steps { grid-template-columns: 1fr 1fr; gap: 36px 24px; }
  .sx-steps::before { display: none; }
  .sx-more { grid-template-columns: 1fr; }
  .sx-nav { top: 64px; }
}
@media (max-width: 560px) {
  .sx-hero h1 { font-size: 44px; }
  .sx-actions .btn { width: 100%; }
  .sx-checks, .sx-bento, .sx-aud, .sx-steps, .sx-projs { grid-template-columns: 1fr; }
  .sx-tile, .sx-tile.span-3, .sx-tile.is-lead, .sx-tile.span-6 { grid-column: auto; }
  .sx-tile.is-lead { padding: 28px; }
  .sx-aud > div, .sx-aud > div + div { padding: 22px 0 6px; border-left: 0; }
  .sx-aud > div + div { border-top: 1px solid var(--line); }
  .sx-proj { min-height: 300px; }
  .sx-ghost { font-size: 180px; }
}
.sx-steps { list-style: none; margin: 0; padding: 0; }
.sx .cta h2 { color: #fff; }
.sx-tile.is-lead::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 60%); mask-image: linear-gradient(135deg, #000 0%, transparent 60%); }
.sx-tile.is-lead > * { position: relative; z-index: 1; }

/* ==========================================================================
   Project detail pages (.pj) - editorial case-study layout
   ========================================================================== */
.pj { background: var(--paper); }
.pj-sec { padding: clamp(72px, 9vw, 128px) 0; }
.pj-label { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.pj-label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.pj h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(34px, 4.4vw, 58px); line-height: 1; letter-spacing: -.005em; color: var(--ink); }

/* Hero */
.pj-hero { position: relative; isolation: isolate; display: flex; min-height: clamp(560px, 84vh, 840px); color: #fff; background: var(--ink); overflow: hidden; }
.pj-hero-media { position: absolute; inset: 0; z-index: -3; background: radial-gradient(90% 80% at 70% 30%, #24424f, #0d171c); }
.pj-hero-media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 60% 50%; animation: settle 24s ease-out both; }
.pj-hero-shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(7,12,15,.96) 0%, rgba(7,12,15,.62) 34%, rgba(7,12,15,.12) 70%), linear-gradient(90deg, rgba(7,12,15,.6) 0%, rgba(7,12,15,0) 60%), linear-gradient(180deg, rgba(7,12,15,.55) 0%, rgba(7,12,15,0) 22%); }
.pj-hero-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 48px; padding-block: 34px clamp(104px, 11vw, 150px); }
.pj-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: rgba(255,255,255,.7); }
.pj-crumbs a:hover { color: #fff; }
.pj-crumbs a::after { content: "/"; margin-left: 10px; color: rgba(255,255,255,.35); }
.pj-crumbs span { color: #fff; }
.pj-eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 12.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.pj-eyebrow i { width: 34px; height: 1px; background: rgba(255,255,255,.4); }
.pj-status { display: inline-flex; align-items: center; gap: 9px; }
.pj-status b { width: 8px; height: 8px; border-radius: 50%; background: #5ad17a; }
.pj-status.is-ongoing b { background: var(--red); animation: pulse 2s infinite; }
.pj-hero h1 { margin-top: 26px; max-width: 13em; font-family: var(--font-display); font-weight: 700; font-size: clamp(44px, 7.4vw, 112px); line-height: .92; letter-spacing: -.01em; text-transform: uppercase; }
.pj-lead { margin-top: 26px; max-width: 36em; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: rgba(255,255,255,.82); }

/* Fact bar */
.pj-factwrap { position: relative; z-index: 5; margin-top: clamp(-64px, -5vw, -44px); }
.pj-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); background: #fff; border-top: 3px solid var(--red); box-shadow: 0 34px 60px -34px rgba(10,18,22,.4); }
.pj-facts > div { padding: 24px 28px 26px; }
.pj-facts > div + div { border-left: 1px solid var(--line); }
.pj-facts dt { font-size: 11.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.pj-facts dd { margin-top: 9px; font-size: 17px; font-weight: 600; line-height: 1.35; color: var(--ink); }

/* Overview */
.pj-ov-grid { display: grid; grid-template-columns: 4fr 8fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.pj-index { position: sticky; top: 130px; }
.pj-bignum { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 15vw, 230px); line-height: .8; color: transparent; -webkit-text-stroke: 2px rgba(10,18,22,.2); }
.pj-index p { margin-top: 20px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.pj-back { display: inline-block; margin-top: 26px; padding-bottom: 5px; border-bottom: 2px solid var(--red); font-weight: 600; color: var(--ink); transition: color .25s; }
.pj-back:hover { color: var(--red); }
.pj-lede { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.5; font-weight: 500; color: var(--ink); }
.pj-body { margin-top: 28px; max-width: 64ch; font-size: 18px; line-height: 1.85; color: var(--muted); }
.pj-quote { margin: 56px 0 0; padding: 4px 0 4px 30px; border-left: 3px solid var(--red); }
.pj-quote > p:last-child { max-width: 28em; font-family: var(--font-display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); line-height: 1.15; color: var(--ink); }

/* Scope */
.pj-scope { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.pj-scope::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 56px 56px; }
.pj-scope-grid { position: relative; display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: start; }
.pj-scope h2 { color: #fff; }
.pj-scope-head { position: sticky; top: 130px; }
.pj-scope-head > p:last-child { margin-top: 16px; color: rgba(255,255,255,.65); font-size: 18px; }
.pj-ledger { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.pj-ledger li { display: grid; grid-template-columns: 72px 1fr; align-items: baseline; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); transition: padding .4s var(--ease), background .3s; }
.pj-ledger li:hover { padding-left: 14px; background: linear-gradient(90deg, rgba(237,28,36,.16), transparent 70%); }
.pj-ledger span { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--red); }
.pj-ledger h3 { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.35; font-weight: 600; }

/* Gallery */
.pj-gal-head { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 12px 24px; margin-bottom: clamp(28px, 4vw, 48px); }
.pj-gal-head > p { color: var(--muted); font-size: 15px; }
.pj-gal { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; }
.pj-g { position: relative; display: block; overflow: hidden; background: #dfe3df; cursor: zoom-in; }
.pj-g img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pj-g:hover img { transform: scale(1.05); }
.pj-g::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 0 var(--red); transition: box-shadow .35s; pointer-events: none; }
.pj-g:hover::after { box-shadow: inset 0 -4px 0 0 var(--red); }
.pj-zoom { position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(10,18,22,.8) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M14 4h6v6M10 20H4v-6M20 4l-7 7M4 20l7-7'/%3E%3C/svg%3E") center/18px no-repeat; opacity: 0; transform: translateY(8px); transition: opacity .3s, transform .3s; }
.pj-g:hover .pj-zoom, .pj-g:focus-visible .pj-zoom { opacity: 1; transform: none; }
.pj-g.g-full { grid-column: span 12; grid-row: span 5; }
.pj-g.g-12 { grid-column: span 12; grid-row: span 3; }
.pj-g.g-8 { grid-column: span 8; grid-row: span 4; }
.pj-g.g-7 { grid-column: span 7; grid-row: span 4; }
.pj-g.g-6 { grid-column: span 6; grid-row: span 3; }
.pj-g.g-5 { grid-column: span 5; grid-row: span 4; }
.pj-g.g-4 { grid-column: span 4; grid-row: span 2; }
.pj-gal.n-3 .g-5 { grid-row: span 2; }

/* Lightbox */
.pj-lb { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; background: rgba(7,12,15,.96); opacity: 0; transition: opacity .3s; }
.pj-lb.is-open { opacity: 1; }
.pj-lb img { max-width: 92vw; max-height: 80vh; object-fit: contain; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.pj-lb-cap { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; color: rgba(255,255,255,.75); font-size: 14px; letter-spacing: .06em; }
.pj-lb button { position: absolute; display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; font-size: 22px; line-height: 1; transition: background .25s, border-color .25s; }
.pj-lb button:hover { background: var(--red); border-color: var(--red); }
.pj-lb-x { top: 22px; right: 22px; }
.pj-lb-p { left: 22px; top: 50%; margin-top: -26px; }
.pj-lb-n { right: 22px; top: 50%; margin-top: -26px; }

/* Services delivered */
.pj-delivered { background: #fff; }
.pj-svc { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.pj-svc a { position: relative; display: block; padding: 30px 28px 66px; background: var(--paper); border-top: 3px solid var(--ink); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.pj-svc a:hover { transform: translateY(-5px); border-color: var(--red); box-shadow: 0 18px 40px -22px rgba(10,18,22,.4); }
.pj-svc span { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--red); }
.pj-svc h3 { margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 1; text-transform: uppercase; color: var(--ink); }
.pj-svc p { margin-top: 12px; color: var(--muted); line-height: 1.6; }
.pj-svc b { position: absolute; left: 28px; bottom: 24px; font-size: 26px; color: var(--red); transition: transform .3s var(--ease); }
.pj-svc a:hover b { transform: translateX(8px); }

/* Previous / next */
.pj-pn { display: grid; grid-template-columns: 1fr 1fr; background: var(--ink); }
.pj-pn a { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(280px, 30vw, 400px); overflow: hidden; color: #fff; }
.pj-pn a + a { border-left: 1px solid rgba(255,255,255,.14); }
.pj-pn img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; opacity: .5; transition: transform 1s var(--ease), opacity .5s; }
.pj-pn a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(7,12,15,.92), rgba(7,12,15,.2) 70%); }
.pj-pn a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.pj-pn a:hover img { transform: scale(1.05); opacity: .7; }
.pj-pn a:hover::after { transform: scaleX(1); }
.pj-pn-body { display: block; width: 100%; padding: clamp(24px, 3.4vw, 48px); }
.pj-pn.is-next, .pj-pn a.is-next .pj-pn-body { text-align: right; }
.pj-pn small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.pj-pn strong { display: block; margin-top: 10px; font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; }
.pj-pn em { display: block; margin-top: 10px; font-style: normal; font-size: 14.5px; color: rgba(255,255,255,.7); }
.pj .cta h2 { color: #fff; }

/* Responsive */
@media (max-width: 960px) {
  .pj-ov-grid, .pj-scope-grid { grid-template-columns: 1fr; }
  .pj-index, .pj-scope-head { position: static; }
  .pj-index { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
  .pj-bignum { font-size: 110px; }
  .pj-index p { margin: 0; }
  .pj-back { margin: 0; }
  .pj-facts > div:nth-child(odd) { border-left: 0; }
}
@media (max-width: 760px) {
  .pj-gal { grid-auto-rows: auto; gap: 10px; }
  .pj-g, .pj-g.g-full, .pj-g.g-12, .pj-g.g-8, .pj-g.g-7, .pj-g.g-6, .pj-g.g-5, .pj-g.g-4, .pj-gal.n-3 .g-5 { grid-column: span 12; grid-row: auto; aspect-ratio: 4 / 3; }
  .pj-pn { grid-template-columns: 1fr; }
  .pj-pn a + a { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .pj-pn a.is-next .pj-pn-body { text-align: left; }
  .pj-lb-p { left: 10px; } .pj-lb-n { right: 10px; } .pj-lb button { width: 44px; height: 44px; }
}
@media (max-width: 560px) {
  .pj-facts { grid-template-columns: 1fr 1fr; }
  .pj-facts > div { padding: 18px 18px 20px; border-left: 0 !important; border-top: 1px solid var(--line); }
  .pj-facts > div:nth-child(-n+2) { border-top: 0; }
  .pj-hero h1 { font-size: 42px; }
  .pj-ledger li { grid-template-columns: 52px 1fr; }
}
.pj-hero.no-photo .pj-hero-media::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: linear-gradient(90deg, #000 10%, transparent 90%); mask-image: linear-gradient(90deg, #000 10%, transparent 90%); }
.pj-hero.no-photo .pj-hero-media::after { content: "Interkasi"; position: absolute; right: 4%; bottom: 8%; font-family: var(--font-display); font-weight: 700; font-size: clamp(120px, 18vw, 300px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.08); }
