/* =====================================================================
   SIET S.r.l. — site.css
   Dark, flat, square: no border-radius, no drop shadows. Colours only from
   the tokens below; amber is the one accent (the mark, buttons, key figures).
   Light is the motif: the only box-/text-shadows are amber GLOWS of things
   that "switch on" (service lamps, buttons, the current nav item), all
   built from --glow.
   ===================================================================== */

@font-face { font-family: 'Sora'; src: url('/assets/fonts/sora-latin-wght.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Sora'; src: url('/assets/fonts/sora-latin-ext-wght.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg:        #0A0E13;
  --bg-alt:    #04152B;         /* blueprint blue */
  --panel:     #121A23;
  --line:      #222D3A;
  --line-2:    #33445A;
  --text:      #E7ECF2;
  --muted:     #A3AFBE;
  --dim:       #75839A;
  --accent:    #F2B40C;
  --accent-2:  #FFC93A;
  --lit:       #FFF4D0;         /* text of a switched-on element */
  --glow:      255, 201, 58;    /* rgb of --accent-2, for rgba() glows */
  --ink:       #0A0E13;

  --f-head: 'Sora', system-ui, sans-serif;
  --f-body: 'Inter', system-ui, sans-serif;

  --wrap: 76rem;
  --gut: clamp(1rem, 4vw, 2.5rem);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --header-h: 4.5rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.65 var(--f-body);
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: .2em; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-head); font-weight: 600; line-height: 1.15; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
small { font-size: .5em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--accent); color: var(--ink); padding: .75rem 1rem; font-weight: 600; }
.skip:focus { left: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ''; width: 1.5rem; height: 2px; background: currentColor; }

/* ------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.4rem; border: 2px solid var(--accent);
  background: var(--accent); color: var(--ink);
  font: 600 .95rem/1.2 var(--f-body); text-decoration: none; letter-spacing: .01em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .2s, color .2s, border-color .2s, box-shadow .35s, text-shadow .35s;
}
.btn:hover { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); box-shadow: 0 0 24px rgba(var(--glow), .45); }

/* Ghost: an unlit frame. On hover a glint of light sweeps across and the frame switches on. */
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--ghost::before, .btn--ink-ghost::before {
  content: ''; position: absolute; inset: -2px; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(var(--glow), .38) 50%, transparent 70%);
  transform: translateX(-115%); transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.btn--ghost:hover, .btn--ghost:focus-visible {
  background: rgba(var(--glow), .06); color: var(--lit); border-color: var(--accent-2);
  text-shadow: 0 0 10px rgba(var(--glow), .7);
  box-shadow: 0 0 18px rgba(var(--glow), .35), inset 0 0 14px rgba(var(--glow), .18);
}
.btn--ghost:hover::before, .btn--ghost:focus-visible::before,
.btn--ink-ghost:hover::before { transform: translateX(115%); }

/* On the amber CTA band: ink buttons, the glint is white light. */
.btn--ink { background: var(--ink); border-color: var(--ink); color: var(--text); }
.btn--ink:hover { background: #1A232E; border-color: #1A232E; color: #fff; box-shadow: none; }
.btn--ink-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ink-ghost::before { background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); }
.btn--ink-ghost:hover { background: transparent; border-color: var(--ink); color: var(--ink); box-shadow: none; }

.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--accent); text-decoration: none; }
.link-arrow::after { content: '→'; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(4px); }

/* ------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 19, .92); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--text); }
.brand .mark { width: 2.4rem; height: 2.4rem; color: var(--accent); flex: none; }
.brand__text { display: flex; align-items: center; gap: .75rem; }
.brand__name { font: 700 1.45rem/1 var(--f-head); letter-spacing: .04em; }
.brand__tag { font-size: .68rem; line-height: 1.25; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-left: 1px solid var(--line-2); padding-left: .75rem; }

.nav__list { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
/* The underline is a filament: half-lit on hover, fully lit (with its glow) on the current page. */
.nav__link {
  --px: .9rem;
  display: block; position: relative; padding: .6rem var(--px); text-decoration: none; color: var(--muted);
  font-weight: 500; font-size: .95rem; transition: color .2s, text-shadow .3s;
}
.nav__link::after {
  content: ''; position: absolute; left: var(--px); right: var(--px); bottom: .15rem; height: 2px;
  background: var(--accent-2); transform: scaleX(0); transform-origin: left; opacity: 0;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), opacity .3s, box-shadow .3s;
}
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { transform: scaleX(1); opacity: .5; }
.nav__link[aria-current="page"] { color: var(--lit); text-shadow: 0 0 12px rgba(var(--glow), .35); }
.nav__link[aria-current="page"]::after {
  transform: scaleX(1); opacity: 1;
  box-shadow: 0 0 6px rgba(var(--glow), .9), 0 0 16px rgba(var(--glow), .45);
}

/* ------------------------------------------------------------- hero (full bleed) */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(52rem, calc(100svh - var(--header-h)));
  display: flex; align-items: flex-end;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg-alt);
}
.hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 55% 8%; } /* anchored high: sky, not the base of the towers */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10,14,19,.93) 0%, rgba(10,14,19,.06) 38%, rgba(10,14,19,0) 75%, rgba(10,14,19,.1) 100%),
    linear-gradient(0deg, rgba(10,14,19,.79) 0%, rgba(10,14,19,0) 45%);
}
.hero::after { /* engineering-drawing tick line along the bottom edge */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 40px);
  opacity: .8;
}
.hero__inner { padding-block: clamp(4rem, 12vh, 8rem) clamp(3.5rem, 9vh, 6rem); }
.hero__title { font-size: clamp(2.3rem, 1.2rem + 4.6vw, 4.6rem); font-weight: 600; max-width: 15ch; letter-spacing: -.025em; }
.hero__lead { max-width: 38rem; margin: 1.5rem 0 0; font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: #C9D2DD; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* ------------------------------------------------------------- facts strip */
.facts { border-bottom: 1px solid var(--line); background: var(--bg); }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.fact { padding: 2rem 1.5rem 2rem 0; display: flex; flex-direction: column; gap: .5rem; }
.fact + .fact { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.fact__n { font: 600 clamp(2rem, 1.4rem + 2vw, 2.8rem)/1 var(--f-head); color: var(--accent); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.fact__n small { font-size: .45em; margin-left: .2em; color: var(--muted); letter-spacing: .04em; }
.fact__l { font-size: .9rem; color: var(--muted); line-height: 1.45; max-width: 16rem; }

/* ------------------------------------------------------------- sections */
.section { padding-block: var(--sec); }
.section--alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.section__head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 46rem; }
.section__head--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; max-width: none; }
.section__head--row > div:first-child { max-width: 46rem; }
.section__lead { margin-top: 1rem; color: var(--muted); }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem clamp(2rem, 6vw, 6rem); align-items: start; }
.prose { color: #CDD5DF; max-width: 44rem; }
.prose .ticks { margin: 0 0 1em; }
.quote {
  font: 500 clamp(1.15rem, 1rem + .6vw, 1.45rem)/1.5 var(--f-head); color: var(--text);
  border-left: 3px solid var(--accent); padding-left: 1.25rem; margin-bottom: 1.5em; letter-spacing: -.01em;
}

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.4rem; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .62em; width: .55rem; height: .55rem; background: var(--accent); }

/* areas: two text panels + the diagram */
.areas { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.area { background: var(--bg); padding: clamp(1.5rem, 3vw, 2.5rem); margin: 0; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.area--diagram > * { min-width: 0; }
.area h3 { font-size: 1.6rem; }
.area p { color: var(--muted); }
.area__idx { font: 600 .78rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.area--diagram { grid-column: 1 / -1; background: var(--bg-alt); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); align-items: center; gap: 2rem; }
.area--diagram figcaption { order: -1; font-size: .95rem; color: var(--muted); border-left: 3px solid var(--accent); padding-left: 1rem; }

.diagram { width: 100%; height: auto; max-height: 20rem; }
.diagram__lines { fill: none; stroke: var(--line-2); stroke-width: 2; }
.diagram__lines rect { fill: var(--bg-alt); }
.diagram__bus { stroke: var(--muted); stroke-width: 5; }
.diagram__flow { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 12; animation: flow 1.6s linear infinite; }
.diagram__nodes { fill: var(--accent); }
.diagram__labels { font: 500 11px var(--f-body); letter-spacing: .08em; text-transform: uppercase; fill: var(--muted); }
.diagram__dim { fill: var(--dim); }
.diagram__hi { fill: var(--accent); font-weight: 600; }
@keyframes flow { to { stroke-dashoffset: -36; } }

/* services: numbered tiles. The number is a lamp: on hover (or, on touch screens, when the
   section scrolls in: .is-lit from site.js) it flickers on like a tube and throws a cone of
   light over the card; on leave it fades out slowly, like a cooling filament. */
.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: var(--bg-alt); padding: 2rem 1.75rem 2.25rem; position: relative; overflow: hidden; isolation: isolate; }
.services li::before { /* the light cone */
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(9rem 9rem at 3.1rem 3.4rem, rgba(var(--glow), .28), transparent 70%),
    radial-gradient(34rem 20rem at 3.1rem 3.4rem, rgba(var(--glow), .13), rgba(var(--glow), .04) 45%, transparent 75%);
  opacity: 0; transition: opacity .9s ease-out;
}
.services li::after { content: ''; position: absolute; left: 0; top: 0; width: 0; height: 3px; background: var(--accent); transition: width .25s; }
.services li:hover::after, .services li.is-lit::after { width: 100%; }

.lamp {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 2rem;
  border: 1px solid var(--line-2); background: var(--bg);
  font: 600 .85rem/1 var(--f-head); letter-spacing: .06em; color: var(--dim);
  transition: color .9s, border-color .9s, background-color .9s, box-shadow .9s, text-shadow .9s;
}
.services li:hover .lamp, .services li.is-lit .lamp {
  color: var(--lit); border-color: var(--accent-2); background: rgba(var(--glow), .16);
  text-shadow: 0 0 4px rgba(var(--glow), .95), 0 0 14px rgba(var(--glow), .8);
  box-shadow: 0 0 0 1px rgba(var(--glow), .3), 0 0 22px rgba(var(--glow), .5), inset 0 0 12px rgba(var(--glow), .3);
  transition-duration: .08s;
  animation: lamp-on .75s linear;
}
.services li:hover::before, .services li.is-lit::before { opacity: 1; transition-duration: .08s; animation: lamp-on .75s linear; }
@keyframes lamp-on { /* a fluorescent tube striking */
  0%   { opacity: .15; }  8% { opacity: 1; }  14% { opacity: .2; }
  26%  { opacity: 1; }   32% { opacity: .45; } 40% { opacity: 1; } 100% { opacity: 1; }
}
.services h3 { margin-bottom: .6rem; }
.services p { color: var(--muted); font-size: .97rem; }

/* duo panels */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2vw, 1.5rem); }
.panel { background: var(--panel); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(1.5rem, 3vw, 2.25rem); color: #CDD5DF; }
.panel .area__idx { display: block; margin-bottom: 1.25rem; }
.panel .ticks { margin-top: 1rem; }

/* clients */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); counter-reset: cl; }
.clients li { counter-increment: cl; background: var(--bg); padding: 1.5rem; font-weight: 500; line-height: 1.45; display: flex; flex-direction: column; gap: 1rem; }
.clients li::before { content: counter(cl, upper-alpha); display: grid; place-items: center; width: 2rem; height: 2rem; border: 1px solid var(--line-2); color: var(--accent); font: 600 .85rem/1 var(--f-head); }

/* references */
.refs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.ref { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 13rem; gap: .75rem 2rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.ref[hidden] { display: none; }
.ref__year { font: 600 .95rem/1.4 var(--f-head); color: var(--accent); font-variant-numeric: tabular-nums; }
.ref__title { font-size: 1.15rem; margin-bottom: .35rem; }
.ref__client { font-size: .9rem; color: var(--text); font-weight: 500; margin-bottom: .5rem; }
.ref__scope { color: var(--muted); font-size: .95rem; margin-bottom: .5rem; }
.ref__amount { font-size: .85rem; color: var(--dim); font-variant-numeric: tabular-nums; }
.ref__specs { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; align-content: flex-start; justify-content: flex-end; }
.chip { font: 600 .72rem/1 var(--f-body); letter-spacing: .06em; text-transform: uppercase; padding: .45rem .55rem; border: 1px solid var(--line-2); color: var(--muted); white-space: nowrap; }
.chip--sector { border-color: var(--accent); color: var(--accent); }

.filter { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid var(--line-2); }
.filter__btn {
  appearance: none; border: 0; border-right: 1px solid var(--line-2); background: transparent; color: var(--muted);
  font: 600 .85rem/1 var(--f-body); padding: .8rem 1rem; cursor: pointer;
}
.filter__btn:last-child { border-right: 0; }
.filter__btn:hover { color: var(--text); }
.filter__btn[aria-pressed="true"] { background: var(--accent); color: var(--ink); }

/* page head (inner pages) */
.page-head {
  padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg-alt);
  position: relative;
}
.page-head::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg-alt) 20%, rgba(4,21,43,.6) 100%); }
.page-head > .wrap { position: relative; }
.page-head__title { font-size: clamp(2rem, 1.2rem + 3.2vw, 3.5rem); max-width: 22ch; letter-spacing: -.02em; }
.page-head__lead { margin-top: 1.25rem; max-width: 42rem; color: var(--muted); font-size: 1.1rem; }

/* contacts */
.contacts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact { background: var(--bg); padding: 1.75rem 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.contact--wide { grid-column: 1 / -1; background: var(--panel); }
.contact__k { font: 600 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.contact__v { font: 500 1.15rem/1.45 var(--f-head); color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
a.contact__v:hover { color: var(--accent-2); }
.contact--wide .contact__v { font-size: 1.5rem; }
.note { margin-top: 2rem; color: var(--muted); font-size: .95rem; }

.prose--legal h2 { font-size: 1.25rem; margin: 2.25rem 0 .75rem; }
.prose--legal h2:first-child { margin-top: 0; }

/* CTA band */
.cta { background: var(--accent); color: var(--ink); }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.5rem, 6vw, 4rem); }
.cta__title { font-size: clamp(1.4rem, 1rem + 1.6vw, 2.1rem); max-width: 26ch; margin-bottom: .5rem; }
.cta p { color: #2A2410; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* footer */
.site-footer { background: #070A0E; border-top: 1px solid var(--line); color: var(--muted); font-size: .93rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 2rem; padding-block: 3.5rem 2.5rem; }
.brand--footer { align-items: flex-start; }
.brand--footer .brand__text { flex-direction: column; align-items: flex-start; gap: .4rem; }
.brand--footer .brand__name { font-size: 1.1rem; letter-spacing: .01em; }
.brand--footer .brand__tag { border: 0; padding: 0; }
.site-footer__h { font: 600 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin-bottom: 1rem; }
.site-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.site-footer__list span { color: var(--dim); display: inline-block; min-width: 3.5rem; }
.site-footer a { text-decoration: none; overflow-wrap: anywhere; }
.site-footer a:hover { color: var(--accent-2); }
.site-footer__base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.25rem; font-size: .82rem; color: var(--dim); }

/* ------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  .facts__grid { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { padding-left: 0; border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .ref { grid-template-columns: 6rem minmax(0, 1fr); }
  .ref__specs { grid-column: 2; justify-content: flex-start; }
  .contacts { grid-template-columns: 1fr 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --header-h: auto; }
  .site-header { position: static; }
  .site-header__bar { flex-direction: column; align-items: stretch; gap: 0; padding-block: .75rem 0; }
  .nav { margin-inline: calc(var(--gut) * -1); border-top: 1px solid var(--line); margin-top: .75rem; }
  .nav__list { justify-content: space-between; padding-inline: var(--gut); gap: 0; }
  .nav__link { --px: .4rem; padding: .8rem var(--px); }
  .hero { min-height: 36rem; }
  .hero__img { object-position: 66% 15%; }
  .hero::before { background: linear-gradient(0deg, rgba(10,14,19,.97) 0%, rgba(10,14,19,.85) 45%, rgba(10,14,19,.35) 80%, rgba(10,14,19,.15) 100%); }
  .areas, .duo, .services, .area--diagram { grid-template-columns: 1fr; }
  .diagram-scroll { overflow-x: auto; }
  .area--diagram figcaption { order: 0; }
  .diagram { min-width: 31rem; }
  .ref { grid-template-columns: 1fr; gap: .5rem; }
  .ref__specs { grid-column: auto; }
  .contacts { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
}
@media (max-width: 380px) {
  .brand__tag { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
