/* Patriotic interaction layer. Static content remains usable without motion. */
:root { --font-display: "Barlow Condensed", "Arial Narrow", sans-serif; }
h1, h2, h3, .section-title, .vt__title, .process-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-variation-settings: normal;
  letter-spacing: -.015em;
}
.form-card h2, .form-success h3, .editorial__body h2, .owner-note__body h2,
.evidence-card__title { font-family: var(--font-display); font-weight: 700; }
.form-card h2 { font-size: 2.25rem; }
.lead, .section-lead { font-family: var(--font-sans); font-size: 1.2rem; line-height: 1.6; }
.hero-jump { margin-bottom: 20px; }
.form-actions { flex-wrap: wrap; }
.form-actions [type="submit"] { font-size: 16px; flex: 1; min-width: 200px; white-space: normal; }
.gallery-controls[hidden] { display: none; }
.hero h1 { font-size: clamp(3.1rem, 5.8vw, 5.3rem); line-height: .98; text-transform: uppercase; }
.hero h1 .em { font-style: normal; font-weight: 800; }
.hero__lead { font-family: var(--font-sans); font-size: 1.2rem; line-height: 1.6; }
.hero__lead em { font-style: normal; font-weight: 800; }
.hero__grid { position: relative; z-index: 2; }
.header__phone strong { color: inherit; }
.field-row.three { grid-template-columns: 1fr 1fr; }
.field-row.three .field:first-child { grid-column: 1/-1; }
.hero-jump { display: inline-flex; margin-top: 20px; font-weight: 800; color: var(--red); text-underline-offset: 5px; }
.hero { isolation: isolate; }
.hero::before {
  inset: 0; width: auto; height: auto;
  background: repeating-linear-gradient(90deg, transparent 0 3px, #0a2a5e06 3px 4px);
  opacity: .5;
}
.heritage-flag {
  position: absolute; right: -6%; top: 4%; width: min(64vw, 920px);
  aspect-ratio: 1.9; opacity: .1; z-index: 0; pointer-events: none;
  transform-origin: left center; animation: flag-wave 8s ease-in-out infinite alternate;
  background: repeating-linear-gradient(to bottom, var(--red) 0 7.69%, #fff 7.69% 15.38%);
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.heritage-flag__canton {
  width: 40%; height: 53.85%; background: var(--navy); display: grid;
  grid-template-rows: repeat(9, 1fr); padding: 3%;
}
.heritage-flag__row { display: flex; justify-content: space-around; align-items: center; }
.heritage-flag__row i { width: 8%; aspect-ratio: 1; background: white; clip-path: polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 94%,50% 72%,21% 94%,32% 57%,2% 35%,39% 35%); }
.hero__image { animation: photo-settle 1.6s ease-out both; }
.hero__image-wrap { cursor: zoom-in; }
.hero__image-caption { pointer-events: none; }
.hero__image-wrap .photo-open {
  position: absolute; inset: 0; width: 100%; border: 0; background: transparent; cursor: zoom-in;
}
.photo-open:focus-visible { outline: 4px solid var(--gold); outline-offset: -6px; }
.form-card.is-visible::before { transform-origin: left; animation: stripe-draw 1s ease-out both; }
.form-step[data-visible="true"] { animation: step-enter .28s ease-out; }
.form-status { font-size: 18px; line-height: 1.5; margin-top: 16px; color: var(--navy); }
.field-error { color: #8b1420; font-size: 16px; margin-top: 6px; }
[aria-invalid="true"] { border-color: var(--red) !important; outline: 2px solid #b21f2e22; }
.form-success[data-visible="true"] { animation: step-enter .4s ease-out; }
.form-progress__bar { transition: width .4s ease; }
.btn { transition: transform .2s, box-shadow .2s, background .2s; }
.btn:active { transform: translateY(1px) scale(.985); }
.btn:disabled { cursor: wait; opacity: .7; }
.stat-band, .objection { position: relative; }
.stat-band::before, .objection::before {
  content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 8px;
  background: linear-gradient(110deg, var(--red) 0 33%, var(--ivory) 33% 66%, var(--navy) 66%);
  clip-path: polygon(0 40%,100% 0,100% 100%,0 100%);
}
.reading-progress { position: fixed; left: 0; top: 0; width: 100%; height: 4px; z-index: 200; background: var(--red); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.experience { padding: clamp(48px,7vw,96px) 0; }
.experience__intro { max-width: 710px; margin-bottom: 32px; }
.experience__intro h2 { font-size: clamp(2.4rem,4vw,3.4rem); line-height: 1.06; margin: 12px 0 18px; }
.experience__intro p, .experience p { font-size: 18px; line-height: 1.65; }
.roof-explorer { display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; }
.roof-scene { position: relative; border-radius: 16px; overflow: hidden; background: var(--navy); }
.roof-scene > img { width: 100%; display: block; aspect-ratio: 4/3; object-fit: cover; }
.roof-scene__note { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px 16px; color: white; font-size: 14px; background: #061f47dd; }
.hotspot { position: absolute; transform: translate(-50%,-50%); min-width: 46px; height: 46px; border: 3px solid white; border-radius: 50%; background: var(--red); color: white; font: 800 18px var(--font-sans); box-shadow: 0 0 0 5px #061f4750; cursor: pointer; }
.hotspot[aria-pressed="true"] { background: var(--navy); box-shadow: 0 0 0 7px #e2c36baa; }
.hotspot-detail { background: var(--ivory); padding: 30px; border-left: 4px solid var(--red); min-height: 220px; }
.hotspot-detail h3 { font-size: 32px; margin: 8px 0 14px; }
.explorer-controls, .checklist-controls, .coverage-controls, .gallery-controls { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.experience button:not(.hotspot):not(.gallery-card), .checklist-controls button, .gallery-controls button {
  min-height: 46px; padding: 10px 18px; border: 1px solid #0a2a5e55; border-radius: 6px;
  color: var(--navy); background: var(--ivory); font: 700 16px var(--font-sans); cursor: pointer;
}
.experience button[aria-pressed="true"], .checklist-controls button[aria-pressed="true"] { color: var(--ivory); background: var(--navy); }
.checklist-status { display: block; font-size: 18px; color: var(--navy); margin-bottom: 14px; }
.checklist-meter { height: 5px; background: #0a2a5e15; margin-bottom: 24px; }
.checklist-meter span { display: block; height: 100%; background: var(--red); width: 100%; transition: width .4s; }
.inspect-item[hidden] { display: none; }
.inspect-item { animation: step-enter .35s ease both; }
.gallery-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 24px; }
.gallery-card { padding: 0; text-align: left; border: 0; border-radius: 12px; overflow: hidden; background: var(--navy); color: white; cursor: zoom-in; }
.gallery-card img { width: 100%; height: 330px; object-fit: cover; transition: transform .6s ease; }
.gallery-card:nth-child(2) img { object-position: center 30%; }
.gallery-card span { display: block; padding: 18px 22px; font-size: 18px; font-weight: 700; }
.gallery-card small { display: block; margin-top: 5px; font-weight: 400; font-size: 15px; opacity: .8; }
.asset-pending { border-top: 1px solid #0a2a5e22; margin-top: 32px; padding-top: 22px; }
.asset-pending summary { font-size: 18px; font-weight: 700; cursor: pointer; }
.asset-pending p { margin-top: 12px; }
.coverage-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.coverage-map { position: relative; min-height: 290px; background-color: var(--navy-deep); background-image: linear-gradient(#ffffff06 1px, transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px); background-size: 30px 30px; border-radius: 14px; }
.coverage-map button { position: absolute; border: 1px solid #ffffff66 !important; padding: 14px 22px !important; min-width: 85px; font-size: 22px !important; }
.coverage-map [data-state="OK"] { left: 14%; top: 52%; }
.coverage-map [data-state="AR"] { left: 59%; top: 56%; }
.coverage-map [data-state="MO"] { left: 59%; top: 16%; }
.coverage-map::before { content: ""; position: absolute; width: 41%; height: 37%; top: 33%; left: 31%; border-right: 2px dashed #ffffff66; border-bottom: 2px dashed #ffffff66; }
.coverage-map button[aria-pressed="true"] { background: var(--red) !important; color: white !important; }
.coverage-map small { position: absolute; bottom: 12px; left: 18px; right: 18px; color: #ffffffbb; font-size: 13px; }
.coverage-result { border-bottom: 3px solid var(--red); padding: 10px 0 22px; }
.coverage-result h3 { font-size: 36px; margin-bottom: 12px; }
.coverage-result a { color: var(--red); font-weight: 700; text-underline-offset: 4px; }
.media-dialog { margin: auto; width: min(1050px,94vw); max-height: 92dvh; padding: 22px; border: 0; border-radius: 16px; background: var(--ivory); color: var(--ink); overflow: auto; }
.media-dialog::backdrop { background: #061f47ed; backdrop-filter: blur(6px); }
body:has(.media-dialog[open]) { overflow: hidden; }
.dialog-top { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-bottom: 16px; }
.dialog-top h2 { font-size: 28px; }
.dialog-close { padding: 10px 18px; min-height: 44px; border: 1px solid var(--navy); background: transparent; color: var(--navy); border-radius: 6px; font: 700 16px var(--font-sans); cursor: pointer; white-space: nowrap; flex-shrink: 0; }
.dialog-media img { width: 100%; max-height: 66vh; object-fit: contain; }
.dialog-media video { width: 100%; max-height: 66vh; }
.dialog-media p { font-size: 18px; margin: 12px 0; }
.faq-toggle { transition: transform .25s; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item[open] .faq-body { animation: faq-enter .3s ease-out; }
.comparison { position: relative; aspect-ratio: 4/3; overflow: hidden; --split: 50%; }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-height: none; }
.comparison .comparison-before { clip-path: inset(0 calc(100% - var(--split)) 0 0); }
.comparison::after { content: ""; position: absolute; left: var(--split); top: 0; bottom: 0; width: 3px; background: white; pointer-events: none; }
.comparison-labels { display: flex; justify-content: space-between; margin: 8px 0; font-weight: 800; }
.comparison-range { width: 100%; height: 44px; accent-color: var(--red); }
:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
@keyframes flag-wave { from { transform: perspective(800px) rotateY(-8deg) skewY(-2deg); } to { transform: perspective(800px) rotateY(8deg) skewY(2deg); } }
@keyframes photo-settle { from { transform: scale(1.05); filter: brightness(.8); } to { transform: scale(1); filter: brightness(1); } }
@keyframes stripe-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes step-enter { from { opacity: 0; } to { opacity: 1; } }
@keyframes faq-enter { from { opacity: 0; clip-path: inset(0 0 100%); } to { opacity: 1; clip-path: inset(0); } }
@media (hover:hover) {
  .gallery-card:hover img { transform: scale(1.035); }
  .btn:hover { transform: translateY(-2px); box-shadow: 0 9px 22px #061f4725; }
}
@media (max-width: 719px) {
  .roof-explorer, .coverage-layout, .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card img { height: 270px; }
  .heritage-flag { width: 100vw; top: 1%; right: -15%; opacity: .07; }
  .hotspot-detail { padding: 22px; min-height: 240px; }
  .explorer-controls button { flex: 1; }
  .header__phone { padding: 10px 12px; }
  .hero__image-caption { font-size: 13px; left: 8px; right: 8px; bottom: 8px; padding: 8px; }
  .media-dialog { padding: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .hero h1 .word, html.js [data-reveal] { opacity: 1 !important; transform: none !important; }
}
html.motion-off *, html.motion-off *::before, html.motion-off *::after {
  animation: none !important; transition: none !important; scroll-behavior: auto !important;
}
html.motion-off .hero h1 .word, html.motion-off [data-reveal] { opacity: 1 !important; transform: none !important; }
