/*
 * TECHNOLASER / DESIGN STUDY 02
 * Technical minimalism: monochrome, calibrated type, one signal color.
 * Reversible visual overlay. The base website and all content stay intact.
 */

:root {
  --paper: #f2f4f1;
  --white: #fcfdf9;
  --ink: #1b2426;
  --muted: #64716c;
  --line: #c9d1cb;
  --accent: #c3f167;
  --dark: #182124;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  --gutter: clamp(22px, 4.6vw, 76px);
}
html { scroll-padding-top: 88px; }
body { background: var(--paper); color: var(--ink); font-size: 14px; line-height: 1.65; }
h1, h2, h3 { font-weight: 610; }
button, .button, .project-photo, .hero-photo, .header-cta { border-radius: 0; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid #557e2c; outline-offset: 4px; }
.skip-link { background: var(--ink); color: var(--white); }
.section { padding-top: 108px; padding-bottom: 108px; }
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .07em;
  line-height: 1.7;
  font-weight: 500;
}
.section-eyebrow { color: #55645c; margin-bottom: 25px; }
.section-eyebrow:before { content: "[ "; color: #52752c; }
.section-eyebrow:after { content: " ]"; color: #52752c; }
h2 { font-size: clamp(42px, 4.45vw, 66px); line-height: 1.07; letter-spacing: -.062em; font-weight: 610; overflow-wrap: break-word; }
.text-link { gap: 13px; font-family: var(--mono); font-size: 11px; font-weight: 650; letter-spacing: .015em; }
.text-link:hover { color: #416726; }
.text-link:hover .icon { transform: translate(2px,-2px); }
.mini-cross { color: #648d34; font-size: 22px; }
.button {
  min-height: 51px;
  padding: 15px 20px;
  font: 700 11px/1.4 var(--mono);
  letter-spacing: .015em;
  gap: 27px;
  border-radius: 0;
}
.button-dark { color: #1b2426; background: var(--accent); border-color: var(--accent); }
.button-dark:hover { color: #1b2426; background: #e0ffac; border-color: #e0ffac; }
.button-outline { color: var(--ink); border-color: var(--ink); }
.button-outline:hover { background: var(--ink); color: var(--white); }

/* The header is deliberately quiet and precise. */
.site-header {
  height: 77px;
  border-bottom: 1px solid var(--line);
  background: rgba(242,244,241,.97);
  backdrop-filter: blur(14px);
}
.site-header.is-scrolled { border-bottom-color: #aab7af; }
.header-inner { gap: 32px; }
.brand { font-size: 25px; font-weight: 800; letter-spacing: -.072em; gap: 10px; }
.brand-light { font-weight: 480; }
.brand-dot { color: #4e7929; }
.brand-mark { width: 27px; height: 27px; color: var(--ink); }
.site-nav { gap: clamp(18px,2.4vw,34px); margin-left: auto; }
.site-nav > a {
  font: 600 10px/1.5 var(--mono);
  text-transform: uppercase;
  letter-spacing: .02em;
  white-space: nowrap;
}
.site-nav > a:after { height: 2px; bottom: 1px; background: #688f34; }
.header-actions { gap: 23px; }
.languages { gap: 4px; }
.languages > a, .footer-bottom .languages a {
  min-width: 27px;
  min-height: 27px;
  padding: 4px 5px;
  border: 0;
  color: #76847b;
  font: 700 10px/18px var(--mono);
  text-align: center;
}
.languages > a[aria-current=page] { background: var(--ink); color: var(--accent); border: 0; }
.languages > a:hover { color: #365d26; }
.header-cta {
  display: inline-flex;
  gap: 13px;
  padding: 11px 15px;
  background: var(--ink);
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  font: 700 10px/1.4 var(--mono);
  text-transform: uppercase;
}
.header-cta:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.menu-toggle { border-radius: 0; border-color: #aebbb1; }
.menu-toggle span { background: var(--ink); }

/* Hero: a dark workbench, one large real photograph. */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  gap: 0;
  padding: 0;
  margin-top: 21px;
  margin-bottom: 0;
  min-height: 606px;
  background: var(--ink);
  color: #f3f6ef;
  overflow: hidden;
  align-items: stretch;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(52px,5vw,78px) clamp(35px,5.3vw,86px) 59px;
  position: relative;
  min-width: 0;
}
.hero-copy:after {
  content: "TECHNOLASER   /   01";
  position: absolute;
  right: 28px;
  bottom: 20px;
  color: #94a9a2;
  font: 9px/1.4 var(--mono);
  letter-spacing: .08em;
}
.hero .eyebrow {
  font: 500 10px/1.7 var(--mono);
  letter-spacing: .075em;
  color: #bdcbc2;
  gap: 12px;
  align-items: center;
}
.signal-dot {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 0;
  box-shadow: 0 0 0 3px rgba(195,241,103,.13);
}
.hero h1 {
  margin: 31px 0 29px;
  font-size: clamp(56px,5.85vw,95px);
  line-height: 1.01;
  letter-spacing: -.078em;
  font-weight: 640;
  overflow-wrap: normal;
}
.hero h1 span { color: var(--accent); }
.hero-description {
  max-width: 385px;
  color: #b9c6bf;
  font-size: 14px;
  line-height: 1.85;
}
.hero-actions { margin-top: 34px; gap: 24px; }
.hero-actions .text-link { color: #e3ece5; font-size: 10px; }
.hero-actions .text-link:hover { color: var(--accent); }
.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(42px,5vw,72px);
  padding-top: 19px;
  max-width: 415px;
  border-top: 1px solid #4a5554;
  color: #a5b6ab;
  font: 10px/1.6 var(--mono);
}
.hero-note .mini-cross { font-size: 18px; color: var(--accent); }
.hero-visual {
  min-width: 0;
  height: 100%;
  padding: 0;
  justify-content: stretch;
}
.hero-photo {
  position: relative;
  flex: 1;
  min-height: 535px;
  max-height: none;
  height: auto;
  background: #545e57;
  border-radius: 0;
}
.hero-photo > img { object-position: center; filter: saturate(.76) contrast(1.045); }
.hero-photo:after { background: linear-gradient(180deg,rgba(10,19,18,.04) 42%,rgba(10,19,18,.83) 100%); }
.photo-index {
  left: 24px; top: 22px;
  padding: 8px 10px;
  background: rgba(15,25,22,.75);
  border: 1px solid #aab6a1;
  color: #eef5e8;
  font: 10px/1.5 var(--mono);
  letter-spacing: .08em;
}
.photo-cross { top: 16px; right: 23px; color: var(--accent); }
.photo-caption { left: 27px; bottom: 25px; gap: 8px; }
.photo-caption .eyebrow { color: var(--accent); opacity: 1; font: 9px/1.6 var(--mono); }
.photo-caption > span:last-child { font-size: 19px; letter-spacing: -.035em; }
.hero-visual > figcaption {
  min-height: 43px;
  padding: 14px 24px;
  background: #152022;
  color: #b2c2b9;
  font: 9px/1.6 var(--mono);
  letter-spacing: .045em;
}

/* Material data, not decorative marketing chips. */
.materials { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: center; padding-top: 23px; padding-bottom: 23px; }
.materials:before, .materials:after { background: var(--line); }
.materials > .eyebrow { display: block; max-width: none; font: 10px/1.5 var(--mono); color: #53655a; }
.material-list { justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.material-list span {
  white-space: nowrap;
  border: 1px solid var(--line);
  padding: 8px 11px;
  font: 10px/1.5 var(--mono);
  color: #53645a;
  letter-spacing: -.01em;
}
.material-list span:before, .material-list span:after { display: none !important; }

/* Portfolio as a numbered specimen archive. */
.work { padding-bottom: 117px; }
.section-heading { align-items: end; gap: 70px; margin-bottom: 48px; }
.section-heading > p { max-width: 335px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.filter-bar { border-bottom: 1px solid var(--line); margin-bottom: 24px; padding-bottom: 16px; gap: 4px; }
.filter-button {
  min-height: 37px;
  padding: 9px 16px;
  border: 1px solid transparent;
  border-radius: 0;
  font: 650 10px/1.4 var(--mono);
  letter-spacing: .01em;
}
.filter-button[aria-pressed=true] { background: var(--ink); color: #f2f7ee; }
.filter-button[aria-pressed=true]:before { content: "●"; color: var(--accent); padding-right: 9px; }
.filter-button[aria-pressed=false]:hover { border-color: #a1afa5; color: #2d4b32; }
.filter-hint { font: 9px/1.3 var(--mono); letter-spacing: .035em; }
.project-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; counter-reset: specimen; }
.project {
  position: relative;
  min-width: 0;
  counter-increment: specimen;
  border: 1px solid #cbd3cc;
  background: var(--white);
  transition: border-color .22s;
}
.project:hover { border-color: #60786c; }
.project:before {
  content: "0" counter(specimen);
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 2;
  pointer-events: none;
  display: inline-block;
  padding: 6px 9px;
  border: 1px solid rgba(219,234,221,.35);
  background: rgba(19,31,28,.78);
  color: #eaf6e3;
  font: 10px/1.4 var(--mono);
  letter-spacing: .08em;
}
.project-photo { aspect-ratio: 1.27; border-radius: 0; background: #e0e5de; }
.project-photo > img { filter: saturate(.87); }
.project-link:hover .project-photo > img { transform: scale(1.035); }
.project-open {
  right: 0; bottom: 0;
  width: 39px; height: 39px;
  border-radius: 0;
  background: var(--accent);
  color: var(--ink);
}
.project-link:hover .project-open { background: var(--ink); color: var(--accent); }
.project-caption {
  min-height: 111px;
  padding: 20px 19px 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}
.project-title { font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: -.025em; }
.project-category { color: #697970; font: 10px/1.55 var(--mono); margin-top: 0; }

/* A technical service list without cards or shadows. */
.services { border-top: 2px solid var(--ink); grid-template-columns: 1fr 1.1fr; gap: clamp(50px,8vw,116px); }
.service-intro > p:not(.eyebrow) { max-width: 340px; color: var(--muted); font-size: 13px; margin-top: 24px; }
.service-aside { border-left: 2px solid #9dc65f; padding-left: 17px; gap: 10px; margin-top: 51px; }
.service-aside > .mini-cross { display: none; }
.service-aside p { max-width: 330px; font-size: 12px; color: var(--muted); }
.service-aside .text-link { font-size: 11px; color: var(--ink); }
.service-list { border-top: 1px solid #a8b4ab; }
.service { border-bottom: 1px solid #a8b4ab; }
.service > summary { padding: 24px 0; gap: 21px; }
.service-number { font: 11px/1.6 var(--mono); color: #718077; }
.service h3 { font-size: 22px; font-weight: 610; letter-spacing: -.045em; line-height: 1.25; }
.service > summary:hover h3 { color: #50772c; }
.service[open] .service-number { color: #547c27; }
.service .plus:before, .service .plus:after { background: var(--ink); width: 12px; }
.service-body { padding: 0 25px 24px 41px; }
.service-body p { font-size: 12px; max-width: 425px; color: var(--muted); }
.service-body .text-link { color: #426b2b; font-size: 10px; margin-top: 14px; }

/* Workshop: the most tangible photo after the gallery. */
.workshop { background: var(--dark); padding: 87px 0; }
.workshop-inner { grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,104px); }
.workshop .section-eyebrow { color: #b9c9bd; }
.workshop .section-eyebrow:before, .workshop .section-eyebrow:after { color: var(--accent); }
.workshop h2 { color: #f1f5ed; font-size: clamp(37px,3.55vw,54px); letter-spacing: -.06em; line-height: 1.09; }
.about-description { color: #b2c2b8; font-size: 13px; line-height: 1.9; margin-top: 28px; }
.since { margin-top: 50px; border-top: 1px solid #47534e; padding-top: 24px; }
.since > div > .eyebrow { color: #adbdaf; font: 10px/1.7 var(--mono); letter-spacing: .02em; }
.since-year { font-size: clamp(76px,7vw,110px); font-weight: 600; letter-spacing: -.09em; }
.since-year > span { color: var(--accent); }
.since > p { font: 11px/2 var(--mono); }
.since > p > span { color: #a1b6aa; font: 9px/1.7 var(--mono); }
.workshop-photo > img { height: 480px; object-fit: cover; filter: saturate(.65) contrast(1.04); border-radius: 0; }
.workshop-photo > figcaption { color: #b3c2b7; font: 10px/1.7 var(--mono); margin-top: 17px; }
.workshop-photo .mini-cross { color: var(--accent); font-size: 20px; }

/* Three clear production steps. */
.process { padding-bottom: 115px; }
.process .section-heading { margin-bottom: 56px; }
.process-steps { gap: 17px; }
.process-steps > li { border-top: 2px solid var(--ink); padding-top: 25px; }
.step-number {
  display: inline-block;
  padding: 5px 9px;
  background: var(--accent);
  color: var(--ink);
  font: 750 11px/1.6 var(--mono);
}
.process-steps h3 { font-size: 19px; font-weight: 650; letter-spacing: -.035em; margin-top: 24px; }
.process-steps p { font-size: 12px; margin-top: 12px; color: var(--muted); }

/* A direct phone/email contact panel. No form, no backend. */
.contact {
  background: #e1e9df;
  color: var(--ink);
  border-top: 1px solid #bdcabe;
  padding-top: 92px;
  padding-bottom: 92px;
}
.contact-inner { grid-template-columns: 1fr 1fr; gap: clamp(40px,7vw,100px); align-items: center; }
.contact h2 { font-size: clamp(51px,5vw,76px); line-height: 1.03; letter-spacing: -.068em; font-weight: 650; }
.contact h2 span { color: #557d2e; }
.contact .section-eyebrow { color: #516354; font-size: 10px; }
.contact-intro { color: #5e7162; font-size: 13px; line-height: 1.85; margin-top: 28px; }
.contact .contact-panel {
  min-width: 0;
  padding: clamp(28px,3.8vw,52px);
  background: var(--ink);
  color: #f2f6ed;
  border: 1px solid #1b2426;
  border-radius: 0;
}
.contact .contact-panel .contact-details { margin-top: 0; gap: 29px; }
.contact .contact-panel .eyebrow { color: #a6b8ac; font: 10px/1.6 var(--mono); letter-spacing: .05em; margin-bottom: 9px; }
.contact .contact-primary { font-size: clamp(25px,2.7vw,38px); color: #f4f8ee; font-weight: 650; letter-spacing: -.06em; }
.contact .contact-email { font-size: clamp(17px,1.8vw,23px); color: #f4f8ee; gap: 12px; }
.contact .contact-primary:hover, .contact .contact-email:hover { color: var(--accent); }
.contact .address-row { max-width: none; }
.contact .address-row address { color: #d9e5db; font-size: 13px; line-height: 1.7; }
.contact .address-row .text-link { color: #d1e2d2; font: 10px/1.6 var(--mono); }
.contact .address-row .text-link:hover { color: var(--accent); }
.contact .other-contacts { color: #becfc1; font: 11px/1.6 var(--mono); }
.contact .other-contacts > a { font: 11px/1.6 var(--mono); }
.contact .other-contacts > a:hover { color: var(--accent); }
.contact .contact-note {
  border-top: 1px solid #45514a;
  padding-top: 21px;
  margin-top: 25px;
  color: #aebfb2;
  font-size: 12px;
  line-height: 1.8;
}

/* Finish as quietly as we began. */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding-top: 42px; }
.footer-top { padding-bottom: 38px; }
.footer-top .brand { font-size: 23px; }
.footer-top .brand-mark { width: 25px; height: 25px; }
.footer-top > p { color: var(--muted); font-size: 11px; }
.footer-top > .text-link { font: 10px/1.4 var(--mono); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 23px; color: #6c796f; font: 10px/1.7 var(--mono); }
.footer-bottom > span:nth-child(2) { font: 9px/1.5 var(--mono); letter-spacing: .035em; }
.footer-bottom .languages { gap: 3px; }
.project-viewer { background: var(--paper); border: 1px solid #b8c7bd; border-radius: 0; }
.project-viewer::backdrop { background: rgba(9,17,18,.89); }
.viewer-close, .viewer-nav { background: var(--accent); color: var(--ink); border-radius: 0; }
.viewer-close:hover, .viewer-nav:hover { background: var(--ink); color: var(--accent); }
.viewer-footer .eyebrow, .viewer-count { font: 10px/1.6 var(--mono); color: var(--muted); }

/* A deliberate hierarchy at tablet widths. */
@media (max-width: 1180px) {
  .site-nav { gap: 18px; }
  .header-cta { display: none; }
  .hero { min-height: 540px; }
  .hero-copy { padding-left: 43px; padding-right: 31px; }
  .hero h1 { font-size: clamp(54px,5.55vw,78px); letter-spacing: -.075em; }
  .hero-photo { min-height: 497px; }
  .materials { grid-template-columns: 175px 1fr; }
  .services { gap: 62px; }
  .workshop-inner { gap: 55px; }
  .contact-inner { gap: 45px; }
}
@media (max-width: 960px) {
  :root { --gutter: 30px; }
  .site-header { height: 73px; }
  .header-inner { gap: 18px; }
  .brand { font-size: 22px; }
  .brand-mark { width: 25px; height: 25px; }
  .site-nav { gap: 15px; }
  .site-nav > a { font-size: 9px; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 510px; margin-top: 16px; }
  .hero-copy { padding: 40px 27px 40px 31px; }
  .hero h1 { font-size: clamp(46px,5.45vw,62px); letter-spacing: -.07em; margin: 24px 0 24px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .025em; }
  .hero-description { font-size: 12px; line-height: 1.8; }
  .hero-actions { margin-top: 26px; gap: 16px; }
  .hero-actions .button { min-height: 46px; gap: 12px; padding: 12px 13px; font-size: 10px; }
  .hero-actions .text-link { font-size: 9px; }
  .hero-note { font-size: 9px; margin-top: 31px; }
  .hero-photo { min-height: 465px; }
  .materials { grid-template-columns: 1fr; gap: 12px; }
  .material-list { justify-content: flex-start; }
  .section { padding-top: 86px; padding-bottom: 86px; }
  .section-heading > p { font-size: 12px; }
  h2 { font-size: 46px; }
  .project-caption { padding: 16px 15px 17px; min-height: 111px; }
  .project-title { font-size: 13px; }
  .project-category { font-size: 9px; }
  .services { gap: 40px; }
  .service h3 { font-size: 19px; }
  .workshop { padding: 68px 0; }
  .workshop h2 { font-size: 39px; }
  .workshop-photo > img { height: 426px; }
  .since-year { font-size: 72px; }
  .contact h2 { font-size: 57px; }
  .contact .contact-panel { padding: 29px; }
  .contact .contact-email { font-size: 17px; }
  .contact .address-row { display: block; }
  .contact .address-row .text-link { margin-top: 9px; }
  html[lang=ru] .hero h1 { font-size: clamp(43px,4.95vw,59px); letter-spacing: -.063em; }
}
@media (max-width: 760px) {
  :root { --gutter: 22px; }
  html { scroll-padding-top: 75px; }
  .site-header { height: 68px; }
  .header-inner { gap: 10px; }
  .brand, html[lang=ru] .brand { font-size: 22px; }
  .header-actions { gap: 14px; }
  .languages > a, .footer-bottom .languages a { min-width: 25px; font-size: 10px; }
  .menu-toggle { display: block; width: 38px; height: 38px; }
  .js .site-nav { top: 67px; background: var(--paper); border-bottom: 1px solid var(--line); padding-top: 15px; padding-bottom: 17px; }
  .site-nav > a { font: 600 14px/1.7 var(--mono); padding: 13px 0; }
  .hero { grid-template-columns: 1fr; min-height: 0; margin-top: 12px; gap: 0; }
  .hero-copy { padding: 49px 27px 40px; }
  .hero-copy:after { right: 24px; bottom: 17px; font-size: 8px; }
  .hero .eyebrow, html[lang=ru] .hero .eyebrow { font-size: 9px; letter-spacing: .025em; }
  .hero h1 { font-size: clamp(55px,11.2vw,83px); letter-spacing: -.076em; margin: 26px 0; }
  html[lang=ru] .hero h1 { font-size: clamp(52px,10.5vw,77px); letter-spacing: -.065em; }
  .hero-description { font-size: 13px; max-width: 410px; }
  .hero-actions { margin-top: 27px; gap: 20px; }
  .hero-actions .button { min-height: 49px; font-size: 10px; padding: 13px 17px; }
  .hero-actions .text-link { font-size: 10px; }
  .hero-note, html[lang=ru] .hero-note { margin-top: 32px; padding-top: 14px; font-size: 9px; }
  .hero-visual { height: auto; }
  .hero-photo { min-height: 0; aspect-ratio: 1.28; }
  .photo-caption { left: 23px; bottom: 25px; }
  .photo-caption > span:last-child { font-size: 17px; }
  .hero-visual > figcaption { font-size: 8px; padding: 11px 17px; }
  .materials { padding-top: 22px; padding-bottom: 22px; gap: 14px; }
  .materials > .eyebrow { font-size: 9px; }
  .material-list { justify-content: flex-start; gap: 6px; }
  .material-list span { font-size: 9px; padding: 7px 9px; }
  .section { padding-top: 75px; padding-bottom: 75px; }
  .section-eyebrow, .contact .section-eyebrow { font-size: 10px; }
  .section-heading { display: block; margin-bottom: 34px; }
  h2 { font-size: clamp(40px,9vw,55px); }
  .section-heading > p { margin-top: 21px; max-width: 440px; }
  .filter-bar { gap: 3px; padding-bottom: 16px; margin-bottom: 17px; }
  .filter-button { font-size: 9px; min-height: 35px; padding: 8px 11px; }
  .project-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
  .project-photo { aspect-ratio: 1.04; }
  .project:before { top: 9px; left: 9px; font-size: 9px; padding: 4px 6px; }
  .project-open { height: 29px; width: 29px; }
  .project-open .icon { height: 13px; width: 13px; }
  .project-caption { min-height: 111px; padding: 13px 12px; gap: 9px; }
  .project-title { font-size: 13px; letter-spacing: -.03em; }
  .project-category { font-size: 9px; }
  .services { grid-template-columns: 1fr; gap: 38px; }
  .service-intro > p:not(.eyebrow) { margin-top: 23px; }
  .service-aside { margin-top: 25px; }
  .service > summary { padding: 20px 0; }
  .service h3 { font-size: 19px; }
  .service-body { padding-left: 38px; }
  .workshop { padding: 67px 0; }
  .workshop-inner { grid-template-columns: 1fr; gap: 33px; }
  .workshop h2 { font-size: clamp(39px,8vw,52px); }
  .about-description { font-size: 12px; }
  .since { margin-top: 30px; }
  .since-year { font-size: 81px; }
  .workshop-photo > img { height: auto; aspect-ratio: 1.27; }
  .workshop-photo > figcaption { font-size: 9px; }
  .process-steps { grid-template-columns: 1fr; gap: 26px; }
  .process-steps > li { display: grid; grid-template-columns: 35px 1fr; gap: 0 15px; align-items: start; padding-top: 21px; }
  .step-number { grid-row: 1 / 3; padding: 5px; text-align: center; }
  .process-steps h3 { margin-top: 1px; font-size: 18px; }
  .process-steps p { grid-column: 2; margin-top: 9px; }
  .contact { padding-top: 73px; padding-bottom: 73px; }
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact h2 { font-size: clamp(51px,10vw,67px); }
  .contact-intro { font-size: 12px; margin-top: 24px; }
  .contact .contact-panel { padding: 33px 28px; }
  .contact .address-row { display: flex; }
  .contact .address-row .text-link { margin-top: 0; }
  .footer-top { gap: 14px; }
  .footer-bottom { font-size: 9px; }
}
@media (max-width: 390px) {
  :root { --gutter: 18px; }
  .brand, html[lang=ru] .brand { font-size: 20px; }
  .brand-mark { width: 23px; height: 23px; }
  .header-actions { gap: 8px; }
  .languages { gap: 2px; }
  .languages > a { min-width: 22px; padding: 4px 3px; }
  .hero-copy { padding: 42px 20px 37px; }
  .hero h1 { font-size: 54px; }
  html[lang=ru] .hero h1 { font-size: 50px; }
  .hero-actions { gap: 13px; }
  .hero-actions .button { font-size: 9px; padding: 13px 14px; gap: 11px; }
  .hero-actions .text-link { font-size: 9px; }
  .filter-button { font-size: 9px; padding: 8px; }
  .project-caption { padding: 13px 10px; }
  .project-title { font-size: 12px; }
  .project-category { font-size: 8px; }
  .contact .contact-panel { padding: 29px 22px; }
  .contact .contact-primary { font-size: 25px; }
  .contact .contact-email { font-size: 17px; }
  .contact .address-row { display: block; }
  .contact .address-row .text-link { margin-top: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .project, .project-photo > img, .project-open { transition: none !important; }
  .project-link:hover .project-photo > img { transform: none !important; }
}


/* Search-friendly explanatory content, consistent with the technical-minimal theme. */
.expertise { border-top: 1px solid var(--line); padding-top: 104px; padding-bottom: 105px; }
.expertise-overview { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(40px,7vw,110px); align-items: start; }
.expertise-overview h2 { max-width: 650px; font-size: clamp(38px,3.75vw,58px); line-height: 1.1; letter-spacing: -.055em; }
.expertise-copy { max-width: 510px; display: grid; gap: 16px; }
.expertise-copy p { font-size: 13px; line-height: 1.95; color: var(--muted); }
.expertise-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; margin-top: 42px; }
.expertise-card { border-top: 2px solid var(--ink); padding: 22px 18px 18px 0; min-width: 0; }
.expertise-index { color: #55752f; }
.expertise-card h3 { font-size: clamp(18px,1.8vw,24px); letter-spacing: -.04em; line-height: 1.22; margin-top: 20px; font-weight: 650; }
.expertise-card p { color: var(--muted); font-size: 12px; line-height: 1.9; margin-top: 15px; }
.expertise-action { border-bottom: 1px solid var(--line); padding: 24px 0; margin-top: 21px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.expertise-action > .eyebrow { color: #6c7d71; }
.expertise-action .text-link { font-size: 11px; }
.faq { background: #edf1eb; border-top: 1px solid var(--line); }
.faq-heading { display: flex; justify-content: space-between; align-items: end; gap: clamp(40px,8vw,115px); }
.faq-heading h2 { max-width: 690px; font-size: clamp(37px,3.75vw,56px); }
.faq-heading > p { color: var(--muted); font-size: 13px; line-height: 1.9; max-width: 270px; }
.faq-grid { margin-top: 46px; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 44px; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 34px 1fr; gap: 16px; align-items: start; padding: 26px 0 30px; min-width: 0; }
.faq-number { font: 700 11px/1.65 var(--mono); color: #587d38; }
.faq-item h3 { font-size: 17px; font-weight: 660; line-height: 1.45; letter-spacing: -.028em; }
.faq-item p { margin-top: 12px; max-width: 520px; font-size: 12px; color: var(--muted); line-height: 1.9; }
@media(max-width: 960px) {
  .expertise { padding-top: 84px; padding-bottom: 83px; }
  .expertise-overview { gap: 35px; }
  .expertise-overview h2 { font-size: 43px; }
  .expertise-card { padding-right: 7px; }
  .expertise-card h3 { font-size: 19px; }
  .faq-heading h2 { font-size: 44px; }
  .faq-grid { gap: 0 26px; }
}
@media(max-width: 760px) {
  .expertise { padding-top: 75px; padding-bottom: 75px; }
  .expertise-overview { grid-template-columns: 1fr; gap: 20px; }
  .expertise-overview h2 { font-size: clamp(39px,9vw,54px); }
  .expertise-copy { max-width: none; gap: 14px; }
  .expertise-copy p { font-size: 12px; }
  .expertise-grid { grid-template-columns: 1fr; margin-top: 32px; gap: 0; }
  .expertise-card { padding: 21px 0 22px; border-top: 1px solid var(--line); }
  .expertise-card h3 { font-size: 21px; margin-top: 14px; }
  .expertise-card p { margin-top: 10px; }
  .expertise-action { margin-top: 5px; }
  .expertise-action > .eyebrow { font-size: 9px; }
  .expertise-action .text-link { font-size: 10px; }
  .faq-heading { display: block; }
  .faq-heading h2 { font-size: clamp(39px,8.6vw,54px); }
  .faq-heading > p { margin-top: 18px; max-width: 410px; font-size: 12px; }
  .faq-grid { margin-top: 32px; grid-template-columns: 1fr; gap: 0; }
  .faq-item { grid-template-columns: 27px 1fr; padding: 23px 0 25px; gap: 12px; }
  .faq-item h3 { font-size: 17px; }
}
@media(max-width: 390px) {
  .expertise-overview h2 { font-size: 37px; }
  .expertise-action { align-items: flex-start; flex-direction: column; gap: 10px; }
  .faq-heading h2 { font-size: 37px; }
}


/* Technical 404: custom pages in /, /ru/, and /en/. */
.not-found-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}
.not-found-header { border-bottom: 1px solid var(--line); }
.not-found-head-inner { min-height: 84px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.not-found-head-inner .brand { font-size: 23px; }
.not-found-head-inner .brand-mark { width: 26px; height: 26px; }
.not-found-head-actions { display: flex; align-items: center; gap: 30px; }
.not-found-head-actions > .eyebrow { color: var(--muted); letter-spacing: .045em; }
.not-found-head-actions .languages { display: flex; gap: 5px; }
.not-found-main {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0,1.02fr) minmax(0,.98fr);
  align-items: stretch;
  gap: 0;
  padding-top: clamp(44px,7vh,85px);
  padding-bottom: clamp(54px,8vh,94px);
}
.not-found-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 480px;
  padding: clamp(22px,3.4vw,48px);
  background: var(--ink);
  color: #e2ece2;
  overflow: hidden;
}
.not-found-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .3;
  background-image: linear-gradient(to right,#a6b4ac24 1px, transparent 1px),linear-gradient(to bottom,#a6b4ac24 1px, transparent 1px);
  background-size: 42px 42px;
}
.not-found-visual .eyebrow, .not-found-status { position: relative; z-index: 1; font: 10px/1.7 var(--mono); letter-spacing: .04em; }
.not-found-visual .eyebrow { color: var(--accent); }
.not-found-code {
  position: relative;
  z-index: 1;
  display: block;
  align-self: center;
  font: 750 clamp(114px,14vw,226px)/.89 var(--mono);
  letter-spacing: -.12em;
  color: var(--accent);
  margin: 30px 15px 24px -12px;
}
.not-found-status { color: #a8b9ac; display: flex; justify-content: space-between; gap: 12px; }
.not-found-status:before { content: "↳"; color: var(--accent); margin-right: 6px; }
.not-found-status span:last-child { margin-left: auto; }
.not-found-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(40px,5.6vw,86px) clamp(30px,5.6vw,86px);
  border: 1px solid var(--line);
  border-left: 0;
  background: var(--white);
}
.not-found-copy .eyebrow { color: #5a783a; font: 650 11px/1.7 var(--mono); }
.not-found-copy h1 {
  margin-top: 25px;
  font-size: clamp(43px,4.8vw,75px);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -.072em;
  overflow-wrap: break-word;
}
.not-found-copy > p:not(.eyebrow) {
  max-width: 470px;
  margin-top: 23px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.not-found-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 32px; }
.not-found-actions .button { text-align: left; gap: 17px; }
.not-found-actions .text-link { font-size: 11px; }
.not-found-help { margin-top: 46px; padding-top: 19px; border-top: 1px solid var(--line); }
.not-found-help .eyebrow { font-size: 9px; display: block; color: var(--muted); }
.not-found-help a { display: inline-block; padding-top: 4px; overflow-wrap: anywhere; font-size: 14px; font-weight: 600; }
.not-found-help a:hover { color: #466b2e; }
.not-found-footer { border-top: 1px solid var(--line); padding-top: 18px; padding-bottom: 24px; }
.not-found-footer .shell { display: flex; gap: 20px; justify-content: space-between; align-items: center; font: 9px/1.6 var(--mono); color: var(--muted); letter-spacing: .035em; }
@media(max-width: 1100px) {
  .not-found-code { font-size: clamp(107px,14vw,155px); }
  .not-found-copy { padding: 42px 36px; }
  .not-found-copy h1 { font-size: clamp(42px,4.4vw,59px); }
  .not-found-actions .button { min-height: 47px; gap: 10px; }
}
@media(max-width: 760px) {
  .not-found-head-inner { min-height: 69px; gap: 9px; }
  .not-found-head-actions { gap: 10px; }
  .not-found-head-actions > .eyebrow { display: none; }
  .not-found-head-inner .brand { font-size: 21px; }
  .not-found-main { grid-template-columns: 1fr; padding-top: 23px; padding-bottom: 40px; }
  .not-found-visual { min-height: 250px; padding: 24px; }
  .not-found-code { font-size: clamp(115px,23vw,170px); margin: 17px auto 10px; }
  .not-found-copy { border-left: 1px solid var(--line); border-top: 0; padding: 36px 28px 38px; }
  .not-found-copy h1 { font-size: clamp(45px,10vw,62px); }
  .not-found-copy > p:not(.eyebrow) { margin-top: 18px; }
  .not-found-help { margin-top: 33px; }
  .not-found-footer .shell { font-size: 8px; }
}
@media(max-width: 390px) {
  .not-found-head-inner .brand { font-size: 19px; gap: 7px; }
  .not-found-head-inner .brand-mark { width: 23px; height: 23px; }
  .not-found-head-actions .languages > a { padding: 4px 3px; min-width: 22px; }
  .not-found-visual { min-height: 230px; }
  .not-found-code { font-size: 109px; }
  .not-found-copy { padding: 30px 21px 33px; }
  .not-found-copy h1 { font-size: 43px; }
  .not-found-actions { gap: 17px; }
  .not-found-footer .shell { flex-wrap: wrap; gap: 5px; }
}
