@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(inter-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(inter-latin.woff2) format('woff2');
  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: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(source-sans-3-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(source-sans-3-latin.woff2) format('woff2');
  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;
}
:root {
  color-scheme: dark;
  --black: #0c0f0d;
  --surface: #141815;
  --ink: #f0f1e8;
  --muted: #bec7bc;
  --green: #cbdea7;
  --rule: #3a443a;
  --space: clamp(24px, 5vw, 78px);
  --type-head: "Inter", Arial, sans-serif;
  --type-body: "Source Sans 3", Arial, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--black); font: 1.125rem/1.49 var(--type-body); }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 5px; }
.frame { max-width: 1680px; margin-inline: auto; padding-inline: var(--space); }

.site-header { position: relative; z-index: 1; background: #0b100d; border-bottom: 1px solid #38413a; }
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 83px;
  padding-block: 13px;
}
.brand { display: inline-flex; align-items: center; justify-self: start; gap: 14px; text-decoration: none; }
.brand-name {
  color: #f0f1e8;
  font: 780 2.45rem/.95 var(--type-head);
  font-variation-settings: "opsz" 32;
  letter-spacing: -.045em;
}
.brand-role {
  padding-inline-start: 12px;
  border-inline-start: 1px solid #697a64;
  color: #e2e8de;
  font: 610 .78rem/1.15 var(--type-body);
}
.site-header nav { display: flex; align-items: center; gap: clamp(24px, 3.2vw, 48px); }
.site-header nav a { color: #e7ece3; text-decoration: none; font-size: 1rem; font-weight: 650; }
.site-header nav a:hover, .text-link:hover { color: var(--green); }
.site-header .button { justify-self: end; }

.button {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border: 1px solid transparent;
  color: inherit;
  background: transparent;
  font: 680 1rem/1.15 var(--type-body);
  white-space: nowrap;
}
.button-outline { min-height: 44px; border-color: #93a28f; color: #eef2e8; }
.button-outline:hover { background: #223025; border-color: #d3e2ce; }
.button-accent { background: var(--green); color: #172016; }
.button-accent:hover { background: #dce8bd; }

.hero { position: relative; isolation: isolate; overflow: hidden; background: #0d130e; }
.hero-image { position: absolute; z-index: -1; inset: 0; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 54% 46%; }
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #0b100dfc 0%, #0b100dea 16%, #0b100dbb 33%, #0b100d50 52%, #0b100d04 73%),
    linear-gradient(0deg, #0b100dd9, #0b100d13 28%, transparent 52%);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(630px, 47.8vw, 770px);
  padding-top: clamp(46px, 4.7vw, 81px);
}
.hero-copy { max-width: 660px; }
.eyebrow {
  margin: 0 0 22px;
  color: var(--green);
  font: 700 .86rem/1.3 var(--type-body);
  text-transform: uppercase;
  letter-spacing: .16em;
}
h1, h2 {
  margin: 0;
  font-family: var(--type-head);
  font-variation-settings: "opsz" 32;
}
.hero h1 {
  font-size: clamp(4.15rem, 7.18vw, 7.8rem);
  font-weight: 750;
  line-height: .96;
  letter-spacing: -.044em;
}
.hero-description { max-width: 44ch; margin: 24px 0 26px; color: #e0e7dc; font-size: 1.18rem; line-height: 1.34; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 29px; }
.text-link { padding-block: 6px; border-bottom: 1px solid #aeb8a7; text-decoration: none; font-size: 1rem; font-weight: 660; }
.hero-rail {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  margin-top: 40px;
  min-height: 61px;
  border-top: 1px solid #c0cdb375;
  color: #edf2e8;
  font-size: .79rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .11em;
}

.section { scroll-margin-top: 22px; border-top: 1px solid var(--rule); }
.section h2 { font-size: clamp(2.4rem, 5vw, 5rem); font-weight: 690; line-height: .99; letter-spacing: -.042em; }
.services { background: var(--surface); padding-block: clamp(52px, 5.7vw, 94px); }
.services-hero { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: 50px; }
.services-copy > p:last-child { color: var(--muted); max-width: 36ch; margin: 22px 0 0; }
.services h2 { font-size: clamp(3.4rem, 6vw, 6.7rem); font-weight: 740; line-height: .92; }
.services h2 em { color: var(--green); font-style: normal; }
.services-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.66;
  object-fit: cover;
  object-position: center;
}
.stages { margin-top: 37px; border-top: 1px solid #485449; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.stages details + details { border-left: 1px solid var(--rule); padding-left: 22px; }
.stages summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.09rem;
  line-height: 1.2;
  font-weight: 650;
}
.stages summary::-webkit-details-marker { display: none; }
.stages summary span { display: block; flex: 0 0 12px; height: 12px; position: relative; color: var(--green); }
.stages summary span::before, .stages summary span::after {
  content: ""; position: absolute; width: 12px; height: 1px; top: 5px; background: currentColor;
}
.stages summary span::after { transform: rotate(90deg); }
.stages details[open] summary span::after { transform: none; }
.stages details p { margin: 0 12px 0 0; color: var(--muted); font-size: 1.03rem; }

.control { padding-block: clamp(56px, 6vw, 96px); }
.control-layout, .project-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
.control h2 { max-width: 10ch; }
.control-list, .project-facts { margin: 0; }
.control-list > div, .project-facts > div {
  display: grid;
  grid-template-columns: minmax(105px, .7fr) minmax(0, 1.5fr);
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--rule);
  padding: 14px 0;
}
.control-list > div:first-child, .project-facts > div:first-child { border-top: 1px solid var(--rule); }
.control-list dt, .project-facts dt { font-weight: 700; }
.control-list dd, .project-facts dd { margin: 0; color: var(--muted); }
.projects { padding-block: clamp(52px, 5.5vw, 85px); background: #1b241b; }
.project-type { color: var(--muted); margin: 15px 0 0; }
.project-facts > div { grid-template-columns: minmax(95px, .68fr) minmax(0, 1.35fr); }
.contact { background: #111711; padding-block: clamp(44px, 5vw, 72px); }
.contact-layout { display: flex; gap: 34px; align-items: center; justify-content: space-between; }
.contact h2 { font-size: clamp(2.4rem, 4.65vw, 4.85rem); }
.site-footer { color: var(--muted); border-top: 1px solid var(--rule); font-size: .9rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 19px; }

#brief {
  width: min(94vw, 495px);
  max-height: 90vh;
  overflow: auto;
  padding: 29px;
  border: 1px solid #647363;
  color: var(--ink);
  background: #182017;
}
#brief::backdrop { background: #070a07bd; }
#brief h2 { font-size: 1.86rem; letter-spacing: -.052em; margin: 7px 35px 7px 0; }
#brief > p { margin: 0 0 17px; color: var(--muted); }
.close-button { position: absolute; top: 12px; right: 12px; background: transparent; color: inherit; border: 0; width: 42px; height: 42px; font-size: 1.9rem; }
#brief-form label { display: block; font-size: 1rem; font-weight: 650; margin-top: 12px; }
#brief-form input, #brief-form select, #brief-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 8px 10px;
  border: 1px solid #60715e;
  border-radius: 0;
  color: var(--ink);
  background: #111711;
  font-size: 1rem;
}
#brief-form .button { margin-top: 17px; }
.brief-status { margin: 9px 0 0; color: var(--green); font-size: 1rem; }

@media (max-width: 900px) {
  .header-inner { gap: 16px; }
  .site-header nav { gap: 19px; }
  .brand { gap: 10px; }
  .brand-role { padding-inline-start: 9px; }
  .services-hero, .control-layout, .project-layout { gap: 32px; }
}
@media (max-width: 690px) {
  :root { --space: 21px; }
  .header-inner { grid-template-columns: 1fr auto; min-height: 70px; padding-block: 11px; }
  .site-header nav { display: none; }
  .brand-name { font-size: 2rem; }
  .brand-role { font-size: .7rem; }
  .button { min-height: 45px; padding-inline: 14px; font-size: .94rem; }
  .button-outline { min-height: 41px; }
  .hero-inner { min-height: 565px; padding-top: 54px; }
  .hero-image img { object-position: 68% 51%; }
  .hero-image::after {
    background: linear-gradient(90deg, #0b100df1, #0b100da9 60%, #0b100d5e),
                linear-gradient(0deg, #0b100df4, transparent 46%);
  }
  .hero h1 { font-size: clamp(2.9rem, 11vw, 4.65rem); line-height: .97; }
  .hero-description { font-size: 1.09rem; max-width: 34ch; margin: 18px 0 23px; }
  .hero-actions { gap: 12px 18px; }
  .hero-rail { min-height: 53px; margin-top: 27px; letter-spacing: .09em; }
  .eyebrow { margin-bottom: 16px; font-size: .77rem; }
  .section { scroll-margin-top: 12px; }
  .services-hero, .control-layout, .project-layout { grid-template-columns: 1fr; gap: 26px; }
  .services h2 { font-size: clamp(3.1rem, 12vw, 4.6rem); }
  .services-copy > p:last-child { margin-top: 16px; }
  .stages { grid-template-columns: 1fr; gap: 0; margin-top: 24px; }
  .stages details + details { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .stages details p { padding-bottom: 13px; }
  .control h2 { max-width: none; }
  .project-type { margin-top: 12px; }
  .contact-layout { align-items: start; flex-direction: column; gap: 24px; }
}
@media (max-width: 345px) {
  .brand-role { display: none; }
  .hero h1 { font-size: 2.8rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.hero-image-credit {
  position: absolute;
  right: max(var(--space), calc((100% - 1680px) / 2 + var(--space)));
  bottom: 69px;
  margin: 0;
  color: #d3ddce;
  background: #101810cc;
  padding: 3px 7px;
  font-size: .79rem;
  line-height: 1.2;
}
.hero-directions a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}
.hero-directions a:hover { color: var(--green); text-decoration: underline; text-underline-offset: .3em; }
.portfolio { padding-block: clamp(52px, 5.2vw, 82px); background: #101410; }
.portfolio-heading { margin-bottom: 27px; }
.project-filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.project-filters button {
  min-height: 43px;
  border: 1px solid #495748;
  padding: 8px 13px;
  background: #171d17;
  color: #e6ebe2;
  font-weight: 650;
  font-size: .99rem;
  text-align: left;
  line-height: 1.25;
}
.project-filters button:hover { border-color: #9baa94; }
.project-filters button[aria-pressed="true"] { border-color: var(--green); background: var(--green); color: #172016; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.portfolio-group { margin-top: 37px; }
.portfolio-group + .portfolio-group { margin-top: clamp(40px, 5vw, 76px); }
.portfolio-group h3 {
  margin: 0 0 16px;
  font: 660 clamp(1.43rem, 2.45vw, 2.42rem)/1.08 var(--type-head);
  font-variation-settings: "opsz" 32;
  letter-spacing: -.035em;
}
.projects-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px; }
.project-tile {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0;
  text-align: left;
  border: 1px solid #344035;
  background: #1a221a;
  color: var(--ink);
}
.project-tile:hover { border-color: var(--green); }
.tile-photo { display: block; position: relative; width: 100%; aspect-ratio: 1.68; overflow: hidden; background: #292f27; }
.tile-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tile-visualization {
  position: absolute;
  left: 9px;
  bottom: 8px;
  padding: 3px 7px;
  color: #eef2e8;
  background: #151d15ed;
  font-size: .79rem;
  line-height: 1.2;
}
.tile-body { display: grid; align-content: start; gap: 4px; padding: 16px 15px 19px; }
.tile-title { font: 670 clamp(1.13rem, 1.6vw, 1.53rem)/1.15 var(--type-head); letter-spacing: -.024em; }
.tile-type { font-size: 1rem; line-height: 1.27; color: var(--muted); }
.tile-status { margin-top: 5px; color: #c9dfa9; font-size: .91rem; line-height: 1.25; }

.document-media { margin: 0; width: 100%; }
.document-media.services-image { aspect-ratio: auto; }
.document-media img { display: block; width: 100%; height: auto; aspect-ratio: 1.71; object-fit: cover; }
.document-media figcaption { margin-top: 7px; color: var(--muted); font-size: .87rem; }
.stages { border-top: 0; gap: 8px 23px; }
.stages details, .stages details + details { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
.contact-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.contact-phone {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  border-bottom: 1px solid #75896f;
  font-size: 1.3rem;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  text-decoration: none;
}
#brief > p > a { color: var(--green); }

#project-dialog {
  width: min(96vw, 1130px);
  max-height: 91vh;
  overflow: auto;
  padding: clamp(19px, 3.2vw, 44px);
  border: 1px solid #5b6d59;
  background: #141b14;
  color: var(--ink);
}
#project-dialog::backdrop { background: #050805c9; }
#project-dialog .close-button {
  position: sticky;
  top: 0;
  float: right;
  line-height: 1;
  padding: 0;
  background: #1f2c20;
  border: 1px solid #556653;
  z-index: 1;
}
#project-content .eyebrow { margin-bottom: 12px; padding-right: 47px; }
#case-title {
  font-size: clamp(2.15rem, 5vw, 4.65rem);
  line-height: .99;
  letter-spacing: -.052em;
  overflow-wrap: anywhere;
  padding-right: 40px;
}
.case-type { margin: 12px 0 24px; color: var(--muted); }
.case-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr); gap: 24px; clear: both; }
.gallery { min-width: 0; }
.gallery-slide { margin: 0; }
.gallery-image-link { display: grid; min-height: 180px; aspect-ratio: 1.59; background: #0c140d; }
.gallery-image-link img { display: block; width: 100%; height: 100%; min-height: 0; max-height: 55vh; object-fit: contain; }
.gallery-slide figcaption { min-height: 29px; margin-top: 8px; color: var(--muted); font-size: .95rem; }
.gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 10px; }
.gallery-controls button, .gallery-thumbnails button {
  min-height: 40px;
  border: 1px solid #4d634b;
  background: #1b271b;
  color: var(--ink);
}
.gallery-controls button { padding: 5px 12px; font-size: 1rem; }
.gallery-controls button:hover, .gallery-thumbnails button:hover { border-color: var(--green); }
.gallery-controls span { color: var(--muted); font-size: .91rem; }
.gallery-thumbnails { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.gallery-thumbnails button { width: 64px; height: 43px; padding: 2px; }
.gallery-thumbnails button[aria-pressed="true"] { border: 2px solid var(--green); }
.gallery-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.case-summary { margin: 0 0 14px; }
.case-note { margin: 10px 0 0; color: var(--muted); font-size: .97rem; }
.case-note a { color: var(--green); }
.case-facts { margin: 0; }
.case-facts > div {
  display: grid;
  grid-template-columns: minmax(75px, .39fr) minmax(0, 1fr);
  align-items: baseline;
  gap: 12px;
  padding-block: 9px;
  border-top: 1px solid var(--rule);
}
.case-facts > div:last-child { border-bottom: 1px solid var(--rule); }
.case-facts dt { font-weight: 700; }
.case-facts dd { margin: 0; color: var(--muted); }
.case-facts dd small { display: block; color: #9cad98; font-size: .88rem; line-height: 1.3; }
.masterplan { margin-top: 34px; }
.masterplan h3 { margin: 0 0 12px; font: 650 1.5rem/1.1 var(--type-head); }
.masterplan table { width: 100%; max-width: 680px; border-collapse: collapse; }
.masterplan th, .masterplan td { text-align: left; padding: 7px 10px; border-bottom: 1px solid var(--rule); }
.masterplan thead th { color: var(--green); }
.masterplan tbody th { font-weight: 540; }

@media (max-width: 900px) {
  .hero-directions { gap: 18px; letter-spacing: .075em; }
  .projects-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 690px) {
  .hero-image-credit { bottom: 94px; font-size: .73rem; }
  .hero-directions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px 14px; padding-block: 6px; font-size: .71rem; }
  .hero-directions a { min-height: 36px; }
  .project-filters { gap: 6px; }
  .project-filters button { min-height: 40px; padding-inline: 9px; font-size: .9rem; }
  .portfolio-group { margin-top: 28px; }
  .projects-grid { gap: 11px; }
  .tile-body { padding: 11px 9px 13px; }
  .tile-title { overflow-wrap: anywhere; }
  .tile-type { font-size: .91rem; }
  .tile-status { font-size: .84rem; }
  .case-layout, .contact-layout { grid-template-columns: 1fr; gap: 20px; }
  .gallery-image-link { min-height: 145px; }
  .gallery-image-link img { max-height: 45vh; }
}
@media (max-width: 355px) {
  .projects-grid { grid-template-columns: 1fr; }
}
