:root {
  --navy: #092743;
  --blue: #2f789d;
  --blue-dark: #0c527d;
  --red: #d9281c;
  --cream: #f7f5ef;
  --ink: #10293d;
  --muted: #61737e;
  --line: #cbd7dc;
  --white: #fff;
  --shadow: 0 22px 60px rgba(16,42,67,.12);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font-family: Arial, Helvetica, sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-header { height: 78px; padding: 0 max(24px, calc((100vw - 1240px)/2)); display: flex; align-items: center; justify-content: space-between; background: var(--white); border-bottom: 1px solid var(--line); }
.brand { color: var(--navy); display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: white; background: var(--blue); font-weight: 900; letter-spacing: -.05em; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 15px; letter-spacing: .01em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 11px; }
.privacy-pill { padding: 9px 14px; border: 1px solid #bcd8c7; border-radius: 999px; color: #21613d; background: #eef8f1; font-size: 12px; font-weight: 700; }

main { max-width: 1240px; margin: 0 auto; padding: 64px 24px 0; }
.intro { max-width: 720px; margin-bottom: 42px; }
.eyebrow { margin: 0 0 12px; color: var(--blue); font-size: 12px; font-weight: 900; letter-spacing: .16em; }
.intro h1 { margin: 0; color: var(--navy); font-family: Georgia, "Times New Roman", serif; font-size: clamp(44px, 6vw, 74px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.intro > p:last-child { max-width: 650px; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.6; }

.builder { display: grid; grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr); gap: 34px; align-items: start; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 8px 30px rgba(16,42,67,.05); }
.form-panel { padding: 28px; }
.panel-heading, .preview-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.panel-heading > div, .preview-bar > div { display: flex; align-items: center; gap: 11px; }
.step { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; color: var(--blue); background: #e7f3fa; font-size: 11px; font-weight: 900; }
h2 { margin: 0; color: var(--navy); font-size: 22px; letter-spacing: -.025em; }
.text-button { padding: 5px; border: 0; color: var(--muted); background: none; cursor: pointer; font-size: 12px; text-decoration: underline; }

.photo-drop { min-height: 94px; padding: 16px; display: flex; align-items: center; gap: 13px; border: 1.5px dashed #9fc3d9; border-radius: 12px; background: #f4f9fc; cursor: pointer; }
.photo-drop:hover { border-color: var(--blue); background: #edf7fc; }
.photo-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.photo-icon { flex: 0 0 auto; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 10px; color: var(--blue); background: #dcedf6; font-size: 24px; }
.photo-drop strong, .photo-drop small { display: block; }
.photo-drop strong { color: var(--navy); font-size: 13px; }
.photo-drop small { margin-top: 4px; color: var(--muted); font-size: 10px; }
.choose { margin-left: auto; color: var(--blue); font-size: 11px; font-weight: 800; }
.file-name { min-height: 16px; margin: 5px 0 0; color: #21613d; font-size: 11px; }
fieldset { margin: 24px 0 0; padding: 22px 0 0; border: 0; border-top: 1px solid var(--line); }
legend { padding: 0 10px 0 0; color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.fields { display: grid; gap: 14px 12px; }
.two-col { grid-template-columns: 1fr 1fr; }
.span-two { grid-column: span 2; }
label { color: #34424e; font-size: 11px; font-weight: 800; }
label > span { color: var(--muted); font-weight: 500; }
input:not([type="checkbox"]), textarea, select { width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid #cfd9df; border-radius: 8px; outline: none; color: var(--ink); background: white; font-size: 14px; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(23,109,163,.12); }
textarea { resize: vertical; }
.check-row { margin-bottom: 16px; padding: 12px; display: flex; gap: 10px; align-items: flex-start; border-radius: 10px; background: #fff4f2; cursor: pointer; }
.check-row input { margin-top: 3px; accent-color: var(--red); }
.check-row strong, .check-row small { display: block; }
.check-row strong { color: #7f1d15; font-size: 12px; }
.check-row small { margin-top: 3px; color: #9a514c; font-size: 10px; }

.preview-column { position: sticky; top: 20px; }
.preview-bar { margin: 0 0 14px; }
.preview-bar > span { color: var(--muted); font-size: 12px; font-weight: 700; }
.poster { aspect-ratio: 8.5/11; display: flex; flex-direction: column; overflow: hidden; background: white; box-shadow: var(--shadow); font-family: Arial, Helvetica, sans-serif; }
.poster-header { flex: 0 0 16.5%; display: grid; place-items: center; color: white; background: var(--blue); }
.poster-header span { font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-size: clamp(38px, 5.1vw, 68px); letter-spacing: .015em; line-height: 1; }
.poster-location { flex: 0 0 8%; padding: 2.5% 3% 1.5%; display: grid; place-items: center; color: #111; font-size: clamp(19px, 2.8vw, 34px); font-weight: 900; text-transform: uppercase; }
.poster-body { flex: 0 0 51%; min-height: 0; padding: 1.8% 3.2% 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 3%; }
.poster-details { min-width: 0; padding-top: 1%; }
.poster-name { margin-bottom: 9%; font-size: clamp(20px, 2.7vw, 35px); font-weight: 900; text-transform: uppercase; }
.detail-block { margin-bottom: 8%; }
.detail-block b, .detail-block span { display: block; }
.detail-block b { margin-bottom: 2%; font-size: clamp(9px, 1.1vw, 14px); }
.detail-block span, .facts { font-size: clamp(10px, 1.35vw, 17px); line-height: 1.27; }
.facts { margin-bottom: 9%; }
.facts span { display: block; }
.instructions span { font-weight: 700; white-space: pre-line; line-height: 1.4; overflow-wrap: anywhere; }
.notes { padding-top: 3%; border-top: 1px solid #d9d9d9; font-size: clamp(8px, 1.1vw, 13px); line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.poster-photo-wrap { min-width: 0; min-height: 0; display: flex; flex-direction: column; overflow: hidden; }
.poster-photo-wrap img, .poster-photo-placeholder { width: 100%; height: auto; min-height: 0; flex: 1 1 0; object-fit: cover; background: #e8f1f5; }
.poster-photo-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #6f8d9e; }
.poster-photo-placeholder span { font-size: clamp(28px, 5vw, 64px); color: #b9d3e2; }
.poster-photo-placeholder strong { margin-top: 5%; font-size: clamp(9px, 1.2vw, 15px); letter-spacing: .1em; }
.chase { flex: 0 0 16%; display: grid; place-items: center; white-space: nowrap; color: var(--red); font-size: clamp(19px, 3vw, 38px); font-weight: 1000; letter-spacing: -.02em; }
.poster-contact { flex: 0 0 14%; min-width: 0; padding: 1.7% 3%; display: flex; flex-wrap: wrap; align-content: center; align-items: center; justify-content: center; gap: 5px 3%; color: var(--red); background: #f2f2f2; }
.poster-contact span { font-size: clamp(10px, 1.4vw, 17px); font-weight: 900; }
.poster-contact strong { min-width: 0; white-space: nowrap; font-size: clamp(25px, 4.6vw, 59px); letter-spacing: .01em; line-height: 1; }
.poster-contact small { flex-basis: 100%; text-align: center; color: #45525e; font-size: clamp(7px, 1vw, 12px); font-weight: 700; }
.poster-footer { flex: 0 0 10.5%; padding: 2.2% 4%; display: flex; flex-direction: column; justify-content: center; text-align: center; color: #61707c; font-size: clamp(7px, .9vw, 11px); line-height: 1.4; }
.poster-footer b { color: var(--navy); }

.actions { margin-top: 20px; display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; }
.button { min-height: 48px; padding: 13px 18px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; border: 1px solid transparent; border-radius: 9px; cursor: pointer; text-decoration: none; font-size: 13px; font-weight: 850; transition: transform .18s, background .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--blue); }
.button.primary:hover { background: var(--blue-dark); }
.button.secondary { color: var(--navy); border-color: #bdc9d1; background: transparent; }
.action-note { margin: 10px 0 0; text-align: center; color: var(--muted); font-size: 11px; }

.rescue-cta { margin-top: 88px; padding: 46px 54px; display: flex; align-items: center; justify-content: space-between; gap: 40px; border-radius: 20px; color: white; background: var(--navy); }
.rescue-cta .eyebrow { color: #77c4ed; }
.rescue-cta h2 { color: white; font-family: Georgia, "Times New Roman", serif; font-size: clamp(29px, 3vw, 42px); font-weight: 500; }
.rescue-cta p:last-child { max-width: 680px; margin: 12px 0 0; color: #c7d4de; line-height: 1.55; }
.button.light { flex: 0 0 auto; color: var(--navy); background: white; }
.site-footer { max-width: 1240px; margin: 0 auto; padding: 30px 24px 42px; display: flex; justify-content: space-between; color: var(--muted); font-size: 11px; }

@media (max-width: 940px) {
  .builder { grid-template-columns: 1fr; }
  .preview-column { position: static; }
  .poster-header span { font-size: clamp(44px, 12vw, 78px); }
  .poster-location { font-size: clamp(22px, 6vw, 38px); }
  .poster-name { font-size: clamp(22px, 6vw, 38px); }
  .detail-block b { font-size: clamp(10px, 2.7vw, 15px); }
  .detail-block span, .facts { font-size: clamp(11px, 3.1vw, 18px); }
  .chase { font-size: clamp(22px, 6.4vw, 42px); }
  .poster-contact span { font-size: clamp(11px, 3vw, 18px); }
  .poster-contact strong { font-size: clamp(25px, 8vw, 56px); }
  .poster-footer { font-size: clamp(7px, 2vw, 12px); }
}

@media (max-width: 620px) {
  .site-header { height: 68px; padding: 0 16px; }
  .brand small, .privacy-pill { display: none; }
  main { padding: 44px 14px 0; }
  .intro { margin-bottom: 30px; }
  .intro > p:last-child { font-size: 16px; }
  .form-panel { padding: 20px 16px; }
  .two-col { grid-template-columns: 1fr; }
  .span-two { grid-column: span 1; }
  .photo-drop { align-items: flex-start; }
  .choose { display: none; }
  .poster-body { grid-template-columns: .78fr 1.22fr; }
  .poster-name { margin-bottom: 6%; font-size: 19px; }
  .detail-block { margin-bottom: 6%; }
  .detail-block b { font-size: 9px; }
  .detail-block span, .facts { font-size: 10px; line-height: 1.2; }
  .facts { margin-bottom: 6%; }
  .notes { font-size: 8px; }
  .actions { grid-template-columns: 1fr; }
  .rescue-cta { margin-top: 60px; padding: 32px 24px; align-items: flex-start; flex-direction: column; }
  .button.light { width: 100%; }
  .site-footer { padding-inline: 16px; flex-direction: column; gap: 8px; }
}

/* Brand treatment mirrors the existing Superior Sky Works website. */
.site-header { height: 84px; background: #092743f5; border-bottom-color: #ffffff21; }
.brand { width: 270px; height: 62px; padding: 5px 10px; border-radius: 4px; background: var(--cream); }
.brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; }
.privacy-pill { color: #c7d8e2; background: transparent; border-color: #45667e; border-radius: 0; }
.panel { border-radius: 0; border-top: 4px solid var(--navy); }
.intro h1 { font-weight: 400; }
.button { border-radius: 0; letter-spacing: .07em; text-transform: uppercase; }
.rescue-cta { border-radius: 0; background: var(--blue); }
.rescue-cta .eyebrow { color: #e0edf3; }
.rescue-cta p:last-child { color: #e0edf3; }
.poster-footer { display: grid; grid-template-columns: 31% minmax(0, 1fr); align-items: center; gap: 3%; text-align: left; padding: 2.2% 4%; }
.poster-logo { width: 100%; height: auto; object-fit: contain; }
.poster-footer > div { min-width: 0; display: flex; flex-direction: column; gap: .1em; line-height: 1.2; overflow-wrap: anywhere; }
.site-footer { align-items: center; }
.footer-brand { display: block; width: 215px; }
.footer-brand img { display: block; width: 100%; height: auto; }
@media (max-width: 620px) {
  .site-header { height: 78px; }
  .brand { width: 235px; height: 58px; }
  .site-footer { align-items: flex-start; }
}

#singlePagePoster { display: none; }
@media print {
  body > :not(#singlePagePoster) { display: none !important; }
  #singlePagePoster { display: block !important; width: 7in !important; height: 9.05in !important; margin: 0 auto !important; object-fit: contain; break-inside: avoid; }
  @page { size: letter portrait; margin: 0.2in; }
  html, body { width: auto !important; height: auto !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; overflow: visible !important; background: white; }
  .site-header, .intro, .form-panel, .preview-bar, .actions, .action-note, .rescue-cta, .site-footer { display: none !important; }
  main, .builder, .preview-column { width: 100%; max-width: none; margin: 0 !important; padding: 0 !important; display: block; position: static; }
  .poster { width: 8.08in; height: 10.46in; margin: 0 auto; aspect-ratio: auto; box-shadow: none; overflow: hidden; break-inside: avoid; page-break-inside: avoid; print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .poster-header span { font-size: 68px; }
  .poster-location { font-size: 34px; }
  .poster-name { font-size: 35px; }
  .detail-block b { font-size: 14px; }
  .detail-block span, .facts { font-size: 17px; }
  .notes { font-size: 13px; }
  .chase { font-size: 38px; }
  .poster-contact span { font-size: 17px; }
  .poster-contact strong { font-size: 55px; }
  .poster-contact small { font-size: 12px; }
  .poster-footer { font-size: 10px; }
}
