/* =========================================================
   LOGISTEC — אתר ליזמים | עיצוב
   ========================================================= */
:root {
  --bg: #F6F9FC;
  --surface: #FFFFFF;
  --ink: #0B1B2B;
  --ink-2: #3C4B5C;
  --muted: #6B7A8C;
  --line: #E3EAF2;
  --accent: #38B6FF;
  --accent-600: #0E96E6;
  --field-border: #E3EAF2;
  --focus-ring: #0369A1;     /* keyboard focus outline */
  --accent-50: #EAF7FF;
  --accent-100: #D3EEFF;
  --dark: #081521;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 10px 30px -12px rgba(11, 27, 43, .18);
  --shadow-lg: 0 30px 60px -25px rgba(11, 27, 43, .35);
  --container: 1320px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; } /* focused items never hide under the fixed header */
body {
  margin: 0;
  font-family: "Heebo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--accent-100); }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(80px, 11vw, 150px) 0; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 800; }
.display { font-size: clamp(48px, 8.2vw, 124px); font-weight: 900; letter-spacing: -.035em; line-height: .98; }
.h2 { font-size: clamp(38px, 5.4vw, 76px); }
.h3 { font-size: clamp(24px, 2.4vw, 34px); }
.lead { font-size: clamp(19px, 1.6vw, 23px); color: var(--ink-2); max-width: 60ch; }
.accent { color: var(--accent); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-600); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 64px; flex-wrap: wrap; }
.section-head .lead { margin: 18px 0 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 17px 30px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 17px; white-space: nowrap;
  transition: transform .35s var(--ease), background .3s, color .3s, box-shadow .35s;
}
.btn svg { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(-5px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -10px rgba(56, 182, 255, .7); }
.btn-primary:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--accent-600); }
.link-arrow svg { width: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(-6px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .4s, box-shadow .4s, transform .4s var(--ease);
  padding: 18px 0;
}
.site-header.scrolled, .site-header.solid {
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
  padding: 12px 0;
}
.site-header.hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 30px; letter-spacing: -.03em; line-height: .95; }
.logo-mark { width: 48px; height: 48px; flex: none; transition: transform .6s var(--ease); }
.logo-mark svg { width: 100%; height: 100%; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.logo small { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .16em; line-height: 1; margin-top: 5px; }
.logo small::before { content: ""; width: 12px; height: 2px; border-radius: 2px; background: var(--accent); }
.nav-links { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: 16px;
  transition: background .25s, color .25s;
}
.nav-links a:hover, .nav-links a.active { background: var(--accent-50); color: var(--accent-600); }
.site-header.on-dark:not(.scrolled) .logo, .site-header.on-dark:not(.scrolled) .nav-links a { color: #fff; }
.site-header.on-dark:not(.scrolled) .logo small { color: rgba(255,255,255,.7); }
.site-header.on-dark:not(.scrolled) .nav-links a:hover { background: rgba(255,255,255,.15); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 13px 22px; font-size: 16px; }
.burger {
  display: none; position: relative; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--ink); color: #fff; transition: background .4s, transform .4s var(--ease);
}
.burger:active { transform: scale(.9); }
.burger span {
  position: absolute; left: 14px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .5s var(--ease), opacity .3s, width .4s var(--ease), top .4s var(--ease);
}
.burger span:nth-child(1) { top: 17px; width: 22px; }
.burger span:nth-child(2) { top: 24px; width: 22px; }
.burger span:nth-child(3) { top: 31px; width: 12px; }
.burger:hover span:nth-child(3) { width: 22px; }
.menu-open .burger { background: var(--accent); }
.menu-open .burger span:nth-child(1) { top: 24px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.menu-open .burger span:nth-child(3) { top: 24px; width: 22px; transform: rotate(-45deg); }
.site-header.menu-open { z-index: 210; background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; transform: none !important; }
.site-header.menu-open .logo { color: #fff; }
.site-header.menu-open .logo small { color: rgba(255,255,255,.65); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 200; background: var(--dark); color: #fff; overflow: hidden auto;
  display: flex; flex-direction: column; padding: 110px 24px 28px;
  clip-path: circle(0 at var(--mx, 40px) var(--my, 40px)); visibility: hidden;
  transition: clip-path .8s cubic-bezier(.77, 0, .18, 1), visibility 0s .8s;
}
.mobile-menu.open { clip-path: circle(150vmax at var(--mx, 40px) var(--my, 40px)); visibility: visible; transition: clip-path .9s cubic-bezier(.77, 0, .18, 1), visibility 0s; }
.mobile-menu::before {
  content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; top: -140px; right: -140px;
  background: radial-gradient(var(--accent), transparent 68%); opacity: .35; pointer-events: none;
}
.mm-deco { position: absolute; display: block; width: 360px; bottom: -80px; left: -90px; opacity: .08; pointer-events: none; animation: mmSpin 40s linear infinite; }
.mm-deco svg { display: block; width: 100%; height: auto; }
@keyframes mmSpin { to { transform: rotate(360deg); } }
.mobile-menu nav { position: relative; }
.mm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.mobile-menu nav a {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: baseline; gap: 8px;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.1); overflow: hidden;
}
.mm-num, .mm-txt, .mm-arrow { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform .7s var(--ease), opacity .5s, color .3s; }
.mm-num { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.mm-txt { font-size: clamp(32px, 9vw, 46px); font-weight: 900; letter-spacing: -.03em; line-height: 1.15; }
.mm-arrow { width: 26px; color: var(--accent); align-self: center; }
.mm-arrow svg { width: 26px; transition: transform .4s var(--ease); }
.mobile-menu.open nav a .mm-num, .mobile-menu.open nav a .mm-txt { transform: none; opacity: 1; transition-delay: calc(.3s + var(--i) * .07s); }
.mobile-menu.open nav a .mm-arrow { transform: none; opacity: .35; transition-delay: calc(.4s + var(--i) * .07s); }
.mobile-menu nav a:hover .mm-txt, .mobile-menu nav a:active .mm-txt, .mobile-menu nav a.active .mm-txt { color: var(--accent); }
.mobile-menu nav a:hover .mm-arrow svg, .mobile-menu nav a:active .mm-arrow svg { transform: translateX(-6px); }
.mobile-menu nav a.active .mm-arrow { opacity: 1; }
.mm-foot { position: relative; margin-top: auto; padding-top: 32px; opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .7s var(--ease); }
.mobile-menu.open .mm-foot { opacity: 1; transform: none; transition-delay: .75s; }
.mm-foot .btn { width: 100%; padding: 19px; font-size: 18px; }
.mm-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.mm-contact a {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 6px; border-radius: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); font-size: 13px; font-weight: 600; transition: background .3s, border-color .3s;
}
.mm-contact a:active, .mm-contact a:hover { background: rgba(56,182,255,.18); border-color: var(--accent); }
.mm-contact svg { width: 22px; height: 22px; color: var(--accent); }
.mm-address { text-align: center; color: rgba(255,255,255,.5); font-size: 14px; margin: 16px 0 0; }
body.no-scroll { overflow: hidden; }

/* ---------- Intro loader (home) ---------- */
.preloader { position: fixed; inset: 0; z-index: 1000; }
html.no-intro .preloader { display: none; }
.pl-layer { position: absolute; inset: 0; clip-path: inset(0 0 0 0); }
.pl-blue { background: var(--accent); }
.pl-panel { background: var(--bg); display: grid; place-items: center; }
.pl-logo { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pl-mark { width: clamp(84px, 12vw, 116px); height: auto; overflow: visible; }
.pl-mark .cube { opacity: 0; animation: plCube .75s cubic-bezier(.3, 1.4, .5, 1) forwards; }
.pl-mark .c1 { animation-delay: .15s; }
.pl-mark .c2 { animation-delay: .38s; }
.pl-mark .c3 { animation-delay: .65s; }
@keyframes plCube { 0% { opacity: 0; transform: translateY(-34px); } 45% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.pl-name, .pl-sub, .pl-slogan { opacity: 0; animation: plUp .8s var(--ease) forwards; }
@keyframes plUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.pl-name { font-size: clamp(50px, 8vw, 84px); font-weight: 900; letter-spacing: -.035em; line-height: 1; margin-top: 20px; animation-delay: .95s; }
.pl-fillwrap { position: relative; }
.pl-layer-base, .pl-layer-fill { display: flex; flex-direction: column; align-items: center; }
.pl-layer-base .pl-name { color: #DCE5EE; }
.pl-layer-fill { position: absolute; inset: 0; clip-path: inset(calc(100% - var(--p, 0%)) 0 0 0); transition: clip-path .4s ease-out; }
.pl-sub { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 16px; font-weight: 600; letter-spacing: .22em; color: var(--ink-2); animation-delay: 1.1s; }
.pl-sub::before, .pl-sub::after { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--accent); }
.pl-slogan { margin-top: 16px; font-size: 19px; font-weight: 800; color: var(--accent-600); animation-delay: 1.25s; }
/* exit: content lifts away, then the light and blue layers wipe up */
.preloader.done .pl-logo { transform: translateY(-28px) scale(.96); opacity: 0; transition: transform .6s var(--ease), opacity .45s; }
.preloader.done .pl-panel { clip-path: inset(0 0 100% 0); transition: clip-path .95s cubic-bezier(.77, 0, .18, 1) .3s; }
.preloader.done .pl-blue { clip-path: inset(0 0 100% 0); transition: clip-path .95s cubic-bezier(.77, 0, .18, 1) .46s; }
/* while the loader is up, the hero waits slightly zoomed and its texts hidden */
.hero-frame { transition: transform 1.8s var(--ease); }
html:not(.no-intro) body.pre .hero-frame { transform: scale(1.12); }
html:not(.no-intro) body.pre .hero-content .reveal { opacity: 0 !important; transform: translateY(40px) !important; }
@media (prefers-reduced-motion: reduce) {
  .pl-mark .cube, .pl-name, .pl-sub, .pl-slogan { opacity: 1; }
}

/* ---------- Hero ---------- */
.hero { padding: 14px; height: 100svh; min-height: 680px; }
.hero-frame {
  position: relative; height: 100%; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--dark); color: #fff; display: flex; align-items: flex-end;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img, .hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media img { animation: kenburns 22s ease-in-out infinite alternate; }
.hero-media video { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s; }
.hero-media video.ready { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-2%, -1%); } }
.hero-frame::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(4, 14, 24, .88) 0%, rgba(4, 14, 24, .35) 45%, rgba(4, 14, 24, .15) 70%, rgba(4, 14, 24, .45) 100%);
}
.hero-content { position: relative; z-index: 2; width: 100%; padding: 0 clamp(24px, 5vw, 80px) clamp(36px, 6vw, 80px); }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px;
  border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(10px); font-size: 15px; font-weight: 500; margin-bottom: 28px;
}
.hero-tag b { background: var(--accent); padding: 4px 12px; border-radius: 999px; font-weight: 700; }
.hero h1 { max-width: 18ch; font-size: clamp(46px, 7vw, 112px); }
.hero h1 .accent { color: var(--accent); }
/* alternating hero slogans: both occupy the same grid cell; lines slide up out / in from below */
.hero-slogans { display: grid; }
.hero-slogans .slogan { grid-area: 1 / 1; display: block; }
.hero-slogans .split-line > span { transform: translateY(108%); transition: transform 1.1s cubic-bezier(.77, 0, .18, 1); }
.hero-slogans .split-line:nth-child(2) > span { transition-delay: .1s; }
.hero-slogans .slogan.on .split-line > span { transform: none; }
.hero-slogans .slogan.out .split-line > span { transform: translateY(-108%); }
.hero-slogans .slogan.reset .split-line > span { transition: none; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 36px; flex-wrap: wrap; }
.hero-bottom p { max-width: 46ch; font-size: clamp(18px, 1.5vw, 21px); color: rgba(255,255,255,.85); margin: 0 0 24px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: clamp(20px, 3vw, 48px); }
.hero-stats div { border-inline-start: 1px solid rgba(255,255,255,.3); padding-inline-start: 20px; }
.hero-stats strong { display: block; font-size: clamp(34px, 3.6vw, 54px); font-weight: 800; line-height: 1; }
.hero-stats span { font-size: 15px; color: rgba(255,255,255,.75); }
.scroll-hint {
  position: absolute; z-index: 3; top: 50%; left: clamp(20px, 3vw, 44px); transform: translateY(-50%);
  writing-mode: vertical-rl; font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.7);
  display: flex; align-items: center; gap: 14px;
}
.scroll-hint::after { content: ""; width: 1px; height: 70px; background: linear-gradient(rgba(255,255,255,.8), transparent); animation: drip 2s infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-bottom: 1px solid var(--line); background: var(--surface); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { font-size: clamp(22px, 2.4vw, 34px); font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 60px; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--accent); font-size: .7em; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-media { position: relative; }
.about-media .main { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.about-media .main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: 36px; inset-inline-end: -30px; background: var(--surface);
  border-radius: var(--radius); padding: 26px 30px; box-shadow: var(--shadow-lg); max-width: 250px;
}
.about-badge strong { font-size: 58px; font-weight: 900; color: var(--accent); line-height: 1; display: block; }
.about-badge span { font-weight: 600; color: var(--ink-2); font-size: 16px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin-top: 44px; }
.feature { display: flex; gap: 16px; }
.feature .ico { flex: none; width: 50px; height: 50px; border-radius: 15px; background: var(--accent-50); color: var(--accent-600); display: grid; place-items: center; }
.feature .ico svg { width: 24px; }
.feature h3 { font-size: 19px; margin-bottom: 6px; letter-spacing: -.01em; }
.feature p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.55; }

/* ---------- Sectors ---------- */
.sectors { background: var(--surface); }
.sector-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sector {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3/4.2;
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px;
  isolation: isolate;
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,18,30,.9), rgba(6,18,30,.05) 65%); transition: background .5s; }
.sector:hover img { transform: scale(1.08); }
.sector:hover::before { background: linear-gradient(to top, rgba(14,150,230,.92), rgba(14,150,230,.1) 75%); }
.sector .num { position: absolute; top: 24px; inset-inline-start: 28px; font-size: 14px; font-weight: 700; opacity: .8; }
.sector h3 { font-size: clamp(26px, 2.3vw, 34px); margin-bottom: 10px; }
.sector p { margin: 0; font-size: 16px; color: rgba(255,255,255,.85); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .5s; }
.sector:hover p { max-height: 140px; opacity: 1; }

/* ---------- Process ---------- */
.process-wrap { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.process-sticky { position: sticky; top: 120px; }
.process-progress { margin-top: 44px; height: 6px; background: var(--line); border-radius: 6px; overflow: hidden; }
.process-progress i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 6px; transition: width .3s; }
.process-list { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 92px 1fr; gap: 28px; padding: 38px 0;
  border-top: 1px solid var(--line); transition: opacity .5s;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step-num {
  font-size: 64px; font-weight: 900; line-height: .9; color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); transition: color .5s;
}
.step.active .step-num { color: var(--accent); }
.step h3 { font-size: clamp(24px, 2.2vw, 32px); margin-bottom: 12px; }
.step p { margin: 0; color: var(--ink-2); }
.step .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip { font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: var(--accent-50); color: var(--accent-600); }

/* ---------- Projects showcase (home) ---------- */
.projects-section { background: var(--dark); color: #fff; overflow: hidden; }
.projects-section .lead { color: rgba(255,255,255,.7); }
.projects-section .eyebrow { color: var(--accent); }
.round-btn {
  width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3);
  background: transparent; color: #fff; display: grid; place-items: center; transition: background .3s, border-color .3s, transform .3s;
}
.round-btn svg { width: 22px; }
.round-btn:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.06); }
.round-btn:disabled { opacity: .3; pointer-events: none; }

.showcase { display: grid; grid-template-columns: 1.65fr 1fr; gap: 28px; align-items: stretch; }
.sc-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 580px; min-width: 0; background: #0F2233; isolation: isolate; cursor: none; touch-action: pan-y; }
.sc-slide { position: absolute; inset: 0; z-index: 0; clip-path: inset(0 0 0 100%); color: #fff; }
.sc-slide.active { z-index: 2; clip-path: inset(0 0 0 0); }
.sc-slide.leaving { z-index: 1; clip-path: inset(0 0 0 0); }
.sc-slide.anim { transition: clip-path 1.15s cubic-bezier(.77, 0, .18, 1); }
.sc-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.22); transition: transform 1.8s cubic-bezier(.2, .7, .1, 1); }
.sc-slide.active img { transform: scale(1); }
.sc-slide.leaving img { transform: scale(1.1) translateX(-3%); transition-duration: 1.15s; }
.sc-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,14,24,.9) 0%, rgba(4,14,24,.25) 50%, rgba(4,14,24,0) 75%); }
.sc-wipe { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: var(--accent); clip-path: inset(0 0 0 100%); }
.sc-wipe.go-next { animation: wipeNext 1.15s cubic-bezier(.77, 0, .18, 1); }
.sc-wipe.go-prev { animation: wipePrev 1.15s cubic-bezier(.77, 0, .18, 1); }
@keyframes wipeNext { 0% { clip-path: inset(0 0 0 100%); } 45% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 100% 0 0); } }
@keyframes wipePrev { 0% { clip-path: inset(0 100% 0 0); } 45% { clip-path: inset(0 0 0 0); } 100% { clip-path: inset(0 0 0 100%); } }

.sc-caption { position: absolute; z-index: 2; inset: auto 0 0 0; padding: clamp(22px, 3.4vw, 44px); }
.sc-caption > * { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .9s var(--ease); }
.sc-slide.active .sc-caption > * { opacity: 1; transform: none; }
.sc-slide.active .sc-caption > :nth-child(1) { transition-delay: .45s; }
.sc-slide.active .sc-caption > :nth-child(2) { transition-delay: .55s; }
.sc-slide.active .sc-caption > :nth-child(3) { transition-delay: .65s; }
.sc-slide.active .sc-caption > :nth-child(4) { transition-delay: .75s; }
.sc-type { display: inline-block; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); padding: 6px 14px; border-radius: 999px; font-size: 14px; font-weight: 700; }
.sc-caption h3 { font-size: clamp(32px, 4.4vw, 64px); font-weight: 900; letter-spacing: -.03em; margin: 14px 0 10px; }
.sc-caption p { margin: 0; max-width: 52ch; color: rgba(255,255,255,.8); font-size: 17px; }
.sc-facts { display: flex; gap: 26px; margin-top: 20px; flex-wrap: wrap; }
.sc-facts div small { display: block; font-size: 13px; color: rgba(255,255,255,.6); }
.sc-facts div b { font-size: 20px; font-weight: 800; }
.sc-bignum { position: absolute; z-index: 2; top: 18px; inset-inline-end: 28px; font-size: clamp(80px, 11vw, 170px); font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.55); letter-spacing: -.04em; opacity: 0; transform: translateY(-30px); transition: opacity .8s .5s, transform 1s .5s var(--ease); }
.sc-slide.active .sc-bignum { opacity: 1; transform: none; }

.sc-cursor {
  position: absolute; z-index: 5; top: 0; left: 0; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%;
  background: var(--accent); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 15px; line-height: 1.2;
  pointer-events: none; transform: translate(var(--cx, 50%), var(--cy, 50%)) scale(0); transition: transform .35s var(--ease);
  box-shadow: 0 16px 36px -12px rgba(56,182,255,.8);
}
.sc-stage:hover .sc-cursor { transform: translate(var(--cx), var(--cy)) scale(1); }

.sc-side { display: flex; flex-direction: column; min-width: 0; }
.sc-list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; }
.sc-item {
  width: 100%; display: grid; grid-template-columns: 44px 1fr 70px; gap: 16px; align-items: center; text-align: start;
  background: none; border: 0; color: rgba(255,255,255,.5); padding: 13px 4px; position: relative; border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .4s, padding .5s var(--ease);
}
.sc-item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.sc-item .n { font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.sc-item .t b { display: block; font-size: clamp(18px, 1.5vw, 22px); font-weight: 800; color: inherit; letter-spacing: -.01em; }
.sc-item .t span { font-size: 14px; }
.sc-item .th { width: 70px; height: 52px; border-radius: 10px; overflow: hidden; opacity: 0; transform: scale(.7) rotate(-6deg); transition: opacity .4s, transform .5s var(--ease); }
.sc-item .th img { width: 100%; height: 100%; object-fit: cover; }
.sc-item:hover { color: rgba(255,255,255,.85); }
.sc-item:hover .th { opacity: .7; transform: scale(.9) rotate(-3deg); }
.sc-item.on { color: #fff; padding-inline-start: 14px; }
.sc-item.on .n { color: var(--accent); }
.sc-item.on .th { opacity: 1; transform: none; }
.sc-item .bar { position: absolute; inset: auto 0 -1px 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; }
.sc-item.on .bar { animation: scProgress var(--dur, 6s) linear forwards; }
.showcase.paused .sc-item.on .bar { animation-play-state: paused; }
@keyframes scProgress { to { transform: scaleX(1); } }
.sc-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.sc-count { font-size: 18px; font-weight: 700; color: rgba(255,255,255,.55); font-variant-numeric: tabular-nums; }
.sc-count b { color: #fff; font-size: 30px; font-weight: 900; display: inline-block; min-width: 1.4em; }
.sc-count b.tick { animation: tick .6s var(--ease); }
@keyframes tick { from { opacity: 0; transform: translateY(12px); } }
.sc-controls .btns { display: flex; gap: 10px; }
.sc-all { margin-top: 22px; width: 100%; }

/* ---------- Stats band ---------- */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.stat { padding: 40px 32px; border-inline-start: 1px solid var(--line); }
.stat:first-child { border-inline-start: 0; }
.stat strong { display: block; font-size: clamp(48px, 5.6vw, 84px); font-weight: 900; letter-spacing: -.04em; line-height: 1; }
.stat strong em { font-style: normal; color: var(--accent); }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-weight: 500; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--surface); border-radius: var(--radius); padding: 36px; border: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 26px; transition: transform .4s var(--ease), box-shadow .4s;
}
.testi:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.testi .quote { font-size: 58px; line-height: .5; color: var(--accent); font-weight: 900; height: 24px; }
.testi p { margin: 0; font-size: 19px; color: var(--ink); flex: 1; }
.testi .who { display: flex; align-items: center; gap: 14px; }
.testi .avatar { width: 50px; height: 50px; border-radius: 50%; background: var(--accent-100); color: var(--accent-600); display: grid; place-items: center; font-weight: 800; }
.testi { margin: 0; }
.testi blockquote { margin: 0; flex: 1; }
.testi .who span { color: var(--muted); font-size: 15px; }
.testi .who b { display: block; font-size: 17px; color: var(--ink); }

/* ---------- CTA band ---------- */
.cta-band {
  border-radius: var(--radius-lg); background: var(--accent); color: #fff; padding: clamp(48px, 7vw, 100px);
  position: relative; overflow: hidden; display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: center;
}
.cta-band::before, .cta-band::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); }
.cta-band::before { width: 520px; height: 520px; left: -160px; top: -200px; }
.cta-band::after { width: 340px; height: 340px; left: -70px; top: -110px; }
.cta-band h2 { position: relative; }
.cta-band p { position: relative; margin: 20px 0 0; font-size: 20px; color: rgba(255,255,255,.9); max-width: 52ch; }
.cta-band .btn-dark { position: relative; padding: 22px 38px; font-size: 19px; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 6vw, 100px); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: 0; text-align: start; padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  font-size: clamp(19px, 1.6vw, 23px); font-weight: 700; color: var(--ink);
}
.faq-q .pm { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-50); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.faq-q .pm svg { width: 18px; color: var(--accent-600); }
.faq-item.open .pm { transform: rotate(45deg); background: var(--accent-100); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.faq-a > div { overflow: hidden; visibility: hidden; transition: visibility 0s .5s; } /* collapsed answers are hidden from screen readers too */
.faq-item.open .faq-a > div { visibility: visible; transition-delay: 0s; }
.faq-h { margin: 0; font: inherit; letter-spacing: normal; }
.faq-a p { margin: 0 0 28px; color: var(--ink-2); max-width: 70ch; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 100px); }
.contact-info { display: flex; flex-direction: column; gap: 18px; margin-top: 40px; }
.contact-info a, .contact-info div { display: flex; gap: 16px; align-items: center; font-size: 20px; font-weight: 600; }
.contact-info .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent-600); flex: none; }
.contact-info .ico svg { width: 22px; }
.contact-info small { display: block; font-size: 14px; color: var(--muted); font-weight: 500; }
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 52px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 17px; padding: 15px 18px; border-radius: 14px; border: 1.5px solid var(--field-border);
  background: var(--bg); color: var(--ink); transition: border-color .25s, background .25s, box-shadow .25s; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px var(--accent-50); }
.form-card .btn { width: 100%; margin-top: 24px; padding: 20px; font-size: 18px; }
.form-note { font-size: 14px; color: var(--muted); margin: 14px 0 0; text-align: center; }
.form-success { display: none; text-align: center; padding: 40px 10px; }
.form-success .ok { width: 80px; height: 80px; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); display: grid; place-items: center; margin: 0 auto 22px; }
.form-success .ok svg { width: 38px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,.75); padding: 90px 0 36px; margin-top: 40px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer .logo { color: #fff; }
.site-footer .logo small { color: rgba(255,255,255,.55); }
.site-footer .footer-title { color: #fff; font-size: 17px; margin-bottom: 18px; letter-spacing: 0; line-height: 1.3; }
.site-footer address { font-style: normal; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--accent); }
.footer-big { font-size: clamp(60px, 13vw, 210px); font-weight: 900; letter-spacing: -.05em; color: rgba(255,255,255,.06); line-height: .9; margin: 40px 0 20px; text-align: center; user-select: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; font-size: 14px; flex-wrap: wrap; }

.wa-float {
  position: fixed; bottom: 24px; left: 24px; z-index: 90; width: 62px; height: 62px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 32px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: 180px 0 70px; }
.page-hero .display { font-size: clamp(52px, 8vw, 120px); }
.breadcrumbs { display: flex; gap: 10px; color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--accent-600); }

/* ---------- Projects page ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 44px; }
.filter-btn {
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface);
  font-weight: 600; font-size: 16px; color: var(--ink-2); transition: all .3s;
}
.filter-btn:hover { border-color: var(--accent); color: var(--accent-600); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-btn span { opacity: .55; margin-inline-start: 6px; font-size: 14px; }
.d-row { display: flex; gap: 12px; height: 78vh; min-height: 540px; }
.d-panel { position: relative; flex: 1; border-radius: 26px; overflow: hidden; color: #fff; transition: flex .9s cubic-bezier(.7,0,.2,1); cursor: pointer; min-width: 0; }
.d-panel.on { flex: 5.5; }
.d-panel.on:hover img { transform: scale(1.03); }
.d-panel.on:hover .d-btn { background: var(--accent-600); }
.d-link { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.d-link:focus-visible { outline-offset: -6px; }
.d-panel.hide { display: none; }
.d-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.4s var(--ease), filter .8s; filter: grayscale(.6) brightness(.75); }
.d-panel.on img { transform: scale(1); filter: none; }
.d-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4,14,24,.9), rgba(4,14,24,.1) 60%); }
.d-num { position: absolute; z-index: 2; top: 22px; right: 50%; transform: translateX(50%); font-weight: 900; font-size: 18px; transition: all .6s var(--ease); }
.d-panel.on .d-num { right: 30px; transform: none; font-size: 22px; color: var(--accent); }
.d-vert { position: absolute; z-index: 2; bottom: 28px; right: 50%; transform: translateX(50%) rotate(180deg); writing-mode: vertical-rl; font-size: 24px; font-weight: 800; white-space: nowrap; transition: opacity .4s; }
.d-panel.on .d-vert { opacity: 0; }
.d-content { position: absolute; z-index: 2; inset: auto 0 0 0; padding: 40px; opacity: 0; transform: translateY(30px); transition: opacity .3s, transform .3s; pointer-events: none; }
.d-panel.on .d-content { opacity: 1; transform: none; transition: opacity .6s .45s, transform .8s .45s var(--ease); pointer-events: auto; }
.d-content small { font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.d-content h3 { margin: 8px 0 12px; font-size: clamp(34px, 4.4vw, 68px); font-weight: 900; letter-spacing: -.035em; line-height: 1; }
.d-content p { margin: 0 0 20px; max-width: 52ch; color: rgba(255,255,255,.8); font-size: 17px; }
.d-facts { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 22px; }
.d-facts small { display: block; color: rgba(255,255,255,.55); letter-spacing: 0; font-weight: 500; font-size: 13px; }
.d-facts b { font-size: 20px; }
.d-btn { display: inline-flex; gap: 10px; align-items: center; background: var(--accent); padding: 14px 24px; border-radius: 99px; font-weight: 700; transition: background .3s, transform .3s; }
.d-btn svg { width: 18px; }

/* ---------- Single project ---------- */
.proj-hero { padding: 14px; height: 88svh; min-height: 560px; }
.proj-hero .hero-frame img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; animation: kenburns 24s ease-in-out infinite alternate; }
.proj-hero .hero-content .breadcrumbs { color: rgba(255,255,255,.75); }
.proj-hero .display { font-size: clamp(48px, 7.4vw, 112px); max-width: 16ch; }
.proj-facts { margin-block: -60px 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); margin-top: -60px; position: relative; z-index: 5; box-shadow: var(--shadow); }
.proj-facts div { padding: 28px 30px; border-inline-start: 1px solid var(--line); }
.proj-facts div:first-child { border: 0; }
.proj-facts dt { display: block; color: var(--muted); font-size: 14px; font-weight: 600; margin-bottom: 4px; }
.proj-facts dd { margin: 0; font-size: 22px; font-weight: 800; }
.proj-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 6vw, 100px); }
.proj-body .lead { font-size: clamp(22px, 2vw, 28px); color: var(--ink); line-height: 1.5; font-weight: 500; }
.proj-body p { color: var(--ink-2); }
.highlights { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.highlights li { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; border-radius: 16px; font-weight: 600; }
.highlights li svg { flex: none; width: 24px; color: var(--accent); margin-top: 2px; }

.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 36px; flex-wrap: wrap; }
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 120px; gap: 14px; list-style: none; margin: 0; padding: 0; }
.gallery > li { display: flex; min-width: 0; border-radius: 18px; }
.gallery > li:focus-within { outline: 3px solid var(--focus-ring); outline-offset: 3px; } /* the tile clips its own outline */
.gallery button { width: 100%; border: 0; padding: 0; border-radius: 18px; overflow: hidden; position: relative; background: var(--line); }
.gallery button img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.gallery button::after {
  content: ""; position: absolute; inset: 0; background: rgba(14,150,230,.0); transition: background .4s;
}
.gallery button:hover img { transform: scale(1.06); }
.gallery button:hover::after { background: rgba(14,150,230,.18); }
.gallery button .zoom { position: absolute; z-index: 2; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: all .4s var(--ease); }
.gallery button .zoom svg { width: 20px; }
.gallery button:hover .zoom { opacity: 1; transform: none; }
.gallery .g1 { grid-column: span 8; grid-row: span 4; }
.gallery .g2 { grid-column: span 4; grid-row: span 2; }
.gallery .g3 { grid-column: span 4; grid-row: span 2; }
.gallery .g4 { grid-column: span 4; grid-row: span 3; }
.gallery .g5 { grid-column: span 4; grid-row: span 3; }
.gallery .g6 { grid-column: span 4; grid-row: span 3; }
.gallery .g7 { grid-column: span 6; grid-row: span 3; }
.gallery .g8 { grid-column: span 6; grid-row: span 3; }

/* ---------- Morph grid ---------- */
.gallery.morph button { clip-path: inset(18% round 50%); opacity: 0; transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1), opacity .6s, border-radius .6s var(--ease); }
.gallery.morph button.mg-in { clip-path: inset(0 round 18px); opacity: 1; }
.gallery.morph button.mg-in:hover { clip-path: inset(3% round 42px); }
.gallery.morph button img { transition: transform 1.2s var(--ease), filter .5s; }
.gallery.morph button:hover img { transform: scale(1.12); }
.gallery.morph button.mg-hidden { visibility: hidden; }

/* ---------- Morph viewer ---------- */
.mg { position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.mg.open { pointer-events: auto; }
.mg-bg { position: absolute; inset: 0; background: rgba(5, 12, 20, .9); backdrop-filter: blur(14px); opacity: 0; transition: opacity .6s; }
.mg.open .mg-bg { opacity: 1; }
.mg-num {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
  font-size: clamp(200px, 38vw, 560px); font-weight: 900; line-height: 1; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(56,182,255,.14); opacity: 0; transition: opacity .6s;
}
.mg.open .mg-num { opacity: 1; }
.mg-num.tick { animation: mgTick .8s var(--ease); }
@keyframes mgTick { from { opacity: 0; transform: translate(-50%, -44%); } }
.mg-top, .mg-nav, .mg-strip { opacity: 0; transition: opacity .4s, transform .6s var(--ease); }
.mg.open .mg-top, .mg.open .mg-nav, .mg.open .mg-strip { opacity: 1; transition-delay: .35s; }
.mg-top { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 18px 28px; display: flex; justify-content: space-between; align-items: center; color: #fff; transform: translateY(-20px); }
.mg.open .mg-top { transform: none; }
.mg-count { font-weight: 900; font-size: 20px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.mg-title { font-weight: 700; color: rgba(255,255,255,.75); }
.mg-stage { position: absolute; top: 84px; bottom: 128px; left: 110px; right: 110px; }
.mg-nav { position: absolute; z-index: 3; top: calc(50% - 22px); transform: translateY(-50%); }
.mg-prev { right: 28px; }
.mg-next { left: 28px; }
.mg-strip { position: absolute; z-index: 3; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; padding: 8px 20px; overflow-x: auto; scrollbar-width: none; transform: translateY(20px); }
.mg.open .mg-strip { transform: none; }
.mg-strip::-webkit-scrollbar { display: none; }
.mg-strip button { flex: none; width: 96px; height: 66px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: none; opacity: .4; outline: 2px solid transparent; outline-offset: 3px; transition: opacity .3s, outline-color .3s, transform .4s var(--ease); }
.mg-strip button:hover { opacity: .8; transform: translateY(-3px); }
.mg-strip button.on { opacity: 1; outline-color: var(--accent); }
.mg-strip img { width: 100%; height: 100%; object-fit: cover; }
.mg-fly { position: absolute; z-index: 2; object-fit: cover; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); will-change: left, top, width, height; }


.next-project { display: block; border-radius: var(--radius-lg); overflow: hidden; position: relative; height: 440px; color: #fff; }
.next-project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.next-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to left, rgba(6,18,30,.85), rgba(6,18,30,.2)); }
.next-project:hover img { transform: scale(1.05); }
.next-project .inner { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding: clamp(30px, 6vw, 80px); }
.next-project small { font-weight: 700; letter-spacing: .14em; color: var(--accent); margin-bottom: 14px; }

/* ---------- Pricing ---------- */
.calc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: start; }
.calc-panel { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 50px); border: 1px solid var(--line); }
.calc-step { padding-bottom: 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.calc-step:last-child { border: 0; margin: 0; padding: 0; }
.calc-step h3 { font-size: 24px; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.calc-step h3 i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-50); color: var(--accent-600); display: grid; place-items: center; font-size: 16px; }
.type-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.type-opt input, .finish-opt input, .extra input { position: absolute; opacity: 0; pointer-events: none; }
.type-opt label {
  display: flex; flex-direction: column; gap: 12px; padding: 20px 16px; border-radius: 18px; border: 1.5px solid var(--line);
  cursor: pointer; transition: all .3s; background: var(--bg); height: 100%;
}
.type-opt label svg { width: 34px; height: 34px; color: var(--accent-600); }
.type-opt label b { font-size: 17px; line-height: 1.25; }
.type-opt label small { color: var(--muted); font-size: 13px; line-height: 1.3; }
.type-opt input:checked + label { border-color: var(--accent); background: var(--accent-50); box-shadow: 0 0 0 4px var(--accent-50); }
.range-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.range-row label { font-weight: 700; }
.range-row output { font-size: 30px; font-weight: 900; color: var(--accent-600); letter-spacing: -.02em; }
input[type=range] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; direction: rtl;
  background: linear-gradient(to left, var(--accent) var(--p, 30%), var(--line) var(--p, 30%)); outline: none;
}
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); box-shadow: var(--shadow); cursor: pointer; }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 6px solid var(--accent); cursor: pointer; }
.range-scale { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-top: 8px; }
.range-block + .range-block { margin-top: 32px; }
.finish-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.finish-opt label { display: block; padding: 18px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; background: var(--bg); transition: all .3s; height: 100%; }
.finish-opt label b { display: block; font-size: 18px; }
.finish-opt label small { color: var(--muted); font-size: 14px; }
.finish-opt input:checked + label { border-color: var(--accent); background: var(--accent-50); }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.extra label { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; background: var(--bg); transition: all .3s; font-weight: 600; font-size: 16px; }
.extra .box { flex: none; width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--field-border); display: grid; place-items: center; transition: all .25s; background: #fff; }
.extra .box svg { width: 14px; color: #fff; opacity: 0; }
.extra input:checked + label { border-color: var(--accent); background: var(--accent-50); }
.extra input:checked + label .box { background: var(--accent); border-color: var(--accent); }
.extra input:checked + label .box svg { opacity: 1; }
.extra small { display: block; color: var(--muted); font-weight: 500; font-size: 13px; }
.select-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.result { position: sticky; top: 110px; background: var(--dark); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px, 3.4vw, 44px); overflow: hidden; }
.result::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(var(--accent), transparent 70%); opacity: .28; top: -200px; left: -150px; }
.result > * { position: relative; }
.result .lbl { margin: 0; color: rgba(255,255,255,.6); font-weight: 600; font-size: 15px; letter-spacing: 0; line-height: 1.5; }
.result .total { font-size: clamp(38px, 4vw, 58px); font-weight: 900; letter-spacing: -.03em; line-height: 1.05; margin: 8px 0 6px; }
.result .total span { color: var(--accent); }
.result .per { color: rgba(255,255,255,.7); font-size: 16px; }
.result-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 28px 0; }
.result-kpis div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 16px; padding: 16px 18px; }
.result-kpis small { display: block; color: rgba(255,255,255,.6); font-size: 13px; }
.result-kpis strong { font-size: 22px; font-weight: 800; }
.breakdown { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.bd-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 15px; }
.bd-row .bar { grid-column: 1 / -1; height: 7px; background: rgba(255,255,255,.1); border-radius: 7px; overflow: hidden; }
.bd-row .bar i { display: block; height: 100%; background: var(--accent); border-radius: 7px; transition: width .6s var(--ease); }
.bd-row b { font-weight: 700; }
.result .btn { width: 100%; padding: 19px; }
.disclaimer { font-size: 13px; color: rgba(255,255,255,.5); margin: 16px 0 0; line-height: 1.5; }

.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pkg { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 36px; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.pkg:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pkg.featured { background: var(--ink); color: #fff; border-color: var(--ink); position: relative; }
.pkg.featured .pkg-tag { position: absolute; top: 24px; inset-inline-end: 24px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; padding: 6px 14px; border-radius: 999px; }
.pkg h3 { font-size: 30px; margin-bottom: 10px; }
.pkg > p { color: var(--muted); margin: 0 0 26px; }
.pkg.featured > p { color: rgba(255,255,255,.65); }
.pkg .fee { font-size: 46px; font-weight: 900; letter-spacing: -.03em; line-height: 1; margin-bottom: 4px; }
.pkg .fee-note { font-size: 14px; color: var(--muted); margin-bottom: 28px; }
.pkg.featured .fee-note { color: rgba(255,255,255,.6); }
.pkg ul { list-style: none; padding: 0; margin: 0 0 34px; display: flex; flex-direction: column; gap: 13px; flex: 1; }
.pkg li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; }
.pkg li svg { flex: none; width: 20px; color: var(--accent); margin-top: 3px; }

/* ---------- Clients strip ---------- */
.clients { padding: 70px 0; overflow: hidden; }
.clients-title { text-align: center; color: var(--muted); font-weight: 600; font-size: 16px; margin: 0 0 30px; letter-spacing: 0; line-height: 1.5; }
.clients-mask { mask-image: linear-gradient(to left, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(to left, transparent, #000 12%, #000 88%, transparent); }
.clients-track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; list-style: none; margin: 0; padding: 0; }
.clients-mask:focus-within .clients-track { animation-play-state: paused; }
.clients-track:hover { animation-play-state: paused; }
.client {
  flex: none; min-width: 210px; height: 96px; padding: 0 30px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line);
  display: grid; place-items: center; font-size: 20px; font-weight: 800; color: #9AA7B6; letter-spacing: -.01em;
  filter: grayscale(1); transition: color .3s, filter .3s, border-color .3s;
}
.client img { max-height: 48px; max-width: 150px; object-fit: contain; opacity: .6; transition: opacity .3s; }
.client:hover { color: var(--ink); filter: none; border-color: var(--accent-100); }
.client:hover img { opacity: 1; }

.footer-slogan { color: var(--accent); font-weight: 800; font-size: 20px; margin: 0; }
.form-error { color: #D93025; font-size: 15px; text-align: center; margin: 12px 0 0; }
.form-error a { font-weight: 700; text-decoration: underline; }
.chip.optional { background: #FFF6E5; color: #B26B00; }
.step.optional .step-num { -webkit-text-stroke-color: #9FD9FF; }
.step.optional.active .step-num { color: #9FD9FF; }
.core-label { display: inline-flex; gap: 8px; align-items: center; font-size: 14px; font-weight: 700; color: var(--accent-600); margin: 34px 0 0; }
.core-label::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }

/* ---------- About page ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 40px 34px; transition: transform .4s var(--ease), box-shadow .4s; }
.value:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value .num { font-size: 64px; font-weight: 900; color: transparent; -webkit-text-stroke: 1.5px var(--accent); line-height: 1; margin-bottom: 26px; display: block; }
.value h3 { font-size: 28px; margin-bottom: 12px; }
.value p { margin: 0; color: var(--ink-2); }
.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.story-img { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.timeline { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-direction: column; gap: 0; border-inline-start: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 28px 26px; }
.timeline li::before { content: ""; position: absolute; inset-inline-start: -8px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 3px solid var(--accent); }
.timeline b { display: block; font-size: 22px; color: var(--accent-600); font-weight: 900; }
.timeline span { color: var(--ink-2); }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: linear-gradient(160deg, var(--accent-50), var(--accent-100)); display: grid; place-items: center; }
.member-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.3); transition: filter .5s, transform 1s var(--ease); }
.member:hover .member-img img { filter: none; transform: scale(1.04); }
.member-img .initials { font-size: 64px; font-weight: 900; color: var(--accent); }
.member h3 { font-size: 23px; margin: 18px 0 4px; }
.member span { color: var(--muted); font-size: 16px; }
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cert { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.cert .ico { width: 54px; height: 54px; border-radius: 16px; background: var(--accent-50); color: var(--accent-600); display: grid; place-items: center; }
.cert .ico svg { width: 26px; }
.cert b { font-size: 20px; }
.cert span { color: var(--muted); font-size: 15px; line-height: 1.5; }

/* ---------- Calculator: type specific ---------- */
.spec-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.spec-grid .full { grid-column: 1 / -1; }
.seg-label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 10px; }
.seg-label small { font-weight: 500; color: var(--muted); margin-inline-start: 6px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 5px; }
.seg button { flex: 1; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink-2); transition: background .25s, color .25s, box-shadow .25s; white-space: nowrap; }
.seg button:hover { color: var(--accent-600); }
.seg button.on { background: var(--surface); color: var(--accent-600); box-shadow: 0 4px 12px -6px rgba(11,27,43,.25); }
.spec-anim { animation: specIn .5s var(--ease); }
@keyframes specIn { from { opacity: 0; transform: translateY(12px); } }
.calc-hint { font-size: 14px; color: var(--muted); margin: 8px 0 0; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
.split-line { display: block; overflow: hidden; }
.split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.in .split-line > span, .split-line.in > span { transform: none; }
.split-line:nth-child(2) > span { transition-delay: .12s; }
.split-line:nth-child(3) > span { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .split-line > span { opacity: 1; transform: none; }
  .hero-slogans .slogan:not(.on) { visibility: hidden; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links, .nav-cta .btn { display: none; }
  .burger { display: grid; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .sector p { max-height: none; opacity: 1; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .calc { grid-template-columns: 1fr; }
  .result { position: relative; top: 0; }
  .proj-facts { grid-template-columns: repeat(3, 1fr); }
  .proj-facts div:nth-child(4) { border-inline-start: 0; }
  .proj-facts div:nth-child(n+4) { border-top: 1px solid var(--line); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .team, .certs { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  body { font-size: 17px; }
  .about-grid, .process-wrap, .faq-grid, .contact-grid, .proj-body, .cta-band { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .showcase { grid-template-columns: 1fr; }
  .sc-stage { cursor: auto; min-height: 0; aspect-ratio: 4/3.6; }
  .sc-cursor { display: none; }
  .sc-list { flex-direction: row; overflow-x: auto; gap: 10px; scrollbar-width: none; scroll-snap-type: x mandatory; margin-inline: -24px; padding-inline: 24px; }
  .sc-list::-webkit-scrollbar { display: none; }
  .sc-item, .sc-item:first-child { flex: none; width: auto; grid-template-columns: auto auto; gap: 10px; padding: 12px 16px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; scroll-snap-align: center; overflow: hidden; }
  .sc-item.on { padding-inline-start: 16px; border-color: var(--accent); background: rgba(56,182,255,.12); }
  .sc-item .t span, .sc-item .th { display: none; }
  .sc-item .t b { font-size: 16px; white-space: nowrap; }
  .sc-item .bar { inset: auto 16px 6px 16px; }
  .about-badge { inset-inline-end: 16px; bottom: 16px; }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-inline-start: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .testi-grid, .packages, .values, .story { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .d-row { flex-direction: column; height: auto; min-height: 0; }
  .d-panel, .d-panel.on { flex: none; height: 76px; transition: height .8s cubic-bezier(.7,0,.2,1); }
  .d-panel.on { height: 460px; }
  .d-vert { writing-mode: horizontal-tb; transform: none; right: 70px; bottom: auto; top: 24px; font-size: 20px; }
  .d-num { right: 24px; transform: none; top: 26px; }
  .d-content { padding: 24px; }
  .type-grid { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
  .hero-stats { width: 100%; }
  .gallery { grid-auto-rows: 90px; }
  .gallery > li { grid-column: span 6 !important; grid-row: span 2 !important; }
  .gallery .g1 { grid-column: 1 / -1 !important; grid-row: span 3 !important; }
  .mg-stage { top: 70px; bottom: 104px; left: 12px; right: 12px; }
  .mg-nav { display: none; }
  .mg-top { padding: 14px 16px; }
  .mg-title { display: none; }
  .mg-strip { justify-content: flex-start; bottom: 16px; }
  .mg-strip button { width: 70px; height: 50px; }
}
@media (max-width: 560px) {
  .container { width: calc(100% - 32px); }
  .hero { padding: 8px; height: auto; min-height: 100svh; }
  .hero-frame { border-radius: 24px; min-height: calc(100svh - 16px); padding-top: 110px; }
  .hero-actions .btn { flex: 1; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats div { padding-inline-start: 10px; }
  .hero-stats strong { font-size: 28px; }
  .hero-stats span { font-size: 13px; }
  .about-features, .form-grid, .extras, .select-row, .finish-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: 1fr; }
  .sector { aspect-ratio: 4/3.4; }
  .footer-top { grid-template-columns: 1fr; }
  .proj-facts { grid-template-columns: 1fr 1fr; }
  .proj-facts div { border-inline-start: 0 !important; border-top: 1px solid var(--line); }
  .step { grid-template-columns: 60px 1fr; gap: 16px; }
  .step-num { font-size: 44px; }
  .sc-stage { aspect-ratio: 4/5; }
  .sc-caption p { display: none; }
  .sc-facts { gap: 18px; }
  .sc-facts div b { font-size: 17px; }
  .page-hero { padding-top: 140px; }
}

/* =========================================================
   Accessibility (WCAG 2.1 AA)
   ========================================================= */
/* visible focus on everything that can be reached with Tab */
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.hero, .proj-hero, .projects-section, .site-footer, .mobile-menu, .mg, .result, .d-panel, .next-project, .cta-band, .sc-stage { --focus-ring: #FFD23F; }
.cta-band { --focus-ring: #0B1B2B; }
.sc-slide:focus-visible { outline-offset: -6px; }
.type-opt input:focus-visible + label, .finish-opt input:focus-visible + label, .extra input:focus-visible + label { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* skip link */
.skip-link {
  position: fixed; top: 12px; right: 12px; z-index: 2000; padding: 14px 22px; border-radius: 12px;
  background: var(--ink); color: #fff; font-weight: 700; transform: translateY(-160%); transition: transform .2s;
}
.skip-link:focus { transform: none; outline: 3px solid #FFD23F; outline-offset: 2px; }
#main:focus { outline: none; }

/* forms */
.req { color: #B42318; font-weight: 800; }
.form-hint { margin: 0 0 16px; font-size: 14px; color: var(--muted); }
.form-error { color: #B42318; }

/* motion switch (hero) */
.motion-toggle {
  position: absolute; z-index: 4; top: 96px; left: clamp(20px, 3vw, 44px);
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px;
  background: rgba(8, 21, 33, .62); color: #fff; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px);
  font-weight: 700; font-size: 14px;
}
.motion-toggle:hover { background: rgba(8, 21, 33, .85); }
.motion-toggle svg { width: 14px; height: 14px; }
.sc-play svg { width: 18px; }
/* everything that moves by itself stops while motion is paused */
html.motion-paused .marquee-track, html.motion-paused .clients-track, html.motion-paused .hero-media img,
html.motion-paused .proj-hero .hero-frame img, html.motion-paused .mm-deco, html.motion-paused .scroll-hint::after,
html.motion-paused .f-hint { animation-play-state: paused !important; }
.showcase.stopped .sc-item .bar { animation: none; }

/* accessibility menu */
.a11y-btn {
  position: fixed; z-index: 95; left: 24px; bottom: 98px; width: 58px; height: 58px; border-radius: 50%; border: 3px solid #fff;
  background: var(--accent-600); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(3, 105, 161, .7);
  transition: transform .3s var(--ease);
}
.a11y-btn:hover { transform: scale(1.08); }
.a11y-btn svg { width: 30px; height: 30px; }
.a11y-panel {
  position: fixed; z-index: 400; left: 24px; bottom: 168px; width: min(350px, calc(100vw - 32px)); max-height: calc(100vh - 190px); overflow: auto;
  background: #fff; color: var(--ink); border: 1px solid var(--field-border); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 20px;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.a11y-head h2 { font-size: 21px; letter-spacing: 0; }
.a11y-close { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--field-border); background: #fff; color: var(--ink); display: grid; place-items: center; }
.a11y-close svg { width: 18px; }
.a11y-label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.a11y-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.a11y-sizes button, .a11y-opt {
  min-height: 48px; padding: 10px; border-radius: 12px; border: 1.5px solid var(--field-border); background: #fff;
  color: var(--ink); font-weight: 700; font-size: 15px; line-height: 1.3;
}
.a11y-sizes button:hover, .a11y-opt:hover { border-color: var(--accent-600); }
.a11y-sizes [aria-pressed=true], .a11y-opt[aria-pressed=true] { background: var(--accent-600); border-color: var(--accent-600); color: #fff; }
.a11y-opt[aria-pressed=true]::before { content: "✓ "; }
.a11y-reset { background: var(--bg); }
.a11y-statement { display: block; margin-top: 16px; text-align: center; font-weight: 700; color: var(--accent-600); text-decoration: underline; text-underline-offset: 3px; }

/* menu options */
html.a11y-text-1 :is(p, li, label, dt, dd, figcaption, .btn, input, select, textarea, .filter-btn, .chip) { zoom: 1.15; }
html.a11y-text-2 :is(p, li, label, dt, dd, figcaption, .btn, input, select, textarea, .filter-btn, .chip) { zoom: 1.3; }
html.a11y-text-1 :is(li, figcaption) :is(p, .btn, label), html.a11y-text-2 :is(li, figcaption) :is(p, .btn, label) { zoom: 1; } /* no double scaling */
html.a11y-text-1 :is(.a11y-panel, .site-header) *, html.a11y-text-2 :is(.a11y-panel, .site-header) * { zoom: 1; } /* header stays on one line; browser zoom still enlarges it */
html.a11y-contrast { --bg: #FFFFFF; --surface: #FFFFFF; --ink: #000000; --ink-2: #000000; --muted: #1F2933; --line: #000000; --field-border: #000000; --accent-600: #00437A; --accent-50: #FFFFFF; --accent-100: #FFFFFF; }
html.a11y-contrast .hero-frame::after, html.a11y-contrast .proj-hero .hero-frame::after { background: rgba(0, 0, 0, .72); }
html.a11y-contrast .sector::before, html.a11y-contrast .d-panel::after, html.a11y-contrast .sc-slide::after { background: rgba(0, 0, 0, .7); }
html.a11y-contrast a:not(.btn):not(.logo):not(.d-link):not(.sc-slide):not(.sector):not(.next-project) { text-decoration: underline; }
html.a11y-contrast .client { color: #000; }
html.a11y-links a:not(.logo):not(.d-link):not(.sc-slide) { text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 2px; }
html.a11y-links a:not(.logo):not(.d-link):not(.sc-slide):hover { text-decoration-thickness: 3px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, "Segoe UI", sans-serif !important; letter-spacing: normal !important; }
html.a11y-spacing :is(p, li, dd, label, figcaption, blockquote) { line-height: 1.9 !important; letter-spacing: .06em !important; word-spacing: .16em !important; }
html.a11y-spacing p { margin-bottom: 1.2em; }

@media (max-width: 560px) {
  .motion-toggle { top: 84px; left: 14px; padding: 7px 12px; font-size: 13px; }
  .a11y-btn { left: 16px; bottom: 94px; width: 52px; height: 52px; }
  .a11y-panel { left: 16px; bottom: 156px; }
}
