/* ==========================================================================
   PC DOCTOR PG — "Technology in motion"
   Design tokens · base · components · sections · pages
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #07090d;
  --bg-2: #10141b;
  --surface: #151b25;
  --surface-2: #1b2330;
  --text: #f5f7fa;
  --muted: #9ca8b8;
  --dim: #6b7685;
  --accent: #3478f6;
  --accent-2: #62c9ff;
  --line: rgba(156, 168, 184, 0.14);
  --line-strong: rgba(156, 168, 184, 0.3);
  --paper: #eceff3;
  --paper-2: #e1e6ec;
  --ink: #0a0d12;
  --ink-muted: #4d5866;
  --danger: #ff6b6b;
  --ok: #4ade80;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --gutter: clamp(16px, 4.2vw, 64px);
  --max: 1680px;
  --nav-h: 76px;
  --radius: 6px;
  --radius-lg: 14px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);

  --fs-hero: clamp(3.1rem, 1.2rem + 8.4vw, 8.4rem);
  --fs-display: clamp(2.6rem, 1.2rem + 5.6vw, 6.6rem);
  --fs-h2: clamp(2.15rem, 1.3rem + 3.5vw, 4.6rem);
  --fs-h3: clamp(1.5rem, 1.1rem + 1.5vw, 2.4rem);
  --fs-h4: clamp(1.15rem, 1rem + 0.5vw, 1.4rem);
  --fs-lead: clamp(1.08rem, 0.98rem + 0.45vw, 1.38rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.72rem;

  --section-y: clamp(96px, 7vw + 48px, 200px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 12px 18px; border-radius: var(--radius); font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 16px; }

/* ---------- Layout primitives ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: clamp(72px, 6vw, 128px); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); }
.hairline { height: 1px; background: var(--line); transform-origin: left center; }

/* ---------- Type ---------- */
.label {
  font-family: var(--mono);
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
  line-height: 1.4;
}
.label--accent { color: var(--accent-2); }
.label .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(52,120,246,.18); flex: none; }
.label .bar { width: 28px; height: 1px; background: currentColor; opacity: .6; flex: none; }
.h-hero, .h-display, .h2, .h3 { font-weight: 560; letter-spacing: -0.045em; line-height: 0.94; text-wrap: balance; }
.h-hero { font-size: var(--fs-hero); letter-spacing: -0.055em; line-height: 0.9; font-weight: 580; }
.h-display { font-size: var(--fs-display); letter-spacing: -0.05em; }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); letter-spacing: -0.035em; line-height: 1.02; }
.h4 { font-size: var(--fs-h4); font-weight: 560; letter-spacing: -0.02em; line-height: 1.2; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--muted); max-width: 40ch; letter-spacing: -0.01em; }
.body { color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.accent { color: var(--accent-2); }
.serif-ish { font-weight: 300; letter-spacing: -0.04em; }
.grad-text { background: linear-gradient(100deg, #fff 10%, var(--accent-2) 55%, var(--accent) 95%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.idx { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); letter-spacing: 0.08em; }
.br-d { display: none; }
@media (min-width: 900px) { .br-d { display: inline; } }

/* split text */
.split .w { display: inline-block; overflow: clip; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.split .wi { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  --h: 56px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 14px;
  height: var(--h); padding: 0 10px 0 26px; border-radius: 999px;
  font-weight: 560; font-size: 0.98rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
  isolation: isolate; overflow: hidden;
}
.btn__icon {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none; overflow: hidden; position: relative;
  transition: transform .5s var(--ease-out), background-color .4s;
}
.btn__icon svg { width: 16px; height: 16px; transition: transform .55s var(--ease-out); }
.btn__icon svg + svg { position: absolute; transform: translate(-150%, 150%); }
.btn:hover .btn__icon svg:first-child { transform: translate(150%, -150%); }
.btn:hover .btn__icon svg + svg { transform: translate(0, 0); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary .btn__icon { background: #fff; color: var(--accent); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, var(--accent) 0%, #4b8dff 50%, var(--accent-2) 120%); opacity: 0; transition: opacity .5s var(--ease-out); }
.btn--primary:hover::before { opacity: 1; }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); }
.btn--ghost .btn__icon { background: rgba(255,255,255,.06); }
.btn--ghost:hover { border-color: rgba(245,247,250,.7); background: rgba(255,255,255,.04); }
.btn--light { background: var(--text); color: var(--ink); }
.btn--light .btn__icon { background: var(--ink); color: #fff; }
.btn--light:hover { background: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark .btn__icon { background: var(--accent); color: #fff; }
.btn--sm { --h: 46px; padding-left: 20px; font-size: 0.92rem; }
.btn--sm .btn__icon { width: 30px; height: 30px; }
.btn[disabled], .btn.is-loading { pointer-events: none; opacity: .75; }
.btn .spinner { display: none; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
.btn.is-loading .spinner { display: block; }
.btn.is-loading .btn__icon svg { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 560; letter-spacing: -0.01em;
  padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) left bottom / 0% 1px no-repeat;
  transition: background-size .5s var(--ease-out), color .3s;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover svg { transform: translate(3px, -3px); }

/* ---------- Media ---------- */
.media { position: relative; overflow: hidden; background: var(--bg-2); }
.media > img, .media picture img { width: 100%; height: 100%; object-fit: cover; }
.media--r { border-radius: var(--radius-lg); }
.media .shade { position: absolute; inset: 0; pointer-events: none; }
.parallax-img { position: absolute; inset: -12% 0; height: 124% !important; }
.tint::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.0) 40%, rgba(7,9,13,.75)); pointer-events: none; }

/* HUD viewfinder corners — signature motif */
.hud { position: absolute; inset: clamp(14px, 2vw, 28px); pointer-events: none; z-index: 3; }
.hud i { position: absolute; width: 18px; height: 18px; border-color: rgba(245,247,250,.55); border-style: solid; border-width: 0; }
.hud i:nth-child(1) { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.hud i:nth-child(2) { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.hud i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.hud i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }
.hud-tag { position: absolute; font-family: var(--mono); font-size: 0.66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(245,247,250,.78); z-index: 3; display: flex; gap: 8px; align-items: center; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-2); animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .15; } }

/* ==========================================================================
   Header / navigation
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90; height: var(--nav-h);
  transition: transform .6s var(--ease-out), background-color .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(7,9,13,.72); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: block; flex: none; line-height: 0; }
.logo img { height: 40px; width: auto; }
.nav__links { display: none; align-items: center; gap: clamp(14px, 1.5vw, 26px); }
.nav__links a { position: relative; font-size: 0.9rem; color: rgba(245,247,250,.78); letter-spacing: -0.005em; padding: 6px 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-2); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav__links a:hover, .nav__links a[aria-current="page"] { color: #fff; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 10px; }
.nav__cta { display: none; }
.menu-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center;
  background: rgba(7,9,13,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.menu-btn span { position: relative; display: block; width: 18px; height: 10px; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.menu-btn span::before { top: 0; }
.menu-btn span::after { top: 8.5px; }
.menu-open .menu-btn span::before { top: 4.25px; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 4.25px; transform: rotate(-45deg); }
@media (min-width: 640px) { .nav__cta { display: inline-flex; } }
@media (min-width: 1240px) {
  .nav__links { display: flex; }
  .menu-btn { display: none; }
}
@media (max-width: 380px) { .logo img { height: 34px; } }

/* Mobile menu — app-like sheet */
.mmenu {
  position: fixed; inset: 0; z-index: 85; visibility: hidden; pointer-events: none;
}
.mmenu__bg { position: absolute; inset: 0; background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-in-out); }
.mmenu__glow { position: absolute; inset: auto -20% -30% -20%; height: 70%; background: radial-gradient(closest-side, rgba(52,120,246,.22), transparent); opacity: 0; transition: opacity 1s .3s; }
.mmenu__inner { position: relative; height: 100%; display: flex; flex-direction: column; padding: calc(var(--nav-h) + 20px) var(--gutter) max(28px, env(safe-area-inset-bottom)); overflow-y: auto; overscroll-behavior: contain; }
.mmenu__list { display: flex; flex-direction: column; }
.mmenu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.mmenu__list a { display: flex; align-items: baseline; gap: 14px; padding: 13px 0; font-size: clamp(1.75rem, 7.4vw, 3rem); font-weight: 540; letter-spacing: -0.04em; line-height: 1.05; transform: translateY(105%); transition: transform .8s var(--ease-out), color .3s; }
.mmenu__list a .idx { font-size: .7rem; transform: translateY(-0.6em); }
.mmenu__list a[aria-current="page"] { color: var(--accent-2); }
.mmenu__foot { margin-top: auto; padding-top: 28px; display: grid; gap: 18px; opacity: 0; transform: translateY(16px); transition: opacity .6s, transform .8s var(--ease-out); }
.mmenu__contacts { display: grid; gap: 6px; font-size: 0.95rem; color: var(--muted); }
.mmenu__contacts a { color: var(--text); }
.menu-open .mmenu { visibility: visible; pointer-events: auto; }
.menu-open .mmenu__bg { clip-path: inset(0 0 0% 0); }
.menu-open .mmenu__glow { opacity: 1; }
.menu-open .mmenu__list a { transform: none; }
.menu-open .mmenu__foot { opacity: 1; transform: none; transition-delay: .45s; }
.menu-open .mmenu__list li:nth-child(1) a { transition-delay: .18s } .menu-open .mmenu__list li:nth-child(2) a { transition-delay: .22s }
.menu-open .mmenu__list li:nth-child(3) a { transition-delay: .26s } .menu-open .mmenu__list li:nth-child(4) a { transition-delay: .30s }
.menu-open .mmenu__list li:nth-child(5) a { transition-delay: .34s } .menu-open .mmenu__list li:nth-child(6) a { transition-delay: .38s }
.menu-open .mmenu__list li:nth-child(7) a { transition-delay: .42s } .menu-open .mmenu__list li:nth-child(8) a { transition-delay: .46s }
.mmenu.is-closing { visibility: visible; }
@media (min-width: 1240px) { .mmenu { display: none; } }

/* ==========================================================================
   Page transition curtain + cursor + back-to-top
   ========================================================================== */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; background: var(--bg-2); transform: translateY(100%); }
.curtain__line { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--accent-2), transparent); }
.curtain__mark { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
html.is-entering .curtain { transform: translateY(0); }

.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; display: none; }
.cursor__dot { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; mix-blend-mode: difference; transition: transform .35s var(--ease-out), opacity .3s; }
.cursor__label {
  position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(0); height: 84px; width: 84px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; font-weight: 600;
  transition: transform .5s var(--ease-out);
}
.cursor.is-view .cursor__label { transform: translate(-50%, -50%) scale(1); }
.cursor.is-view .cursor__dot { opacity: 0; }
.cursor.is-link .cursor__dot { transform: scale(4.5); }
@media (hover: hover) and (pointer: fine) { html.has-cursor .cursor { display: block; } }

.to-top {
  position: fixed; right: max(16px, var(--gutter)); bottom: 20px; z-index: 70; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(16,20,27,.8); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--line);
  opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .5s, transform .6s var(--ease-out);
}
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg.ring { position: absolute; inset: -1px; width: calc(100% + 2px); height: calc(100% + 2px); transform: rotate(-90deg); }
.to-top svg.ring circle { fill: none; stroke: var(--accent-2); stroke-width: 1.5; stroke-dasharray: 157; stroke-dashoffset: 157; }
.to-top .ico { width: 18px; height: 18px; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding-top: calc(var(--nav-h) + 24px); padding-bottom: clamp(28px, 4vw, 56px); overflow: clip; }
.hero__media { position: absolute; inset: 0; z-index: 0; will-change: clip-path; }
.hero__media .media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(7,9,13,.45) 0%, rgba(7,9,13,0) 22%, rgba(7,9,13,0) 50%, rgba(7,9,13,.92) 100%),
  linear-gradient(90deg, rgba(7,9,13,.8) 0%, rgba(7,9,13,.4) 42%, rgba(7,9,13,0) 70%); }
.hero__glow { position: absolute; z-index: 1; width: 60vmax; height: 60vmax; right: -18vmax; top: -22vmax; background: radial-gradient(closest-side, rgba(52,120,246,.28), transparent 70%); pointer-events: none; }
.hero__content { position: relative; z-index: 2; }
.hero__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: clamp(20px, 3vw, 40px); }
.hero__title { max-width: 13ch; }
.hero__title .accent-word { color: var(--accent-2); }
.hero__bottom { margin-top: clamp(28px, 3.4vw, 52px); display: grid; gap: 28px; align-items: end; }
.hero__copy { max-width: 46ch; color: rgba(245,247,250,.78); font-size: var(--fs-lead); line-height: 1.5; }
.hero__aside { display: flex; justify-content: space-between; align-items: end; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; margin-top: clamp(28px, 3vw, 48px); }
.hero__aside dl { display: flex; flex-wrap: wrap; gap: 8px 28px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.hero__aside dt { color: var(--dim); display: inline; }
.hero__aside dd { display: inline; color: var(--text); }
.scroll-ind { display: inline-flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.scroll-ind__track { position: relative; width: 1px; height: 46px; background: var(--line-strong); overflow: hidden; }
.scroll-ind__track::after { content: ""; position: absolute; left: 0; top: -40%; width: 1px; height: 40%; background: var(--accent-2); animation: scrollLine 2.2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 100%; } }
@media (min-width: 900px) {
  .hero__bottom { grid-template-columns: 1fr auto; }
}
@media (max-width: 640px) {
  .hero__meta .label:last-child { display: none; }
  .hero__aside dl div:nth-child(n+3) { display: none; }
  .hero .scroll-ind span { display: none; }
}

/* ==========================================================================
   Manifesto (word fill)
   ========================================================================== */
.manifesto__text { font-size: clamp(1.75rem, 0.9rem + 3.3vw, 4.2rem); line-height: 1.08; letter-spacing: -0.04em; font-weight: 520; max-width: 22ch; text-wrap: pretty; }
.manifesto__text .hl { color: var(--accent-2); }
.manifesto__grid { display: grid; gap: clamp(40px, 6vw, 96px); }
.manifesto__side { display: grid; gap: 24px; align-content: start; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.facts > div { padding: 22px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.facts > div:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line); }
.facts > div:nth-child(even) { padding-left: 16px; }
.facts strong { font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); font-weight: 560; letter-spacing: -0.02em; }
.facts span { color: var(--muted); font-size: .88rem; }
@media (min-width: 1000px) { .manifesto__grid { grid-template-columns: 1.6fr 1fr; align-items: end; } }

/* ==========================================================================
   Services — stacked panels
   ========================================================================== */
.sec-head { display: grid; gap: 20px; margin-bottom: clamp(48px, 6vw, 96px); }
.sec-head__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; }
.stack { display: grid; gap: clamp(16px, 2vw, 24px); }
.panel {
  position: relative; display: grid; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line);
  min-height: min(78vh, 760px); transform-origin: 50% 0;
}
.panel__media { position: relative; overflow: hidden; min-height: 280px; }
.panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.4s var(--ease-out), filter 1s; filter: saturate(.9) brightness(.86); }
.panel:hover .panel__media img { transform: scale(1.07); filter: saturate(1.05) brightness(.95); }
.panel__body { position: relative; display: flex; flex-direction: column; gap: 22px; padding: clamp(24px, 3.4vw, 56px); }
.panel__body::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px circle at var(--mx, 80%) var(--my, 0%), rgba(52,120,246,.14), transparent 60%); opacity: 0; transition: opacity .6s; pointer-events: none; }
.panel:hover .panel__body::before { opacity: 1; }
.panel__num { display: flex; justify-content: space-between; align-items: center; }
.panel__num .big { font-family: var(--mono); font-size: .78rem; color: var(--accent-2); letter-spacing: .1em; }
.panel__title { font-size: clamp(2.4rem, 1.3rem + 4.4vw, 5.8rem); font-weight: 560; letter-spacing: -0.055em; line-height: .92; margin-top: auto; }
.panel__desc { color: var(--muted); max-width: 44ch; font-size: 1.04rem; }
.panel__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .8rem; color: rgba(245,247,250,.84); white-space: nowrap; }
.panel__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.circle-arrow { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; flex: none; overflow: hidden; position: relative; transition: background-color .5s var(--ease-out), border-color .5s; }
.circle-arrow svg { width: 20px; height: 20px; transition: transform .6s var(--ease-out); }
.circle-arrow svg + svg { position: absolute; transform: translate(-160%, 160%); }
.panel:hover .circle-arrow, a:hover > .circle-arrow, .is-hover .circle-arrow { background: var(--accent); border-color: var(--accent); }
.panel:hover .circle-arrow svg:first-child, a:hover > .circle-arrow svg:first-child { transform: translate(160%, -160%); }
.panel:hover .circle-arrow svg + svg, a:hover > .circle-arrow svg + svg { transform: none; }
.panel__link { position: absolute; inset: 0; z-index: 2; }
.panel__veil { position: absolute; inset: 0; z-index: 3; background: var(--bg); opacity: 0; pointer-events: none; }
@media (min-width: 900px) {
  .panel { grid-template-columns: 1.15fr 1fr; position: sticky; top: calc(var(--nav-h) + 16px); }
  .panel:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
  .panel:nth-child(even) .panel__media { order: 2; }
  .panel__media { min-height: 0; }
}

/* ==========================================================================
   Feature split (computer repair)
   ========================================================================== */
.split-feature { display: grid; gap: clamp(40px, 5vw, 96px); }
.split-feature__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.split-feature__media img { width: 100%; height: 100%; object-fit: cover; }
.split-feature__inset { position: absolute; right: clamp(14px, 2vw, 28px); bottom: clamp(14px, 2vw, 28px); width: 38%; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 30px 60px -20px rgba(0,0,0,.8); z-index: 4; }
.split-feature__inset img { width: 100%; height: 100%; object-fit: cover; }
.checklist { border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; }
.checklist li .idx { color: var(--accent-2); }
.checklist li strong { font-size: clamp(1.1rem, .95rem + .6vw, 1.5rem); font-weight: 520; letter-spacing: -0.025em; }
.checklist li svg { width: 18px; height: 18px; color: var(--dim); transition: color .3s, transform .5s var(--ease-out); }
.checklist li:hover svg { color: var(--accent-2); transform: translateX(4px); }
.checklist li p { grid-column: 2 / -1; color: var(--muted); font-size: .94rem; margin-top: -4px; }
@media (min-width: 1000px) {
  .split-feature { grid-template-columns: 1fr 1fr; align-items: start; }
  .split-feature__media { position: sticky; top: calc(var(--nav-h) + 24px); aspect-ratio: 4 / 5; max-height: calc(100vh - var(--nav-h) - 48px); }
  .split-feature--rev .split-feature__media { order: 2; }
}

/* ==========================================================================
   Light editorial section (IT for business)
   ========================================================================== */
.light { background: var(--paper); color: var(--ink); --line: rgba(10,13,18,.12); --line-strong: rgba(10,13,18,.28); --muted: var(--ink-muted); color-scheme: light; }
.light .label { color: var(--ink-muted); }
.light .label--accent { color: var(--accent); }
.light .idx { color: #7d8794; }
.light .btn--ghost { color: var(--ink); }
.light .btn--ghost:hover { border-color: var(--ink); background: rgba(0,0,0,.03); }
.light .tag { color: var(--ink); }
.light ::selection { background: var(--ink); color: #fff; }
.biz__top { display: grid; gap: 32px; margin-bottom: clamp(48px, 6vw, 88px); }
.biz__wide { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.biz__wide img { width: 100%; height: 100%; object-fit: cover; }
.biz__wide .hud-tag { color: #fff; }
.caps { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); margin-top: clamp(48px, 5vw, 80px); }
.cap { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; align-content: start; transition: background-color .5s; }
.cap__ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; background: var(--ink); color: #fff; transition: background-color .4s, transform .6s var(--ease-out); }
.cap__ico svg { width: 20px; height: 20px; }
.cap:hover .cap__ico { background: var(--accent); transform: rotate(-6deg); }
.cap h3 { font-size: 1.3rem; font-weight: 560; letter-spacing: -0.025em; }
.cap p { color: var(--muted); font-size: .95rem; max-width: 34ch; }
@media (min-width: 640px) { .caps { grid-template-columns: 1fr 1fr; } .cap { padding: 32px 24px 32px 0; } .cap:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (min-width: 1000px) {
  .biz__top { grid-template-columns: 1.4fr 1fr; align-items: end; }
  .caps { grid-template-columns: repeat(3, 1fr); }
  .cap { padding: 36px 28px; border-left: 1px solid var(--line); }
  .cap:nth-child(3n+1) { border-left: 0; padding-left: 0; }
}

/* ==========================================================================
   Story (pinned cinematic sequence)
   ========================================================================== */
.story { position: relative; background: var(--bg); }
.story__pin { position: relative; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.story__frame { position: absolute; inset: 0; overflow: hidden; will-change: clip-path; }
.story__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform, opacity; }
.story__frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(7,9,13,.25), rgba(7,9,13,.8)); }
.story__lines { position: relative; z-index: 3; width: 100%; text-align: center; padding-inline: var(--gutter); display: grid; }
.story__line { grid-area: 1 / 1; font-size: clamp(2.4rem, 1rem + 6vw, 7.6rem); font-weight: 560; letter-spacing: -0.055em; line-height: .95; text-wrap: balance; }
.story__line small { display: block; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; font-weight: 400; color: var(--accent-2); margin-bottom: 22px; text-transform: uppercase; }
.story__ui { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 3vw, 40px); display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.story__progress { flex: 1; height: 1px; margin: 0 20px; background: var(--line-strong); position: relative; overflow: hidden; }
.story__progress i { position: absolute; inset: 0; background: var(--accent-2); transform: scaleX(0); transform-origin: left; }
.story__head { position: absolute; z-index: 4; top: calc(var(--nav-h) + 12px); left: var(--gutter); right: var(--gutter); display: flex; justify-content: space-between; }
/* static (no-motion) fallback: stacked statements */
html:not(.motion) .story__pin { height: auto; min-height: 100svh; padding-block: 140px 100px; }
html:not(.motion) .story__frame img:not(:first-child) { display: none; }
html:not(.motion) .story__lines { gap: 56px; }
html:not(.motion) .story__line { grid-area: auto; }
html:not(.motion) .story__ui { display: none; }

/* ==========================================================================
   Security — expanding columns
   ========================================================================== */
.sec-cols { display: grid; gap: 14px; }
.sec-col { position: relative; display: block; border-radius: var(--radius-lg); overflow: hidden; min-height: 460px; background: var(--surface); isolation: isolate; }
.sec-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out), filter .8s; filter: brightness(.7) saturate(.85); }
.sec-col::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,9,13,.15) 0%, rgba(7,9,13,.25) 40%, rgba(7,9,13,.92) 100%); }
.sec-col__in { position: absolute; inset: 0; padding: clamp(22px, 2.4vw, 36px); display: flex; flex-direction: column; justify-content: space-between; }
.sec-col__top { display: flex; justify-content: space-between; align-items: center; }
.sec-col h3 { font-size: clamp(2rem, 1.3rem + 2.2vw, 3.4rem); font-weight: 560; letter-spacing: -0.05em; line-height: .95; }
.sec-col p { color: rgba(245,247,250,.78); max-width: 34ch; margin-top: 14px; font-size: .98rem; }
.sec-col ul { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.sec-col .tag { border-color: rgba(255,255,255,.28); background: rgba(7,9,13,.35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sec-col:hover img { transform: scale(1.06); filter: brightness(.82) saturate(1); }
.sec-col__more { overflow: hidden; }
@media (min-width: 1000px) and (hover: hover) {
  .sec-cols { display: flex; height: min(80vh, 760px); }
  .sec-col { flex: 1 1 0; min-height: 0; transition: flex-grow 1s var(--ease-out); }
  .sec-cols:hover .sec-col { flex-grow: .8; }
  .sec-cols .sec-col:hover, .sec-cols .sec-col:focus-within { flex-grow: 1.7; }
  .sec-col__more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out), opacity .6s; opacity: 0; }
  .sec-col__more > div { min-height: 0; }
  .sec-col:hover .sec-col__more, .sec-col:focus-within .sec-col__more { grid-template-rows: 1fr; opacity: 1; }
}

/* ==========================================================================
   Packages
   ========================================================================== */
.pkgs { display: grid; gap: 16px; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 28px; padding: clamp(26px, 2.6vw, 40px); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); transition: border-color .5s, transform .8s var(--ease-out); overflow: hidden; }
.pkg:hover { border-color: var(--line-strong); }
.pkg__name { font-family: var(--mono); font-size: .8rem; letter-spacing: .2em; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.pkg__title { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.2rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1.02; }
.pkg__for { color: var(--muted); font-size: .96rem; margin-top: 10px; }
.pkg__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pkg__list li { display: flex; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.pkg__list svg { width: 16px; height: 16px; color: var(--accent-2); flex: none; }
.pkg .btn { margin-top: auto; align-self: flex-start; }
.pkg--feature { background: linear-gradient(180deg, #13203a 0%, var(--surface) 55%); border-color: rgba(98,201,255,.35); }
.pkg--feature::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.pkg--feature .pkg__name { color: var(--accent-2); }
.pkg__badge { font-family: var(--mono); font-size: .64rem; letter-spacing: .14em; padding: 6px 10px; border-radius: 999px; background: rgba(98,201,255,.12); color: var(--accent-2); }
@media (min-width: 1000px) { .pkgs { grid-template-columns: 1fr 1.08fr 1fr; align-items: stretch; } .pkg--feature { transform: translateY(-16px); } }

/* ==========================================================================
   Process timeline
   ========================================================================== */
.process { position: relative; }
.process__track { position: relative; display: grid; gap: 0; }
.process__line { position: absolute; left: 11px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.process__line i { position: absolute; inset: 0; background: linear-gradient(180deg, var(--accent), var(--accent-2)); transform: scaleY(0); transform-origin: top; }
.step { position: relative; padding: 0 0 48px 52px; }
.step__dot { position: absolute; left: 4px; top: 6px; width: 15px; height: 15px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-strong); transition: background-color .4s, border-color .4s, box-shadow .4s; }
.step.is-active .step__dot { background: var(--accent); border-color: var(--accent-2); box-shadow: 0 0 0 6px rgba(52,120,246,.18); }
.step__n { font-family: var(--mono); color: var(--accent-2); font-size: .78rem; letter-spacing: .1em; }
.step h3 { font-size: clamp(1.8rem, 1.2rem + 2vw, 3rem); font-weight: 560; letter-spacing: -0.045em; line-height: 1; margin: 10px 0 12px; }
.step p { color: var(--muted); max-width: 34ch; }
@media (min-width: 1000px) {
  .process__track { grid-template-columns: repeat(4, 1fr); }
  .process__line { left: 0; right: 0; top: 7px; bottom: auto; width: auto; height: 1px; }
  .process__line i { transform: scaleX(0); transform-origin: left; }
  .step { padding: 52px 32px 0 0; }
  .step__dot { left: 0; top: 0; }
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { display: grid; gap: clamp(40px, 5vw, 80px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; text-align: left; font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); font-weight: 520; letter-spacing: -0.025em; line-height: 1.3; transition: color .3s; }
.faq__q:hover { color: var(--accent-2); }
.faq__icon { position: relative; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); flex: none; transition: transform .6s var(--ease-out), background-color .4s, border-color .4s; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .6s var(--ease-out); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__item.is-open .faq__icon { transform: rotate(180deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.faq__item.is-open .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.faq__a > div { min-height: 0; overflow: hidden; }
.faq__a p { color: var(--muted); padding: 0 56px 28px 0; max-width: 64ch; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .6s var(--ease-out); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; transition-delay: .1s; }
@media (min-width: 1000px) { .faq { grid-template-columns: 1fr 1.5fr; } .faq__aside { position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; } }

/* ==========================================================================
   Final CTA
   ========================================================================== */
.cta { position: relative; overflow: hidden; padding-block: clamp(110px, 12vw, 220px); }
.cta__bg { position: absolute; inset: 0; z-index: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 60%, rgba(7,9,13,.35), var(--bg) 85%); }
.cta__in { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; gap: 28px; }
.cta__title { font-size: clamp(2.8rem, 1.2rem + 7vw, 9rem); font-weight: 560; letter-spacing: -0.06em; line-height: .9; max-width: 14ch; }
.cta__title em { font-style: normal; color: var(--accent-2); }
.cta__sub { color: var(--muted); max-width: 46ch; font-size: var(--fs-lead); }
.cta .btn-row { justify-content: center; }
.cta__meta { display: flex; flex-wrap: wrap; gap: 8px 28px; justify-content: center; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; margin-top: 12px; }
.cta__meta a:hover { color: var(--text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; background: var(--bg); border-top: 1px solid var(--line); padding-top: clamp(64px, 7vw, 120px); overflow: hidden; }
.footer__grid { display: grid; gap: 40px; }
.footer__lead { font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem); font-weight: 520; letter-spacing: -0.035em; line-height: 1.1; max-width: 18ch; }
.footer h2.label { margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 10px; }
.footer__col a { color: rgba(245,247,250,.82); transition: color .3s; }
.footer__col a:hover { color: var(--accent-2); }
.footer__col address { font-style: normal; display: grid; gap: 10px; color: rgba(245,247,250,.82); }
.footer__col .muted { font-size: .9rem; }
.footer__brand { position: relative; margin-top: clamp(56px, 7vw, 120px); line-height: .78; font-weight: 640; letter-spacing: -0.07em; font-size: min(12.6vw, 20rem); white-space: nowrap; color: transparent; -webkit-text-stroke: 1px rgba(156,168,184,.28); user-select: none; text-align: center; }
.footer__brand span { display: inline-block; background: linear-gradient(180deg, rgba(245,247,250,.95), rgba(245,247,250,.05) 92%); -webkit-background-clip: text; background-clip: text; }
.footer__bar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px 0 28px; border-top: 1px solid var(--line); font-size: .82rem; color: var(--dim); font-family: var(--mono); letter-spacing: .04em; }
@media (max-width: 759px) { .footer__bar { padding-bottom: 88px; } }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.crumbs { display: flex; gap: 10px; align-items: center; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-hidden] { opacity: .5; }

/* Hero A — full-bleed cinematic */
.phero { position: relative; min-height: 92svh; display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 40px) 0 clamp(36px, 5vw, 72px); overflow: clip; }
.phero__media { position: absolute; inset: 0; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,9,13,.6) 0%, rgba(7,9,13,.25) 30%, rgba(7,9,13,.62) 58%, rgba(7,9,13,.95) 100%), linear-gradient(90deg, rgba(7,9,13,.55), transparent 70%); }
.phero__in { position: relative; z-index: 2; display: grid; gap: 28px; width: 100%; }
.phero__row { display: grid; gap: 28px; align-items: end; }
@media (min-width: 1000px) { .phero__row { grid-template-columns: 1.5fr 1fr; } }

/* Hero B — split editorial */
.shero { padding: calc(var(--nav-h) + clamp(40px, 6vw, 96px)) 0 clamp(56px, 6vw, 96px); position: relative; overflow: clip; }
.shero__grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: end; }
.shero__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.shero__media img { width: 100%; height: 100%; object-fit: cover; }
.shero__copy { display: grid; gap: 28px; }
@media (min-width: 1000px) { .shero__grid { grid-template-columns: 1.1fr 1fr; } .shero__media { aspect-ratio: 4 / 5; max-height: 78vh; } }

/* Hero C — framed centre + wide strip */
.chero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 120px)) 0 0; text-align: left; overflow: clip; }
.chero__title { max-width: 16ch; }
.chero__strip { margin-top: clamp(40px, 5vw, 80px); display: grid; grid-template-columns: 1fr; gap: 12px; }
.chero__strip .media { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; }
.chero__strip .media:nth-child(n+2) { display: none; }
@media (min-width: 760px) {
  .chero__strip { grid-template-columns: 1.6fr 1fr 1fr; }
  .chero__strip .media { aspect-ratio: auto; height: clamp(320px, 42vw, 620px); }
  .chero__strip .media:nth-child(n+2) { display: block; }
  .chero__strip .media:nth-child(2) { margin-top: 12%; }
  .chero__strip .media:nth-child(3) { margin-top: 24%; }
}
.chero__foot { display: grid; gap: 28px; margin-top: 36px; }
@media (min-width: 1000px) { .chero__foot { grid-template-columns: 1fr auto; align-items: end; } }

/* Feature grid (8 services) */
.fgrid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
.fitem { position: relative; padding: 30px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.fitem__top { display: flex; justify-content: space-between; align-items: center; }
.fitem__ico { width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent-2); transition: background-color .5s, color .5s, border-color .5s, transform .6s var(--ease-out); }
.fitem__ico svg { width: 20px; height: 20px; }
.fitem:hover .fitem__ico { background: var(--accent); color: #fff; border-color: var(--accent); transform: translateY(-3px); }
.fitem h3 { font-size: 1.32rem; font-weight: 560; letter-spacing: -0.025em; }
.fitem p { color: var(--muted); font-size: .96rem; max-width: 36ch; }
@media (min-width: 640px) { .fgrid { grid-template-columns: 1fr 1fr; } .fitem { padding: 32px 24px 32px 0; } .fitem:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line); } }
@media (min-width: 1100px) {
  .fgrid { grid-template-columns: repeat(4, 1fr); }
  .fitem { padding: 36px 28px; border-left: 1px solid var(--line); min-height: 260px; }
  .fitem:nth-child(4n+1) { border-left: 0; padding-left: 0; }
  .fitem:nth-child(even) { padding-left: 28px; }
}
.fgrid--3 { }
@media (min-width: 1100px) { .fgrid--3 { grid-template-columns: repeat(3, 1fr); } .fgrid--3 .fitem:nth-child(4n+1) { border-left: 1px solid var(--line); padding-left: 28px; } .fgrid--3 .fitem:nth-child(3n+1) { border-left: 0; padding-left: 0; } }

/* Big statement band */
.band { display: grid; gap: clamp(32px, 4vw, 72px); }
.band__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__copy { display: grid; gap: 24px; align-content: center; }
@media (min-width: 1000px) { .band { grid-template-columns: 1fr 1fr; align-items: center; } .band--rev .band__media { order: 2; } }

/* Pillars — large numbered rows with image reveal */
.pillars { border-top: 1px solid var(--line); }
.pillar { position: relative; display: grid; gap: 20px; padding: clamp(32px, 4vw, 56px) 0; border-bottom: 1px solid var(--line); }
.pillar__n { font-family: var(--mono); color: var(--accent-2); font-size: .78rem; letter-spacing: .1em; }
.pillar h3 { font-size: clamp(2rem, 1.2rem + 3vw, 4.2rem); font-weight: 560; letter-spacing: -0.05em; line-height: .95; }
.pillar p { color: var(--muted); max-width: 46ch; }
.pillar__media { border-radius: 10px; overflow: hidden; aspect-ratio: 16 / 10; }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.pillar:hover .pillar__media img { transform: scale(1.05); }
@media (min-width: 1000px) { .pillar { grid-template-columns: 80px 1.3fr 1fr 0.9fr; align-items: center; gap: 32px; } .pillar__media { aspect-ratio: 4 / 3; } }

/* Category tiles (prodaja) */
.cats { display: grid; gap: 14px; grid-template-columns: 1fr; }
.cat { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius-lg); overflow: hidden; isolation: isolate; background: var(--surface); }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; filter: brightness(.68); transition: transform 1.4s var(--ease-out), filter .8s; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgba(7,9,13,.9)); }
.cat:hover img { transform: scale(1.06); filter: brightness(.8); }
.cat h3 { font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1; }
.cat p { color: rgba(245,247,250,.78); font-size: .96rem; margin-top: 10px; max-width: 36ch; }
.cat .idx { position: absolute; top: clamp(22px, 2.4vw, 32px); left: clamp(22px, 2.4vw, 32px); color: rgba(245,247,250,.7); }
@media (min-width: 700px) { .cats { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .cats { grid-template-columns: repeat(6, 1fr); } .cat { grid-column: span 2; min-height: 460px; } .cat:nth-child(1), .cat:nth-child(2) { grid-column: span 3; min-height: 540px; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding-block: clamp(18px, 2vw, 28px); }
.marquee__track { display: flex; width: max-content; gap: 0; animation: marquee 38s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); font-size: clamp(1.6rem, 1rem + 2.6vw, 3.6rem); font-weight: 520; letter-spacing: -0.045em; white-space: nowrap; color: rgba(245,247,250,.9); }
.marquee__track span i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); flex: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Spec list (equipment chips) */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .98rem; transition: background-color .4s, border-color .4s, color .4s; }
.chip svg { width: 16px; height: 16px; color: var(--accent-2); }
.chip:hover { border-color: var(--accent-2); background: rgba(98,201,255,.06); }

/* Steps row (3-step) */
.steps3 { display: grid; gap: 14px; }
.s3 { position: relative; padding: clamp(26px, 2.6vw, 40px); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 14px; min-height: 240px; align-content: space-between; overflow: hidden; }
.s3__n { font-size: clamp(3.4rem, 2.4rem + 3vw, 6rem); font-weight: 300; letter-spacing: -0.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(98,201,255,.5); }
.s3 h3 { font-size: 1.5rem; font-weight: 560; letter-spacing: -0.03em; }
.s3 p { color: var(--muted); }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } .steps3--4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) { .steps3--4 { grid-template-columns: 1fr 1fr; } }

/* Quote / statement */
.statement { font-size: clamp(1.9rem, 1rem + 3.4vw, 4.6rem); font-weight: 520; letter-spacing: -0.045em; line-height: 1.04; max-width: 20ch; text-wrap: balance; }
.statement em { font-style: normal; color: var(--accent-2); }

/* Values */
.values { display: grid; gap: 0; border-top: 1px solid var(--line); }
.value { display: grid; gap: 14px; padding: clamp(28px, 3vw, 44px) 0; border-bottom: 1px solid var(--line); }
.value h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.6rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1; }
.value p { color: var(--muted); max-width: 52ch; }
@media (min-width: 900px) { .value { grid-template-columns: 90px 1fr 1.2fr; align-items: baseline; gap: 32px; } }

/* Company card */
.company { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.company > div { padding: 22px 24px; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.company > div:last-child { border-bottom: 0; }
.company dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.company dd { font-size: 1.05rem; }
.company a:hover { color: var(--accent-2); }
@media (min-width: 700px) { .company { grid-template-columns: 1fr 1fr; } .company > div:nth-child(odd) { border-right: 1px solid var(--line); } .company > div:nth-last-child(-n+2) { border-bottom: 0; } }

/* ==========================================================================
   Contact page / form
   ========================================================================== */
.contact { display: grid; gap: clamp(40px, 5vw, 96px); }
.contact__info { display: grid; gap: 28px; align-content: start; }
.cinfo { border-top: 1px solid var(--line); }
.cinfo a, .cinfo div.row { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cinfo .ico { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent-2); transition: background-color .4s, color .4s, border-color .4s; }
.cinfo .ico svg { width: 18px; height: 18px; }
.cinfo small { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; margin-bottom: 2px; }
.cinfo strong { font-weight: 520; font-size: 1.08rem; letter-spacing: -0.015em; }
.cinfo a:hover .ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.cinfo .go { width: 18px; height: 18px; color: var(--dim); transition: transform .5s var(--ease-out), color .3s; }
.cinfo a:hover .go { transform: translate(3px, -3px); color: var(--accent-2); }

.form { position: relative; padding: clamp(24px, 3vw, 48px); border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 700px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field label, .field .flabel { font-size: .86rem; color: rgba(245,247,250,.86); font-weight: 500; }
.field label .req { color: var(--accent-2); }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-strong); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color .3s, box-shadow .3s, background-color .3s; -webkit-appearance: none; appearance: none;
}
.textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%239CA8B8' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.select option { background: var(--bg-2); color: var(--text); }
.input::placeholder, .textarea::placeholder { color: var(--dim); }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(156,168,184,.5); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 4px rgba(98,201,255,.14); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: .84rem; min-height: 0; }
.field__err:empty { display: none; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 0; border-radius: 6px; border: 1px solid var(--line-strong); background: var(--bg); display: grid; place-items: center; cursor: pointer; transition: background-color .3s, border-color .3s; }
.check input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) scale(0); margin-top: -2px; transition: transform .3s var(--ease-out); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: rotate(-45deg) scale(1); }
.check.has-error input { border-color: var(--danger); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form__note { font-size: .82rem; color: var(--dim); }
.form__status { display: none; padding: 18px 20px; border-radius: 10px; font-size: .95rem; line-height: 1.5; }
.form__status.is-ok { display: block; background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.35); color: #c9f7d8; }
.form__status.is-err { display: block; background: rgba(255,107,107,.08); border: 1px solid rgba(255,107,107,.35); color: #ffd4d4; }
.form__status a { text-decoration: underline; text-underline-offset: 3px; color: #fff; }

.map { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 9; background:
  radial-gradient(circle at 50% 50%, rgba(52,120,246,.18), transparent 40%),
  repeating-linear-gradient(0deg, transparent 0 39px, rgba(156,168,184,.07) 39px 40px),
  repeating-linear-gradient(90deg, transparent 0 39px, rgba(156,168,184,.07) 39px 40px), var(--bg-2); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9) hue-rotate(180deg); }
.map__facade { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; gap: 14px; align-content: center; }
.map__pin { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 10px rgba(52,120,246,.2), 0 0 0 24px rgba(52,120,246,.08); margin-bottom: 14px; }
.map__facade p { color: var(--muted); font-size: .9rem; }
@media (max-width: 640px) { .map { aspect-ratio: 4 / 3; } }
@media (min-width: 1000px) { .contact { grid-template-columns: 1fr 1.25fr; } .contact__info { position: sticky; top: calc(var(--nav-h) + 32px); align-self: start; } }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; }
.nf__code { font-size: clamp(7rem, 30vw, 22rem); font-weight: 640; letter-spacing: -0.08em; line-height: .8; color: transparent; -webkit-text-stroke: 1px rgba(98,201,255,.45); }

/* ==========================================================================
   Motion initial states (only when JS + motion allowed)
   ========================================================================== */
html.motion [data-reveal="fade"], html.motion [data-reveal="up"] { opacity: 0; }
html.motion [data-reveal="up"] { transform: translateY(40px); }
html.motion [data-reveal="mask"] { clip-path: inset(100% 0 0 0); }
html.motion [data-reveal="line"] { transform: scaleX(0); }
html.motion .split:not(.is-split) { opacity: 0; }
html.motion .hero__media { clip-path: inset(12% 10% 12% 10% round 18px); }
html.motion .hero__media img { transform: scale(1.25); }
html.motion .nav { transform: translateY(-100%); }
html.motion.is-ready .nav:not(.is-hidden) { transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; width: auto; }
}

@media print {
  .nav, .mmenu, .cursor, .to-top, .curtain, .story { display: none !important; }
  body { background: #fff; color: #000; }
}
