@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Regular.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Onest";
  src: url("fonts/Onest-Medium.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 500;
}

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

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

.home-page {
  --home-light: #faf8f4;
  --home-light-raised: #f2eee7;
  --home-light-border: #ddd5c8;
  --home-light-text: #141414;
  --home-light-secondary: #4a443c;
  --home-light-muted: #6e665c;
  background: var(--surface-void);
}

.home-page [hidden] {
  display: none !important;
}

.home-page main {
  overflow: hidden;
  background: var(--surface-page-dark);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page strong,
.home-page b {
  font-family: "Onest", Arial, sans-serif;
}

.home-page p,
.home-page blockquote,
.home-page ul,
.home-page ol,
.home-page fieldset {
  margin-top: 0;
  margin-bottom: 0;
}

.home-page button,
.home-page input {
  font-family: "Golos Text", Arial, sans-serif;
}

.home-overline,
.home-section-index,
.home-route-number {
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.home-section-index {
  margin-bottom: 20px;
}

.home-section-heading h2,
.home-split-heading h2,
.home-object-heading h2,
.home-calculator-heading h2,
.home-works-copy h2,
.home-house-heading h2,
.home-prices-copy h2,
.home-materials-copy h2,
.home-final-copy h2 {
  margin: 0;
  font-size: clamp(48px, 3.7vw, 68px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.home-section-heading {
  max-width: 1080px;
  margin-bottom: 56px;
}

.home-section-heading-dark h2 {
  color: var(--text-on-dark);
}

.home-section-heading-light .home-section-index,
.home-split-heading-light .home-section-index,
.home-prices .home-section-index,
.home-control .home-section-index {
  color: var(--home-light-muted);
}

.home-section-heading-light h2,
.home-split-heading-light h2 {
  color: var(--home-light-text);
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, transform 140ms ease;
}

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

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

.home-button-gradient {
  background: var(--gradient-primary);
  color: #141414;
}

.home-button-gradient:hover {
  background: var(--gradient-primary-hover);
  color: #141414;
}

.home-button-flat {
  background: var(--color-orange);
  color: #141414;
}

.home-button-flat:hover {
  background: var(--color-orange-deep);
  color: #141414;
}

.home-button-dark {
  border-color: var(--border-dark);
  background: transparent;
  color: var(--text-on-dark);
}

.home-button-dark:hover {
  border-color: var(--text-on-dark-muted);
  color: var(--text-on-dark);
}

.home-button-light {
  border-color: var(--home-light-border);
  background: transparent;
  color: var(--home-light-text);
}

.home-button-light:hover {
  border-color: var(--home-light-muted);
  color: var(--home-light-text);
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.home-text-link span {
  color: var(--color-orange);
}

.home-text-link-light {
  color: var(--home-light-text);
}

.home-media {
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  background: var(--surface-technical-dark);
}

.home-media > span {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.home-foundations .home-media,
.home-control .home-media {
  border-color: var(--home-light-border);
  background: #e5dfd4;
}

.home-foundations .home-media > span,
.home-control .home-media > span {
  color: var(--home-light-muted);
}

/* 01 — Hero */
.home-hero {
  border-bottom: 1px solid var(--border-dark-hairline);
  background: var(--surface-page-dark);
}

.home-hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(420px, 5fr);
  gap: 48px;
  min-height: 780px;
  padding-top: 72px;
  padding-bottom: 64px;
}

.home-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.home-hero .home-overline {
  color: var(--color-orange);
}

.home-hero-title {
  position: static;
  display: flex;
  grid-column: auto;
  grid-row: auto;
  flex-direction: column;
  margin: 34px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(58px, 4.05vw, 78px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.94;
  text-transform: uppercase;
}

.home-hero-title > span {
  white-space: nowrap;
}

.home-hero-title > span:last-child {
  color: var(--color-orange);
}

.home-hero-title .home-title-mobile-break {
  color: inherit;
}

.home-hero-lead {
  max-width: 760px;
  margin-top: 38px !important;
  color: var(--text-on-dark-secondary);
  font-size: clamp(19px, 1.22vw, 23px);
  line-height: 1.52;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.home-hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto !important;
  padding-top: 48px;
  color: var(--text-on-dark-secondary);
  font-size: 15px;
  font-weight: 600;
}

.home-hero-trust span {
  width: 52px;
  height: 2px;
  background: var(--color-orange);
}

.home-hero-media {
  min-height: 640px;
}

/* 02 — Fast proof */
.home-proof {
  padding: 0 0 112px;
  background: var(--surface-page-dark);
}

.home-proof-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border-dark);
  background: var(--surface-elevated-dark);
}

.home-proof-item {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 188px;
  padding: 38px 36px 34px;
  border-right: 1px solid var(--border-dark);
}

.home-proof-item:last-child {
  border-right: 0;
}

.home-proof-item::after {
  width: 64px;
  height: 1px;
  margin-top: 18px;
  background: var(--border-dark-strong);
  content: "";
}

.home-proof-item:first-child::after {
  height: 2px;
  background: var(--color-orange);
}

.home-proof-item strong {
  color: var(--text-on-dark);
  font-size: clamp(42px, 3vw, 56px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.96;
}

.home-proof-item span {
  order: 3;
  max-width: 270px;
  margin-top: 12px;
  color: var(--text-on-dark-secondary);
  font-size: 16px;
  line-height: 1.5;
}

/* 03 — Product ladder */
.home-directions {
  padding: 112px 0 128px;
  background: var(--surface-void);
}

.home-product-ladder {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 4fr);
  border: 1px solid var(--border-dark);
}

.home-product-foundations,
.home-product-works,
.home-product-house {
  min-width: 0;
}

.home-product-foundations {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 540px;
  padding: 56px 56px 48px;
  border-right: 1px solid var(--home-light-border);
  background: var(--home-light);
  color: var(--home-light-text);
}

.home-product-foundations .home-route-number {
  color: var(--home-light-muted);
}

.home-product-foundations h3,
.home-product-copy h3 {
  margin: 20px 0 0;
  font-size: clamp(40px, 3vw, 56px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.home-product-foundations > div > p:last-child,
.home-product-copy > p:not(.home-route-number) {
  max-width: 38ch;
  margin-top: 22px !important;
  color: var(--home-light-secondary);
  font-size: 19px;
  line-height: 1.58;
}

.home-product-works {
  display: grid;
  grid-template-rows: minmax(260px, 1fr) auto;
  background: var(--surface-page-dark);
}

.home-product-media {
  min-height: 300px;
  border: 0;
  border-bottom: 1px solid var(--border-dark);
}

.home-product-copy {
  padding: 38px 42px 42px;
}

.home-product-copy h3 {
  color: var(--text-on-dark);
  font-size: clamp(34px, 2.35vw, 44px);
}

.home-product-copy > p {
  color: var(--text-on-dark-secondary);
  font-size: 17px;
}

.home-product-copy .home-text-link {
  margin-top: 30px;
}

.home-product-house {
  position: relative;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(420px, 5fr);
  min-height: 580px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-void);
}

.home-product-house-media {
  grid-column: 2;
  grid-row: 1;
  min-height: 580px;
  border: 0;
  border-left: 1px solid var(--border-dark);
}

.home-product-house-copy {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 68px 64px;
}

.home-product-house-copy h3 {
  margin: 22px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(60px, 4.5vw, 82px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.home-product-house-copy > p:not(.home-route-number) {
  max-width: 40ch;
  margin-top: 24px !important;
  color: var(--text-on-dark-secondary);
  font-size: 20px;
  line-height: 1.55;
}

.home-product-house-copy .home-button {
  margin-top: 34px;
}

/* 04 — Foundation router */
.home-foundations {
  padding: 124px 0 132px;
  background: var(--home-light);
  color: var(--home-light-text);
}

.home-split-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 64px;
}

.home-split-heading > p {
  max-width: 42ch;
  padding-bottom: 5px;
  color: var(--home-light-secondary);
  font-size: 19px;
  line-height: 1.62;
}

.home-foundation-layout {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(360px, 4fr);
  gap: 56px;
  align-items: start;
}

.home-foundation-ledger {
  border-top: 1px solid var(--home-light-text);
}

.home-foundation-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto 38px;
  gap: 24px;
  align-items: center;
  min-height: 104px;
  padding: 20px 0;
  border-bottom: 1px solid var(--home-light-border);
  color: var(--home-light-text);
  transition: background-color 140ms ease, padding 140ms ease;
}

.home-foundation-row:hover,
.home-foundation-row:focus-visible {
  padding-right: 16px;
  padding-left: 16px;
  background: var(--home-light-raised);
  color: var(--home-light-text);
}

.home-foundation-row.is-primary {
  box-shadow: inset 4px 0 0 var(--color-orange);
}

.home-foundation-row.is-primary .home-foundation-number {
  padding-left: 18px;
}

.home-foundation-number {
  color: var(--home-light-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 17px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.home-foundation-row strong {
  font-size: clamp(23px, 1.65vw, 30px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.14;
}

.home-foundation-price {
  color: var(--home-light-text);
  font-family: "Onest", Arial, sans-serif;
  font-size: clamp(21px, 1.6vw, 29px);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.home-foundation-arrow {
  color: var(--home-light-muted);
  font-size: 24px;
}

.home-foundation-pick {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 96px;
  margin-top: 28px;
  padding: 22px 24px 22px 28px;
  border-left: 4px solid var(--color-orange);
  background: var(--home-light-raised);
  color: var(--home-light-text);
}

.home-foundation-pick > span:first-child {
  color: var(--home-light-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.home-foundation-pick > span:last-child {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.home-foundation-media {
  aspect-ratio: 4 / 5;
}

/* 05 — Type-aware calculator */
.home-calculator {
  scroll-margin-top: 80px;
  padding: 124px 0 132px;
  border-bottom: 1px solid var(--border-dark);
  background: var(--surface-elevated-dark);
}

.home-calculator-layout {
  display: grid;
  grid-template-columns: minmax(320px, 4fr) minmax(0, 8fr);
  gap: 72px;
  align-items: start;
}

.home-calculator-heading {
  position: sticky;
  top: 128px;
}

.home-calculator-heading h2 {
  color: var(--text-on-dark);
  font-size: clamp(46px, 3.25vw, 60px);
}

.home-calculator-heading > p:last-child {
  max-width: 40ch;
  margin-top: 26px !important;
  color: var(--text-on-dark-secondary);
  font-size: 18px;
  line-height: 1.62;
}

.home-calculator-entries {
  border: 1px solid var(--border-dark);
  background: var(--border-dark);
}

.home-calc-entry {
  background: var(--surface-page-dark);
}

.home-calc-entry-primary {
  padding: 38px 38px 42px;
  border-left: 4px solid var(--color-orange);
}

.home-calc-entry + .home-calc-entry {
  margin-top: 1px;
}

.home-calc-entry-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.home-calc-number {
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  line-height: 1;
}

.home-calc-entry-primary .home-calc-number {
  color: var(--color-orange);
}

.home-calc-entry-head h3 {
  margin: -3px 0 0;
  color: var(--text-on-dark);
  font-size: clamp(25px, 1.85vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.home-calc-entry-head p {
  margin-top: 8px !important;
  color: var(--text-on-dark-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.home-type-selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  margin: 32px 0 0 80px;
  padding: 0;
  border: 0;
  background: var(--border-dark);
}

.home-type-selector legend {
  float: none;
  grid-column: 1 / -1;
  width: 100%;
  margin-bottom: 12px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-type-selector label {
  position: relative;
  display: flex;
  min-width: 0;
  cursor: pointer;
  background: var(--surface-void);
}

.home-type-selector input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.home-type-selector label > span {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 14px 18px;
  color: var(--text-on-dark);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.home-type-selector small {
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}

.home-type-selector input:focus-visible + span {
  outline: 2px solid var(--color-focus);
  outline-offset: -2px;
}

.home-type-selector input:checked + span {
  background: var(--color-orange);
  color: #141414;
}

.home-type-selector input:checked + span small {
  color: #141414;
}

.home-type-calculation,
.home-piles-path {
  margin: 30px 0 0 80px;
  padding-top: 28px;
  border-top: 1px solid var(--border-dark);
}

.home-slab-modes {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-bottom: 20px;
  padding: 2px;
  border: 1px solid var(--border-dark);
}

.home-slab-modes button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: var(--text-on-dark-secondary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.home-slab-modes button.is-active {
  background: var(--surface-technical-dark);
  color: var(--text-on-dark);
}

.home-calc-input-group > label,
.home-calc-dimensions label > span:first-child {
  display: block;
  margin-bottom: 10px;
  color: var(--text-on-dark-secondary);
  font-size: 13px;
  font-weight: 600;
}

.home-calc-field {
  display: flex;
  align-items: center;
  min-width: 0;
  height: 68px;
  border: 1px solid var(--border-dark);
  border-radius: 4px;
  background: var(--surface-void);
}

.home-calc-field:focus-within {
  border-color: var(--color-orange);
}

.home-calc-field input {
  width: 100%;
  min-width: 0;
  height: 100%;
  padding: 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-on-dark);
  font-family: "Onest", Arial, sans-serif;
  font-size: 28px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.home-calc-field > span {
  flex: 0 0 auto;
  padding-right: 18px;
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 17px;
  white-space: nowrap;
}

.home-calc-dimensions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: end;
}

.home-calc-dimensions label {
  min-width: 0;
}

.home-calc-multiply {
  display: flex;
  align-items: center;
  height: 68px;
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 24px;
}

.home-calc-result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  gap: 16px 28px;
  align-items: end;
  margin-top: 24px;
  padding: 24px;
  border-left: 3px solid var(--color-orange);
  background: var(--surface-technical-dark);
}

.home-calc-result > div {
  display: contents;
}

.home-calc-result > div > span {
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-calc-result strong {
  grid-column: 2;
  grid-row: 1 / span 2;
  color: var(--text-on-dark);
  font-size: clamp(34px, 3vw, 52px);
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-align: right;
  white-space: nowrap;
}

.home-calc-result strong small {
  font-size: 18px;
}

.home-calc-result > p {
  color: var(--text-on-dark-secondary);
  font-size: 13px;
  line-height: 1.5;
}

.home-calc-result > p:last-child {
  grid-column: 1 / -1;
  padding-top: 14px;
  border-top: 1px solid var(--border-dark);
  color: var(--text-on-dark-muted);
}

.home-piles-path {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.home-piles-path p {
  color: var(--text-on-dark-secondary);
  font-size: 16px;
  line-height: 1.55;
}

.home-calc-entry-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  padding: 32px 38px 32px 42px;
  border-left: 4px solid transparent;
}

.home-calc-entry-route .home-button {
  min-width: 220px;
}

.home-upload-actions {
  min-width: 220px;
}

.home-upload-actions .home-button {
  width: 100%;
}

.home-upload-actions p {
  max-width: 260px;
  margin-top: 8px !important;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  line-height: 1.35;
  overflow-wrap: anywhere;
  text-align: right;
}

.home-calc-entry.is-attention {
  animation: home-attention 700ms ease both;
}

@keyframes home-attention {
  0%,
  100% {
    background: var(--surface-page-dark);
  }
  45% {
    background: #241c13;
  }
}

/* 06 — Featured object */
.home-object {
  padding: 126px 0 132px;
  background: var(--surface-void);
}

.home-object-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 58px;
}

.home-object-heading h2 {
  max-width: 15ch;
  color: var(--text-on-dark);
}

.home-object-heading > p {
  max-width: 42ch;
  padding-bottom: 5px;
  color: var(--text-on-dark-secondary);
  font-size: 19px;
  line-height: 1.6;
}

.home-object-story {
  border: 1px solid var(--border-dark);
  background: var(--surface-page-dark);
}

.home-object-media {
  border: 0;
}

.home-object-media-main {
  aspect-ratio: 21 / 9;
  border-bottom: 1px solid var(--border-dark);
}

.home-object-middle {
  display: flex;
  justify-content: flex-end;
  padding: 58px 0 58px;
}

.home-object-media-stage {
  width: 58.333%;
  aspect-ratio: 16 / 9;
  border-top: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.home-object-media-final {
  aspect-ratio: 2 / 1;
  border-top: 1px solid var(--border-dark);
}

.home-object-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 32px;
}

/* 07 — Monolithic works */
.home-works {
  padding: 124px 0 132px;
  background: var(--surface-page-dark);
}

.home-works-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(400px, 5fr);
  border: 1px solid var(--border-dark);
}

.home-works-media {
  min-height: 660px;
  border: 0;
  border-right: 1px solid var(--border-dark);
}

.home-works-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 58px 48px 48px;
}

.home-works-copy .home-overline,
.home-house-heading .home-overline {
  color: var(--color-orange);
}

.home-works-copy h2 {
  margin-top: 18px;
  color: var(--text-on-dark);
  font-size: clamp(44px, 3.15vw, 58px);
}

.home-works-copy > p:not(.home-overline) {
  margin-top: 24px !important;
  color: var(--text-on-dark-secondary);
  font-size: 18px;
  line-height: 1.62;
}

.home-works-ledger {
  width: 100%;
  margin-top: 36px !important;
  padding: 0;
  border-top: 1px solid var(--border-dark);
  list-style: none;
}

.home-works-ledger li {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  min-height: 68px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark-hairline);
}

.home-works-ledger li:last-child {
  border-bottom-color: var(--border-dark);
}

.home-works-ledger span {
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.home-works-ledger strong {
  color: var(--text-on-dark);
  font-size: 21px;
  font-weight: 600;
}

.home-works-copy .home-text-link {
  margin-top: auto;
  padding-top: 34px;
}

/* 08 — Monolithic house */
.home-house {
  padding: 140px 0 146px;
  background: var(--surface-void);
}

.home-house-heading {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(380px, 5fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 62px;
}

.home-house-heading h2 {
  max-width: 14ch;
  margin-top: 24px;
  color: var(--text-on-dark);
  font-size: clamp(66px, 5vw, 94px);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

.home-house-heading > p {
  max-width: 44ch;
  padding-bottom: 8px;
  color: var(--text-on-dark-secondary);
  font-size: 20px;
  line-height: 1.6;
}

.home-house-media {
  aspect-ratio: 21 / 9;
}

.home-house-routes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 1px solid var(--border-dark);
  border-bottom: 1px solid var(--border-dark);
  border-left: 1px solid var(--border-dark);
}

.home-house-routes a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
  min-height: 166px;
  padding: 38px 34px;
  border-right: 1px solid var(--border-dark);
  color: var(--text-on-dark);
}

.home-house-routes a:last-child {
  border-right: 0;
}

.home-house-routes a:hover {
  background: var(--surface-elevated-dark);
  color: var(--text-on-dark);
}

.home-house-routes span {
  color: var(--text-on-dark-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.home-house-routes strong {
  font-size: clamp(21px, 1.5vw, 27px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.home-house-routes i,
.home-material-routes i,
.home-final-routes i {
  color: var(--color-orange);
  font-size: 22px;
  font-style: normal;
}

/* 09 — Control */
.home-control {
  padding: 126px 0 132px;
  background: var(--home-light);
  color: var(--home-light-text);
}

.home-control .home-section-heading {
  max-width: 920px;
}

.home-control-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(440px, 6fr);
  gap: 64px;
  align-items: start;
}

.home-control-ledger {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--home-light-text);
  list-style: none;
}

.home-control-ledger li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 22px;
  padding: 22px 0;
  border-bottom: 1px solid var(--home-light-border);
}

.home-control-ledger li > span {
  color: var(--home-light-muted);
  font-family: "Onest", Arial, sans-serif;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.home-control-ledger h3 {
  margin: 0;
  color: var(--home-light-text);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.home-control-ledger p {
  margin-top: 7px !important;
  color: var(--home-light-secondary);
  font-size: 17px;
  line-height: 1.55;
}

.home-control-ledger li.is-accent {
  padding-left: 22px;
  border-left: 4px solid var(--color-orange);
  background: var(--home-light-raised);
}

.home-control-evidence {
  display: grid;
  gap: 20px;
}

.home-evidence-contract {
  aspect-ratio: 16 / 9;
}

.home-evidence-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.home-evidence-report,
.home-evidence-camera {
  aspect-ratio: 4 / 3;
}

/* 10 — Price transparency */
.home-prices {
  padding: 112px 0 118px;
  background: var(--home-light-raised);
  color: var(--home-light-text);
}

.home-prices-layout {
  display: grid;
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  gap: 72px;
  align-items: start;
}

.home-prices-copy h2 {
  max-width: 10ch;
  color: var(--home-light-text);
  font-size: clamp(44px, 3.2vw, 60px);
}

.home-prices-copy > p:not(.home-section-index) {
  max-width: 36ch;
  margin-top: 24px !important;
  color: var(--home-light-secondary);
  font-size: 18px;
  line-height: 1.62;
}

.home-prices-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-price-ledger {
  border-top: 1px solid var(--home-light-text);
}

.home-price-head,
.home-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 84px 190px;
  gap: 24px;
  align-items: baseline;
}

.home-price-head {
  padding: 14px 0;
  border-bottom: 1px solid var(--home-light-border);
  color: var(--home-light-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-price-head span:last-child {
  text-align: right;
}

.home-price-row {
  min-height: 78px;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-light-border);
}

.home-price-row strong {
  color: var(--home-light-text);
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}

.home-price-row > span {
  color: var(--home-light-secondary);
  font-size: 15px;
}

.home-price-row b {
  color: var(--home-light-secondary);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-align: right;
  white-space: nowrap;
}

.home-price-row.is-primary b {
  color: var(--home-light-text);
  font-size: 34px;
}

.home-price-row b.home-price-project {
  font-family: "Golos Text", Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.home-price-note {
  max-width: 76ch;
  margin-top: 18px !important;
  color: var(--home-light-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* 11 — Review */
.home-review {
  padding: 112px 0 120px;
  background: var(--surface-page-dark);
}

.home-review-layout {
  display: grid;
  grid-template-columns: minmax(0, 9fr) minmax(220px, 3fr);
  gap: 72px;
  align-items: end;
}

.home-review blockquote {
  max-width: 39ch;
  margin-top: 30px;
  padding-left: 42px;
  border-left: 4px solid var(--color-orange);
  color: var(--text-on-dark);
  font-size: clamp(32px, 2.7vw, 48px);
  line-height: 1.32;
  text-wrap: pretty;
}

.home-review-author {
  margin-top: 28px !important;
  padding-left: 46px;
  color: var(--text-on-dark-muted);
  font-size: 14px;
  line-height: 1.5;
}

.home-review-layout > .home-text-link {
  justify-self: end;
}

/* 12 — Materials */
.home-materials {
  padding: 118px 0 128px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-elevated-dark);
}

.home-materials-layout {
  display: grid;
  grid-template-columns: minmax(340px, 5fr) minmax(0, 7fr);
  border: 1px solid var(--border-dark);
}

.home-materials-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 600px;
  padding: 54px 50px 48px;
  border-right: 1px solid var(--border-dark);
}

.home-materials-copy h2 {
  color: var(--text-on-dark);
  font-size: clamp(44px, 3.25vw, 60px);
}

.home-materials-copy > p:not(.home-section-index) {
  max-width: 40ch;
  margin-top: 26px !important;
  color: var(--text-on-dark-secondary);
  font-size: 18px;
  line-height: 1.62;
}

.home-materials-copy .home-button {
  margin-top: auto;
}

.home-materials-board {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(260px, 5fr);
}

.home-materials-media {
  min-height: 600px;
  border: 0;
  border-right: 1px solid var(--border-dark);
}

.home-material-routes {
  display: flex;
  flex-direction: column;
}

.home-material-routes a,
.home-final-routes a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 88px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-dark-hairline);
  color: var(--text-on-dark);
  font-size: 18px;
  line-height: 1.35;
}

.home-material-routes a:hover,
.home-final-routes a:hover {
  background: var(--surface-technical-dark);
  color: var(--text-on-dark);
}

/* 13 — Final */
.home-final {
  padding: 148px 0 156px;
  border-top: 1px solid var(--border-dark);
  background: var(--surface-void);
}

.home-final-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 86px;
  align-items: start;
}

.home-final-copy h2 {
  max-width: 10ch;
  color: var(--text-on-dark);
  font-size: clamp(68px, 5.1vw, 96px);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 0.92;
}

.home-final-copy > p:not(.home-section-index) {
  max-width: 54ch;
  margin-top: 30px !important;
  color: var(--text-on-dark-secondary);
  font-size: 21px;
  line-height: 1.55;
}

.home-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.home-final-routes {
  padding-left: 54px;
  border-left: 1px solid var(--border-dark);
}

.home-final-routes > p {
  margin-bottom: 16px;
  color: var(--text-on-dark-muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-final-routes a {
  min-height: 82px;
  padding-right: 0;
  padding-left: 0;
  font-size: 20px;
}

@media (max-width: 1439px) {
  .home-hero-shell {
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
    gap: 36px;
    min-height: 700px;
    padding-top: 62px;
  }

  .home-hero-title {
    font-size: clamp(54px, 4.1vw, 62px);
  }

  .home-hero-media {
    min-height: 590px;
  }

  .home-proof-item {
    padding-right: 28px;
    padding-left: 28px;
  }

  .home-product-foundations {
    padding: 46px 44px 40px;
  }

  .home-product-house-copy {
    padding: 56px 48px;
  }

  .home-foundation-layout {
    grid-template-columns: minmax(0, 8fr) minmax(310px, 4fr);
    gap: 40px;
  }

  .home-calculator-layout,
  .home-prices-layout {
    gap: 48px;
  }

  .home-calc-entry-primary {
    padding-right: 30px;
    padding-left: 30px;
  }

  .home-calc-entry-route {
    padding-right: 30px;
    padding-left: 34px;
  }

  .home-works-copy {
    padding-right: 40px;
    padding-left: 40px;
  }

  .home-house-heading,
  .home-final-layout {
    gap: 56px;
  }

  .home-house-routes a {
    padding-right: 26px;
    padding-left: 26px;
  }

  .home-control-layout {
    gap: 44px;
  }

  .home-materials-copy {
    padding-right: 40px;
    padding-left: 40px;
  }

  .home-materials-board {
    grid-template-columns: minmax(0, 3fr) minmax(230px, 2fr);
  }
}

@media (max-width: 1099px) {
  .home-section-heading h2,
  .home-split-heading h2,
  .home-object-heading h2,
  .home-calculator-heading h2,
  .home-works-copy h2,
  .home-house-heading h2,
  .home-prices-copy h2,
  .home-materials-copy h2,
  .home-final-copy h2 {
    font-size: 54px;
  }

  .home-hero-shell {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 64px;
  }

  .home-hero-title {
    font-size: clamp(58px, 7vw, 70px);
  }

  .home-hero-trust {
    margin-top: 52px !important;
    padding-top: 0;
  }

  .home-hero-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
  }

  .home-proof {
    padding-bottom: 96px;
  }

  .home-proof-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-proof-item:nth-child(2) {
    border-right: 0;
  }

  .home-proof-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border-dark);
  }

  .home-directions,
  .home-foundations,
  .home-calculator,
  .home-object,
  .home-works,
  .home-control,
  .home-materials {
    padding-top: 96px;
    padding-bottom: 104px;
  }

  .home-house {
    padding-top: 108px;
    padding-bottom: 112px;
  }

  .home-final {
    padding-top: 116px;
    padding-bottom: 124px;
  }

  .home-product-foundations {
    min-height: 500px;
  }

  .home-product-house {
    grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr);
    min-height: 520px;
  }

  .home-product-house-media {
    min-height: 520px;
  }

  .home-product-house-copy h3 {
    font-size: 64px;
  }

  .home-split-heading,
  .home-object-heading,
  .home-house-heading {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 48px;
  }

  .home-split-heading > p,
  .home-object-heading > p,
  .home-house-heading > p {
    max-width: 52ch;
    padding-bottom: 0;
  }

  .home-foundation-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .home-foundation-media {
    aspect-ratio: 16 / 9;
  }

  .home-calculator-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-calculator-heading {
    position: static;
    max-width: 760px;
  }

  .home-type-selector label > span {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
  }

  .home-object-media-main {
    aspect-ratio: 16 / 9;
  }

  .home-object-middle {
    padding-top: 42px;
    padding-bottom: 42px;
  }

  .home-works-layout {
    grid-template-columns: 1fr;
  }

  .home-works-media {
    min-height: 0;
    aspect-ratio: 16 / 9;
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .home-works-copy {
    min-height: 620px;
    padding: 48px;
  }

  .home-house-heading h2 {
    font-size: 72px;
  }

  .home-house-routes a {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 12px;
    min-height: 150px;
    padding: 30px 22px;
  }

  .home-control .home-section-heading {
    max-width: 780px;
  }

  .home-control-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-control-evidence {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: stretch;
  }

  .home-evidence-contract {
    height: 100%;
    aspect-ratio: auto;
  }

  .home-evidence-pair {
    grid-template-columns: 1fr;
  }

  .home-prices {
    padding-top: 92px;
    padding-bottom: 100px;
  }

  .home-prices-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-prices-copy h2 {
    max-width: 14ch;
  }

  .home-materials-layout {
    grid-template-columns: 1fr;
  }

  .home-materials-copy {
    min-height: 480px;
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .home-materials-board {
    grid-template-columns: minmax(0, 7fr) minmax(270px, 5fr);
  }

  .home-materials-media {
    min-height: 480px;
  }

  .home-final-layout {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .home-final-copy h2 {
    max-width: 12ch;
    font-size: 76px;
  }

  .home-final-routes {
    max-width: 720px;
    padding-left: 0;
    border-top: 1px solid var(--border-dark);
    border-left: 0;
    padding-top: 36px;
  }
}

@media (max-width: 767px) {
  .home-page main .shell {
    width: min(calc(100% - 40px), var(--shell-max));
  }

  .home-section-index {
    margin-bottom: 14px;
  }

  .home-section-heading {
    margin-bottom: 32px;
  }

  .home-section-heading h2,
  .home-split-heading h2,
  .home-object-heading h2,
  .home-calculator-heading h2,
  .home-works-copy h2,
  .home-house-heading h2,
  .home-prices-copy h2,
  .home-materials-copy h2,
  .home-final-copy h2 {
    font-size: 38px;
    line-height: 1.02;
  }

  .home-button {
    width: 100%;
    min-height: 56px;
    padding-right: 18px;
    padding-left: 18px;
    font-size: 16px;
  }

  .home-text-link {
    min-height: 48px;
    padding-bottom: 0;
  }

  .home-hero-shell {
    display: grid;
    gap: 0;
    padding-top: 34px;
    padding-bottom: 36px;
  }

  .home-hero-copy {
    display: contents;
  }

  .home-hero .home-overline {
    grid-row: 1;
    font-size: 11px;
    line-height: 1.5;
  }

  .home-hero-title {
    grid-row: 2;
    margin-top: 18px;
    font-size: clamp(35px, 10.2vw, 40px);
    line-height: 0.98;
  }

  .home-hero-title > span {
    white-space: normal;
  }

  .home-title-mobile-break {
    display: block;
  }

  .home-hero-lead {
    grid-row: 3;
    margin-top: 24px !important;
    font-size: 17px;
    line-height: 1.55;
  }

  .home-lead-desktop {
    display: none;
  }

  .home-hero-media {
    grid-row: 5;
    aspect-ratio: 4 / 5;
    margin-top: 28px;
  }

  .home-hero-actions {
    grid-row: 4;
    flex-direction: column;
    width: 100%;
    gap: 8px;
    margin-top: 28px;
  }

  .home-hero-trust {
    grid-row: 6;
    margin-top: 22px !important;
    padding-top: 0;
    font-size: 14px;
  }

  .home-hero-trust span {
    width: 36px;
  }

  .home-proof {
    padding: 24px 0 72px;
  }

  .home-proof-rail {
    grid-template-columns: 1fr;
    border-right: 0;
    border-left: 0;
  }

  .home-proof-item {
    display: grid;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr);
    gap: 18px;
    align-items: baseline;
    min-height: 0;
    padding: 20px 0;
    border-right: 0;
    border-bottom: 1px solid var(--border-dark-hairline);
  }

  .home-proof-item:nth-child(-n + 2) {
    border-bottom-color: var(--border-dark-hairline);
  }

  .home-proof-item:last-child {
    border-bottom: 0;
  }

  .home-proof-item::after {
    display: none;
  }

  .home-proof-item strong {
    font-size: 30px;
  }

  .home-proof-item span {
    order: initial;
    margin-top: 0;
    font-size: 15px;
    text-align: right;
  }

  .home-directions,
  .home-foundations,
  .home-calculator,
  .home-object,
  .home-works,
  .home-control,
  .home-prices,
  .home-review,
  .home-materials,
  .home-house,
  .home-final {
    padding-top: 72px;
    padding-bottom: 76px;
  }

  .home-product-ladder {
    grid-template-columns: 1fr;
  }

  .home-product-foundations {
    min-height: 390px;
    padding: 30px 24px 26px;
    border-right: 0;
    border-bottom: 1px solid var(--home-light-border);
  }

  .home-product-foundations h3,
  .home-product-copy h3 {
    font-size: 34px;
  }

  .home-product-foundations > div > p:last-child,
  .home-product-copy > p:not(.home-route-number) {
    margin-top: 16px !important;
    font-size: 17px;
  }

  .home-product-works {
    grid-template-rows: auto auto;
  }

  .home-product-media {
    aspect-ratio: 3 / 2;
    min-height: 0;
  }

  .home-product-copy {
    padding: 28px 24px 32px;
  }

  .home-product-house {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-product-house-copy {
    grid-column: 1;
    grid-row: 1;
    min-height: 330px;
    padding: 34px 24px;
  }

  .home-product-house-copy h3 {
    font-size: 44px;
  }

  .home-product-house-copy > p:not(.home-route-number) {
    font-size: 17px;
  }

  .home-product-house-media {
    grid-column: 1;
    grid-row: 2;
    min-height: 0;
    aspect-ratio: 4 / 5;
    border-top: 1px solid var(--border-dark);
    border-left: 0;
  }

  .home-split-heading,
  .home-object-heading,
  .home-house-heading {
    gap: 18px;
    margin-bottom: 34px;
  }

  .home-split-heading > p,
  .home-object-heading > p,
  .home-house-heading > p {
    font-size: 17px;
    line-height: 1.55;
  }

  .home-foundation-layout {
    gap: 28px;
  }

  .home-foundation-row {
    grid-template-columns: 34px minmax(0, 1fr) 22px;
    gap: 12px;
    min-height: 104px;
    padding: 18px 0;
  }

  .home-foundation-row strong {
    align-self: end;
    font-size: 21px;
  }

  .home-foundation-price {
    grid-column: 2;
    align-self: start;
    font-size: 20px;
  }

  .home-foundation-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .home-foundation-row.is-primary .home-foundation-number {
    padding-left: 10px;
  }

  .home-foundation-pick {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 22px;
    padding: 20px 18px;
  }

  .home-foundation-pick > span:last-child {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: var(--color-orange);
  }

  .home-foundation-media {
    aspect-ratio: 4 / 3;
  }

  .home-calculator-layout {
    gap: 34px;
  }

  .home-calculator-heading > p:last-child {
    margin-top: 18px !important;
    font-size: 17px;
  }

  .home-calc-entry-primary {
    padding: 26px 18px 28px;
    border-left-width: 3px;
  }

  .home-calc-entry-head {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
  }

  .home-calc-number {
    font-size: 22px;
  }

  .home-calc-entry-head h3 {
    font-size: 25px;
  }

  .home-type-selector {
    grid-template-columns: 1fr;
    margin: 28px 0 0;
  }

  .home-type-selector label > span {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    min-height: 62px;
  }

  .home-type-calculation,
  .home-piles-path {
    margin-left: 0;
  }

  .home-slab-modes {
    width: 100%;
  }

  .home-slab-modes button {
    min-height: 48px;
  }

  .home-calc-dimensions {
    gap: 8px;
  }

  .home-calc-field {
    height: 62px;
  }

  .home-calc-field input {
    padding-right: 10px;
    padding-left: 12px;
    font-size: 24px;
  }

  .home-calc-field > span {
    padding-right: 12px;
    font-size: 15px;
  }

  .home-calc-multiply {
    height: 62px;
  }

  .home-calc-result {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 16px;
  }

  .home-calc-result > div {
    display: block;
  }

  .home-calc-result > div > span {
    display: block;
    margin-bottom: 10px;
  }

  .home-calc-result strong {
    display: block;
    grid-column: 1;
    grid-row: auto;
    font-size: clamp(31px, 9vw, 40px);
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
  }

  .home-piles-path {
    align-items: stretch;
    flex-direction: column;
  }

  .home-calc-entry-route {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px 18px;
  }

  .home-calc-entry-route .home-button,
  .home-upload-actions {
    width: 100%;
    min-width: 0;
  }

  .home-upload-actions p {
    max-width: none;
    text-align: left;
  }

  .home-object-heading h2 {
    max-width: none;
  }

  .home-object-media-main,
  .home-object-media-stage,
  .home-object-media-final {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-right: 0;
    border-left: 0;
  }

  .home-object-middle {
    padding: 2px 0 0;
  }

  .home-object-media-final {
    margin-top: 2px;
  }

  .home-object-actions {
    flex-direction: column;
    gap: 8px;
    padding-top: 24px;
  }

  .home-works-copy {
    min-height: 0;
    padding: 30px 20px 34px;
  }

  .home-works-copy h2 {
    margin-top: 14px;
  }

  .home-works-copy > p:not(.home-overline) {
    margin-top: 20px !important;
    font-size: 17px;
  }

  .home-works-ledger {
    margin-top: 28px !important;
  }

  .home-works-copy .home-text-link {
    margin-top: 30px;
    padding-top: 0;
  }

  .home-house-heading h2 {
    margin-top: 16px;
    font-size: 42px;
  }

  .home-house-heading > p {
    font-size: 17px;
  }

  .home-house-media {
    aspect-ratio: 4 / 5;
  }

  .home-house-routes {
    grid-template-columns: 1fr;
  }

  .home-house-routes a {
    min-height: 104px;
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--border-dark-hairline);
  }

  .home-house-routes a:last-child {
    border-bottom: 0;
  }

  .home-house-routes strong {
    font-size: 20px;
  }

  .home-control-layout {
    gap: 36px;
  }

  .home-control-ledger li {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    padding: 18px 0;
  }

  .home-control-ledger li.is-accent {
    padding-left: 12px;
  }

  .home-control-ledger h3 {
    font-size: 20px;
  }

  .home-control-ledger p {
    font-size: 16px;
  }

  .home-control-evidence {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .home-evidence-contract {
    aspect-ratio: 4 / 3;
  }

  .home-evidence-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .home-price-head {
    display: none;
  }

  .home-price-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 18px;
    min-height: 104px;
    padding: 18px 0;
  }

  .home-price-row strong {
    grid-column: 1 / -1;
    font-size: 16px;
  }

  .home-price-row > span {
    align-self: end;
  }

  .home-price-row b {
    align-self: end;
    font-size: 24px;
  }

  .home-price-row.is-primary b {
    font-size: 30px;
  }

  .home-prices-actions {
    flex-direction: column;
    gap: 8px;
  }

  .home-review-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-review blockquote {
    margin-top: 20px;
    padding-left: 18px;
    font-size: 27px;
    line-height: 1.36;
  }

  .home-review-author {
    margin-top: 20px !important;
    padding-left: 22px;
  }

  .home-review-layout > .home-text-link {
    justify-self: start;
  }

  .home-materials-layout {
    border-right: 0;
    border-left: 0;
  }

  .home-materials-copy {
    min-height: 0;
    padding: 30px 20px 34px;
  }

  .home-materials-copy > p:not(.home-section-index) {
    margin-top: 20px !important;
    font-size: 17px;
  }

  .home-materials-copy .home-button {
    margin-top: 28px;
  }

  .home-materials-board {
    grid-template-columns: 1fr;
  }

  .home-materials-media {
    min-height: 0;
    aspect-ratio: 3 / 2;
    border-right: 0;
    border-bottom: 1px solid var(--border-dark);
  }

  .home-material-routes a,
  .home-final-routes a {
    min-height: 70px;
    padding: 16px 20px;
    font-size: 17px;
  }

  .home-final-layout {
    gap: 48px;
  }

  .home-final-copy h2 {
    max-width: none;
    font-size: 46px;
  }

  .home-final-copy > p:not(.home-section-index) {
    margin-top: 22px !important;
    font-size: 18px;
  }

  .home-final-actions {
    flex-direction: column;
    gap: 8px;
    margin-top: 30px;
  }

  .home-final-routes {
    padding-top: 28px;
  }

  .home-final-routes a {
    padding-right: 0;
    padding-left: 0;
  }
}

@media (max-width: 370px) {
  .home-page main .shell {
    width: min(calc(100% - 32px), var(--shell-max));
  }

  .home-hero-title {
    font-size: 34px;
  }

  .home-proof-item {
    grid-template-columns: 96px minmax(0, 1fr);
  }

  .home-calc-dimensions {
    grid-template-columns: 1fr;
  }

  .home-calc-multiply {
    display: none;
  }

  .home-foundation-row strong {
    font-size: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-button,
  .home-foundation-row {
    transition: none;
  }

  .home-calc-entry.is-attention {
    animation: none;
  }
}
