@font-face {
  font-family: "Viaoda Libre";
  src: url("/assets/fonts/viaoda-libre-cyrillic.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Viaoda Libre";
  src: url("/assets/fonts/viaoda-libre-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-text-cyrillic.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Golos Text";
  src: url("/assets/fonts/golos-text-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400 700;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  --onyx: #161210;
  --umber: #30241e;
  --copper: #a56640;
  --copper-deep: #78472f;
  --amber: #d6a45e;
  --porcelain: #e9e7e2;
  --paper: #f8f6f1;
  --night-blue: #17221f;
  --garden: #31443b;
  --muted: #68615b;
  --line: rgba(23, 18, 15, 0.16);
  --line-light: rgba(252, 250, 246, 0.22);
  --error: #a63d32;
  --success: #226348;
  --shadow: 0 30px 90px rgba(35, 24, 17, 0.17);
  --header-h: 78px;
  --shell: 1440px;
  --display: "Viaoda Libre", "Times New Roman", serif;
  --body: "Golos Text", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--porcelain);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--onyx);
  background: var(--porcelain);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

picture {
  display: block;
}

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

button,
input {
  font: inherit;
}

button,
a {
  touch-action: manipulation;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 4px;
  box-shadow: 0 0 0 7px var(--onyx);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--paper);
  background: var(--onyx);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 36px), var(--shell));
  margin-inline: auto;
}

.narrow-shell {
  max-width: 960px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  color: var(--onyx);
  border-bottom: 1px solid transparent;
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(233, 231, 226, 0.96);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 35px rgba(23, 18, 15, 0.08);
  backdrop-filter: blur(16px);
}

.header-shell {
  display: grid;
  grid-template-columns: minmax(170px, 0.8fr) 2fr minmax(190px, 0.8fr);
  gap: 28px;
  align-items: center;
  height: 100%;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  line-height: 1;
}

.brand span {
  font-family: var(--display);
  font-size: 23px;
  letter-spacing: 0.27em;
}

.brand small {
  margin-top: 7px;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.5vw, 38px);
}

.desktop-nav a,
.header-phone {
  position: relative;
  padding-block: 10px;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: 0.04em;
}

.desktop-nav a::after,
.header-phone::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--copper);
  transition: right 180ms ease;
}

.desktop-nav a:hover::after,
.header-phone:hover::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.header-phone {
  white-space: nowrap;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.mobile-menu {
  display: none;
}

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 6.6vw, 7.2rem);
  line-height: 0.94;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 4.7vw, 5rem);
  line-height: 1;
}

h3 {
  font-size: clamp(1.55rem, 2.6vw, 2.4rem);
  line-height: 1.08;
}

.eyebrow {
  margin-bottom: 20px;
  color: var(--copper-deep);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}

.lead {
  max-width: 680px;
  margin-bottom: 32px;
  color: #4f4841;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper);
  background: var(--onyx);
  border-color: var(--onyx);
  box-shadow: inset 0 -3px 0 var(--copper);
}

.button-primary:hover {
  background: var(--umber);
  border-color: var(--umber);
}

.button-light {
  color: var(--onyx);
  background: var(--paper);
  border-color: var(--paper);
}

.button-light:hover {
  color: var(--paper);
  background: transparent;
}

.button-outline {
  border-color: var(--onyx);
  background: transparent;
}

.button-outline:hover {
  color: var(--paper);
  background: var(--onyx);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-block: 8px;
  color: var(--copper-deep);
  font-size: 13px;
  font-weight: 650;
}

.text-link .icon {
  transition: transform 180ms ease;
}

.text-link:hover .icon {
  transform: translateX(5px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  align-items: center;
}

.home-hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 52px) 0 72px;
  overflow: hidden;
  background: var(--porcelain);
}

.home-hero::before {
  display: none;
}

.home-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: clamp(48px, 6vw, 96px);
  align-items: center;
}

.hero-visual {
  position: relative;
  min-width: 0;
}

.onyx-frame {
  position: relative;
  padding: clamp(14px, 1.6vw, 24px);
  background: var(--onyx);
  box-shadow: var(--shadow);
}

.onyx-frame::before,
.onyx-frame::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.onyx-frame::before {
  inset: 7px;
  border: 1px solid rgba(212, 164, 94, 0.6);
}

.onyx-frame::after {
  right: -22px;
  bottom: -22px;
  width: 42%;
  height: 42%;
  border-right: 1px solid var(--copper);
  border-bottom: 1px solid var(--copper);
}

.hero-picture {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #2a2623;
}

.hero-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
}

.hero-copy {
  position: relative;
  padding: clamp(34px, 4.4vw, 68px) clamp(30px, 4vw, 60px);
  border-block: 1px solid var(--line);
  background: var(--paper);
  box-shadow: inset 4px 0 0 rgba(165, 102, 64, 0.72);
}

.hero-copy h1 {
  max-width: 8.5ch;
}

.signature-vein {
  position: relative;
  z-index: 2;
  color: var(--paper);
  background: var(--onyx);
  overflow: hidden;
}

.signature-vein::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background: linear-gradient(90deg, var(--copper-deep), var(--amber) 52%, var(--copper));
  clip-path: polygon(
    0 57%,
    23% 57%,
    23% 44%,
    48% 44%,
    48% 65%,
    74% 65%,
    74% 50%,
    100% 50%,
    100% 51.4%,
    75% 51.4%,
    75% 66.4%,
    47% 66.4%,
    47% 45.4%,
    22% 45.4%,
    22% 58.4%,
    0 58.4%
  );
  transform-origin: left center;
  animation: vein-pass 1.25s 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.vein-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr 1.25fr 0.75fr;
  align-items: stretch;
}

.vein-grid > div {
  position: relative;
  min-height: 198px;
  padding: 40px clamp(20px, 3vw, 48px) 34px;
  border-left: 1px solid var(--line-light);
}

.vein-grid > div:nth-child(2) {
  padding-top: 64px;
}

.vein-grid > div:nth-child(3) {
  padding-top: 30px;
}

.vein-grid > div:nth-child(4) {
  padding-top: 55px;
}

.vein-grid > div:last-child {
  border-right: 1px solid var(--line-light);
}

.vein-grid span {
  display: block;
  margin-bottom: 18px;
  color: var(--amber);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.vein-grid strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.75rem, 2.8vw, 3rem);
  font-weight: 400;
  line-height: 1;
}

.vein-grid small {
  display: block;
  margin-top: 9px;
  color: rgba(252, 250, 246, 0.65);
  font-size: 12px;
}

@keyframes vein-pass {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 0.58;
    transform: scaleX(1);
  }
}

@keyframes vein-pass-vertical {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 0.58;
    transform: scaleY(1);
  }
}

.section {
  padding: clamp(86px, 10vw, 168px) 0;
}

.section-heading {
  max-width: 850px;
}

.centered-heading {
  margin-inline: auto;
  text-align: center;
}

.centered-heading p:last-child {
  max-width: 650px;
  margin-inline: auto;
  color: var(--muted);
}

.thesis-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
}

.thesis-copy {
  align-self: end;
  max-width: 520px;
  font-size: 18px;
}

.wide-image {
  grid-column: 1 / -1;
  margin-top: 20px;
  overflow: hidden;
  background: var(--umber);
  clip-path: polygon(0 0, 96% 0, 100% 12%, 100% 100%, 4% 100%, 0 88%);
}

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

.residence-section {
  color: var(--paper);
  background: var(--night-blue);
}

.residence-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: clamp(50px, 7vw, 110px);
  align-items: center;
}

.residence-image {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(212, 164, 94, 0.48);
}

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

.residence-copy .eyebrow {
  color: var(--amber);
}

.residence-copy p {
  color: rgba(252, 250, 246, 0.72);
  font-size: 18px;
}

.quiet-list {
  display: grid;
  gap: 12px;
  margin: 28px 0 36px;
  padding: 0;
  list-style: none;
}

.quiet-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-light);
}

.quiet-list .icon {
  color: var(--amber);
}

.residence-copy .button-outline {
  color: var(--paper);
  border-color: rgba(252, 250, 246, 0.6);
}

.residence-copy .button-outline:hover {
  color: var(--onyx);
  background: var(--paper);
}

.ecosystem-section {
  background: var(--paper);
}

.ecosystem-index {
  display: grid;
  grid-template-columns: 0.92fr 1.15fr 0.92fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: end;
  margin-top: 70px;
}

.ecosystem-item {
  position: relative;
  min-width: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.ecosystem-item:nth-child(2) {
  transform: translateY(-28px);
}

.ecosystem-item picture {
  margin-bottom: 20px;
  overflow: hidden;
}

.ecosystem-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 480ms ease;
}

.ecosystem-item:nth-child(2) img {
  aspect-ratio: 4 / 4.4;
}

.ecosystem-item:hover img {
  transform: scale(1.025);
}

.ecosystem-item span {
  display: block;
  margin-bottom: 7px;
  color: var(--copper-deep);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.ecosystem-item strong {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.05;
}

.ecosystem-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 54px;
}

.ecosystem-links a {
  padding: 10px 18px;
  border: 1px solid var(--line);
  color: #514941;
  font-size: 12px;
}

.ecosystem-links a:hover {
  color: var(--paper);
  background: var(--onyx);
}

.location-section {
  position: relative;
  color: var(--paper);
  background:
    linear-gradient(110deg, rgba(21, 32, 43, 0.96), rgba(21, 32, 43, 0.78)),
    url("/assets/images/aerial.webp") center / cover;
}

.location-head {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 60px;
  align-items: end;
}

.location-head .eyebrow {
  color: var(--amber);
}

.location-head > p {
  max-width: 520px;
  color: rgba(252, 250, 246, 0.74);
  font-size: 18px;
}

.route-line {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 70px 0 44px;
}

.route-line::before {
  content: "";
  position: absolute;
  top: 21px;
  right: 12%;
  left: 4%;
  height: 1px;
  background: linear-gradient(90deg, var(--amber), rgba(212, 164, 94, 0.15));
}

.route-line > div {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-left: 28px;
}

.route-line > div::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  width: 13px;
  height: 13px;
  border: 3px solid var(--night-blue);
  background: var(--amber);
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--amber);
}

.route-line strong {
  font-family: var(--display);
  font-size: clamp(3.3rem, 6vw, 6.5rem);
  font-weight: 400;
  line-height: 0.85;
}

.route-line span {
  margin-top: 15px;
  color: var(--amber);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.route-line small {
  margin-top: 5px;
  color: rgba(252, 250, 246, 0.66);
}

.legal-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(60px, 9vw, 140px);
  align-items: start;
}

.legal-copy p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.legal-ledger {
  border-top: 1px solid var(--onyx);
}

.legal-ledger > div {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-ledger span {
  color: var(--muted);
  font-size: 12px;
}

.legal-ledger strong {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.3vw, 2.3rem);
  font-weight: 400;
  line-height: 1.1;
}

.sales-context,
.inline-cta {
  color: var(--paper);
  background: var(--onyx);
  border-top: 1px solid rgba(214, 164, 94, 0.48);
}

.sales-context-grid,
.inline-cta-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.sales-context .eyebrow,
.inline-cta .eyebrow {
  color: #f1c982;
}

.sales-context h2,
.inline-cta h2 {
  max-width: 900px;
}

.sales-context p:not(.eyebrow),
.inline-cta p:not(.eyebrow) {
  max-width: 730px;
  color: rgba(252, 250, 246, 0.75);
}

.breadcrumbs {
  display: flex;
  min-height: 38px;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: calc(var(--header-h) + 30px);
  color: var(--muted);
  font-size: 12px;
}

.breadcrumbs a:hover {
  color: var(--copper-deep);
}

.breadcrumbs span[aria-current="page"] {
  color: var(--onyx);
}

.inner-hero {
  padding: 54px 0 84px;
}

.inner-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(440px, 1.1fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
}

.inner-hero-copy h1 {
  max-width: 10ch;
  font-size: clamp(3.1rem, 6vw, 6.8rem);
}

.inner-hero-media {
  position: relative;
  padding: 14px;
  background: var(--onyx);
  box-shadow: var(--shadow);
}

.inner-hero-media::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: 2;
  border: 1px solid rgba(212, 164, 94, 0.52);
  pointer-events: none;
}

.media-frame {
  overflow: hidden;
}

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

.frame-caption {
  position: absolute;
  right: 8px;
  bottom: 24px;
  z-index: 3;
  max-width: min(330px, 68%);
  padding: 14px 20px;
  color: var(--paper);
  background: var(--copper-deep);
  font-family: var(--display);
  font-size: clamp(1.2rem, 2vw, 2rem);
  line-height: 1.08;
}

.fact-section {
  padding-top: 0;
  padding-bottom: clamp(64px, 7vw, 110px);
}

.fact-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--onyx);
  border-bottom: 1px solid var(--line);
}

.fact-rail-item {
  min-height: 132px;
  padding: 22px clamp(18px, 2.4vw, 34px);
  border-left: 1px solid var(--line);
}

.fact-rail-item:last-child {
  border-right: 1px solid var(--line);
}

.fact-rail-item span {
  display: block;
  margin-bottom: 14px;
  color: var(--copper-deep);
  font-size: 10px;
  letter-spacing: 0.17em;
}

.fact-rail-item strong {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
}

.content-section {
  background: var(--paper);
}

.content-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(60px, 9vw, 140px);
}

.content-copy h2 {
  max-width: 780px;
  font-size: clamp(2.1rem, 3.8vw, 4rem);
}

.content-copy p:not(.eyebrow) {
  max-width: 720px;
  color: #5e554d;
  font-size: 17px;
}

.checklist-panel {
  align-self: start;
  padding: clamp(26px, 4vw, 54px);
  color: var(--paper);
  background: var(--onyx);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}

.panel-label {
  margin-bottom: 28px;
  color: var(--amber);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.checklist-panel ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checklist-panel li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid var(--line-light);
}

.checklist-panel li:last-child {
  border-bottom: 1px solid var(--line-light);
}

.checklist-panel li span {
  color: var(--amber);
  font-size: 10px;
  letter-spacing: 0.13em;
}

.checklist-panel li strong {
  font-size: 14px;
  font-weight: 500;
}

.evidence-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(60px, 9vw, 140px);
}

.evidence-grid dl {
  margin: 0;
  border-top: 1px solid var(--onyx);
}

.evidence-grid dl > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.evidence-grid dt {
  color: var(--copper-deep);
  font-size: 11px;
  letter-spacing: 0.15em;
}

.evidence-grid dd {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 2.25rem);
  line-height: 1.08;
}

.faq-section {
  background: var(--paper);
}

.faq-list {
  border-top: 1px solid var(--onyx);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  color: var(--copper-deep);
  font-family: var(--body);
  font-size: 24px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  max-width: 720px;
  padding-bottom: 26px;
  color: var(--muted);
}

.related-section {
  background: var(--porcelain);
}

.compact-heading {
  display: grid;
  grid-template-columns: 0.5fr 1.5fr;
  gap: 40px;
  max-width: none;
  align-items: baseline;
}

.compact-heading h2 {
  font-size: clamp(2.2rem, 3.9vw, 4.2rem);
}

.related-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 40px;
  border-top: 1px solid var(--onyx);
}

.related-link {
  display: grid;
  grid-template-columns: 0.45fr 1.35fr 24px;
  gap: 22px;
  align-items: center;
  min-height: 104px;
  padding: 20px 22px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.related-link:nth-child(even) {
  border-right: 0;
}

.related-link span {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.related-link strong {
  font-family: var(--display);
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.08;
}

.related-link:hover {
  color: var(--paper);
  background: var(--onyx);
}

.related-link:hover span {
  color: var(--amber);
}

.site-footer {
  padding: 80px 0 30px;
  color: var(--paper);
  background: var(--onyx);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 70px;
}

.footer-brand > span {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: 0.25em;
}

.footer-brand p {
  margin-top: 16px;
  color: rgba(252, 250, 246, 0.55);
  font-size: 13px;
}

.footer-grid nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid nav a,
.footer-contact a,
.footer-contact button {
  width: max-content;
  padding: 4px 0;
  border: 0;
  color: rgba(252, 250, 246, 0.78);
  background: transparent;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.footer-grid nav a:hover,
.footer-contact a:hover,
.footer-contact button:hover {
  color: var(--amber);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line-light);
  color: rgba(252, 250, 246, 0.45);
  font-size: 11px;
}

.footer-legal p {
  margin: 0;
}

.lead-dialog {
  width: min(calc(100% - 32px), 620px);
  max-height: calc(100svh - 30px);
  padding: 0;
  border: 0;
  color: var(--onyx);
  background: transparent;
  overflow: visible;
}

.lead-dialog::backdrop {
  background: rgba(11, 8, 6, 0.72);
  backdrop-filter: blur(7px);
}

.dialog-card {
  position: relative;
  max-height: calc(100svh - 30px);
  padding: clamp(28px, 5vw, 54px);
  overflow-y: auto;
  background: var(--paper);
  clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
}

.dialog-card h2 {
  max-width: 9ch;
  margin-bottom: 16px;
  font-size: clamp(2.4rem, 7vw, 4.6rem);
}

.dialog-copy {
  max-width: 480px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

#lead-form {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

#lead-form > label:not(.consent) {
  display: grid;
  gap: 8px;
}

#lead-form label > span {
  font-size: 12px;
  font-weight: 600;
}

#lead-form label small {
  color: var(--muted);
  font-weight: 400;
}

#lead-form input[type="tel"],
#lead-form input[type="text"] {
  width: 100%;
  min-height: 54px;
  padding: 13px 15px;
  border: 1px solid rgba(23, 18, 15, 0.34);
  border-radius: 0;
  color: var(--onyx);
  background: transparent;
}

#lead-form input:focus {
  border-color: var(--copper-deep);
}

.consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: var(--muted);
}

.consent input {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: var(--copper-deep);
}

.consent span {
  font-weight: 400 !important;
  line-height: 1.45;
}

.form-submit {
  width: 100%;
}

.form-submit:disabled {
  cursor: progress;
  opacity: 0.62;
}

.form-status {
  min-height: 24px;
  font-size: 13px;
}

.form-status.is-error {
  color: var(--error);
}

.form-status.is-success {
  color: var(--success);
}

.dialog-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.dialog-fallback a {
  color: var(--copper-deep);
  font-weight: 600;
}

.mobile-contact-rail {
  display: none;
}

.reveal {
  opacity: 1;
  transform: none;
  transition:
    opacity 540ms ease,
    transform 540ms ease;
}

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

  .desktop-nav,
  .header-phone {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .mobile-menu {
    position: fixed;
    top: var(--header-h);
    right: 0;
    left: 0;
    display: block;
    max-height: 0;
    overflow: hidden;
    color: var(--paper);
    background: var(--onyx);
    opacity: 0;
    transition:
      max-height 240ms ease,
      opacity 180ms ease;
  }

  .mobile-menu.is-open {
    max-height: calc(100svh - var(--header-h));
    opacity: 1;
  }

  .mobile-menu .shell {
    display: grid;
    gap: 0;
    padding: 24px 0 34px;
  }

  .mobile-menu a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line-light);
    font-family: var(--display);
    font-size: 24px;
  }

  .home-hero-grid,
  .inner-hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
    gap: 42px;
  }

  .home-hero::before {
    width: 48vw;
  }

  .thesis-grid,
  .content-grid,
  .evidence-grid,
  .legal-grid {
    gap: 60px;
  }
}

@media (max-width: 820px) {
  :root {
    --header-h: 70px;
  }

  body {
    padding-bottom: 66px;
    background: var(--porcelain);
  }

  .shell {
    width: min(calc(100% - 48px), var(--shell));
  }

  .home-hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 38px);
  }

  .home-hero-grid,
  .inner-hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: 1;
  }

  .hero-copy {
    order: 0;
    padding: 38px 34px;
  }

  .hero-copy h1 {
    max-width: 10ch;
  }

  .hero-picture {
    aspect-ratio: 16 / 10;
  }

  .fact-rail {
    grid-template-columns: repeat(2, 1fr);
  }

  .signature-vein::before {
    top: 28px;
    right: auto;
    bottom: 28px;
    left: 44px;
    width: 1px;
    height: auto;
    clip-path: none;
    transform-origin: center top;
    animation-name: vein-pass-vertical;
  }

  .vein-grid {
    grid-template-columns: 1fr;
    padding-block: 18px;
  }

  .vein-grid > div,
  .vein-grid > div:nth-child(2),
  .vein-grid > div:nth-child(3),
  .vein-grid > div:nth-child(4) {
    min-height: auto;
    padding: 26px 24px 26px 58px;
    border-top: 1px solid var(--line-light);
    border-right: 1px solid var(--line-light);
    border-left: 0;
  }

  .vein-grid > div:first-child {
    border-top: 0;
  }

  .vein-grid > div::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 14px;
    width: 13px;
    height: 13px;
    border: 3px solid var(--onyx);
    background: var(--amber);
    border-radius: 50%;
    box-shadow: 0 0 0 1px rgba(214, 164, 94, 0.7);
  }

  .fact-rail > div:nth-child(n + 3) {
    border-top: 1px solid var(--line-light);
  }

  .thesis-grid,
  .residence-grid,
  .location-head,
  .legal-grid,
  .content-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .thesis-copy {
    max-width: 680px;
  }

  .wide-image img {
    aspect-ratio: 4 / 3;
  }

  .residence-grid {
    gap: 50px;
  }

  .ecosystem-index {
    grid-template-columns: 1fr 1fr;
  }

  .ecosystem-item:nth-child(2) {
    transform: none;
  }

  .ecosystem-item:nth-child(3) {
    grid-column: 1 / -1;
    width: 60%;
    margin-inline: auto;
  }

  .route-line {
    grid-template-columns: repeat(2, 1fr);
    gap: 42px 20px;
  }

  .route-line::before {
    display: none;
  }

  .sales-context-grid,
  .inline-cta-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .inner-hero {
    padding-top: 40px;
  }

  .inner-hero-copy {
    order: 0;
  }

  .inner-hero-media {
    order: 1;
  }

  .fact-rail-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .compact-heading {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .related-link {
    grid-template-columns: 0.55fr 1.25fr 20px;
  }

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

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

  .mobile-contact-rail {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 66px;
    color: var(--paper);
    background: var(--onyx);
    border-top: 1px solid rgba(212, 164, 94, 0.5);
  }

  .mobile-contact-rail a,
  .mobile-contact-rail button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border: 0;
    color: inherit;
    background: transparent;
    font-size: 12px;
    font-weight: 600;
  }

  .mobile-contact-rail button {
    color: var(--onyx);
    background: var(--amber);
  }

  .mobile-contact-rail .icon {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 580px) {
  .shell {
    width: min(calc(100% - 36px), var(--shell));
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.45rem);
  }

  h2 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
  }

  .header-shell {
    gap: 14px;
  }

  .brand span {
    font-size: 20px;
  }

  .home-hero {
    padding-bottom: 62px;
  }

  .home-hero-grid {
    gap: 28px;
  }

  .hero-copy {
    padding: 24px 22px;
  }

  .hero-copy h1 {
    margin-bottom: 20px;
    font-size: clamp(2.6rem, 13vw, 3.75rem);
  }

  .hero-copy .lead {
    margin-bottom: 24px;
    font-size: 1rem;
    line-height: 1.52;
  }

  .hero-actions {
    gap: 10px;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    justify-content: space-between;
  }

  .onyx-frame {
    padding: 10px;
  }

  .hero-picture {
    aspect-ratio: 4 / 4.8;
  }

  .hero-picture img {
    object-position: 50% 50%;
  }

  .fact-rail {
    grid-template-columns: 1fr;
  }

  .signature-vein::before {
    left: 38px;
  }

  .vein-grid > div,
  .vein-grid > div:nth-child(2),
  .vein-grid > div:nth-child(3),
  .vein-grid > div:nth-child(4) {
    padding-right: 18px;
    padding-left: 52px;
  }

  .section {
    padding: 78px 0;
  }

  .thesis-grid {
    gap: 30px;
  }

  .wide-image {
    clip-path: polygon(0 0, 92% 0, 100% 9%, 100% 100%, 8% 100%, 0 91%);
  }

  .ecosystem-index {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .ecosystem-item:nth-child(3) {
    grid-column: auto;
    width: 100%;
  }

  .ecosystem-item img,
  .ecosystem-item:nth-child(2) img {
    aspect-ratio: 4 / 3.2;
  }

  .route-line {
    grid-template-columns: 1fr 1fr;
  }

  .route-line > div {
    padding-left: 20px;
  }

  .route-line strong {
    font-size: 4rem;
  }

  .legal-ledger > div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .breadcrumbs {
    padding-top: calc(var(--header-h) + 22px);
  }

  .inner-hero {
    padding-bottom: 66px;
  }

  .inner-hero-grid {
    gap: 40px;
  }

  .inner-hero-media {
    padding: 10px;
  }

  .media-frame img {
    aspect-ratio: 4 / 3.7;
  }

  .frame-caption {
    right: 8px;
    bottom: -20px;
    max-width: 78%;
  }

  .fact-section {
    padding-top: 18px;
  }

  .fact-rail-item {
    min-height: 102px;
    border-top: 1px solid var(--line);
    border-right: 1px solid var(--line);
  }

  .fact-rail-item:first-child {
    border-top: 0;
  }

  .content-grid,
  .evidence-grid {
    gap: 48px;
  }

  .checklist-panel {
    clip-path: polygon(0 0, calc(100% - 26px) 0, 100% 26px, 100% 100%, 0 100%);
  }

  .evidence-grid dl > div {
    grid-template-columns: 44px 1fr;
  }

  .related-list {
    grid-template-columns: 1fr;
  }

  .related-link,
  .related-link:nth-child(even) {
    grid-template-columns: 1fr 20px;
    border-right: 0;
  }

  .related-link span {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-contact {
    grid-column: auto;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .lead-dialog {
    width: calc(100% - 20px);
  }

  .dialog-card {
    padding: 34px 22px 26px;
    clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 28px, 100% 100%, 0 100%);
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
