:root {
  --paper: #07162f;
  --paper-deep: #0b2348;
  --ink: #f8f4e9;
  --muted: #adc0d7;
  --red: #ff7a24;
  --blue: #2674d9;
  --lime: #39d5dd;
  --navy: #07162f;
  --navy-soft: #102b55;
  --cream: #f8f4e9;
  --build: 0;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 25%, rgba(57, 213, 221, 0.15), transparent 26rem),
    radial-gradient(circle at 42% 72%, rgba(38, 116, 217, 0.22), transparent 34rem),
    var(--paper);
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1rem;
  overflow-x: hidden;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
}

.site-header {
  position: fixed;
  z-index: 30;
  top: 1.4rem;
  left: 50%;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  width: min(78rem, calc(100% - 3rem));
  min-height: 3.8rem;
  padding: 0.35rem 0.42rem 0.35rem 0.85rem;
  border: 1px solid rgba(164, 229, 238, 0.28);
  border-radius: 0.35rem;
  background: rgba(7, 22, 47, 0.82);
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.24), 0 0 2rem rgba(57, 213, 221, 0.05);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.brand {
  display: flex;
  width: min(15rem, 21vw);
  align-items: center;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.desktop-nav {
  display: flex;
  justify-self: end;
  gap: clamp(1rem, 2.4vw, 2.4rem);
  padding-right: 1.25rem;
  font-size: 0.82rem;
  font-weight: 500;
}

.desktop-nav a {
  position: relative;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -0.3rem;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 200ms ease;
}

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

.menu-button,
.mobile-menu {
  display: none;
}

.build-story {
  position: relative;
  height: 265vh;
  min-height: 112rem;
}

.sticky-scene {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  height: 100svh;
  min-height: 42rem;
  overflow: hidden;
}

.sticky-scene::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(rgba(126, 218, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(126, 218, 230, 0.07) 1px, transparent 1px);
  background-size: 3rem 3rem;
  content: "";
  opacity: calc(0.15 + var(--build) * 0.5);
  mask-image: radial-gradient(circle at center, black, transparent 72%);
}

.hero-offer {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: max(2rem, calc((100% - 78rem) / 2));
  width: min(31rem, 35vw);
  transform: translateY(-50%);
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--lime);
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.045em;
}

.hero-offer h1 {
  max-width: 9.5ch;
  margin: 0;
  font-size: clamp(3.25rem, 5.2vw, 5.7rem);
  line-height: 0.9;
}

.hero-intro {
  max-width: 34rem;
  margin: 1.5rem 0 1.6rem;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.55;
}

.offer-cta {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  min-height: 3.6rem;
  padding: 0 0.7rem 0 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: white;
  background: var(--blue);
  font-weight: 600;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.22);
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}

.offer-cta span {
  display: grid;
  place-items: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: var(--navy);
  background: var(--lime);
}

.offer-cta:hover,
.offer-cta:focus-visible {
  color: var(--navy);
  background: var(--lime);
  transform: translateY(-2px);
}

.offer-cta:hover span,
.offer-cta:focus-visible span {
  background: white;
}

.service-range {
  margin: 1.25rem 0 0;
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 600;
}

.featured-build {
  margin: 0.42rem 0 0;
  color: var(--lime);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.025em;
}

.offer-note {
  max-width: 34rem;
  margin: 0.55rem 0 0;
  color: rgba(173, 192, 215, 0.7);
  font-size: 0.74rem;
  line-height: 1.45;
}

.computer-wrap {
  position: absolute;
  top: clamp(6.5rem, 12vh, 8.5rem);
  left: 69%;
  width: clamp(43rem, 61vw, 64rem);
  aspect-ratio: 1312 / 1199;
  filter: drop-shadow(0 2.4rem 2.3rem rgba(0, 0, 0, 0.4))
    drop-shadow(0 0 2.5rem rgba(57, 213, 221, 0.09));
  transform: translateX(-50%) translateY(calc(var(--build) * -2.4rem))
    rotate(calc((var(--build) - 0.5) * 0.7deg));
  transition: transform 80ms linear;
}

.computer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.screen {
  position: absolute;
  z-index: 3;
  top: 16.2%;
  left: 15.7%;
  width: 67.2%;
  height: 51.4%;
  overflow: hidden;
  border-radius: 11% / 14%;
  background: var(--navy);
  transform: translateZ(0);
}

.screen::after {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: inherit;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.018) 0,
    rgba(255, 255, 255, 0.018) 1px,
    transparent 1px,
    transparent 4px
  );
  box-shadow: inset 0 0 2.6rem rgba(0, 0, 0, 0.45);
  content: "";
  pointer-events: none;
}

.screen-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 34% 34%, rgba(38, 116, 217, 0.24), transparent 48%),
    radial-gradient(circle at 68% 48%, rgba(57, 213, 221, 0.14), transparent 52%);
}

.boot-message {
  position: absolute;
  z-index: 4;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 82%;
  color: #f8f1de;
  text-align: center;
  opacity: clamp(0, calc(1 - var(--build) * 3.8), 1);
  transform: translate(-50%, -50%) scale(calc(1 - var(--build) * 0.08));
}

.boot-kicker {
  margin-bottom: 0.35rem;
  font-size: clamp(0.55rem, 0.9vw, 0.72rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.boot-title {
  max-width: 12ch;
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.1rem, 2.25vw, 2rem);
  font-weight: 400;
  line-height: 0.94;
}

.screen-build-button {
  position: relative;
  z-index: 20;
  margin-top: 1rem;
  padding: 0.58rem 0.9rem;
  border: 0;
  border-radius: 999px;
  color: var(--navy);
  background: var(--lime);
  font-size: clamp(0.58rem, 0.9vw, 0.72rem);
  font-weight: 600;
}

.mini-site {
  position: absolute;
  inset: 5.5%;
  overflow: hidden;
  border-radius: 0.25rem;
  color: #101010;
  background: #fffdfb;
  opacity: clamp(0, calc(var(--build) * 3.5 - 0.45), 1);
  transform: scale(calc(0.95 + var(--build) * 0.05));
}

.build-piece {
  opacity: 0;
  transform: translateY(1.1rem);
  transition: opacity 300ms ease, transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.piece-1 {
  opacity: clamp(0, calc(var(--build) * 7 - 1.35), 1);
  transform: translateY(clamp(0rem, calc((0.24 - var(--build)) * 5rem), 1.1rem));
}

.piece-2 {
  opacity: clamp(0, calc(var(--build) * 6 - 2.05), 1);
  transform: translateY(clamp(0rem, calc((0.42 - var(--build)) * 5rem), 1.1rem));
}

.piece-3 {
  opacity: clamp(0, calc(var(--build) * 6 - 3.1), 1);
  transform: translateY(clamp(0rem, calc((0.6 - var(--build)) * 5rem), 1.1rem));
}

.piece-4 {
  opacity: clamp(0, calc(var(--build) * 7 - 5), 1);
  transform: translateY(clamp(0rem, calc((0.78 - var(--build)) * 5rem), 1.1rem));
}

.mini-nav {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 14%;
  padding: 0 4%;
  border-bottom: 1px solid rgba(16, 16, 16, 0.12);
  font-size: clamp(0.3rem, 0.5vw, 0.47rem);
  background: #fff;
}

.mdc-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 7%;
  padding: 0 4%;
  color: #cdd8e2;
  background: #071b2d;
  font-size: clamp(0.2rem, 0.34vw, 0.31rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mdc-logo {
  display: block;
  width: 19%;
  height: 76%;
  object-fit: contain;
  object-position: left center;
}

.mini-links {
  color: rgba(16, 33, 59, 0.58);
  font-weight: 600;
}

.mdc-nav-button {
  padding: 0.28rem 0.4rem;
  border-radius: 0.1rem;
  color: #fff;
  background: #1762aa;
  font-size: 0.85em;
  font-weight: 700;
}

.mdc-hero {
  position: relative;
  height: 64%;
  overflow: hidden;
  color: #fff;
  background: #071b2d;
}

.mdc-hero-image,
.mdc-hero-shade {
  position: absolute;
  inset: 0;
}

.mdc-hero-image {
  background: url("./assets/morgan-door-residential-hero.webp") center / cover no-repeat;
}

.mdc-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 24, 40, 0.96) 0%, rgba(6, 24, 40, 0.88) 43%, rgba(6, 24, 40, 0.42) 75%),
    linear-gradient(0deg, rgba(7, 27, 45, 0.5), transparent 50%);
}

.mdc-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  width: 62%;
  height: 100%;
  padding: 6% 7%;
}

.mini-label {
  color: #8fc7f3;
  font-size: clamp(0.21rem, 0.36vw, 0.33rem);
  font-weight: 800;
  letter-spacing: 0.13em;
}

.mdc-hero-copy h2 {
  max-width: 11ch;
  margin: 4% 0 3%;
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: clamp(0.72rem, 1.55vw, 1.38rem);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.88;
  text-transform: uppercase;
}

.mini-copy {
  max-width: 34ch;
  color: #e5edf4;
  font-size: clamp(0.25rem, 0.42vw, 0.38rem);
  line-height: 1.35;
}

.mini-button {
  margin-top: 6%;
  padding: 0.34rem 0.52rem;
  border-radius: 0.1rem;
  color: #fff;
  background: #1762aa;
  font-size: clamp(0.24rem, 0.4vw, 0.36rem);
  font-weight: 700;
}

.real-site-tag {
  position: absolute;
  z-index: 3;
  top: 7%;
  right: 6%;
  padding: 0.24rem 0.38rem;
  border-radius: 999px;
  color: #071b2d;
  background: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.2rem, 0.35vw, 0.32rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.mdc-trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 15%;
  color: #17202a;
  background: #fff;
}

.mdc-trust span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
  padding: 0 7%;
  border-right: 1px solid #d8dde1;
  font-size: clamp(0.2rem, 0.34vw, 0.31rem);
  text-align: center;
}

.mdc-trust span:last-child {
  border-right: 0;
}

.mdc-trust b {
  color: #0d2740;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 1.45em;
  line-height: 1;
}

.build-status {
  position: absolute;
  z-index: 5;
  right: 4%;
  bottom: 4%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 22, 47, 0.88);
  font-size: clamp(0.32rem, 0.5vw, 0.46rem);
  opacity: min(
    clamp(0, calc(var(--build) * 6 - 0.9), 1),
    clamp(0, calc((1 - var(--build)) * 8), 1)
  );
}

.status-dots {
  display: flex;
  gap: 0.16rem;
}

.status-dots i {
  width: 0.22rem;
  height: 0.22rem;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 900ms infinite alternate;
}

.status-dots i:nth-child(2) {
  animation-delay: 180ms;
}

.status-dots i:nth-child(3) {
  animation-delay: 360ms;
}

.done-badge {
  position: absolute;
  z-index: 6;
  top: 50%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #fff;
  background: rgba(7, 22, 47, 0.92);
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.25);
  font-size: clamp(0.42rem, 0.65vw, 0.6rem);
  opacity: clamp(0, calc(var(--build) * 12 - 10.5), 1);
  transform: translate(-50%, -50%) scale(clamp(0.7, var(--build), 1));
}

.done-badge span {
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  color: var(--navy);
  background: var(--lime);
}

.build-progress {
  position: absolute;
  right: 3rem;
  bottom: 2.1rem;
  left: 3rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.progress-label {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.progress-track {
  flex: 1;
  height: 1px;
  background: rgba(213, 240, 244, 0.24);
}

.progress-track i {
  display: block;
  width: calc(var(--build) * 100%);
  height: 2px;
  margin-top: -0.5px;
  background: var(--blue);
}

.scroll-cue {
  position: absolute;
  bottom: 4.2rem;
  left: 50%;
  display: grid;
  place-items: center;
  gap: 0.15rem;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.82rem;
  opacity: clamp(0, calc(1 - var(--build) * 4), 1);
  transform: translateX(-50%);
}

.scroll-cue i {
  font-family: "DM Sans", sans-serif;
  font-style: normal;
  animation: bob 850ms ease-in-out infinite alternate;
}

.corner-note {
  position: absolute;
  right: 2.8rem;
  top: 28%;
  display: grid;
  place-items: center;
  width: 6.8rem;
  height: 6.8rem;
  border: 1px solid rgba(213, 240, 244, 0.48);
  color: var(--lime);
  border-radius: 50%;
  font-size: 0.61rem;
  letter-spacing: 0.09em;
  text-align: center;
  transform: rotate(8deg) translateX(calc(var(--build) * 1rem));
}

.corner-note strong {
  font-size: 1.4rem;
  line-height: 0.5;
}

.closing {
  position: relative;
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: clamp(8rem, 10vw, 10rem) max(1.5rem, calc((100% - 78rem) / 2)) 6rem;
  overflow: hidden;
  color: var(--navy);
  background:
    linear-gradient(120deg, rgba(255, 122, 36, 0.08), transparent 32%),
    var(--cream);
}

.closing::before {
  position: absolute;
  right: -7rem;
  bottom: -10rem;
  width: min(47rem, 62vw);
  height: min(35rem, 48vw);
  border: 1px solid rgba(38, 116, 217, 0.13);
  background:
    linear-gradient(135deg, transparent 0 41%, rgba(38, 116, 217, 0.08) 41% 41.4%, transparent 41.4%),
    linear-gradient(45deg, transparent 0 53%, rgba(255, 122, 36, 0.09) 53% 53.5%, transparent 53.5%);
  content: "";
  transform: rotate(-8deg);
}

.closing .eyebrow {
  color: var(--red);
}

.closing-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(25rem, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
  width: 100%;
}

.closing-intro {
  display: flex;
  align-self: stretch;
  flex-direction: column;
  padding-bottom: 1rem;
}

.closing h2 {
  max-width: 8.2ch;
  margin: 0.85rem 0 1.7rem;
  font-size: clamp(4.2rem, 7vw, 7.4rem);
  line-height: 0.86;
  color: var(--navy);
}

.closing-lede {
  max-width: 38rem;
  margin: 0 0 2rem;
  color: rgba(7, 22, 47, 0.66);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.58;
}

.closing-primary {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 1.35rem;
  min-height: 3.8rem;
  padding: 0 0.65rem 0 1.35rem;
  border: 0;
  border-radius: 999px;
  color: white;
  background: var(--blue);
  box-shadow: 0 1rem 2.2rem rgba(7, 22, 47, 0.18);
  font-weight: 600;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.closing-primary span {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  color: var(--navy);
  background: var(--lime);
  transition: transform 180ms ease, background 180ms ease;
}

.closing-primary:hover,
.closing-primary:focus-visible {
  color: var(--navy);
  background: var(--lime);
  transform: translateY(-2px);
}

.closing-primary:hover span,
.closing-primary:focus-visible span {
  background: white;
  transform: rotate(45deg);
}

.local-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 31rem;
  margin-top: auto;
  padding-top: 2.5rem;
}

.founder-placeholders {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  padding-left: 0.2rem;
}

.founder-avatar {
  display: grid;
  place-items: center;
  width: 3.6rem;
  height: 3.6rem;
  border: 3px solid var(--cream);
  border-radius: 50%;
  color: white;
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(7, 22, 47, 0.14);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
}

.founder-photo {
  object-fit: cover;
  object-position: center;
}

.founder-kamden {
  margin-left: -0.8rem;
  color: var(--navy);
  background: var(--lime);
}

.local-proof p {
  margin: 0;
  color: rgba(7, 22, 47, 0.57);
  font-size: 0.92rem;
  line-height: 1.45;
}

.local-proof strong {
  color: var(--navy);
}

.closing-panel {
  position: relative;
  min-height: 35.7rem;
  padding: clamp(2rem, 3.5vw, 3.2rem);
  color: var(--cream);
  background: var(--navy);
  box-shadow: 1.15rem 1.15rem 0 rgba(38, 116, 217, 0.13), -0.55rem -0.55rem 0 rgba(255, 122, 36, 0.12);
}

.closing-panel::before {
  position: absolute;
  top: 0;
  right: 0;
  width: 5rem;
  height: 5rem;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
  content: "";
  pointer-events: none;
}

.panel-view[hidden] {
  display: none;
}

.panel-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.panel-kicker {
  margin: 0;
  color: var(--lime);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.panel-heading > span {
  color: rgba(248, 244, 233, 0.5);
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 0.9rem;
  font-style: italic;
}

.process-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 2.35rem 1fr;
  gap: 1rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.step-number {
  padding-top: 0.16rem;
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.process-list p {
  display: grid;
  gap: 0.3rem;
  margin: 0;
}

.process-list strong {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  font-weight: 400;
}

.process-list small {
  max-width: 39ch;
  color: rgba(248, 244, 233, 0.6);
  font-size: 0.76rem;
  line-height: 1.45;
}

.site-types {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.site-types article {
  display: grid;
  gap: 0.48rem;
  min-height: 6.25rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
}

.site-types span {
  color: var(--lime);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-types strong {
  align-self: end;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.02rem;
  font-weight: 400;
  line-height: 1.15;
}

.closing-note {
  margin: 1rem 0 0;
  color: rgba(248, 244, 233, 0.42);
  font-size: 0.68rem;
  line-height: 1.45;
}

.form-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.form-heading h3,
.success-view h3 {
  max-width: 12ch;
  margin: 0.55rem 0 0;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(1.7rem, 2.7vw, 2.5rem);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.panel-back {
  position: relative;
  z-index: 1;
  padding: 0.3rem 0;
  border: 0;
  color: rgba(248, 244, 233, 0.6);
  background: transparent;
  font-size: 0.78rem;
}

.panel-back:hover,
.panel-back:focus-visible {
  color: var(--lime);
}

.preview-form {
  display: grid;
  gap: 0.9rem;
  padding-top: 1.2rem;
}

.form-honey {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.preview-form label {
  display: grid;
  gap: 0.4rem;
}

.preview-form label > span {
  color: rgba(248, 244, 233, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
}

.preview-form em {
  margin-left: 0.3rem;
  color: rgba(248, 244, 233, 0.38);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 400;
}

.preview-form input,
.preview-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  outline: 0;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  font-size: 1rem;
  transition: border-color 160ms ease, background 160ms ease;
}

.preview-form input {
  height: 2.75rem;
  padding: 0 0.75rem;
}

.preview-form textarea {
  min-height: 5rem;
  padding: 0.65rem 0.75rem;
  resize: vertical;
}

.preview-form input:focus,
.preview-form textarea:focus {
  border-color: var(--lime);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 2px rgba(57, 213, 221, 0.12);
}

.preview-form input::placeholder {
  color: rgba(248, 244, 233, 0.32);
}

.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.4rem;
  margin-top: 0.2rem;
  padding: 0.45rem 0.55rem 0.45rem 1rem;
  border: 0;
  color: var(--navy);
  background: var(--lime);
  font-weight: 700;
  transition: background 180ms ease, transform 180ms ease;
}

.form-submit span {
  display: grid;
  place-items: center;
  width: 2.45rem;
  height: 2.45rem;
  color: white;
  background: var(--blue);
}

.form-submit:hover,
.form-submit:focus-visible {
  background: white;
  transform: translateY(-2px);
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.form-status {
  min-height: 1.25rem;
  margin: 0;
  color: var(--cream);
  font-size: 0.82rem;
  line-height: 1.4;
}

.success-view {
  padding-top: 3.25rem;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  margin-bottom: 2rem;
  border-radius: 50%;
  color: var(--navy);
  background: var(--lime);
  font-size: 1.35rem;
  font-weight: 700;
}

.success-view h3 {
  max-width: 14ch;
  margin-top: 0.8rem;
  font-size: clamp(2.4rem, 4vw, 3.7rem);
}

.success-view > p:not(.panel-kicker) {
  max-width: 36ch;
  margin: 1.2rem 0 2rem;
  color: rgba(248, 244, 233, 0.62);
  line-height: 1.55;
}

.success-back {
  font-size: 0.86rem;
}

.closing-meta {
  position: absolute;
  right: max(1.5rem, calc((100% - 78rem) / 2));
  bottom: 1.65rem;
  left: max(1.5rem, calc((100% - 78rem) / 2));
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(7, 22, 47, 0.16);
  color: rgba(7, 22, 47, 0.48);
  font-size: 0.78rem;
}

@keyframes bob {
  to { transform: translateY(0.35rem); }
}

@keyframes pulse {
  to { opacity: 0.25; }
}

@media (max-width: 800px) {
  .site-header {
    grid-template-columns: 1fr auto;
    top: 0.75rem;
    width: calc(100% - 1.5rem);
    min-height: 3.4rem;
    padding-left: 0.85rem;
  }

  .desktop-nav {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-content: center;
    gap: 0.38rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 0.2rem;
    background: transparent;
  }

  .menu-button span {
    display: block;
    width: 1rem;
    height: 1px;
    background: var(--cream);
    transition: transform 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:first-child {
    transform: translateY(0.2rem) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:last-child {
    transform: translateY(-0.2rem) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    z-index: 25;
    top: 4.65rem;
    right: 0.75rem;
    left: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(164, 229, 238, 0.25);
    border-radius: 0.55rem;
    color: var(--cream);
    background: rgba(10, 31, 62, 0.98);
    box-shadow: 0 1.25rem 3rem rgba(0, 0, 0, 0.38);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.5rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-menu a {
    padding: 0.9rem 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
    font-weight: 500;
  }

  .mobile-menu a:last-child {
    border-bottom: 0;
  }

  .build-story {
    height: 240vh;
    min-height: 100rem;
  }

  .sticky-scene {
    min-height: 49rem;
  }

  .hero-offer {
    top: 5.35rem;
    left: 50%;
    width: calc(100% - 2rem);
    text-align: center;
    transform: translateX(-50%);
  }

  .hero-offer .eyebrow {
    margin-bottom: 0.5rem;
  }

  .hero-offer h1 {
    max-width: 11ch;
    margin: 0 auto;
    font-size: clamp(2.4rem, 11.5vw, 3.35rem);
  }

  .hero-intro {
    max-width: 35ch;
    margin: 0.85rem auto 1rem;
    font-size: 0.94rem;
    line-height: 1.4;
  }

  .offer-cta {
    min-height: 3.1rem;
    font-size: 0.88rem;
  }

  .service-range {
    margin-top: 0.8rem;
    font-size: 0.78rem;
  }

  .featured-build {
    margin-top: 0.28rem;
    font-size: 0.68rem;
  }

  .offer-note {
    max-width: 44ch;
    margin: 0.35rem auto 0;
    font-size: 0.66rem;
  }

  .computer-wrap {
    top: 26rem;
    left: 50%;
    width: min(36rem, 114vw);
  }

  .brand {
    width: min(12.5rem, 58vw);
  }

  .corner-note {
    display: none;
  }

  .build-progress {
    right: 1rem;
    bottom: 1.25rem;
    left: 1rem;
  }

  .scroll-cue {
    bottom: 3.4rem;
  }

  .closing {
    display: block;
    padding: 7.25rem 1.25rem 7rem;
  }

  .closing::before {
    right: -10rem;
    bottom: -4rem;
    width: 30rem;
    height: 22rem;
  }

  .closing-shell {
    grid-template-columns: 1fr;
    gap: 3.2rem;
  }

  .closing h2 {
    max-width: 8.5ch;
    margin-top: 0.8rem;
    font-size: clamp(3.35rem, 15.5vw, 4.75rem);
    line-height: 0.88;
  }

  .closing-lede {
    font-size: 1rem;
    line-height: 1.55;
  }

  .closing-primary {
    align-self: stretch;
    width: 100%;
    justify-content: space-between;
    font-size: 0.92rem;
  }

  .local-proof {
    margin-top: 1.75rem;
    padding-top: 0;
  }

  .closing-panel {
    min-height: 0;
    padding: 1.6rem 1.35rem;
    box-shadow: 0.65rem 0.65rem 0 rgba(38, 116, 217, 0.13), -0.35rem -0.35rem 0 rgba(255, 122, 36, 0.12);
  }

  .panel-heading > span {
    display: none;
  }

  .process-list li {
    grid-template-columns: 1.9rem 1fr;
    gap: 0.7rem;
  }

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

  .site-types article {
    min-height: 5.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-heading h3 {
    max-width: 10ch;
    font-size: 2rem;
  }

  .success-view {
    min-height: 28rem;
    padding-top: 2rem;
  }

  .closing-meta {
    right: 1.25rem;
    bottom: 1.35rem;
    left: 1.25rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-height: 720px) and (min-width: 1101px) {
  .hero-offer {
    top: 54%;
  }

  .hero-offer .eyebrow {
    margin-bottom: 0.35rem;
  }

  .computer-wrap {
    top: 5.8rem;
    width: 48rem;
  }

  .corner-note {
    top: 35%;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
