/* ONE Commercial Constructions
   One typeface (Archivo, self-hosted), one ground, one ink, one accent.
   No gradients, resting shadows, hairlines, eyebrows or icon cards. */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* colour: fair-faced concrete, ink, site-vest orange */
  --ground: #ecebe7;
  --tone: #dfddd7;
  --tone-2: #d2cfc8;
  --ink: #141413;
  --ink-soft: #4a4946;
  --accent: #1586ff;
  --accent-press: #085ee8;
  --dark: #171716;
  --dark-tone: #242422;
  --dark-tone-2: #31302d;
  --on-dark: #f1f0ec;
  --on-dark-soft: #b8b6ae;

  /* type: five sizes */
  --t-mega: clamp(8.5rem, 23.5vw, 24rem);
  --t-display: clamp(2.5rem, 5.4vw, 5.25rem);
  --t-title: clamp(1.375rem, 1.9vw, 1.75rem);
  --t-body: 1.125rem;
  --t-small: 0.9375rem;

  --gutter: clamp(1rem, 2.4vw, 2rem);
  --section: clamp(6rem, 12vw, 13rem);
  --max: 1440px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --header-h: 64px;
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Archivo", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.55;
  color: var(--ink);
  background: var(--ground);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: 0;
}

ul {
  list-style: none;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: var(--ink);
}

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  background: var(--ink);
  color: var(--on-dark);
  padding: 12px 16px;
  z-index: 100;
}

.skip-link:focus {
  top: 8px;
}

.small {
  font-size: var(--t-small);
  color: var(--ink-soft);
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  font-size: var(--t-body);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.1;
  border-radius: 0;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .15s var(--ease);
}

.btn:active {
  transform: translateY(1px) scale(0.985);
}

.btn-accent {
  background: var(--accent);
  color: var(--ink);
}

.btn-accent:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.price .btn-accent:hover {
  background: var(--on-dark);
  color: var(--ink);
}

.btn-ink {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-ink:hover {
  background: var(--accent);
  color: var(--ink);
}

.btn-ghost {
  background: var(--tone);
  color: var(--ink);
  min-height: 46px;
  padding: 0 20px;
  font-size: var(--t-small);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.btn-block {
  width: 100%;
}

.text-link {
  display: inline-block;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
  padding: 6px 0;
  transition: text-decoration-color .2s, color .2s;
}

.text-link:hover {
  text-decoration-color: currentColor;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ground);
  transition: background-color .25s var(--ease);
}

.site-header.scrolled {
  background: var(--tone);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}

.wordmark {
  font-weight: 700;
  text-decoration: none;
  font-size: var(--t-body);
  white-space: nowrap;
}

.wordmark-one {
  font-weight: 900;
  font-stretch: 75%;
}

.main-nav {
  margin-left: auto;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.nav-link {
  text-decoration: none;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.header-cta {
  min-height: 44px;
  padding: 0 18px;
  font-size: var(--t-small);
}

.menu-btn {
  display: none;
  margin-left: auto;
  font-weight: 700;
  min-height: 44px;
  padding: 0 16px;
  background: var(--ink);
  color: var(--on-dark);
}

.mobile-drawer {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  z-index: 39;
  background: var(--tone);
  padding: 24px var(--gutter) 32px;
  transform: translateY(-110%);
  transition: transform .35s var(--ease);
  visibility: hidden;
}

.mobile-drawer.open {
  transform: none;
  visibility: visible;
  box-shadow: 0 30px 60px rgba(20, 20, 19, .25);
}

.mobile-drawer ul {
  margin-bottom: 24px;
}

.mobile-nav-link {
  display: block;
  font-size: var(--t-title);
  font-weight: 800;
  text-decoration: none;
  padding: 10px 0;
}

.drawer-phone {
  display: block;
  font-weight: 700;
  margin-bottom: 16px;
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(8px, 1.5vw, 24px);
  overflow: hidden;
}

.hero-title {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 0 clamp(24px, 3vw, 56px);
  margin-bottom: clamp(28px, 3vw, 48px);
}

.mega {
  display: flex;
  gap: 0.02em;
  font-size: var(--t-mega);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.74;
  letter-spacing: 0;
  margin-left: -0.03em;
  padding-top: 0.06em;
}

.mega-l {
  display: inline-block;
  overflow: hidden;
  padding-bottom: 0.02em;
}

.hero-name {
  display: block;
  padding-bottom: 0.15em;
  max-width: 13ch;
  font-size: clamp(1.5rem, 4.4vw, 4.5rem);
  font-stretch: 78%;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.hero-copy {
  grid-column: 1 / span 4;
  padding-top: 4px;
}

.lede {
  font-size: var(--t-title);
  line-height: 1.25;
  font-weight: 500;
  max-width: 24ch;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-bottom: 40px;
}

.hero-facts li {
  padding: 10px 0;
  font-weight: 600;
}

.hero-facts li+li {
  padding-top: 0;
}

.hero-media {
  grid-column: 5 / -1;
  margin-right: calc(-1 * var(--gutter));
  aspect-ratio: 16 / 9.4;
  overflow: hidden;
  background: var(--tone);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: 50% 30%;
  will-change: transform;
}

/* ---------- sections ---------- */
.section {
  padding-top: var(--section);
}

.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-bottom: clamp(48px, 6vw, 96px);
  align-items: end;
}

.section-head h2 {
  grid-column: 1 / span 7;
  font-size: var(--t-display);
  font-stretch: 78%;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.section-head p {
  grid-column: 8 / -1;
  max-width: 46ch;
}

h3 {
  font-size: var(--t-title);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

/* stages: photographs at uneven sizes, each stage its own arrangement */
.stage {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: end;
  margin-bottom: clamp(72px, 9vw, 144px);
}

.stage-media {
  overflow: hidden;
  background: var(--tone);
}

.stage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}

.stage:hover .stage-media img {
  transform: scale(1.03);
}

.stage-text h3 {
  margin-bottom: 16px;
}

.stage-text p {
  max-width: 52ch;
  margin-bottom: 14px;
}

.stage-a .stage-media {
  grid-column: 1 / span 8;
  aspect-ratio: 4 / 3;
  margin-left: calc(-1 * var(--gutter));
}

.stage-a .stage-text {
  grid-column: 9 / -1;
}

.stage-b .stage-text {
  grid-column: 1 / span 4;
  align-self: start;
}

.stage-b .stage-media {
  grid-column: 6 / -1;
  aspect-ratio: 16 / 10;
  margin-right: calc(-1 * var(--gutter));
}

.stage-c .stage-media {
  grid-column: 2 / span 5;
  aspect-ratio: 1;
}

.stage-c .stage-text {
  grid-column: 8 / span 5;
  align-self: center;
}

.stage-d .stage-media {
  grid-column: 1 / -1;
  aspect-ratio: 21 / 8;
  margin-inline: calc(-1 * var(--gutter));
  grid-row: 1;
}

.stage-d .stage-text {
  grid-column: 1 / span 6;
  grid-row: 2;
}

.stage-e {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(32px, 5vw, 72px);
  margin-bottom: 0;
  align-items: start;
}

.stage-e h3 {
  grid-column: 1 / span 5;
  font-size: var(--t-display);
  font-stretch: 78%;
  letter-spacing: -0.03em;
  line-height: 0.92;
}

.stage-e p {
  grid-column: 7 / -1;
  max-width: 48ch;
}

/* work */
.feature {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  margin-bottom: clamp(64px, 7vw, 112px);
  align-items: stretch;
}

.feature-media {
  grid-column: 1 / span 5;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--tone);
}

.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text {
  grid-column: 7 / -1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.feature-text h3 {
  font-size: var(--t-display);
  font-stretch: 78%;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 12px;
}

.feature-place {
  font-weight: 600;
  margin-bottom: 24px;
}

.feature-text>p:not(.feature-place) {
  max-width: 52ch;
  margin-bottom: 40px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 56px;
}

.facts dt,
.project-facts dt {
  font-size: var(--t-small);
  color: var(--ink-soft);
}

.facts dd {
  font-size: var(--t-title);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.filter-btn {
  min-height: 44px;
  padding: 0 18px;
  background: var(--tone);
  font-weight: 600;
  font-size: var(--t-small);
  transition: background-color .2s, color .2s, transform .15s;
}

.filter-btn:hover {
  background: var(--tone-2);
}

.filter-btn:active {
  transform: scale(0.97);
}

.filter-btn.active {
  background: var(--ink);
  color: var(--on-dark);
}

.project-list {
  display: grid;
  gap: 8px;
}

.project {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 3fr) auto;
  gap: var(--gutter);
  align-items: center;
  background: var(--tone);
  padding: 12px;
  transition: background-color .25s var(--ease);
}

.project:hover {
  background: var(--tone-2);
}

.project img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--tone-2);
}

.project h3 {
  margin-bottom: 4px;
}

.project-place {
  font-weight: 600;
  margin-bottom: 8px;
}

.project-main p:not(.project-place) {
  max-width: 48ch;
}

.project-facts {
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 20px;
  align-content: center;
  font-variant-numeric: tabular-nums;
}

.project-facts div {
  display: contents;
}

.project-facts dd {
  font-weight: 700;
}

.project .btn-ghost {
  margin-right: 8px;
  background: var(--ground);
}

.project .btn-ghost:hover {
  background: var(--ink);
}

.project.is-hidden {
  display: none;
}

/* price: dark chapter, a live bill of quantities */
.price {
  background: var(--dark);
  color: var(--on-dark);
  margin-top: var(--section);
  padding-block: clamp(64px, 8vw, 128px);
}

.price .small {
  color: var(--on-dark-soft);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.calc {
  grid-column: 1 / span 6;
  display: grid;
  gap: 40px;
}

.calc fieldset {
  border: 0;
}

.calc legend,
.calc-area label {
  font-weight: 700;
  margin-bottom: 14px;
  display: block;
}

.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.seg-btn {
  min-height: 56px;
  padding: 0 16px;
  text-align: left;
  font-weight: 600;
  background: var(--dark-tone);
  color: var(--on-dark);
  transition: background-color .2s, color .2s, transform .15s;
}

.seg-btn:hover {
  background: var(--dark-tone-2);
}

.seg-btn:active {
  transform: scale(0.985);
}

.seg-btn.active {
  background: var(--on-dark);
  color: var(--ink);
}

.calc-area {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
}

.area-out {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sqm-val {
  font-weight: 400;
  color: var(--on-dark-soft);
}

.calc-area input,
.range-ends {
  grid-column: 1 / -1;
}

.range-ends {
  display: flex;
  justify-content: space-between;
  font-size: var(--t-small);
  color: var(--on-dark-soft);
  margin-top: 6px;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 44px;
  background: transparent;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  background: var(--dark-tone-2);
}

input[type="range"]::-moz-range-track {
  height: 8px;
  background: var(--dark-tone-2);
}

input[type="range"]::-moz-range-progress {
  height: 8px;
  background: var(--accent);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 28px;
  height: 28px;
  margin-top: -10px;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  transition: transform .15s;
}

input[type="range"]::-moz-range-thumb {
  width: 28px;
  height: 28px;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
}

input[type="range"]:active::-webkit-slider-thumb {
  transform: scale(1.15);
}

.tier {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px 14px;
  align-items: baseline;
  padding: 16px 18px;
  background: var(--dark-tone);
  margin-bottom: 6px;
  cursor: pointer;
  transition: background-color .2s, color .2s;
}

.tier:hover {
  background: var(--dark-tone-2);
}

.tier input {
  grid-row: 1 / span 2;
  accent-color: var(--accent);
  width: 20px;
  height: 20px;
  transform: translateY(3px);
}

.tier-name {
  font-weight: 700;
}

.tier-desc {
  grid-column: 2;
  color: var(--on-dark-soft);
  font-size: var(--t-small);
}

.tier:has(input:checked) {
  background: var(--on-dark);
  color: var(--ink);
}

.tier:has(input:checked) .tier-desc {
  color: var(--ink-soft);
}

.boq {
  grid-column: 8 / -1;
  background: var(--on-dark);
  color: var(--ink);
  padding: clamp(24px, 3vw, 40px);
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.boq-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.boq-title {
  font-size: var(--t-body);
  font-weight: 700;
  letter-spacing: 0;
}

.currency {
  display: flex;
  background: var(--tone);
  padding: 3px;
}

.curr-btn {
  min-height: 38px;
  padding: 0 14px;
  font-weight: 700;
  font-size: var(--t-small);
  transition: background-color .2s, color .2s;
}

.curr-btn.active {
  background: var(--ink);
  color: var(--on-dark);
}

.boq-total {
  font-size: var(--t-display);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.boq-rate {
  color: var(--ink-soft);
  margin: 8px 0 24px;
  font-variant-numeric: tabular-nums;
}

.boq-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-variant-numeric: tabular-nums;
}

.boq-table th {
  text-align: left;
  font-weight: 500;
  padding: 12px 12px 12px 0;
}

.boq-table td {
  text-align: right;
  font-weight: 700;
  padding: 12px 0;
  white-space: nowrap;
}

.boq-table td.pct {
  color: var(--ink-soft);
  font-weight: 500;
  padding-right: 16px;
}

.boq-table tr:nth-child(odd) {
  background: transparent;
}

.boq-table tbody tr {
  border-bottom: 2px solid var(--tone);
}

.boq-table .row-time {
  border-bottom: 0;
}

.boq-table .row-time th,
.boq-table .row-time td {
  padding-top: 16px;
  font-weight: 700;
}

.boq-note {
  margin-top: 16px;
  color: var(--ink-soft) !important;
}

/* standards: a specification sheet */
.spec {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  padding: clamp(32px, 4vw, 56px) 0;
}

.spec+.spec {
  border-top: 4px solid var(--tone);
}

.spec h3 {
  grid-column: 1 / span 4;
  align-self: start;
  font-size: var(--t-title);
}

.spec dl {
  grid-column: 5 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px var(--gutter);
}

.spec dt {
  font-weight: 700;
  margin-bottom: 6px;
}

/* guarantees: one tone field, the figure answered by the list */
.guarantees {
  background: var(--tone);
  margin-top: var(--section);
  padding-block: clamp(64px, 8vw, 128px);
}

.guarantees h2 {
  font-size: var(--t-display);
  font-stretch: 78%;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: clamp(48px, 6vw, 88px);
  max-width: 14ch;
}

.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.warranty {
  grid-column: 1 / span 4;
}

.warranty-figure {
  font-size: clamp(7rem, 15vw, 15rem);
  font-weight: 900;
  font-stretch: 78%;
  line-height: 0.8;
  letter-spacing: -0.05em;
  color: var(--ink);
  margin-bottom: 24px;
}

.warranty-figure span {
  font-size: var(--t-title);
  letter-spacing: 0;
  font-stretch: 100%;
  font-weight: 700;
}

.warranty p:not(.warranty-figure) {
  max-width: 34ch;
  margin-bottom: 28px;
}

.promises {
  grid-column: 6 / -1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px var(--gutter);
}

.promises h3 {
  margin-bottom: 10px;
}

/* contact */
.contact {
  padding-bottom: var(--section);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--gutter);
  align-items: start;
}

.contact-info {
  grid-column: 1 / span 6;
}

.contact-info h2 {
  font-size: var(--t-display);
  font-stretch: 78%;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-bottom: 24px;
}

.contact-info>p {
  max-width: 40ch;
  margin-bottom: 40px;
}

.contact-phone {
  display: inline-block;
  font-size: var(--t-display);
  font-weight: 900;
  font-stretch: 78%;
  letter-spacing: -0.02em;
  text-decoration: none;
  margin-bottom: 40px;
  transition: color .2s;
  font-variant-numeric: tabular-nums;
}

.contact-phone:hover {
  color: var(--accent-press);
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px var(--gutter);
}

.contact-list dt {
  font-size: var(--t-small);
  color: var(--ink-soft);
  margin-bottom: 4px;
}

.contact-list dd a:not(.text-link) {
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.contact-form {
  grid-column: 8 / -1;
  background: var(--tone);
  padding: clamp(24px, 3vw, 40px);
  display: grid;
  gap: 18px;
}

.contact-form h3 {
  margin-bottom: 4px;
}

.field {
  display: grid;
  gap: 6px;
}

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field label {
  font-size: var(--t-small);
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  background: var(--ground);
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--ink);
  transition: background-color .2s, border-color .2s;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-bottom-color: var(--accent);
}

.contact-form .btn {
  justify-self: start;
}

/* footer: the name returns at full width */
.site-footer {
  background: var(--ink);
  color: var(--on-dark);
  padding: clamp(48px, 6vw, 96px) 0 calc(32px + env(safe-area-inset-bottom));
  overflow: hidden;
}

.footer-mega {
  display: flex;
  justify-content: space-between;
  font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 2.75);
  font-weight: 900;
  font-stretch: 125%;
  line-height: 0.74;
  letter-spacing: 0;
  margin: 0 0 0 -0.03em clamp(48px, 6vw, 96px);
  padding-top: 0.06em;
  color: var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gutter);
  margin-bottom: 48px;
}

.footer-name {
  font-weight: 700;
  margin-bottom: 8px;
}

.footer-grid p:not(.footer-name) {
  color: var(--on-dark-soft);
}

.footer-grid a {
  text-decoration: none;
  transition: color .2s;
}

.footer-grid a:hover {
  color: var(--on-dark);
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.footer-copy {
  color: var(--on-dark-soft) !important;
}

.phone-bar {
  display: none;
}

/* modals: they truly float, so they may cast a shadow */
.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s var(--ease), visibility .25s;
}

.modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 19, .72);
}

.modal-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 2 * var(--gutter));
  overflow: auto;
  background: var(--ground);
  padding: clamp(24px, 3vw, 40px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .35);
  transform: translateY(24px);
  transition: transform .35s var(--ease);
}

.modal.active .modal-panel {
  transform: none;
}

.modal-wide {
  width: min(880px, 100%);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 40px;
  padding: 0 14px;
  background: var(--tone);
  font-weight: 700;
  font-size: var(--t-small);
}

.modal-close:hover {
  background: var(--ink);
  color: var(--on-dark);
}

.modal-panel>h3 {
  margin: 4px 72px 12px 0;
}

.modal-panel>p {
  margin-bottom: 24px;
}

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

.mp-hero {
  margin: calc(-1 * clamp(24px, 3vw, 40px)) calc(-1 * clamp(24px, 3vw, 40px)) 28px;
  aspect-ratio: 16 / 8;
  background: var(--tone);
  overflow: hidden;
}

.mp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mp-place {
  font-weight: 600;
  margin: 8px 0 16px;
}

.mp-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-stretch: 78%;
  letter-spacing: -0.03em;
}

.mp-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.mp-facts dt {
  font-size: var(--t-small);
  color: var(--ink-soft);
}

.mp-facts dd {
  font-weight: 800;
}

.mp-spec {
  background: var(--tone);
  padding: 20px;
  margin-bottom: 24px;
  display: grid;
  gap: 12px;
}

.mp-spec dt {
  font-weight: 700;
}

.mp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.toast-container {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 70;
  display: grid;
  gap: 8px;
  width: min(520px, calc(100% - 2 * var(--gutter)));
}

.toast {
  background: var(--ink);
  color: var(--on-dark);
  padding: 16px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .3);
  transition: opacity .3s, transform .3s;
}

/* ---------- motion ---------- */
.js [data-reveal]>*,
.js .project {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.js [data-reveal].in>*,
.js .project.in {
  opacity: 1;
  transform: none;
}

.js [data-reveal].in>*:nth-child(2) {
  transition-delay: 80ms;
}

.js [data-reveal].in>*:nth-child(3) {
  transition-delay: 160ms;
}

.js [data-reveal].in>*:nth-child(4) {
  transition-delay: 240ms;
}

.js [data-reveal].in>*:nth-child(5) {
  transition-delay: 320ms;
}

.js .stage[data-reveal]>.stage-media {
  transform: translateY(40px);
}

.mega-l>span {
  display: block;
  transition: transform 1.1s var(--ease);
}

.js .mega .mega-l>span,
.js .footer-mega .mega-l>span {
  transform: translateY(105%);
}

.js .mega.in .mega-l>span,
.js .footer-mega.in .mega-l>span {
  transform: none;
}

.mega-l:nth-child(2)>span {
  transition-delay: 90ms;
}

.mega-l:nth-child(3)>span {
  transition-delay: 180ms;
}

.js .stage[data-reveal].in>.stage-media {
  transform: none;
}

.js .hero-media {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.2s var(--ease) .25s;
}

.js .hero-media.in {
  clip-path: inset(0 0 0 0);
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation: none !important;
  }

  .js [data-reveal]>*,
  .js .project,
  .js .mega .mega-l>span,
  .js .footer-mega .mega-l>span,
  .js .stage[data-reveal]>.stage-media {
    opacity: 1 !important;
    transform: none !important;
  }

  .js .hero-media {
    clip-path: none;
  }

  .hero-media img {
    transform: none !important;
  }
}

/* ---------- tablet ---------- */
@media (max-width: 1100px) {
  .main-nav ul {
    gap: 20px;
  }

  .hero-copy {
    grid-column: 1 / span 5;
  }

  .hero-media {
    grid-column: 6 / -1;
    aspect-ratio: 4 / 5;
  }

  .section-head h2 {
    grid-column: 1 / -1;
  }

  .section-head p {
    grid-column: 1 / span 9;
  }

  .project {
    grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) minmax(0, 2fr);
  }

  .project .btn-ghost {
    grid-column: 2 / -1;
    justify-self: start;
  }

  .calc {
    grid-column: 1 / -1;
  }

  .boq {
    grid-column: 1 / -1;
    position: static;
  }

  .spec h3 {
    grid-column: 1 / -1;
  }

  .spec dl {
    grid-column: 1 / -1;
  }

  .warranty {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 var(--gutter);
    align-items: end;
  }

  .warranty-figure {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .warranty .btn {
    justify-self: start;
  }

  .promises {
    grid-column: 1 / -1;
    margin-top: 56px;
  }

  .contact-info,
  .contact-form {
    grid-column: 1 / -1;
  }

  .contact-form {
    margin-top: 48px;
  }
}

@media (max-width: 900px) {

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

  .menu-btn {
    display: inline-flex;
    align-items: center;
  }

  .stage-a .stage-media,
  .stage-b .stage-media,
  .stage-c .stage-media {
    grid-column: 1 / -1;
    margin-inline: calc(-1 * var(--gutter));
  }

  .stage-a .stage-text,
  .stage-b .stage-text,
  .stage-c .stage-text,
  .stage-d .stage-text {
    grid-column: 1 / -1;
  }

  .stage-b .stage-text {
    grid-row: 2;
  }

  .stage-c .stage-media {
    aspect-ratio: 4 / 3;
  }

  .stage-e h3,
  .stage-e p {
    grid-column: 1 / -1;
  }

  .feature-media {
    grid-column: 1 / span 6;
  }

  .feature-text {
    grid-column: 7 / -1;
  }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  :root {
    --t-body: 1.0625rem;
    --header-h: 58px;
  }

  body {
    padding-bottom: 60px;
  }

  .hero-title {
    display: block;
  }

  .mega {
    font-size: 33vw;
    justify-content: space-between;
  }

  .hero-name {
    margin-top: 16px;
    max-width: none;
    font-size: var(--t-title);
    font-stretch: 100%;
    letter-spacing: 0;
    line-height: 1.1;
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 28px;
  }

  .hero-media {
    margin-inline: calc(-1 * var(--gutter));
    aspect-ratio: 4 / 3;
    width: calc(100% + 2 * var(--gutter));
  }

  .lede {
    max-width: none;
  }

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

  .hero-facts {
    display: none;
  }

  .section-head {
    display: block;
  }

  .section-head h2 {
    margin-bottom: 20px;
  }

  .stage-d .stage-media {
    aspect-ratio: 4 / 3;
  }

  .stage-e {
    margin-inline: calc(-1 * var(--gutter));
  }

  .feature-media,
  .feature-text {
    grid-column: 1 / -1;
  }

  .feature-media {
    margin-inline: calc(-1 * var(--gutter));
    aspect-ratio: 4 / 4.4;
  }

  .feature-text {
    padding-top: 12px;
  }

  .facts {
    gap: 8px 28px;
  }

  .project {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 20px;
  }

  .project img {
    aspect-ratio: 16 / 10;
  }

  .project>*:not(img) {
    padding-inline: 16px;
  }

  .project .btn-ghost {
    grid-column: 1;
    margin: 0 16px;
  }

  .project-facts {
    grid-template-columns: repeat(3, auto);
    justify-content: start;
    gap: 0 28px;
  }

  .project-facts div {
    display: block;
  }

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

  .boq {
    margin-inline: calc(-1 * var(--gutter));
  }

  .boq-table th {
    font-size: var(--t-small);
  }

  .spec dl {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .warranty {
    display: block;
  }

  .warranty-figure {
    font-size: 9rem;
    margin-bottom: 20px;
  }

  .promises {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .contact-form {
    margin-inline: calc(-1 * var(--gutter));
  }

  .contact-form .btn {
    justify-self: stretch;
  }

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

  .mp-facts {
    grid-template-columns: 1fr 1fr;
  }

  .phone-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 35;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--ink);
  }

  .phone-bar a {
    display: grid;
    place-items: center;
    min-height: 56px;
    color: var(--on-dark);
    font-weight: 700;
    text-decoration: none;
  }

  .phone-bar a+a {
    background: var(--accent);
    color: var(--ink);
  }

  .toast-container {
    bottom: 76px;
  }
}