:root {
  --ink: #17352d;
  --pine: #1f493e;
  --pine-deep: #102e27;
  --cream: #f3efe5;
  --paper: #fbfaf6;
  --fir: #bd7b43;
  --gold: #d6a15f;
  --line: #d8d2c5;
  --muted: #637069;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
svg { width: 1em; height: 1em; }
[hidden] { display: none !important; }

.topbar {
  min-height: 42px;
  background: var(--pine-deep);
  color: #e9e4d7;
  padding: .42rem 5vw;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.2rem;
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.back-link {
  justify-self: start;
  min-height: 28px;
  padding: 0 .72rem;
  border: 1px solid rgba(255,255,255,.38);
  display: inline-flex;
  align-items: center;
  gap: .48rem;
  font-weight: 800;
  transition: background .2s, border-color .2s;
}
.back-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.72); }
.back-link span { font-size: .9rem; line-height: 1; }
.topbar-message { text-align: center; white-space: nowrap; }
.topbar-balance { min-width: 235px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(245,242,233,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.primary-topbar { background: #263a2b; color: #eef3ed; font-size: 14px; }
.header-wrap { max-width: 1160px; margin: auto; padding-left: 24px; padding-right: 24px; }
.primary-topbar .header-wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.header-nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 12px; padding-bottom: 12px; }
.header-brand { display: flex; align-items: center; gap: 12px; font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 20px; }
.header-brand img { width: 76px; height: 58px; object-fit: contain; }
.navlinks { display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 700; letter-spacing: 0; text-transform: none; }
.navlinks a { padding: 0; border: 0; }
.navlinks a:hover, .navlinks a[aria-current="page"] { color: var(--fir); }
.header-quote { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; padding: 13px 20px !important; background: #263a2b; color: white !important; font-weight: 800; transition: .2s; font-size: 15px; }
.header-quote:hover { background: #314a37; transform: translateY(-1px); }
.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-main { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: 1.75rem; letter-spacing: .06em; }
.brand-sub { margin-top: .35rem; font-size: .57rem; letter-spacing: .28em; color: var(--muted); }
.header-phone { display: flex; flex-direction: column; align-items: flex-end; font-family: Georgia, serif; font-size: 1.08rem; }
.header-phone span { font-family: Arial, sans-serif; font-size: .62rem; text-transform: uppercase; letter-spacing: .13em; color: var(--muted); margin-bottom: .2rem; }

.hero { min-height: 680px; display: grid; grid-template-columns: 48% 52%; background: var(--cream); }
.hero-copy { padding: clamp(4rem, 8vw, 8rem) 7vw clamp(4rem, 7vw, 7rem) 8vw; display: flex; flex-direction: column; justify-content: center; }
.eyebrow { margin: 0 0 1.35rem; color: var(--fir); font-size: .7rem; font-weight: 800; letter-spacing: .22em; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; margin: 0; }
h1 { max-width: 710px; font-size: clamp(3.2rem, 5.1vw, 5.5rem); line-height: .98; letter-spacing: -.045em; }
.hero-lede { max-width: 640px; margin: 2rem 0 0; color: #53635c; font-size: 1.12rem; line-height: 1.75; }
.hero-actions { margin-top: 2.2rem; display: flex; align-items: center; gap: 1.6rem; }
.button { min-height: 54px; padding: 0 1.35rem; display: inline-flex; align-items: center; gap: 1rem; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.button-primary { background: var(--pine); color: white; }
.button-primary:hover { background: var(--pine-deep); }
.text-link { font-size: .82rem; font-weight: 700; border-bottom: 1px solid #a8aaa3; padding-bottom: .25rem; }
.hero-points { list-style: none; padding: 2.2rem 0 0; margin: 2.2rem 0 0; border-top: 1px solid #d5ccbb; display: flex; flex-wrap: wrap; gap: .7rem 1.3rem; font-size: .72rem; font-weight: 700; color: #4d5a54; }
.hero-points li { display: flex; align-items: center; gap: .45rem; }
.check { color: var(--fir); font-weight: 900; }
.hero-visual {
  min-height: 680px;
  position: relative;
  background-color: #5c6a5e;
  background-image: linear-gradient(180deg, rgba(13,32,27,.02), rgba(13,32,27,.4)), url('../images/screen-door-hero.webp');
  background-size: cover;
  background-position: center;
}
.hero-badge { position: absolute; left: -52px; top: 62px; width: 112px; height: 112px; border-radius: 50%; background: var(--fir); color: white; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; box-shadow: 0 15px 35px rgba(20,30,24,.22); }
.hero-badge strong { font-family: Georgia, serif; font-size: 1.7rem; line-height: 1; }
.hero-badge span { font-size: .58rem; line-height: 1.3; letter-spacing: .09em; text-transform: uppercase; margin-top: .35rem; }
.hero-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.5rem; color: white; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(90deg, rgba(9,30,24,.82), rgba(9,30,24,.15)); font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; }
.hero-caption strong { font-weight: 700; }

.intro { padding: 7rem 8vw 4rem; display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; align-items: end; }
.intro h2, .quote-copy h2 { font-size: clamp(2.5rem, 4vw, 4.3rem); line-height: 1.03; letter-spacing: -.035em; }
.intro > p { max-width: 670px; margin: 0; color: var(--muted); line-height: 1.9; }
.option-strip { margin: 0 8vw 7rem; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.option-strip article { padding: 2.2rem 3rem 2.4rem 0; }
.option-strip article + article { border-left: 1px solid var(--line); padding-left: 3rem; }
.option-strip span { color: var(--fir); font-size: .65rem; font-weight: 800; letter-spacing: .18em; }
.option-strip h3 { font-size: 1.55rem; margin-top: 1rem; }
.option-strip p { margin: .8rem 0 0; color: var(--muted); font-size: .88rem; line-height: 1.7; }

.craft-section { margin: 0 8vw 7rem; display: grid; grid-template-columns: 1fr 1fr; min-height: 640px; background: var(--cream); }
.craft-image { position: relative; min-height: 560px; overflow: hidden; background: #d9d4c6; }
.craft-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.material-card { position: absolute; left: 2rem; bottom: 2rem; min-width: 235px; padding: 1.4rem 1.5rem; background: rgba(251,250,246,.94); display: flex; flex-direction: column; box-shadow: 0 18px 45px rgba(20,31,26,.18); }
.material-card span { color: var(--fir); font-size: .58rem; font-weight: 800; letter-spacing: .16em; }
.material-card strong { margin-top: .55rem; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; line-height: 1.12; }
.material-card small { margin-top: .7rem; color: var(--muted); font-size: .68rem; }
.craft-copy { padding: clamp(3rem, 6vw, 6rem); display: flex; flex-direction: column; justify-content: center; }
.craft-copy h2, .section-heading h2, .faq-section h2, .final-cta h2 { font-size: clamp(2.5rem, 4vw, 4.2rem); line-height: 1.04; letter-spacing: -.035em; }
.craft-copy > p:not(.eyebrow) { margin: 1.5rem 0 0; color: var(--muted); line-height: 1.85; }
.craft-copy ul { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.craft-copy li { padding: 1.15rem 0; border-bottom: 1px solid var(--line); display: flex; gap: .9rem; color: var(--fir); }
.craft-copy li > span:last-child { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.craft-copy li strong { display: block; color: var(--ink); font-size: .8rem; margin-bottom: .18rem; }
.testimonial { margin: 0; padding: 4rem 12vw; background: var(--fir); color: white; text-align: center; }
.testimonial p { max-width: 900px; margin: 0 auto; font-family: Georgia, serif; font-size: clamp(1.65rem, 2.5vw, 2.7rem); line-height: 1.35; }
.testimonial span { display: block; margin-top: 1.5rem; font-size: .62rem; font-weight: 800; letter-spacing: .16em; color: #f7e3ce; }

.quote-section { padding: 7rem 8vw; background: var(--pine-deep); color: white; display: grid; grid-template-columns: .78fr 1.22fr; gap: 7vw; align-items: start; }
.eyebrow.light { color: var(--gold); }
.quote-copy { position: sticky; top: 3rem; }
.quote-copy > p:not(.eyebrow) { max-width: 520px; color: #bdc9c4; line-height: 1.8; margin: 1.5rem 0 0; }
.quote-contact { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); display: flex; flex-direction: column; gap: .45rem; }
.quote-contact span { color: #9eaca6; font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; }
.quote-contact a { font-family: Georgia, serif; font-size: 1.08rem; }
.quote-form { background: var(--paper); color: var(--ink); padding: clamp(1.6rem, 3.4vw, 3.2rem); box-shadow: 0 28px 60px rgba(0,0,0,.17); }
.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.form-heading span { font-size: .72rem; font-weight: 800; letter-spacing: .18em; }
.form-heading small { color: var(--muted); font-size: .68rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.form-grid label { color: #52615b; font-size: .71rem; font-weight: 800; letter-spacing: .03em; }
.form-grid .full { grid-column: 1 / -1; }
.design-picker { min-width: 0; margin: .15rem 0 .35rem; padding: 0; border: 0; }
.design-picker legend { margin: 0; padding: 0; color: #52615b; font-size: .71rem; font-weight: 800; letter-spacing: .03em; }
.design-picker > p { margin: .45rem 0 1rem; color: #77817c; font-size: .68rem; font-weight: 400; line-height: 1.5; }
.design-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .7rem; }
.design-option { position: relative; min-width: 0; cursor: pointer; }
.design-option > input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.design-card { height: 100%; min-width: 0; padding: .45rem; border: 1px solid #c9c5bb; background: #fff; display: flex; flex-direction: column; align-items: stretch; transition: border-color .18s, box-shadow .18s, transform .18s; }
.design-card img { display: block; width: 100%; aspect-ratio: 300 / 650; object-fit: contain; background: #f6f3eb; }
.design-card strong { min-height: 2.5rem; padding: .7rem .15rem .25rem; color: var(--ink); font-family: Georgia, "Times New Roman", serif; font-size: .83rem; font-weight: 400; line-height: 1.2; text-align: center; }
.design-option:hover .design-card { border-color: var(--fir); transform: translateY(-2px); }
.design-option > input:focus-visible + .design-card { outline: 3px solid rgba(189,123,67,.28); outline-offset: 2px; }
.design-option > input:checked + .design-card { border: 2px solid var(--pine); padding: calc(.45rem - 1px); box-shadow: 0 0 0 3px rgba(31,73,62,.13); }
.design-option > input:checked + .design-card::after { content: "Selected"; margin: .2rem auto .25rem; color: var(--pine); font-size: .54rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.design-option-other { grid-column: span 2; }
.design-option-other .design-card { min-height: 15rem; justify-content: center; background: var(--cream); }
.design-option-other .design-card strong { min-height: 0; font-size: 1rem; }
.design-card .custom-mark { width: 4rem; height: 4rem; margin: 0 auto .8rem; border: 1px solid var(--fir); border-radius: 50%; display: grid; place-items: center; color: var(--fir); font-family: Georgia, serif; font-size: 2rem; }
.design-card small { padding: .35rem .65rem 0; color: var(--muted); font-size: .62rem; font-weight: 400; line-height: 1.45; text-align: center; }
input, select, textarea { width: 100%; margin-top: .48rem; border: 1px solid #c9c5bb; border-radius: 0; background: #fff; color: var(--ink); padding: .85rem .9rem; outline: none; transition: border .2s, box-shadow .2s; }
input, select { height: 48px; }
textarea { resize: vertical; min-height: 110px; }
input:focus, select:focus, textarea:focus { border-color: var(--fir); box-shadow: 0 0 0 3px rgba(189,123,67,.13); }
input[type="file"] { height: auto; padding: .7rem; background: #f6f3eb; }
.photo-field > span { display: block; margin-top: .45rem; color: #7b847f; font-size: .64rem; font-weight: 400; letter-spacing: 0; }
.consent-field { display: flex; align-items: flex-start; gap: .65rem; font-weight: 400 !important; line-height: 1.5; }
.consent-field input { flex: 0 0 auto; width: 18px; height: 18px; margin: .1rem 0 0; padding: 0; accent-color: var(--pine); }
.consent-field a { text-decoration: underline; font-weight: 700; }
.honeypot { position: absolute; left: -10000px; }
.form-note, .privacy-note { color: #77817c; font-size: .7rem; line-height: 1.6; }
.form-note { margin: 1.3rem 0; }
.form-error { padding: .8rem; background: #f6e4df; color: #862f22; font-size: .78rem; line-height: 1.5; }
.submit-button { width: 100%; border: 0; min-height: 56px; padding: 0 1.25rem; background: var(--fir); color: white; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.submit-button:hover { background: #a96630; }
.submit-button:disabled { opacity: .65; cursor: wait; }
.privacy-note { text-align: center; margin: .8rem 0 0; }
.success-panel { min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.success-mark { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #dfece5; color: var(--pine); font-size: 1.5rem; margin-bottom: 2rem; }
.success-panel h3 { font-size: 2.6rem; }
.success-panel > p:not(.eyebrow) { color: var(--muted); line-height: 1.8; max-width: 520px; }
.text-button { padding: 0 0 .2rem; margin-top: 1rem; border: 0; border-bottom: 1px solid var(--ink); background: transparent; cursor: pointer; color: var(--ink); font-weight: 700; }

.process-section { padding: 7rem 8vw; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8vw; background: var(--paper); }
.section-heading > p:not(.eyebrow) { max-width: 510px; color: var(--muted); line-height: 1.8; }
.process-list { list-style: none; padding: 0; margin: 0; }
.process-list li { padding: 1.6rem 0; display: grid; grid-template-columns: 58px 1fr; gap: 1.3rem; border-top: 1px solid var(--line); }
.process-list li:last-child { border-bottom: 1px solid var(--line); }
.process-list > li > span { color: var(--fir); font-size: .68rem; font-weight: 800; letter-spacing: .16em; padding-top: .35rem; }
.process-list h3 { font-size: 1.45rem; }
.process-list p { margin: .55rem 0 0; color: var(--muted); font-size: .84rem; line-height: 1.7; }
.faq-section { padding: 7rem 8vw; display: grid; grid-template-columns: .7fr 1.3fr; gap: 10vw; background: var(--cream); }
.faq-list { border-top: 1px solid #cfc6b6; }
.faq-list details { border-bottom: 1px solid #cfc6b6; }
.faq-list summary { position: relative; padding: 1.45rem 2.5rem 1.45rem 0; cursor: pointer; list-style: none; font-family: Georgia, serif; font-size: 1.14rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .2rem; top: 1.35rem; color: var(--fir); font-family: Arial, sans-serif; font-size: 1.4rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -.35rem 2.5rem 1.4rem 0; color: var(--muted); font-size: .84rem; line-height: 1.75; }
.final-cta { padding: 5rem 8vw; background: var(--pine); color: white; display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.final-cta h2 { max-width: 780px; }
.button-light { flex: 0 0 auto; background: white; color: var(--pine-deep); }
.button-light:hover { background: var(--cream); }

footer { padding: 3.2rem 8vw; background: #0a211c; color: #d8dfdb; display: grid; grid-template-columns: 1fr auto auto; gap: 5rem; align-items: center; font-size: .78rem; line-height: 1.7; }
.brand-footer .brand-sub { color: #9faca6; }
footer p { margin: 0; }
footer a:hover { text-decoration: underline; }

.confirmation-page { min-height: 100vh; display: grid; place-items: center; padding: 6vw; background: var(--pine-deep); }
.confirmation-card { width: min(720px, 100%); padding: clamp(2rem, 6vw, 5rem); background: var(--paper); box-shadow: 0 30px 70px rgba(0,0,0,.25); }
.confirmation-card h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.confirmation-card > p:not(.eyebrow) { margin: 1.5rem 0 0; color: var(--muted); line-height: 1.8; }
.confirmation-actions { margin-top: 2rem; display: flex; align-items: center; flex-wrap: wrap; gap: 1.5rem; }

.privacy-topbar { grid-template-columns: 1fr; }
.privacy-page { background: var(--cream); }
.privacy-content { width: min(820px, calc(100% - 2rem)); margin: 4rem auto; padding: clamp(2rem, 6vw, 5rem); background: var(--paper); box-shadow: 0 24px 55px rgba(20,31,26,.12); }
.privacy-content > .brand { margin-bottom: 4rem; }
.privacy-content h1 { font-size: clamp(2.7rem, 6vw, 4.7rem); }
.privacy-content section { padding: 1.8rem 0; border-top: 1px solid var(--line); }
.privacy-content section:first-of-type { margin-top: 2.5rem; }
.privacy-content section h2 { font-size: 1.65rem; }
.privacy-content section p { color: var(--muted); line-height: 1.8; }
.privacy-content section a { text-decoration: underline; font-weight: 700; }
.privacy-updated { color: var(--muted); font-size: .75rem; margin: 1.2rem 0 0; }
.privacy-content > .button { margin-top: 1rem; }

@media (max-width: 980px) {
  .navlinks a:not(.header-quote) { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-left: 8vw; padding-right: 8vw; }
  .hero-visual { min-height: 520px; order: -1; }
  .hero-badge { left: auto; right: 6vw; top: auto; bottom: -52px; }
  .quote-section { grid-template-columns: 1fr; }
  .quote-copy { position: static; }
  .craft-section { grid-template-columns: 1fr; }
  .craft-image { min-height: 520px; }
  .process-section, .faq-section { grid-template-columns: 1fr; gap: 3.5rem; }
  .design-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  .primary-topbar .header-wrap { justify-content: center; }
  .primary-topbar .header-wrap span:last-child { display: none; }
  .header-wrap { padding-left: 18px; padding-right: 18px; }
  .header-brand span { display: none; }
  .header-brand img { width: 64px; height: 48px; }
  .header-quote { padding: 11px 14px !important; font-size: 13px; }
  .topbar { min-height: 44px; padding: .4rem 5vw; grid-template-columns: 1fr; font-size: .58rem; }
  .back-link { justify-self: stretch; justify-content: center; }
  .topbar-message, .topbar-balance { display: none; }
  .brand-main { font-size: 1.4rem; }
  .header-phone span { display: none; }
  .header-phone { font-family: Arial, sans-serif; font-size: .72rem; font-weight: 800; }
  .hero { min-height: 0; }
  .hero-visual { min-height: 390px; }
  .hero-copy { padding-top: 5rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.1rem; }
  .hero-points { flex-direction: column; }
  .intro { grid-template-columns: 1fr; padding-top: 5rem; gap: 1.5rem; }
  .option-strip { grid-template-columns: 1fr; margin-bottom: 5rem; }
  .option-strip article { padding: 2rem 0; }
  .option-strip article + article { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .quote-section { padding: 5rem 5vw; }
  .craft-section { margin: 0 5vw 5rem; }
  .craft-image { min-height: 410px; }
  .material-card { left: 1rem; bottom: 1rem; }
  .craft-copy { padding: 3rem 1.5rem; }
  .testimonial { padding: 3.5rem 8vw; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .design-picker.full { grid-column: auto; }
  .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .design-option-other { grid-column: span 2; }
  .form-heading { align-items: flex-start; flex-direction: column; gap: .5rem; }
  .process-section, .faq-section { padding: 5rem 8vw; }
  .final-cta { align-items: flex-start; flex-direction: column; }
  footer { grid-template-columns: 1fr; gap: 1.4rem; }
  .confirmation-actions { align-items: flex-start; flex-direction: column; }
  .privacy-content { margin: 1rem auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
