:root {
  --bg: #253135;
  --bg-deeper: #1f2a2f;
  --bg-deepest: #182225;
  --bg-2: #314147;
  --bg-3: #3e5056;

  --ink: #f7fbfa;
  --ink-soft: rgba(247, 251, 250, .82);
  --ink-muted: rgba(247, 251, 250, .66);
  --line: rgba(247, 251, 250, .18);
  --line-strong: rgba(247, 251, 250, .38);

  --paper: #f5f6f2;
  --paper-white: #fbfcfa;
  --paper-ink: #243036;
  --paper-muted: #54636a;
  --paper-line: #c9d0ce;
  --paper-line-soft: #d9dedb;

  --green: #a9d6bd;
  --green-2: #69b985;
  --green-light: #c2ead3;
  --green-deep: #1f7a44;
  --green-deep-2: #1a5f37;
  --green-ink: #173526;
  --green-status-bg: #e6f3e9;
  --green-status-ink: #245b38;
  --green-error-bg: #fbeaea;
  --green-error-ink: #842026;

  --shadow: 0 24px 70px rgba(0, 0, 0, .28);
  --wrap: min(1220px, calc(100% - clamp(32px, 6vw, 96px)));
  --header-h: 84px;

  --focus-ring: 0 0 0 3px rgba(169, 214, 189, .55);
  --focus-ring-paper: 0 0 0 3px rgba(31, 122, 68, .28);
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-gutter: stable;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, "Segoe UI", Arial, sans-serif;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font: 16px/1.5 Manrope, "Segoe UI", Arial, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
dl,
dd,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 2px;
}

.section-light :focus-visible,
.request-section :focus-visible {
  outline-color: var(--green-deep);
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  transform: translateY(-120%);
  transition: transform .18s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: -2px;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(14px, 2.4vw, 28px);
  padding: 14px max(24px, calc((100vw - 1220px) / 2));
  background: rgba(37, 49, 53, .55);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  min-width: 0;
}

.brand-emblem-wrap {
  display: inline-flex;
  flex-shrink: 0;
}

.brand-emblem {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  transition: opacity .2s ease;
}

.brand:hover .brand-emblem,
.brand:focus-visible .brand-emblem {
  opacity: .8;
}

.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  white-space: nowrap;
}

.brand-lockup-1 {
  font-family: inherit;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: .08em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-lockup-2 {
  font-family: inherit;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-soft);
}

.main-nav {
  display: flex;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 28px);
  color: var(--ink-soft);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  padding-block: 10px;
  transition: color .18s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--ink);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.cta-bracket {
  position: relative;
  display: inline-block;
  padding: 14px 30px;
  background: transparent;
  border: 0;
  color: var(--ink);
  font: 700 14px/1 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  min-height: 44px;
  transition: color .18s ease;
}

.cta-bracket::before,
.cta-bracket::after {
  position: absolute;
  top: 50%;
  transform: translateY(-52%);
  color: var(--green);
  font-family: inherit;
  font-weight: 300;
  font-size: 38px;
  line-height: 1;
  transition: color .18s ease, transform .22s ease;
}

.cta-bracket::before {
  left: 0;
  content: "[";
}

.cta-bracket::after {
  right: 0;
  content: "]";
}

.cta-bracket:hover {
  color: var(--green);
}

.cta-bracket:hover::before {
  transform: translate(-2px, -52%);
}

.cta-bracket:hover::after {
  transform: translate(2px, -52%);
}

.cta-bracket-lg {
  font-size: 15px;
  padding: 18px 40px;
}

.cta-bracket-lg::before,
.cta-bracket-lg::after {
  font-size: 52px;
}

.header-cta {

  padding: 10px 28px;
  font-size: 13px;
  letter-spacing: .08em;
}

.header-cta::before,
.header-cta::after {
  font-size: 32px;
}

.cta-bracket-solid {
  background: var(--green-2);
  color: var(--green-ink);
  border-radius: 4px;
  padding-left: 28px;
  padding-right: 28px;
  box-shadow:
    0 12px 28px rgba(105, 185, 133, .32),
    0 1px 0 rgba(255, 255, 255, .22) inset;
  transition: background .18s ease, color .18s ease,
              box-shadow .22s ease, transform .18s ease;
}

.cta-bracket-solid::before,
.cta-bracket-solid::after {
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-ink);
  font-size: inherit;
  font-weight: 700;
  opacity: .55;
}

.cta-bracket-solid::before {
  left: 12px;
}

.cta-bracket-solid::after {
  right: 12px;
}

.cta-bracket-lg.cta-bracket-solid {
  padding-left: 34px;
  padding-right: 34px;
}

.cta-bracket-lg.cta-bracket-solid::before {
  left: 16px;
}

.cta-bracket-lg.cta-bracket-solid::after {
  right: 16px;
}

.cta-bracket-solid:hover {
  background: var(--green-light);
  color: var(--green-ink);
  box-shadow:
    0 16px 34px rgba(105, 185, 133, .45),
    0 1px 0 rgba(255, 255, 255, .3) inset;
  transform: translateY(-1px);
}

.cta-bracket-solid:hover::before {
  transform: translate(-2px, -50%);
  opacity: .85;
}

.cta-bracket-solid:hover::after {
  transform: translate(2px, -50%);
  opacity: .85;
}

.cta-bracket-solid:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(169, 214, 189, .55),
    0 14px 30px rgba(105, 185, 133, .4);
}

.cta-bracket-solid:active {
  transform: translateY(0);
  box-shadow:
    0 6px 16px rgba(105, 185, 133, .35),
    0 1px 0 rgba(255, 255, 255, .15) inset;
}

@media (prefers-reduced-motion: reduce) {
  .cta-bracket-solid,
  .cta-bracket-solid:hover {
    transform: none;
  }
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  position: relative;
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease, top .2s ease;
}

.nav-toggle span + span {
  margin-top: 5px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  isolation: isolate;
}

.hero-bg,
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-bg {
  background: url("images/hero-building.jpg") center / cover no-repeat;
}

.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(25, 34, 38, .9) 0%, rgba(25, 34, 38, .72) 42%, rgba(25, 34, 38, .24) 100%),
    linear-gradient(0deg, rgba(37, 49, 53, .72), rgba(37, 49, 53, .2) 42%);
}

.hero-content {
  width: var(--wrap);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  margin-inline: auto;
  display: grid;
  align-content: end;
  gap: clamp(18px, 2.6vw, 30px);
  padding: 80px 0 96px;
}

.hero-locator {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: .04em;
}

.hero-locator::before {
  content: "";
  flex-shrink: 0;
  width: 32px;
  height: 1px;
  background: var(--green);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 3vw, 36px);
  align-items: center;
  margin-top: 8px;
}

.hero-secondary {
  color: var(--ink-soft);
  font-size: 14px;
  letter-spacing: .04em;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line);
  transition: color .18s ease, border-color .18s ease;
}

.hero-secondary:hover,
.hero-secondary:focus-visible {
  color: var(--ink);
  border-color: var(--green);
}

.hero-secondary::after {
  content: " ↓";
  color: var(--green);
  margin-left: 4px;
}

h1 {
  font-size: clamp(58px, 9vw, 132px);
  font-weight: 700;
  line-height: .9;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero-title {
  margin: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.hero-logo {
  display: block;
  width: clamp(280px, 44vw, 620px);
  height: auto;
  color: var(--ink);
}

h2 {
  font-size: clamp(34px, 5vw, 76px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.005em;
  text-wrap: balance;
}

.compact-section-title {
  font-size: clamp(30px, 3.6vw, 54px);
  line-height: 1.08;
}

.hero-lead {
  max-width: 650px;
  color: var(--ink-soft);
  font-size: clamp(19px, 2.1vw, 28px);
  font-weight: 400;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  max-width: 620px;
  margin-top: clamp(24px, 4vw, 40px);
  background: var(--line);
  border: 1px solid var(--line);
}

.hero-facts div {
  position: relative;
  padding: 22px 24px 24px;
  background: rgba(37, 49, 53, .68);
  overflow: hidden;
}

.hero-facts div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--green-2);
}

.hero-facts dt {
  color: var(--ink-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.hero-facts dd {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
  gap: .35em;
  margin: 10px 0 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  line-height: 1;
}

.hero-facts .hf-from {
  color: var(--ink-muted);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  letter-spacing: .02em;
}

.hero-facts .hf-num {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -.01em;
}

.hero-facts .hf-unit {
  color: var(--ink-soft);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 500;
  letter-spacing: .02em;
}

.modal {
  width: min(560px, calc(100% - 24px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  margin: auto;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: visible;
}

.modal::backdrop {
  background: rgba(15, 22, 25, .68);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (prefers-reduced-motion: no-preference) {
  .modal[open] {
    animation: modal-in .46s cubic-bezier(.22, .61, .36, 1) both;
  }
  .modal[open]::backdrop {
    animation: backdrop-in .56s cubic-bezier(.22, .61, .36, 1) both;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(32px) scale(.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdrop-in {
  from {
    opacity: 0;
    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);
  }
  to {
    opacity: 1;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
}

.modal-card {
  position: relative;
  max-height: calc(100dvh - 32px);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 4vw, 44px) clamp(28px, 3vw, 36px);
  background: var(--bg-deeper);
  border: 1px solid var(--line);
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  background: transparent;
  border: 0;
  color: var(--ink-muted);
  cursor: pointer;
  transition: color .18s ease, transform .18s ease;
}

.modal-close:hover,
.modal-close:focus-visible {
  color: var(--ink);
  transform: scale(1.06);
}

.modal-form {
  display: grid;
  gap: 16px;
}

.modal-kicker {
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.modal-form h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.005em;
  margin: 4px 0 0;
}

.modal-sub {
  color: var(--ink-muted);
  font-size: 14px;
  margin: 0 0 8px;
}

.modal-form .field {
  display: grid;
  gap: 6px;
}

.modal-form .field > span {
  color: var(--ink-muted);
  font-size: 12px;
  letter-spacing: .04em;
}

.modal-form .field > span::after {
  content: " *";
  color: var(--green);
}

.modal-form .field[data-optional] > span::after {
  content: "";
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 10px 0;
  font: inherit;
  outline: none;
  transition: border-color .2s ease;
  border-radius: 0;
}

.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: rgba(247, 251, 250, .38);
}

.modal-form select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-muted) 50%),
    linear-gradient(135deg, var(--ink-muted) 50%, transparent 50%);
  background-position: calc(100% - 14px) 20px, calc(100% - 8px) 20px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.modal-form select:invalid {
  color: rgba(247, 251, 250, .42);
}

.modal-form option {
  background: var(--bg-deeper);
  color: var(--ink);
}

.custom-select {
  position: relative;
}

.select-trigger {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  padding: 10px 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: border-color .2s ease;
  outline: none;
}

.select-trigger:focus-visible {
  border-bottom-color: var(--green);
}

.custom-select[data-error="true"] .select-trigger {
  border-bottom-color: #e07a7a;
}

.custom-select[data-empty="true"] .select-value {
  color: rgba(247, 251, 250, .42);
}

.select-chevron {
  flex-shrink: 0;
  color: var(--ink-muted);
  transition: transform .26s cubic-bezier(.22, .61, .36, 1), color .18s ease;
}

.custom-select[data-open="true"] .select-chevron {
  transform: rotate(180deg);
  color: var(--green);
}

.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg-deeper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
  z-index: 5;
  max-height: 280px;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-6px) scale(.985);
  transform-origin: top center;
  pointer-events: none;
  transition: opacity .18s ease, transform .26s cubic-bezier(.22, .61, .36, 1);
}

.custom-select[data-open="true"] .select-options {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.select-options[hidden] {
  display: none !important;
}

.select-options li {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink-soft);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .26s cubic-bezier(.22, .61, .36, 1), background .14s ease, color .14s ease;
}

.custom-select[data-open="true"] .select-options li {
  opacity: 1;
  transform: translateY(0);
}

.custom-select[data-open="true"] .select-options li:nth-child(1) { transition-delay: 40ms, 40ms, 0ms, 0ms; }
.custom-select[data-open="true"] .select-options li:nth-child(2) { transition-delay: 75ms, 75ms, 0ms, 0ms; }
.custom-select[data-open="true"] .select-options li:nth-child(3) { transition-delay: 110ms, 110ms, 0ms, 0ms; }
.custom-select[data-open="true"] .select-options li:nth-child(4) { transition-delay: 145ms, 145ms, 0ms, 0ms; }

.select-options li.is-active {
  background: var(--bg-3);
  color: var(--ink);
}

.select-options li[aria-selected="true"] {
  color: var(--green);
}

.select-options li[aria-selected="true"]::before {
  content: "→ ";
  color: var(--green);
}

@media (prefers-reduced-motion: reduce) {
  .select-chevron,
  .select-options,
  .select-options li {
    transition: none !important;
  }
}

.modal-card-doc {
  max-width: 760px;
  max-height: 86vh;
  overflow-y: auto;
}

.doc-content h2 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.005em;
  margin: 6px 0 22px;
}

.doc-content h3 {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--green);
  margin: 24px 0 8px;
}

.doc-content p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 0 10px;
}

.doc-content ul {
  margin: 0 0 12px;
  padding-left: 20px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.55;
}

.doc-content li {
  margin-bottom: 4px;
}

.doc-content a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(105, 185, 133, .4);
  transition: text-decoration-color .18s ease;
}

.doc-content a:hover {
  text-decoration-color: var(--green);
}

.doc-content .legal-list {
  display: grid;
  grid-template-columns: minmax(180px, 0.7fr) 1fr;
  gap: 10px 24px;
  margin: 14px 0 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(247, 251, 250, .03);
}

.doc-content .legal-list dt {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-muted);
  align-self: start;
  padding-top: 2px;
}

.doc-content .legal-list dd {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink);
  word-break: break-word;
}

.doc-content .doc-foot {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  color: var(--ink-muted);
}

@media (max-width: 600px) {
  .doc-content .legal-list {
    grid-template-columns: 1fr;
    gap: 4px 0;
    padding: 14px 16px;
  }

  .doc-content .legal-list dd {
    margin-bottom: 10px;
  }
}

.modal-form textarea {
  resize: vertical;
  min-height: 44px;
  line-height: 1.4;
}

.modal-form input:focus-visible,
.modal-form select:focus-visible,
.modal-form textarea:focus-visible {
  border-bottom-color: var(--green);
  outline: none;
}

.modal-form .consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: 4px;
}

.modal-form .consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  padding: 0;
  border: 1px solid var(--line-strong);
  accent-color: var(--green-2);
  background: transparent;
}

.modal-form .consent a {
  color: var(--ink-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  transition: color .18s ease, text-decoration-color .18s ease;
}

.modal-form .consent a:hover {
  color: var(--green);
  text-decoration-color: var(--green);
}

.form-submit {
  margin-top: 8px;
  padding: 16px 22px;
  background: var(--green-2);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .02em;
  border: 0;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.form-submit:hover {
  background: #7bc89a;
  transform: translateY(-1px);
}

.form-submit:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}

.form-submit[aria-busy="true"] {
  opacity: .72;
  pointer-events: none;
  transform: none;
}

.form-status {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 1.45;
  margin: 0;
}

.form-status:not(:empty) {
  padding: 12px 14px;
  background: rgba(105, 185, 133, .14);
  color: var(--green-light);
}

.form-status[data-state="error"]:not(:empty) {
  background: rgba(180, 70, 70, .18);
  color: #f3b4b4;
}

.section {
  padding: clamp(72px, 9vw, 132px) 0;
}

.section-light {
  background: var(--paper);
  color: var(--paper-ink);
}

.section-dark {
  background: var(--bg-deeper);
}

.intro-section {
  border-top: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .72fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: end;
}

.intro-grid p:last-child,
.section-heading p,
.project-overlay p,
.request-grid p {
  color: var(--ink-soft);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
}

.section-light .section-heading p,
.section-light .intro-grid p:last-child {
  color: var(--paper-muted);
}

.section-heading {
  max-width: 900px;
  margin-bottom: clamp(28px, 5vw, 58px);
}

.section-tag {
  display: inline-flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 22px;
  color: var(--ink-muted);
  font-size: 14px;
  letter-spacing: .02em;
}

.section-light .section-tag {
  color: var(--paper-muted);
}

.section-tag .num {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}

.section-light .section-tag .num {
  color: var(--paper-ink);
}

.section-tag::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  align-self: center;
}

.location-layout {
  display: grid;
  gap: 28px;
}

.wide-media {
  overflow: hidden;
  background: var(--paper-line-soft);
}

.wide-media img {
  width: 100%;
  aspect-ratio: 16 / 8.4;
  object-fit: cover;
}

.time-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--paper-line-soft);
}

.time-list div {
  min-height: 130px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 24px;
  background: var(--paper-white);
}

.time-list strong {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.time-list span {
  color: var(--paper-muted);
  font-size: 16px;
  line-height: 1.35;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .75fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

.image-stack {
  display: grid;
  gap: 22px;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 16 / 8.8;
  object-fit: cover;
}

.feature-list h2 {
  margin-bottom: 28px;
}

.infra-title {
  font-size: clamp(28px, 3.3vw, 50px);
  line-height: 1.08;
}

.feature-list ul {
  border-top: 1px solid var(--line-strong);
}

.feature-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: clamp(20px, 2.5vw, 34px);
}

.feature-list .count {
  color: var(--green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(310px, .62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: start;
}

.sticky-heading {
  position: sticky;
  top: calc(var(--header-h) + 34px);
  margin-bottom: 0;
}

.offices-title {
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.08;
}

.sticky-heading p:last-child {
  margin-top: 24px;
}

.media-grid {
  display: grid;
  gap: 22px;
}

.media-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-grid img:nth-child(2) {
  aspect-ratio: 4 / 3;
}

.parking-layout {
  display: grid;
  gap: 28px;
}

.parking-bottom {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .55fr);
  gap: 32px;
  align-items: stretch;
}

.parking-bottom img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.plain-list {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 4vw, 52px);
  background: var(--bg-2);
  color: var(--ink-soft);
  font-size: clamp(20px, 2.2vw, 30px);
}

.plain-list li {
  position: relative;
  padding-left: 28px;
}

.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.project-section {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: grid;
  overflow: hidden;
  isolation: isolate;
}

.project-section > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.58);
  z-index: -1;
}

.project-overlay {
  width: var(--wrap);
  margin: auto;
  padding: clamp(46px, 5vw, 70px) 0 32px;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.project-overlay .project-headline {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(260px, .9fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.project-note {
  max-width: 360px;
  color: var(--ink-soft);
  font-size: clamp(18px, 1.35vw, 24px);
  line-height: 1.25;
}

.project-overlay h2 {
  font-size: clamp(50px, 4.55vw, 74px);
  font-weight: 500;
  line-height: .95;
  max-width: 420px;
  text-transform: uppercase;
}

.project-overlay ul {
  grid-column: 1 / -1;
  width: min(760px, 80%);
  margin-top: clamp(28px, 3.8vw, 48px);
  border-top: 1.5px solid rgba(255, 255, 255, .78);
}

.project-overlay li {
  padding: clamp(10px, 1.35vw, 18px) 0;
  border-bottom: 1.5px solid rgba(255, 255, 255, .78);
  color: var(--ink-soft);
  font-size: clamp(19px, 1.7vw, 29px);
  font-weight: 300;
  line-height: 1.15;
}

.views-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.views-grid figure {
  background: var(--paper-white);
}

.views-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.views-grid figcaption {
  padding: 18px 20px 22px;
  color: var(--paper-muted);
  font-weight: 600;
}

.request-section {
  padding: clamp(76px, 9vw, 128px) 0;
  background: var(--green);
  color: var(--green-ink);
}

.request-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
}

.request-grid .section-tag {
  color: var(--green-deep-2);
}

.request-grid .section-tag .num {
  color: var(--green-ink);
}

.request-grid p:last-child {
  max-width: 760px;
  margin-top: 22px;
  color: rgba(23, 53, 38, .82);
}

.cta-band {
  position: relative;
  padding: clamp(64px, 8.4vw, 120px) 0;
  background: var(--green-deep);
  color: var(--ink);
  border-top: 1px solid rgba(247, 251, 250, .14);
  border-bottom: 1px solid rgba(247, 251, 250, .14);
}

.cta-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-template-areas:
    "tag  ."
    "text side";
  align-items: end;
  gap: clamp(22px, 3.2vw, 44px) clamp(32px, 5vw, 72px);
}

.cta-band-tag {
  grid-area: tag;
  font: 600 12px/1 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(247, 251, 250, .82);
  white-space: nowrap;
}

.cta-band-text {
  grid-area: text;
  margin: 0;
  max-width: 20ch;
  font-size: clamp(28px, 3.6vw, 46px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--ink);
  text-wrap: balance;
}

.cta-band-side {
  grid-area: side;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  text-align: right;
}

.cta-band-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 36px;
  border: 0;
  border-radius: 4px;
  background: var(--bg-deepest);
  color: var(--ink);
  font: 700 15px/1 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: .06em;
  cursor: pointer;
  min-height: 58px;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, .32),
    0 1px 0 rgba(255, 255, 255, .06) inset;
  transition: background .18s ease, transform .18s ease, box-shadow .22s ease;
}

.cta-band-button::before {
  content: "[";
}

.cta-band-button::after {
  content: "]";
}

.cta-band-button::before,
.cta-band-button::after {
  font-weight: 300;
  font-size: 28px;
  line-height: 1;
  color: var(--green-light);
  transition: transform .22s ease, color .18s ease;
}

.cta-band-button:hover {
  background: #0d1517;
  transform: translateY(-1px);
  box-shadow:
    0 22px 48px rgba(0, 0, 0, .4),
    0 1px 0 rgba(255, 255, 255, .08) inset;
}

.cta-band-button:hover::before {
  transform: translateX(-3px);
}

.cta-band-button:hover::after {
  transform: translateX(3px);
}

.cta-band-button:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(169, 214, 189, .6),
    0 22px 48px rgba(0, 0, 0, .35);
}

.cta-band-button:active {
  transform: translateY(0);
}

.cta-band-meta {
  font-size: 13px;
  color: rgba(247, 251, 250, .68);
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}

@media (prefers-reduced-motion: reduce) {
  .cta-band-button,
  .cta-band-button:hover,
  .cta-band-button:hover::before,
  .cta-band-button:hover::after {
    transform: none;
  }
}

@media (max-width: 720px) {
  .cta-band-inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "tag"
      "text"
      "side";
  }

  .cta-band-text {
    max-width: 100%;
    font-size: clamp(26px, 7vw, 36px);
  }

  .cta-band-side {
    align-items: flex-start;
    text-align: left;
  }

  .cta-band-button {
    width: 100%;
    justify-content: center;
  }
}

.brand-coda-section {
  background: var(--bg-deeper);
  color: var(--ink-muted);
}

.brand-coda {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: end;
  padding: clamp(48px, 6vw, 72px) 0 clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--line);
}

.brand-coda .coda-mark {
  padding-bottom: 8px;
  color: var(--ink);
}

.brand-coda .brand-emblem.big {
  display: block;
  width: clamp(96px, 11vw, 140px);
  height: auto;
  object-fit: contain;
}

.brand-coda .coda-body {
  min-width: 0;
}

.brand-coda .coda-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
  margin-bottom: 18px;
}

.brand-coda .brand-lockup-1 {
  font-weight: 600;
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: .04em;
  color: var(--ink);
  text-transform: uppercase;
}

.brand-coda .brand-lockup-2 {
  font-weight: 400;
  font-size: clamp(13px, 1.2vw, 17px);
  letter-spacing: .01em;
  color: var(--ink-soft);
}

.brand-coda .coda-body h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.4vw, 32px);
  line-height: 1.15;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.005em;
}

.brand-coda .coda-body p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 56ch;
}

.brand-coda .coda-stamp {
  align-self: end;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  font-family: "JetBrains Mono", "SF Mono", ui-monospace, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  background: rgba(169, 214, 189, .06);
  white-space: nowrap;
}

.site-footer {
  padding: clamp(48px, 6vw, 72px) 0 32px;
  background: var(--bg-deeper);
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.55;
}

.site-footer .wrap {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}

.site-footer h3 {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.site-footer a {
  color: var(--ink-soft);
  transition: color .18s ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ink);
}

.site-footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.footer-brand .brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1;
}

.footer-brand .brand-lockup-1 {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: .08em;
  color: var(--ink);
  text-transform: uppercase;
}

.footer-brand .brand-lockup-2 {
  font-weight: 400;
  font-size: 13px;
  letter-spacing: .02em;
  color: var(--ink-soft);
}

.footer-brand p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 340px;
  font-size: 13.5px;
  line-height: 1.55;
}

.footer-col h3 {
  margin: 0 0 18px;
}

.footer-contacts {
  gap: 14px;
}

.footer-contacts li {
  display: block;
}

.footer-contacts a,
.footer-contacts .footer-address {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink-soft);
  line-height: 1.45;
  transition: color .18s ease;
}

.footer-contacts a:hover,
.footer-contacts a:focus-visible {
  color: var(--ink);
}

.footer-contacts a:hover .footer-ico,
.footer-contacts a:focus-visible .footer-ico {
  color: var(--green);
}

.footer-contacts .footer-address {
  color: var(--ink-muted);
}

.footer-ico {
  display: block;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--green);
  transition: color .18s ease;
}

.footer-docs li a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
  padding-left: 14px;
}

.footer-docs li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-top: 1px solid var(--green);
  border-right: 1px solid var(--green);
  transform: translateY(-50%) rotate(45deg);
  transition: border-color .18s ease, transform .18s ease;
}

.footer-docs li a:hover::before,
.footer-docs li a:focus-visible::before {
  border-color: var(--ink);
  transform: translateY(-50%) translateX(2px) rotate(45deg);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 18px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: space-between;
  font-size: 12px;
}

.nav-overlay {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 25;
  background: rgba(31, 42, 47, .98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 32px max(24px, 6vw);
  display: grid;
  align-content: start;
  gap: 8px;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  visibility: hidden;
}

.nav-overlay[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.nav-overlay a,
.nav-overlay button {
  display: block;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font: 600 clamp(22px, 5vw, 32px)/1.2 inherit;
  letter-spacing: -.01em;
  text-align: left;
  cursor: pointer;
}

.nav-overlay .num {
  color: var(--ink-muted);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  font-size: 14px;
  margin-right: 14px;
  letter-spacing: 0;
}

.nav-overlay .nav-cta {
  position: relative;
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 18px 32px;
  border: 0;
  border-bottom: 0;
  border-radius: 4px;
  background: var(--green-2);
  color: var(--green-ink);
  font: 700 14px/1 Manrope, "Segoe UI", Arial, sans-serif;
  letter-spacing: .06em;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 10px 24px rgba(105, 185, 133, .25),
    0 1px 0 rgba(255, 255, 255, .2) inset;
  transition: background .18s ease, box-shadow .22s ease;
}

.nav-overlay .nav-cta::before,
.nav-overlay .nav-cta::after {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--green-ink);
  font: 700 18px/1 inherit;
  opacity: .55;
}

.nav-overlay .nav-cta::before { content: "["; left: 14px; }
.nav-overlay .nav-cta::after { content: "]"; right: 14px; }

.nav-overlay .nav-cta:hover {
  background: var(--green-light);
}

body[data-nav="open"],
body[data-modal="open"] {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content,
  .intro-grid,
  .split-section,
  .content-grid,
  .parking-bottom,
  .request-grid {
    grid-template-columns: 1fr;
  }

  .sticky-heading {
    position: static;
  }

  .project-overlay,
  .project-overlay .project-headline {
    grid-template-columns: 1fr;
  }

  .site-footer .wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .image-stack img,
  .wide-media img {
    aspect-ratio: auto;
  }
}

@media (min-width: 1081px) {
  .nav-overlay {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: min(100% - 32px, 1220px);
    --header-h: 70px;
  }

  .site-header {
    padding: 12px 16px;
  }

  .brand {
    gap: 10px;
  }

  .brand-emblem {
    height: 38px;
  }

  .brand-lockup-1 {
    font-size: 16px;
    letter-spacing: .06em;
  }

  .brand-lockup-2 {
    font-size: 12px;
  }

  .brand-coda {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 36px 0 24px;
    align-items: start;
  }

  .brand-coda .coda-mark {
    padding-bottom: 0;
  }

  .brand-coda .brand-emblem.big {
    width: 80px;
  }

  .brand-coda .coda-body h3 {
    font-size: 20px;
  }

  .brand-coda .coda-body p {
    font-size: 12.5px;
  }

  .brand-coda .coda-stamp {
    justify-self: start;
    font-size: 10px;
    padding: 6px 10px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 56px 0 40px;
  }

  .hero-bg {
    background-position: 58% center;
  }

  .hero-shade {
    background: linear-gradient(0deg, rgba(25, 34, 38, .94), rgba(25, 34, 38, .62));
  }

  h1 {
    font-size: clamp(48px, 15vw, 82px);
  }

  .hero-logo {
    width: clamp(240px, 78vw, 420px);
  }

  h2 {
    font-size: clamp(32px, 10vw, 52px);
  }

  .hero-facts,
  .time-list,
  .views-grid {
    grid-template-columns: 1fr;
  }

  .hero-facts div,
  .time-list div {
    padding: 18px;
  }

  .feature-list li {
    grid-template-columns: 52px 1fr;
    font-size: clamp(20px, 6vw, 28px);
  }

  .project-section {
    min-height: calc(100vh - var(--header-h));
    min-height: calc(100svh - var(--header-h));
  }

  .project-overlay {
    padding: 46px 0;
  }

  .project-note {
    max-width: none;
    font-size: 17px;
  }

  .project-overlay h2 {
    font-size: clamp(48px, 15vw, 78px);
  }

  .project-overlay ul {
    width: 100%;
    margin-top: 30px;
  }

  .project-overlay li {
    padding: 14px 0;
    font-size: clamp(20px, 6vw, 28px);
  }

  .site-footer .wrap {
    grid-template-columns: 1fr;
  }
}

.mobile-cta {
  display: none;
}

@media (max-width: 1080px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 22;
    padding: 14px 20px;
    border: 0;
    background: var(--green);
    color: var(--green-ink);
    font: 700 15px/1.2 inherit;
    letter-spacing: .02em;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 0, 0, .35);
    transition: background .18s ease, transform .18s ease;
  }

  .mobile-cta:hover,
  .mobile-cta:focus-visible {
    background: var(--green-light);
    transform: translateY(-1px);
  }
}

.img-zoomable {
  cursor: zoom-in;
  transition: opacity .2s ease;
}

.img-zoomable:hover {
  opacity: .92;
}

.img-zoomable:focus-visible {
  outline-offset: 6px;
}

.lightbox {
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}

.lightbox::backdrop {
  background: rgba(15, 22, 25, .94);
}

.lightbox[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: clamp(56px, 5vw, 80px) clamp(40px, 6vw, 120px) clamp(96px, 9vw, 140px);
}

.lightbox-image {
  max-width: calc(100dvw - 2 * clamp(40px, 6vw, 120px));
  max-height: calc(100dvh - clamp(56px, 5vw, 80px) - clamp(96px, 9vw, 140px));
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
  user-select: none;
  touch-action: none;
  -webkit-user-drag: none;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .55);
  transform-origin: center center;
}

@media (min-width: 1080px) {
  .lightbox-image {
    max-width: min(1920px, calc(100dvw - 2 * clamp(40px, 6vw, 120px)));
    max-height: min(1200px, calc(100dvh - clamp(56px, 5vw, 80px) - clamp(96px, 9vw, 140px)));
  }
}

.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: var(--ink-muted);
  font-size: 13px;
  letter-spacing: .02em;
  padding: 0 80px;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: rgba(15, 22, 25, .55);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  z-index: 1;
  transition: background .18s ease, transform .18s ease, border-color .18s ease;
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: rgba(15, 22, 25, .85);
  border-color: var(--green);
  transform: scale(1.06);
}

@media (prefers-reduced-motion: no-preference) {
  .lightbox[open]:not(.is-closing),
  .lightbox[open]:not(.is-closing)::backdrop {
    animation: lightbox-fade-in .18s ease-out both;
  }
  .lightbox.is-closing,
  .lightbox.is-closing::backdrop {
    animation: lightbox-fade-out .16s ease-in both;
  }
}

@keyframes lightbox-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes lightbox-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@media (max-width: 1080px) {
  main {
    padding-bottom: 78px;
  }
}
