@font-face { font-family: "PT Sans"; src: url('./fonts/pt-sans-regular-full.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "PT Sans"; src: url('./fonts/pt-sans-bold-full.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #070809;
  --bg-2: #101113;
  --fg: #f5f5f2;
  --muted: #b3b4b3;
  --red: #d20a20;
  --red-deep: #ac0417;
  --line: rgba(245,245,242,.25);
  --surface-light: #e9e9e5;
  --surface-open: #f1f1ee;
  --ink-light: #08090a;
  --ink-secondary: #303234;
  --contact-bg: #bf071b;
  --contact-secondary: #ffdddd;
  --gutter: clamp(22px, 4.3vw, 84px);
  --max: 1800px;
  --header-height: 104px;
  --ease: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 20px); }
main { padding-top: 0; }
.header-shell { position: fixed; z-index: 50; inset: 0 0 auto; background: var(--bg); border-bottom: 1px solid var(--line); }
body { margin: 0; min-width: 320px; background: var(--bg); color: var(--fg); font-family: "PT Sans", "Arial Narrow", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
::selection { background: var(--red); color: #fff; }
.wrap { width: min(100%, var(--max)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 12px 16px; background: var(--fg); color: var(--bg); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* INTRO */
.hero { position: relative; isolation: isolate; min-height: 560px; height: calc(100svh - 104px); overflow: hidden; background: #060607; }
.hero__art { position: absolute; z-index: -3; inset: 0; overflow: hidden; pointer-events: none; }
.circuit-art { display: block; width: 100%; height: 100%; opacity: .9; }
.circuit-art .field-lines { opacity: .32; }
.circuit-art .field-dashes { opacity: .24; }
.circuit-art .field-detail-extra { opacity: .32; }
.circuit-art .field-points { opacity: .5; }
.circuit-art > g[fill="#3c3c3c"] { opacity: .42; }
.circuit-art .route-shadows { opacity: .8; }
.circuit-art .route-lines { opacity: .85; }
.hero__fade { position: absolute; z-index: -2; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,6,7,.58), rgba(5,6,7,.08) 20%, rgba(5,6,7,.04) 75%, rgba(5,6,7,.7)), radial-gradient(ellipse 40% 54% at 51% 52%, rgba(6,7,8,.97) 0%,rgba(6,7,8,.9) 58%,rgba(6,7,8,.05) 100%); }
.site-header { position: relative; z-index: 8; height: 104px; display: flex; justify-content: space-between; align-items: center; gap: 3vw; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 16px; min-height: 44px; font-weight: 700; }
.brand__icon { position: relative; display: block; width: 37px; height: 42px; }
.brand__icon > span { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 25px; height: 25px; border-radius: 50%; background: var(--fg); }
.brand__icon > i { position: absolute; bottom: 0; left: 0; width: 37px; height: 11px; background: var(--fg); }
.brand__name { display: block; font-size: clamp(24px, 2.2vw, 38px); letter-spacing: -.025em; line-height: 1; padding-bottom: .05em; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(22px, 2.6vw, 54px); margin-left: auto; margin-right: auto; }
.site-nav a, .footer nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; font-size: 16px; font-weight: 700; white-space: nowrap; }
.site-nav a::after, .footer nav a::after { content: ""; position: absolute; height: 1px; background: currentColor; bottom: -7px; left: 0; width: 100%; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="location"]::after, .footer nav a:hover::after, .footer nav a:focus-visible::after, .footer nav a[aria-current="location"]::after { transform: scaleX(1); }
.menu-toggle { display: none; }

.hero__body { position: relative; display: grid; grid-template-columns: 28% 45% 27%; align-items: center; margin-top: var(--header-height); height: calc(100% - var(--header-height) - 58px); }
.hero__services { display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 6.7vh, 72px); align-items: flex-start; }
.hero-service { position: relative; z-index: 1; display: flex; align-items: center; width: min(100%, 360px); min-height: 102px; gap: 19px; padding: 14px 34px 14px 21px; font-size: clamp(19px, 1.6vw, 29px); font-weight: 700; line-height: 1.08; isolation: isolate; transition: translate .25s var(--ease); }
.hero-service::before, .hero-service::after { position: absolute; content: ""; pointer-events: none; clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 50%, calc(100% - 27px) 100%,0 100%); }
.hero-service::before { z-index: -2; inset: 0; background: rgba(245,245,242,.86); }
.hero-service::after { z-index: -1; inset: 1.4px; background: rgba(6,7,8,.96); }
.hero-service:hover { translate: 8px 0; }
.hero-service__node { flex: 0 0 clamp(22px, 2.3vw, 35px); width: clamp(22px, 2.3vw, 35px); aspect-ratio: 1; background: var(--fg); border-radius: 50%; }
.hero__center { position: relative; z-index: 1; padding: 36px 16px; text-align: center; }
.hero__center h1 { margin: 0 0 24px; font-size: clamp(79px, 8.05vw, 151px); font-weight: 700; line-height: .95; white-space: nowrap; letter-spacing: -.04em; transform: scaleX(.84); }
.hero__center p { max-width: 510px; margin: 0 auto; padding: 6px; background: rgba(6,7,8,.54); font-size: clamp(16px, 1.27vw, 22px); line-height: 1.35; color: #d0d0cf; text-wrap: balance; }
.hero__actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 16px; align-items: stretch; padding-left: clamp(20px, 3.4vw, 65px); }
.action { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 82px; padding: 14px 21px 14px 25px; font-size: clamp(17px, 1.6vw, 26px); font-weight: 700; line-height: 1.06; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease; }
.action::before { position: absolute; content: ""; left: -12px; top: calc(50% - 14px); width: 13px; height: 28px; background: var(--bg); border: 2px solid currentColor; }
.action--primary { background: var(--red); color: #fff; border: 2px solid var(--red); }
.action--primary::before { border-color: var(--red); }
.action--secondary { border: 1px solid #9c9c9c; background: rgba(5,6,7,.87); }
.action__arrow { display: block; flex: 0 0 32px; width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; stroke-linejoin: miter; transition: transform .2s ease; }
.action:hover { transform: translateX(5px); }
.action:active { transform: translateX(2px) scale(.98); }
.menu-toggle:active { transform: scale(.96); }
.service-item summary:active .service-item__toggle { scale: .94; }
.action:hover .action__arrow { transform: translate(3px, -3px); }
.action--primary:hover { background: #f0f0f0; border-color: #f0f0f0; color: #070809; }
.action--secondary:hover { background: #efefed; color: #080909; border-color: #efefed; }
.hero__foot { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; min-height: 58px; gap: 16px; color: #b3b4b3; font-size: 13px; letter-spacing: .06em; font-weight: 700; }
.hero__foot > span:last-child span { margin-left: 8px; color: var(--red); font-size: 22px; vertical-align: middle; }

/* HORIZONTAL COMPETENCY STRIP */
.competencies { position: relative; display: flex; align-items: center; height: 104px; border-block: 1px solid var(--line); overflow: hidden; }
.ticker-toggle { order: 2; flex: 0 0 44px; width: 44px; height: 44px; margin-inline: 14px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--fg); cursor: pointer; transition: background .2s ease, transform .15s ease; }
.ticker-toggle[hidden] { display: none; }
.ticker-toggle svg { grid-area: 1 / 1; width: 20px; height: 20px; }
.ticker-toggle__pause { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; }
.ticker-toggle__play { fill: currentColor; display: none; }
.ticker-toggle[aria-pressed="true"] .ticker-toggle__pause { display: none; }
.ticker-toggle[aria-pressed="true"] .ticker-toggle__play { display: block; }
@media (hover: hover) { .ticker-toggle:hover { background: var(--red); } }
.ticker-toggle:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; background: var(--red); }
.ticker-toggle:active { transform: scale(.94); }
.small-red-square { flex: 0 0 8px; height: 8px; background: var(--red); }
.competencies__viewport { flex: 1; min-width: 0; display: flex; align-items: center; height: 100%; overflow: hidden; scrollbar-width: none; mask-image: linear-gradient(90deg,transparent,black 3%,black 97%,transparent); }
.competencies__viewport::-webkit-scrollbar { display: none; width: 0; height: 0; }
.competencies__track { display: flex; flex: 0 0 auto; width: max-content; }
.competencies__group { display: flex; flex: 0 0 auto; align-items: center; gap: 48px; padding-right: 48px; }
.competencies__group > span { display: flex; flex: 0 0 auto; align-items: center; gap: 28px; font-size: clamp(27px, 2.65vw, 45px); letter-spacing: -.025em; white-space: nowrap; font-weight: 700; }
.competencies__group > span::before { content: ""; width: 12px; height: 12px; border: 2px solid var(--red); transform: rotate(45deg); }
.competencies:hover .competencies__track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* SECTIONS */
.section { position: relative; overflow: clip; padding: clamp(98px, 9vw, 160px) 0; border-bottom: 1px solid var(--line); }
.section-heading { max-width: 1100px; margin-bottom: clamp(48px, 5vw, 80px); }
.section h2 { margin: 0; font-weight: 700; font-size: clamp(44px, 4.8vw, 80px); letter-spacing: -.03em; line-height: 1.05; }
.section h2 em { font-style: normal; color: #73777b; }
.section-intro { margin: 32px 0 0; max-width: 590px; font-size: clamp(20px, 1.65vw, 26px); color: #b6b8ba; line-height: 1.45; }

/* ACCORDION */
.directions { padding-bottom: 0; }
.service-list { border-top: 1px solid rgba(255,255,255,.48); }
.service-item { border-bottom: 1px solid rgba(255,255,255,.45); scroll-margin-top: 20px; }
.service-item summary { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .72fr) 58px; gap: 22px; align-items: center; min-height: clamp(170px, 14.3vw, 245px); cursor: pointer; list-style: none; transition: background .2s ease, color .2s ease; }
.service-item summary::-webkit-details-marker { display: none; }
.service-item summary:hover, .service-item summary:focus-visible { background: var(--surface-open); color: var(--ink-light); outline-offset: -2px; }
.service-item[open] { background: var(--surface-open); color: var(--ink-light); }
.service-item[open] summary { background: transparent; color: inherit; }
.service-item[open] .service-item__details p { color: var(--ink-secondary); }
.service-item[open] .tags span { border-color: #919391; }
.service-item__title { font-size: clamp(40px, 5.1vw, 86px); letter-spacing: -.03em; font-weight: 700; line-height: 1; }
.service-item__summary { font-size: clamp(17px, 1.43vw, 23px); line-height: 1.45; max-width: 350px; }
.service-item__toggle { display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid currentColor; border-radius: 50%; font-family: Arial,sans-serif; font-size: 31px; font-weight: 300; line-height: 1; transition: transform .24s ease; }
.service-item[open] .service-item__toggle { transform: rotate(45deg); }
.service-item__details { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .72fr) 58px; gap: 22px; padding-top: 12px; padding-bottom: 40px; }
details.service-item:not([open]) > .service-item__details { display: none; }
.service-item__details p { grid-column: 1; max-width: 610px; margin: 0; color: #d0d1d2; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.5; }
.tags { grid-column: 2; display: flex; flex-wrap: wrap; align-content: start; gap: 10px; }
.tags span { border: 1px solid #5d5e5e; padding: 8px 11px; font-size: 13px; line-height: 1.2; }

/* COMPANY */
.company { background: var(--surface-light); color: var(--ink-light); border-bottom: 0; }
.company__layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 6vw, 100px); }
.company__side { display: flex; flex-direction: column; justify-content: space-between; }
.company h2 em { color: #777976; }
.company__statement { max-width: 840px; margin: 0 0 48px; font-size: clamp(26px, 2.5vw, 36px); line-height: 1.35; font-weight: 700; letter-spacing: -.02em; }
.company__principles { display: grid; gap: 28px; }
.company__principles article { display: grid; grid-template-columns: 150px 48px minmax(0, 1fr); gap: 24px; align-items: start; }
.company__arrow { display: block; width: 48px; height: 24px; margin-top: 3px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transform-origin: left center; }
.company__principles article + article { border: 0; padding: 0; }
.company__principles h3 { margin: 0; font-size: 21px; letter-spacing: -.015em; line-height: 1.4; }
.company__principles p { margin: 0; font-size: 18px; line-height: 1.5; }

/* FORMATS */
.formats { background: var(--bg-2); padding-block: clamp(72px, 6vw, 108px); }
.formats__grid { display: grid; gap: 0; }
.format-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 100px); align-items: baseline; padding: 36px 0; }
.format-card + .format-card { border-top: 1px solid var(--line); }
.format-card h3 { margin: 0; font-size: clamp(28px, 3vw, 48px); letter-spacing: -.025em; line-height: 1.15; }
.format-card p { margin: 0; max-width: 50ch; color: var(--fg); font-size: 20px; line-height: 1.5; }

/* APPROACH */
.approach__steps {position: relative; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.approach__steps::before { content: ""; position: absolute; top: 15px; left: 0; right: 0; height: 3px; background: transparent; }
.approach__steps li { position: relative; padding: 65px 20px 0 0; min-height: 220px; }
.approach__steps li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.approach__steps li::before { content: ""; z-index: 1; position: absolute; top: 2px; left: 0; width: 27px; height: 27px; background: var(--bg); border: 5px solid var(--fg); }
.approach__steps li:nth-child(2)::before, .approach__steps li:nth-child(4)::before { border-radius: 50%; }
.approach__steps li + li::before { left: 24px; }
.approach__steps li:last-child::before { border-color: var(--red); background: var(--red); }
.approach__steps h3 { margin: 0 0 12px; font-size: clamp(24px, 2.1vw, 34px); letter-spacing: -.035em; }
.approach__steps p { margin: 0; color: #bbb; max-width: 240px; font-size: 17px; line-height: 1.3; }
.approach__steps p a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: underline; text-underline-offset: 5px; color: var(--fg); }

/* CONTACT */
.contact { border-bottom: 0; background: var(--contact-bg); padding-block: clamp(64px, 6vw, 100px); }
.contact__content, .requisites-layout { display: grid; grid-template-columns: .8fr 1.4fr; gap: clamp(40px, 6vw, 100px); }
.contact h2 { margin-top: 0; font-size: clamp(44px, 4vw, 64px); }
.contact__information { padding-top: 0; }
.contact__lead { max-width: 40ch; margin: 24px 0 0; font-size: 20px; line-height: 1.5; color: var(--contact-secondary); }
.contact__email { position: relative; display: inline-flex; align-items: center; min-height: 44px; max-width: 100%; font-size: clamp(32px, 3.4vw, 52px); font-weight: 700; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; text-decoration: underline; text-decoration-color: rgba(255,255,255,.55); text-decoration-thickness: 1px; text-underline-offset: 8px; transition: text-decoration-color .2s ease; }
.contact__email:hover { text-decoration-color: currentColor; }
.contact__email:focus-visible { outline-color: var(--fg); }
.requisites-section { background: var(--bg-2); padding-block: clamp(64px, 6vw, 100px); border-bottom: 0; }
.requisites-layout { align-items: start; }
.requisites-layout > h2 { font-size: clamp(40px, 4vw, 64px); }
.requisites { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; margin: 0; font-size: 18px; line-height: 1.5; }
.requisites > div:first-child, .requisites > div:last-child { grid-column: 1 / -1; }
.requisites dt { margin-bottom: 5px; font-size: 15px; color: var(--muted); }
.requisites dd { margin: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
#requisites { scroll-margin-top: 20px; }
.footer { border-top: 1px solid rgba(255,255,255,.25); }
.footer__grid { min-height: 210px; display: grid; align-items: center; grid-template-columns: 1fr auto 1fr; gap: 20px; }
.brand--footer { gap: 12px; }
.brand--footer .brand__icon { width: 28px; height: 32px; }
.brand--footer .brand__icon > span { width: 19px; height: 19px; }
.brand--footer .brand__icon > i { width: 28px; height: 8px; }
.brand--footer .brand__name { font-size: 29px; }
.footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 17px; }
.footer nav a { font-size: 14px; }
.footer__copyright { font-size: 13px; letter-spacing: .04em; color: #b3b4b3; justify-self: end; }

/* INTERACTIONS — entrance animations are managed by GSAP in app.js. */
.reveal-word { display: inline-block; transform-origin: left bottom; }
html:not(.motion-ready) .competencies__viewport { overflow-x: auto; mask-image: none; }
html:not(.motion-ready) .competencies__group[aria-hidden="true"] { display: none; }
.action__arrow { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.action:hover .action__arrow, .action:focus-visible .action__arrow { transform: translateX(7px); }
/* No unfilled background track; app.js draws the white progress as the user scrolls. */
.approach__steps { --route-progress: 1; }
.approach__steps::after {
  content: ""; position: absolute; top: 15px; left: 0; right: 0;
  height: 3px; background: var(--fg);
  transform: scaleX(var(--route-progress)); transform-origin: left center;
  pointer-events: none;
}

@media (min-width: 1800px) {
  .hero__body { grid-template-columns: 29% 43% 28%; }
  .hero__center h1 { font-size: 149px; }
}
@media (max-width: 1200px) {
  .hero { min-height: 560px; }
  .hero__body { grid-template-columns: 28% 44% 28%; }
  .hero-service { min-height: 87px; gap: 11px; padding-left: 12px; padding-right: 30px; }
  .hero__center h1 { font-size: clamp(70px, 7.8vw, 110px); }
  .hero__center p { font-size: 16px; }
  .hero__actions { padding-left: 15px; }
  .action { padding: 10px 12px 10px 16px; min-height: 73px; }
  .action__arrow { flex-basis: 26px; width: 26px; height: 26px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 15px; }
  .service-item summary { grid-template-columns: minmax(0,1.1fr) minmax(0,.75fr) 50px; }
  .service-item__details { grid-template-columns: minmax(0,1.1fr) minmax(0,.75fr) 50px; }
  .service-item__title { font-size: clamp(36px, 5vw, 76px); }
  .company__principles article { grid-template-columns: 130px 48px minmax(0, 1fr); gap: 18px; }
}
@media (min-width: 901px) and (max-width: 1200px) {
  .hero__center { grid-column: 2; grid-row: 1; }
  .hero__actions { grid-column: 3; grid-row: 1; }
  .hero__services { grid-column: 1; grid-row: 1; }
}
@media (max-width: 900px) {
  .brand__name { font-size: 29px; }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 14px; }
  .hero__body { height: calc(100% - var(--header-height) - 60px); grid-template-columns: 29% 45% 26%; }
  .hero-service { font-size: 17px; min-height: 78px; }
  .hero-service__node { flex-basis: 21px; width: 21px; }
  .hero__center h1 { font-size: clamp(58px, 8vw, 80px); margin-bottom: 18px; }
  .hero__center p { font-size: 15px; }
  .action { font-size: 15px; min-height: 66px; }
  .hero__foot { font-size: 9px; }
  .section-heading { grid-template-columns: 1fr; gap: 30px; }
  .section h2 { font-size: clamp(42px, 6vw, 64px); }
  .company__layout { grid-template-columns: 1fr; }
  .company__content { grid-column: 1; }
  .company__statement { margin: 0 0 40px; }
  .formats__grid { grid-template-columns: 1fr; }
  .contact__content, .requisites-layout { grid-template-columns: 1fr; }
  .contact h2 { margin-top: 0; }
  .contact__information { padding-top: 0; }
  .footer__grid { grid-template-columns: 1fr auto; }
  .footer__copyright { display: none; }
  :root { --gutter: 22px; --header-height: 80px; }
  .hero { height: auto; min-height: 0; }
  .hero__art { left: -130%; right: -130%; }
  .hero__fade { background: linear-gradient(180deg, #07080988,#07080955 35%,#070809cc 68%,#070809f5), radial-gradient(ellipse at 50% 42%, #070809 2%,transparent 90%); }
  .site-header { height: 80px; border-bottom: 1px solid rgba(255,255,255,.19); }
  .brand { gap: 13px; }
  .brand__icon { width: 28px; height: 32px; }
  .brand__icon > span { width: 19px; height: 19px; }
  .brand__icon > i { width: 28px; height: 8px; }
  .brand__name { font-size: 27px; }
  .menu-toggle { z-index: 11; display: grid; place-content: center; gap: 6px; width: 44px; height: 44px; margin-left: auto; padding: 0; background: transparent; border: 1px solid rgba(245,245,242,.5); cursor: pointer; }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: var(--fg); transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; z-index: 10; top: 72px; right: var(--gutter); left: var(--gutter); display: none; flex-direction: column; align-items: stretch; gap: 0; margin: 0; padding: 12px 20px; border: 1px solid rgba(245,245,242,.5); background: #0c0d0f; box-shadow: 0 20px 50px #000a; }
  .site-nav.is-open { display: flex; }
  .site-nav a { font-size: 20px; padding: 15px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .site-nav a:last-child { border-bottom: 0; }
  html:not(.navigation-ready) .header-shell { position: relative; }
  html:not(.navigation-ready) .site-header { height: auto; min-height: 80px; flex-wrap: wrap; padding-block: 18px; }
  html:not(.navigation-ready) .menu-toggle { display: none; }
  html:not(.navigation-ready) .site-nav { position: static; display: flex; flex: 1 0 100%; flex-direction: row; flex-wrap: wrap; gap: 0 24px; padding: 8px 0 0; border: 0; background: transparent; box-shadow: none; }
  html:not(.navigation-ready) .site-nav a { padding: 8px 0; border: 0; font-size: 17px; }
  html:not(.navigation-ready) .hero__center { padding-top: 44px; }
  .hero__body { display: flex; flex-direction: column; align-items: stretch; height: auto; margin-top: 0; }
  .hero__center { order: 0; padding: calc(var(--header-height) + 44px) 0 24px; }
  .hero__center h1 { font-size: clamp(65px, 14.6vw, 108px); margin-bottom: 26px; line-height: 1; transform: scaleX(.92); }
  .hero__center p { max-width: 460px; font-size: 20px; line-height: 1.33; }
  .hero__services { order: 2; gap: 10px; margin-top: 10px; }
  .hero-service { width: 100%; min-height: 80px; padding: 13px 35px 13px 17px; gap: 19px; font-size: 21px; }
  .hero-service::before, .hero-service::after { clip-path: polygon(0 0,calc(100% - 18px) 0,100% 50%,calc(100% - 18px) 100%,0 100%); }
  .hero-service__node { flex-basis: 24px; width: 24px; }
  .hero__actions { order: 1; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 0 0 24px; }
  .action { min-height: 64px; font-size: 21px; padding: 12px 20px; }
  .action--secondary { justify-content: flex-start; gap: 14px; min-height: 44px; padding: 8px 0; border: 0; background: transparent; font-size: 18px; }
  .action--secondary:hover { background: transparent; color: var(--fg); }
  .action::before { display: none; }
  .hero__foot { padding-top: 36px; padding-bottom: 22px; min-height: 0; font-size: 13px; letter-spacing: .04em; }
  .hero__foot > span:first-child { max-width: 210px; line-height: 1.5; }
  .competencies { height: 78px; }
  .competencies__group { gap: 28px; padding-right: 28px; }
  .competencies__group > span { gap: 20px; font-size: 26px; }
  .competencies__group > span::before { width: 9px; height: 9px; }
  .section { padding: 80px 0; }
  .section h2 { font-size: clamp(42px, 10.5vw, 72px); }
  .section-heading { margin-bottom: 57px; }
  .section-intro { font-size: 20px; margin-top: 25px; }
  .directions { padding-bottom: 0; }
  .service-item summary { min-height: 138px; grid-template-columns: minmax(0,1fr) 46px; gap: 12px; padding-top: 24px; padding-bottom: 24px; }
  .service-item__title { font-size: clamp(31px, 7.2vw, 48px); }
  .service-item__summary { display: none; }
  .service-item__toggle { width: 44px; height: 44px; font-size: 27px; }
  .service-item__details { display: block; padding-top: 0; padding-bottom: 34px; padding-left: var(--gutter); }
  .service-item__details p { font-size: 18px; }
  .tags { margin-top: 18px; }
  .tags span { font-size: 13px; }
  .company__statement { margin: 0 0 36px; font-size: 24px; }
  .company__principles { grid-template-columns: 1fr; }
  .company__principles article { display: grid; grid-template-columns: minmax(0, 1fr) 48px; gap: 10px 20px; padding: 0; }
  .company__principles p { grid-column: 1 / -1; }
  .company__principles article + article { border: 0; padding: 0; }
  .company__principles h3 { font-size: 21px; margin-bottom: 0; }
  .formats__grid { grid-template-columns: 1fr; }
  .formats h2, .approach h2 { font-size: clamp(36px, 8.5vw, 64px); }
  .format-card { grid-template-columns: 1fr; gap: 16px; padding: 28px 0; }
  .format-card h3 { margin: 0; font-size: 30px; }
  .format-card p { font-size: 18px; }
  .approach__steps { display: block; margin-left: 12px; border-left: 3px solid transparent; }
  .approach__steps::before { display: none; }
  .approach__steps::after {
    top: 0; bottom: 0; left: -3px; right: auto;
    width: 3px; height: auto;
    transform: scaleY(var(--route-progress)); transform-origin: center top;
  }
  .approach__steps li, .approach__steps li + li { min-height: 0; padding: 6px 0 53px 35px; border: 0; }
  .approach__steps li:last-child { padding-bottom: 0; }
  .approach__steps li::before, .approach__steps li + li::before { left: -15px; top: 0; }
  .approach__steps h3 { font-size: 29px; }
  .approach__steps p { font-size: 17px; }
  .contact h2 { font-size: clamp(40px, 9vw, 64px); }
  .contact__lead { margin: 20px 0 0; font-size: 18px; }
  .contact__email { font-size: clamp(30px, 7.7vw, 48px); }
  .requisites { grid-template-columns: repeat(2, minmax(0, 1fr)); font-size: 17px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-block: 42px; }
  .footer nav { justify-content: flex-start; gap: 14px 25px; }
}
@media (max-width: 380px) {
  .hero__center h1 { font-size: 14.2vw; }
  .hero__center p { font-size: 18px; }
  .hero__actions { grid-template-columns: 1fr; }
  .action { min-height: 59px; }
  .section h2 { font-size: 12vw; }
  .formats h2, .approach h2 { font-size: 11vw; }
  .service-item__title { font-size: 7vw; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .competencies__viewport { overflow-x: auto; mask-image: none; }
  .competencies__group[aria-hidden="true"] { display: none; }
  .approach__steps { --route-progress: 1 !important; }
}

/* Original DETABIT circuit artwork, supplied after the first build.
   The raster already contains the central wordmark and the three left labels.
   Desktop therefore uses transparent interactive hotspots rather than drawing duplicate text. */
@media (min-width: 1201px) {
  .hero__art {
    background: #000 url('./assets/hero-generated-v2.png') center / 100% 100% no-repeat;
  }
  .hero__art .circuit-art { display: none; }
  .hero__fade {
    background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 16%, transparent 83%, rgba(0,0,0,.48));
  }
  .hero__services {
    position: absolute;
    inset: 0;
    display: block;
    pointer-events: none;
  }
  .hero-service {
    position: absolute;
    left: -5%;
    width: 33%;
    min-height: 70px;
    height: 16%;
    padding: 0 18px 0 9%;
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
    transition: opacity .2s ease;
  }
  .hero-service:nth-child(1) { top: 5%; }
  .hero-service:nth-child(2) { top: 37%; }
  .hero-service:nth-child(3) { top: 71%; }
  .hero-service:hover, .hero-service:focus-visible { opacity: 1; }
  .hero-service::before, .hero-service::after { display: none; }
  .hero__center { position: absolute; width: 1px; height: 1px; overflow: hidden; padding: 0; clip-path: inset(50%); white-space: nowrap; }
  .hero__actions {
    position: absolute;
    right: 2.5%;
    top: 26%;
    width: clamp(258px, 22vw, 338px);
    padding: 0;
    gap: clamp(20px, 4vh, 35px);
  }
  .hero__actions .action { min-height: clamp(76px, 9vh, 91px); }
  .hero__foot { text-shadow: 0 1px 6px #000; }
}
