:root {
  --ink: #102033;
  --ink-soft: #425268;
  --navy: #071a2c;
  --navy-mid: #0c2943;
  --blue: #174e82;
  --orange: #f47a20;
  --orange-light: #ff9a4f;
  --cream: #f3f1eb;
  --paper: #fbfaf7;
  --line: rgba(16, 32, 51, 0.14);
  --white: #ffffff;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.scroll-progress {
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  pointer-events: none;
}

.scroll-progress span {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}

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

img {
  display: block;
  width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.concept-bar {
  min-height: 34px;
  padding: 7px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #1c1b18;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-align: center;
}

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 86px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: var(--white);
  border-bottom: 1px solid rgba(16, 32, 51, 0.09);
  transition:
    min-height 240ms ease,
    box-shadow 240ms ease,
    background 240ms ease;
}

.site-header.is-scrolled {
  min-height: 70px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: grid;
  grid-template-columns: 38px auto;
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-items: center;
}

.brand-mark {
  grid-row: 1 / 3;
  width: 38px;
  height: 38px;
  display: block;
  background:
    linear-gradient(165deg, transparent 0 33%, var(--orange) 34% 49%, transparent 50%),
    linear-gradient(15deg, transparent 0 43%, var(--blue) 44% 60%, transparent 61%);
  border: 1px solid rgba(16, 32, 51, 0.12);
}

.brand-name {
  color: var(--blue);
  font-size: 1.4rem;
  font-weight: 850;
  letter-spacing: -0.04em;
  line-height: 1;
}

.brand-type {
  color: var(--ink-soft);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: #28394d;
  font-size: 0.82rem;
  font-weight: 700;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--orange);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  padding: 13px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.header-cta:hover,
.header-cta:focus-visible {
  background: var(--blue);
}

.menu-toggle {
  display: none;
}

.hero {
  min-height: 690px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  --hero-y: 0px;
  --hero-scale: 1.08;
  transform: translate3d(0, var(--hero-y), 0) scale(var(--hero-scale));
  transform-origin: center center;
  will-change: transform;
  transition: transform 1.4s cubic-bezier(0.2, 0.75, 0.2, 1);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 15, 25, 0.96) 0%, rgba(4, 15, 25, 0.82) 39%, rgba(4, 15, 25, 0.28) 67%, rgba(4, 15, 25, 0.08) 100%),
    linear-gradient(0deg, rgba(4, 15, 25, 0.48), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(690px, calc(100% - 48px));
  margin-left: max(24px, calc((100vw - var(--max)) / 2));
  padding: 82px 0 96px;
  color: var(--white);
}

.motion-enabled .hero-content > * {
  opacity: 0;
  transform: translate3d(0, 34px, 0);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 950ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.motion-enabled.is-ready .hero-content > * {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.motion-enabled.is-ready .hero-content > :nth-child(2) {
  transition-delay: 100ms;
}

.motion-enabled.is-ready .hero-content > :nth-child(3) {
  transition-delay: 220ms;
}

.motion-enabled.is-ready .hero-content > :nth-child(4) {
  transition-delay: 340ms;
}

.motion-enabled.is-ready .hero-image {
  --hero-scale: 1.02;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--orange-light);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: var(--blue);
}

.hero h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(3.3rem, 6vw, 6.5rem);
  font-weight: 750;
  letter-spacing: -0.065em;
  line-height: 0.93;
}

.hero h1 span {
  display: block;
  color: #b5c5d5;
}

.hero-copy {
  max-width: 610px;
  margin: 30px 0 0;
  color: #d4dde5;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button {
  min-height: 52px;
  padding: 14px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button-primary {
  background: var(--orange);
  color: #151411;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--orange-light);
}

.button-pulse {
  animation: buttonPulse 3.2s ease-out infinite;
}

@keyframes buttonPulse {
  0%,
  55%,
  100% {
    box-shadow: 0 0 0 0 rgba(244, 122, 32, 0);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(244, 122, 32, 0.12);
  }

  86% {
    box-shadow: 0 0 0 18px rgba(244, 122, 32, 0);
  }
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.38);
  color: var(--white);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.image-note {
  margin: 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.61rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.image-note-hero {
  position: absolute;
  z-index: 2;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 22px;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.scroll-cue i {
  width: 1px;
  height: 30px;
  position: relative;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: translateY(-100%);
  animation: scrollCue 1.8s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

@keyframes scrollCue {
  0% {
    transform: translateY(-100%);
  }

  45% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(100%);
  }
}

.proof-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: -40px auto 0;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--white);
  box-shadow: 0 24px 65px rgba(16, 32, 51, 0.12);
}

.proof-strip article {
  min-height: 126px;
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.proof-strip article:last-child {
  border-right: 0;
}

.proof-strip strong {
  color: var(--blue);
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.proof-strip span {
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.section {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.65fr);
  gap: 80px;
  align-items: end;
}

.section-heading h2,
.approach-intro h2,
.legacy-copy h2,
.contact-copy h2 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2.5rem, 4.7vw, 4.8rem);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1;
}

.section-heading > p,
.approach-intro > p:last-child,
.legacy-copy > p:last-child,
.contact-copy > p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.75;
}

.systems-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.system-card {
  min-height: 280px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.4);
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.system-card:hover {
  background: var(--white);
  transform: translateY(-3px);
}

.system-card-featured {
  background: var(--navy);
  color: var(--white);
}

.system-card-featured:hover {
  background: var(--navy-mid);
}

.system-number {
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.system-card h3 {
  margin: auto 0 12px;
  font-size: 1.35rem;
  letter-spacing: -0.025em;
}

.system-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.7;
}

.system-card-featured p {
  color: #bbc8d3;
}

.motion-enabled .reveal {
  opacity: 0;
  transform: translate3d(0, 42px, 0);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 950ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-enabled .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.roof-story {
  min-height: 340vh;
  position: relative;
  scroll-margin-top: 70px;
  background:
    radial-gradient(circle at 76% 42%, rgba(38, 104, 158, 0.2), transparent 32%),
    var(--navy);
  color: var(--white);
}

.roof-story-sticky {
  min-height: 100vh;
  padding: 80px max(24px, calc((100vw - var(--max)) / 2));
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(480px, 1.18fr);
  gap: 70px;
  align-items: center;
  overflow: hidden;
}

.roof-story-copy {
  position: relative;
  z-index: 3;
}

.roof-story-copy h2 {
  margin: 0;
  font-size: clamp(2.9rem, 5.2vw, 5.8rem);
  font-weight: 720;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.roof-story-intro {
  max-width: 570px;
  margin: 26px 0 0;
  color: #b7c6d3;
  font-size: 0.95rem;
  line-height: 1.75;
}

.concept-disclaimer {
  max-width: 570px;
  margin: 16px 0 0;
  padding: 11px 14px;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.07);
  color: #d7e1e9;
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.055em;
  line-height: 1.55;
  text-transform: uppercase;
}

.roof-story-steps {
  max-width: 590px;
  margin: 38px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.roof-story-steps li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0.36;
  transform: translate3d(-8px, 0, 0);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.roof-story-steps li.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.roof-story-steps li > span {
  padding-top: 2px;
  color: var(--orange-light);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.roof-story-steps strong {
  color: var(--white);
  font-size: 0.92rem;
}

.roof-story-steps p {
  margin: 3px 0 0;
  color: #aebdca;
  font-size: 0.74rem;
}

.roof-assembly {
  min-height: 640px;
  position: relative;
  perspective: 1200px;
  isolation: isolate;
}

.assembly-disclaimer {
  position: absolute;
  z-index: 7;
  top: 16px;
  left: 0;
  margin: 0;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(4, 18, 31, 0.72);
  color: #c3d1dc;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.roof-assembly-halo {
  position: absolute;
  inset: 12% 2% 7%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(53, 127, 184, 0.24), transparent 66%);
  filter: blur(12px);
  transform: scale(var(--halo-scale, 0.82));
  opacity: var(--halo-opacity, 0.35);
  transition:
    opacity 300ms linear,
    transform 300ms linear;
}

.roof-layer {
  --layer-offset: -320px;
  --layer-opacity: 0.08;
  width: min(650px, 88%);
  height: 142px;
  padding: 17px 21px;
  position: absolute;
  left: 50%;
  top: 42%;
  display: flex;
  align-items: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.28);
  opacity: var(--layer-opacity);
  transform: translate3d(-50%, var(--layer-offset), 0) rotateX(58deg)
    rotateZ(-11deg);
  transform-origin: center;
  will-change: transform, opacity;
}

.roof-layer span {
  padding: 6px 9px;
  background: rgba(4, 15, 25, 0.76);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roof-layer-deck {
  z-index: 1;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0 18px,
      rgba(0, 0, 0, 0.1) 19px 21px
    ),
    #28465d;
}

.roof-layer-insulation {
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 46%),
    #b98745;
}

.roof-layer-membrane {
  z-index: 3;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(15, 40, 60, 0.08) 0 2px,
      transparent 3px 28px
    ),
    #d7e0e5;
}

.roof-layer-finish {
  z-index: 4;
  border-color: rgba(244, 122, 32, 0.7);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 42%),
    #215d8b;
}

.roof-assembly-line {
  position: absolute;
  z-index: 5;
  top: 15%;
  right: 8%;
  bottom: 16%;
  width: 1px;
  background: linear-gradient(transparent, var(--orange), transparent);
  opacity: var(--line-opacity, 0.2);
}

.roof-assembly-meta {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 28px;
  display: grid;
  justify-items: end;
  color: #aebdca;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.roof-assembly-meta strong {
  margin: 1px 0 2px;
  color: var(--white);
  font-size: clamp(4.5rem, 8vw, 8rem);
  letter-spacing: -0.08em;
  line-height: 0.9;
}

.work-section {
  background: var(--navy);
  color: var(--white);
}

.section-heading-light > p {
  color: #b8c5d0;
}

.project-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.project-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #0a2238;
}

.project-card img {
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.07);
  will-change: transform;
  transition: transform 500ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.project-card:hover img {
  transform: translate3d(0, var(--parallax-y, 0px), 0) scale(1.1);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 15, 25, 0.92), transparent 55%);
}

.project-caption {
  position: absolute;
  z-index: 2;
  left: 30px;
  right: 30px;
  bottom: 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}

.project-caption span {
  color: var(--orange-light);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-caption h3 {
  margin: 7px 0 0;
  font-size: 1.7rem;
  letter-spacing: -0.035em;
}

.project-caption p {
  margin: 0;
  max-width: 220px;
  color: #bdc8d2;
  font-size: 0.76rem;
  text-align: right;
}

.project-card .image-note {
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: 18px;
}

.approach-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  background: var(--cream);
}

.approach-intro {
  position: sticky;
  top: 40px;
  align-self: start;
}

.approach-intro > p:last-child {
  max-width: 540px;
  margin-top: 28px;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.process-list li {
  padding: 30px 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.process-list > li > span {
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.process-list h3 {
  margin: 0;
  font-size: 1.4rem;
  letter-spacing: -0.025em;
}

.process-list p {
  margin: 8px 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.legacy-section {
  min-height: 570px;
  padding: 100px max(24px, calc((100vw - var(--max)) / 2));
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  background: var(--blue);
  color: var(--white);
}

.legacy-number {
  position: absolute;
  left: -0.04em;
  bottom: -0.27em;
  color: rgba(255, 255, 255, 0.07);
  font-size: clamp(14rem, 30vw, 34rem);
  font-weight: 900;
  letter-spacing: -0.1em;
  line-height: 0.8;
}

.legacy-copy {
  position: relative;
  z-index: 2;
  width: min(610px, 54%);
}

.legacy-copy > p:last-child {
  margin-top: 28px;
  color: #d0ddeb;
}

.contact-section {
  padding: 120px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 110px;
  background: var(--navy);
  color: var(--white);
}

.contact-copy > p {
  max-width: 540px;
  margin-top: 26px;
  color: #b8c5d0;
}

.contact-details {
  margin: 48px 0 0;
  display: grid;
  gap: 20px;
}

.contact-details div {
  padding-top: 18px;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-details dt {
  color: var(--orange-light);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-details dd {
  margin: 0;
  color: #d4dee6;
  font-size: 0.9rem;
}

.contact-details a:hover,
.contact-details a:focus-visible {
  color: var(--orange-light);
}

.contact-form {
  padding: 40px;
  background: var(--white);
  color: var(--ink);
}

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

.contact-form label {
  margin-bottom: 20px;
  display: grid;
  gap: 9px;
  color: #31445a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cbd3da;
  border-radius: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfc;
  outline: none;
  font-size: 0.9rem;
  font-weight: 450;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 78, 130, 0.12);
}

.contact-form textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
  border: 0;
}

.form-note,
.form-status {
  margin: 13px 0 0;
  color: #697788;
  font-size: 0.7rem;
  line-height: 1.55;
}

.form-status {
  min-height: 1.2em;
  color: var(--blue);
  font-weight: 800;
}

.site-footer {
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  background: #04121f;
  color: #8fa0af;
  font-size: 0.68rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand .brand-mark {
  width: 31px;
  height: 31px;
}

.footer-brand div {
  display: grid;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
}

.footer-brand span {
  margin-top: 4px;
  font-size: 0.55rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-concept {
  text-align: right;
}

.footer-concept a {
  color: #c9d8e4;
  text-decoration-color: rgba(201, 216, 228, 0.45);
  text-underline-offset: 3px;
}

.footer-concept a:hover {
  color: var(--white);
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 20px 24px 28px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(16, 32, 51, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    padding: 10px;
    justify-self: end;
    display: grid;
    align-content: center;
    gap: 4px;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
  }

  .menu-toggle > span:not(.sr-only) {
    height: 2px;
    display: block;
    background: var(--ink);
  }

  .header-cta {
    justify-self: end;
  }

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

  .roof-story-sticky {
    grid-template-columns: minmax(320px, 0.9fr) minmax(400px, 1.1fr);
    gap: 38px;
  }

  .roof-assembly {
    min-height: 570px;
  }

  .approach-section,
  .contact-section {
    gap: 64px;
  }

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

  .footer-concept {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 760px) {
  .concept-bar {
    min-height: 42px;
    padding: 7px 14px;
    flex-wrap: wrap;
    gap: 3px 7px;
    line-height: 1.3;
  }

  .site-header {
    min-height: 74px;
    padding: 0 18px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .site-header.is-scrolled {
    min-height: 66px;
  }

  .brand {
    grid-template-columns: 34px auto;
    column-gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 1.18rem;
  }

  .brand-type {
    font-size: 0.5rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 690px;
    align-items: end;
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, rgba(4, 15, 25, 0.98) 4%, rgba(4, 15, 25, 0.88) 58%, rgba(4, 15, 25, 0.25) 100%),
      linear-gradient(90deg, rgba(4, 15, 25, 0.48), transparent);
  }

  .hero-content {
    width: auto;
    margin: 0;
    padding: 210px 20px 104px;
  }

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

  .hero-copy {
    margin-top: 24px;
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .image-note-hero {
    display: none;
  }

  .scroll-cue {
    left: 20px;
    bottom: 18px;
    max-width: calc(100% - 40px);
  }

  .proof-strip {
    width: calc(100% - 32px);
    margin-top: -20px;
    grid-template-columns: 1fr;
  }

  .proof-strip article {
    min-height: 96px;
    padding: 21px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .proof-strip article:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 84px 20px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-heading h2,
  .approach-intro h2,
  .legacy-copy h2,
  .contact-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .systems-grid {
    margin-top: 44px;
    grid-template-columns: 1fr;
  }

  .roof-story {
    min-height: auto;
  }

  .roof-story-sticky {
    min-height: auto;
    padding: 84px 20px;
    position: relative;
    grid-template-columns: 1fr;
    gap: 28px;
    overflow: hidden;
  }

  .roof-story-copy h2 {
    font-size: clamp(2.45rem, 11.5vw, 3.7rem);
  }

  .roof-story-steps li {
    opacity: 1;
    transform: none;
  }

  .roof-assembly {
    min-height: 480px;
    margin: 0 -16px;
  }

  .assembly-disclaimer {
    top: 0;
    left: 16px;
    max-width: calc(100% - 32px);
  }

  .roof-layer {
    width: 86%;
    height: 106px;
  }

  .roof-assembly-meta {
    right: 18px;
    bottom: 10px;
  }

  .roof-assembly-meta strong {
    font-size: 4.8rem;
  }

  .system-card {
    min-height: 230px;
    padding: 27px;
  }

  .project-grid {
    margin-top: 44px;
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 430px;
  }

  .project-caption {
    left: 22px;
    right: 22px;
    bottom: 46px;
    display: block;
  }

  .project-caption h3 {
    font-size: 1.45rem;
  }

  .project-caption p {
    margin-top: 8px;
    max-width: none;
    text-align: left;
  }

  .project-card .image-note {
    left: 22px;
    bottom: 18px;
  }

  .approach-section {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .approach-intro {
    position: static;
  }

  .legacy-section {
    min-height: 520px;
    padding: 84px 20px;
    align-items: flex-start;
  }

  .legacy-copy {
    width: 100%;
  }

  .legacy-number {
    left: -0.08em;
    bottom: -0.12em;
    font-size: 13rem;
  }

  .contact-section {
    padding: 84px 20px;
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-details div {
    grid-template-columns: 72px 1fr;
  }

  .contact-form {
    padding: 26px 20px;
  }

  .field-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-footer {
    padding: 32px 20px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }

  .button-pulse,
  .scroll-cue i::after {
    animation: none !important;
  }

  .hero-image,
  .project-card img {
    transform: none !important;
  }

  .reveal,
  .hero-content > * {
    opacity: 1 !important;
    transform: none !important;
  }
}
