/* RoofGlow AZ — site styles (v6: editorial, photo-led).
   Design system: deep ink, warm off-white, restrained seasonal red CTA,
   subtle brass accents. Nunito (self-hosted) upright for UI and headings.
   Mobile-first. No external requests. */

@font-face {
  font-family: "Nunito"; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/nunito-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Nunito"; font-style: italic; font-weight: 400 900; font-display: swap;
  src: url("/assets/fonts/nunito-latin-italic.woff2") format("woff2");
}

:root {
  --ink: #111726;          /* deep ink */
  --ink-2: #182033;
  --ink-3: #232d45;
  --paper: #f7f3ec;        /* warm off-white */
  --paper-2: #efe8dc;
  --white: #ffffff;
  --text: #1a2030;
  --text-soft: #535b6b;
  --text-faint: #7a8191;
  --line: #e2d9c9;
  --line-dark: rgb(255 255 255 / 12%);
  --brass: #b08a4a;
  --brass-2: #c9a467;
  --brass-soft: #f1e6d0;
  --red: #c4202b;          /* seasonal red CTA */
  --red-2: #a8161f;
  --on-ink: #f4efe6;
  --on-ink-soft: #c5c9d4;
  --error: #b42318;
  --error-bg: #fdf1ef;
  --success: #1e7a4c;
  --success-bg: #eef8f2;
  --info-bg: #fbf5e7;
  --focus: #2f64d6;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 1px 2px rgb(17 23 38 / 6%), 0 8px 24px rgb(17 23 38 / 8%);
  --shadow-lg: 0 2px 4px rgb(17 23 38 / 8%), 0 24px 56px rgb(17 23 38 / 18%);
  --font: "Nunito", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 64px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.12; letter-spacing: -.02em; text-wrap: balance; font-weight: 800; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--red-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
ul, ol { padding-left: 1.25em; }
code { font-size: .92em; background: var(--paper-2); padding: .1em .35em; border-radius: 6px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.hero, .section--ink, .site-footer, .lightbox, .sticky-cta, .preview-banner, .legal__header { --focus: #f3c86b; }
main:focus { outline: none; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--white); color: var(--text); padding: 10px 16px; border-radius: 10px; font-weight: 700;
  box-shadow: var(--shadow);
}
.skip-link:focus { top: 12px; --focus: #2f64d6; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.container--narrow { max-width: 820px; }

.eyebrow {
  display: inline-block; margin: 0 0 12px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--brass);
}
.eyebrow--light { color: var(--brass-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: .65em 1.35em;
  border: 1.5px solid transparent; border-radius: 999px;
  font: 800 1rem/1.15 var(--font); letter-spacing: .005em;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--red); color: var(--white); box-shadow: 0 6px 18px rgb(196 32 43 / 28%); }
.btn--primary:hover { background: var(--red-2); }
.btn--ghost { background: rgb(255 255 255 / 8%); color: var(--white); border-color: rgb(255 255 255 / 45%); }
.btn--ghost:hover { background: rgb(255 255 255 / 16%); border-color: var(--white); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: var(--white); }
.btn--secondary { background: var(--ink); color: var(--white); }
.btn--secondary:hover { background: var(--ink-3); }
.btn--sm { min-height: 42px; padding: .5em 1.05em; font-size: .95rem; }
.btn--lg { min-height: 54px; padding: .75em 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { cursor: progress; opacity: .85; }
.btn__spinner { display: none; }
.is-loading .btn__spinner {
  display: inline-block; width: 1.1em; height: 1.1em; border-radius: 50%;
  border: 2.5px solid currentColor; border-right-color: transparent; animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Preview banner ---------- */
.preview-banner { background: var(--ink); color: #e8d6ad; font-size: .8rem; line-height: 1.35; border-bottom: 1px solid var(--line-dark); }
.preview-banner .container { display: flex; gap: 8px; align-items: flex-start; padding-block: 6px; }
.preview-banner svg { flex: none; margin-top: 1px; }
.preview-banner strong { color: #f3dda6; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgb(17 23 38 / 96%); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-dark); }
.site-header__lights { width: 100%; height: 14px; opacity: .95; }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: block; margin-right: auto; line-height: 0; border-radius: 10px; }
.brand img { width: 108px; height: auto; margin-block: -10px -6px; filter: drop-shadow(0 4px 10px rgb(0 0 0 / 35%)); }
.brand--footer img { width: 120px; margin: 0; }
.site-nav__toggle {
  display: none; align-items: center; justify-content: center; width: 46px; height: 46px;
  border: 1px solid var(--line-dark); border-radius: 12px; background: transparent; color: var(--white); cursor: pointer;
}
.site-nav__toggle-close { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-open { display: none; }
.site-nav__toggle[aria-expanded="true"] .site-nav__toggle-close { display: inline-flex; }
.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav__list a:not(.btn) {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border-radius: 10px;
  color: var(--on-ink); font-weight: 700; font-size: .97rem; text-decoration: none;
}
.site-nav__list a:not(.btn):hover { background: rgb(255 255 255 / 8%); }
.site-nav__cta { margin-left: 10px; }
@media (min-width: 1024px) {
  .brand img { width: 132px; margin-block: -14px -10px; }
  :root { --header-h: 72px; }
}
@media (max-width: 1023.98px) {
  .js .site-nav__toggle { display: inline-flex; }
  .js .site-nav__list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 10px clamp(18px, 4vw, 40px) 20px; background: var(--ink); border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 20px 40px rgb(0 0 0 / 35%);
  }
  .js .site-nav__list.is-open { display: flex; }
  .js .site-nav__list a:not(.btn) { min-height: 48px; font-size: 1.05rem; }
  .site-nav__cta { margin: 10px 0 0; }
  .site-nav__cta .btn { width: 100%; min-height: 50px; }
  .no-js .site-header__inner { flex-wrap: wrap; }
  .no-js .site-nav { width: 100%; }
  .no-js .site-nav__list { flex-wrap: wrap; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #171b22;
  color: var(--on-ink);
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__picture, .hero__lights { position: absolute; inset: 0; display: block; }
.hero__img, .hero__lights img {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%;
}
.hero__lights { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero__lights { animation: roofline-shimmer 4.8s ease-in-out both; }
}
@keyframes roofline-shimmer {
  0%, 100% { opacity: 0; }
  26% { opacity: .66; }
  48% { opacity: .16; }
  72% { opacity: .84; }
}
.hero__inner { display: grid; align-items: start; gap: 26px; }
.hero__copy { position: relative; isolation: isolate; max-width: 540px; min-width: 0; }
.hero__copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -80px -65px -55px -95px;
  background: radial-gradient(ellipse at 42% 55%, rgb(13 17 24 / 87%) 20%, rgb(13 17 24 / 63%) 51%, transparent 76%);
  pointer-events: none;
}
.hero__quote { min-width: 0; }
.hero__title {
  font-size: clamp(2.2rem, 8.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.03em;
  color: var(--white); margin-bottom: .35em; text-shadow: 0 2px 20px rgb(7 10 16 / 44%);
}
.hero__lead { font-size: clamp(1.05rem, 3.9vw, 1.25rem); line-height: 1.5; color: #f4f0eb; max-width: 32em; margin-bottom: 22px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.hero__actions .btn--ghost { background: rgb(21 23 28 / 46%); border-color: rgb(255 255 255 / 58%); }
.hero__actions .btn--ghost:hover { background: rgb(21 23 28 / 76%); }
.hero__quote .form-card {
  --text: #faf5ee;
  --text-soft: #eee7de;
  --text-faint: #e4dcd1;
  --line: rgb(255 248 233 / 25%);
  --brass: #f2d39a;
  --red-2: #ffe1a6;
  --error: #ffb7ad;
  --error-bg: #512b31;
  --info-bg: #383027;
  --success: #a8ebc1;
  --success-bg: #233d35;
  --focus: #ffd993;
  padding: clamp(15px, 1.45vw, 20px);
  border-radius: 24px;
  border: 1px solid rgb(255 251 231 / 48%);
  background: rgb(18 22 28 / 85%);
  color: var(--text);
  color-scheme: dark;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 40%), inset 0 -1px 0 rgb(255 237 203 / 10%),
    0 16px 36px rgb(7 10 15 / 35%);
}
@supports (backdrop-filter: blur(3px)) or (-webkit-backdrop-filter: blur(3px)) {
  .hero__quote .form-card {
    background: linear-gradient(150deg, rgb(22 24 29 / 66%), rgb(12 16 22 / 72%));
    -webkit-backdrop-filter: blur(3px) saturate(128%);
    backdrop-filter: blur(3px) saturate(128%);
  }
}
.hero__quote .quote-form { gap: 11px; }
.hero__quote .form-group, .hero__quote .form-row { gap: 9px; }
.hero__quote .form-card__head { gap: 2px 8px; padding-bottom: 9px; }
.hero__quote .form-card__title { font-size: 1.15rem; }
.hero__quote .form-card__meta { font-size: .82rem; color: var(--text-faint); }
.hero__quote .field { gap: 4px; }
.hero__quote .field__label { font-size: .9rem; }
.hero__quote .field__input, .hero__quote .file-drop, .hero__quote .file-item, .hero__quote .form-more {
  border-color: rgb(255 248 230 / 42%);
  background: rgb(11 15 21 / 25%);
}
.hero__quote .field__input { min-height: 44px; min-width: 0; padding: 7px 9px; }
.hero__quote .field__input:hover, .hero__quote .file-drop:hover, .hero__quote .file-drop.is-dragover {
  border-color: rgb(255 248 230 / 76%); background: rgb(11 15 21 / 42%);
}
.hero__quote .field--invalid .field__input, .hero__quote .field--invalid .file-drop { border-color: var(--error); }
.hero__quote .field__input:focus-visible { border-color: var(--focus); box-shadow: 0 0 0 2px rgb(255 217 147 / 36%); }
.hero__quote .form-more__summary { min-height: 44px; padding: 7px 10px; font-size: .9rem; }
.hero__quote .form-group--consent { padding-top: 10px; gap: 7px; }
.hero__quote .check { gap: 3px 8px; }
.hero__quote .check label { font-size: .88rem; line-height: 1.35; }
.hero__quote .check__details { line-height: 1.36; }
.hero__quote .form-actions { gap: 7px; }
.hero__quote .form-actions__note { font-size: .8rem; }
.hero__quote .form-success--test .form-success__icon { color: var(--brass); }
@media (min-width: 960px) {
  .hero__inner {
    max-width: 1320px;
    grid-template-columns: minmax(0, 1fr) minmax(350px, 390px);
    gap: clamp(32px, 5vw, 72px);
    padding-block: clamp(32px, 3.8vw, 62px);
  }
  .hero__copy { padding-top: clamp(175px, 16vw, 255px); }
  .hero__title { font-size: clamp(2.7rem, 4.3vw, 4.35rem); }
  .hero__quote .form-row--3 { grid-template-columns: minmax(0, 1fr) minmax(0, .68fr) minmax(126px, 1fr); }
}
@media (max-width: 959.98px) {
  .hero__media { bottom: auto; height: clamp(550px, 152vw, 860px); }
  .hero__img, .hero__lights img { object-position: 50% 43%; }
  .hero__media::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 33%, rgb(23 27 34 / 45%) 64%, #171b22 100%);
  }
  .hero__inner { padding-block: clamp(195px, 49vw, 390px) 30px; }
  .hero__copy::before { inset: -40px -32px; }
}
@media (max-width: 479.98px) { .hero__actions .btn--primary { flex: 1 1 auto; } }

/* Offer line */
.offer-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0;
  font-size: .98rem; line-height: 1.45;
}
.offer-line--hero, .offer-line--dark { color: #e6e9f0; }
.offer-line--hero strong, .offer-line--dark strong { color: var(--white); }
.offer-line--hero a, .offer-line--dark a { color: #f3dda6; }
.offer-line--hero { padding-top: 16px; border-top: 1px solid rgb(255 255 255 / 16%); max-width: 560px; }

/* Trust bar */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust__list { list-style: none; margin: 0; padding-block: 18px; display: grid; gap: 14px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; line-height: 1.35; }
.trust__item strong { display: block; color: var(--text); }
.trust__body { color: var(--text-soft); font-size: .92rem; }
.trust__icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--brass-soft); background: #fbf7ef; color: var(--brass); }
@media (min-width: 760px) { .trust__list { grid-template-columns: repeat(3, 1fr); padding-block: 22px; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--paper { background: var(--paper); }
.section--white { background: var(--white); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section-head { max-width: 680px; margin-bottom: clamp(26px, 4vw, 44px); }
.section-head--split { max-width: none; display: grid; gap: 6px 48px; align-items: end; }
@media (min-width: 900px) { .section-head--split { grid-template-columns: 1.1fr .9fr; } .section-head--split .section-lead { margin-bottom: .45em; } }
.section-title { font-size: clamp(1.8rem, 5.6vw, 2.8rem); letter-spacing: -.03em; margin: 0; color: var(--text); }
.section-title--sm { font-size: clamp(1.6rem, 4.6vw, 2.2rem); margin-bottom: .45em; }
.section-title--light { color: var(--white); }
.section-lead { color: var(--text-soft); font-size: 1.06rem; margin: 10px 0 0; }

/* ---------- Work grid ---------- */
.work__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.work__item { position: relative; min-width: 0; aspect-ratio: 3 / 4; }
.js .work__item--extra { display: none; }
.js .work__item--desktop { display: none; }
.js .work.is-expanded .work__item--extra, .js .work.is-expanded .work__item--desktop { display: block; }
@media (min-width: 900px) {
  .work__grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .js .work__item--desktop { display: block; }
  .work__item--wide { grid-column: span 2; aspect-ratio: auto; }
}
.work__link, .work__video, .video-tile__launch {
  position: relative; display: block; width: 100%; height: 100%; margin: 0;
  border-radius: var(--radius); overflow: hidden; background: #0c1120; color: var(--white); text-decoration: none;
}
.work__link img, .work__video img, .work__video video {
  width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease;
}
.work__video video { object-fit: contain; background: #000; }
.work__link:hover img, .video-tile__launch:hover img { transform: scale(1.04); }
.work__caption {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 34px 12px 10px;
  background: linear-gradient(transparent, rgb(10 14 26 / 82%));
  font-size: .85rem; font-weight: 700; line-height: 1.25; color: var(--white); pointer-events: none;
}
.video-tile.is-playing .work__caption { display: none; }
.video-tile__launch { position: absolute; inset: 0; }
.video-tile__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; background: rgb(255 255 255 / 92%); color: var(--ink);
  box-shadow: 0 8px 22px rgb(0 0 0 / 35%);
}
.video-tile__play svg { margin-left: 3px; }
.video-tile__badge { position: absolute; top: 10px; left: 10px; padding: 3px 9px; border-radius: 999px; background: rgb(10 14 26 / 72%); font-size: .74rem; font-weight: 700; }
.work__more { margin-top: 22px; text-align: center; }

/* Lightbox */
.lightbox { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: 16px; background: #0b0f1c; color: var(--white); }
.lightbox::backdrop { background: rgb(8 10 20 / 88%); }
.lightbox__frame { display: flex; flex-direction: column; max-height: 94vh; }
.lightbox__bar { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; }
.lightbox__title { margin: 0; font-weight: 700; flex: 1; min-width: 0; }
.lightbox__count { margin: 0; color: #b7bdcc; font-size: .9rem; }
.lightbox__stage { position: relative; display: grid; place-items: center; min-height: 0; flex: 1; padding: 0 8px 12px; }
.lightbox__img { max-height: calc(94vh - 80px); width: auto; border-radius: 10px; }
.lightbox__btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgb(255 255 255 / 12%); color: var(--white); cursor: pointer; }
.lightbox__btn:hover { background: rgb(255 255 255 / 22%); }
.lightbox__nav { position: absolute; top: 50%; translate: 0 -50%; z-index: 1; background: rgb(10 14 26 / 70%); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { position: relative; padding: 24px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.step p { margin: 0; color: var(--text-soft); }
.step__num { position: absolute; top: 20px; right: 22px; font-size: .85rem; font-weight: 800; letter-spacing: .08em; color: var(--brass); }
.step__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ink); color: var(--brass-2); margin-bottom: 14px; }
.step__title { font-size: 1.2rem; margin-bottom: .35em; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .step { padding: 30px 28px 28px; } }

/* Form card */
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: clamp(20px, 4vw, 34px); box-shadow: var(--shadow-lg); min-width: 0; --focus: #2f64d6; }
.form-card a { color: var(--red-2); }
.form-card__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.form-card__title { margin: 0; font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.form-card__meta { margin: 0; font-size: .88rem; color: var(--text-faint); }
.quote-form { display: grid; gap: 20px; }
.form-group { border: 0; margin: 0; padding: 0; display: grid; gap: 14px; min-width: 0; }
.form-group__legend { padding: 0; margin-bottom: 2px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.form-row { display: grid; gap: 14px; }
@media (min-width: 560px) {
  .form-row--2 { grid-template-columns: 1fr 1fr; }
  .form-row--3 { grid-template-columns: 1.3fr .8fr 1.2fr; }
}
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field__label { font-weight: 700; font-size: .95rem; }
.field__optional, .field__required { font-weight: 500; color: var(--text-faint); font-size: .9em; }
.field__hint { margin: 0; font-size: .84rem; color: var(--text-soft); line-height: 1.4; order: 3; }
.field__input {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #c9c0b0; border-radius: 12px; background: #fff; color: var(--text);
  font: inherit; font-size: 1rem;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field__input:hover { border-color: #8f877a; }
.field__input:focus-visible { outline: none; border-color: var(--focus); box-shadow: 0 0 0 3px rgb(47 100 214 / 22%); }
.field__input--textarea { min-height: 92px; resize: vertical; }
input[type="date"].field__input { appearance: none; -webkit-appearance: none; display: block; }
.field--invalid .field__input, .field--invalid .file-drop { border-color: var(--error); }
.field__error { display: flex; gap: 6px; align-items: flex-start; margin: 0; color: var(--error); font-size: .88rem; font-weight: 700; line-height: 1.4; order: 4; }
.field__error svg { flex: none; margin-top: 2px; }

.form-more { border: 1px solid var(--line); border-radius: var(--radius); background: #fcfaf6; }
.form-more__summary {
  display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 16px;
  font-weight: 800; cursor: pointer; list-style: none; border-radius: var(--radius);
}
.form-more__summary::-webkit-details-marker { display: none; }
.form-more__summary::before {
  content: "+"; display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1.5px solid var(--text); font-size: 1rem; line-height: 1; transition: transform .2s ease;
}
.form-more[open] .form-more__summary::before { content: "–"; }
.form-more__body { display: grid; gap: 16px; padding: 4px 16px 18px; }

.file-drop { position: relative; border: 1.5px dashed #c9c0b0; border-radius: 12px; background: #fff; }
.file-drop:hover, .file-drop.is-dragover { border-color: var(--red); background: #fff8f6; }
.file-drop:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.file-drop__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.file-drop__ui { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 58px; padding: 12px; color: var(--text-soft); text-align: center; font-size: .95rem; }
.file-drop__ui strong { color: var(--red-2); }
.file-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.file-list:empty { display: none; }
.file-item { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: .92rem; }
.file-item__thumb { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; background: var(--paper); flex: none; display: grid; place-items: center; color: var(--text-soft); }
.file-item__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file-item__size { color: var(--text-soft); white-space: nowrap; }
.file-item__remove { border: 0; background: transparent; color: var(--red-2); font: 700 .9rem var(--font); min-height: 44px; padding: 0 10px; border-radius: 8px; cursor: pointer; }
.file-item__remove:hover { background: var(--paper); }

.form-group--consent { gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.check { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: start; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--red); cursor: pointer; }
.check label { cursor: pointer; font-size: .95rem; line-height: 1.45; }
.check .field__error, .check__details { grid-column: 2; }
.check__details { margin: 0; font-size: .82rem; color: var(--text-soft); line-height: 1.5; }
.check--sms label { font-weight: 700; }
.check.field--invalid input { outline: 2px solid var(--error); outline-offset: 2px; }
.form-actions { display: grid; gap: 10px; }
.form-actions__note { margin: 0; font-size: .85rem; color: var(--text-soft); text-align: center; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-alert { border-radius: 12px; padding: 14px 16px; font-size: .95rem; color: var(--text); }
.form-alert:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.form-alert--error { background: var(--error-bg); border: 1px solid #f1c3bc; border-left: 4px solid var(--error); }
.form-alert--info { background: var(--info-bg); border: 1px solid #eedcae; }
.form-alert--compact { display: flex; gap: 8px; align-items: flex-start; margin: 0; padding: 12px 14px; font-size: .9rem; }
.form-alert--compact svg { flex: none; margin-top: 2px; }
.form-alert__title { display: flex; gap: 8px; align-items: flex-start; font-size: 1rem; line-height: 1.35; margin: 0 0 6px; color: var(--text); }
.form-alert--error .form-alert__title svg { color: var(--error); flex: none; margin-top: 1px; }
.form-alert__message { margin: 0; }
.form-alert__list { margin: 4px 0 0; padding-left: 1.4em; }
.form-alert__list a { color: var(--error); font-weight: 700; }
.form-card--unavailable .form-alert p { margin: 0; }
.form-success { text-align: center; padding: clamp(8px, 2vw, 20px) 0; }
.form-success:focus { outline: none; }
.form-success__icon { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; margin-bottom: 14px; background: var(--success-bg); color: var(--success); }
.form-success--test .form-success__icon { background: var(--info-bg); color: #8a5a00; }
.form-success__title { font-size: 1.5rem; }
.form-success__note { text-align: left; border-radius: 12px; background: var(--info-bg); border: 1px solid #eedcae; padding: 14px 16px; font-size: .94rem; }
.form-success__ref { color: var(--text-soft); font-size: .94rem; }

/* ---------- Area + FAQ ---------- */
.info__grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .info__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } }
.area p { color: var(--text-soft); }
.city-list { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.city-list li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 700; color: var(--text); }
.city-list svg { color: var(--red); }
.city-list__more { background: transparent !important; border-style: dashed !important; color: var(--text-soft) !important; font-weight: 600 !important; }
.area__note { font-size: .95rem; }
.faq__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 14px 2px; font-weight: 800; font-size: 1.03rem; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
.faq__chev { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); position: relative; }
.faq__chev::before {
  content: ""; position: absolute; left: 50%; top: 45%; width: 7px; height: 7px;
  border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
  transform: translate(-50%, -50%) rotate(45deg); transition: transform .2s ease;
}
.faq[open] .faq__chev::before { transform: translate(-50%, -20%) rotate(-135deg); }
.faq__a { padding: 0 2px 18px; color: var(--text-soft); max-width: 62ch; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-soft); font-size: .95rem; }
.site-footer__lights { width: 100%; height: 16px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer__grid { display: grid; gap: 28px; padding-block: 40px 28px; }
@media (min-width: 760px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer__brand p { margin-top: 14px; max-width: 34em; }
.site-footer__heading { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brass-2); margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.site-footer li a { display: inline-flex; min-height: 38px; align-items: center; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-block: 16px 24px; border-top: 1px solid var(--line-dark); font-size: .86rem; color: #9aa0b0; }
.site-footer__base p { margin: 0; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { display: none; }
@media (max-width: 899.98px) {
  body.has-sticky-cta { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(17 23 38 / 97%); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--line-dark); color: var(--on-ink);
    transition: transform .25s ease, visibility 0s linear 0s;
  }
  .sticky-cta.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s ease, visibility 0s linear .25s; }
  .sticky-cta__inner { display: flex; align-items: center; gap: 12px; max-width: 640px; margin-inline: auto; }
  .sticky-cta__offer { margin: 0; flex: 1; font-size: .86rem; line-height: 1.3; }
  .sticky-cta__offer strong { color: #f3dda6; }
  .sticky-cta .btn { flex: none; }
}

/* ---------- Legal & status pages ---------- */
.legal__header { background: var(--ink); color: var(--white); padding-block: clamp(36px, 6vw, 64px); }
.legal__title { font-size: clamp(2rem, 6vw, 3rem); margin: 0; color: var(--white); }
.legal__meta { margin: 8px 0 0; color: var(--on-ink-soft); }
.legal__body { padding-block: 36px 72px; }
.legal__body .form-alert { margin-bottom: 24px; }
.legal__intro { font-size: 1.12rem; }
.legal__toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0 36px; }
.legal__toc-title { font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 8px; }
.legal__toc ol { margin: 0; columns: 2 200px; column-gap: 32px; }
.legal__toc li { margin: 4px 0; break-inside: avoid; }
.legal__section { margin-bottom: 36px; }
.legal__section h2 { font-size: 1.4rem; }
.legal__section li { margin-bottom: .4em; }
.section .status-page { text-align: center; padding-block: 24px; }
.status-page__icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--success-bg); color: var(--success); margin-bottom: 18px; }
.status-page--test .status-page__icon { background: var(--info-bg); color: #8a5a00; }
.status-page__title { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.status-page__lead { font-size: 1.1rem; color: var(--text-soft); max-width: 36em; margin-inline: auto; }
.status-page__ref { color: var(--text-soft); }

/* ---------- Motion & accessibility preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .tw { animation: none; }
  .work__link:hover img, .video-tile__launch:hover img { transform: none; }
}
@media (forced-colors: active) {
  .btn { border-color: ButtonText; }
  .field__input, .file-drop { border-color: FieldText; }
}
@media print {
  .site-header, .sticky-cta, .preview-banner, .site-footer__lights { display: none !important; }
}

/* ---------- v6.1 fixes ---------- */
.trust__list { margin-block: 0; }
.brand img { margin: 0; width: 84px; }
:root { --header-h: 72px; }
.site-header__inner { min-height: 72px; padding-block: 4px; }
@media (min-width: 1024px) { .brand img { width: 100px; margin: 0; } .site-header__inner { min-height: 86px; } :root { --header-h: 86px; } }

/* Desktop project grid: fixed rows so the wide tile never stretches a row */
@media (min-width: 900px) {
  .work__grid { grid-auto-rows: 300px; }
  .work__item, .work__item--wide { aspect-ratio: auto; height: 100%; }
}

@media (max-width: 559.98px) {
  .form-row--3 { grid-template-columns: 1.25fr .85fr; }
  .form-row--3 > [data-field="preferredDate"] { grid-column: 1 / -1; }
}
.form-more__summary { flex-wrap: wrap; row-gap: 0; }
.form-more__summary .field__optional { font-weight: 500; }

/* ---------- v6.2 — mobile first screen (Codex QA) ---------- */
/* Without JavaScript the sticky bar can't know what's on screen, so it stays off;
   the header and hero quote buttons remain. */
.no-js .sticky-cta { display: none !important; }
.no-js body.has-sticky-cta, html.no-js body { padding-bottom: 0; }

@media (max-width: 959.98px) {
  .hero .eyebrow { margin-bottom: 8px; font-size: .72rem; }
  .hero__title { font-size: clamp(1.85rem, 8.2vw, 2.8rem); margin-bottom: .3em; }
  .hero__lead { font-size: clamp(1rem, 4.1vw, 1.12rem); margin-bottom: 16px; }
  .hero__actions { flex-wrap: nowrap; align-items: center; gap: 14px; margin-bottom: 14px; }
  .hero__actions .btn--primary { min-height: 52px; }
  .hero .hero__secondary {
    flex: none; min-height: 44px; padding: 0 4px; border: 0; background: none; border-radius: 6px;
    color: var(--white); font-size: .95rem; text-decoration: underline; text-underline-offset: .2em;
  }
  .hero .hero__secondary:hover { background: none; }
  .offer-line--hero { padding-top: 12px; font-size: .92rem; gap: 6px 10px; }
}
@media (max-width: 359.98px) {
  .hero__title { font-size: 1.72rem; }
  .hero__lead { font-size: .98rem; }
  .hero .hero__secondary { font-size: .88rem; }
}
/* No-JS phones: keep the header to one row (logo + quote button); section links live in the footer. */
@media (max-width: 1023.98px) {
  .no-js .site-header__inner { flex-wrap: nowrap; }
  .no-js .site-nav { width: auto; }
  .no-js .site-nav__list { flex-wrap: nowrap; }
  .no-js .site-nav__list li:not(.site-nav__cta) { display: none; }
  .no-js .site-nav__cta { margin: 0; }
  .no-js .site-nav__cta .btn { width: auto; min-height: 42px; }
}
