:root {
  --ink: #0a1319;
  --ink-soft: #14232b;
  --ink-raised: #182a33;
  --ink-panel: #20323a;
  --paper: #13212a;
  --paper-2: #1a2b34;
  --line: rgba(157, 181, 190, .18);
  --line-light: rgba(205, 221, 224, .17);
  --white: #e9eeee;
  --muted: #9aadb3;
  --signal: #c8953e;
  --signal-bright: #dfb565;
  --technical: #87aebc;
  --page: min(1440px, calc(100% - 96px));
  --radius: 6px;
  --header-h: 76px;
  --concept-h: 34px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--white);
  background: var(--paper);
  font-family: "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--page); margin-inline: auto; }
.section-head > *, .directions-layout > *, .cycle-layout > *, .evidence > *, .brief-layout > *, .content-grid > *, .hero__inner > *, .facts > *, .projects-grid > *, .project-specs > * { min-width: 0; }
.section-title, .section-intro, .content-body h2, .brief-copy h2, .fact strong { overflow-wrap: anywhere; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 10px 16px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.concept-bar {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: 6px 24px;
  color: #352a17;
  background: var(--signal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.site-header {
  position: absolute;
  top: var(--concept-h);
  right: 0;
  left: 0;
  z-index: 29;
  height: var(--header-h);
  color: var(--white);
  background: rgba(7, 16, 22, .08);
  border-bottom: 0;
  transition: background-color .32s ease, box-shadow .32s ease, backdrop-filter .32s ease;
}
.site-header.is-scrolled {
  position: fixed;
  top: 0;
  background: rgba(10, 19, 25, .98);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  backdrop-filter: blur(12px);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: flex; align-items: center; gap: 14px; font-weight: 750; }
.brand__mark { display: grid; place-items: center; width: 48px; height: 36px; border: 1px solid var(--signal); color: var(--signal-bright); font-size: 17px; }
.brand__text { display: grid; line-height: 1.05; }
.brand__text small { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 600; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.main-nav a { padding-block: 8px; border-bottom: 1px solid transparent; }
.main-nav a:hover, .main-nav a:focus-visible { color: var(--signal-bright); border-color: var(--signal); }
.header-cta { padding: 11px 16px; border: 1px solid var(--signal); color: var(--signal-bright); }
.header-cta:hover { color: var(--ink); background: var(--signal); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-light); color: var(--white); background: transparent; font-size: 22px; cursor: pointer; }

.hero {
  --parallax-x: 0px;
  --parallax-y: 0px;
  position: relative;
  min-height: clamp(780px, 104svh, 980px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
  isolation: isolate;
}
.hero-transition {
  position: relative;
  z-index: 1;
  height: 24px;
  pointer-events: none;
  border-top: 1px solid rgba(200,149,62,.72);
  background: linear-gradient(180deg, var(--ink) 0%, var(--paper) 100%);
}
.hero__media, .hero__shade, .tech-overlay { position: absolute; inset: 0; }
.hero__media { z-index: -3; transform: scale(1.035) translate(var(--parallax-x), var(--parallax-y)); transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(3, 10, 15, .78) 0, rgba(3, 10, 15, .38) 22%, transparent 46%),
    linear-gradient(90deg, rgba(3, 11, 16, .68) 0, rgba(3, 11, 16, .48) 46%, rgba(3, 11, 16, .22) 100%),
    linear-gradient(0deg, rgba(3, 11, 16, .68) 0, rgba(3,11,16,.2) 38%, transparent 55%);
}
.hero__inner { position: relative; z-index: 5; min-height: inherit; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr); align-items: end; padding-block: calc(var(--concept-h) + var(--header-h) + 56px) clamp(64px, 7vw, 96px); }
.hero__copy { max-width: 760px; }
.eyebrow { margin: 0 0 22px; color: var(--signal-bright); font-size: 13px; font-weight: 700; text-transform: uppercase; }
.hero h1, .page-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: "Arial Narrow", "Segoe UI", sans-serif;
  font-size: clamp(52px, 5.2vw, 90px);
  font-weight: 640;
  line-height: .98;
}
.hero__lead { max-width: 650px; margin: 30px 0 0; color: #dce3e3; font-size: 20px; line-height: 1.45; }
.hero__actions { position: relative; width: max-content; max-width: 100%; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; isolation: isolate; }
.hero__actions::before { content: ""; position: absolute; z-index: -1; inset: -12px -14px; pointer-events: none; background: radial-gradient(ellipse at 35% 50%, rgba(4,12,17,.54), rgba(4,12,17,.22) 62%, transparent 78%); filter: blur(3px); }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; padding: 12px 20px; border: 1px solid transparent; border-radius: 2px; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.button--primary { color: var(--ink); background: var(--signal); }
.button--primary:hover { background: var(--signal-bright); }
.button--ghost { color: var(--white); border-color: rgba(255,255,255,.55); background: rgba(4,12,17,.22); }
.button--ghost:hover { border-color: var(--signal); color: var(--signal-bright); }
.hero__proof { display: flex; gap: 20px; margin-top: 42px; color: #d7dfe0; font-size: 13px; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0,0,0,.72); }
.hero__proof span + span { padding-left: 20px; border-left: 1px solid var(--line-light); }
.scroll-cue { position: absolute; right: 48px; bottom: 38px; z-index: 5; display: flex; align-items: center; gap: 12px; color: #d4ddde; font-size: 11px; text-transform: uppercase; writing-mode: vertical-rl; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.scroll-cue::after { content: ""; width: 1px; height: 56px; background: var(--signal); }

.tech-overlay { z-index: 2; left: 42%; pointer-events: none; opacity: 0; transition: opacity 1.2s ease .45s; transform: translate3d(calc(var(--parallax-x) * -.35), calc(var(--parallax-y) * -.35), 0); }
.hero--active .tech-overlay { opacity: 1; }
.tech-overlay svg { width: 100%; height: 100%; }
.tech-grid { opacity: .12; }
.tech-path { fill: none; stroke: var(--technical); stroke-width: 1.2; stroke-dasharray: 9 8; stroke-dashoffset: 136; opacity: .28; filter: drop-shadow(0 0 5px rgba(155,212,231,.22)); }
.hero--active .tech-path { animation: route-flow 7.2s linear var(--route-delay, .45s) infinite; }
.tech-path:nth-of-type(1) { --route-delay: .45s; }
.tech-path:nth-of-type(2) { --route-delay: 1.25s; }
.tech-path:nth-of-type(3) { --route-delay: 2.15s; }
.tech-path:nth-of-type(4) { --route-delay: 3.05s; }
.tech-path--signal { stroke: var(--signal-bright); stroke-width: 1.5; filter: drop-shadow(0 0 6px rgba(240,178,75,.32)); }
.tech-node { fill: var(--ink); stroke: var(--technical); stroke-width: 1.5; opacity: .82; transform-box: fill-box; transform-origin: center; }
.hero--active .tech-node { animation: node-pass 7.2s ease-in-out var(--node-delay, 1.5s) infinite; }
.tech-node:nth-of-type(1) { --node-delay: 1.5s; }
.tech-node:nth-of-type(2) { --node-delay: 2.45s; }
.tech-node:nth-of-type(3) { --node-delay: 3.35s; }
.tech-node:nth-of-type(4) { --node-delay: 4.25s; }
.tech-label { fill: rgba(235,245,246,.82); font-size: 10px; font-family: monospace; letter-spacing: 0; }
@keyframes route-flow {
  0% { stroke-dashoffset: 136; opacity: .24; }
  12% { opacity: .82; }
  70% { opacity: .7; }
  88%, 100% { stroke-dashoffset: -68; opacity: .26; }
}
@keyframes node-pass {
  0%, 8%, 24%, 100% { transform: scale(1); opacity: .68; }
  14% { transform: scale(1.38); opacity: 1; stroke: var(--signal-bright); }
  19% { transform: scale(1.08); opacity: .9; }
}
.tech-markers { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.tech-marker { position: absolute; left: var(--x); top: var(--y); z-index: 4; width: 28px; height: 28px; border: 0; color: var(--white); background: transparent; transform: translate(-50%,-50%) scale(.75); opacity: 0; pointer-events: auto; cursor: pointer; }
.hero--active .tech-marker { animation: marker-in .5s ease var(--delay) forwards; }
@keyframes marker-in { to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
.tech-marker__dot { position: absolute; inset: 7px; border: 1px solid var(--technical); border-radius: 50%; background: rgba(11,21,28,.7); box-shadow: 0 0 0 7px rgba(155,212,231,.08); }
.tech-marker__dot::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--signal-bright); }
.tech-marker__label { position: absolute; left: 30px; top: 3px; width: max-content; max-width: 200px; padding: 4px 7px; border-left: 1px solid var(--signal); color: #f1f5f3; background: rgba(7,16,22,.72); font-size: 10px; font-weight: 700; text-transform: uppercase; }
.tech-marker__detail { position: absolute; left: 30px; top: 30px; width: 230px; padding: 12px 14px; border: 1px solid rgba(216,154,50,.55); color: #dbe4e4; background: rgba(7,16,22,.95); font-size: 13px; text-align: left; visibility: hidden; opacity: 0; transform: translateY(6px); transition: .2s ease; }
.tech-marker:hover .tech-marker__detail, .tech-marker:focus-visible .tech-marker__detail, .tech-marker[aria-expanded="true"] .tech-marker__detail { visibility: visible; opacity: 1; transform: translateY(0); }

.section { position: relative; padding-block: clamp(84px, 7.5vw, 108px); background: var(--paper); }
.section > .container { position: relative; z-index: 2; }
.section--compact { padding-block: 70px; }
.section--dark { color: var(--white); background: var(--ink); }
.section--soft { background: var(--paper-2); }
main > .section:not(.section--dark):not(.brief) + .section--dark,
main > .section--soft + .brief { isolation: isolate; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .55fr 1fr; gap: 60px; align-items: start; margin-bottom: 68px; }
.kicker { color: var(--signal-bright); font-size: 12px; font-weight: 750; text-transform: uppercase; }
.section--dark .kicker { color: var(--signal-bright); }
.section-title { max-width: 950px; margin: 0; font-size: clamp(42px, 5vw, 78px); line-height: 1.04; font-weight: 580; }
.section-intro, .section--dark .section-intro { max-width: 720px; margin: 22px 0 0; color: #bdc9cc; font-size: 19px; }

.directions-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr); gap: 70px; }
.directions-list { border-top: 1px solid var(--line); }
.direction-row { min-height: 128px; display: grid; grid-template-columns: 64px 1fr 44px; gap: 22px; align-items: center; border-bottom: 1px solid var(--line); }
.direction-row__number { color: #8fa4aa; font-size: 13px; }
.direction-row__body { display: grid; gap: 8px; }
.direction-row__body strong { font-size: 27px; font-weight: 600; }
.direction-row__body small { max-width: 680px; color: #b0c0c4; font-size: 15px; }
.direction-row__arrow { color: var(--signal-bright); font-size: 24px; transition: transform .2s ease; }
.direction-row:hover .direction-row__arrow { transform: translate(5px,-5px); }
.directions-visual { position: sticky; top: 30px; min-height: 680px; overflow: hidden; background: var(--ink-soft); isolation: isolate; }
.directions-visual img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; object-position: center 30%; filter: grayscale(.16) saturate(.68) contrast(1.1) brightness(.86); transform: translate3d(0,var(--photo-y,0),0) scale(1.035); transition: transform .7s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.directions-visual::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; opacity: .18; background-image: repeating-linear-gradient(90deg, rgba(155,212,231,.36) 0 1px, transparent 1px 72px), repeating-linear-gradient(0deg, rgba(155,212,231,.24) 0 1px, transparent 1px 48px); }
.directions-visual::after { content: ""; position: absolute; z-index: 1; right: 0; bottom: 0; left: 0; height: 150px; background: linear-gradient(0deg, rgba(7,16,23,.94), rgba(7,16,23,.08)); }
.directions-visual__caption { position: absolute; z-index: 2; inset: auto 0 0; padding: 58px 24px 22px; border-bottom: 2px solid var(--signal); color: var(--white); font-size: 12px; }

.cycle-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; align-items: start; }
.cycle-sticky { position: sticky; top: 60px; }
.cycle-sticky p { max-width: 520px; color: #bdc9cc; font-size: 20px; }
.cycle-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); }
.cycle-step { display: grid; grid-template-columns: 58px 1fr; gap: 24px; padding: 30px 0 34px; border-bottom: 1px solid var(--line-light); }
.cycle-step > span { color: var(--signal-bright); font-family: monospace; }
.cycle-step h3 { margin: 0 0 8px; font-size: 28px; font-weight: 600; }
.cycle-step p { margin: 0; color: #aebabc; }

.projects-grid { display: grid; grid-template-columns: 1fr; gap: clamp(72px, 9vw, 132px); align-items: start; }
.project-card { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, .8fr); grid-template-rows: auto auto 1fr; column-gap: clamp(34px, 5vw, 76px); align-items: start; }
.project-card__image { position: relative; grid-column: 1; grid-row: 1 / 4; width: 100%; aspect-ratio: 16/10; display: block; overflow: hidden; border: 0; background: var(--ink-panel); isolation: isolate; }
.project-card:nth-child(even) { grid-template-columns: minmax(260px, .8fr) minmax(0, 1.7fr); }
.project-card:nth-child(even) .project-card__image { grid-column: 2; }
.project-card:nth-child(even) > :not(.project-card__image) { grid-column: 1; }
.project-card:nth-child(odd) > :not(.project-card__image) { grid-column: 2; }
.project-card__image::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background-image: linear-gradient(180deg, rgba(4,15,21,.08), rgba(4,15,21,.24)), repeating-linear-gradient(90deg, rgba(155,212,231,.12) 0 1px, transparent 1px 68px), repeating-linear-gradient(0deg, rgba(155,212,231,.08) 0 1px, transparent 1px 44px); }
.project-card__image::after { content: "АРХИВ ПРОЕКТА · ТГИ"; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 48px 14px 12px; color: rgba(235,241,239,.88); background: linear-gradient(0deg, rgba(7,16,23,.9), transparent); font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.project-card__image img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(.14) saturate(.7) contrast(1.1) brightness(.88); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.project-card:hover .project-card__image img { transform: scale(1.04); filter: grayscale(.04) saturate(.82) contrast(1.08) brightness(.92); }
.project-card__meta { grid-row: 1; display: grid; gap: 8px; margin: 4px 0 24px; padding-top: 14px; border-top: 1px solid currentColor; color: #91a5ab; font-size: 11px; text-transform: uppercase; }
.project-card h3 { grid-row: 2; margin: 0; font-size: clamp(28px, 3vw, 44px); line-height: 1.08; font-weight: 620; }
.project-card p { grid-row: 3; margin: 20px 0 0; color: #b8c6c9; font-size: 14px; }
.section--dark .project-card__meta, .section--dark .project-card p { color: #b8c6c9; }
.projects-note { margin-top: 34px; color: #9fb1b6; font-size: 13px; }

.facts { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.fact { min-height: 230px; display: flex; flex-direction: column; justify-content: space-between; padding: 34px 28px; border-right: 1px solid var(--line-light); }
.fact:last-child { border-right: 0; }
.fact strong { color: var(--signal-bright); font-size: clamp(34px, 4vw, 58px); font-weight: 560; line-height: 1; }
.fact span { max-width: 230px; color: #b5c0c2; font-size: 14px; }

.evidence { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.evidence__copy p { max-width: 650px; color: #c0cbce; }
.evidence__links { border-top: 1px solid var(--line); }
.evidence-link { display: flex; justify-content: space-between; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.evidence-link span { color: #a3b6bb; font-size: 13px; }

.brief { color: var(--white); background: var(--ink-soft); }
.brief-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; }
.brief-copy { position: sticky; top: 50px; align-self: start; }
.brief-copy h2 { margin: 0; font-size: clamp(44px, 5vw, 76px); line-height: 1.02; font-weight: 580; }
.brief-copy p { max-width: 540px; color: #b7c2c4; }
.brief-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; padding: clamp(24px, 3vw, 42px); border: 1px solid var(--line-light); background: var(--ink-panel); }
.field { display: grid; gap: 8px; }
.field--wide { grid-column: 1/-1; }
.field label { color: #bac4c6; font-size: 12px; font-weight: 650; text-transform: uppercase; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid rgba(205,221,224,.24); border-radius: 0; outline: none; color: var(--white); background: #0f1c23; }
.field input[type="file"] { padding: 8px 12px; }
.field input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 10px; border: 1px solid rgba(205,221,224,.28); color: var(--white); background: var(--ink-raised); cursor: pointer; }
.field input[type="file"]::file-selector-button:hover { border-color: var(--signal); color: var(--signal-bright); }
.field select option { color: var(--ink); }
.field textarea { min-height: 124px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--signal); }
.form-foot { grid-column: 1/-1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.form-note { color: #93a2a6; font-size: 12px; }
.form-result { grid-column: 1/-1; padding: 14px; border-left: 2px solid var(--signal); color: #dfe6e4; background: rgba(216,154,50,.08); }

.site-footer { padding: 64px 0 30px; color: var(--white); background: #081217; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr .8fr; gap: 50px; }
.footer-grid h3 { margin-top: 0; color: var(--signal-bright); font-size: 12px; text-transform: uppercase; }
.footer-grid p, .footer-grid a { color: #aeb9bc; font-size: 14px; }
.footer-grid a:hover { color: var(--signal-bright); }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-light); color: #75858b; font-size: 11px; }

.page-hero { position: relative; min-height: 760px; display: flex; align-items: end; overflow: hidden; color: var(--white); background: var(--ink); isolation: isolate; }
.page-hero__media, .page-hero__shade { position: absolute; inset: 0; }
.page-hero__media { isolation: isolate; }
.page-hero__media::after { content: none; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: saturate(.8) contrast(1.08) brightness(.9); }
.page-hero__shade {
  background:
    linear-gradient(180deg, rgba(3, 10, 15, .78) 0, rgba(3, 10, 15, .34) 30%, transparent 55%),
    linear-gradient(90deg, rgba(5,14,20,.66), rgba(5,14,20,.3)),
    linear-gradient(0deg, rgba(5,14,20,.54), transparent 52%);
}
.page-hero__inner { position: relative; z-index: 5; padding-block: calc(var(--concept-h) + var(--header-h) + 56px) clamp(64px, 7vw, 96px); }
.page-hero__lead { max-width: 780px; margin: 26px 0 0; color: #d7dfdf; font-size: 21px; }
.breadcrumbs { margin-bottom: 46px; color: #b1bdc0; font-size: 13px; }
.breadcrumbs a { color: var(--signal-bright); }
.content-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; }
.content-aside { color: #9eb2b8; font-size: 13px; }
.content-body h2 { margin: 0 0 26px; font-size: clamp(38px,4vw,64px); line-height: 1.08; }
.content-body h3 { margin: 48px 0 16px; font-size: 28px; }
.content-body p { max-width: 820px; color: #c0cbce; font-size: 18px; }
.plain-list { margin: 30px 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.plain-list li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.project-gallery { display: grid; grid-template-columns: 1.42fr .58fr; grid-template-rows: 1fr 1fr; gap: 10px; min-height: 720px; }
.project-gallery button { position: relative; min-height: 0; padding: 0; border: 0; overflow: hidden; background: var(--ink-panel); cursor: zoom-in; isolation: isolate; }
.project-gallery button::before { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background-image: linear-gradient(180deg, rgba(4,15,21,.03), rgba(4,15,21,.2)), repeating-linear-gradient(90deg, rgba(155,212,231,.1) 0 1px, transparent 1px 72px); }
.project-gallery button::after { content: "АРХИВ ПРОЕКТА · ТГИ"; position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 48px 14px 12px; color: rgba(235,241,239,.86); background: linear-gradient(0deg, rgba(7,16,23,.9), transparent); font-size: 10px; font-weight: 700; letter-spacing: .08em; text-align: left; }
.project-gallery button:first-child { grid-row: 1/3; }
.project-gallery img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(.15) saturate(.68) contrast(1.1) brightness(.88); transform: translate3d(0,var(--photo-y,0),0) scale(1.025); transition: transform .8s cubic-bezier(.2,.7,.2,1), filter .7s ease; }
.project-gallery button:hover img { transform: translate3d(0,var(--photo-y,0),0) scale(1.055); filter: grayscale(.04) saturate(.82) contrast(1.08) brightness(.92); }
.project-specs { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.project-spec { min-height: 160px; padding: 26px; border-right: 1px solid var(--line); }
.project-spec:last-child { border-right: 0; }
.project-specs { background: var(--ink-raised); }
.project-spec small { display: block; color: #a2b5ba; text-transform: uppercase; }
.project-spec strong { display: block; margin-top: 24px; font-size: 24px; }
dialog.lightbox { width: min(1200px, calc(100% - 40px)); padding: 0; border: 0; background: #081217; }
dialog.lightbox::backdrop { background: rgba(5,12,16,.88); }
.lightbox img { width: 100%; max-height: 88vh; object-fit: contain; }
.lightbox button { position: absolute; right: 12px; top: 12px; width: 44px; height: 44px; border: 1px solid var(--line-light); color: var(--white); background: rgba(7,16,23,.8); cursor: pointer; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.photo-reveal { opacity: 0; transform: translateY(16px) scale(.985); transition: opacity .8s ease, transform 1s cubic-bezier(.2,.7,.2,1); }
.photo-reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

@media (max-width: 1100px) {
  :root { --page: min(100% - 48px, 1200px); }
  .main-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__copy { max-width: 740px; }
  .tech-overlay { left: 34%; opacity: .65; }
  .tech-marker__label { display: none; }
  .directions-layout, .cycle-layout, .brief-layout, .content-grid { gap: 52px; }
  .project-card, .project-card:nth-child(even) { grid-template-columns: minmax(0, 1.35fr) minmax(240px, .85fr); column-gap: 36px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
}

@media (max-width: 780px) {
  :root { --page: calc(100% - 32px); --header-h: 66px; }
  body { font-size: 16px; }
  .concept-bar { font-size: 10px; text-align: center; }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; display: none; padding: 24px 16px; flex-direction: column; align-items: stretch; color: var(--white); background: rgba(10,19,25,.98); box-shadow: 0 18px 28px rgba(0,0,0,.24); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px; }
  .main-nav .header-cta { display: block; }
  .brand__text small { display: none; }
  .hero { min-height: max(930px, 104svh); }
  .hero__inner { padding-block: calc(var(--concept-h) + var(--header-h) + 54px) 72px; align-items: end; }
  .hero h1, .page-hero h1 { font-size: clamp(42px, 11.5vw, 50px); }
  .hero__lead { font-size: 17px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__proof { align-items: flex-start; flex-direction: column; gap: 8px; }
  .hero__proof span + span { padding-left: 0; border: 0; }
  .scroll-cue { display: none; }
  .hero__media img { object-position: 63% center; }
  .tech-overlay { left: 38%; opacity: .42; }
  .tech-grid { opacity: .08; }
  .tech-label { display: none; }
  .tech-marker { display: none; }
  .tech-path:nth-of-type(4), .tech-node:nth-of-type(4) { display: none; }
  .tech-marker__detail { left: auto; right: 28px; width: 210px; }
  .section { padding-block: 68px; }
  .section--compact { padding-block: 54px; }
  .hero-transition { height: 18px; }
  .section-head, .directions-layout, .cycle-layout, .evidence, .brief-layout, .content-grid { grid-template-columns: 1fr; gap: 34px; }
  .section-head { margin-bottom: 42px; }
  .section-title { font-size: clamp(38px, 11vw, 58px); }
  .section-intro { font-size: 17px; }
  .directions-visual { position: relative; min-height: 420px; order: -1; }
  .directions-visual img { min-height: 420px; }
  .direction-row { min-height: 112px; grid-template-columns: 40px 1fr 28px; gap: 12px; }
  .direction-row__body strong { font-size: 21px; }
  .direction-row__body small { font-size: 13px; }
  .cycle-sticky, .brief-copy { position: static; }
  .projects-grid { grid-template-columns: 1fr; gap: 64px; }
  .project-card, .project-card:nth-child(even) { grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; gap: 0; }
  .project-card__image, .project-card:nth-child(even) .project-card__image { grid-column: 1; grid-row: 1; aspect-ratio: 4/3; }
  .project-card:nth-child(even) > :not(.project-card__image), .project-card:nth-child(odd) > :not(.project-card__image) { grid-column: 1; }
  .project-card__meta { grid-row: 2; margin-top: 18px; }
  .project-card h3 { grid-row: 3; }
  .project-card p { grid-row: 4; }
  .facts { grid-template-columns: 1fr; }
  .fact, .fact:nth-child(2) { min-height: 150px; border-right: 0; border-bottom: 1px solid var(--line-light); }
  .fact:last-child { border-bottom: 0; }
  .brief-form { grid-template-columns: 1fr; }
  .field--wide, .form-foot, .form-result { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; }
  .page-hero { min-height: 720px; }
  .page-hero__inner { padding-block: calc(var(--concept-h) + var(--header-h) + 42px) 68px; }
  .project-gallery { grid-template-columns: 1fr; grid-template-rows: 380px 240px 240px; min-height: 0; gap: 8px; }
  .project-gallery button:first-child { grid-row: auto; }
  .project-specs { grid-template-columns: 1fr; }
  .project-spec { min-height: 120px; border-right: 0; border-bottom: 1px solid var(--line); }
  .project-spec:last-child { border-bottom: 0; }
}

@media (max-width: 430px) {
  .section-title { font-size: clamp(36px, 9.6vw, 42px); overflow-wrap: normal; word-break: normal; hyphens: auto; }
}

@media (max-width: 340px) {
  .site-header__inner { gap: 10px; }
  .brand { gap: 8px; font-size: 13px; }
  .brand__mark { width: 42px; height: 34px; flex: 0 0 42px; }
  .menu-toggle { width: 40px; height: 40px; flex: 0 0 40px; }
  .direction-row { grid-template-columns: 34px minmax(0,1fr) 20px; gap: 8px; }
  .direction-row__arrow { width: 20px; font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important; transition-duration: .01ms !important; }
  .reveal, .photo-reveal, .tech-overlay, .tech-marker { opacity: 1; transform: none; }
  .directions-visual img, .project-gallery img { --photo-y: 0px; transform: scale(1.025); }
  .tech-path { stroke-dashoffset: 0; opacity: .72; }
  .tech-node { transform: none; opacity: .86; }
}
