:root {
  --bg: #090b0f;
  --bg-soft: #11141a;
  --light: #f2f0e9;
  --paper: #e8e5dc;
  --ink: #0d1015;
  --muted: #a6a8ad;
  --accent: #d9364f;
  --line: rgba(255,255,255,.16);
  --line-dark: rgba(13,16,21,.18);
  --radius: 28px;
  --container: min(1560px, calc(100vw - 64px));
  --ease: cubic-bezier(.2,.75,.25,1);
  --header-h: 82px;
}

* { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; background: var(--bg); overflow-x: clip; }
body { margin: 0; width: 100%; max-width: 100%; min-width: 320px; background: var(--bg); color: var(--light); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.45; overflow-x: clip; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--ink); }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 9999; background: var(--accent); color: var(--ink); padding: 12px 18px; border-radius: 999px; transition: top .2s; }
.skip-link:focus { top: 16px; }

.container { width: var(--container); max-width: 100%; margin-inline: auto; }
.container > *, main, section, header, footer { min-width: 0; }
.section { position: relative; padding: clamp(90px, 10vw, 180px) 0; overflow: clip; }
.section-index { margin: 0; font-size: 12px; letter-spacing: .13em; text-transform: uppercase; font-weight: 700; }

.noise { position: fixed; inset: 0; z-index: 1000; opacity: .03; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.preloader { position: fixed; inset: 0; z-index: 3000; display: grid; place-items: center; align-content: center; gap: 22px; background: var(--bg); transition: opacity .65s var(--ease), visibility .65s; animation: preloaderFailsafe .65s var(--ease) 3.2s forwards; }
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__mark { width: 84px; height: 84px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; animation: preloaderSpin 1.6s var(--ease) infinite; }
.preloader__mark span { width: 46px; height: 46px; background: var(--light); -webkit-mask: url('/assets/a-team-logo.png') center / contain no-repeat; mask: url('/assets/a-team-logo.png') center / contain no-repeat; }
.preloader__line { width: 180px; height: 2px; overflow: hidden; background: rgba(255,255,255,.1); }
.preloader__line span { display: block; width: 100%; height: 100%; background: var(--accent); transform: translateX(-100%); animation: loadingLine 1.25s var(--ease) forwards; }
.preloader p { margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
@keyframes preloaderSpin { 50% { transform: rotate(180deg) scale(.92); border-radius: 24%; } 100% { transform: rotate(360deg); } }
@keyframes loadingLine { to { transform: translateX(0); } }
@keyframes preloaderFailsafe { to { opacity: 0; visibility: hidden; pointer-events: none; } }

.cursor { position: fixed; left: 0; top: 0; width: 16px; height: 16px; border: 1px solid rgba(255,255,255,.82); border-radius: 50%; z-index: 2500; pointer-events: none; mix-blend-mode: normal; transform: translate3d(-100px,-100px,0); transition: width .25s, height .25s, border-color .25s; }
.cursor span { position: absolute; inset: 4px; border-radius: 50%; background: #fff; }
.cursor.is-active { width: 54px; height: 54px; border-color: #fff; }
.cursor.is-active span { inset: 20px; }

.site-header { position: fixed; inset: 0 0 auto; height: var(--header-h); z-index: 1500; display: flex; align-items: center; justify-content: space-between; padding: 0 max(32px, calc((100vw - 1560px)/2)); color: #fff; mix-blend-mode: normal; transition: transform .4s var(--ease), color .25s var(--ease); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-on-light { color: var(--ink); }
.menu-open .site-header { color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { width: 33px; height: 33px; flex: 0 0 auto; background: currentColor; -webkit-mask: url('/assets/a-team-logo.png') center / contain no-repeat; mask: url('/assets/a-team-logo.png') center / contain no-repeat; }
.menu-toggle { position: relative; border: 0; background: transparent; display: inline-flex; gap: 12px; align-items: center; padding: 8px 0; cursor: pointer; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.menu-toggle__label { min-width: 48px; text-align: right; }
.menu-toggle__icon { position: relative; width: 30px; height: 30px; display: block; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; transition: border-color .3s, background .3s; }
.menu-toggle__icon i { position: absolute; left: 6px; right: 6px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transform-origin: 50% 50%; transition: transform .42s var(--ease); }
.menu-toggle__icon i:first-child { transform: translateY(-4px); }
.menu-toggle__icon i:last-child { transform: translateY(4px); }
.site-header.is-on-light .menu-toggle__icon { border-color: rgba(13,16,21,.3); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon { border-color: rgba(255,255,255,.5); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon i:last-child { transform: rotate(-45deg); }

.menu-panel { position: fixed; inset: 0; z-index: 1400; height: 100dvh; max-height: 100dvh; background: var(--accent); color: #fff; padding: calc(var(--header-h) + 45px) max(32px, calc((100vw - 1560px)/2)) 30px; transform: translateY(-105%); transition: transform .75s var(--ease); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; }
.menu-panel.is-open { transform: translateY(0); }
.menu-panel__grid { height: calc(100% - 70px); display: grid; grid-template-columns: 1.7fr .7fr; align-items: end; gap: 80px; }
.menu-panel__nav { display: flex; flex-direction: column; }
:is(.menu-panel__nav > a, .menu-panel__service-line > a) { display: grid; grid-template-columns: 54px 1fr; align-items: baseline; border-bottom: 1px solid rgba(255,255,255,.3); padding: 6px 0 10px; overflow: hidden; }
.menu-panel__nav em { font-size: 11px; font-style: normal; }
.menu-panel__nav span { font-size: clamp(48px, 7.5vw, 120px); font-weight: 800; line-height: .9; letter-spacing: -.065em; transition: transform .35s var(--ease); }
:is(.menu-panel__nav > a, .menu-panel__service-line > a):hover span { transform: translateX(18px); }
.menu-panel__aside { align-self: end; display: grid; gap: 30px; padding-bottom: 16px; }
.menu-panel__aside div { border-top: 1px solid rgba(255,255,255,.28); padding-top: 10px; }
.menu-panel__aside small { display: block; text-transform: uppercase; font-size: 10px; letter-spacing: .13em; margin-bottom: 9px; }
.menu-panel__aside a, .menu-panel__aside p { font-size: 17px; margin: 0; }
.menu-panel__ticker { position: absolute; left: 0; bottom: 0; width: max-content; display: flex; font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.04em; animation: ticker 17s linear infinite; opacity: .18; white-space: nowrap; }
@keyframes ticker { to { transform: translateX(-50%); } }

.hero { min-height: 100svh; padding-top: var(--header-h); background: radial-gradient(circle at 70% 42%, #1b2028 0, var(--bg) 36%, #07090c 70%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: var(--header-h) 0 0; z-index: -1; background: linear-gradient(90deg, transparent 49.95%, rgba(255,255,255,.06) 50%, transparent 50.05%), linear-gradient(0deg, transparent 49.95%, rgba(255,255,255,.04) 50%, transparent 50.05%); background-size: 100% 100%, 100% 100%; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: .96; }
.hero__grid { min-height: calc(100svh - var(--header-h)); position: relative; display: grid; grid-template-rows: auto 1fr auto; padding: 40px 0 66px; }
.hero .eyebrow { color: var(--muted); text-transform: uppercase; font-size: 11px; letter-spacing: .15em; }
.hero__title { align-self: center; margin: 0; display: flex; flex-direction: column; font-size: clamp(55px, 10.7vw, 180px); line-height: .78; letter-spacing: -.078em; font-weight: 800; text-transform: uppercase; }
.hero__line { display: block; overflow: hidden; }
.hero__line--offset { padding-left: 13vw; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); }
.hero__line .char { display: inline-block; transform: translateY(115%); animation: heroChar 1.1s var(--ease) forwards; animation-delay: calc(.36s + var(--i) * 22ms); }
@keyframes heroChar { to { transform: translateY(0); } }
.hero__bottom { align-self: end; display: flex; align-items: end; justify-content: space-between; gap: 40px; padding-left: 50%; }
.hero__bottom p { max-width: 480px; margin: 0; color: #c8c9cc; font-size: clamp(15px, 1.25vw, 20px); }
.round-link { flex: 0 0 auto; width: 122px; height: 122px; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; display: grid; place-items: center; text-transform: uppercase; font-size: 10px; letter-spacing: .1em; position: relative; transition: background .35s, color .35s; }
.round-link svg { position: absolute; width: 22px; height: 22px; right: 13px; top: 11px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.round-link:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero__rail { position: absolute; right: 20px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; display: flex; gap: 12px; align-items: center; color: rgba(255,255,255,.4); font-size: 9px; letter-spacing: .13em; }
.hero__rail i { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
.scroll-hint { position: absolute; left: 22px; bottom: 40px; transform: rotate(-90deg); transform-origin: left bottom; display: flex; gap: 10px; align-items: center; font-size: 9px; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); }
.scroll-hint span { width: 38px; height: 1px; background: currentColor; overflow: hidden; }
.scroll-hint span::after { content:""; display:block; width:50%; height:100%; background:#fff; animation:scrollLine 1.8s infinite; }
@keyframes scrollLine { from { transform: translateX(-100%); } to { transform: translateX(200%); } }

.reveal { opacity: 0; transform: translateY(48px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.intro { background: var(--paper); color: var(--ink); padding-bottom: 70px; }
.intro__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; }
.intro__lead { margin: 0; max-width: 1120px; font-size: clamp(40px, 6.3vw, 104px); font-weight: 700; line-height: .97; letter-spacing: -.06em; }
.intro__copy { margin-top: 64px; margin-left: 51%; max-width: 540px; }
.intro__copy p { font-size: clamp(17px, 1.5vw, 23px); margin: 0 0 32px; }
.text-link { display: inline-flex; align-items: center; gap: 28px; border-bottom: 1px solid currentColor; padding: 0 0 8px; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.text-link span { font-size: 18px; transition: transform .25s; }
.text-link:hover span { transform: translate(4px,-4px); }
.word-marquee { width: max-content; display: flex; margin-top: 130px; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); padding: 18px 0 11px; animation: marquee 22s linear infinite; }
.word-marquee div { display: flex; align-items: center; gap: 24px; padding-right: 24px; white-space: nowrap; }
.word-marquee span { font-size: clamp(58px, 9vw, 138px); font-weight: 800; line-height: .82; letter-spacing: -.07em; }
.word-marquee i { font-style: normal; font-size: 38px; }
@keyframes marquee { to { transform: translateX(-50%); } }

.projects { background: var(--bg); color: var(--light); }
.section-head { position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr); gap: 80px; align-items: end; margin-bottom: 82px; padding-top: clamp(118px, 9vw, 154px); }
.section-head > div { grid-column: 1; grid-row: 1; min-width: 0; }
.section-head > p { grid-column: 2; grid-row: 1; }
.section-head > :not(.section-head__wave) { position: relative; z-index: 1; }
.section-head__wave { position: absolute; z-index: 0; top: 0; left: 0; display: block; width: clamp(230px, 20vw, 340px); height: clamp(104px, 8.5vw, 142px); opacity: .92; pointer-events: none; }
.section-head h2 { margin: 28px 0 0; font-size: clamp(52px, 6.7vw, 110px); line-height: .88; letter-spacing: -.065em; font-weight: 750; }
.section-head > p { margin: 0; color: var(--muted); max-width: 440px; font-size: 18px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 38px; }
.filters button { border: 1px solid var(--line); border-radius: 999px; padding: 11px 18px; background: transparent; cursor: pointer; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; transition: background .25s, color .25s, border-color .25s; }
.filters button.is-active, .filters button:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.filters sup { font-size: 8px; margin-left: 4px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 92px 28px; }
.project-card--wide { grid-column: 1 / -1; }
.project-card.is-hidden { display: none; }
.project-card { transition: opacity .28s var(--ease), transform .4s var(--ease); }
.project-grid.is-filtering .project-card:not(.is-hidden) { opacity: 0; transform: translateY(16px) scale(.985); }
.project-card a { display: block; }
.project-card__visual { overflow: hidden; border-radius: var(--radius); transform-style: preserve-3d; will-change: transform; transition: transform .22s var(--ease), box-shadow .38s var(--ease); }
.project-card__visual img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; transition: transform .8s var(--ease); }
.project-card--wide .project-card__visual img { aspect-ratio: 16 / 8.5; }
.project-card:hover .project-card__visual { box-shadow: 0 24px 70px rgba(0,0,0,.3); }
.project-card:hover img { transform: scale(1.035); }
.project-card__meta { display: flex; justify-content: space-between; gap: 30px; align-items: start; padding-top: 20px; }
.project-card__meta h3 { margin: 0 0 6px; font-size: clamp(26px, 2.5vw, 42px); letter-spacing: -.04em; }
.project-card__meta p { margin: 0; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.project-card__meta > span { font-size: 12px; border: 1px solid var(--line); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }
.section-cta { display: flex; justify-content: center; margin-top: 90px; }
.pill-link { width: min(100%, 330px); min-width: 0; border: 1px solid var(--line); border-radius: 999px; padding: 20px 26px; display: flex; justify-content: space-between; align-items: center; gap: 24px; text-transform: uppercase; letter-spacing: .1em; font-size: 13px; font-weight: 700; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--ease); }
.pill-link span { color: var(--muted); font-size: 11px; font-weight: 600; }
.pill-link:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.pill-link:hover span { color: var(--ink); }

.services { background: var(--accent); color: #fff; }
.section-head--dark > p { color: rgba(255,255,255,.78); }
.service-list { border-top: 1px solid rgba(255,255,255,.3); }
.service-row { position: relative; display: grid; grid-template-columns: 90px 1.7fr 1fr 60px; gap: 30px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); min-height: 150px; padding: 24px 0; cursor: default; transition: padding .35s var(--ease), background .35s; }
.service-row::before { content:""; position:absolute; inset:0 calc(50% - 50vw); z-index:-1; background:var(--ink); transform:scaleY(0); transform-origin:bottom; transition:transform .35s var(--ease); }
.service-row:hover { color: var(--light); padding-left: 18px; padding-right: 18px; }
.service-row:hover::before { transform: scaleY(1); }
.service-row__index { font-size: 11px; }
.service-row h3 { margin: 0; font-size: clamp(30px, 4vw, 64px); line-height: .95; letter-spacing: -.055em; }
.service-row p { margin: 0; font-size: 16px; opacity: .7; max-width: 340px; }
.service-row > span { justify-self: end; font-size: 30px; }
.services .pill-link { color: #fff; border-color: rgba(255,255,255,.72); background: rgba(13,16,21,.08); }
.services .pill-link span { color: #fff; opacity: .8; }
.services .pill-link:hover { color: var(--accent); border-color: #fff; background: #fff; }
.services .pill-link:hover span { color: var(--accent); opacity: 1; }

.about { background: var(--paper); color: var(--ink); }
.about__grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 8vw; }
.about__sticky { align-self: start; position: sticky; top: 120px; }
.about__orb { width: min(28vw, 370px); aspect-ratio: 1; margin-top: 70px; border-radius: 50%; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 34% 28%, #fff, #c5c0b4 23%, #737069 70%, #333 100%); box-shadow: inset -26px -34px 60px rgba(0,0,0,.24), 0 40px 100px rgba(20,22,26,.2); transform-style: preserve-3d; animation: orbFloat 5s ease-in-out infinite; }
.about__orb span { font-size: clamp(80px, 13vw, 180px); font-weight: 800; color: rgba(13,16,21,.85); transform: translateZ(50px); }
.about__orb i { position: absolute; inset: 10%; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; transform: rotateX(65deg); }
.about__orb i:nth-child(3) { transform: rotateY(65deg); }
.about__orb i:nth-child(4) { transform: rotateX(45deg) rotateY(45deg); }
@keyframes orbFloat { 50% { transform: translateY(-15px) rotate(3deg); } }
.about__content h2 { margin: 0; font-size: clamp(54px, 7.2vw, 116px); line-height: .88; letter-spacing: -.07em; }
.about__lead { font-size: clamp(24px, 2.8vw, 43px); line-height: 1.12; letter-spacing: -.035em; max-width: 950px; margin: 70px 0; }
.facts { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.fact { min-height: 230px; padding: 34px 20px 24px 0; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line-dark); }
.fact:last-child { border-right: 0; padding-left: 24px; }
.fact:nth-child(2) { padding-left: 24px; }
.fact strong { font-size: clamp(70px, 8vw, 120px); line-height: .8; letter-spacing: -.08em; }
.fact strong::after { content:"+"; font-size: .35em; margin-left: 4px; vertical-align: top; }
.fact span { text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.about__note { margin: 72px 0 0 34%; max-width: 540px; }
.about__note p { font-size: 20px; margin: 0 0 34px; }

.process { background: var(--bg); }
.process-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.process-list li { min-height: 200px; display: grid; grid-template-columns: 90px 1fr 140px; gap: 34px; align-items: center; border-bottom: 1px solid var(--line); position: relative; }
.process-list li > span { font-size: 11px; color: var(--muted); }
.process-list h3 { margin: 0 0 10px; font-size: clamp(38px, 5vw, 78px); line-height: .92; letter-spacing: -.055em; }
.process-list p { margin: 0; color: var(--muted); max-width: 590px; font-size: 17px; }
.process-list i { justify-self: end; width: 90px; height: 90px; border: 1px solid var(--line); border-radius: 50%; position: relative; transition: transform .5s var(--ease), background .3s; }
.process-list i::before, .process-list i::after { content:""; position:absolute; left:50%; top:50%; width:32px; height:1px; background:var(--light); transform:translate(-50%,-50%); }
.process-list i::after { transform:translate(-50%,-50%) rotate(90deg); }
.process-list li:hover i { transform: rotate(135deg); background: var(--accent); }
.process-list li:hover i::before, .process-list li:hover i::after { background: var(--ink); }

.reviews { background: var(--paper); color: var(--ink); }
.reviews__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9vw; }
.reviews h2 { margin: 35px 0 0; font-size: clamp(50px, 6.5vw, 102px); line-height: .9; letter-spacing: -.065em; }
.review-stack { display: grid; gap: 24px; }
.review-card { margin: 0; min-height: 330px; padding: 38px; border: 1px solid var(--line-dark); border-radius: var(--radius); display: flex; flex-direction: column; justify-content: space-between; }
.review-card:nth-child(2) { background: var(--ink); color: var(--light); border-color: var(--ink); margin-left: 10%; }
.review-card > p { margin: 0; font-size: clamp(23px, 2.25vw, 35px); line-height: 1.16; letter-spacing: -.025em; }
.review-card footer { display: flex; flex-direction: column; gap: 4px; }
.review-card footer strong { font-size: 15px; }
.review-card footer span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; opacity: .55; }

.contact { background: #090b0f; min-height: 100svh; display: flex; align-items: center; }
.contact__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .42; }
.contact__inner { position: relative; z-index: 2; }
.contact__title { margin: 30px 0 85px; font-size: clamp(56px, 9.5vw, 154px); line-height: .8; letter-spacing: -.075em; }
.contact__title span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.65); }
.contact__grid { display: grid; grid-template-columns: 1.5fr .7fr; gap: 11vw; }
.contact-form { display: grid; gap: 26px; }
.contact-form label:not(.check) { display: grid; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 9px; }
.contact-form label > span { text-transform: uppercase; font-size: 9px; letter-spacing: .13em; color: var(--muted); }
.contact-form input, .contact-form textarea { width: 100%; border: 0; background: transparent; color: var(--light); outline: none; resize: vertical; padding: 4px 0 9px; font-size: clamp(19px, 2vw, 30px); }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.28); }
.contact-form label:focus-within { border-color: var(--accent); }
.contact-form .check { display: flex; gap: 11px; align-items: center; min-height: 24px; }
.contact-form .check input { appearance: none; width: 18px; height: 18px; min-width: 18px; flex: 0 0 18px; align-self: center; border: 1px solid var(--line); border-radius: 4px; margin: 0; padding: 0; display: grid; place-items: center; cursor: pointer; }
.contact-form .check > span { display: block; line-height: 1.4; }
.contact-form .check input:checked { background: var(--accent); border-color: var(--accent); }
.contact-form .check input:checked::after { content:"✓"; color: #fff; font-size: 12px; line-height: 1; font-weight: 800; }
.submit-button { justify-self: start; min-width: 260px; border: 0; border-radius: 999px; background: var(--accent); color: var(--ink); padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; text-transform: uppercase; font-size: 11px; letter-spacing: .12em; }
.submit-button i { font-style: normal; font-size: 22px; }
.form-status { min-height: 22px; margin: 0; color: #fff; }
.form-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.submit-button:disabled { cursor: wait; opacity: .62; }
.contact__aside { display: grid; align-content: start; gap: 34px; }
.contact__aside div { border-top: 1px solid var(--line); padding-top: 12px; }
.contact__aside small { display: block; text-transform: uppercase; font-size: 9px; letter-spacing: .13em; color: var(--muted); margin-bottom: 10px; }
.contact__aside a, .contact__aside p { font-size: 20px; margin: 0; }

.footer { background: var(--accent); color: #fff; padding: 42px 0 26px; }
.footer__top { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); padding-bottom: 32px; }
.footer__brand { font-size: clamp(25px, 2.2vw, 34px); font-weight: 800; line-height: 1; letter-spacing: -.05em; }
.back-top { width: 74px; height: 74px; border: 1px solid rgba(255,255,255,.42); border-radius: 50%; display: grid; place-items: center; text-transform: uppercase; font-size: 10px; letter-spacing: .12em; }
.footer__bottom { display: grid; grid-template-columns: 1fr 1fr auto; gap: 24px; padding-top: 22px; font-size: 10px; text-transform: uppercase; letter-spacing: .09em; }

.magnetic { will-change: transform; }

@media (max-width: 1100px) {
  :root { --container: min(100% - 40px, 1560px); }
  .hero__bottom { padding-left: 35%; }
  .section-head { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .about__grid { grid-template-columns: .8fr 2fr; gap: 50px; }
  .service-row { grid-template-columns: 60px 1.5fr .9fr 40px; }
}

@media (max-width: 820px) {
  :root { --container: calc(100% - 28px); --header-h: 68px; --radius: 18px; }
  .site-header { padding-inline: 14px; }
  .brand svg { width: 122px; }
  .cursor { display: none; }
  .menu-panel { padding: calc(var(--header-h) + 28px) 18px 24px; }
  .menu-panel__grid { grid-template-columns: 1fr; align-content: end; height: calc(100% - 38px); gap: 28px; }
  .menu-panel__nav span { font-size: clamp(43px, 14vw, 72px); }
  .menu-panel__aside { grid-template-columns: 1fr 1fr; gap: 16px; }
  .menu-panel__aside div:last-child { display: none; }
  .menu-panel__ticker { font-size: 26px; }
  .hero__grid { padding: 22px 0 36px; }
  .hero__title { font-size: clamp(49px, 16.5vw, 100px); line-height: .82; }
  .hero__line--offset { padding-left: 4vw; }
  .hero__bottom { padding-left: 0; flex-direction: column; align-items: start; gap: 30px; }
  .hero__bottom p { max-width: 380px; font-size: 15px; }
  .round-link { width: 92px; height: 92px; }
  .hero__rail, .scroll-hint { display: none; }
  .intro__grid, .section-head, .about__grid, .reviews__grid, .contact__grid { grid-template-columns: 1fr; }
  .intro__grid { gap: 46px; }
  .intro__copy { margin-left: 0; margin-top: 42px; }
  .word-marquee { margin-top: 80px; }
  .section-head { gap: 28px; margin-bottom: 54px; padding-top: 112px; }
  .section-head > div, .section-head > p { grid-column: 1; grid-row: auto; }
  .section-head__wave { width: min(70vw, 280px); height: 96px; }
  .section-head > p { font-size: 16px; }
  .project-grid { grid-template-columns: 1fr; gap: 58px; }
  .project-card--wide { grid-column: auto; }
  .project-card--wide .project-card__visual img, .project-card__visual img { aspect-ratio: 1 / .84; }
  .service-row { grid-template-columns: 36px 1fr 26px; min-height: 126px; gap: 14px; }
  .service-row p { grid-column: 2 / 4; font-size: 14px; margin-top: -10px; }
  .service-row > span { grid-column: 3; grid-row: 1; }
  .about__sticky { position: static; }
  .about__orb { width: 68vw; max-width: 330px; margin: 36px auto 56px; }
  .about__lead { margin: 48px 0; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(2), .fact:last-child { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line-dark); padding: 22px 0; flex-direction: row; align-items: end; }
  .fact:last-child { border-bottom: 0; }
  .about__note { margin-left: 0; }
  .process-list li { grid-template-columns: 38px 1fr 60px; min-height: 165px; gap: 16px; }
  .process-list i { width: 52px; height: 52px; }
  .process-list i::before, .process-list i::after { width: 20px; }
  .review-card:nth-child(2) { margin-left: 0; }
  .contact__title { margin-bottom: 55px; }
  .contact__grid { gap: 70px; }
  .footer__top { align-items: center; }
  .back-top { width: 72px; height: 72px; }
  .footer__bottom { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .section { padding: 76px 0; }
  .section-head { gap: 24px; padding-top: 96px; }
  .section-head__wave { width: min(72vw, 232px); height: 82px; }
  .section-head h2 { margin-top: 20px; font-size: clamp(40px, 12.5vw, 58px); line-height: .92; letter-spacing: -.055em; }
  .hero__title { font-size: clamp(46px, 15.9vw, 78px); }
  .hero__canvas { opacity: .72; }
  .hero .eyebrow { max-width: 220px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .project-card__meta > span { display: none; }
  .service-row h3 { font-size: 30px; }
  .process-list li { grid-template-columns: 30px 1fr; padding: 28px 0; }
  .process-list i { display: none; }
  .review-card { min-height: 290px; padding: 24px; }
  .contact-form input, .contact-form textarea { font-size: 18px; }
  .footer__brand { font-size: 18vw; }
  .back-top { width: 62px; height: 62px; }
}

@media (pointer: coarse) {
  .cursor { display: none; }
  .magnetic { transform: none !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__line .char { transform: none; }
  .hero__canvas, .contact__canvas, .inner-cta__canvas { display: none; }
  .section-head { padding-top: 0; }
  .section-head__wave { display: none; }
}
.brand__name { display: block; font-size: 19px; line-height: 1; font-weight: 800; letter-spacing: -.055em; white-space: nowrap; }
@media (max-width: 820px) { .brand__name { font-size: 17px; } }


/* Multi-page architecture */
body.inner-page { background: var(--bg); }
.menu-panel__nav a[aria-current="page"] span::after { content: "•"; margin-left: .12em; font-size: .42em; vertical-align: middle; }
.menu-panel__services { display: grid; gap: 7px; }
.menu-panel__services small { margin-bottom: 4px; }
.menu-panel__services a { font-size: 12px; line-height: 1.2; text-transform: uppercase; letter-spacing: .08em; opacity: .72; transition: opacity .2s, transform .2s; }
.menu-panel__services a:hover { opacity: 1; transform: translateX(5px); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 12px 30px; padding: 24px 0 0; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.footer__nav a:last-child { margin-left: auto; }
.service-row { cursor: pointer; }
.service-row:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.page-hero { position: relative; min-height: min(920px, 100svh); padding-top: var(--header-h); overflow: hidden; isolation: isolate; background: radial-gradient(circle at 72% 45%, #291219 0, #111218 35%, #080a0d 72%); }
.page-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .8; }
.page-hero__inner { position: relative; z-index: 3; min-height: calc(min(920px, 100svh) - var(--header-h)); padding: 35px 0 44px; display: grid; grid-template-rows: auto 1fr auto; }
.page-hero__crumb { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.breadcrumbs { min-width: 0; max-width: min(820px, 72vw); color: var(--muted); font-size: 11px; line-height: 1.45; letter-spacing: .09em; text-transform: uppercase; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; min-width: 0; align-items: baseline; gap: 8px; }
.breadcrumbs li + li::before { content: "/"; flex: 0 0 auto; color: rgba(255,255,255,.38); }
.breadcrumbs a { transition: color .2s var(--ease); }
.breadcrumbs a:hover { color: var(--light); }
.breadcrumbs [aria-current="page"] { color: rgba(255,255,255,.84); white-space: normal; overflow-wrap: break-word; word-break: normal; hyphens: none; }
.page-hero__location { flex: 0 0 auto; }
.policy-hero .breadcrumbs { margin-bottom: clamp(26px, 4vw, 54px); }

.menu-panel__services summary > a,
.service-directory__subgroup > summary > span > a {
  min-width: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  opacity: 1;
}

.service-directory__head h2 a {
  transition: opacity .2s var(--ease);
}

.service-directory__head h2 a:hover,
.service-directory__subgroup > summary > span > a:hover {
  opacity: .68;
}

.category-directory {
  background: var(--accent);
  color: #fff;
}

.category-directory__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.category-directory__card {
  min-width: 0;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}

.category-directory__card:hover,
.category-directory__card:focus-within {
  border-color: var(--light);
  background: var(--light);
  color: var(--ink);
}

.category-directory__card > a {
  min-height: 250px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 28px;
  grid-template-rows: 1fr auto;
  gap: 22px;
  align-items: start;
  padding: clamp(24px, 3.5vw, 48px);
  color: inherit;
}

.category-directory__card > a:hover {
  background: transparent;
  color: inherit;
}

.category-directory__card > a > span {
  font-size: 10px;
  letter-spacing: .12em;
}

.category-directory__card h2 {
  margin: 0;
  font-size: clamp(30px, 3.8vw, 58px);
  line-height: .96;
  letter-spacing: -.05em;
}

.category-directory__card > a > p {
  grid-column: 2;
  max-width: 540px;
  margin: 0;
  opacity: .72;
}

.category-directory__card > a > .arrow-icon {
  width: 26px;
  height: 26px;
}

.category-directory__services {
  display: grid;
  padding: 0 clamp(24px, 3.5vw, 48px) clamp(24px, 3.5vw, 42px) calc(clamp(24px, 3.5vw, 48px) + 60px);
}

.category-directory__services a {
  padding: 11px 0;
  border-top: 1px solid rgba(255,255,255,.23);
  font-size: 13px;
  line-height: 1.35;
  transition: padding-left .2s var(--ease), opacity .2s var(--ease);
}

.category-directory__services a:hover {
  padding-left: 8px;
  opacity: .72;
}

.category-directory__card:hover .category-directory__services a,
.category-directory__card:focus-within .category-directory__services a {
  border-top-color: rgba(13,16,21,.18);
}

.category-content {
  background: var(--light);
  color: var(--ink);
}

@media (max-width: 820px) {
  .category-directory__grid { grid-template-columns: 1fr; }
  .category-directory__card > a { min-height: 190px; grid-template-columns: 28px minmax(0, 1fr) 22px; gap: 14px; }
  .category-directory__card > a > .arrow-icon { width: 21px; height: 21px; }
  .category-directory__services { padding-left: calc(clamp(24px, 3.5vw, 48px) + 42px); }
}

@media (max-width: 520px) {
  .category-directory__card h2 { font-size: clamp(27px, 8.5vw, 38px); overflow-wrap: break-word; word-break: normal; }
  .category-directory__card > a { padding: 22px 18px; }
  .category-directory__services { padding: 0 18px 22px 60px; }
}
.page-hero__title { align-self: center; margin: 0; max-width: 1250px; font-size: clamp(58px, 10.2vw, 168px); line-height: .79; letter-spacing: -.075em; font-weight: 800; text-transform: uppercase; }
.page-hero__title > span { display: block; overflow: hidden; }
.page-hero__title > span:nth-child(2) { padding-left: 9vw; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.78); }
.page-hero__title .char { display: inline-block; transform: translateY(115%); animation: heroChar 1.1s var(--ease) forwards; animation-delay: calc(.3s + var(--i) * 18ms); }
.page-hero__bottom { display: flex; justify-content: flex-end; align-items: end; gap: 8vw; }
.page-hero__bottom p { width: min(480px, 100%); margin: 0; color: #c8c9cc; font-size: clamp(16px, 1.45vw, 22px); }
.page-hero__object { position: absolute; z-index: 2; right: 7vw; top: 19%; width: min(25vw, 350px); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; animation: objectFloat 7s ease-in-out infinite; pointer-events: none; opacity: .88; }
.object-core { width: 42%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 28%; background: linear-gradient(145deg, #f06476, #aa1832); box-shadow: inset 12px 12px 24px rgba(255,255,255,.2), inset -18px -20px 35px rgba(0,0,0,.32), 0 35px 90px rgba(217,54,79,.24); font-size: clamp(55px, 7vw, 105px); font-weight: 800; transform: rotate(-12deg) translateZ(36px); }
.page-hero__object i { position: absolute; inset: 7%; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; transform: rotateX(68deg); }
.page-hero__object i:nth-of-type(2) { transform: rotateY(68deg); }
.page-hero__object i:nth-of-type(3) { transform: rotateX(45deg) rotateY(45deg); border-color: rgba(217,54,79,.65); }
@keyframes objectFloat { 50% { transform: translateY(-18px) rotate(3deg); } }

.service-catalog { background: var(--accent); color: #fff; }
.catalog-services { border-top: 1px solid rgba(255,255,255,.3); }
.catalog-service { min-height: 180px; display: grid; grid-template-columns: 80px 1fr 60px; gap: 30px; align-items: center; border-bottom: 1px solid rgba(255,255,255,.3); position: relative; transition: padding .35s var(--ease), color .35s; }
.catalog-service::before { content:""; position:absolute; inset:0 calc(50% - 50vw); z-index:-1; background:var(--ink); transform:scaleY(0); transform-origin:bottom; transition:transform .35s var(--ease); }
.catalog-service:hover { color: var(--light); padding-inline: 18px; }
.catalog-service:hover::before { transform: scaleY(1); }
.catalog-service > span { align-self: start; padding-top: 48px; font-size: 11px; }
.catalog-service h2 { margin: 0 0 10px; font-size: clamp(36px, 5vw, 82px); line-height: .9; letter-spacing: -.06em; }
.catalog-service p { margin: 0; max-width: 600px; opacity: .68; }
.catalog-service > i { justify-self: end; font-size: 34px; font-style: normal; }
.capabilities { background: var(--paper); color: var(--ink); }
.capabilities__grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 9vw; }
.capabilities h2 { margin: 30px 0 0; font-size: clamp(46px, 6vw, 96px); line-height: .92; letter-spacing: -.06em; }
.capability-cards { display: grid; gap: 18px; }
.capability-cards article { min-height: 230px; border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 28px; display: grid; grid-template-columns: 50px 1fr; align-content: space-between; gap: 20px; }
.capability-cards article:nth-child(2) { margin-left: 8%; background: var(--ink); color: var(--light); border-color: var(--ink); }
.capability-cards span { font-size: 11px; }
.capability-cards h3 { grid-column: 2; margin: 0; font-size: clamp(32px, 4vw, 58px); letter-spacing: -.05em; }
.capability-cards p { grid-column: 2; margin: 0; max-width: 480px; opacity: .68; font-size: 17px; }

.portfolio-page { padding-top: clamp(90px, 10vw, 160px); }
.about-story { background: var(--paper); color: var(--ink); }
.about-story__grid { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; }
.about-story h2 { margin: 0; font-size: clamp(48px, 7vw, 112px); line-height: .9; letter-spacing: -.065em; }
.about-story__lead { margin: 64px 0; max-width: 900px; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.15; letter-spacing: -.035em; }
.principles { background: var(--bg); }
.principle-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.principle-grid article { min-height: 340px; padding: 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.principle-grid article:nth-child(2n) { border-right: 0; }
.principle-grid span { color: var(--muted); font-size: 11px; }
.principle-grid h3 { margin: auto 0 18px; font-size: clamp(46px, 6vw, 90px); line-height: .88; letter-spacing: -.06em; }
.principle-grid p { margin: 0; max-width: 500px; color: var(--muted); font-size: 17px; }

.contact-page { min-height: auto; }
.contact-page__head { margin-bottom: 72px; }
.office { background: var(--paper); color: var(--ink); }
.office__grid { display: grid; grid-template-columns: .8fr 1.5fr; gap: 8vw; }
.office h2 { margin: 32px 0 0; font-size: clamp(50px, 6.8vw, 106px); line-height: .9; letter-spacing: -.065em; }
.office__map { position: relative; min-height: 540px; border-radius: var(--radius); overflow: hidden; padding: 28px; display: flex; justify-content: space-between; align-items: flex-start; background: repeating-radial-gradient(circle at 50% 50%, transparent 0 41px, rgba(13,16,21,.12) 42px 43px), linear-gradient(135deg, #d6d0c5, #aaa49b); font-size: 10px; letter-spacing: .12em; }
.office__map::before, .office__map::after { content:""; position:absolute; background:rgba(13,16,21,.15); }
.office__map::before { width:1px; top:0; bottom:0; left:50%; }
.office__map::after { height:1px; left:0; right:0; top:50%; }
.office__pin { position:absolute; left:50%; top:50%; width:104px; height:104px; transform:translate(-50%,-50%); border-radius:50% 50% 50% 10%; rotate:-45deg; display:grid; place-items:center; background:var(--accent); color:var(--ink); font-size:54px; font-weight:800; box-shadow:0 22px 50px rgba(13,16,21,.2); }
.office__map--embed { padding: 0; background: #d8d5cd; }
.office__map--embed::before, .office__map--embed::after { display: none; }
.office__map--embed iframe { display: block; width: 100%; min-height: 540px; height: 100%; border: 0; }

.service-detail { background: var(--paper); color: var(--ink); }
.service-detail__intro { display: grid; grid-template-columns: 1fr 3fr; gap: 50px; margin-bottom: 110px; }
.service-detail__intro h2 { margin: 0; max-width: 1150px; font-size: clamp(46px, 6.5vw, 105px); line-height: .92; letter-spacing: -.062em; }
.service-detail__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 8vw; align-items: start; }
.service-detail__visual { position: sticky; top: 120px; min-height: 560px; border-radius: var(--radius); display:grid; place-items:center; overflow:hidden; background:radial-gradient(circle at 52% 43%, #ed6073 0, #a91a34 28%, #13151a 68%); }
.detail-shape { position:relative; width:65%; aspect-ratio:1; display:grid; place-items:center; transform-style:preserve-3d; animation:objectFloat 6s ease-in-out infinite; }
.detail-shape b { width:44%; aspect-ratio:1; display:grid; place-items:center; border-radius:28%; background:linear-gradient(145deg,#f7f3eb,#8d8b88); color:var(--ink); box-shadow:inset 13px 13px 22px rgba(255,255,255,.5), inset -17px -20px 30px rgba(0,0,0,.3), 0 34px 70px rgba(0,0,0,.3); font-size:clamp(64px,8vw,115px); transform:translateZ(50px) rotate(12deg); }
.detail-shape i { position:absolute; inset:4%; border:1px solid rgba(255,255,255,.55); border-radius:50%; transform:rotateX(65deg); }
.detail-shape i:nth-of-type(2) { transform:rotateY(65deg); }
.detail-shape i:nth-of-type(3) { transform:rotateX(45deg) rotateY(45deg); border-color:rgba(217,54,79,.8); }
.deliverables { list-style:none; margin:0; padding:0; border-top:1px solid var(--line-dark); }
.deliverables li { min-height:122px; display:grid; grid-template-columns:60px 1fr; gap:24px; align-items:center; border-bottom:1px solid var(--line-dark); }
.deliverables span { font-size:11px; opacity:.6; }
.deliverables p { margin:0; font-size:clamp(23px,2.5vw,39px); line-height:1.05; letter-spacing:-.035em; }
.technology { background: var(--bg-soft); }
.technology__grid { display:grid; grid-template-columns:1.2fr 1fr; gap:8vw; align-items:end; }
.technology h2 { margin:30px 0 0; font-size:clamp(48px,6vw,96px); line-height:.9; letter-spacing:-.06em; }
.technology__tags { display:flex; flex-wrap:wrap; gap:10px; justify-content:flex-end; }
.technology__tags span { border:1px solid var(--line); border-radius:999px; padding:14px 20px; text-transform:uppercase; letter-spacing:.1em; font-size:10px; }
.inner-cta { position:relative; min-height:780px; display:flex; align-items:center; background:var(--bg); isolation:isolate; overflow:hidden; }
.inner-cta__canvas { position:absolute; inset:0; width:100%; height:100%; z-index:0; opacity:.42; pointer-events:none; }
.inner-cta__inner { position:relative; z-index:2; }
.inner-cta h2 { margin:34px 0 80px; max-width:1250px; font-size:clamp(64px,10vw,158px); line-height:.8; letter-spacing:-.075em; text-transform:uppercase; }
.inner-cta__bottom { display:flex; justify-content:flex-end; align-items:center; gap:7vw; }
.inner-cta__bottom p { max-width:500px; margin:0; color:var(--muted); font-size:19px; }

@media (max-width: 1100px) {
  .page-hero__object { right: 3vw; opacity: .65; }
  .catalog-service { grid-template-columns: 55px 1fr 45px; }
  .service-detail__grid { grid-template-columns: .8fr 1.4fr; gap: 5vw; }
}
@media (max-width: 820px) {
  .menu-toggle__label { display:none; }
  .menu-panel__services { display:none; }
  .footer__nav { gap:12px 18px; }
  .footer__nav a:last-child { margin-left:0; width:100%; }
  .page-hero { min-height: 100svh; }
  .page-hero__inner { min-height: calc(100svh - var(--header-h)); padding-top:22px; }
  .page-hero__title { font-size:clamp(50px,15.8vw,92px); position:relative; z-index:2; }
  .page-hero__title > span:nth-child(2) { padding-left:4vw; }
  .page-hero__bottom { justify-content:space-between; gap:24px; }
  .page-hero__bottom p { font-size:15px; max-width:290px; }
  .page-hero__object { width:52vw; right:-9vw; top:28%; opacity:.46; }
  .capabilities__grid, .about-story__grid, .office__grid, .service-detail__intro, .service-detail__grid, .technology__grid { grid-template-columns:1fr; }
  .catalog-service { min-height:150px; grid-template-columns:34px 1fr 30px; gap:14px; }
  .catalog-service > span { padding-top:35px; }
  .catalog-service p { font-size:14px; }
  .capability-cards { margin-top:50px; }
  .capability-cards article:nth-child(2) { margin-left:0; }
  .principle-grid { grid-template-columns:1fr; }
  .principle-grid article, .principle-grid article:nth-child(2n) { border-right:0; }
  .office__map { min-height:380px; margin-top:45px; }
  .office__map--embed iframe { min-height: 380px; }
  .service-detail__intro { margin-bottom:65px; }
  .service-detail__visual { position:relative; top:auto; min-height:390px; }
  .technology__tags { justify-content:flex-start; margin-top:40px; }
  .inner-cta { min-height:650px; }
  .inner-cta__bottom { flex-direction:column; align-items:flex-start; gap:32px; }
}
@media (max-width: 520px) {
  .page-hero__location { display:none; }
  .page-hero__crumb { width: 100%; }
  .page-hero__crumb .breadcrumbs { width: 100%; max-width: 100%; font-size: 10px; line-height: 1.5; }
  .page-hero__bottom .round-link { display:none; }
  .page-hero__bottom p { max-width:100%; }
  .catalog-service { padding:20px 0; }
  .catalog-service h2 { font-size:33px; }
  .catalog-service p { display:none; }
  .principle-grid article { min-height:270px; padding:24px 0; }
  .office__pin { width:82px; height:82px; font-size:44px; }
  .deliverables li { grid-template-columns:38px 1fr; min-height:100px; gap:12px; }
  .inner-cta h2 { margin-bottom:55px; }
}

/* v1.2.0 — typography, arrows and compact project cards */
:is(
  .hero__title,
  .page-hero__title,
  .intro__lead,
  .section-head h2,
  .about__content h2,
  .about-story h2,
  .contact__title,
  .capabilities h2,
  .catalog-service h2,
  .office h2,
  .service-detail__intro h2,
  .technology h2,
  .inner-cta h2,
  .principle-grid h3
) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: balance;
}

[data-split] {
  min-width: 0;
  white-space: nowrap;
}

[data-split] .word {
  display: inline-block;
  white-space: nowrap;
}

.arrow-icon {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  transition: transform .28s var(--ease);
}

.arrow-icon--up-right {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5 19 19 5M9 5h10v10' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.arrow-icon--right {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4 12h16M14 6l6 6-6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.arrow-icon--down {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 4v16M6 14l6 6 6-6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.arrow-icon--up {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20V4M6 10l6-6 6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 20V4M6 10l6-6 6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.round-link__arrow {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
}

.round-link:hover .round-link__arrow,
.text-link:hover .arrow-icon,
.submit-button:hover .arrow-icon,
.catalog-service:hover > .arrow-icon,
.service-row:hover > .arrow-icon,
.project-card:hover .project-card__index .arrow-icon {
  transform: translate(3px, -3px);
}

.round-link:hover .arrow-icon--down {
  transform: translateY(4px);
}

.text-link {
  gap: 12px;
}

.text-link .arrow-icon {
  width: 18px;
  height: 18px;
}

.submit-button .arrow-icon {
  width: 20px;
  height: 20px;
}

.service-row > .arrow-icon {
  justify-self: end;
  width: 28px;
  height: 28px;
}

.catalog-service > .arrow-icon {
  justify-self: end;
  width: 30px;
  height: 30px;
}

.back-top {
  gap: 5px;
}

.back-top .arrow-icon {
  width: 15px;
  height: 15px;
}

.project-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2vw, 28px);
  row-gap: clamp(54px, 5vw, 76px);
}

.project-card {
  grid-column: span 4;
  min-width: 0;
}

.project-card--wide {
  grid-column: span 8;
}

.project-card:nth-child(5),
.project-card:nth-child(6) {
  grid-column: span 6;
}

.project-card__visual img {
  width: 100%;
  height: clamp(280px, 25vw, 390px);
  aspect-ratio: auto;
  object-fit: cover;
}

.project-card--wide .project-card__visual img {
  height: clamp(330px, 33vw, 500px);
  aspect-ratio: auto;
}

.project-card:nth-child(5) .project-card__visual img,
.project-card:nth-child(6) .project-card__visual img {
  height: clamp(300px, 29vw, 430px);
}

.project-card__meta {
  padding-top: 16px;
}

.project-card__index {
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex: 0 0 48px;
  aspect-ratio: 1;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 10px;
  line-height: 1;
}

.project-card__index .arrow-icon {
  width: 12px;
  height: 12px;
}

@media (max-width: 1100px) {
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 58px;
  }

  .project-card,
  .project-card:nth-child(5),
  .project-card:nth-child(6) {
    grid-column: span 1;
  }

  .project-card--wide {
    grid-column: 1 / -1;
  }

  .project-card__visual img,
  .project-card:nth-child(5) .project-card__visual img,
  .project-card:nth-child(6) .project-card__visual img {
    height: clamp(280px, 39vw, 420px);
  }

  .project-card--wide .project-card__visual img {
    height: clamp(330px, 48vw, 510px);
  }
}

@media (max-width: 820px) {
  .project-grid {
    grid-template-columns: 1fr;
    row-gap: 42px;
  }

  .project-card,
  .project-card--wide,
  .project-card:nth-child(5),
  .project-card:nth-child(6) {
    grid-column: 1;
    width: 94%;
  }

  .project-card:nth-child(even) {
    margin-left: auto;
  }

  .project-card__visual img,
  .project-card--wide .project-card__visual img,
  .project-card:nth-child(5) .project-card__visual img,
  .project-card:nth-child(6) .project-card__visual img {
    height: clamp(220px, 47vw, 330px);
    aspect-ratio: auto;
  }

  .project-card__meta h3 {
    font-size: clamp(24px, 5.5vw, 34px);
  }

  .round-link__arrow {
    top: 12px;
    right: 12px;
    width: 17px;
    height: 17px;
  }
}

@media (max-width: 520px) {
  .project-card,
  .project-card--wide,
  .project-card:nth-child(5),
  .project-card:nth-child(6) {
    width: 92%;
  }

  .project-card__visual img,
  .project-card--wide .project-card__visual img,
  .project-card:nth-child(5) .project-card__visual img,
  .project-card:nth-child(6) .project-card__visual img {
    height: clamp(190px, 56vw, 245px);
  }

  .project-card__meta {
    padding-top: 13px;
  }

  .project-card__meta h3 {
    margin-bottom: 4px;
  }

  .project-card__index {
    display: inline-flex;
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-basis: 40px;
  }

  .service-row > .arrow-icon {
    width: 23px;
    height: 23px;
  }
}

.back-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.round-link:hover .arrow-icon--right {
  transform: translateX(4px);
}

.back-top:hover .arrow-icon--up {
  transform: translateY(-3px);
}

/* v1.3.0 — фирменный знак, портфолио, документы и устойчивый адаптив */
.menu-panel__socials p { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.menu-panel__socials a { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }

.footer__brand { display: inline-flex; align-items: center; gap: 9px; }
.footer__brand-mark { width: 31px; height: 31px; flex: 0 0 auto; background: currentColor; -webkit-mask: url('/assets/a-team-logo.png') center / contain no-repeat; mask: url('/assets/a-team-logo.png') center / contain no-repeat; }

.project-slider__controls { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 24px; }
.project-slider__controls > p { max-width: 560px; margin: 0; color: var(--muted); font-size: 14px; }
.project-slider__controls > div { display: flex; gap: 8px; }
.project-slider__controls button { width: 52px; height: 52px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--light); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.project-slider__controls button:hover { background: var(--light); color: var(--ink); border-color: var(--light); }
.arrow-icon--left { -webkit-mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 12H4m6-6-6 6 6 6' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.project-grid.project-slider { display: flex; grid-template-columns: none; gap: clamp(16px, 2vw, 28px); width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-inline: contain; scroll-snap-type: inline mandatory; scrollbar-width: thin; scrollbar-color: rgba(242,240,233,.35) transparent; padding: 0 0 22px; }
.project-grid.project-slider .project-card,
.project-grid.project-slider .project-card:nth-child(5),
.project-grid.project-slider .project-card:nth-child(6) { flex: 0 0 clamp(300px, 34vw, 520px); width: auto; margin: 0; scroll-snap-align: start; }
.project-grid.project-slider .project-card__visual img,
.project-grid.project-slider .project-card:nth-child(5) .project-card__visual img,
.project-grid.project-slider .project-card:nth-child(6) .project-card__visual img { height: clamp(270px, 28vw, 420px); }

.policy-hero { min-height: min(760px, 88svh); display: flex; align-items: end; padding: calc(var(--header-h) + 80px) 0 80px; background: radial-gradient(circle at 82% 25%, #351a22, var(--bg) 48%); overflow: clip; }
.policy-hero h1 { max-width: 1300px; margin: 34px 0 54px; font-size: clamp(56px, 9.2vw, 146px); line-height: .82; letter-spacing: -.075em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
.policy-hero__date { margin: 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.policy-content { background: var(--paper); color: var(--ink); }
.policy-content__grid { display: grid; grid-template-columns: minmax(210px, .75fr) minmax(0, 2fr); gap: clamp(50px, 9vw, 150px); align-items: start; }
.policy-content__aside { position: sticky; top: 120px; display: grid; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.policy-content__aside p, .policy-content__aside span { margin: 0; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; opacity: .62; }
.policy-content__aside strong { font-size: 19px; }
.policy-content__aside a { width: fit-content; border-bottom: 1px solid currentColor; }
.policy-copy { min-width: 0; }
.policy-copy__lead { margin: 0 0 90px; font-size: clamp(25px, 3.2vw, 48px); line-height: 1.08; letter-spacing: -.035em; }
.policy-copy section { padding: 46px 0; border-top: 1px solid var(--line-dark); }
.policy-copy h2 { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 48px); line-height: 1; letter-spacing: -.04em; }
.policy-copy h2 span { display: inline-block; margin-right: 18px; font-size: 11px; letter-spacing: .1em; opacity: .45; vertical-align: middle; }
.policy-copy p, .policy-copy li { font-size: 18px; line-height: 1.65; }
.policy-copy p { margin: 0 0 18px; }
.policy-copy ul { margin: 0; padding-left: 22px; }
.policy-copy a { border-bottom: 1px solid currentColor; overflow-wrap: anywhere; }

.floating-contacts { position: fixed; z-index: 1250; right: max(20px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.floating-contact { position: relative; isolation: isolate; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; background: var(--accent); color: #fff; box-shadow: 0 12px 35px rgba(0,0,0,.28); transition: transform .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease); }
.floating-contact svg { width: 45%; height: 45%; fill: currentColor; }
.floating-contact::before,
.floating-contact::after { content: ""; position: absolute; inset: -1px; z-index: -1; border: 1px solid rgba(217,54,79,.62); border-radius: inherit; animation: contactPulse 2.4s var(--ease) infinite; }
.floating-contact::after { animation-delay: 1.2s; }
.floating-contact--telegram::before { animation-delay: .6s; }
.floating-contact--telegram::after { animation-delay: 1.8s; }
.floating-contact--telegram svg { width: 50%; height: 50%; transform: translate(-1px, .5px); }
.floating-contact:hover { transform: translateY(-3px) scale(1.04); background: #ef4961; box-shadow: 0 18px 42px rgba(0,0,0,.34); }
.menu-open .floating-contacts { opacity: 0; transform: translateY(10px); pointer-events: none; }
@keyframes contactPulse { 0% { transform: scale(1); opacity: .75; } 75%, 100% { transform: scale(1.65); opacity: 0; } }

@media (max-width: 820px) {
  html, body { overflow-x: hidden; overflow-x: clip; }
  .brand { gap: 8px; }
  .brand__mark { width: 28px; height: 28px; }
  .menu-panel { padding: calc(var(--header-h) + 18px) 16px calc(22px + env(safe-area-inset-bottom)); }
  .menu-panel__grid { height: auto; min-height: calc(100dvh - var(--header-h) - 40px); grid-template-columns: 1fr; align-content: start; align-items: start; gap: 24px; padding-bottom: 20px; }
  .menu-panel__nav span { font-size: clamp(34px, min(11vw, 8svh), 62px); }
  :is(.menu-panel__nav > a, .menu-panel__service-line > a) { grid-template-columns: 36px minmax(0, 1fr); padding: 6px 0 9px; }
  .menu-panel__aside { grid-template-columns: 1fr 1fr; align-self: start; gap: 12px 18px; padding-bottom: 0; }
  .menu-panel__aside div:last-child { display: none; }
  .menu-panel__ticker { display: none; }
  .inner-cta__canvas { opacity: .3; }
  .policy-content__grid { grid-template-columns: 1fr; }
  .policy-content__aside { position: static; }
  .policy-copy__lead { margin-bottom: 56px; }
  .policy-hero { min-height: 72svh; padding-bottom: 54px; }
  .policy-hero h1 { font-size: clamp(42px, 11.8vw, 78px); }
  :is(.section-head h2, .about__content h2, .about-story h2, .contact__title, .capabilities h2, .catalog-service h2, .office h2, .service-detail__intro h2, .technology h2, .inner-cta h2, .principle-grid h3) { overflow-wrap: normal; word-break: normal; hyphens: none; }
  :is(.service-row, .catalog-service, .process-list li, .deliverables li) > * { min-width: 0; }
}

@media (max-width: 520px) {
  .brand__name { font-size: 15px; }
  .footer__brand { font-size: 25px; }
  .footer__brand-mark { width: 26px; height: 26px; }
  .project-slider__controls > p { display: none; }
  .project-slider__controls { justify-content: flex-end; }
  .project-slider__controls button { width: 46px; height: 46px; }
  .project-grid.project-slider .project-card,
  .project-grid.project-slider .project-card:nth-child(5),
  .project-grid.project-slider .project-card:nth-child(6) { flex-basis: min(84vw, 340px); width: auto; }
  .project-grid.project-slider .project-card__visual img,
  .project-grid.project-slider .project-card:nth-child(5) .project-card__visual img,
  .project-grid.project-slider .project-card:nth-child(6) .project-card__visual img { height: min(68vw, 280px); }
  .inner-cta { min-height: 580px; }
  .inner-cta h2 { font-size: clamp(42px, 13vw, 66px); overflow-wrap: normal; word-break: normal; hyphens: none; }
  .policy-copy p, .policy-copy li { font-size: 16px; }
  .policy-copy section { padding: 36px 0; }
  .floating-contacts { right: max(12px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom)); gap: 9px; }
  .floating-contact { width: 42px; height: 42px; }
}

@media (max-width: 820px) and (max-height: 680px) {
  .menu-panel { padding-top: calc(var(--header-h) + 10px); }
  .menu-panel__grid { gap: 16px; }
  .menu-panel__nav span { font-size: clamp(30px, 7.2svh, 46px); }
  :is(.menu-panel__nav > a, .menu-panel__service-line > a) { padding-block: 4px 7px; }
  .menu-panel__aside { gap: 8px 16px; }
  .menu-panel__aside small { margin-bottom: 4px; }
  .menu-panel__aside a, .menu-panel__aside p { font-size: 14px; }
}

@media (max-width: 820px) and (max-height: 560px) {
  .menu-panel__aside { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-contact::before,
  .floating-contact::after { animation: none; display: none; }
}

/* v1.4.0 — мультигородность и расширенный каталог услуг */
body.city-picker-open { overflow: hidden; }

.city-switch { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px; max-width: min(32vw, 280px); padding: 9px 14px; border: 1px solid currentColor; border-radius: 999px; background: rgba(9,11,15,.12); color: inherit; cursor: pointer; font-size: 11px; line-height: 1; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.city-switch span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.city-switch i { width: 7px; height: 7px; flex: 0 0 auto; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.city-switch:hover { background: currentColor; }
.city-switch:hover span, .city-switch:hover i { color: var(--bg); }
.menu-open .city-switch:hover span, .menu-open .city-switch:hover i { color: var(--accent); }

.city-picker[hidden] { display: none !important; }
.city-picker { position: fixed; inset: 0; z-index: 1900; display: grid; place-items: center; padding: 24px; }
.city-picker__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(5,7,10,.78); backdrop-filter: blur(12px); cursor: default; animation: cityBackdropIn .3s ease both; }
.city-picker__panel { position: relative; width: min(920px, 100%); max-height: min(820px, calc(100dvh - 48px)); display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 30px; background: var(--bg-soft); color: var(--light); box-shadow: 0 40px 120px rgba(0,0,0,.5); animation: cityPanelIn .45s var(--ease) both; }
.city-picker__head { display: flex; align-items: start; justify-content: space-between; gap: 30px; padding: 32px 34px 24px; border-bottom: 1px solid var(--line); }
.city-picker__head p { margin: 0 0 8px; color: var(--accent); font-size: 10px; font-weight: 700; letter-spacing: .14em; }
.city-picker__head h2 { margin: 0; font-size: clamp(34px, 5vw, 66px); line-height: .9; letter-spacing: -.055em; }
.city-picker__close { position: relative; width: 46px; height: 46px; flex: 0 0 auto; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; }
.city-picker__close span { position: absolute; left: 12px; right: 12px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.city-picker__close span:last-child { transform: rotate(-45deg); }
.city-picker__search { display: grid; gap: 8px; padding: 24px 34px 18px; }
.city-picker__search span { color: var(--muted); font-size: 9px; letter-spacing: .13em; text-transform: uppercase; }
.city-picker__search input { width: 100%; border: 0; border-bottom: 1px solid rgba(255,255,255,.3); border-radius: 0; outline: 0; padding: 4px 0 13px; background: transparent; color: var(--light); font-size: clamp(20px, 2.4vw, 32px); }
.city-picker__search input:focus { border-color: var(--accent); }
.city-picker__search input::placeholder { color: rgba(255,255,255,.28); }
.city-picker__body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 34px 34px; }
.city-picker__caption { margin: 8px 0 14px; color: var(--muted); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.city-picker__results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.city-picker__results a { min-width: 0; min-height: 72px; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; transition: color .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease); }
.city-picker__results a:hover, .city-picker__results a.is-current { border-color: var(--accent); background: var(--accent); color: #fff; transform: translateY(-2px); }
.city-picker__results strong { overflow: hidden; font-size: 15px; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.city-picker__results small { overflow: hidden; color: var(--muted); font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.city-picker__results a:hover small, .city-picker__results a.is-current small { color: rgba(255,255,255,.74); }
.city-picker__empty { margin: 18px 0 0; color: var(--muted); }
@keyframes cityBackdropIn { from { opacity: 0; } }
@keyframes cityPanelIn { from { opacity: 0; transform: translateY(22px) scale(.985); } }

.menu-panel__services { max-height: min(40vh, 340px); overflow-y: auto; overscroll-behavior: contain; padding-right: 8px; scrollbar-width: thin; }
.menu-panel__services details { border-bottom: 1px solid rgba(255,255,255,.22); }
.menu-panel__services summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; cursor: pointer; list-style: none; font-size: 13px; line-height: 1.2; font-weight: 700; }
.menu-panel__services summary::-webkit-details-marker { display: none; }
.menu-panel__services summary::after { content: "+"; font-size: 18px; font-weight: 400; transition: transform .25s var(--ease); }
.menu-panel__services details[open] summary::after { transform: rotate(45deg); }
.menu-panel__services details > div { display: grid; gap: 7px; padding: 3px 0 12px; border: 0; }
.menu-panel__services details a { padding-left: 12px; font-size: 10px; }

.service-directory { margin-top: clamp(80px, 9vw, 150px); border-top: 1px solid rgba(255,255,255,.34); }
.service-directory__group { display: grid; grid-template-columns: minmax(240px, .75fr) minmax(0, 2fr); gap: clamp(35px, 7vw, 110px); padding: clamp(42px, 6vw, 90px) 0; border-bottom: 1px solid rgba(255,255,255,.34); }
.service-directory__head { display: grid; align-content: start; gap: 22px; }
.service-directory__head > span { font-size: 10px; letter-spacing: .13em; opacity: .72; }
.service-directory__head h2 { margin: 0; font-size: clamp(38px, 5vw, 76px); line-height: .92; letter-spacing: -.055em; }
.service-directory__subgroups { min-width: 0; border-top: 1px solid rgba(255,255,255,.28); }
.service-directory__subgroup { scroll-margin-top: calc(var(--header-h) + 24px); border-bottom: 1px solid rgba(255,255,255,.28); }
.service-directory__subgroup > summary { min-height: 76px; display: grid; grid-template-columns: minmax(0, 1fr) auto 34px; align-items: center; gap: 18px; cursor: pointer; list-style: none; }
.service-directory__subgroup > summary::-webkit-details-marker { display: none; }
.service-directory__subgroup > summary > span { font-size: clamp(18px, 2vw, 27px); font-weight: 700; letter-spacing: -.02em; }
.service-directory__subgroup > summary small { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 50%; font-size: 9px; }
.service-directory__subgroup > summary i { position: relative; width: 24px; height: 24px; justify-self: end; }
.service-directory__subgroup > summary i::before, .service-directory__subgroup > summary i::after { content: ""; position: absolute; left: 4px; right: 4px; top: 50%; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.service-directory__subgroup > summary i::after { transform: rotate(90deg); }
.service-directory__subgroup[open] > summary i::after { transform: rotate(0); }
.service-directory__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 0 0 22px; }
.service-directory__links a { min-width: 0; min-height: 82px; display: grid; grid-template-columns: minmax(0, 1fr) auto 22px; align-items: center; gap: 12px; padding: 16px; border: 1px solid rgba(255,255,255,.2); border-radius: 14px; transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease); }
.service-directory__links a:hover { border-color: var(--light); background: var(--light); color: var(--ink); transform: translateY(-2px); }
.service-directory__links a > span { min-width: 0; font-size: 14px; line-height: 1.25; }
.service-directory__links a small { font-size: 10px; white-space: nowrap; opacity: .68; }
.service-directory__links .arrow-icon { width: 18px; height: 18px; }

.service-price { display: grid; gap: 3px; margin: 28px 0 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.service-price strong { color: var(--accent); font-size: clamp(25px, 3vw, 40px); line-height: 1; letter-spacing: -.04em; }
.service-detail__image { margin-bottom: clamp(70px, 9vw, 130px); overflow: hidden; border-radius: var(--radius); background: var(--bg-soft); }
.service-detail__image img { width: 100%; max-height: 760px; aspect-ratio: 16 / 8; object-fit: cover; }

.service-content { background: var(--light); color: var(--ink); padding-top: clamp(70px, 8vw, 130px); }
.service-content__tools { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr); gap: clamp(18px, 3vw, 42px); align-items: stretch; margin-bottom: clamp(80px, 10vw, 150px); }
.article-toc, .article-promo { min-width: 0; border-radius: var(--radius); padding: clamp(26px, 3vw, 44px); }
.article-toc { background: var(--bg-soft); color: var(--light); }
.article-toc h2 { margin: 15px 0 30px; font-size: clamp(38px, 5vw, 70px); line-height: .9; letter-spacing: -.055em; }
.article-toc ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.article-toc li { border-bottom: 1px solid var(--line); }
.article-toc li.is-extra { display: none; }
.article-toc.is-expanded li.is-extra { display: block; }
.article-toc a { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; padding: 13px 0; color: #d7d7d9; font-size: 14px; line-height: 1.35; transition: color .2s var(--ease), padding .2s var(--ease); }
.article-toc a:hover { padding-left: 6px; color: #fff; }
.article-toc a span { color: var(--accent); font-size: 9px; }
.article-toc button { margin-top: 22px; display: inline-flex; align-items: center; gap: 12px; border: 0; padding: 0; background: transparent; color: var(--light); cursor: pointer; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.article-toc button i { width: 8px; height: 8px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s var(--ease); }
.article-toc.is-expanded button i { transform: translateY(2px) rotate(225deg); }
.article-promo { display: flex; flex-direction: column; overflow: hidden; background: var(--accent); color: #fff; }
.article-promo > p { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.article-promo h2 { margin: auto 0 24px; padding-top: 50px; font-size: clamp(36px, 4vw, 62px); line-height: .9; letter-spacing: -.055em; }
.article-promo > div { max-width: 420px; opacity: .84; font-size: 16px; }
.article-promo > a { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding: 17px 20px; border: 1px solid rgba(255,255,255,.64); border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; transition: background .25s var(--ease), color .25s var(--ease); }
.article-promo > a:hover { background: #fff; color: var(--accent); }
.article-promo .arrow-icon { width: 20px; height: 20px; }

.service-copy { width: min(1120px, var(--container)); }
.service-copy > :not(.service-copy__section), .service-copy__section > * { max-width: 900px; margin-left: auto; margin-right: auto; }
.service-copy__section { max-width: 1120px; margin: clamp(70px, 9vw, 135px) auto 0; padding-top: clamp(38px, 4vw, 64px); border-top: 1px solid var(--line-dark); }
.service-copy__section:first-of-type { margin-top: 0; }
.service-copy__section:nth-of-type(even) { padding: clamp(34px, 5vw, 72px); border: 0; border-radius: var(--radius); background: var(--paper); }
.service-copy h2 { max-width: 1120px; scroll-margin-top: calc(var(--header-h) + 28px); margin-top: 0; margin-bottom: 35px; font-size: clamp(38px, 5.7vw, 82px); line-height: .94; letter-spacing: -.055em; }
.service-copy h3 { margin-top: 65px; margin-bottom: 20px; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.02; letter-spacing: -.04em; }
.service-copy h4 { margin-top: 42px; margin-bottom: 16px; font-size: clamp(21px, 2.3vw, 30px); line-height: 1.15; }
.service-copy p, .service-copy li { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.72; }
.service-copy p { margin-top: 0; margin-bottom: 24px; }
.service-copy ul, .service-copy ol { margin-top: 22px; margin-bottom: 32px; padding-left: 24px; }
.service-copy li + li { margin-top: 10px; }
.service-copy blockquote { margin-top: 48px; margin-bottom: 48px; padding: 30px 34px; border-left: 4px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--paper); font-size: clamp(21px, 2.2vw, 30px); line-height: 1.35; }
.service-copy img { width: 100%; margin: 48px 0; border-radius: var(--radius); }
.service-copy a { color: var(--accent); border-bottom: 1px solid currentColor; }
.service-copy table { width: 100%; margin: 48px 0; border-collapse: collapse; font-size: 15px; }
.service-copy th, .service-copy td { padding: 14px; border: 1px solid var(--line-dark); text-align: left; vertical-align: top; }

.service-faq { background: var(--paper); color: var(--ink); }
.service-faq__grid { display: grid; grid-template-columns: minmax(240px, .8fr) minmax(0, 1.6fr); gap: clamp(50px, 9vw, 145px); align-items: start; }
.service-faq__title { position: sticky; top: calc(var(--header-h) + 30px); }
.service-faq__title h2 { margin: 30px 0 0; font-size: clamp(50px, 7vw, 105px); line-height: .86; letter-spacing: -.065em; }
.service-faq__items { border-top: 1px solid var(--line-dark); }
.service-faq__item { border-bottom: 1px solid var(--line-dark); }
.service-faq__item summary { min-height: 110px; display: grid; grid-template-columns: 46px minmax(0, 1fr) 34px; gap: 20px; align-items: center; cursor: pointer; list-style: none; }
.service-faq__item summary::-webkit-details-marker { display: none; }
.service-faq__item summary > span { font-size: 10px; opacity: .5; }
.service-faq__item summary strong { font-size: clamp(20px, 2.2vw, 31px); line-height: 1.12; letter-spacing: -.025em; }
.service-faq__item summary i { position: relative; width: 28px; height: 28px; }
.service-faq__item summary i::before, .service-faq__item summary i::after { content: ""; position: absolute; left: 5px; right: 5px; top: 50%; height: 1px; background: currentColor; transition: transform .3s var(--ease); }
.service-faq__item summary i::after { transform: rotate(90deg); }
.service-faq__item[open] summary i::after { transform: rotate(0); }
.service-faq__item > div { padding: 0 62px 32px 66px; }
.service-faq__item p { max-width: 760px; margin: 0; font-size: 17px; line-height: 1.65; opacity: .72; }

@media (max-width: 980px) {
  .service-content__tools, .service-faq__grid { grid-template-columns: 1fr; }
  .service-faq__title { position: static; }
  .article-promo h2 { margin-top: 40px; }
}

@media (max-width: 820px) {
  .city-switch { max-width: 28vw; padding: 8px 10px; gap: 7px; font-size: 9px; letter-spacing: .07em; }
  .city-picker { align-items: end; padding: 0; }
  .city-picker__panel { width: 100%; max-height: calc(100dvh - 12px); border-radius: 24px 24px 0 0; }
  .city-picker__head { padding: 25px 18px 18px; }
  .city-picker__search { padding: 18px 18px 12px; }
  .city-picker__body { padding: 0 18px calc(22px + env(safe-area-inset-bottom)); }
  .city-picker__results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .city-picker__results a { min-height: 64px; padding: 11px 12px; }
  .menu-panel__services { display: block; max-height: none; }
  .service-directory__group { grid-template-columns: 1fr; }
  .service-directory__links { grid-template-columns: 1fr; }
  .service-detail__image img { aspect-ratio: 4 / 3; }
  .service-content__tools { margin-bottom: 80px; }
  .service-copy { width: var(--container); }
  .service-copy h2 { overflow-wrap: normal; word-break: normal; hyphens: none; }
  .service-copy table { display: block; overflow-x: auto; }
}

@media (max-width: 520px) {
  .city-picker__results { grid-template-columns: 1fr; }
  .city-picker__results a { min-height: 58px; }
  .city-picker__head h2 { font-size: 36px; }
  .city-picker__close { width: 40px; height: 40px; }
  .service-directory__subgroup > summary { min-height: 68px; grid-template-columns: minmax(0, 1fr) auto 26px; gap: 10px; }
  .service-directory__links a { grid-template-columns: minmax(0, 1fr) 18px; }
  .service-directory__links a small { display: none; }
  .article-toc, .article-promo { padding: 24px 18px; }
  .article-toc a { grid-template-columns: 30px minmax(0, 1fr); font-size: 13px; }
  .service-copy h2 { margin-top: 82px; font-size: 35px; }
  .service-copy__section { margin-top: 72px; padding-top: 30px; }
  .service-copy__section:nth-of-type(even) { padding: 28px 18px; }
  .service-copy__section h2 { margin-top: 0; }
  .service-copy h3 { margin-top: 48px; font-size: 28px; }
  .service-copy p, .service-copy li { font-size: 16px; line-height: 1.65; }
  .service-copy blockquote { margin: 36px 0; padding: 23px 20px; }
  .service-faq__item summary { min-height: 88px; grid-template-columns: 30px minmax(0, 1fr) 26px; gap: 10px; }
  .service-faq__item summary strong { font-size: 19px; }
  .service-faq__item > div { padding: 0 36px 26px 40px; }
}

@media (max-width: 420px) {
  .site-header .brand__name { display: none; }
  .city-switch { max-width: 44vw; }
}

/* v1.4.2 — чистая типографика услуг и плавные каталоги */
.city-picker__head { align-items: center; padding-block: 22px; }
.city-picker__head > p { margin: 0; }

.menu-panel__services,
.city-picker__body {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.58) rgba(255,255,255,.08);
}
.menu-panel__services::-webkit-scrollbar,
.city-picker__body::-webkit-scrollbar { width: 6px; }
.menu-panel__services::-webkit-scrollbar-track,
.city-picker__body::-webkit-scrollbar-track { background: rgba(255,255,255,.08); border-radius: 999px; }
.menu-panel__services::-webkit-scrollbar-thumb,
.city-picker__body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.58); border-radius: 999px; }
.menu-panel__services::-webkit-scrollbar-thumb:hover,
.city-picker__body::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,.82); }

.menu-panel__services { gap: 0; padding-right: 14px; scrollbar-gutter: stable; }
.menu-panel__services > small { margin-bottom: 10px; font-size: 11px; opacity: .82; }
.menu-panel__services details { transition: border-color .25s var(--ease); }
.menu-panel__services details:hover { border-color: rgba(255,255,255,.48); }
.menu-panel__services summary {
  min-height: 48px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.012em;
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.menu-panel__services summary:hover { padding-left: 6px; }
.menu-panel__services summary::after { flex: 0 0 auto; }
.menu-panel__services details.is-closing summary::after { transform: rotate(0); }
.menu-panel__services details > div { gap: 0; padding: 2px 0 14px; }
.menu-panel__services details a {
  margin-left: 0;
  padding: 7px 10px 7px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
  opacity: .86;
  transition: opacity .25s var(--ease), transform .25s var(--ease), background .25s var(--ease);
}
.menu-panel__services details a:hover { background: rgba(255,255,255,.1); opacity: 1; transform: translateX(4px); }

.service-directory { margin-top: clamp(52px, 7vw, 100px); }
.service-directory__group { scroll-margin-top: calc(var(--header-h) + 24px); }
.service-directory__subgroup > summary {
  min-height: 88px;
  transition: color .25s var(--ease), padding .25s var(--ease);
}
.service-directory__subgroup > summary:hover { padding-inline: 8px; }
.service-directory__subgroup > summary > span { font-size: clamp(20px, 2.15vw, 30px); line-height: 1.18; }
.service-directory__subgroup.is-closing > summary i::after { transform: rotate(90deg); }
.service-directory__links { gap: 10px; padding-bottom: 26px; }
.service-directory__links a { min-height: 92px; padding: 18px 20px; background: rgba(255,255,255,.035); }
.service-directory__links a > span { font-size: 16px; line-height: 1.35; font-weight: 600; }
.service-directory__links a small { font-size: 11px; opacity: .78; }

.service-page .page-hero { min-height: min(800px, 94svh); }
.service-page .page-hero__inner { min-height: calc(min(800px, 94svh) - var(--header-h)); row-gap: 28px; }
.page-hero__title--service {
  width: min(1080px, calc(100% - 350px));
  max-width: none;
  font-size: clamp(48px, 5.5vw, 92px);
  line-height: .98;
  letter-spacing: -.05em;
  text-transform: none;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  animation: serviceTitleIn .8s var(--ease) .12s both;
}
@keyframes serviceTitleIn { from { opacity: 0; transform: translateY(28px); } }

.service-detail__intro {
  grid-template-columns: minmax(190px, .55fr) minmax(0, 1.65fr);
  align-items: start;
  gap: clamp(40px, 8vw, 130px);
}
.service-detail__meta { padding-top: 14px; border-top: 1px solid var(--line-dark); }
.service-detail__lead {
  max-width: 960px;
  margin: 0;
  font-size: clamp(25px, 3vw, 46px);
  line-height: 1.15;
  letter-spacing: -.035em;
  text-wrap: pretty;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}
.service-price { margin-top: 30px; letter-spacing: .07em; }
.service-price strong { margin-top: 3px; font-size: clamp(27px, 2.6vw, 38px); }

.service-faq__item.is-closing summary i::after { transform: rotate(90deg); }

:is(
  h1,
  h2,
  h3,
  h4,
  .menu-panel__nav span,
  .service-directory__head h2,
  .service-directory__subgroup > summary > span,
  .service-row h3,
  .deliverables p
) {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 1100px) {
  .page-hero__title--service { width: 100%; max-width: 900px; font-size: clamp(44px, 7.2vw, 76px); }
  .service-page .page-hero__object { opacity: .22; }
}

@media (max-width: 820px) {
  .city-picker__head { padding-block: 18px; }
  .menu-panel__services { padding-right: 8px; }
  .menu-panel__services summary { min-height: 46px; font-size: 14px; }
  .menu-panel__services details a { font-size: 12px; }

  .service-page .page-hero { min-height: 100svh; }
  .service-page .page-hero__inner { min-height: calc(100svh - var(--header-h)); row-gap: 24px; }
  .page-hero__title--service {
    width: 100%;
    max-width: 100%;
    font-size: clamp(35px, 10.4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.045em;
    text-wrap: pretty;
  }
  .service-page .page-hero__object { width: 48vw; right: -12vw; top: 22%; opacity: .16; }
  .service-page .page-hero__bottom p { max-width: min(100%, 520px); font-size: 15px; line-height: 1.5; }

  .service-detail__intro { grid-template-columns: 1fr; gap: 42px; margin-bottom: 70px; }
  .service-detail__meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .service-price { margin: 0; text-align: right; }
  .service-detail__lead { max-width: 700px; font-size: clamp(22px, 5.6vw, 34px); line-height: 1.2; }

  .service-directory__head h2 { font-size: clamp(32px, 9vw, 48px); line-height: .98; }
  .service-directory__subgroup > summary > span { font-size: clamp(18px, 5.2vw, 24px); }
  .service-directory__links a > span { font-size: 15px; }

  :is(.section-head h2, .about__content h2, .about-story h2, .contact__title, .capabilities h2, .catalog-service h2, .office h2, .service-detail__lead, .technology h2, .inner-cta h2, .principle-grid h3, .service-copy h2, .policy-hero h1) {
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
}

@media (max-width: 520px) {
  .service-page .page-hero__inner { padding-bottom: 34px; }
  .page-hero__title--service { font-size: clamp(33px, 10vw, 48px); }
  .service-detail__meta { align-items: flex-start; }
  .service-price strong { font-size: 26px; }
  .service-detail__lead { font-size: clamp(21px, 6.2vw, 28px); }
  .service-directory__group { gap: 30px; padding-block: 50px; }
  .service-directory__subgroup > summary { min-height: 74px; }
  .service-directory__links a { min-height: 78px; padding: 15px 14px; }
  .service-copy h2 { font-size: clamp(29px, 8.5vw, 36px); line-height: 1.04; }
  .inner-cta h2 { font-size: clamp(38px, 11.5vw, 58px); line-height: .92; }
}

/* v1.4.3 — формы в CTA и компактные направления на главной */
.service-list--directions .service-row {
  grid-template-columns: 90px minmax(0, 1fr) 60px;
}
.service-list--directions .service-row > .arrow-icon {
  grid-column: 3;
}

.inner-cta--form {
  min-height: auto;
  padding: clamp(92px, 10vw, 164px) 0;
  align-items: stretch;
}
.inner-cta--form .inner-cta__canvas { opacity: .24; }
.inner-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(52px, 8vw, 140px);
  align-items: start;
}
.inner-cta__copy { position: relative; z-index: 1; min-width: 0; }
.inner-cta--form .inner-cta__copy h2 {
  max-width: 760px;
  margin: 32px 0 34px;
  font-size: clamp(52px, 6.3vw, 102px);
  line-height: .91;
  letter-spacing: -.065em;
  text-wrap: balance;
}
.inner-cta__copy > p:last-child {
  max-width: 540px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.55;
}
.contact-form--compact {
  position: relative;
  z-index: 1;
  padding: clamp(27px, 3.4vw, 48px);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: clamp(20px, 2vw, 30px);
  background: rgba(255,255,255,.045);
  box-shadow: 0 24px 80px rgba(0,0,0,.2);
  backdrop-filter: blur(12px);
}
.contact-form--compact input,
.contact-form--compact textarea {
  font-size: clamp(18px, 1.55vw, 24px);
}
.contact-form--compact textarea { min-height: 108px; }
.contact-form--compact .submit-button {
  width: 100%;
  justify-self: stretch;
}

@media (max-width: 1100px) {
  .service-list--directions .service-row { grid-template-columns: 60px minmax(0, 1fr) 40px; }
  .inner-cta__grid { grid-template-columns: minmax(0, .85fr) minmax(390px, 1.15fr); gap: 50px; }
  .inner-cta--form .inner-cta__copy h2 { font-size: clamp(48px, 6.5vw, 76px); }
}

@media (max-width: 820px) {
  .service-list--directions .service-row { grid-template-columns: 36px minmax(0, 1fr) 26px; }
  .inner-cta--form { min-height: auto; padding: 88px 0; }
  .inner-cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .inner-cta--form .inner-cta__copy h2 {
    max-width: 680px;
    margin: 26px 0 26px;
    font-size: clamp(44px, 11.5vw, 72px);
    line-height: .94;
  }
  .contact-form--compact { padding: clamp(24px, 6vw, 38px); }
}

@media (max-width: 520px) {
  .inner-cta--form { padding: 72px 0; }
  .inner-cta__grid { gap: 36px; }
  .inner-cta--form .inner-cta__copy h2 {
    font-size: clamp(38px, 11vw, 52px);
    line-height: .96;
  }
  .inner-cta__copy > p:last-child { font-size: 16px; }
  .contact-form--compact { padding: 22px 18px; border-radius: 20px; }
  .contact-form--compact .submit-button { min-width: 0; }
}

/* v1.4.4 — длинные названия услуг без выхода за экран */
@media (max-width: 820px) {
  .page-hero__title--service {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-hyphens: auto;
    hyphens: auto;
  }
  .page-hero__title--service.page-hero__title--long {
    font-size: clamp(30px, 8.5vw, 46px);
    line-height: 1.04;
    letter-spacing: -.04em;
  }
  .page-hero__title--service.page-hero__title--very-long {
    font-size: clamp(28px, 7.9vw, 42px);
  }
}

@media (max-width: 380px) {
  .page-hero__title--service.page-hero__title--long {
    font-size: clamp(28px, 8.2vw, 32px);
  }
  .page-hero__title--service.page-hero__title--very-long {
    font-size: clamp(27px, 7.7vw, 30px);
  }
}

/* Мобильное меню: полная ширина, доступный скролл и аккуратная типографика */
@media (max-width: 820px) {
  .menu-panel {
    padding: calc(var(--header-h) + 18px) 14px max(28px, env(safe-area-inset-bottom));
    overflow-x: clip;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.62) transparent;
  }
  .menu-panel::-webkit-scrollbar { width: 4px; }
  .menu-panel::-webkit-scrollbar-track { background: transparent; }
  .menu-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.62); border-radius: 999px; }
  .menu-panel__grid {
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding-bottom: 20px;
  }
  .menu-panel__nav {
    width: 100%;
    min-width: 0;
    flex: 0 0 auto;
  }
  :is(.menu-panel__nav > a, .menu-panel__service-line > a) {
    width: 100%;
    min-width: 0;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    padding: 7px 0 10px;
  }
  .menu-panel__nav span {
    min-width: 0;
    max-width: 100%;
    font-size: clamp(30px, 9.5vw, 44px);
    line-height: .95;
    letter-spacing: -.052em;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
  }
  .menu-panel__aside {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: 1fr;
    align-self: stretch;
    gap: 18px;
    padding: 0 0 16px;
  }
  .menu-panel__aside > div,
  .menu-panel__services {
    width: 100%;
    min-width: 0;
  }
  .menu-panel__services {
    display: block;
    max-height: none;
    padding-right: 0;
    overflow: visible;
    scrollbar-gutter: auto;
  }
  .menu-panel__services summary {
    min-height: 52px;
    font-size: 15px;
  }
  .menu-panel__services details a {
    font-size: 13px;
  }
  .menu-panel__aside div:last-child {
    display: none;
  }
}

@media (max-width: 380px) {
  .menu-panel__nav span { font-size: clamp(28px, 9.2vw, 35px); }
  .menu-panel__grid { gap: 24px; }
}

@media (max-width: 820px) and (max-height: 680px) {
  .menu-panel__nav span { font-size: clamp(27px, min(9vw, 6.7svh), 38px); }
  .menu-panel__grid { gap: 20px; }
}

/* v1.4.5 — forms, nested menu, continuous article and responsive CTA */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--accent) transparent;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track { background: transparent; }
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 999px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover { background: #ef526a; }

.city-picker__body {
  scrollbar-color: var(--accent) transparent;
}
.city-picker__body::-webkit-scrollbar-track { background: transparent; }
.city-picker__body::-webkit-scrollbar-thumb { background: var(--accent); }

.menu-panel__grid {
  height: auto;
  min-height: calc(100% - 70px);
}
.menu-panel__service-entry { min-width: 0; }
.menu-panel__service-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(56px, 6vw, 92px);
}
.menu-panel__service-line > a { border-bottom: 1px solid rgba(255,255,255,.3); }
.menu-panel__catalog-toggle {
  position: relative;
  min-width: 0;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  border-left: 1px solid rgba(255,255,255,.2);
  background: transparent;
  cursor: pointer;
}
.menu-panel__catalog-toggle i,
.menu-panel__catalog-toggle i::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 24px;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease);
}
.menu-panel__catalog-toggle i::after { transform: translate(-50%, -50%) rotate(90deg); }
.menu-panel__catalog-toggle[aria-expanded="true"] i { transform: translate(-50%, -50%) rotate(180deg); }
.menu-panel__catalog-toggle[aria-expanded="true"] i::after { transform: translate(-50%, -50%) rotate(180deg); }
.menu-panel__catalog-toggle:hover { background: rgba(255,255,255,.1); }
.menu-panel__catalog {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  border-bottom: 1px solid rgba(255,255,255,.3);
  transition: grid-template-rows .45s var(--ease), opacity .3s ease;
}
.menu-panel__catalog.is-open { grid-template-rows: 1fr; opacity: 1; }
.menu-panel__catalog-inner { min-height: 0; overflow: hidden; }
.menu-panel__catalog .menu-panel__services {
  width: min(100%, 820px);
  max-height: min(42vh, 420px);
  padding: 16px clamp(12px, 3vw, 44px) 20px 54px;
}
.menu-panel__catalog .menu-panel__services details > div { overflow: hidden; }
.menu-panel__catalog .menu-panel__services details a { color: #fff; }
.menu-panel__catalog .menu-panel__service-group {
  margin-left: 12px;
  border-bottom-color: rgba(255,255,255,.12);
}
.menu-panel__catalog .menu-panel__service-group > summary {
  min-height: 42px;
  font-size: 13px;
  font-weight: 600;
  opacity: .88;
}
.menu-panel__catalog .menu-panel__service-group > div { padding-left: 8px; }
.menu-panel__catalog .menu-panel__service-group a { display: block; width: 100%; }

details[data-accordion][open] > div {
  animation: detailsOpen .36s var(--ease) both;
  transform-origin: top;
}
details[data-accordion].is-closing > div {
  animation: detailsClose .26s var(--ease) both;
  pointer-events: none;
}
@keyframes detailsOpen {
  from { opacity: 0; transform: translateY(-8px) scaleY(.96); }
  to { opacity: 1; transform: translateY(0) scaleY(1); }
}
@keyframes detailsClose {
  from { opacity: 1; transform: translateY(0) scaleY(1); }
  to { opacity: 0; transform: translateY(-8px) scaleY(.96); }
}

.contact-form label > span small {
  font-size: inherit;
  font-weight: 400;
  opacity: .7;
}

.service-content__tools { margin-bottom: clamp(44px, 6vw, 82px); }
.service-copy { opacity: 1; transform: none; }

.inner-cta__grid {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1fr);
  gap: clamp(42px, 5vw, 86px);
}
.inner-cta--form .inner-cta__copy h2 {
  max-width: 100%;
  font-size: clamp(46px, 4.2vw, 76px);
  line-height: .94;
  letter-spacing: -.055em;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

@media (max-width: 980px) {
  .inner-cta__grid { grid-template-columns: 1fr; gap: 48px; }
  .inner-cta--form .inner-cta__copy h2 {
    max-width: 760px;
    font-size: clamp(43px, 8.2vw, 72px);
  }
}

@media (max-width: 820px) {
  .menu-panel__service-line { grid-template-columns: minmax(0, 1fr) 48px; }
  .menu-panel__catalog-toggle i,
  .menu-panel__catalog-toggle i::after { width: 19px; }
  .menu-panel__catalog .menu-panel__services {
    width: 100%;
    max-height: none;
    padding: 10px 0 18px 36px;
    overflow: visible;
  }
  .menu-panel__catalog .menu-panel__services summary { min-height: 48px; }
  .menu-panel__catalog .menu-panel__services details a { padding-block: 9px; }
  .service-content__tools { margin-bottom: 44px; }
}

@media (max-width: 520px) {
  .inner-cta--form .inner-cta__copy h2 {
    font-size: clamp(36px, 10.2vw, 48px);
    line-height: .98;
    letter-spacing: -.045em;
  }
}

/* Category names are page links; the plus area still controls the accordion. */
.menu-panel__catalog .menu-panel__services summary > a {
  display: block;
  width: auto;
  min-width: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
  opacity: 1;
}

.menu-panel__tree-item { border-bottom: 1px solid rgba(255,255,255,.22); }
.menu-panel__tree-row { display: grid; grid-template-columns: minmax(0, 1fr) 46px; align-items: stretch; }
.menu-panel__tree-row > a { min-width: 0; min-height: 48px; display: flex !important; align-items: center; width: 100% !important; padding: 9px 10px 9px 0 !important; color: inherit; font-size: 13px !important; line-height: 1.25; font-weight: 700; opacity: .9 !important; }
.menu-panel__tree-row > a:hover { opacity: 1 !important; transform: translateX(4px); }
.menu-panel__tree-row > button { position: relative; width: 46px; min-height: 46px; border: 0; border-left: 1px solid rgba(255,255,255,.16); background: transparent; color: inherit; cursor: pointer; transition: background .25s var(--ease); }
.menu-panel__tree-row > button:hover { background: rgba(255,255,255,.1); }
.menu-panel__tree-row > button i,
.menu-panel__tree-row > button i::after { position: absolute; left: 50%; top: 50%; width: 16px; height: 1px; content: ""; background: currentColor; transform: translate(-50%, -50%); transition: transform .28s var(--ease); }
.menu-panel__tree-row > button i::after { transform: translate(-50%, -50%) rotate(90deg); }
.menu-panel__tree-item.is-open > .menu-panel__tree-row > button i { transform: translate(-50%, -50%) rotate(180deg); }
.menu-panel__tree-item.is-open > .menu-panel__tree-row > button i::after { transform: translate(-50%, -50%) rotate(180deg); }
.menu-panel__tree-branch { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .36s var(--ease), opacity .25s ease; }
.menu-panel__tree-item.is-open > .menu-panel__tree-branch { grid-template-rows: 1fr; opacity: 1; }
.menu-panel__tree-branch-inner { min-height: 0; overflow: hidden; padding-left: 12px; }
.menu-panel__tree-item--child { border-bottom-color: rgba(255,255,255,.12); }
.menu-panel__tree-item--child > .menu-panel__tree-row > a { min-height: 44px; font-size: 12px !important; font-weight: 600; opacity: .82 !important; }
.menu-panel__tree-item--child > .menu-panel__tree-row > a:hover { opacity: 1 !important; }
.menu-panel__tree-services { display: grid; gap: 2px; padding: 2px 0 12px 10px; }
.menu-panel__tree-services > a { min-height: 34px; display: flex !important; align-items: center; width: 100%; padding: 6px 8px !important; border-left: 1px solid rgba(255,255,255,.14); font-size: 10px !important; line-height: 1.3; opacity: .7 !important; }
.menu-panel__tree-services > a:hover { opacity: 1 !important; transform: translateX(4px); }

@media (max-width: 520px) {
  .menu-panel__tree-row { grid-template-columns: minmax(0, 1fr) 44px; }
  .menu-panel__tree-row > button { width: 44px; }
  .menu-panel__tree-row > a { font-size: 12px !important; }
  .menu-panel__tree-branch-inner { padding-left: 8px; }
}
