/* Matches the door hanger: night-snow navy, orange accent, condensed display type. */
:root {
  --navy: #0b3a52;
  --navy-deep: #082c3f;
  --orange: #e2502a;
  --orange-dark: #c23f1c;
  --ice: #e7eff4;
  --frost: #a9c3d3;
  --ink: #0b3a52;
  --muted: #4a6575;
  --paper: #ffffff;
  --display: "DIN Condensed", "Bahnschrift SemiBold Condensed", "Roboto Condensed",
    "sans-serif-condensed", "Arial Narrow", system-ui, sans-serif;
  font-family: "Avenir Next", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
p, h1, h2, h3, ul, ol { margin: 0; }
a { color: inherit; }

/* --- night field ------------------------------------------------------------ */

.night {
  position: relative;
  color: #fff;
  background-color: var(--navy);
  background-image:
    radial-gradient(circle at 12% 18%, rgb(255 255 255 / 55%) 0 1.4px, transparent 2px),
    radial-gradient(circle at 68% 9%, rgb(255 255 255 / 40%) 0 1px, transparent 1.6px),
    radial-gradient(circle at 37% 62%, rgb(255 255 255 / 35%) 0 1.8px, transparent 2.4px),
    radial-gradient(circle at 88% 44%, rgb(255 255 255 / 45%) 0 1.2px, transparent 1.8px),
    radial-gradient(circle at 54% 33%, rgb(255 255 255 / 30%) 0 1px, transparent 1.5px),
    radial-gradient(circle at 22% 81%, rgb(255 255 255 / 40%) 0 1px, transparent 1.6px);
  background-size: 140px 140px, 190px 190px, 230px 230px, 170px 170px, 110px 110px, 260px 260px;
  padding-bottom: 72px;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.05;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand img {
  display: block;
  width: 56px;
  height: 56px;
  padding: 3px;
  border-radius: 7px;
  background: #fff;
  transform: rotate(-4deg);
  box-shadow: 2px 3px 0 rgb(0 0 0 / 25%);
}

.phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid rgb(255 255 255 / 45%);
  border-radius: 999px;
  font-weight: 650;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.phone:hover { border-color: #fff; }

.layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px 20px 0;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.pitch { padding-top: clamp(8px, 4vw, 56px); }

.kicker, .card-kicker {
  font-weight: 650;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.kicker { color: var(--frost); margin-bottom: 14px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 { font-size: clamp(56px, 8vw, 112px); letter-spacing: 0.005em; }
h1 span { display: block; color: var(--orange); }
.lede { margin-top: 22px; max-width: 30ch; font-size: 19px; color: #d9e6ee; }

/* --- quote card ------------------------------------------------------------- */

.card {
  position: relative;
  z-index: 1;
  margin-bottom: -150px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--paper);
  color: var(--ink);
  border-radius: 14px;
  box-shadow: 0 24px 60px rgb(4 24 36 / 35%);
  scroll-margin-top: 12px;
}

.card-kicker { color: var(--ink); text-align: center; }
h2 { color: var(--orange); font-size: clamp(64px, 9vw, 88px); text-align: center; margin-top: 4px; }
#contact-intro { margin: 10px auto 22px; max-width: 34ch; text-align: center; color: var(--muted); }

form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
label { font-weight: 650; font-size: 15px; }
label small { font-weight: 500; color: var(--muted); font-size: 13px; }

input, button { font: inherit; width: 100%; min-height: 54px; border-radius: 8px; }

input {
  padding: 12px 14px;
  font-size: 17px; /* 16px+ stops iOS zooming on focus */
  border: 1.5px solid #9fb3bf;
  background: #fbfdfe;
  color: var(--ink);
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

input::placeholder { color: #7a8f9b; }
input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgb(11 58 82 / 18%); }
input[aria-invalid="true"] { border-color: var(--orange-dark); }

button {
  margin-top: 6px;
  border: 0;
  background: var(--orange);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 0 var(--orange-dark);
  transition: transform 120ms ease, background 120ms ease;
}

button:hover { background: var(--orange-dark); }
button:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--orange-dark); }
button:disabled { cursor: wait; opacity: 0.7; }
:focus-visible { outline: 3px solid #136d9c; outline-offset: 3px; }

.status { margin-top: 14px; font-size: 15px; font-weight: 650; color: var(--orange-dark); }
.status:empty { display: none; }
.privacy { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }

/* --- snowbank and details --------------------------------------------------- */

.drift { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 80px; display: block; }
.drift-back { fill: var(--frost); }
.drift-front { fill: var(--paper); }

.details {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 56px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(28px, 5vw, 72px);
}

.details > * { grid-column: 1; }
.details .how { grid-column: 1; }
h3 { font-size: 28px; margin-bottom: 14px; }

.panel { background: var(--ice); border-radius: 12px; padding: 22px 24px; }

.checks, .steps { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 17px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 8px;
  height: 15px;
  border: solid var(--orange);
  border-width: 0 3.5px 3.5px 0;
  transform: rotate(45deg);
}

.steps { counter-reset: step; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding-left: 46px; min-height: 32px; }
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-family: var(--display);
  font-size: 20px;
  line-height: 34px;
  text-align: center;
}

.site-footer {
  padding: 22px 20px 28px;
  background: var(--navy-deep);
  color: #c4d6e1;
  text-align: center;
  font-size: 14px;
}

.site-footer a { white-space: nowrap; }

/* --- about page ------------------------------------------------------------ */

.nav { display: flex; align-items: center; gap: 18px; }
.nav > a:not(.phone) { font-weight: 650; font-size: 15px; text-underline-offset: 5px; }
.nav > a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }

.night-short { padding-bottom: 0; }
.night-short .drift { position: relative; height: 70px; margin-top: 8px; }
.page-head { max-width: 760px; margin: 0 auto; padding: 36px 20px 0; }

.prose { max-width: 760px; margin: 0 auto; padding: 16px 20px 64px; display: grid; gap: 40px; font-size: 17px; }
.prose section { display: grid; gap: 14px; }
.section-title { color: var(--ink); text-align: left; font-size: clamp(32px, 5vw, 42px); margin: 0; }
.prose a:not(.cta) { color: var(--orange-dark); font-weight: 650; }

.faq { display: grid; gap: 10px; }
.faq details { background: var(--ice); border-radius: 10px; padding: 0 18px; }
.faq summary {
  cursor: pointer;
  list-style: none;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-weight: 650;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-size: 28px; color: var(--orange); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { margin-bottom: 16px; color: #24485b; }
.faq ul { padding-left: 20px; display: grid; gap: 8px; }

.cta {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px 26px;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  text-decoration: none;
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 4px 0 var(--orange-dark);
}
.cta:hover { background: var(--orange-dark); }

/* --- phone: form straight after the headline -------------------------------- */

@media (max-width: 860px) {
  .night { padding-bottom: 0; }
  .site-header { padding: 10px 16px; }
  .brand { font-size: 15px; }
  .brand img { width: 46px; height: 46px; }
  .phone { font-size: 14px; padding: 0 12px; }
  .layout { grid-template-columns: 1fr; gap: 20px; padding: 10px 16px 0; }
  .pitch { padding-top: 0; }
  .kicker { margin-bottom: 8px; font-size: 12px; }
  h1 { font-size: clamp(48px, 14vw, 72px); }
  .lede { display: none; }
  .card { margin-bottom: -70px; padding: 22px 18px 24px; }
  .drift { position: relative; height: 90px; margin-top: -20px; }
  .details { grid-template-columns: 1fr; padding: 92px 16px 44px; gap: 28px; }
  .nav { gap: 12px; }
  .page-head { padding: 24px 16px 0; }
  .prose { padding: 12px 16px 48px; gap: 32px; }
  .cta { justify-self: stretch; justify-content: center; }
}

@media (min-width: 861px) {
  .details { padding-top: 40px; }
  .details > * { max-width: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  input, button { transition: none; }
}
