:root {
  --bg: #fbfcfd;
  --ink: #111820;
  --muted: #53606b;
  --line: #d9e2ea;
  --steel: #edf3f7;
  --steel-strong: #c7d6e1;
  --blue: #1168d8;
  --blue-dark: #0a4fae;
  --teal: #148a7b;
  --amber: #e8a72f;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(28, 43, 55, 0.16);
  --radius: 8px;
  --max: 1180px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 226, 234, 0.72);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  height: 76px;
  left: 0;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2));
  position: fixed;
  right: 0;
  top: 0;
  transition: background 180ms ease, box-shadow 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 36px rgba(32, 45, 57, 0.1);
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  align-items: center;
  color: var(--blue);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 52px;
}

.brand-mark svg {
  display: block;
  fill: none;
  height: 38px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
  width: 52px;
}

.brand-stack {
  display: grid;
  gap: 2px;
}

.brand-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

.brand-kicker {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  gap: 26px;
  justify-content: center;
}

.desktop-nav a {
  color: #2e3740;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.desktop-nav a:hover {
  color: var(--blue);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.header-cta,
.header-partner,
.button {
  align-items: center;
  border-radius: var(--radius);
  display: inline-flex;
  font-size: 14px;
  font-weight: 800;
  gap: 9px;
  justify-content: center;
  letter-spacing: 0;
  line-height: 1;
  min-height: 44px;
  padding: 0 18px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.header-cta,
.button.primary {
  background: var(--blue);
  color: var(--white);
}

.header-cta:hover,
.header-partner:hover,
.button.primary:hover {
  transform: translateY(-1px);
}

.header-cta:hover,
.button.primary:hover {
  background: var(--blue-dark);
}

.header-partner {
  background: var(--white);
  border: 1px solid #9eabb7;
  color: var(--ink);
}

.header-partner:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.64);
  color: var(--white);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: var(--white);
  transform: translateY(-1px);
}

.button svg,
.service-icon svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
  width: 18px;
}

.menu-button {
  align-items: center;
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  color: var(--white);
  display: none;
  height: 42px;
  justify-content: center;
  padding: 0;
  width: 42px;
}

.menu-button span {
  background: currentColor;
  display: block;
  height: 2px;
  position: absolute;
  transition: transform 160ms ease;
  width: 18px;
}

.menu-button span:first-child {
  transform: translateY(-4px);
}

.menu-button span:last-child {
  transform: translateY(4px);
}

body.nav-open .menu-button span:first-child {
  transform: rotate(45deg);
}

body.nav-open .menu-button span:last-child {
  transform: rotate(-45deg);
}

.mobile-nav {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
  left: 0;
  padding: 88px 24px 28px;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 15;
}

.mobile-nav a {
  border-bottom: 1px solid var(--line);
  display: block;
  font-size: 22px;
  font-weight: 800;
  padding: 18px 0;
}

.hero {
  align-items: center;
  display: grid;
  isolation: isolate;
  min-height: 76svh;
  overflow: hidden;
  padding: 112px max(24px, calc((100vw - var(--max)) / 2)) 54px;
  position: relative;
}

.hero-media {
  background-image: url("./assets/cozy-hero-install-v2.png");
  background-position: 60% center;
  background-size: cover;
  inset: 0;
  position: absolute;
  z-index: -3;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 13, 22, 0.94) 0%, rgba(8, 18, 30, 0.84) 31%, rgba(9, 22, 34, 0.48) 55%, rgba(9, 22, 34, 0.06) 82%),
    linear-gradient(180deg, rgba(5, 12, 20, 0.46) 0%, rgba(5, 12, 20, 0.04) 40%, rgba(5, 12, 20, 0.2) 100%);
  inset: 0;
  position: absolute;
  z-index: -2;
}

.hero-content {
  max-width: 710px;
  min-width: 0;
  width: 100%;
}

.hero-eyebrow {
  align-items: center;
  color: #6fb0ff;
  display: flex;
  font-size: 13px;
  font-weight: 950;
  gap: 16px;
  letter-spacing: 0.08em;
  line-height: 1.2;
  margin: 0 0 26px;
  text-transform: uppercase;
}

.hero-eyebrow::before {
  background: currentColor;
  content: "";
  height: 3px;
  width: 52px;
}

.hero h1 {
  color: var(--white);
  font-size: 108px;
  letter-spacing: 0;
  line-height: 0.94;
  margin: 0;
  max-width: none;
}

.hero-copy {
  color: var(--white);
  font-size: 24px;
  font-weight: 650;
  line-height: 1.22;
  margin: 24px 0 0;
  max-width: 700px;
}

.hero-subcopy {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  margin: 18px 0 0;
  max-width: 610px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  min-width: 0;
}

.hero-facts {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0 0;
  max-width: 760px;
  padding-top: 22px;
}

.hero-facts div {
  min-width: 0;
}

.hero-facts dt {
  color: #80b9ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.hero-facts dd {
  color: var(--white);
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.signal-strip {
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  gap: 0;
  justify-content: flex-start;
  overflow-x: auto;
  padding: 15px max(24px, calc((100vw - var(--max)) / 2));
  max-width: 100vw;
}

.signal-strip span {
  border-right: 1px solid var(--line);
  flex: 0 0 auto;
  font-size: 13px;
  font-weight: 850;
  padding: 0 22px;
  white-space: nowrap;
}

.signal-strip span:first-child {
  padding-left: 0;
}

.signal-strip span:last-child {
  border-right: 0;
  padding-right: 0;
}

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

.section-heading {
  align-items: end;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  margin-bottom: 42px;
}

.section-heading.compact {
  align-items: start;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
}

.section-heading h2,
.partner-band h2,
.contact h2 {
  font-size: 64px;
  letter-spacing: 0;
  line-height: 0.95;
  margin: 0;
}

.section-heading p,
.partner-band p,
.contact-copy p {
  color: var(--muted);
  font-size: 18px;
  font-weight: 550;
  line-height: 1.55;
  margin: 0;
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 286px;
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  border-color: var(--steel-strong);
  box-shadow: 0 18px 40px rgba(26, 38, 49, 0.08);
  transform: translateY(-4px);
}

.service-icon {
  align-items: center;
  background: var(--steel);
  border: 1px solid var(--line);
  color: var(--blue);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 36px;
  width: 48px;
}

.service-card h3 {
  font-size: 22px;
  line-height: 1.05;
  margin: 0 0 14px;
}

.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.52;
  margin: 0;
}

.area-panel {
  align-items: end;
  background: var(--white);
  border-block: 1px solid var(--line);
  display: grid;
  gap: 44px;
  grid-template-columns: minmax(0, 0.76fr) minmax(420px, 0.62fr);
  padding: 74px max(24px, calc((100vw - var(--max)) / 2));
}

.area-copy h2 {
  font-size: 48px;
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
  max-width: 780px;
}

.area-copy p {
  color: var(--muted);
  font-size: 17px;
  font-weight: 560;
  line-height: 1.55;
  margin: 20px 0 0;
  max-width: 720px;
}

.area-list {
  display: grid;
  gap: 10px;
}

.area-list div {
  align-items: center;
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 12px;
  grid-template-columns: 120px 1fr;
  min-height: 68px;
  padding: 14px 16px;
}

.area-list span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.area-list strong {
  color: var(--ink);
  font-size: 16px;
  line-height: 1.35;
}

.proof {
  background: #101820;
  border-block: 1px solid #101820;
  color: var(--white);
}

.proof-gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.proof .section-heading h2 {
  color: var(--white);
}

.proof .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.proof-gallery figure {
  background: #15212d;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
}

.proof-gallery img {
  aspect-ratio: 1.28;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.proof-gallery figcaption {
  color: var(--white);
  font-size: 14px;
  font-weight: 850;
  padding: 16px 18px 18px;
}

.fit {
  background: var(--bg);
}

.fit-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.fit-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}

.fit-grid article:first-child {
  border-top: 6px solid var(--teal);
}

.fit-grid article:last-child {
  border-top: 6px solid var(--amber);
}

.fit-grid h3 {
  font-size: 30px;
  line-height: 1;
  margin: 0 0 22px;
}

.fit-grid ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fit-grid li {
  color: var(--muted);
  font-size: 16px;
  font-weight: 590;
  line-height: 1.48;
  padding-left: 24px;
  position: relative;
}

.fit-grid li::before {
  background: var(--blue);
  border-radius: 999px;
  content: "";
  height: 7px;
  left: 2px;
  position: absolute;
  top: 0.62em;
  width: 7px;
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.timeline li {
  align-items: start;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: 80px minmax(190px, 0.38fr) minmax(0, 1fr);
  padding: 28px 0;
}

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

.timeline span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0;
}

.timeline h3 {
  font-size: 24px;
  line-height: 1.05;
  margin: 0;
}

.timeline p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

.partner-band {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(22, 138, 123, 0.12), rgba(23, 105, 255, 0.08)),
    var(--ink);
  color: var(--white);
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.58fr);
  padding: 90px max(24px, calc((100vw - var(--max)) / 2));
}

.partner-band p {
  color: rgba(255, 255, 255, 0.74);
  margin-top: 20px;
  max-width: 720px;
}

.partner-band ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.partner-band li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 800;
  padding: 18px;
}

.contact {
  align-items: start;
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.55fr) minmax(420px, 0.45fr);
}

.contact-copy {
  position: sticky;
  top: 112px;
}

.contact-copy p {
  margin-top: 24px;
}

.contact-rules {
  display: grid;
  gap: 10px;
  margin-top: 34px;
}

.contact-rules span {
  border-left: 4px solid var(--blue);
  color: var(--ink);
  font-size: 15px;
  font-weight: 850;
  padding: 8px 0 8px 14px;
}

.estimate-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: 24px;
}

.estimate-form label {
  color: #2c3640;
  display: grid;
  font-size: 13px;
  font-weight: 850;
  gap: 8px;
}

.estimate-form .wide,
.estimate-form .submit,
.form-note,
.form-status {
  grid-column: 1 / -1;
}

.form-note {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
  line-height: 1.45;
  margin: 0;
}

input,
select,
textarea {
  background: #f8fafb;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  min-height: 48px;
  outline: none;
  padding: 12px 13px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  width: 100%;
}

textarea {
  min-height: 136px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(23, 105, 255, 0.14);
}

.submit {
  border: 0;
  cursor: pointer;
  min-height: 52px;
}

.form-status {
  color: var(--teal);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.4;
  margin: 0;
  min-height: 20px;
}

.lead-preview {
  background: #f4f8fb;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-column: 1 / -1;
  padding: 16px;
}

.lead-preview[hidden] {
  display: none;
}

.lead-preview strong {
  font-size: 14px;
}

.lead-preview dl {
  display: grid;
  gap: 8px 14px;
  grid-template-columns: max-content 1fr;
  margin: 0;
}

.lead-preview dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.lead-preview dd {
  font-size: 13px;
  font-weight: 750;
  margin: 0;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 26px max(24px, calc((100vw - var(--max)) / 2));
}

.site-footer div {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer span,
.site-footer a {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 700;
}

/* Reference-style landing page pass */
:root {
  --max: 1520px;
}

.site-header {
  height: 70px;
}

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

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

.brand-text {
  font-size: 21px;
  text-transform: uppercase;
}

.brand-kicker {
  font-size: 9px;
}

.desktop-nav a {
  font-size: 12px;
  text-transform: uppercase;
}

.header-cta,
.header-partner {
  border-radius: 0;
  font-size: 12px;
  min-height: 44px;
  padding: 0 22px;
  text-transform: uppercase;
}

.hero {
  min-height: 510px;
  padding-bottom: 42px;
  padding-top: 126px;
}

.hero-media {
  background-position: center center;
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(6, 13, 22, 0.96) 0%, rgba(7, 15, 25, 0.9) 28%, rgba(8, 18, 29, 0.45) 54%, rgba(8, 18, 29, 0.06) 82%),
    linear-gradient(180deg, rgba(5, 12, 20, 0.16) 0%, rgba(5, 12, 20, 0) 55%);
}

.hero-content {
  max-width: 560px;
}

.hero-eyebrow {
  font-size: 12px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 88px;
  line-height: 0.95;
}

.hero-copy {
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.25;
  margin-top: 18px;
  max-width: 430px;
  text-transform: uppercase;
}

.hero-subcopy {
  font-size: 14px;
  line-height: 1.45;
  margin-top: 18px;
  max-width: 450px;
}

.hero-actions {
  gap: 12px;
  margin-top: 28px;
}

.hero-actions .button {
  border-radius: 0;
  font-size: 12px;
  min-height: 44px;
  min-width: 170px;
  text-transform: uppercase;
}

.services-strip {
  align-items: stretch;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 2.4fr);
  padding: 34px max(24px, calc((100vw - var(--max)) / 2));
}

.section-kicker {
  color: var(--blue);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.services-intro h2 {
  font-size: 28px;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: 300px;
}

.services-intro p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 16px 0 0;
  max-width: 310px;
}

.services-strip .service-grid {
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-strip .service-card {
  background: transparent;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  min-height: 0;
  padding: 8px 26px 8px 30px;
  transition: none;
}

.services-strip .service-card:hover {
  box-shadow: none;
  transform: none;
}

.services-strip .service-icon {
  background: transparent;
  border: 0;
  height: 44px;
  margin-bottom: 18px;
  width: 44px;
}

.services-strip .service-icon svg {
  height: 44px;
  stroke-width: 1.5;
  width: 44px;
}

.services-strip .service-card h3 {
  font-size: 15px;
  margin-bottom: 10px;
}

.services-strip .service-card p {
  font-size: 12px;
  line-height: 1.45;
}

.proof {
  align-items: center;
  display: grid;
  gap: 32px;
  grid-template-columns: minmax(210px, 0.52fr) minmax(0, 3.1fr) minmax(170px, 0.42fr);
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
}

.proof-copy h2 {
  color: var(--white);
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
  max-width: 260px;
}

.proof-copy p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 16px 0 0;
  max-width: 230px;
}

.proof-gallery {
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.proof-gallery figure {
  border-radius: 0;
}

.proof-gallery img {
  aspect-ratio: 1.34;
  background: #17222f;
}

.proof-gallery figcaption {
  display: none;
}

.proof-more {
  align-items: center;
  border: 1px solid rgba(60, 132, 224, 0.75);
  color: #7fbaff;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  justify-content: center;
  min-height: 58px;
  padding: 0 18px;
  text-transform: uppercase;
}

.workflow-contact {
  background: var(--white);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.58fr) minmax(330px, 0.82fr);
  padding: 42px max(24px, calc((100vw - var(--max)) / 2));
}

.process-panel h2,
.partner-panel h2,
.contact-panel h2 {
  font-size: 30px;
  letter-spacing: 0;
  line-height: 1.02;
  margin: 0;
}

.process-panel > p:not(.section-kicker),
.partner-panel p {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  margin: 14px 0 0;
}

.workflow-contact .timeline {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

.workflow-contact .timeline li {
  border: 0;
  display: block;
  padding: 0;
  text-align: center;
}

.workflow-contact .timeline span {
  align-items: center;
  border: 1px solid var(--steel-strong);
  border-radius: 999px;
  display: inline-flex;
  height: 28px;
  justify-content: center;
  margin-bottom: 10px;
  width: 28px;
}

.workflow-contact .timeline h3 {
  font-size: 14px;
  margin-bottom: 8px;
}

.workflow-contact .timeline p {
  font-size: 11px;
  line-height: 1.4;
}

.partner-panel,
.contact-panel {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}

.panel-button {
  background: var(--white);
  border: 1px solid #9eabb7;
  border-radius: 0;
  color: var(--ink);
  font-size: 12px;
  margin-top: 22px;
  min-height: 40px;
  text-transform: uppercase;
}

.workflow-contact .estimate-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  gap: 9px;
  padding: 18px 0 0;
}

.workflow-contact input,
.workflow-contact select,
.workflow-contact textarea {
  border-radius: 0;
  font-size: 12px;
  min-height: 36px;
  padding: 8px 10px;
}

.workflow-contact textarea {
  min-height: 68px;
}

.workflow-contact .submit {
  border-radius: 0;
  min-height: 40px;
}

@media (max-width: 1120px) {
  .site-header {
    gap: 12px;
    padding-inline: 18px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark,
  .brand-mark svg {
    width: 40px;
  }

  .brand-text {
    font-size: 16px;
  }

  .brand-kicker {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .desktop-nav {
    gap: 13px;
  }

  .desktop-nav a,
  .header-cta,
  .header-partner {
    font-size: 10px;
  }

  .header-cta,
  .header-partner {
    min-height: 38px;
    padding-inline: 12px;
  }

  .hero {
    min-height: 500px;
    padding-inline: 18px;
  }

  .hero h1 {
    font-size: 74px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .services-strip {
    grid-template-columns: 1fr;
  }

  .proof {
    grid-template-columns: 0.7fr 2fr;
  }

  .proof-more {
    display: none;
  }

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

  .partner-panel,
  .contact-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 26px;
  }
}

@media (max-width: 900px) and (min-width: 761px) {
  .header-partner {
    display: none;
  }

  .desktop-nav {
    gap: 10px;
    justify-content: flex-end;
  }

  .brand-text {
    font-size: 15px;
  }

  .brand-kicker {
    font-size: 7px;
  }

  .hero h1 {
    font-size: 68px;
  }

  .hero-content {
    max-width: 470px;
  }
}

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

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

  .menu-button {
    display: inline-flex;
    justify-self: end;
  }

  body.nav-open .mobile-nav {
    display: block;
  }

  .hero {
    min-height: 80svh;
    padding-bottom: 46px;
  }

  .hero-scrim {
    background:
      linear-gradient(180deg, rgba(7, 15, 25, 0.94) 0%, rgba(7, 15, 25, 0.78) 44%, rgba(7, 15, 25, 0.5) 100%),
      linear-gradient(90deg, rgba(7, 15, 25, 0.92), rgba(7, 15, 25, 0.25));
  }

  .hero-media {
    background-position: 62% center;
  }

  .section-heading,
  .section-heading.compact,
  .area-panel,
  .partner-band,
  .contact {
    grid-template-columns: 1fr;
  }

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

  .proof-gallery figure:first-child {
    grid-column: 1 / -1;
  }

  .contact-copy {
    position: static;
  }

  .hero h1 {
    font-size: 60px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .section-heading h2,
  .partner-band h2,
  .contact h2 {
    font-size: 52px;
  }

  .area-copy h2 {
    font-size: 42px;
  }
}

@media (max-width: 680px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
  }

  .site-header {
    height: 68px;
    padding-inline: 18px;
  }

  .brand {
    max-width: calc(100vw - 92px);
  }

  .brand-stack,
  .hero-content,
  .hero-copy,
  .hero-subcopy {
    min-width: 0;
    width: 100%;
  }

  .brand-mark {
    height: 38px;
    width: 44px;
  }

  .brand-mark svg {
    height: 32px;
    width: 44px;
  }

  .brand-text {
    font-size: 17px;
  }

  .brand-kicker {
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .hero {
    max-width: 100vw;
    min-height: 84svh;
    padding: 96px 18px 40px;
  }

  .hero-eyebrow {
    font-size: 10px;
    gap: 10px;
    letter-spacing: 0.05em;
    line-height: 1.35;
    margin-bottom: 18px;
    max-width: 100%;
    white-space: normal;
  }

  .hero-eyebrow::before {
    flex: 0 0 44px;
    width: 44px;
  }

  .hero h1 {
    font-size: clamp(44px, 15vw, 56px);
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-copy {
    font-size: 17px;
    letter-spacing: 0.025em;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .hero-subcopy {
    font-size: 15px;
    max-width: 100%;
    overflow-wrap: break-word;
    white-space: normal;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 100%;
  }

  .hero-actions .button {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
    white-space: normal;
  }

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

  .section,
  .services-strip,
  .proof,
  .workflow-contact,
  .area-panel,
  .partner-band,
  .contact,
  .signal-strip,
  .site-footer {
    padding-inline: 18px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading h2,
  .partner-band h2,
  .contact h2 {
    font-size: 38px;
  }

  .area-copy h2 {
    font-size: 34px;
  }

  .service-grid,
  .services-strip .service-grid,
  .proof-gallery,
  .workflow-contact .timeline,
  .fit-grid,
  .estimate-form {
    grid-template-columns: 1fr;
  }

  .services-strip .service-card {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 22px 0;
  }

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

  .proof-copy h2,
  .process-panel h2,
  .partner-panel h2,
  .contact-panel h2 {
    font-size: 34px;
  }

  .workflow-contact .timeline li {
    text-align: left;
  }

  .area-list div {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 230px;
  }

  .timeline li {
    gap: 10px;
    grid-template-columns: 1fr;
    padding: 24px 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
