/* Cool My Attic. One stylesheet for every page. */

:root {
  --ink: #0c2132;
  --ink-2: #183a52;
  --ink-3: #2c536d;
  --text: #1c2f3d;
  --muted: #566a78;
  --line: #dbe4e8;
  --line-2: #c5d2d8;
  --paper: #f3f7f8;
  --card: #ffffff;
  --cool: #0b8a9c;
  --cool-2: #07707f;
  --cool-50: #e4f4f6;
  --cool-100: #c9eaee;
  --sun: #ffc533;
  --sun-2: #f2ad00;
  --sun-50: #fff6dc;
  --heat: #ff7a45;
  --ok: #23874f;
  --ok-50: #e3f4ea;
  --warn: #b77b00;
  --warn-50: #fff3d6;
  --bad: #c43c3c;
  --bad-50: #fbe7e7;
  --na: #6b7a85;
  --na-50: #edf1f3;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(12, 33, 50, 0.06), 0 8px 24px rgba(12, 33, 50, 0.06);
  --shadow-lg: 0 2px 6px rgba(12, 33, 50, 0.08), 0 24px 48px rgba(12, 33, 50, 0.12);
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--cool-2);
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ink);
}
:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
  border-radius: 6px;
}
h1,
h2,
h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  font-weight: 750;
}
h2 {
  font-size: clamp(30px, 4.2vw, 46px);
  font-weight: 720;
}
h3 {
  font-size: 22px;
  font-weight: 680;
  letter-spacing: -0.01em;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow {
  max-width: 760px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--sun);
  color: var(--ink);
  padding: 8px 14px;
  border-radius: 8px;
  z-index: 100;
  font-weight: 700;
}
.skip:focus {
  left: 8px;
}
.eyebrow {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cool-2);
  margin: 0 0 14px;
}
.lead {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--muted);
  max-width: 640px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 14px;
}
.center {
  text-align: center;
}
.center .lead {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------ buttons, all caps on the class */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 15px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--sun);
  color: var(--ink);
  box-shadow: 0 6px 18px rgba(242, 173, 0, 0.35);
}
.btn-primary:hover {
  background: #ffd257;
  color: var(--ink);
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--ink-2);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--ink);
  color: var(--ink);
}
.on-dark .btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}
.on-dark .btn-ghost:hover {
  border-color: #fff;
  color: #fff;
}
.btn-sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--cool-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ------------------------------------------------ banner and header */
.banner {
  background: var(--sun-50);
  color: var(--ink);
  border-bottom: 1px solid #f3dd9a;
  font-size: 14px;
  padding: 9px var(--gutter);
  text-align: center;
}
.banner strong {
  font-weight: 700;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand svg {
  width: 38px;
  height: 38px;
  flex: none;
}
.brand-name {
  font-family: var(--display);
  font-weight: 760;
  font-size: 22px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.nav {
  display: none;
  gap: 4px;
  align-items: center;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 8px;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--cool-50);
}
.header-cta {
  display: none;
}
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
}
.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  position: relative;
  content: "";
}
.burger span::before {
  position: absolute;
  top: -6px;
}
.burger span::after {
  position: absolute;
  top: 6px;
}
.drawer {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 10px var(--gutter) 22px;
}
.drawer.open {
  display: block;
}
.drawer a {
  display: block;
  padding: 13px 4px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.drawer a.btn {
  display: flex;
  margin-top: 18px;
  width: 100%;
  padding: 0 26px;
  border-bottom: 0;
  color: var(--ink);
}
@media (min-width: 980px) {
  .nav,
  .header-cta {
    display: inline-flex;
  }
  .burger {
    display: none;
  }
  .drawer,
  .drawer.open {
    display: none;
  }
}

/* ------------------------------------------------ sections */
.section {
  padding: clamp(64px, 9vw, 112px) 0;
}
.section-tight {
  padding: clamp(44px, 6vw, 72px) 0;
}
.section-white {
  background: #fff;
}
.section-ink {
  background: var(--ink);
  color: #d4e1e8;
}
.section-ink h1,
.section-ink h2,
.section-ink h3 {
  color: #fff;
}
.section-ink .eyebrow {
  color: var(--sun);
}
.section-ink .lead,
.section-ink .muted {
  color: #a9bfcb;
}
.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 52px);
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------ hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 197, 51, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgba(11, 138, 156, 0.35), transparent 60%),
    var(--ink);
  color: #d4e1e8;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 104px);
}
.hero h1 {
  color: #fff;
}
.hero h1 .hl {
  color: var(--sun);
}
.hero .lead {
  color: #b7cad5;
}
.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
  }
}
.hero-art {
  max-width: 620px;
  width: 100%;
  margin: 0 auto;
}
.zip-form {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  max-width: 520px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 8px;
  border-radius: 999px;
}
.hero .zip-form input {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 600 18px/1 var(--body);
  padding: 0 20px;
  letter-spacing: 0.04em;
}
.hero .zip-form input:focus {
  box-shadow: none;
}
.zip-form input::placeholder {
  color: #7d8f9a;
  font-weight: 500;
  letter-spacing: 0;
}
.zip-form input:focus {
  outline: none;
}
.zip-form:focus-within {
  border-color: var(--sun);
}
.zip-note {
  margin-top: 12px;
  font-size: 14px;
  color: #9db4c1;
}
.zip-note[data-tone="bad"] {
  color: #ffb4a0;
}
.hero-points {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}
.hero-points li {
  display: flex;
  gap: 10px;
  align-items: baseline;
  color: #d4e1e8;
}
.hero-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sun);
  flex: none;
  transform: translateY(-2px);
}

/* airflow animation in the house drawing */
.flow {
  stroke-dasharray: 6 10;
  animation: flow 1.6s linear infinite;
}
.flow-slow {
  animation-duration: 2.4s;
}
@keyframes flow {
  to {
    stroke-dashoffset: -32;
  }
}
.spin {
  transform-box: fill-box;
  transform-origin: center;
  animation: spin 2.2s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------------------------------------ cards and grids */
.grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1020px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: var(--shadow);
}
.card-title {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 12px;
}
.card p:last-child,
.card ul:last-child {
  margin-bottom: 0;
}
.rows {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.rows li {
  position: relative;
  padding-left: 26px;
}
.rows li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cool);
}
.rows.check li::before {
  width: 14px;
  height: 8px;
  border-radius: 0;
  background: none;
  border-left: 2.5px solid var(--ok);
  border-bottom: 2.5px solid var(--ok);
  transform: rotate(-45deg);
  top: 0.42em;
  left: 1px;
}
.rows.cross li::before {
  background: none;
  width: 12px;
  height: 12px;
  top: 0.45em;
  border-radius: 0;
  background-image:
    linear-gradient(45deg, transparent 44%, var(--bad) 44%, var(--bad) 56%, transparent 56%),
    linear-gradient(-45deg, transparent 44%, var(--bad) 44%, var(--bad) 56%, transparent 56%);
}
.rows strong {
  color: var(--ink);
  display: block;
}
.icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cool-50);
  color: var(--cool-2);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.icon-badge svg {
  width: 26px;
  height: 26px;
}

/* ------------------------------------------------ pricing */
.price-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 28px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.price-card.feature {
  border: 2px solid var(--ink);
  box-shadow: var(--shadow-lg);
}
.price-tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
}
.price-fans {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cool-2);
  margin: 0 0 8px;
}
.price-amount {
  font-family: var(--display);
  font-size: 54px;
  font-weight: 760;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0 0 6px;
}
.price-per {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px;
}
.price-card .rows {
  margin-bottom: 24px;
  font-size: 15px;
}
.price-card .btn {
  margin-top: auto;
  width: 100%;
}
.fine {
  font-size: 14px;
  color: var(--muted);
  max-width: 820px;
}

/* ------------------------------------------------ steps */
.steps {
  counter-reset: step;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
@media (min-width: 760px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.steps li {
  counter-increment: step;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 24px 22px 76px;
  position: relative;
  min-height: 120px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--sun);
  font: 760 18px/38px var(--display);
  text-align: center;
}
.steps h3 {
  font-family: var(--body);
  font-size: 17px;
  font-weight: 700;
  margin: 6px 0 6px;
  letter-spacing: 0;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 15.5px;
}

/* ------------------------------------------------ choice cards (two paths) */
.paths {
  display: grid;
  gap: 20px;
}
@media (min-width: 860px) {
  .paths {
    grid-template-columns: 1fr 1fr;
  }
}
.path {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--line);
  padding: 30px;
  box-shadow: var(--shadow);
}
.path .pill {
  margin-bottom: 14px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--cool-50);
  color: var(--cool-2);
}
.pill-sun {
  background: var(--sun-50);
  color: #7a5600;
}
.pill-ink {
  background: var(--ink);
  color: #fff;
}

/* ------------------------------------------------ report legend */
.legend {
  display: grid;
  gap: 14px;
}
@media (min-width: 760px) {
  .legend {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1080px) {
  .legend {
    grid-template-columns: repeat(4, 1fr);
  }
}
.legend-item {
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--line);
  background: #fff;
}
.legend-item .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
  transform: translateY(1px);
}
.g .dot {
  background: var(--ok);
}
.y .dot {
  background: #e3a800;
}
.r .dot {
  background: var(--bad);
}
.n .dot {
  background: var(--na);
}
.legend-item p {
  margin: 8px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ------------------------------------------------ areas */
.areas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.areas li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  color: var(--ink);
}
.areas li.soon {
  color: var(--muted);
  background: transparent;
  border-style: dashed;
}

/* ------------------------------------------------ faq */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  font-weight: 650;
  font-size: 18px;
  color: var(--ink);
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 26px;
  width: 10px;
  height: 10px;
  border-right: 2.5px solid var(--ink-3);
  border-bottom: 2.5px solid var(--ink-3);
  transform: rotate(45deg);
  transition: transform 0.2s;
}
.faq details[open] summary::after {
  transform: rotate(225deg);
  top: 31px;
}
.faq .answer {
  padding: 0 0 20px;
  color: var(--text);
  max-width: 760px;
}
.faq .answer p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------ cta band */
.cta-band {
  background:
    radial-gradient(700px 300px at 100% 0%, rgba(255, 197, 51, 0.18), transparent 60%),
    var(--ink);
  color: #c7d7e0;
  border-radius: 24px;
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  gap: 24px;
  align-items: center;
}
.cta-band h2 {
  color: #fff;
  margin-bottom: 8px;
}
.cta-band p {
  margin: 0;
}
@media (min-width: 900px) {
  .cta-band {
    grid-template-columns: 1fr auto;
  }
}

/* ------------------------------------------------ footer */
.site-footer {
  background: #08192a;
  color: #9fb4c1;
  padding: 64px 0 32px;
  font-size: 15px;
}
.site-footer a {
  color: #d4e1e8;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 860px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}
.site-footer .brand {
  color: #fff;
  margin-bottom: 14px;
}
.footer-title {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 9px;
}
.footer-base {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: grid;
  gap: 10px;
  font-size: 13.5px;
}

/* ------------------------------------------------ prose pages */
.page-hero {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 6vw, 80px) 0 clamp(36px, 5vw, 56px);
}
.page-hero h1 {
  font-size: clamp(36px, 5vw, 56px);
}
.prose {
  max-width: 760px;
}
.prose h2 {
  font-size: clamp(26px, 3vw, 34px);
  margin-top: 1.6em;
}
.prose h3 {
  margin-top: 1.4em;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: 0.4em;
}
.callout {
  background: var(--cool-50);
  border: 1px solid var(--cool-100);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 24px 0;
}
.callout-sun {
  background: var(--sun-50);
  border-color: #f3dd9a;
}
.callout p:last-child {
  margin: 0;
}
.draft-note {
  font-size: 14px;
  background: var(--sun-50);
  border: 1px solid #f3dd9a;
  border-radius: 10px;
  padding: 12px 16px;
  color: #5c4300;
}

/* ------------------------------------------------ forms */
.field {
  display: grid;
  gap: 7px;
  margin-bottom: 18px;
}
.field > span,
.field legend,
.label {
  font-weight: 650;
  font-size: 15px;
  color: var(--ink);
}
.hint {
  font-size: 14px;
  color: var(--muted);
  font-weight: 400;
}
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input:not([type]),
textarea,
select {
  width: 100%;
  font: 500 17px/1.3 var(--body);
  color: var(--text);
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 14px 14px;
  min-height: 52px;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
textarea {
  min-height: 110px;
  resize: vertical;
}
input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--cool);
  box-shadow: 0 0 0 4px rgba(11, 138, 156, 0.15);
}
.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: var(--bad);
}
.error {
  color: var(--bad);
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.field .error:empty {
  display: none;
}
fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 22px;
  min-width: 0;
}
legend {
  padding: 0;
  margin-bottom: 10px;
}
.options {
  display: grid;
  gap: 10px;
}
@media (min-width: 640px) {
  .options.two {
    grid-template-columns: 1fr 1fr;
  }
  .options.three {
    grid-template-columns: repeat(3, 1fr);
  }
}
.opt {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--line-2);
  border-radius: var(--radius-sm);
  padding: 15px 16px;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s;
  font-weight: 550;
  color: var(--ink);
  line-height: 1.35;
}
.opt:hover {
  border-color: var(--ink-3);
}
.opt input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 22px;
  height: 22px;
  margin: 0;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transform: translateY(-1px);
}
.opt input[type="checkbox"] {
  border-radius: 6px;
}
.opt input:checked {
  border-color: var(--cool);
  background: var(--cool);
  box-shadow: inset 0 0 0 4px #fff;
}
.opt input[type="checkbox"]:checked {
  box-shadow: none;
  background:
    no-repeat center/14px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E"),
    var(--cool);
}
.opt input:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 2px;
}
.opt:has(input:checked) {
  border-color: var(--cool);
  background: var(--cool-50);
}
.opt .sub {
  display: block;
  font-weight: 400;
  font-size: 14.5px;
  color: var(--muted);
  margin-top: 4px;
}
.opt-big {
  padding: 20px;
}
.opt-big strong {
  font-size: 18px;
  display: block;
}
.consent {
  font-weight: 450;
  font-size: 15px;
  color: var(--text);
}

/* ------------------------------------------------ wizard */
.wizard {
  max-width: 820px;
  margin: 0 auto;
}
.wizard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}
.progress {
  height: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 28px;
}
.progress > i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--cool), var(--sun));
  border-radius: 999px;
  transition: width 0.35s ease;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: clamp(22px, 4vw, 40px);
  box-shadow: var(--shadow);
}
.step h1,
.step h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 8px;
}
.step .lead {
  font-size: 17px;
  margin-bottom: 26px;
}
.step-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.step-actions .btn-primary {
  margin-left: auto;
}
/* On a phone the two step buttons cannot share a row: "Choose how we
   install" ran 160px past a 390px screen. The next step goes first, full
   width, and Back sits under it. */
@media (max-width: 520px) {
  .step-actions {
    flex-wrap: wrap;
  }
  .step-actions .btn {
    flex: 1 1 100%;
  }
  .step-actions .btn-primary {
    order: -1;
    margin-left: 0;
  }
}
.rec {
  display: grid;
  gap: 22px;
}
@media (min-width: 760px) {
  .rec {
    grid-template-columns: 1fr 1fr;
  }
}
.rec-hero {
  align-self: start;
  background: var(--ink);
  color: #c7d7e0;
  border-radius: 16px;
  padding: 26px;
}
.rec-hero .big {
  font-family: var(--display);
  font-size: 64px;
  font-weight: 760;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.03em;
}
.rec-hero .big small {
  font-size: 22px;
  color: var(--sun);
  letter-spacing: 0;
  margin-left: 6px;
}
.rec-hero p {
  margin: 10px 0 0;
  font-size: 15px;
}
.flags {
  margin-top: 18px;
}
.flags li {
  font-size: 15px;
}
.days {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  margin-bottom: 8px;
}
.day {
  border: 1.5px solid var(--line-2);
  border-radius: 12px;
  background: #fff;
  padding: 12px;
}
.day h4 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}
.slot {
  display: block;
  width: 100%;
  text-align: left;
  font: 600 13.5px/1.25 var(--body);
  color: var(--ink);
  background: var(--cool-50);
  border: 1.5px solid transparent;
  border-radius: 8px;
  padding: 9px 10px;
  cursor: pointer;
  margin-top: 6px;
}
.slot:hover {
  border-color: var(--cool);
}
.slot[aria-pressed="true"] {
  background: var(--cool);
  color: #fff;
}
.slot:disabled {
  background: var(--na-50);
  color: var(--na);
  cursor: not-allowed;
  text-decoration: line-through;
}
.summary {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
}
.summary table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
.summary td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.summary td:last-child {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--ink);
}
.summary .note {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 2px;
}
.summary tr.total td {
  font-weight: 750;
  font-size: 17px;
  color: var(--ink);
  background: var(--paper);
}
.summary tr.due td {
  background: var(--sun-50);
  font-weight: 750;
  font-size: 18px;
  color: var(--ink);
  border-bottom: 0;
}
.summary tr.after td {
  font-weight: 500;
  color: var(--muted);
  border-bottom: 0;
}
.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 18px;
  font-size: 15.5px;
  margin: 0;
}
.kv dt {
  color: var(--muted);
}
.kv dd {
  margin: 0;
  color: var(--ink);
  font-weight: 550;
}
.refusal {
  background: var(--sun-50);
  border: 1.5px solid #f0cf6b;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 14px;
}
.refusal blockquote {
  margin: 0 0 12px;
  font-size: 15px;
  color: #3d2f00;
}
.alert {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 20px;
  font-weight: 550;
}
.alert-bad {
  background: var(--bad-50);
  color: #7b1f1f;
  border: 1px solid #f2c4c4;
}
.alert-ok {
  background: var(--ok-50);
  color: #145232;
  border: 1px solid #bfe3ce;
}
.alert-info {
  background: var(--cool-50);
  color: var(--ink-2);
  border: 1px solid var(--cool-100);
}
.spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(12, 33, 50, 0.15);
  border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

/* ------------------------------------------------ portal */
.portal-grid {
  display: grid;
  gap: 20px;
}
@media (min-width: 980px) {
  .portal-grid {
    grid-template-columns: 1.5fr 1fr;
    align-items: start;
  }
}
.status-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--na-50);
  color: var(--ink-2);
}
.status-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status-chip.ok {
  background: var(--ok-50);
  color: var(--ok);
}
.status-chip.warn {
  background: var(--warn-50);
  color: var(--warn);
}
.status-chip.bad {
  background: var(--bad-50);
  color: var(--bad);
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 16px 20px;
  font-size: 15px;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--cool);
  border: 2px solid #fff;
}
.timeline time {
  display: block;
  font-size: 13px;
  color: var(--muted);
}
.code-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--paper);
  border: 1.5px dashed var(--line-2);
  border-radius: 12px;
  padding: 12px 14px;
  font: 700 18px/1.2 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink);
  letter-spacing: 0.04em;
  word-break: break-all;
}

/* ------------------------------------------------ wall and 404 */
body.wall {
  min-height: 100vh;
  display: grid;
  place-items: center;
  background: var(--ink);
  padding: 24px;
}
.wall-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--shadow-lg);
}
.wall-card img {
  margin-bottom: 24px;
}
.wall-card h1 {
  font-size: 30px;
}
.wall-card .btn {
  width: 100%;
}

/* ------------------------------------------------ admin */
.ops {
  background: var(--paper);
}
.ops-bar {
  background: var(--ink);
  color: #fff;
}
.ops-bar .wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
}
.ops-bar .brand {
  color: #fff;
}
.ops-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: #fff;
  padding: 0 var(--gutter);
}
.ops-tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 16px 14px 13px;
  font: 700 13px/1 var(--body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}
.ops-tabs button[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--sun-2);
}
.table-wrap {
  overflow-x: auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}
.table th {
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  background: var(--paper);
}
.table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.table tr:last-child td {
  border-bottom: 0;
}
.table tr.click {
  cursor: pointer;
}
.table tr.click:hover td {
  background: var(--cool-50);
}
.num {
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}
.stat-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
}
.stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
}
.stat .v {
  font-family: var(--display);
  font-size: 34px;
  font-weight: 740;
  color: var(--ink);
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
}
.stat .k {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}
.cal {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}
.cal .day {
  font-size: 13.5px;
}
.cal .slotrow {
  border-radius: 8px;
  padding: 8px 10px;
  margin-top: 6px;
  background: var(--ok-50);
}
.cal .slotrow.full {
  background: var(--sun-50);
}
.cal .slotrow.blocked {
  background: var(--na-50);
  color: var(--na);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(8, 25, 42, 0.55);
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  overflow-y: auto;
  z-index: 80;
}
.modal.open {
  display: flex;
}
.modal-card {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 860px;
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-lg);
}
.hidden {
  display: none !important;
}
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mt-0 {
  margin-top: 0;
}
.mt-1 {
  margin-top: 12px;
}
.mt-2 {
  margin-top: 24px;
}
.mt-3 {
  margin-top: 40px;
}
.mb-0 {
  margin-bottom: 0;
}
.stack > * + * {
  margin-top: 16px;
}
.rec-hero strong {
  color: #fff;
  font-size: 20px;
}
.big-line {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
}

/* ------------------------------------------------ the live house */
.scene-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: #0c2132;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 0 120px rgba(255, 197, 51, 0.08);
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.scene-card:hover {
  transform: perspective(1400px) rotateY(0) rotateX(0);
}
@media (max-width: 979px) {
  .scene-card,
  .scene-card:hover {
    transform: none;
  }
}
.scene svg,
.house-svg {
  width: 100%;
  height: auto;
  display: block;
}
.sun-control {
  padding: 16px 20px 18px;
  background: linear-gradient(180deg, rgba(12, 33, 50, 0.92), #0a1c2b);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.sun-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.sun-row label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
}
.sun-time {
  font-family: var(--display);
  font-weight: 720;
  font-size: 22px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.sun-caption {
  margin: 10px 0 0;
  font-size: 14.5px;
  color: #b7cad5;
  min-height: 2.6em;
}
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #14405a, #ffc533 50%, #14405a);
  outline: none;
  min-height: 0;
  padding: 0;
  border: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff4c9, #ffc533 55%, #f2ad00);
  box-shadow:
    0 0 0 6px rgba(255, 197, 51, 0.18),
    0 4px 14px rgba(0, 0, 0, 0.4);
  cursor: grab;
}
input[type="range"]::-moz-range-thumb {
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: #ffc533;
  box-shadow: 0 0 0 6px rgba(255, 197, 51, 0.18);
  cursor: grab;
}
input[type="range"]:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.5);
}
.art-note {
  margin: 10px 4px 0;
  font-size: 12.5px;
  color: #7f99a8;
  text-align: right;
}
.fan-pop {
  animation: pop 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) both;
  transform-box: fill-box;
}
@keyframes pop {
  from {
    opacity: 0;
    translate: 0 -40px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.house-svg .sun {
  transition: transform 0.08s linear;
}

/* ------------------------------------------------ reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
.price-card,
.path,
.card,
.steps li {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.price-card:hover,
.path:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.js .reveal.in.price-card:hover,
.js .reveal.in.path:hover {
  transform: translateY(-4px);
}

/* ------------------------------------------------ quote with live preview */
.quote-bg {
  background:
    radial-gradient(900px 400px at 100% 0%, rgba(11, 138, 156, 0.08), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 197, 51, 0.08), transparent 60%),
    var(--paper);
  min-height: 70vh;
}
.quote-layout {
  display: grid;
  gap: 18px;
  align-items: start;
}
.quote-layout .wizard {
  max-width: none;
  margin: 0;
  min-width: 0;
}
.preview-card {
  border-radius: 20px;
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.preview-art svg {
  height: 170px;
}
.preview-meta {
  padding: 14px 18px 16px;
  color: #b7cad5;
}
.preview-label {
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sun);
}
.preview-caption {
  margin: 0;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}
.preview-price {
  margin: 10px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}
.preview-price strong {
  font-family: var(--display);
  font-size: 30px;
  color: #fff;
  letter-spacing: -0.02em;
  margin-right: 4px;
}
.preview-price span {
  display: block;
  color: var(--sun);
  font-weight: 600;
}
@media (min-width: 1020px) {
  .quote-layout {
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 32px;
  }
  .preview {
    order: 2;
    position: sticky;
    top: 96px;
  }
  .preview-art svg {
    height: auto;
  }
  .preview-meta {
    padding: 18px 22px 22px;
  }
  .preview-caption {
    font-size: 17px;
  }
}
@media (max-width: 1019px) {
  .preview-card {
    display: grid;
    grid-template-columns: 46% 1fr;
    align-items: center;
    border-radius: 16px;
  }
  .preview-art svg {
    height: 128px;
  }
  .preview-meta {
    padding: 10px 14px;
  }
  .preview-label {
    font-size: 11px;
  }
  .preview-caption {
    font-size: 13.5px;
    line-height: 1.35;
  }
  .preview-price {
    margin-top: 6px;
    padding-top: 6px;
    font-size: 12.5px;
  }
  .preview-price strong {
    font-size: 22px;
  }
}
.hero .eyebrow {
  color: #5fd0de;
}
@media (max-width: 520px) {
  .zip-form {
    flex-direction: column;
    border-radius: 26px;
    gap: 8px;
  }
  .zip-form .btn {
    width: 100%;
  }
}

/* ------------------------------------------------ inner page heroes, same sky as home */
.page-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(800px 360px at 92% -20%, rgba(255, 197, 51, 0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 120%, rgba(11, 138, 156, 0.32), transparent 60%),
    var(--ink);
  border-bottom: 0;
  color: #b7cad5;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 197, 51, 0.9) 0 34%, rgba(255, 197, 51, 0.18) 35% 60%, transparent 61%);
  opacity: 0.55;
  pointer-events: none;
}
.page-hero h1 {
  color: #fff;
}
.page-hero .eyebrow {
  color: #5fd0de;
}
.page-hero .lead {
  color: #b7cad5;
}
.page-hero .wrap {
  position: relative;
  z-index: 1;
}
@media (max-width: 720px) {
  .page-hero::after {
    width: 160px;
    height: 160px;
    right: -50px;
    top: -50px;
  }
}

/* ------------------------------------------------ learn: intake demo */
.intake-demo {
  display: grid;
  gap: 24px;
  align-items: center;
}
@media (min-width: 900px) {
  .intake-demo {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }
}
.scene-card.flat,
.scene-card.flat:hover {
  transform: none;
}
.intake-title {
  font-family: var(--display);
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.12;
  margin-bottom: 16px;
}
.toggle {
  display: inline-flex;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
}
.toggle-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 10px 16px;
  font: 700 13px/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.toggle-btn[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
.toggle-btn[data-intake="blocked"][aria-pressed="true"] {
  background: #c43c3c;
}

/* ------------------------------------------------ closing art band */
.art-band {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  min-height: 460px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(12, 33, 50, 0.96) 0%, rgba(12, 33, 50, 0.85) 34%, rgba(12, 33, 50, 0) 62%),
    url("/assets/house-art.jpg") right center / cover no-repeat,
    var(--ink);
  box-shadow: var(--shadow-lg);
}
.art-band-copy {
  position: relative;
  max-width: 470px;
  padding: clamp(28px, 5vw, 64px);
  color: #c7d7e0;
}
.art-band-copy h2 {
  color: #fff;
}
.art-band-copy .eyebrow {
  color: var(--sun);
}
.art-band-copy p {
  margin-bottom: 24px;
}
.art-band-note {
  position: absolute;
  right: 18px;
  bottom: 12px;
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 760px) {
  .art-band {
    min-height: 0;
    align-items: flex-end;
    padding-top: 220px;
    background:
      linear-gradient(180deg, rgba(12, 33, 50, 0) 0, rgba(12, 33, 50, 0.85) 52%, var(--ink) 70%),
      url("/assets/house-art.jpg") 70% top / auto 300px no-repeat,
      var(--ink);
  }
  .art-band-note {
    top: 12px;
    bottom: auto;
  }
}

/* ------------------------------------------------ photoreal hero film (2026-10-12)
   Generated Veo footage of a typical install, labelled as such on the page.
   The poster is the clip's first frame, so a reader with reduced motion,
   data saver or no JS sees the same picture, standing still. */
.hero-film {
  display: flex;
  align-items: center;
  min-height: min(90vh, 820px);
  background: #081825;
  padding: clamp(72px, 9vw, 120px) 0 clamp(80px, 9vw, 120px);
}
.hero-film > .wrap {
  position: relative;
  width: 100%;
}
.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 40%;
  display: block;
  transform: scale(1.02);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 37, 0.94) 0%, rgba(8, 24, 37, 0.82) 30%, rgba(8, 24, 37, 0.35) 54%, rgba(8, 24, 37, 0) 72%),
    linear-gradient(0deg, rgba(8, 24, 37, 0.7) 0%, rgba(8, 24, 37, 0) 30%);
}
.hero-copy {
  max-width: 600px;
}
.hero-film h1 {
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}
.hero-film .lead,
.hero-film .hero-points li {
  color: #dbe7ee;
}
.hero-film .zip-form {
  background: rgba(8, 24, 37, 0.55);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.media-note {
  position: absolute;
  right: var(--gutter);
  bottom: 14px;
  margin: 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 24, 37, 0.55);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.78);
}
@media (max-width: 759px) {
  .hero-film {
    display: block;
    min-height: 0;
    padding: 0 0 56px;
  }
  .hero-media {
    position: relative;
    aspect-ratio: 4 / 3;
  }
  .hero-video {
    object-position: 74% 30%;
  }
  .hero-scrim {
    inset: 0 0 auto;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, rgba(8, 24, 37, 0) 45%, #081825 98%);
  }
  .hero-film > .wrap {
    margin-top: -48px;
  }
  .media-note {
    top: 10px;
    bottom: auto;
  }
}

/* ------------------------------------------------ install day photo strip */
.film-strip {
  display: grid;
  gap: 22px;
}
@media (min-width: 980px) {
  .film-strip {
    grid-template-columns: repeat(3, 1fr);
  }
}
.film-frame {
  margin: 0;
  background: var(--card);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.film-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.film-frame:hover img {
  transform: scale(1.04);
}
.film-frame figcaption {
  position: relative;
  padding: 20px 22px 24px 64px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.5;
}
.film-frame figcaption strong {
  display: block;
  color: var(--ink);
  font-family: var(--display);
  font-size: 19px;
  margin-bottom: 4px;
}
.film-step {
  position: absolute;
  left: 22px;
  top: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--sun);
  color: var(--ink);
  font-weight: 800;
  font-size: 15px;
  display: grid;
  place-items: center;
}
@media (prefers-reduced-motion: reduce) {
  .film-frame img,
  .film-frame:hover img {
    transition: none;
    transform: none;
  }
}

/* ------------------------------------------------ airflow diagram section */
.airflow-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 980px) {
  .airflow-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
  }
}
.airflow-grid .art-note {
  color: var(--muted);
}

/* the closing band, now on a photo of a finished job */
.art-band-photo {
  background:
    linear-gradient(90deg, rgba(12, 33, 50, 0.96) 0%, rgba(12, 33, 50, 0.86) 36%, rgba(12, 33, 50, 0.1) 66%),
    url("/media/job-done-1920.webp") 70% center / cover no-repeat,
    var(--ink);
}
@media (max-width: 760px) {
  .art-band-photo {
    background:
      linear-gradient(180deg, rgba(12, 33, 50, 0) 0, rgba(12, 33, 50, 0.85) 52%, var(--ink) 70%),
      url("/media/job-done-960.webp") 62% top / auto 300px no-repeat,
      var(--ink);
  }
}

/* ------------------------------------------------ photo page heroes (About, Learn)
   A generated photograph under the dark page hero, labelled as generated. */
.page-hero-photo {
  display: flex;
  align-items: flex-end;
  min-height: clamp(400px, 56vh, 580px);
  padding-top: clamp(120px, 14vw, 180px);
  background: #081825;
}
.page-hero-photo::after {
  display: none;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, 70% center);
}
.photo-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 24, 37, 0.92) 0%, rgba(8, 24, 37, 0.74) 34%, rgba(8, 24, 37, 0.2) 62%, rgba(8, 24, 37, 0) 80%),
    linear-gradient(0deg, rgba(8, 24, 37, 0.85) 0%, rgba(8, 24, 37, 0) 45%);
}
.page-hero-photo .wrap {
  width: 100%;
}
.page-hero-photo .lead {
  color: #dbe7ee;
  max-width: 620px;
}
@media (max-width: 759px) {
  .page-hero-photo {
    min-height: 0;
    padding-top: 0;
    display: block;
  }
  .page-hero-img {
    position: relative;
    display: block;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .photo-scrim {
    inset: 0 0 auto;
    aspect-ratio: 4 / 3;
    background: linear-gradient(180deg, rgba(8, 24, 37, 0) 45%, #081825 98%);
  }
  .page-hero-photo .wrap {
    margin-top: -44px;
  }
}

/* ------------------------------------------------ photos inside long reads */
.prose-figure {
  margin: 30px 0 34px;
}
.prose-figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}
.prose-figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}
.prose-figure figcaption em {
  font-style: normal;
  color: var(--na);
}
.hero-about {
  --focus: 62% center;
}
.hero-learn {
  --focus: 70% center;
}

/* ------------------------------------------------ quote preview photographs
   Twelve generated photos: one, two and three story homes, each bare and
   with one, two or three fans. quote.js picks one and crossfades. */
.preview-art {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #0c2132;
  overflow: hidden;
}
.preview-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.preview-photo.on {
  opacity: 1;
}
.preview-photo.has-fans {
  transform-origin: 50% 18%;
  transition:
    opacity 0.5s ease,
    transform 2.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.preview-photo.has-fans.on {
  transform: scale(1.7);
}
.preview-gen {
  position: absolute;
  z-index: 2;
  right: 8px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(8, 24, 37, 0.6);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}
@media (max-width: 1019px) {
  .preview-art {
    aspect-ratio: auto;
    height: 128px;
  }
  .preview-gen {
    font-size: 9.5px;
    right: 4px;
    bottom: 4px;
    padding: 2px 6px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .preview-photo,
  .preview-photo.has-fans {
    transition: none;
  }
}
.hero-faq {
  --focus: 72% center;
}
.hero-area {
  --focus: 62% 72%;
}
.hero-partners {
  --focus: 65% center;
}
.hero-refer {
  --focus: 62% 60%;
}
.hero-help {
  --focus: 66% center;
}
.hero-warranty {
  --focus: 66% center;
}
.hero-terms {
  --focus: 66% center;
}
.hero-privacy {
  --focus: 64% center;
}

/* ------------------------------------------------ drag the sun, photographed
   Five frames of the same home; site.js blends the two nearest. */
.sun-photos {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #0c2132;
}
.sun-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}
.sun-frame.on {
  opacity: 1;
}

/* ------------------------------------------------ learn: soffits clear vs blocked, photographed */
.intake-photos {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #0c2132;
}
.intake-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.intake-frame.on {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .intake-frame {
    transition: none;
  }
}

/* Job photos in the portal and the console, and the signed in order list. */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  margin-top: 8px;
}
.photo-tile {
  margin: 0;
  min-width: 0;
}
.photo-tile img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  background: var(--cool-50);
}
.photo-tile figcaption {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  overflow-wrap: anywhere;
}
.photo-tile figcaption span {
  display: block;
  color: var(--ink);
}
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  min-width: 0;
}
.order-row > span:first-child {
  min-width: 0;
  overflow-wrap: anywhere;
}
.order-row strong,
.order-row .small {
  display: block;
}
a.order-row:hover {
  border-color: var(--cool-100);
}
@media (max-width: 520px) {
  .order-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ------------------------------------------------ the install report */
.rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  background: var(--na-50);
  color: var(--na);
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}
.rating::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.rating-green {
  background: var(--ok-50);
  color: var(--ok);
}
.rating-yellow {
  background: var(--warn-50);
  color: var(--warn);
}
.rating-red {
  background: var(--bad-50);
  color: var(--bad);
}
.report-parts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.report-part {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.report-part:first-child {
  border-top: 0;
  padding-top: 4px;
}
.report-part-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  margin-bottom: 4px;
}
.report-part-head strong {
  color: var(--ink);
}
.report-fix {
  margin-top: 10px;
  padding: 8px 12px;
  border-left: 3px solid var(--sun-2);
  background: var(--sun-50);
  border-radius: 0 8px 8px 0;
}
.report-contactless {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--cool-50);
  border: 1px solid var(--cool-100);
  border-radius: 10px;
  padding: 10px 14px;
}
.rating-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.rating-legend .rating {
  margin-right: 6px;
}
.report-kind {
  font-weight: 650;
  color: var(--ink);
  font-size: 15px;
  margin: 14px 0 0;
}
.print-only {
  display: none;
}
blockquote {
  margin: 0 0 12px;
  padding: 8px 14px;
  border-left: 3px solid var(--line-2);
  color: var(--text);
}

/* ------------------------------------------------ the crew view, phone first */
.crew .kv dd,
.ops .kv dd {
  overflow-wrap: anywhere;
  min-width: 0;
}
.crew-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}
.crew-bar .btn {
  flex: none;
  padding: 0 12px;
}
.crew-date {
  flex: 1 1 auto;
  min-width: 0;
}
.crew-date input {
  width: 100%;
  min-height: 40px;
  padding: 8px 10px;
}
.crew-day {
  font-size: 22px;
  margin: 26px 0 10px;
}
.crew-job {
  display: grid;
  gap: 4px;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
  min-width: 0;
  overflow-wrap: anywhere;
}
.crew-job:hover {
  border-color: var(--cool-100);
}
.crew-job .status-chip {
  justify-self: start;
  margin-top: 6px;
}
.crew-window {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cool-2);
}
.crew-h1 {
  font-size: clamp(30px, 8vw, 44px);
  margin: 6px 0 6px;
  overflow-wrap: anywhere;
}
.crew-item,
.crew-part {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  min-width: 0;
}
.crew-item:first-of-type,
.crew-part:first-of-type {
  border-top: 0;
  padding-top: 0;
}
.crew-item-title {
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}
.crew-item .options {
  margin-top: 8px;
}
.req {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--warn);
  background: var(--warn-50);
  border-radius: 999px;
  padding: 2px 8px;
  vertical-align: middle;
}
.opt-stop:has(input:checked) {
  border-color: var(--bad);
  background: var(--bad-50);
}
.rating-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}
.rating-pick .opt {
  padding: 12px;
  font-size: 15px;
  align-items: center;
}
.rate-green:has(input:checked) {
  border-color: var(--ok);
  background: var(--ok-50);
}
.rate-yellow:has(input:checked) {
  border-color: var(--warn);
  background: var(--warn-50);
}
.rate-red:has(input:checked) {
  border-color: var(--bad);
  background: var(--bad-50);
}
.rate-not_inspected:has(input:checked) {
  border-color: var(--na);
  background: var(--na-50);
}
.crew-add {
  white-space: normal;
  text-align: center;
  position: relative;
}
.crew .btn-row .btn {
  white-space: normal;
}
@media (max-width: 520px) {
  .crew .btn-row .btn-primary,
  .crew .btn-row .btn-ghost {
    flex: 1 1 100%;
  }
  .crew .crew-bar .btn {
    flex: none;
  }
}

/* ------------------------------------------------ the report on paper */
@media print {
  @page {
    size: letter;
    margin: 0.5in;
  }
  body.has-report {
    background: #fff;
    font-size: 11pt;
  }
  body.has-report .site-header,
  body.has-report .site-footer,
  body.has-report .banner,
  body.has-report .skip,
  body.has-report .no-print {
    display: none !important;
  }
  body.has-report .print-only {
    display: block;
  }
  body.has-report .section-tight {
    padding: 0;
  }
  body.has-report .wrap {
    padding: 0;
    max-width: none;
  }
  body.has-report .portal-grid {
    display: block;
    margin: 0;
  }
  body.has-report .report-card {
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  body.has-report .report-print-head {
    border-bottom: 2px solid var(--ink);
    padding-bottom: 10px;
    margin-bottom: 14px;
  }
  body.has-report .report-print-head h2 {
    font-size: 22pt;
    margin: 4px 0;
  }
  body.has-report .photo-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  body.has-report .photo-tile,
  body.has-report .report-part,
  body.has-report .report-fix {
    break-inside: avoid;
  }
  body.has-report a {
    color: inherit;
    text-decoration: none;
  }
}

/* The report's photos: grouped under their kind on screen, one flowing
   grid captioned by kind on paper. */
.report-photos .kind-label {
  display: none;
}
.handoff-body {
  max-width: 820px;
}
.crew-parts .crew-part:first-child {
  border-top: 0;
  padding-top: 0;
}
.crew textarea {
  min-height: 72px;
}
@media (max-width: 520px) {
  .crew .crew-actions .btn-primary {
    order: -1;
  }
}
@media print {
  body.has-report .report-photos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
  }
  body.has-report .report-group,
  body.has-report .report-group .photo-grid {
    display: contents;
  }
  body.has-report .report-kind {
    display: none;
  }
  body.has-report .report-photos .kind-label {
    display: block;
    color: var(--muted);
  }
  body.has-report .photo-tile figcaption {
    font-size: 9pt;
  }
}
