:root {
  --ink: #111729;
  --muted: #657086;
  --paper: #f7f7f2;
  --white: #fff;
  --acid: #dfe7d7;
  --irenica-card-blue: #dce8ff;
  --sage: #dfead7;
  --rose: #f0dfe5;
  --sand: #eee7d8;
  --line: rgba(17, 23, 41, .13);
  --section-title-size: clamp(38px, 4vw, 54px);
  --section-title-line-height: 1.04;
  --section-eyebrow-size: 11px;
  --section-eyebrow-line-width: 28px;
  --section-eyebrow-line-height: 1px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { width: 100%; max-width: 100%; overflow-x: hidden; }
body { width: 100%; max-width: 100%; overflow-x: hidden; color: var(--ink); background: var(--paper); font-family: var(--sans); }
h1, h2, h3 { font-family: var(--serif); letter-spacing: 0; }

/* Техническая графика связана с конкретным содержанием, а не разбросана по фону. */
.hero-caliper { position: absolute !important; z-index: 2 !important; right: -12px; bottom: 6px; width: 205px !important; height: auto !important; aspect-ratio: auto !important; padding: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; opacity: .42; transform: none !important; }
.service-grid article { position: relative; overflow: hidden; isolation: isolate; }
.service-grid article > :not(.service-drawing) { position: relative; z-index: 1; }
.service-drawing { position: absolute; z-index: 0; right: -28px; bottom: -34px; width: 245px; height: 245px; object-fit: contain; opacity: .105; filter: saturate(.65); }
.service-grid article:nth-child(2) .service-drawing { right: -18px; bottom: -38px; width: 205px; height: 235px; }
.service-grid article:nth-child(3) .service-drawing { right: -38px; bottom: -35px; width: 250px; height: 250px; }
.service-grid article h3 { margin-top: 58px; }
.service-variants { display: grid; gap: 120px; margin-top: 80px; }
.service-variant { min-width: 0; }
.service-variant > header { display: flex; align-items: baseline; gap: 18px; margin-bottom: 28px; padding-bottom: 13px; border-bottom: 1px solid var(--line); }
.service-variant > header b { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.service-variant > header span { color: var(--muted); font-size: 14px; }
.service-variant .service-grid { margin-top: 0; }
.service-variant .service-grid article { min-height: 310px; }

/* 01 — объекты выступают из карточек и связывают сетку с воздухом вокруг. */
.variant-1 .service-grid { margin-top: 100px; overflow: visible; }
.variant-1 .service-grid article { overflow: visible; }
.variant-1 .service-drawing { top: -104px; right: 24px; bottom: auto; width: 170px; height: 145px; opacity: .72; filter: none; }
.variant-1 .service-grid article:nth-child(2) .service-drawing { top: -98px; right: 48px; width: 105px; height: 140px; }
.variant-1 .service-grid article:nth-child(3) .service-drawing { top: -90px; right: 30px; width: 150px; height: 120px; }

/* 02 — отдельная общая техническая композиция, карточки остаются чистыми. */
.shared-blueprint { display: grid; grid-template-columns: 1fr 1.4fr 1fr; align-items: center; height: 220px; margin-bottom: 24px; padding: 20px 7%; border-bottom: 1px solid var(--line); }
.shared-blueprint img { width: 100%; height: 180px; object-fit: contain; opacity: .66; }
.shared-blueprint img:nth-child(2) { height: 105px; }
.shared-blueprint img:nth-child(3) { height: 140px; }

/* 03 — виден только выразительный фрагмент контура у внешнего края. */
.variant-3 .service-drawing { top: 25px; right: -172px; bottom: auto; width: 245px; height: 260px; opacity: .38; filter: none; }
.variant-3 .service-grid article:nth-child(2) .service-drawing { top: 38px; right: -105px; width: 155px; height: 225px; }
.variant-3 .service-grid article:nth-child(3) .service-drawing { top: 34px; right: -145px; width: 215px; height: 220px; }

/* 04 — белые карточки, цвет работает только как плоскость под чертежом. */
.variant-4 .service-grid article { background: #fff; }
.variant-4 .service-grid article::before { content: ""; position: absolute; z-index: 0; top: 26px; right: 24px; width: 132px; height: 132px; border-radius: 22px; background: var(--irenica-card-blue); }
.variant-4 .service-grid article:nth-child(2)::before { background: var(--sage); }
.variant-4 .service-grid article:nth-child(3)::before { background: var(--rose); }
.variant-4 .service-drawing { top: 37px; right: 35px; bottom: auto; width: 110px; height: 110px; opacity: .68; filter: none; }
.variant-4 .service-grid article:nth-child(2) .service-drawing,
.variant-4 .service-grid article:nth-child(3) .service-drawing { top: 37px; right: 35px; width: 110px; height: 110px; }

/* 05 — изображение занимает собственную вертикальную полосу. */
.variant-5 .service-grid article { display: grid; grid-template-columns: 88px 1fr; gap: 24px; padding-left: 22px; }
.variant-5 .service-drawing { position: static; align-self: stretch; width: 82px; height: 100%; padding-right: 16px; border-right: 1px solid rgba(17,23,41,.12); opacity: .62; filter: none; }
.variant-5 .service-grid article:nth-child(2) .service-drawing,
.variant-5 .service-grid article:nth-child(3) .service-drawing { width: 82px; height: 100%; }
.variant-5 .service-grid h3 { margin-top: 42px; }

/* 06 — изображения собраны в самостоятельную чертёжную строку. */
.drawing-row { display: grid; grid-template-columns: repeat(3,1fr); align-items: center; height: 190px; margin-bottom: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.drawing-row img { width: 100%; height: 145px; padding: 15px 45px; object-fit: contain; border-right: 1px solid var(--line); opacity: .7; }
.drawing-row img:last-child { border-right: 0; }

/* 07 — чертёж становится функциональным маркером вместо номера. */
.variant-7 .service-drawing { position: static; width: 122px; height: 96px; margin: 0 0 20px; object-fit: contain; opacity: .72; filter: none; }
.variant-7 .service-grid article:nth-child(2) .service-drawing,
.variant-7 .service-grid article:nth-child(3) .service-drawing { width: 122px; height: 96px; }
.variant-7 .service-grid h3 { margin-top: 18px; }
.material-drawing { display: grid; grid-template-columns: 150px 1fr; align-items: center; gap: 22px; width: min(390px, 100%); margin: 42px 0 0; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.material-drawing img { width: 150px; height: 112px; object-fit: contain; opacity: .72; }
.material-drawing figcaption { color: #aeb6c4; font-size: 12px; line-height: 1.55; }
.process .section-head { display: block; }
.process .section-head .eyebrow { font-size: 10px; }
.process-drawing { width: 190px; height: 155px; justify-self: end; object-fit: contain; opacity: .46; }

.header {
  width: min(1340px, calc(100% - 48px));
  height: 92px;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
}
.brand { gap: 12px; color: var(--ink); font-size: 19px; letter-spacing: 0; }
.brand b { color: inherit; }
.brand img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; background: var(--ink); }
.header nav { gap: 38px; margin-left: auto; font-size: 13px; }
.header nav a { position: relative; }
.header nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 1px; background: currentColor; transition: right .25s; }
.header nav a:hover::after { right: 0; }
.header-cta { margin-left: 38px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; }

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: calc(100vh - 92px);
  margin: auto;
  padding: 60px 0 110px;
  gap: 70px;
  overflow: visible;
}
.eyebrow { gap: 10px; margin-bottom: 24px; color: var(--ink); font-size: var(--section-eyebrow-size); line-height: 1; letter-spacing: .16em; }
.eyebrow span { width: var(--section-eyebrow-line-width); height: var(--section-eyebrow-line-height); flex: 0 0 var(--section-eyebrow-line-width); background: var(--ink); }
.hero h1 { font-weight: 500; font-size: clamp(56px, 6vw, 88px); line-height: .98; }
.hero h1 em { color: #6c8108; font-weight: 400; }
.lead { max-width: 590px; margin: 30px 0 0; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-actions { margin-top: 32px; gap: 18px; flex-direction: column; align-items: flex-start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: auto; padding: 15px 21px; border: 0; border-radius: 999px; font-size: 13px; }
.primary { background: var(--ink); }
.mail-button { color: var(--ink); border: 1px solid var(--line); background: #fff; }
.mail-button:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
.contact-button { gap: 9px; }
.contact-button svg { width: 18px; height: 18px; flex: none; fill: currentColor; stroke: currentColor; stroke-width: 1.5; }
.mail-button svg { fill: none; }
.hero-actions .works-link { padding-top: 4px; padding-bottom: 6px; }
.ghost { border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; padding-inline: 0; background: transparent; }
.ghost:hover { background: transparent; }
.hero-facts { margin-top: 28px; border-color: var(--line); }
.hero-facts .hero-fact-size { flex: 1.45; }
.hero-facts .hero-fact-size b { white-space: nowrap; font-size: 14px; }
.hero-facts span { color: var(--muted); }
.hero-visual { min-height: 570px; isolation: isolate; }
.hero-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: var(--acid); z-index: -2; }
.hero-visual::after { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid var(--line); border-radius: 50%; z-index: -3; }
.orange-orbit { inset: auto; width: 520px; height: 280px; border: 1px solid var(--line); transform: rotate(-24deg); }
.hero-visual img { width: min(92%, 520px); aspect-ratio: 4 / 3; object-fit: contain; padding: 22px; border-radius: 34px; background: rgba(255,255,255,.82); box-shadow: 0 32px 70px rgba(17,23,41,.18); transform: rotate(-3deg); }
.hero-label { left: 5%; bottom: 28px; border-radius: 18px; color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 18px 45px rgba(17,23,41,.12); }

.ticker { height: 62px; color: var(--ink); background: var(--acid); font: 700 12px var(--sans); letter-spacing: .08em; }
.ticker .ticker-track { display: flex; width: max-content; min-width: 0; animation: ticker-loop 24s linear infinite; }
.ticker .ticker-set { flex: none; width: max-content; padding: 0; color: var(--ink); }
.ticker .ticker-set i { padding: 0 26px; color: #6c8108; font-style: normal; }
@keyframes ticker-loop { to { transform: translateX(-16.666667%); } }
.section { width: 100%; max-width: 100%; padding: 100px max(24px, calc((100% - 1180px) / 2)); }
.section-head h2, .material-intro h2, .contact h2 { font-weight: 500; font-size: var(--section-title-size); line-height: var(--section-title-line-height); }
.section-note, .service-grid p, .material-intro > p:last-child, .process p { color: var(--muted); }

.service-grid { gap: 22px; margin-top: 60px; border: 0; }
.service-grid article, .service-grid article + article { min-height: 340px; padding: 34px; border: 0; border-radius: 28px; }
.service-grid article:nth-child(1) { background: var(--irenica-card-blue); }
.service-grid article:nth-child(2) { background: var(--sage); }
.service-grid article:nth-child(3) { background: var(--rose); }
.service-grid h3 { margin-top: 58px; font-size: 31px; font-weight: 500; }
.num { color: var(--muted); }

.works { color: var(--ink); background: #eef1e8; }
.works .eyebrow, .works .section-note { color: inherit; }
.gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: auto; gap: 22px; }
.gallery figure, .gallery .wide { grid-column: span 1; min-height: 390px; border: 0; border-radius: 28px; background: var(--white); box-shadow: 0 18px 55px rgba(17,23,41,.07); }
.gallery figure img { height: 280px; aspect-ratio: auto; object-fit: contain; padding: 18px; background: #fff; }
.gallery figcaption { min-height: 108px; padding: 20px 22px; color: var(--ink); background: transparent; }
.gallery figcaption span { color: #6c8108; }
.portfolio-button { color: #fff; border: 0; background: var(--ink); }

.works .section-head h2 a { display: inline-block; border-bottom: 1px solid transparent; }
.works .section-head h2 a:hover { border-color: currentColor; }
.portfolio-title { display: flex; align-items: center; gap: 16px; }
.mosaic-refresh { display: grid; place-items: center; width: 46px; height: 46px; flex: none; padding: 0; border: 1px solid var(--line); border-radius: 50%; color: var(--ink); background: transparent; cursor: pointer; transition: transform .25s, background .25s; }
.mosaic-refresh:hover { background: #fff; transform: rotate(30deg); }
.mosaic-refresh:active { transform: rotate(120deg) scale(.92); }
.mosaic-refresh svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.portfolio-mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); width: min(760px, 100%); gap: 8px; margin: 46px auto 0; }
.portfolio-mosaic a { position: relative; aspect-ratio: 1; min-width: 0; overflow: hidden; border-radius: 12px; background: #fff; }
.portfolio-mosaic img { width: 100%; height: 100%; padding: 8px; object-fit: contain; transition: transform .3s ease; }
.portfolio-mosaic a:hover img { transform: scale(1.06); }
.portfolio-mosaic a:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }

/* Единая подборка примеров: без искусственного деления заказов на категории. */
.works .gallery {
  grid-template-columns: 1.35fr .8fr 1fr;
  grid-template-rows: 260px 210px;
  gap: 14px;
  margin-top: 54px;
  padding: 0;
  border: 0;
  background: transparent;
}
.works .gallery figure,
.works .gallery .wide {
  min-height: 0;
  margin: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: none;
}
.works .gallery figure:first-child { grid-row: span 2; }
.works .gallery figure:nth-child(4) { grid-column: span 2; }
.works .gallery figure:nth-child(n+6) { display: none; }
.works .gallery figure > img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: 18px;
  object-fit: contain;
  background: #fff;
}

.materials { color: #f5f6ed; background: var(--ink); }
.materials .eyebrow { color: #f5f6ed; }
.materials .eyebrow span { background: var(--acid); }
.material-intro h2, .material-list b { color: var(--acid); }
.material-list div { border-color: rgba(255,255,255,.18); }
.material-list span { color: #aeb6c4; }
.process ol { gap: 18px; margin-top: 38px; border: 0; }
.process { padding-bottom: 52px; }
.process li, .process li + li { min-height: 300px; padding: 28px; border: 0; border-radius: 24px; }
.process li:nth-child(1) { background: var(--irenica-card-blue); }
.process li:nth-child(2) { background: var(--sand); }
.process li:nth-child(3) { background: var(--rose); }
.process li:nth-child(4) { background: var(--sage); }
.process h3 { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.contact { margin: 0; grid-template-columns: 1fr 1fr; gap: 80px; padding-top: 105px; padding-bottom: 105px; color: var(--ink); background: var(--irenica-card-blue); }
.contact .light { color: var(--ink); }
.contact .eyebrow span { background: var(--ink); }
.contact h2 { max-width: 560px; }
.contact-side p, .contact-side small { color: var(--muted); }
.contact-links { display: grid; grid-template-columns: repeat(2, minmax(190px, 1fr)); gap: 12px; }
.contact-links .button { white-space: nowrap; }
.contact-links .contact-mail { color: var(--ink); border: 1px solid rgba(17,23,41,.2); background: rgba(255,255,255,.68); }
.contact-links .contact-mail:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
.contact-links .contact-mail svg { fill: none; }
.light-button { color: #fff; border: 0; background: var(--ink); }
.contact-button { transition: color .2s, background .2s, border-color .2s, transform .2s; }
.contact-button:hover { color: #fff; border-color: #6c8108; background: #6c8108; transform: translateY(-2px); }
.location { display: grid; grid-template-columns: .72fr 1.28fr; align-items: stretch; gap: 64px; background: var(--paper); }
.location-copy { align-self: center; }
.location h2 { max-width: 430px; font-weight: 500; font-size: clamp(40px, 4vw, 58px); line-height: 1.04; }
.location address { margin-top: 22px; color: var(--ink); font-size: 23px; font-style: normal; line-height: 1.45; }
.metro-list { display: grid; gap: 14px; margin: 32px 0 0; padding: 0; list-style: none; }
.metro-list li { display: grid; grid-template-columns: minmax(180px,1fr) auto; align-items: center; gap: 20px; font-size: 13px; }
.metro-list b { font-weight: 650; }
.metro-list small { color: var(--muted); font-size: 12px; line-height: 1.25; }
.metro-stations { display: grid; gap: 7px; }
.metro-station { display: flex; align-items: center; gap: 10px; }
.metro-meta { display: grid; gap: 3px; text-align: right; }
.metro-list li:not(:last-child) { padding-bottom: 17px; border-bottom: 1px solid var(--line); }
.metro-dot { display: block; width: 14px; height: 14px; border: 3px solid rgba(255,255,255,.9); border-radius: 50%; box-shadow: 0 0 0 1px rgba(17,23,41,.12); }
.metro-purple { background: #7b3f98; }
.metro-gray { background: #8a8a8a; }
.metro-green { background: #2a9d47; }
.metro-brown { background: #8b5a3c; }
.location-link { display: inline-block; margin-top: 24px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 700; }
.location-map { min-height: 420px; overflow: hidden; border-radius: 28px; background: #e8e8e2; }
.location-map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
.site-footer { min-height: 0; padding: 58px max(24px, calc((100% - 1180px) / 2)) 28px; color: #fff; background: #080d19; display: block; }
.site-footer .footer-inner { display: grid; grid-template-columns: .8fr 1.2fr 1fr; gap: 48px; align-items: start; }
.site-footer .brand { color: #fff; }
.site-footer .footer-owner { color: #8993a5; font-size: 12px; line-height: 1.75; }
.site-footer .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-size: 12px; }
.site-footer .footer-links a { border-bottom: 1px solid rgba(255,255,255,.28); }
.site-footer .footer-note { margin: 42px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: #707b8f; font-size: 11px; }
.cookie-notice { position: fixed; z-index: 30; right: 18px; bottom: 18px; width: min(440px, calc(100% - 36px)); display: flex; align-items: center; gap: 18px; padding: 15px 16px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); background: rgba(255,255,255,.97); box-shadow: 0 18px 55px rgba(17,23,41,.16); }
.cookie-notice[hidden] { display: none; }
.cookie-notice p { margin: 0; font-size: 12px; line-height: 1.45; }
.cookie-notice a { border-bottom: 1px solid currentColor; }
.cookie-notice button { flex: none; padding: 9px 14px; border: 0; border-radius: 999px; color: #fff; background: var(--ink); font: 700 12px var(--sans); cursor: pointer; }
.cookie-notice button:hover { background: #6c8108; }

/* Portfolio */
.portfolio-page { color: var(--ink); background: var(--paper); }
.portfolio-page .header { border: 0; background: transparent; }
.portfolio-page .brand-mark { color: #fff; background: var(--ink); }
.portfolio-page .header-cta { color: var(--ink); }
.portfolio-hero { width: min(1180px, calc(100% - 48px)); margin: auto; padding: 85px 0 70px; border: 0; }
.portfolio-hero h1 { font-weight: 500; font-size: clamp(58px, 7vw, 92px); }
.portfolio-hero p { color: var(--muted); line-height: 1.7; }
.portfolio-kicker { color: #6c8108 !important; }
.filters { top: 0; gap: 8px; padding: 14px max(24px, calc((100% - 1180px) / 2)); border: 0; background: rgba(247,247,242,.94); box-shadow: 0 1px 0 var(--line); }
.filter { padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); background: rgba(255,255,255,.52); }
.filter:hover, .filter.active { color: var(--ink); border-color: var(--acid); background: var(--acid); }
.portfolio-grid { width: min(1340px, calc(100% - 48px)); margin: auto; padding: 42px 0 110px; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; }
.project { border: 0; border-radius: 22px; background: #fff; box-shadow: 0 14px 40px rgba(17,23,41,.07); }
.project:hover { border-color: transparent; box-shadow: 0 20px 50px rgba(17,23,41,.12); }
.project img { background: #fff; }
.project figcaption { min-height: 112px; padding: 16px 17px 18px; }
.project small { color: #6c8108; }
.project b { color: var(--ink); font-size: 13px; }
.project em { color: #8a93a4; }
.portfolio-page footer { border: 0; }

@media (max-width: 1100px) {
  .gallery, .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .header nav { gap: 20px; }
  .hero { grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { min-height: 500px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 280px; }
  .gallery, .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .works .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 220px 220px; }
  .works .gallery figure:first-child { grid-row: span 1; }
  .works .gallery figure:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 680px) {
  body { overflow-x: hidden; }
  .header { width: calc(100% - 32px); height: 74px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand img { width: 42px; height: 42px; }
  .header nav { display: none; }
  .header-cta { display: none; }
  .hero { position: relative; display: block; width: calc(100% - 32px); min-height: auto; padding: 48px 0 56px; }
  .hero h1 { max-width: 100%; font-size: clamp(38px, 10.5vw, 46px); overflow-wrap: anywhere; }
  .hero-copy, .portfolio-hero > * { min-width: 0; }
  .hero-visual { position: absolute; right: 0; bottom: 48px; width: 43%; min-height: 175px; margin: 0; transform: none; }
  .hero-visual::before { width: 145px; height: 145px; }
  .hero-visual::after { width: 165px; height: 165px; }
  .orange-orbit { width: 175px; height: 105px; }
  .hero-visual img { width: 155px; padding: 9px; border-radius: 18px; box-shadow: 0 18px 38px rgba(17,23,41,.14); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 14px; }
  .hero-facts { width: 52%; gap: 13px; flex-direction: column; flex-wrap: nowrap; }
  .hero-facts li, .hero-facts .hero-fact-size { min-width: 0; flex: none; padding-top: 12px; }
  .hero-facts li + li { padding-top: 12px; border-top: 1px solid var(--line); }
  .hero-facts .hero-fact-size b { white-space: normal; line-height: 1.25; }
  .ticker { height: 40px; font-size: 10px; font-weight: 650; letter-spacing: .04em; text-transform: lowercase; }
  .ticker .ticker-set i { padding: 0 15px; font-size: 8px; }
  .section { padding: 60px 20px; }
  :root { --section-title-size: 36px; }
  .portfolio-title { gap: 10px; }
  .mosaic-refresh { width: 40px; height: 40px; }
  .gallery { grid-template-columns: 1fr; }
  .services, .process { display: flex; flex-direction: column; }
  .service-grid { gap: 8px; margin-top: 26px; }
  .service-grid article, .service-grid article + article { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 5px 10px; min-height: 0; padding: 14px 16px; border: 0; border-radius: 18px; }
  .service-grid .num { grid-row: 1 / 3; padding-top: 3px; font-size: 11px; }
  .service-grid h3 { margin: 0; font-size: 20px; line-height: 1.14; }
  .service-grid p { font-size: 13px; line-height: 1.35; }
  .portfolio-mosaic { gap: 5px; margin-top: 34px; }
  .portfolio-mosaic a { border-radius: 7px; }
  .portfolio-mosaic img { padding: 4px; }
  .materials { gap: 20px; padding-top: 38px; padding-bottom: 38px; }
  .materials .eyebrow { margin-bottom: 14px; }
  .material-intro h2 { font-size: 26px; line-height: 1.08; }
  .material-list div { grid-template-columns: 56px 1fr; padding: 10px 2px; }
  .material-list b { font-size: 18px; }
  .material-list span { font-size: 12px; line-height: 1.35; }
  .works .gallery { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; gap: 8px; margin-right: 0; padding-right: 0; overflow: visible; }
  .works .gallery figure { width: auto; min-width: 0; border-radius: 14px; }
  .works .gallery figure:first-child { grid-column: span 2; }
  .gallery figure { min-height: 0; }
  .gallery figure img { height: 300px; }
  .portfolio-hero { width: calc(100% - 32px); padding: 58px 0 42px; }
  .portfolio-hero h1 { font-size: clamp(46px, 15vw, 64px); }
  .portfolio-hero p { max-width: 100%; overflow-wrap: anywhere; }
  .portfolio-grid { width: calc(100% - 24px); grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding-top: 22px; }
  .project { border-radius: 14px; }
  .project figcaption { min-height: 100px; padding: 12px; }
  .site-footer { padding: 46px 20px 26px; }
  .site-footer .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .site-footer .footer-note { margin-top: 30px; }
  .contact { grid-template-columns: 1fr; gap: 28px; }
  .contact h2 { max-width: none; }
  .contact-side { min-width: 0; }
  .contact-links { grid-template-columns: 1fr; }
  .contact-links .button { width: 100%; white-space: normal; }
  .process ol { gap: 8px; margin-top: 26px; }
  .process { padding-bottom: 36px; }
  .process li, .process li + li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; min-height: 0; padding: 14px 16px; border: 0; border-radius: 18px; }
  .process li > span { padding-top: 3px; font-size: 11px; }
  .process h3 { margin: 0 0 4px; font-size: 19px; line-height: 1.15; }
  .process p { margin: 0; font-size: 13px; line-height: 1.35; }
  .location { grid-template-columns: 1fr; gap: 38px; }
  .location-map, .location-map iframe { min-height: 340px; }
  .metro-list li { grid-template-columns: 1fr auto; gap: 12px; }
  .hero-caliper { right: 8px; bottom: 8px; width: 150px !important; opacity: .32; }
  .service-drawing { right: -25px; bottom: -30px; width: 210px; height: 210px; opacity: .09; }
  .service-grid article:nth-child(2) .service-drawing { right: -12px; bottom: -32px; width: 175px; height: 200px; }
  .service-grid article:nth-child(3) .service-drawing { right: -32px; bottom: -28px; width: 215px; height: 215px; }
  .service-grid article h3 { margin-top: 28px; }
  .service-variants { gap: 82px; margin-top: 60px; }
  .service-variant > header { align-items: flex-start; flex-direction: column; gap: 4px; }
  .variant-1 .service-grid { margin-top: 88px; }
  .shared-blueprint { grid-template-columns: repeat(3,1fr); height: 150px; padding-inline: 0; }
  .shared-blueprint img, .shared-blueprint img:nth-child(2), .shared-blueprint img:nth-child(3) { height: 115px; }
  .drawing-row { height: 135px; }
  .drawing-row img { height: 110px; padding: 12px; }
  .variant-5 .service-grid article { grid-template-columns: 72px 1fr; gap: 18px; }
  .variant-5 .service-drawing { width: 68px; }
  .material-drawing { grid-template-columns: 110px 1fr; }
  .material-drawing img { width: 110px; height: 88px; }
  .process .section-head { display: block; }
  .process-drawing { width: 135px; height: 105px; justify-self: start; }
  .cookie-notice { right: 10px; bottom: 10px; width: calc(100% - 20px); gap: 12px; }
}
@media (max-width: 390px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}
