/* =============================================================
   SHARZA TECH — DESIGN SYSTEM & EXPERIENCE LAYER
   One stylesheet for every page. Replaces the previous stack of
   style.css + free-tools.css + ui-integrations.css +
   reference-experience.css + home-ui-redesign.css + contact-classic.css.
   Brand colours: #1268E8 (blue) · #101828 (dark) · #FFFFFF (white)
   All other tones are tints of these three.
   ============================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  --blue: #1268E8;
  --dark: #101828;
  --white: #FFFFFF;

  --ink: var(--dark);
  --ink-80: rgba(16, 24, 40, .8);
  --ink-65: rgba(16, 24, 40, .66);
  --ink-45: rgba(16, 24, 40, .48);
  --line: rgba(16, 24, 40, .1);
  --line-strong: rgba(16, 24, 40, .18);
  --tint: rgba(18, 104, 232, .06);
  --tint-2: rgba(18, 104, 232, .12);
  --blue-soft: rgba(18, 104, 232, .35);
  --on-dark: rgba(255, 255, 255, .92);
  --on-dark-65: rgba(255, 255, 255, .66);
  --on-dark-45: rgba(255, 255, 255, .45);
  --line-dark: rgba(255, 255, 255, .12);
  --danger: var(--dark);

  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --max: 1280px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(88px, 12vw, 168px);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --header-h: 76px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6;
  color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }
img, svg, video { 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; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: var(--blue); color: var(--white); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .section--dark :focus-visible { outline-color: var(--white); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--blue); color: var(--white); padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Cross-document page transitions (progressive enhancement) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .28s var(--ease-in-out) both; }
::view-transition-new(root) { animation: vt-in .45s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* ---------- 3. Layout helpers ---------- */
.container { width: min(100% - (var(--gutter) * 2), var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - (var(--gutter) * 2), 920px); margin-inline: auto; }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: clamp(64px, 8vw, 110px); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--tint { background: linear-gradient(180deg, var(--tint), rgba(18, 104, 232, 0)); }
.section--blue { background: var(--blue); color: var(--white); }

/* ---------- 4. Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .74rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--blue);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: currentColor; }
.section--dark .eyebrow, .on-dark .eyebrow { color: #7fb0f7; color: color-mix(in srgb, var(--blue) 55%, var(--white)); }
.section--blue .eyebrow { color: var(--white); }

.display {
  font-size: clamp(2.6rem, 7.4vw, 6.6rem); font-weight: 800; line-height: .95;
  letter-spacing: -.045em; text-transform: uppercase;
}
.h1 { font-size: clamp(2.5rem, 6vw, 5.2rem); font-weight: 800; line-height: .98; letter-spacing: -.04em; }
.h2 { font-size: clamp(2.1rem, 4.6vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -.038em; }
.h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -.02em; }
.caps { text-transform: uppercase; }
.accent { color: var(--blue); }
.section--dark .accent { color: var(--blue); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.28rem); line-height: 1.65; color: var(--ink-65); max-width: 46ch; }
.section--dark .lead, .on-dark .lead { color: var(--on-dark-65); }
.muted { color: var(--ink-65); }
.section--dark .muted { color: var(--on-dark-65); }
.section-head { display: grid; gap: 22px; margin-bottom: clamp(48px, 6vw, 84px); }
.section-head--split { grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }
.section-head--split .lead { justify-self: end; }
.tag {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 99px;
  font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--line-strong); color: var(--ink-65); background: var(--white);
}
.tag--concept { border-color: var(--blue-soft); color: var(--blue); background: var(--white); }
.tag--concept::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.section--dark .tag { background: transparent; border-color: var(--line-dark); color: var(--on-dark-65); }
.section--dark .tag--concept { color: var(--white); border-color: rgba(255,255,255,.3); }
.section--dark .tag--concept::before { background: var(--white); }

/* ---------- 5. Buttons & links ---------- */
.btn {
  --bg: var(--blue); --fg: var(--white); --bd: var(--blue);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); font-weight: 650; font-size: .96rem; letter-spacing: -.005em;
  overflow: hidden; isolation: isolate; white-space: nowrap;
  transition: color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: var(--dark); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { --bd: var(--dark); box-shadow: 0 14px 30px -14px rgba(16, 24, 40, .5); }
.btn:active { transform: scale(.97); }
.btn .arr { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-strong); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { --fg: var(--white); }
.btn--light { --bg: var(--white); --fg: var(--dark); --bd: var(--white); }
.btn--light::before { background: var(--blue); }
.btn--light:hover { --fg: var(--white); --bd: var(--blue); }
.btn--outline-light { --bg: transparent; --fg: var(--white); --bd: rgba(255, 255, 255, .35); }
.btn--outline-light::before { background: var(--white); }
.btn--outline-light:hover { --fg: var(--dark); --bd: var(--white); }
.section--dark .btn:hover, .section--blue .btn:hover { box-shadow: none; }
.btn[disabled], .btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat;
  padding-bottom: 3px; transition: background-size .45s var(--ease), color .3s;
}
.link-arrow::after { content: "→"; transition: transform .45s var(--ease); }
.link-arrow:hover { background-size: 100% 1.5px; color: var(--blue); }
.link-arrow:hover::after { transform: translateX(4px); }
.section--dark .link-arrow, .on-dark .link-arrow { color: var(--white); }

/* ---------- 6. Header & navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: transform .5s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  opacity: 0; transition: opacity .4s; border-bottom: 1px solid var(--line);
}
.site-header.is-scrolled::before { opacity: 1; }
.site-header.is-hidden { transform: translateY(-100%); }
.nav {
  position: relative; height: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  width: min(100% - 40px, 1480px); margin-inline: auto;
}
.brand { display: inline-flex; flex-direction: column; line-height: 1; gap: 5px; position: relative; z-index: 2; justify-self: start; }
.brand-name { font-weight: 800; font-size: 1.3rem; letter-spacing: -.045em; color: var(--dark); }
.brand-name span { color: var(--blue); }
.brand-tagline { font-size: .56rem; font-weight: 700; letter-spacing: .34em; color: var(--ink-65); }
.brand-logo { height: 38px; width: auto; }
.nav-center { display: flex; align-items: center; gap: 14px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { position: relative; padding: 8px 12px; border-radius: 999px; font-size: .9rem; font-weight: 500; letter-spacing: -.01em; color: var(--ink-80); transition: color .3s, background-color .3s; }
.nav-links a:hover { color: var(--dark); background: rgba(16, 24, 40, .05); }
.nav-links a[aria-current="page"] { color: var(--dark); font-weight: 650; }
.nav-links a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--blue); }
.nav-sep { width: 1px; height: 22px; background: var(--line-strong); }
.nav-right { justify-self: end; display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); display: grid; place-items: center; color: var(--dark); transition: background .3s, color .3s, border-color .3s; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.menu-toggle { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .9rem; font-weight: 550; color: var(--dark); transition: background .3s, color .3s, border-color .3s; }
.menu-toggle:hover { border-color: var(--dark); }
.menu-toggle .bars { position: relative; width: 16px; height: 10px; }
.menu-toggle .bars i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.menu-toggle .bars i:nth-child(1) { top: 2px; }
.menu-toggle .bars i:nth-child(2) { top: 7px; }
.menu-open .menu-toggle { background: var(--dark); color: var(--white); border-color: var(--dark); }
.menu-open .menu-toggle .bars i:nth-child(1) { top: 4.5px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars i:nth-child(2) { top: 4.5px; transform: rotate(-45deg); }

/* Menu panel — every screen size */
.mobile-panel {
  position: fixed; inset: 0; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 48px; align-content: center;
  padding: calc(var(--header-h) + 40px) max(var(--gutter), calc((100vw - 1280px) / 2)) 48px;
  background: var(--white); visibility: hidden; opacity: 0; overflow-y: auto;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease-in-out), opacity .3s, visibility 0s .7s;
}
.menu-open .mobile-panel { visibility: visible; opacity: 1; clip-path: inset(0 0 0 0); transition: clip-path .7s var(--ease-in-out), opacity .2s; }
.menu-open .site-header::before { opacity: 0; }
.mobile-panel nav { display: grid; }
.mobile-panel nav a {
  display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(2rem, 5.4vw, 4.4rem); font-weight: 600; letter-spacing: -.05em; line-height: 1.05;
  opacity: 0; transform: translateY(22px); transition: opacity .5s var(--ease), transform .7s var(--ease), color .3s;
}
.mobile-panel nav a:hover { color: var(--blue); }
.mobile-panel nav a small { font-size: .78rem; font-weight: 600; color: var(--ink-45); letter-spacing: .1em; }
.mobile-panel nav a[aria-current="page"] { color: var(--blue); }
.menu-open .mobile-panel nav a { opacity: 1; transform: none; }
.menu-open .mobile-panel nav a:nth-child(1) { transition-delay: .14s; }
.menu-open .mobile-panel nav a:nth-child(2) { transition-delay: .19s; }
.menu-open .mobile-panel nav a:nth-child(3) { transition-delay: .24s; }
.menu-open .mobile-panel nav a:nth-child(4) { transition-delay: .29s; }
.menu-open .mobile-panel nav a:nth-child(5) { transition-delay: .34s; }
.mobile-panel-foot { display: grid; gap: 22px; align-content: end; opacity: 0; transition: opacity .6s .35s; }
.menu-open .mobile-panel-foot { opacity: 1; }
.mobile-panel-foot p { color: var(--ink-65); font-size: .95rem; }
.mobile-panel-foot .meta { display: grid; gap: 6px; font-size: .95rem; }
.mobile-panel-foot .meta a:hover { color: var(--blue); }
body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-center { display: none; }
}
@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .mobile-panel { grid-template-columns: 1fr; align-content: start; gap: 32px; }
  .mobile-panel-foot .btn { width: 100%; }
  .nav-right .icon-btn { display: none; }
}

/* ---------- 7. Reveal system ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="left"] { transform: translateX(-28px); }
.js [data-reveal="scale"] { transform: scale(.96); }
.js [data-reveal="mask"] { opacity: 1; transform: none; clip-path: inset(100% 0 0 0); transition: clip-path 1.3s var(--ease-in-out); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal="mask"] img, .js [data-reveal="mask"] video { transform: scale(1.18); transition: transform 1.8s var(--ease); transition-delay: calc(var(--d, 0) * 1ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="mask"].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal="mask"].is-in img, .js [data-reveal="mask"].is-in video { transform: scale(1); }

/* Word-by-word headline reveal */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; }
.js [data-split] .split-word > span { transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0) * 1ms); }
.js [data-split].is-in .split-word > span { transform: none; }

/* ---------- 8. HOME — Hero & banner ---------- */
.container-wide { width: min(100% - 40px, 1480px); margin-inline: auto; }
.btn--dark { --bg: var(--dark); --fg: var(--white); --bd: var(--dark); }
.btn--dark::before { background: var(--blue); }
.btn--dark:hover { --bd: var(--blue); }
.btn--line { --bg: var(--white); --fg: var(--dark); --bd: var(--line-strong); }
.btn--line::before { background: var(--dark); }
.btn--line:hover { --fg: var(--white); --bd: var(--dark); }
.btn .ne { display: inline-block; font-size: .95em; transition: transform .45s var(--ease); }
.btn:hover .ne, .pill:hover .ne, .round-go:hover .ne, a:hover > .round-go .ne { transform: translate(2px, -2px); }

.hx { padding-top: calc(var(--header-h) + clamp(36px, 6vw, 72px)); }
.hx-top { text-align: center; display: grid; justify-items: center; gap: 22px; }
.hx-top h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); font-weight: 600; line-height: 1.02; letter-spacing: -.055em; max-width: 19ch; }
.hx-top h1 .accent { color: var(--blue); }
.hx-sub { font-size: clamp(1rem, 1.3vw, 1.12rem); color: var(--ink-65); max-width: 52ch; letter-spacing: -.01em; }
.hx-top .btn-row { justify-content: center; margin-top: 6px; }
.hx-top .btn { min-height: 48px; padding: 0 22px; font-weight: 550; }

.hx-banner { position: relative; margin-top: clamp(36px, 5vw, 56px); border-radius: clamp(20px, 2vw, 28px); overflow: hidden; aspect-ratio: 1480 / 600; min-height: 460px; background: #8D929B; background: color-mix(in srgb, var(--dark) 45%, var(--white)); isolation: isolate; }
.hx-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 22%; z-index: -2; transform: scale(1.06); transition: transform 2.4s var(--ease); }
.is-ready .hx-banner > img { transform: scale(1); }
.hx-banner::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(16, 24, 40, .72) 0%, rgba(16, 24, 40, .38) 42%, rgba(16, 24, 40, 0) 70%), linear-gradient(0deg, rgba(16, 24, 40, .45), transparent 45%); }

.pill { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; font-size: .86rem; font-weight: 550; letter-spacing: -.01em; white-space: nowrap; transition: background .35s, color .35s, border-color .35s, transform .45s var(--ease); }
.pill--light { background: var(--white); color: var(--dark); padding-left: 6px; }
.pill--light:hover { transform: translateY(-2px); }
.pill-tag { height: 28px; padding: 0 12px; display: inline-grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .7rem; font-weight: 700; letter-spacing: .12em; color: var(--blue); }
.pill .chev { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .45s var(--ease); }
.pill:hover .chev { transform: translateX(3px); }
.pill--glass { background: rgba(255, 255, 255, .22); color: var(--white); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .25); }
.pill--glass:hover { background: var(--white); color: var(--dark); }
.pill--outline-light { height: 30px; padding: 0 12px; font-size: .72rem; border: 1px solid rgba(255, 255, 255, .45); color: rgba(255, 255, 255, .9); }
.pill--outline { height: 32px; padding: 0 14px; font-size: .8rem; border: 1px solid var(--line-strong); color: var(--dark); background: var(--white); }

.hx-event { position: absolute; top: 20px; left: 20px; }
.hx-match { position: absolute; top: 20px; right: 20px; }
.hx-copy { position: absolute; left: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px); max-width: 520px; color: var(--white); display: grid; gap: 14px; justify-items: start; }
.hx-copy h2 { font-size: clamp(1.7rem, 2.9vw, 2.6rem); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.hx-copy p { font-size: .88rem; color: rgba(255, 255, 255, .72); max-width: 44ch; }

.hx-chips { position: absolute; right: 0; bottom: clamp(20px, 2.4vw, 36px); width: 62%; display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; -webkit-mask: linear-gradient(90deg, transparent 0, #000 16%); mask: linear-gradient(90deg, transparent 0, #000 16%); }
.hx-row { display: flex; gap: 10px; width: max-content; }
.hx-row--b { margin-left: 3%; }
.hx-row--a { margin-left: -2%; }
@media (prefers-reduced-motion: no-preference) {
  .hx-row--a { animation: drift 26s var(--ease-in-out) infinite alternate; }
  .hx-row--b { animation: drift 30s var(--ease-in-out) infinite alternate-reverse; }
  .hx-chips:hover .hx-row { animation-play-state: paused; }
}
@keyframes drift { to { transform: translateX(-70px); } }
.chip-card { display: flex; align-items: center; gap: 10px; height: 52px; padding: 6px 22px 6px 6px; border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--dark); box-shadow: 0 10px 30px -14px rgba(16, 24, 40, .45); transition: transform .45s var(--ease), background .3s; min-width: 190px; }
.chip-card:hover { transform: translateY(-3px); background: var(--white); }
.chip-card img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none; }
.chip-card b { display: block; font-size: .82rem; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.chip-card small { display: block; font-size: .7rem; color: var(--ink-45); line-height: 1.2; }

/* Expand section */
.xp { padding-block: clamp(80px, 9vw, 130px) clamp(60px, 7vw, 100px); overflow: hidden; }
.xp-grid { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr); gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.xp-intro { display: grid; align-content: space-between; gap: 32px; }
.xp-intro h2 { font-size: clamp(2.2rem, 3.6vw, 3.3rem); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; }
.xp-intro > div > p { margin-top: 22px; color: var(--ink-65); max-width: 44ch; }
.xp-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini { position: relative; aspect-ratio: 1 / 1.08; border-radius: 22px; padding: 16px; display: grid; align-content: space-between; overflow: hidden; isolation: isolate; color: var(--dark); background: rgba(16, 24, 40, .045); transition: transform .6s var(--ease); }
.mini:hover { transform: translateY(-4px); }
.mini .pill--outline { justify-self: start; background: transparent; }
.mini--photo { color: var(--white); }
.mini--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.mini--photo:hover > img { transform: scale(1.06); }
.mini--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 24, 40, .45), transparent 32%), linear-gradient(0deg, rgba(16, 24, 40, .7), transparent 55%); }
.mini--photo .pill--outline { color: var(--white); border-color: rgba(255,255,255,.5); }
.avatars { display: flex; }
.avatars img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.avatars img + img { margin-left: -9px; }
.mini-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; }
.mini-foot strong { font-size: clamp(1rem, 1.3vw, 1.2rem); font-weight: 500; letter-spacing: -.03em; line-height: 1.15; }
.round-go { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-size: .9rem; transition: background .35s, color .35s, border-color .35s; }
.mini:hover .round-go { background: var(--dark); color: var(--white); border-color: var(--dark); }
.mini--photo:hover .round-go { background: var(--white); color: var(--dark); border-color: var(--white); }
.xp-arrows { display: flex; gap: 8px; justify-content: flex-end; margin-top: -4px; }
.arrow-btn { width: 36px; height: 36px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(16, 24, 40, .07); color: var(--ink-45); transition: background .3s, color .3s, transform .3s; }
.arrow-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow-btn--next { background: var(--dark); color: var(--white); }
.arrow-btn:hover { background: var(--blue); color: var(--white); }
.arrow-btn:active { transform: scale(.92); }
.arrow-btn[disabled] { opacity: .45; pointer-events: none; }

.xp-rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(-1 * max(20px, (100vw - 1480px) / 2)); padding-right: max(20px, (100vw - 1480px) / 2); scroll-padding-left: 0; }
.xp-rail::-webkit-scrollbar { display: none; }
.rail-card { position: relative; flex: none; scroll-snap-align: start; height: clamp(420px, 34vw, 520px); border-radius: 24px; overflow: hidden; isolation: isolate; color: var(--white); display: grid; align-content: space-between; padding: 20px; }
.rail-card--feature { width: clamp(300px, 30vw, 440px); background: #8D929B; background: color-mix(in srgb, var(--dark) 45%, var(--white)); grid-template-rows: auto 1fr auto; }
.rail-card--feature .inset { width: 56%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; grid-row: 1 / 3; grid-column: 1; align-self: start; }
.rail-card--feature .inset img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.rail-card--feature:hover .inset img { transform: scale(1.05); }
.rail-card.rail-card--feature .pill { grid-row: 1; grid-column: 1; justify-self: end; align-self: start; }
.rail-card--photo { width: clamp(260px, 22vw, 340px); }
.rail-card--photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.rail-card--photo:hover > img { transform: scale(1.05); }
.rail-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 24, 40, .55), transparent 26%), linear-gradient(0deg, rgba(16, 24, 40, .78), transparent 52%); }
.rail-card .pill--glass { justify-self: start; height: 34px; font-size: .8rem; }
.rail-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; grid-column: 1; }
.rail-foot strong { display: block; font-size: 1.15rem; font-weight: 500; letter-spacing: -.03em; }
.rail-foot small { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.rail-foot .more { font-size: .8rem; text-decoration: underline; text-underline-offset: 3px; color: rgba(255,255,255,.85); white-space: nowrap; }
.rail-foot .more:hover { color: var(--white); }

@media (max-width: 1080px) {
  .hx-banner { aspect-ratio: auto; min-height: 0; padding: 72px 20px 20px; display: grid; gap: 28px; }
  .hx-copy { position: static; }
  .hx-chips { position: static; width: auto; margin-inline: -20px; -webkit-mask: none; mask: none; overflow: hidden; }
  .hx-banner::after { background: linear-gradient(0deg, rgba(16,24,40,.8), rgba(16,24,40,.35)); }
  .xp-grid { grid-template-columns: 1fr; }
  .xp-rail { margin-right: -20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .hx-top { text-align: left; justify-items: start; }
  .hx-top h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hx-top .btn-row { justify-content: flex-start; width: 100%; }
  .hx-top .btn { flex: 1 1 auto; }
  .hx-match { display: none; }
  .chip-card { height: 46px; min-width: 170px; padding-right: 16px; }
  .chip-card img { width: 34px; height: 34px; }
  .xp-mini { gap: 10px; }
  .mini { padding: 12px; border-radius: 18px; }
  .rail-card--feature { width: 82vw; }
  .rail-card { height: 400px; }
  .rail-card--photo { width: 66vw; }
}

/* ---------- 10. Solutions showcase ---------- */
.sol { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.sol-list { display: grid; border-top: 1px solid var(--line); counter-reset: sol; }
.sol-tab {
  display: grid; grid-template-columns: 56px 1fr 28px; align-items: center; gap: 12px; width: 100%;
  padding: 24px 0; border: 0; border-bottom: 1px solid var(--line); background: none; text-align: left;
  font-size: clamp(1.15rem, 1.9vw, 1.6rem); font-weight: 700; letter-spacing: -.025em; color: var(--ink-45);
  transition: color .4s var(--ease), padding .5s var(--ease);
  position: relative;
}
.sol-tab::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 100%; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease);
}
.sol-tab .n { font-size: .78rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-45); transition: color .4s; }
.sol-tab .ic { justify-self: end; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: .8rem; transition: all .4s var(--ease); }
.sol-tab:hover { color: var(--ink); }
.sol-tab[aria-selected="true"] { color: var(--ink); padding-left: 10px; }
.sol-tab[aria-selected="true"]::before { transform: scaleX(1); }
.sol-tab[aria-selected="true"] .n { color: var(--blue); }
.sol-tab[aria-selected="true"] .ic { background: var(--blue); border-color: var(--blue); color: var(--white); transform: rotate(-45deg); }
.sol-stage { position: sticky; top: calc(var(--header-h) + 28px); }
.sol-panel { display: grid; gap: 26px; }
.sol-panel[hidden] { display: none; }
.sol-panel.is-active .sol-visual { animation: panelIn .9s var(--ease) both; }
.sol-panel.is-active .sol-copy > * { animation: copyIn .8s var(--ease) both; }
.sol-panel.is-active .sol-copy > *:nth-child(2) { animation-delay: .06s; }
.sol-panel.is-active .sol-copy > *:nth-child(3) { animation-delay: .12s; }
.sol-panel.is-active .sol-copy > *:nth-child(4) { animation-delay: .18s; }
@keyframes panelIn { from { opacity: 0; clip-path: inset(8% 8% 8% 8% round 24px); } to { opacity: 1; clip-path: inset(0 0 0 0 round 24px); } }
@keyframes copyIn { from { opacity: 0; transform: translateY(14px); } }
.sol-visual {
  position: relative; aspect-ratio: 16 / 11; border-radius: 24px; overflow: hidden; background: var(--tint);
  border: 1px solid var(--line); isolation: isolate;
}
.sol-visual > img, .sol-visual > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.sol-visual:hover > img, .sol-visual:hover > video { transform: scale(1.04); }
.sol-visual .shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(16, 24, 40, .55)); }
.sol-visual .label { position: absolute; left: 18px; bottom: 16px; z-index: 2; color: var(--white); font-size: .7rem; font-weight: 700; letter-spacing: .18em; }
.sol-copy { display: grid; gap: 16px; }
.sol-copy p { color: var(--ink-65); max-width: 56ch; }
.sol-points { display: flex; flex-wrap: wrap; gap: 8px; }
.sol-points li { padding: 7px 12px; border-radius: 99px; background: var(--tint); font-size: .8rem; font-weight: 600; color: var(--ink-80); }

/* In-panel interactive compositions */
.ui-browser { position: absolute; z-index: 2; left: 8%; right: 8%; top: 12%; bottom: -6%; background: var(--white); border-radius: 14px 14px 0 0; box-shadow: 0 30px 60px -30px rgba(16,24,40,.5); overflow: hidden; transition: transform .9s var(--ease); }
.sol-visual:hover .ui-browser { transform: translateY(-10px); }
.ui-browser .bar { display: flex; gap: 6px; align-items: center; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.ui-browser .bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.ui-browser .bar span { margin-left: 10px; flex: 1; height: 18px; border-radius: 6px; background: var(--tint); font-size: .6rem; padding: 2px 8px; color: var(--ink-45); }
.ui-browser .pg { display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; padding: 18px; }
.ui-browser .pg .t1 { height: 14px; width: 90%; background: var(--dark); border-radius: 4px; }
.ui-browser .pg .t2 { height: 14px; width: 60%; background: var(--blue); border-radius: 4px; margin-top: 7px; }
.ui-browser .pg .t3 { height: 6px; width: 85%; background: var(--line-strong); border-radius: 3px; margin-top: 14px; }
.ui-browser .pg .t3 + .t3 { width: 70%; margin-top: 6px; }
.ui-browser .pg .cta { width: 70px; height: 20px; border-radius: 99px; background: var(--blue); margin-top: 14px; }
.ui-browser .pg .im { border-radius: 10px; background: url("../images/WEB2.webp") center/cover, var(--tint); min-height: 110px; }
.ui-browser .cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 18px 18px; }
.ui-browser .cards i { height: 54px; border-radius: 8px; background: var(--tint); border: 1px solid var(--line); transition: transform .5s var(--ease), background .5s; }
.sol-visual:hover .ui-browser .cards i:nth-child(2) { transform: translateY(-6px); background: var(--tint-2); }
.ui-device { position: absolute; z-index: 3; right: 5%; bottom: 6%; width: 22%; aspect-ratio: 9/18; border-radius: 16px; background: var(--dark); padding: 5px; box-shadow: 0 20px 40px -18px rgba(16,24,40,.6); transition: transform .9s var(--ease); }
.sol-visual:hover .ui-device { transform: translateY(-14px) rotate(-3deg); }
.ui-device div { height: 100%; border-radius: 12px; background: url("../images/SOFT.webp") center 30%/cover; }

.ui-code { position: absolute; inset: 9%; z-index: 2; border-radius: 14px; background: var(--dark); color: var(--on-dark-65); padding: 18px 20px; font: 500 clamp(.62rem, 1vw, .78rem)/1.9 ui-monospace, Consolas, monospace; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(16,24,40,.6); }
.ui-code b { color: color-mix(in srgb, var(--blue) 65%, var(--white)); font-weight: 500; }
.ui-code em { color: var(--white); font-style: normal; }
.ui-code .ln { display: block; opacity: 0; transform: translateX(-8px); }
.sol-panel.is-active .ui-code .ln { animation: line .5s var(--ease) both; animation-delay: calc(var(--n) * 90ms + 250ms); }
@keyframes line { to { opacity: 1; transform: none; } }
.ui-code .ok { margin-top: 10px; display: inline-flex; gap: 8px; align-items: center; padding: 4px 10px; border-radius: 6px; background: rgba(18,104,232,.25); color: var(--white); }

.ui-bms { position: absolute; inset: 8%; z-index: 2; display: grid; grid-template-columns: 26% 1fr; border-radius: 14px; overflow: hidden; background: var(--white); box-shadow: 0 30px 60px -30px rgba(16,24,40,.45); }
.ui-bms aside { background: var(--dark); padding: 14px 10px; display: grid; align-content: start; gap: 8px; }
.ui-bms aside i { height: 9px; border-radius: 4px; background: rgba(255,255,255,.16); }
.ui-bms aside i:nth-child(2) { background: var(--blue); }
.ui-bms .main { padding: 14px; display: grid; gap: 10px; grid-template-rows: auto 1fr auto; }
.ui-bms .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ui-bms .row div { border-radius: 8px; border: 1px solid var(--line); padding: 8px; font-size: .58rem; font-weight: 700; letter-spacing: .1em; color: var(--ink-45); }
.ui-bms .row div b { display: block; margin-top: 4px; font-size: 1rem; letter-spacing: -.02em; color: var(--dark); }
.ui-bms svg { width: 100%; height: 100%; min-height: 70px; }
.ui-bms svg path.line { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 600; stroke-dashoffset: 600; }
.ui-bms svg path.area { fill: var(--tint-2); opacity: 0; transition: opacity 1s .8s; }
.sol-panel.is-active .ui-bms svg path.line { animation: draw 1.8s var(--ease) .3s forwards; }
.sol-panel.is-active .ui-bms svg path.area { opacity: 1; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ui-bms .tbl { display: grid; gap: 5px; }
.ui-bms .tbl i { height: 8px; border-radius: 4px; background: var(--tint); }
.ui-bms .tbl i:nth-child(odd) { width: 92%; }

.ui-flow { position: absolute; inset: 0; z-index: 2; }
.ui-flow svg { width: 100%; height: 100%; }
.ui-flow .edge { fill: none; stroke: rgba(255,255,255,.35); stroke-width: 1.5; stroke-dasharray: 4 6; }
@media (prefers-reduced-motion: no-preference) { .sol-panel.is-active .ui-flow .edge { animation: dash 1.2s linear infinite; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
.ui-flow .node rect { fill: rgba(16, 24, 40, .82); stroke: rgba(255,255,255,.25); }
.ui-flow .node.hot rect { fill: var(--blue); stroke: var(--blue); }
.ui-flow .node text { fill: var(--white); font: 600 11px var(--font); letter-spacing: .04em; }
.ui-flow .pkt { fill: var(--white); }

.ui-modules { position: absolute; inset: 9%; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, 1fr); gap: 10px; }
.ui-modules div { border-radius: 14px; background: var(--white); border: 1px solid var(--line); padding: 12px; display: grid; align-content: space-between; font-size: .64rem; font-weight: 700; letter-spacing: .12em; color: var(--ink-45); transition: transform .6s var(--ease), background .4s, color .4s; box-shadow: 0 10px 30px -20px rgba(16,24,40,.4); }
.ui-modules div::before { content: ""; width: 22px; height: 22px; border-radius: 7px; background: var(--tint-2); }
.ui-modules div.core { grid-row: span 2; background: var(--dark); color: var(--on-dark-65); }
.ui-modules div.core::before { background: var(--blue); }
.ui-modules div:hover { transform: translateY(-4px); background: var(--blue); color: var(--white); }
.ui-modules div:hover::before { background: rgba(255,255,255,.3); }

.sol-visual--arch { background: var(--white); display: grid; place-items: center; }
.sol-visual--arch .iso { width: 82%; z-index: 2; }

@media (max-width: 980px) {
  .sol { grid-template-columns: 1fr; }
  .sol-stage { position: static; }
}

/* ---------- 11. Isometric architectural drawing (shared) ---------- */
.iso-grid { stroke: currentColor; stroke-opacity: .09; fill: none; stroke-width: 1; }
.pl-wall { stroke: var(--blue); stroke-width: 2; fill: none; stroke-linecap: round; }
.pl-door { stroke: var(--blue); fill: none; stroke-dasharray: 3 3; stroke-width: 1.2; }
.pl-txt { font: 700 7px var(--font); fill: var(--blue); letter-spacing: .1em; }
.wr-vis { stroke: var(--blue); fill: none; stroke-width: 1.4; stroke-linejoin: round; }
.wr-hid { stroke: var(--blue); fill: none; stroke-dasharray: 3 4; stroke-opacity: .45; }
.f-top { fill: var(--white); stroke: rgba(16, 24, 40, .22); stroke-width: .8; }
.f-l { fill: #EEF1F5; fill: color-mix(in srgb, var(--dark) 6%, var(--white)); stroke: rgba(16, 24, 40, .22); stroke-width: .8; }
.f-r { fill: #D8DDE5; fill: color-mix(in srgb, var(--dark) 15%, var(--white)); stroke: rgba(16, 24, 40, .22); stroke-width: .8; }
.f-win { stroke: rgba(255,255,255,.4); stroke-width: .6; }
.md-pool { fill: var(--blue); fill-opacity: .55; }
.lyr-tree circle { fill: var(--dark); fill-opacity: .22; }
.lyr-tree path { stroke: var(--dark); stroke-opacity: .4; }

/* Concept cards: wireframe by default → solid on hover */
.concept-card .lyr-model, .concept-card .lyr-tree { opacity: 0; transition: opacity .7s var(--ease); }
.concept-card .lyr-wire { transition: opacity .7s var(--ease); }
.concept-card:hover .lyr-model, .concept-card:focus-within .lyr-model,
.concept-card:hover .lyr-tree, .concept-card:focus-within .lyr-tree { opacity: 1; }
.concept-card:hover .lyr-wire, .concept-card:focus-within .lyr-wire { opacity: .25; }
.concept-card .lyr-plan { opacity: .35; }
.concept-card--plan .lyr-plan { opacity: 1; }
@media (hover: none) { .concept-card .lyr-model, .concept-card .lyr-tree { opacity: 1; } .concept-card .lyr-wire { opacity: .25; } }

/* ---------- 12. Architecture section ---------- */
.arch { --mx: 50%; --my: 50%; overflow: clip; }
.arch::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx) var(--my), rgba(18, 104, 232, .16), transparent 60%); pointer-events: none; }
.arch-intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: end; margin-bottom: clamp(40px, 6vw, 80px); position: relative; }
.arch-intro .display { color: var(--white); }
.arch-scroll { position: relative; height: 300vh; }
.arch-sticky { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.arch-steps { display: grid; gap: 4px; counter-reset: st; }
.arch-step {
  display: grid; grid-template-columns: 48px 1fr; gap: 4px 14px; padding: 18px 18px 18px 0; text-align: left; border: 0; background: none;
  border-top: 1px solid var(--line-dark); color: var(--on-dark-45); transition: color .5s var(--ease);
}
.arch-step b { grid-row: span 2; font-size: .78rem; letter-spacing: .1em; font-weight: 700; padding-top: 5px; }
.arch-step strong { font-size: clamp(1.2rem, 2vw, 1.6rem); letter-spacing: -.025em; font-weight: 700; }
.arch-step span { font-size: .9rem; line-height: 1.5; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .6s var(--ease), opacity .5s; }
.arch-step.is-active { color: var(--white); }
.arch-step.is-active b { color: color-mix(in srgb, var(--blue) 70%, var(--white)); }
.arch-step.is-active span { max-height: 90px; opacity: 1; color: var(--on-dark-65); }
.arch-progress { height: 2px; background: var(--line-dark); margin-top: 12px; border-radius: 2px; overflow: hidden; }
.arch-progress i { display: block; height: 100%; width: 100%; background: var(--blue); transform: scaleX(var(--p, 0)); transform-origin: left; }
.arch-canvas {
  position: relative; aspect-ratio: 5 / 4; border-radius: 28px; background: var(--white); color: var(--dark);
  overflow: hidden; display: grid; place-items: center; box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
}
.arch-canvas::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--tint-2), transparent 55%); opacity: 0; transition: opacity 1.2s; }
.arch-canvas[data-stage="3"]::before { opacity: 1; }
.arch-canvas .iso { width: 88%; position: relative; }
.arch-canvas .lyr { transition: opacity .9s var(--ease), transform 1.1s var(--ease); }
.arch-canvas .lyr-plan .pl-wall { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-in-out); }
.arch-canvas .lyr-wire .wr-vis { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.8s var(--ease-in-out); }
.arch-canvas .lyr-wire .wr-hid { opacity: 0; transition: opacity .8s .6s; }
.arch-canvas[data-stage="0"] .lyr-wire { opacity: 0; }
.arch-canvas .lyr-model, .arch-canvas .lyr-tree { opacity: 0; transform: translateY(14px); }
.arch-canvas .f-win { fill-opacity: 0; transition: fill-opacity 1s .2s; }
.arch-canvas .md-pool { fill-opacity: 0; transition: fill-opacity 1s; }
.arch-canvas[data-stage="0"] .pl-wall, .arch-canvas[data-stage="1"] .pl-wall, .arch-canvas[data-stage="2"] .pl-wall, .arch-canvas[data-stage="3"] .pl-wall { stroke-dashoffset: 0; }
.arch-canvas[data-stage="1"] .wr-vis, .arch-canvas[data-stage="2"] .wr-vis, .arch-canvas[data-stage="3"] .wr-vis { stroke-dashoffset: 0; }
.arch-canvas[data-stage="1"] .wr-hid { opacity: 1; }
.arch-canvas[data-stage="2"] .lyr-plan, .arch-canvas[data-stage="3"] .lyr-plan { opacity: 0; }
.arch-canvas[data-stage="2"] .lyr-model, .arch-canvas[data-stage="3"] .lyr-model { opacity: 1; transform: none; }
.arch-canvas[data-stage="2"] .lyr-wire, .arch-canvas[data-stage="3"] .lyr-wire { opacity: .18; }
.arch-canvas[data-stage="3"] .lyr-wire { opacity: 0; }
.arch-canvas[data-stage="3"] .f-win { fill-opacity: 1; }
.arch-canvas[data-stage="3"] .md-pool { fill-opacity: .6; }
.arch-canvas[data-stage="3"] .lyr-tree { opacity: 1; transform: none; }
.arch-canvas .canvas-tag { position: absolute; top: 18px; left: 18px; z-index: 2; }
.section--dark .arch-canvas .tag--concept, .section--dark .future-art .tag--concept { color: var(--blue); border-color: var(--blue-soft); background: var(--white); }
.section--dark .arch-canvas .tag--concept::before, .section--dark .future-art .tag--concept::before { background: var(--blue); }
.arch-canvas .canvas-stage { position: absolute; top: 22px; right: 22px; font-size: .7rem; font-weight: 700; letter-spacing: .16em; color: var(--ink-45); }
.arch-canvas .canvas-dims { position: absolute; bottom: 18px; left: 22px; right: 22px; display: flex; justify-content: space-between; font: 600 .62rem ui-monospace, Consolas, monospace; letter-spacing: .1em; color: var(--ink-45); }

.concepts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: 24px; overflow: hidden; margin-top: clamp(60px, 8vw, 110px); }
.concept-card { position: relative; background: var(--dark); padding: 24px; display: grid; gap: 14px; color: var(--on-dark); transition: background .5s var(--ease); }
.concept-card:hover { background: #17213a; background: color-mix(in srgb, var(--dark) 88%, var(--blue)); }
.concept-card .art { min-height: 0; aspect-ratio: 4/3; border-radius: 14px; background: var(--white); color: var(--dark); display: grid; place-items: center; overflow: hidden; }
.concept-card .art .iso { width: 90%; height: 86%; transition: transform 1.2s var(--ease); }
.concept-card:hover .art .iso { transform: scale(1.05) translateY(-4px); }
.concept-card h3 { font-size: 1.12rem; letter-spacing: -.02em; }
.concept-card p { font-size: .88rem; color: var(--on-dark-65); }
.concept-card .tag { justify-self: start; }
.arch-note { margin-top: 28px; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1px solid var(--line-dark); border-radius: 14px; color: var(--on-dark-65); font-size: .88rem; max-width: 820px; }
.arch-note::before { content: "i"; flex: none; width: 22px; height: 22px; border-radius: 50%; border: 1px solid currentColor; display: grid; place-items: center; font-weight: 700; font-size: .75rem; }
.arch-foot { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; margin-top: 40px; }

@media (max-width: 980px) {
  .arch-intro { grid-template-columns: 1fr; }
  .arch-scroll { height: auto; }
  .arch-sticky { position: relative; top: 0; height: auto; grid-template-columns: 1fr; }
  .arch-canvas { order: -1; }
  .arch-step span { max-height: none; opacity: 1; }
  .arch-step:not(.is-active) span { display: none; }
  .concepts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) { .concepts { grid-template-columns: 1fr; } }

/* ---------- 13. Selected work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2vw, 28px); }
.work-item { grid-column: span 6; display: grid; gap: 18px; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.work-item:nth-child(1) { grid-column: span 7; }
.work-item:nth-child(2) { grid-column: span 5; margin-top: 18%; }
.work-item:nth-child(3) { grid-column: span 4; }
.work-item:nth-child(4) { grid-column: span 4; margin-top: 10%; }
.work-item:nth-child(5) { grid-column: span 4; }
.work-media { display: block; position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.work-item:nth-child(2) .work-media, .work-item:nth-child(4) .work-media { aspect-ratio: 4 / 5; }
.work-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; }
.work-item:hover .work-media img { transform: scale(1.06); }
.work-media::after {
  content: "View"; position: absolute; top: 50%; left: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--blue); color: var(--white); font-weight: 650; font-size: .88rem;
  transform: scale(0); transition: transform .6s var(--ease);
}
.work-item:hover .work-media::after, .work-item:focus-visible .work-media::after { transform: scale(1); }
.work-media .tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.work-meta { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.work-title { font-weight: 700; font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -.02em; transition: color .3s; }
.work-meta h3 { font-size: clamp(1.1rem, 1.6vw, 1.35rem); letter-spacing: -.02em; transition: color .3s; }
.work-item:hover .work-title { color: var(--blue); }
.work-meta > span:last-child { font-size: .78rem; color: var(--ink-45); font-weight: 600; white-space: nowrap; }
.work-item p { color: var(--ink-65); font-size: .92rem; margin-top: -8px; }
.work-note { margin-top: 48px; padding: 22px 24px; border: 1px dashed var(--line-strong); border-radius: 16px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; color: var(--ink-65); font-size: .92rem; }
@media (max-width: 860px) {
  .work-item, .work-item:nth-child(n) { grid-column: span 12; margin-top: 0; }
  .work-item:nth-child(n) .work-media { aspect-ratio: 4 / 3; }
}

/* Lightbox */
.lightbox { width: min(100% - 32px, 1100px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--white); color: var(--ink); overflow: hidden; }
.lightbox::backdrop { background: rgba(16, 24, 40, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.lb-inner { display: grid; grid-template-columns: 1.4fr 1fr; max-height: calc(100svh - 32px); }
.lb-media { background: var(--tint); min-height: 320px; }
.lb-media img { width: 100%; height: 100%; object-fit: cover; }
.lb-body { padding: clamp(24px, 3vw, 40px); display: grid; align-content: start; gap: 16px; overflow-y: auto; }
.lb-body h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); letter-spacing: -.03em; line-height: 1.1; }
.lb-body p { color: var(--ink-65); }
.lb-body ul { display: grid; gap: 8px; padding: 0; list-style: none; }
.lb-body li { display: flex; gap: 10px; font-size: .92rem; }
.lb-body li::before { content: "—"; color: var(--blue); }
.lb-nav { display: flex; gap: 10px; margin-top: 10px; }
.lb-btn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--white); display: grid; place-items: center; font-size: 1.1rem; transition: background .3s, color .3s, border-color .3s; }
.lb-btn:hover { background: var(--dark); color: var(--white); border-color: var(--dark); }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
@media (max-width: 760px) { .lb-inner { grid-template-columns: 1fr; overflow-y: auto; } .lb-media { min-height: 0; aspect-ratio: 4/3; } }

/* ---------- 14. Process timeline ---------- */
.process { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.process-intro { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 22px; }
ol.timeline { position: relative; display: grid; padding: 0 0 0 64px; margin: 0; list-style: none; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.timeline::after { background: var(--blue); transform: scaleY(var(--p, 0)); transform-origin: top; }
.t-step { position: relative; padding: 4px 0 52px; }
.t-step:last-child { padding-bottom: 0; }
.t-step .dot { position: absolute; left: -64px; top: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 1.5px solid var(--line-strong); font-size: .78rem; font-weight: 700; color: var(--ink-45); transition: all .6s var(--ease); }
.t-step.is-on .dot { background: var(--blue); border-color: var(--blue); color: var(--white); box-shadow: 0 0 0 8px var(--tint-2); }
.t-step h3 { font-size: clamp(1.5rem, 2.8vw, 2.4rem); letter-spacing: -.035em; line-height: 1; margin-top: 4px; color: var(--ink-45); transition: color .6s var(--ease); }
.t-step.is-on h3 { color: var(--ink); }
.t-step p { margin-top: 12px; color: var(--ink-65); max-width: 48ch; }
.t-step .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.t-step .chips span { font-size: .74rem; font-weight: 600; padding: 5px 10px; border-radius: 99px; border: 1px solid var(--line); color: var(--ink-65); }
@media (max-width: 860px) { .process { grid-template-columns: 1fr; } .process-intro { position: static; } ol.timeline { padding-left: 56px; } .t-step .dot { left: -56px; width: 40px; height: 40px; } .timeline::before, .timeline::after { left: 19px; } }

/* ---------- 15. Why Sharza ---------- */
.why { --mx: 50%; --my: 50%; }
.why::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px circle at var(--mx) var(--my), rgba(18,104,232,.18), transparent 60%); pointer-events: none; }
.why-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 64px; position: relative; }
.why-list { position: relative; border-top: 1px solid var(--line-dark); }
.why-row {
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; align-items: center;
  padding: clamp(20px, 2.6vw, 34px) 0; border-bottom: 1px solid var(--line-dark); position: relative;
}
.why-row::before { content: ""; position: absolute; inset: 0 -100vw; background: var(--blue); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease); z-index: 0; }
.why-row > * { position: relative; z-index: 1; }
.why-row:hover::before { transform: scaleY(1); }
.why-row b { font-size: .8rem; letter-spacing: .1em; color: var(--on-dark-45); transition: color .4s; }
.why-row h3 { font-size: clamp(1.6rem, 3.8vw, 3.3rem); letter-spacing: -.045em; line-height: 1; font-weight: 750; transition: transform .6s var(--ease); }
.why-row p { color: var(--on-dark-65); transition: color .4s; }
.why-row:hover b, .why-row:hover p { color: var(--white); }
.why-row:hover h3 { transform: translateX(10px); }
@media (max-width: 760px) { .why-head { grid-template-columns: 1fr; } .why-row { grid-template-columns: 44px 1fr; } .why-row p { grid-column: 2; } }

/* ---------- 16. Global reach ---------- */
.reach { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.reach-list { display: grid; margin-top: 36px; border-top: 1px solid var(--line); }
.reach-list li { display: grid; grid-template-columns: 1fr auto; padding: 16px 0; border-bottom: 1px solid var(--line); cursor: default; transition: padding .5s var(--ease); }
.reach-list li strong { font-size: 1.1rem; letter-spacing: -.02em; }
.reach-list li span { font-size: .78rem; font-weight: 600; color: var(--ink-45); align-self: center; }
.reach-list li:hover, .reach-list li.is-hot { padding-left: 10px; }
.reach-list li:hover strong, .reach-list li.is-hot strong { color: var(--blue); }
.map { position: relative; color: var(--dark); }
.map svg { width: 100%; height: auto; overflow: hidden; }
.map .dots { stroke: currentColor; stroke-opacity: .24; stroke-width: 3.4; stroke-linecap: round; }
.map .arc { fill: none; stroke: var(--blue); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.map.is-in .arc { stroke-dashoffset: 0; transition: stroke-dashoffset 2s var(--ease-in-out); transition-delay: calc(var(--n) * 250ms + 300ms); }
.map .pin circle.c { fill: var(--blue); }
.map .pin circle.r { fill: none; stroke: var(--blue); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .map.is-in .pin circle.r { animation: pinPing 2.8s var(--ease) infinite; animation-delay: calc(var(--n) * 400ms + 1.2s); } }
@keyframes pinPing { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.map .pin.home circle.c { fill: var(--dark); }
.map .pin text { paint-order: stroke; stroke: var(--white); stroke-width: 3px; stroke-linejoin: round; font: 700 9.5px var(--font); fill: var(--dark); letter-spacing: -.01em; }
.map .pin text.s { font-weight: 600; font-size: 6.2px; fill: var(--ink-45); letter-spacing: .08em; }
.map .pin { transition: opacity .4s; }
.map.has-hot .pin:not(.is-hot) { opacity: .35; }
.reach-note { margin-top: 18px; font-size: .84rem; color: var(--ink-45); }
@media (max-width: 980px) { .reach { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .map .pin text { font-size: 12px; } .map .pin text.s { display: none; } }

/* ---------- 17. Free tools band ---------- */
.tools-band { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.tools-links { display: grid; border-top: 1px solid var(--line); }
.tool-link { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .4s, padding .5s var(--ease); }
.tool-link .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); display: grid; place-items: center; color: var(--blue); transition: background .4s, color .4s; }
.tool-link .ic svg { width: 22px; height: 22px; }
.tool-link strong { display: block; font-size: 1.05rem; letter-spacing: -.015em; }
.tool-link small { color: var(--ink-65); font-size: .86rem; }
.tool-link .go { transition: transform .5s var(--ease); color: var(--ink-45); }
.tool-link:hover { padding-left: 14px; }
.tool-link:hover .ic { background: var(--blue); color: var(--white); }
.tool-link:hover .go { transform: translateX(6px); color: var(--blue); }
@media (max-width: 860px) { .tools-band { grid-template-columns: 1fr; } }

/* ---------- 18. Final CTA ---------- */
.final-cta { position: relative; overflow: hidden; text-align: center; padding-block: clamp(110px, 14vw, 200px); isolation: isolate; }
.final-cta .rings { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; pointer-events: none; }
.final-cta .rings i { position: absolute; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); width: calc(var(--s) * 1px); height: calc(var(--s) * 1px); }
@media (prefers-reduced-motion: no-preference) { .final-cta .rings i { animation: breathe 8s var(--ease-in-out) infinite; animation-delay: calc(var(--n) * -1.4s); } }
@keyframes breathe { 50% { transform: scale(1.08); border-color: rgba(255,255,255,.28); } }
.final-cta .display { max-width: 15ch; margin: 26px auto 0; }
.final-cta p { max-width: 48ch; margin: 28px auto 40px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(255, 255, 255, .82); }
.final-cta .btn-row { justify-content: center; }

/* ---------- 19. Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-65); padding: clamp(72px, 9vw, 120px) 0 28px; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { color: var(--white); font-size: 1.6rem; }
.footer-brand p { margin-top: 18px; max-width: 34ch; font-size: .94rem; }
.footer-col h4 { font-size: .72rem; letter-spacing: .2em; color: var(--on-dark-45); margin-bottom: 18px; font-weight: 700; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--on-dark); font-size: .94rem; transition: color .3s; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; }
.footer-col a:hover { color: var(--white); background-size: 100% 1px; }
.footer-col li span { font-size: .94rem; }
.footer-statement { font-size: clamp(2.6rem, 9.6vw, 9.2rem); font-weight: 800; letter-spacing: -.055em; line-height: .9; color: var(--white); padding: 56px 0 40px; text-transform: uppercase; }
.footer-statement span { display: block; }
.footer-statement .accent { color: var(--blue); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem; }
.back-top { display: inline-flex; align-items: center; gap: 10px; color: var(--on-dark); font-weight: 600; }
.back-top i { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-dark); display: grid; place-items: center; font-style: normal; transition: background .3s, transform .5s var(--ease); }
.back-top:hover i { background: var(--blue); border-color: var(--blue); transform: translateY(-3px); }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }

/* ---------- 20. Inner page hero ---------- */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(64px, 9vw, 130px)) 0 clamp(56px, 7vw, 100px); overflow: hidden; isolation: isolate; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -20%; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(18, 104, 232, .12), transparent 65%); z-index: -1; }
.page-hero .eyebrow { margin-bottom: 26px; }
.page-hero-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: end; }
.page-hero .lead { margin-top: 0; }
.crumbs { display: flex; gap: 10px; font-size: .78rem; font-weight: 600; color: var(--ink-45); margin-bottom: 20px; }
.crumbs a:hover { color: var(--blue); }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* Image band */
.media-band { position: relative; border-radius: clamp(18px, 2.4vw, 32px); overflow: hidden; aspect-ratio: 21 / 9; background: var(--tint); }
.media-band img, .media-band video { width: 100%; height: 100%; object-fit: cover; }
.media-band .cap { position: absolute; left: 24px; bottom: 20px; color: var(--white); font-size: .74rem; font-weight: 700; letter-spacing: .18em; z-index: 2; }
.media-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(16, 24, 40, .72)); }
@media (max-width: 700px) { .media-band { aspect-ratio: 4 / 3; } }

/* ---------- 21. About ---------- */
.manifesto { font-size: clamp(1.6rem, 3.4vw, 3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.15; max-width: 24ch; }
.manifesto .dim { color: var(--ink-45); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }
.stack { display: grid; gap: 20px; }
.stack p { color: var(--ink-65); }
.vm { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-dark); border-radius: 28px; overflow: hidden; }
.vm > div { padding: clamp(32px, 5vw, 64px); display: grid; gap: 20px; align-content: start; }
.vm > div + div { border-left: 1px solid var(--line-dark); }
.vm h3 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.04em; line-height: 1.05; color: var(--white); font-weight: 750; }
.vm p { color: var(--on-dark-65); }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } .vm > div + div { border-left: 0; border-top: 1px solid var(--line-dark); } .split, .split--wide-left { grid-template-columns: 1fr; } }

.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 32px 28px 32px 0; display: grid; gap: 14px; align-content: start; border-bottom: 1px solid var(--line); }
.pillar + .pillar { padding-left: 28px; border-left: 1px solid var(--line); }
.pillar b { font-size: .78rem; letter-spacing: .12em; color: var(--blue); }
.pillar h3 { font-size: 1.35rem; letter-spacing: -.025em; }
.pillar p { color: var(--ink-65); font-size: .95rem; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } .pillar + .pillar { padding-left: 0; border-left: 0; } }

.dialogue { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.dlg { display: grid; gap: 18px; align-content: start; }
.dlg .ph { border-radius: 18px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.dlg .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.dlg:hover .ph img { transform: scale(1.05); }
.dlg h3 { font-size: 1.2rem; letter-spacing: -.02em; display: flex; gap: 12px; align-items: baseline; }
.dlg h3 b { font-size: .75rem; color: var(--blue); letter-spacing: .1em; }
.bubble { position: relative; padding: 14px 16px; border-radius: 14px; background: var(--tint); font-size: .93rem; color: var(--ink-80); }
.bubble strong { color: var(--ink); }
.bubble.alt { background: var(--white); border: 1px solid var(--line); margin-left: 18px; }
.dialogue-foot { margin-top: 40px; font-size: 1.05rem; color: var(--ink-65); max-width: 60ch; }
@media (max-width: 860px) { .dialogue { grid-template-columns: 1fr; } }

.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.value { background: var(--white); padding: 32px 26px; display: grid; gap: 40px; align-content: space-between; min-height: 260px; transition: background .5s var(--ease), color .5s; }
.value b { font-size: .78rem; color: var(--blue); letter-spacing: .1em; transition: color .5s; }
.value h3 { font-size: 1.45rem; letter-spacing: -.03em; }
.value p { color: var(--ink-65); font-size: .93rem; margin-top: 10px; transition: color .5s; }
.value:hover { background: var(--dark); color: var(--white); }
.value:hover b { color: var(--white); }
.value:hover p { color: var(--on-dark-65); }
@media (max-width: 960px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } .value { min-height: 0; } }

.future { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.future-art { border-radius: 28px; background: var(--white); color: var(--dark); aspect-ratio: 5 / 4; display: grid; place-items: center; position: relative; overflow: hidden; }
.future-art .iso { width: 86%; }
.future-art .tag { position: absolute; top: 18px; left: 18px; }
@media (max-width: 860px) { .future { grid-template-columns: 1fr; } }

/* ---------- 22. Services ---------- */
.cat-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-block: 1px solid var(--line); transition: top .5s var(--ease); }
.header-hidden .cat-nav { top: 0; }
.cat-nav ul { list-style: none; margin: 0 auto; padding: 0; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; width: min(100% - (var(--gutter) * 2), var(--max)); }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a { display: block; padding: 16px 16px; font-size: .86rem; font-weight: 600; color: var(--ink-65); white-space: nowrap; position: relative; transition: color .3s; }
.cat-nav a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: -1px; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .5s var(--ease); }
.cat-nav a:hover { color: var(--ink); }
.cat-nav a.is-active { color: var(--blue); }
.cat-nav a.is-active::after { transform: scaleX(1); }
.cat-nav a .soon { font-size: .62rem; letter-spacing: .12em; color: var(--blue); margin-left: 6px; }

.cat { padding-block: clamp(72px, 9vw, 130px); border-bottom: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 56px); }
.cat-head { display: grid; grid-template-columns: 90px 1fr 1fr; gap: 24px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.cat-head .num { font-size: clamp(2.6rem, 5vw, 4.2rem); font-weight: 800; letter-spacing: -.05em; color: var(--blue); line-height: .9; }
.cat-head .lead { justify-self: end; }
@media (max-width: 860px) { .cat-head { grid-template-columns: 1fr; } .cat-head .lead { justify-self: start; } }
.svc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: 28px; }
.svc + .svc { border-top: 1px dashed var(--line); padding-top: 56px; margin-top: 28px; }
.svc:nth-of-type(even) .svc-visual { order: 2; }
.svc-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; background: var(--tint); border: 1px solid var(--line); isolation: isolate; }
.svc-visual > img, .svc-visual > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.svc:hover .svc-visual > img { transform: scale(1.05); }
.svc-visual--white { background: var(--white); display: grid; place-items: center; }
.svc-visual--white .iso { width: 84%; }
.svc-visual--dark { background: var(--dark); }
.svc-body { display: grid; gap: 18px; align-content: start; }
.svc-body .h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: -.035em; }
.svc-body > p { color: var(--ink-65); }
.svc-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.svc-list li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; font-weight: 550; display: flex; gap: 10px; align-items: center; }
.svc-list li::before { content: ""; width: 6px; height: 6px; border-radius: 2px; background: var(--blue); flex: none; transform: rotate(45deg); }
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; } .svc:nth-of-type(even) .svc-visual { order: 0; } }
@media (max-width: 420px) { .svc-list { grid-template-columns: 1fr; } }

.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 24px 0; font-size: clamp(1.05rem, 1.6vw, 1.3rem); font-weight: 650; letter-spacing: -.02em; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary i { flex: none; position: relative; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); transition: background .4s, border-color .4s, transform .5s var(--ease); }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease); }
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--blue); border-color: var(--blue); color: var(--white); transform: rotate(180deg); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq .ans { padding: 0 60px 26px 0; color: var(--ink-65); max-width: 70ch; }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { height: 0; overflow: clip; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
  .faq details[open]::details-content { height: auto; }
}

/* ---------- 23. Free tools ---------- */
.tool-filter { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; margin-bottom: 28px; }
.search { position: relative; }
.search input { width: 100%; height: 56px; padding: 0 20px 0 52px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: 1rem; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--tint-2); }
.search svg { position: absolute; left: 20px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--ink-45); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--white); font-size: .86rem; font-weight: 600; color: var(--ink-80); transition: all .3s var(--ease); }
.chip:hover { border-color: var(--dark); }
.chip[aria-pressed="true"] { background: var(--dark); color: var(--white); border-color: var(--dark); }
.tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tool-card { position: relative; display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: 22px; border: 1px solid var(--line); background: var(--white); transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease); min-height: 250px; }
.tool-card:hover { transform: translateY(-6px); border-color: var(--blue-soft); box-shadow: 0 30px 60px -36px rgba(16,24,40,.45); }
.tool-card .ic { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); color: var(--blue); transition: background .4s, color .4s; }
.tool-card:hover .ic { background: var(--blue); color: var(--white); }
.tool-card .ic svg { width: 24px; height: 24px; }
.tool-card h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.tool-card p { color: var(--ink-65); font-size: .93rem; }
.tool-card .link-arrow { margin-top: auto; align-self: end; }
.tool-card .cat-lbl { position: absolute; top: 24px; right: 24px; font-size: .66rem; letter-spacing: .14em; font-weight: 700; color: var(--ink-45); }
.tool-card[hidden] { display: none; }
.tool-empty { padding: 40px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 22px; color: var(--ink-65); }
@media (max-width: 960px) { .tool-grid { grid-template-columns: 1fr 1fr; } .tool-filter { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tool-grid { grid-template-columns: 1fr; } }

.ft-work { padding-block: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 10px); }
.ft-work:nth-of-type(odd) { background: linear-gradient(180deg, var(--tint), transparent 60%); }
.ft-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.ft-panel { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 3vw, 34px); display: grid; gap: 4px; align-content: start; }
.ft-panel h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); letter-spacing: -.035em; margin: 10px 0 6px; }
.ft-panel h3 { font-size: 1.15rem; letter-spacing: -.02em; margin: 14px 0 4px; }
.ft-panel > p { color: var(--ink-65); font-size: .94rem; }
.ft-field, .field { display: grid; gap: 7px; margin: 10px 0; }
.ft-field label, .field label { font-size: .82rem; font-weight: 650; color: var(--ink-80); }
.ft-field input, .ft-field select, .ft-field textarea, .ft-items input,
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--white); font-size: .97rem; transition: border-color .3s, box-shadow .3s, background .3s;
}
.ft-field textarea, .field textarea { min-height: 120px; resize: vertical; }
.ft-field input:hover, .ft-field select:hover, .ft-field textarea:hover, .field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(16,24,40,.32); }
.ft-field input:focus, .ft-field select:focus, .ft-field textarea:focus, .ft-items input:focus,
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--tint-2); }
.ft-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ft-items .item { display: grid; grid-template-columns: minmax(0,1fr) 70px 100px 40px; gap: 6px; margin: 8px 0; }
.ft-items input { min-height: 44px; padding: 10px; font-size: .9rem; }
.ft-items button { border: 1px solid var(--line-strong); background: var(--white); border-radius: 10px; font-size: 1.1rem; transition: background .3s, color .3s; }
.ft-items button:hover { background: var(--dark); color: var(--white); }
.ft-panel .btn { margin-top: 12px; justify-self: start; }
.ft-preview { padding: clamp(20px, 3vw, 34px); background: var(--white); border: 1px solid var(--line); border-radius: 22px; min-height: 420px; color: var(--ink-80); box-shadow: 0 30px 70px -50px rgba(16,24,40,.5); position: sticky; top: calc(var(--header-h) + 20px); }
.ft-preview > strong { font-size: 1.2rem; color: var(--ink); }
.ft-preview h2 { color: var(--blue); letter-spacing: .1em; font-size: 1.3rem; margin: 18px 0 10px; }
.ft-preview table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .9rem; }
.ft-preview th, .ft-preview td { text-align: left; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.ft-preview th { background: var(--tint); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.ft-preview .totals { margin-left: auto; width: min(260px, 100%); }
.ft-preview .totals div { display: flex; justify-content: space-between; padding: 6px; }
.ft-preview .totals div:last-child { border-top: 2px solid var(--dark); margin-top: 4px; }
.ft-note { font-size: .8rem; color: var(--ink-45); margin-top: 12px; }
.ft-calcs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ft-result { margin-top: 14px; padding: 18px; background: var(--dark); color: var(--on-dark-65); border-radius: 14px; display: grid; gap: 4px; }
.ft-result strong { display: block; color: var(--white); font-size: 1.9rem; letter-spacing: -.03em; transition: color .3s; }
.ft-result.flash strong { color: color-mix(in srgb, var(--blue) 60%, var(--white)); }
.qr-wrap { max-width: 760px; margin-inline: auto; }
.qr-out { margin-top: 18px; min-height: 120px; padding: 24px; border-radius: 16px; border: 1px dashed var(--line-strong); display: grid; place-items: center; gap: 14px; text-align: center; color: var(--ink-65); }
.qr-out img, .qr-out canvas { margin-inline: auto; }
.qr-out.is-error { border-color: var(--dark); color: var(--ink); }
.qr-out.is-loading::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2.5px solid var(--tint-2); border-top-color: var(--blue); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 960px) { .ft-layout { grid-template-columns: 1fr; } .ft-preview { position: static; } .ft-calcs { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ft-row { grid-template-columns: 1fr; gap: 0; } .ft-items .item { grid-template-columns: minmax(0,1fr) 54px 78px 40px; } .ft-items input { padding: 8px 6px; font-size: .85rem; } .ft-preview table { font-size: .78rem; } }

@media print {
  body * { visibility: hidden !important; }
  .ft-preview, .ft-preview * { visibility: visible !important; }
  .ft-preview { position: absolute; left: 0; top: 0; width: 100%; border: 0; box-shadow: none; }
  .site-header, .site-footer, .cat-nav { display: none !important; }
  @page { margin: 15mm; }
}

/* ---------- 24. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.contact-aside { display: grid; gap: 28px; position: sticky; top: calc(var(--header-h) + 32px); }
.channels { display: grid; border-top: 1px solid var(--line); }
.channel { display: grid; grid-template-columns: 48px 1fr auto; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
a.channel:hover { padding-left: 12px; }
.channel .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--blue); display: grid; place-items: center; transition: background .4s, color .4s; }
.channel .ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
a.channel:hover .ic { background: var(--blue); color: var(--white); }
.channel small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; color: var(--ink-45); text-transform: uppercase; }
.channel strong { font-size: 1.02rem; letter-spacing: -.01em; font-weight: 650; }
.channel .go { color: var(--ink-45); transition: transform .5s var(--ease), color .3s; }
a.channel:hover .go { transform: translateX(5px); color: var(--blue); }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 90px -60px rgba(16,24,40,.5); }
.form-card h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.035em; margin: 12px 0 8px; }
.form-card > p { color: var(--ink-65); margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; }
.form-grid .full { grid-column: 1 / -1; }
.field .req { color: var(--blue); }
.field .opt { font-weight: 500; color: var(--ink-45); }
.field .err { display: none; font-size: .8rem; font-weight: 600; color: var(--ink); align-items: center; gap: 6px; }
.field .err::before { content: "!"; width: 16px; height: 16px; border-radius: 50%; background: var(--dark); color: var(--white); display: grid; place-items: center; font-size: .64rem; font-weight: 800; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--dark); border-width: 1.5px; background: var(--tint); }
.field.has-error .err { display: flex; }
.field.is-valid input, .field.is-valid select, .field.is-valid textarea { border-color: var(--blue-soft); }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; margin-top: 18px; }
.form-foot p { font-size: .82rem; color: var(--ink-45); max-width: 34ch; }
.form-status { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; font-size: .9rem; }
.form-status.is-error { display: block; background: var(--dark); color: var(--white); }
.btn .spin { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: var(--white); animation: spin .8s linear infinite; }
.btn[aria-busy="true"] .spin { display: inline-block; }
.btn[aria-busy="true"] .arr { display: none; }
.next-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.next-steps li { padding: 28px 24px 0 0; display: grid; gap: 10px; }
.next-steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.next-steps b { font-size: .78rem; color: var(--blue); letter-spacing: .1em; }
.next-steps h3 { font-size: 1.2rem; letter-spacing: -.02em; }
.next-steps p { color: var(--ink-65); font-size: .93rem; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } .contact-aside { position: static; } .next-steps { grid-template-columns: 1fr 1fr; gap: 24px 0; } .next-steps li:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } .next-steps { grid-template-columns: 1fr; } .next-steps li + li { padding-left: 0; border-left: 0; } .form-foot .btn { width: 100%; } }

/* ---------- 25. Thank you & 404 ---------- */
.done { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) var(--gutter) 60px; position: relative; overflow: hidden; isolation: isolate; }
.done::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 50% at 50% 45%, rgba(18,104,232,.12), transparent 70%); }
.done-inner { max-width: 720px; display: grid; justify-items: center; gap: 22px; }
.check { width: 112px; height: 112px; }
.check circle { fill: none; stroke: var(--blue); stroke-width: 3; stroke-dasharray: 330; stroke-dashoffset: 330; }
.check path { fill: none; stroke: var(--blue); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 80; stroke-dashoffset: 80; }
.check circle { animation: draw-c 1s var(--ease-in-out) .2s forwards; }
.check path { animation: draw-c .7s var(--ease) 1s forwards; }
@keyframes draw-c { to { stroke-dashoffset: 0; } }
.done .h1 { text-transform: none; }
.done p { color: var(--ink-65); font-size: 1.1rem; max-width: 52ch; }
.done .btn-row { justify-content: center; margin-top: 10px; }
.big-404 { font-size: clamp(7rem, 26vw, 18rem); font-weight: 800; letter-spacing: -.08em; line-height: .8; color: var(--blue); }

/* ---------- 26. Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 64px; }
.center { text-align: center; }
.max-60 { max-width: 60ch; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- 27. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-split] .split-word > span, .js .hero [data-enter] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .js [data-reveal="mask"] img { transform: none !important; }
  .arch-canvas .lyr { transition: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- 28. Responsive refinements ---------- */
@media (max-width: 860px) {
  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .section-head--split .lead { justify-self: start; }
}
.svc-visual.is-in .ui-bms svg path.line { animation: draw 1.8s var(--ease) .4s forwards; }
.svc-visual.is-in .ui-bms svg path.area { opacity: 1; }
.h2 .soon { display: inline-block; vertical-align: middle; margin-left: 12px; padding: 6px 12px; border-radius: 99px; border: 1px solid var(--blue-soft); font-size: .7rem; letter-spacing: .16em; font-weight: 700; color: var(--blue); }
