@font-face {
  font-family: Onest;
  src: url("onest.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Golos Text";
  src: url("golos.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --green: #007a45;
  --green-hover: #00633a;
  --graphite: #101820;
  --platinum: #e8eeec;
  --paper: #f4f6f2;
  --white: #fff;
  --muted: #43524f;
  --line: #cdd8d2;
  --dark-line: #45534f;
  --gutter: clamp(20px, 5vw, 76px);
  --page-width: 1440px;
  --display: Onest, Arial, sans-serif;
  --body: "Golos Text", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--graphite);
  font: 400 1rem/1.55 var(--body);
}

h1, h2, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
::selection { color: var(--white); background: var(--green); }

.wrap {
  width: min(100%, var(--page-width));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  z-index: 3;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-180%);
  color: var(--white);
  background: var(--graphite);
}
.skip:focus { transform: none; }

.site-header { border-bottom: 1px solid var(--line); }

.header-inner {
  min-height: 100px;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) auto 1fr;
  align-items: center;
  gap: clamp(20px, 3.6vw, 56px);
}

.brand { display: block; width: max-content; }
.brand img { width: 320px; height: auto; }
.navigation { display: flex; align-items: center; gap: clamp(18px, 2.8vw, 42px); }
.navigation a { padding-block: 12px; text-decoration: none; white-space: nowrap; }
.navigation a:hover { color: var(--green); }

.header-cta {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.header-cta:hover { color: var(--green); border-color: var(--green); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding-block: clamp(40px, 5.2vw, 78px);
}

.hero-copy { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.095em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; flex: 0 0 22px; height: 2px; background: currentColor; }

h1, h2 {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.056em;
}

h1 {
  margin-block-start: 22px;
  font-size: clamp(2.6rem, 5.66vw, 5.25rem);
  line-height: 0.98;
}
h1 span { display: block; color: var(--green); }

.hero-description {
  max-width: 39ch;
  margin-top: 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.33vw, 1.1875rem);
  line-height: 1.62;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px clamp(18px, 2.3vw, 32px);
  margin-top: 28px;
}

.button, .text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.button { justify-content: space-between; padding: 12px 19px; text-decoration: none; }
.button-primary { color: var(--white); background: var(--green); }
.button-primary:focus-visible { outline-color: var(--green); }
.button-primary:hover { background: var(--green-hover); }
.text-link { text-underline-offset: 5px; text-decoration-thickness: 1px; }
.text-link:hover { color: var(--green); }
.button span, .text-link span, .header-cta span, .channels span { font-size: 1.2em; line-height: 1; }

.hero-figure {
  min-width: 0;
  background: var(--graphite);
  color: var(--platinum);
}
.hero-figure img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.39;
  object-fit: cover;
  object-position: center;
}
.hero-figure figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  column-gap: 16px;
  row-gap: 4px;
  padding: 11px 16px;
  border-top: 1px solid var(--dark-line);
  font-size: 0.8125rem;
}
.construction-code {
  color: #b6d2c2;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.055em;
}

.production {
  background: var(--platinum);
  border-top: 1px solid var(--line);
}
.production-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 88px);
  align-items: center;
  padding-block: clamp(48px, 6.4vw, 92px);
}

.production h2, .contacts h2 {
  margin-top: 14px;
  font-size: clamp(2.125rem, 4vw, 3.875rem);
  line-height: 1.03;
  text-wrap: balance;
}

.production-copy > p:not(.eyebrow), .contact-copy > p:not(.eyebrow) {
  max-width: 56ch;
  margin-top: 18px;
  color: var(--muted);
  text-wrap: pretty;
}
.production-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.production-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  font-size: 0.9375rem;
}

.production-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 16px);
  min-width: 0;
}
.production-figure { background: var(--white); }
.production-figure-wide { grid-column: 1 / -1; }
.production-figure img { width: 100%; aspect-ratio: 1.5; height: auto; object-fit: cover; object-position: center; }
.production-figure figcaption {
  padding: 10px clamp(8px, 1vw, 14px);
  border-top: 1px solid var(--platinum);
  color: var(--muted);
  font-size: clamp(0.75rem, 0.8vw, 0.8125rem);
}

.contacts { background: var(--graphite); color: var(--platinum); }
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
  gap: clamp(28px, 8vw, 118px);
  padding-block: clamp(48px, 6.2vw, 88px);
}
.contacts .eyebrow { color: #b6d2c2; }
.contacts h2 { max-width: 11ch; }
.contact-copy > p:not(.eyebrow), .contact-details address p { color: #cbd6d2; }
.contact-details { align-self: center; }
.contact-details address { display: grid; justify-items: start; gap: 12px; font-style: normal; }
.phone {
  color: var(--white);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.1vw, 2.75rem);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.08;
  text-decoration: none;
}
.email { text-underline-offset: 5px; overflow-wrap: anywhere; }
.phone:hover, .email:hover { color: #b6d2c2; }

.channels { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.channels a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 13px;
  border: 1px solid var(--dark-line);
  text-decoration: none;
}
.channels a:hover { border-color: var(--platinum); }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  min-height: 91px;
  padding-block: 24px;
  border-top: 1px solid var(--dark-line);
}
.footer-brand img { width: 240px; height: auto; }
.footer small { color: #cbd6d2; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 6px clamp(14px, 2vw, 28px);
  font-size: 0.875rem;
}
.footer-legal a { padding-block: 8px; text-underline-offset: 4px; }

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-block: 20px;
}
.legal-header-inner > a { text-underline-offset: 4px; }
.legal-page {
  width: min(100%, 840px);
  margin-inline: auto;
  padding: clamp(32px, 6vw, 76px) clamp(20px, 5vw, 48px) clamp(48px, 8vw, 96px);
  overflow-wrap: anywhere;
}
.legal-page h1 {
  max-width: none;
  margin-top: 16px;
  font-size: clamp(2.15rem, 5vw, 4rem);
  line-height: 1.04;
  text-wrap: balance;
}
.legal-page h2 {
  font-size: clamp(1.375rem, 3.2vw, 1.875rem);
  line-height: 1.14;
  letter-spacing: -0.035em;
}
.legal-page p, .legal-page dl, .legal-page ul, .legal-page ol {
  margin: 12px 0 0;
  color: var(--muted);
}
.legal-page li + li { margin-top: 8px; }
.legal-page dt { margin-top: 8px; color: var(--graphite); font-weight: 600; }
.legal-page dd { margin: 0; }
.legal-page section { margin-top: 34px; }
.legal-page a { color: var(--green); text-underline-offset: 4px; }
.legal-page .legal-intro { margin-top: 20px; }
.legal-page .legal-contents {
  margin-top: 24px;
  padding: 18px 22px 18px 42px;
  border: 1px solid var(--line);
}
.legal-page .legal-related {
  margin-top: 36px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1050px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .navigation { display: none; }
  .hero { gap: 28px; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding-block-start: 34px;
  }
  h1 { font-size: clamp(2.5rem, 10.1vw, 4.65rem); max-width: 13ch; }
  .hero-break { display: none; }
  .hero-description { margin-top: 16px; }
  .hero-actions { margin-top: 20px; }
}

@media (max-width: 720px) {
  .header-inner { min-height: 78px; }
  .brand img { width: 240px; }
  .production-inner, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { gap: 28px; }
}

@media (max-width: 480px) {
  .header-cta { display: none; }
  .header-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 360px) {
  .hero-actions { display: grid; justify-items: start; gap: 5px; }
  .eyebrow { font-size: 0.6875rem; gap: 8px; }
  .eyebrow::before { flex-basis: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
