/* JP Fehr Sheds — site styles. Brand colours from the JP Fehr logo and window-business artwork. */
:root {
  /* Calm, Pantone-inspired palette built around the JP Fehr navy */
  --navy: #2F3352;        /* ink navy (brand navy, softened) */
  --navy-900: #24273F;
  --navy-700: #454A6E;
  --coral: #9A6B57;       /* mocha accent (Pantone Mocha Mousse family) */
  --coral-700: #82584A;
  --gold: #D8C8A8;        /* sandstone */
  --gold-soft: #F1EADC;
  --sage: #A3AE9B;
  --mist: #DDE3E8;
  --cream: #F8F6F2;
  --sand: #EFEBE4;
  --brown: #6E5644;
  --ink: #24263A;
  --muted: #6C6E7B;
  --line: #E4DFD6;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(36, 39, 63, .04), 0 8px 24px rgba(36, 39, 63, .06);
  --shadow-lg: 0 20px 50px rgba(36, 39, 63, .12);
  --script: 'Allura', 'Brush Script MT', cursive;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.script { font-family: var(--script); font-weight: 400; color: var(--coral); font-size: 1.35em; letter-spacing: 0; line-height: .8; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 700; color: var(--coral); margin-bottom: .8rem; display: inline-block; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.placeholder-flag { display: inline-block; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brown); background: var(--gold-soft); border: 1px dashed #d9a92b; padding: 2px 8px; border-radius: 99px; vertical-align: middle; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.btn:hover { transform: translateY(-1px); }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(238, 64, 55, .28); }
.btn-coral:hover { background: var(--coral-700); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-700); }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-sm { padding: .5rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }

/* announcement + header */
.announce { background: var(--navy-900); color: #fff; font-size: .88rem; text-align: center; padding: .55rem 1rem; }
.announce b { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 246, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 1.5rem; height: 76px; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 46px; width: auto; }
.brand .brand-tag { border-left: 2px solid var(--line); padding-left: .75rem; font-size: .72rem; font-weight: 700; line-height: 1.2; color: var(--coral); text-transform: uppercase; letter-spacing: .08em; }
.nav-links { display: flex; gap: 1.1rem; margin-left: auto; }
.nav-links a, .nav-cta .btn { white-space: nowrap; }
@media (max-width: 1280px) { .brand .brand-tag { display: none; } }
.nav-links a { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--navy); opacity: .85; }
.nav-links a:hover, .nav-links a.active { opacity: 1; color: var(--coral); }
.nav-cta { display: flex; gap: .6rem; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
@media (max-width: 1120px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { margin-left: 0; }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 76px; left: 0; right: 0; background: var(--cream); padding: 1rem 16px 1.5rem; border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) { .nav-cta { display: none; } .brand .brand-tag { display: none; } }

/* hero */
.hero { position: relative; overflow: hidden; padding: 4.5rem 0 3rem; background: radial-gradient(1200px 500px at 85% 10%, #fff7e3 0, transparent 60%), linear-gradient(180deg, var(--cream), var(--sand)); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 3rem; align-items: center; }
.hero h1 .script { display: inline-block; font-size: 1.45em; transform: translateY(.08em); margin-left: .05em; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.8rem 0 1.6rem; }
.hero-proof { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .9rem; color: var(--muted); }
.hero-proof b { display: block; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.hero-art { position: relative; }
.hero-art .scene { background: linear-gradient(180deg, #d9e6ef 0%, #f2ead8 70%); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 2rem 1.5rem 0; overflow: hidden; position: relative; }
.hero-art .scene::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(180deg, #a7b97a, #7f9658); z-index: 0; }
.hero-art .scene > * { position: relative; z-index: 1; }
.hero-art .shed-big svg { width: 82%; margin: 0 auto -6px; }
.hero-art .trailer { width: 74%; margin: -10px 0 0 -4%; padding-bottom: 1.2rem; }
.badge-float { position: absolute; background: #fff; border-radius: 14px; padding: .7rem 1rem; box-shadow: var(--shadow); font-size: .84rem; font-weight: 600; color: var(--navy); display: flex; align-items: center; gap: .6rem; z-index: 3; }
.badge-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--gold-soft); font-size: 1.1rem; }
.badge-float.b1 { top: 18px; left: -18px; }
.badge-float.b2 { bottom: 28px; right: -14px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .badge-float.b1 { left: 8px; } .badge-float.b2 { right: 8px; } }

/* trust strip */
.trust { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; padding: 1.4rem 0; }
.trust-item { display: flex; gap: .7rem; align-items: center; font-size: .92rem; font-weight: 600; }
.trust-item .ic { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; font-size: 1.2rem; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }

section { padding: 5rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2.4rem; flex-wrap: wrap; }
.section-head p { margin: 0; }

/* style tiles */
.styles-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.style-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1rem 1.1rem; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.style-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.style-tile .art { background: var(--sand); border-radius: 12px; padding: .4rem; margin-bottom: .8rem; }
.style-tile .art svg { height: 110px; width: 100%; }
.style-tile h3 { font-size: 1rem; margin: 0 0 .2rem; }
.style-tile p { font-size: .8rem; color: var(--muted); margin: 0; }
@media (max-width: 1100px) { .styles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .styles-grid { grid-template-columns: repeat(2, 1fr); } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; counter-reset: step; }
.step { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -16px; left: 1.4rem; width: 34px; height: 34px; border-radius: 50%; background: var(--coral); color: #fff; font-weight: 800; display: grid; place-items: center; }
.step .ic { font-size: 2rem; margin: .4rem 0 .6rem; }
.step p { color: var(--muted); font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 2rem 1.2rem; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* family section */
.family { background: var(--navy-900); color: #e9e8f5; position: relative; overflow: hidden; }
.family h2 { color: #fff; }
.family .script { color: var(--gold); }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before { content: '✓'; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--navy-900); font-weight: 800; display: grid; place-items: center; font-size: .85rem; }
.family-card { background: linear-gradient(160deg, #2a2870, #1b1a4a); border-radius: 28px; padding: 2.2rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(255, 255, 255, .08); }
.family-card .framing-svg { width: 100%; }
.family-card .timeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; margin-top: 1.4rem; }
.family-card .timeline div { background: rgba(255, 255, 255, .06); border-radius: 12px; padding: .8rem; font-size: .82rem; }
.family-card .timeline b { display: block; color: var(--gold); font-size: .95rem; }
@media (max-width: 900px) { .family-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* product cards */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 1000px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; cursor: pointer; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .art { background: linear-gradient(180deg, #f6f1e7, #ece3d1); position: relative; padding: 1rem; aspect-ratio: 4 / 3; display: grid; place-items: center; }
.card .art svg { width: 92%; height: 100%; }
.card .tags { position: absolute; top: .9rem; left: .9rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.tag { font-size: .7rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; background: var(--navy); color: #fff; letter-spacing: .02em; }
.tag.coral { background: var(--coral); }
.tag.gold { background: var(--gold); color: var(--navy-900); }
.tag.outline { background: #fff; color: var(--navy); border: 1.5px solid var(--navy); }
.card .body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card h3 { margin: 0; font-size: 1.15rem; }
.card .spec { font-size: .86rem; color: var(--muted); }
.card .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-top: auto; padding-top: .6rem; }
.price { font-size: 1.35rem; font-weight: 800; color: var(--navy); }
.price small { font-size: .72rem; color: var(--muted); font-weight: 600; display: block; }
.swatches { display: flex; gap: .3rem; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* design CTA band */
.design-band { background: linear-gradient(135deg, var(--coral) 0%, #d8322a 100%); color: #fff; border-radius: 32px; padding: 3rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.design-band h2 { color: #fff; }
.design-band .mini-config { background: #fff; border-radius: 22px; padding: 1.2rem; color: var(--ink); box-shadow: var(--shadow-lg); }
.design-band .mini-config svg { height: 200px; width: 100%; }
.mini-swatches { display: flex; gap: .5rem; justify-content: center; margin-top: .6rem; }
.mini-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
@media (max-width: 900px) { .design-band { grid-template-columns: 1fr; padding: 2rem; } }

/* windows upgrade */

/* about */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: center; }
.photo-ph { aspect-ratio: 4/5; border-radius: 28px; background: linear-gradient(160deg, rgba(37, 35, 95, .55), rgba(22, 21, 61, .85)); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; color: #fff; position: relative; box-shadow: var(--shadow-lg); }
.photo-ph .big { font-size: 5rem; font-weight: 800; line-height: 1; color: var(--gold); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem; }
.stat b { display: block; font-size: 1.7rem; color: var(--coral); }
.stat span { font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } .photo-ph { aspect-ratio: 16/10; } }

/* testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.quote { background: #fff; border-radius: var(--radius); padding: 1.6rem; border: 1px solid var(--line); }
.quote .stars { color: var(--gold); letter-spacing: .1em; }
.quote p { font-size: .98rem; }
.quote .who { font-weight: 700; color: var(--navy); font-size: .9rem; }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* newsletter */
.news { background: linear-gradient(135deg, #F1EADC, #DDE3E8); position: relative; }
.news::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 246, 236, .97) 40%, rgba(251, 246, 236, .55)); }
.news .container { position: relative; }
.news-box { max-width: 620px; }
.inline-form { display: flex; gap: .6rem; margin-top: 1.2rem; flex-wrap: wrap; }
.inline-form input { flex: 1; min-width: 200px; }
input, select, textarea { font: inherit; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(37, 35, 95, .12); }
label { font-size: .85rem; font-weight: 600; color: var(--navy); display: block; margin-bottom: .3rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.1rem 1.4rem; margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); list-style: none; display: flex; gap: .6rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--coral); font-size: 1.4rem; line-height: 1; margin-left: auto; }
.faq details[open] summary::after { content: '–'; }
.faq details p { margin: .8rem 0 0; color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-900); color: #c9c8e0; padding: 4rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 1rem; }
.site-footer a { color: #c9c8e0; text-decoration: none; display: block; margin-bottom: .45rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .logo { height: 54px; width: auto; margin-bottom: 1rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.4rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* modal */
.modal { position: fixed; inset: 0; background: rgba(22, 21, 61, .55); display: none; align-items: center; justify-content: center; z-index: 100; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: #fff; border-radius: 26px; max-width: 980px; width: 100%; max-height: 92vh; overflow: auto; box-shadow: var(--shadow-lg); position: relative; }
.modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); font-size: 1.3rem; cursor: pointer; color: var(--navy); z-index: 2; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(250%); opacity: 0; background: var(--navy); color: #fff; padding: .9rem 1.4rem; border-radius: 14px; box-shadow: var(--shadow-lg); z-index: 200; transition: transform .3s ease; font-weight: 600; max-width: calc(100% - 32px); }
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Catalog page ---------- */
.page-hero { background: linear-gradient(180deg, var(--sand), var(--cream)); padding: 3rem 0 2rem; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: .6rem; }
.crumbs a { text-decoration: none; color: var(--navy); }
.catalog { display: grid; grid-template-columns: 280px 1fr; gap: 2.2rem; padding: 2rem 0 5rem; }
.filters { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; padding-right: .4rem; }
.filter-group { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.filter-group h4 { font-size: 1rem; margin: 0 0 .8rem; display: flex; justify-content: space-between; }
.filter-group label.fopt { font-weight: 500; color: var(--ink); display: flex; gap: .6rem; align-items: center; margin-bottom: .5rem; cursor: pointer; font-size: .93rem; }
.filter-group label.fopt input { width: 18px; height: 18px; accent-color: var(--navy); padding: 0; }
.filter-group .count { color: var(--muted); font-size: .82rem; }
.color-filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.color-filter button { width: 30px; height: 30px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.color-filter button.on { box-shadow: 0 0 0 2px var(--navy); }
.range-row { display: flex; gap: .5rem; align-items: center; }
.range-row input { padding: .55rem .7rem; }
input[type=range] { padding: 0; accent-color: var(--navy); border: 0; }
.chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.chip { background: var(--navy); color: #fff; padding: .35rem .8rem; border-radius: 99px; font-size: .82rem; font-weight: 600; display: inline-flex; gap: .4rem; align-items: center; cursor: pointer; border: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.toolbar select { width: auto; }
.sort-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.sort-pills button { border: 1.5px solid var(--navy); background: #fff; color: var(--navy); border-radius: 10px; padding: .5rem .9rem; font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; font-family: inherit; }
.sort-pills button.on { background: var(--navy); color: #fff; }
.filters-toggle { display: none; }
@media (max-width: 900px) {
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; max-height: none; display: none; background: #fff; border-radius: 16px; padding: 0 1rem; border: 1px solid var(--line); }
  .filters.open { display: block; }
  .filters-toggle { display: inline-flex; }
}
.empty { text-align: center; padding: 4rem 1rem; color: var(--muted); }

/* product modal */
.pm { display: grid; grid-template-columns: 1.15fr 1fr; }
.pm .art { background: linear-gradient(180deg, #e3ecf2, #efe6d4); padding: 2.5rem 1.5rem; display: grid; place-items: center; border-radius: 26px 0 0 26px; }
.pm .art svg { width: 100%; max-height: 380px; }
.pm .info { padding: 2.4rem 2.2rem; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 1rem 0 1.2rem; }
.spec-table td { padding: .5rem 0; border-bottom: 1px solid var(--line); }
.spec-table td:first-child { color: var(--muted); width: 45%; }
.kit-list { columns: 2; font-size: .86rem; color: var(--muted); padding-left: 1.1rem; margin: .4rem 0 1.2rem; }
@media (max-width: 800px) { .pm { grid-template-columns: 1fr; } .pm .art { border-radius: 26px 26px 0 0; } .kit-list { columns: 1; } }

/* ---------- Configurator ---------- */
.config { display: grid; grid-template-columns: 1fr 430px; min-height: calc(100vh - 76px); }
.stage { position: sticky; top: 76px; height: calc(100vh - 76px); background: linear-gradient(180deg, #d4e3ee 0%, #efe6d4 66%, #a9bb7f 66.2%, #86a05c 100%); display: flex; flex-direction: column; overflow: hidden; }
.stage-top { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; gap: 1rem; flex-wrap: wrap; }
.seg { display: inline-flex; background: rgba(255, 255, 255, .8); border-radius: 99px; padding: 4px; }
.seg button { border: 0; background: none; padding: .45rem 1rem; border-radius: 99px; font-weight: 700; color: var(--navy); cursor: pointer; font-family: inherit; }
.seg button.on { background: var(--navy); color: #fff; }
.stage-art { flex: 1; display: grid; place-items: center; padding: 1rem 3rem 3rem; min-height: 0; }
.stage-art svg { width: 100%; height: 100%; max-height: 100%; }
.stage-foot { display: flex; justify-content: center; gap: .6rem; padding: 0 1rem 1.2rem; }
.stage-foot .pill { background: rgba(255, 255, 255, .92); border-radius: 99px; padding: .5rem 1rem; font-size: .85rem; font-weight: 600; color: var(--navy); box-shadow: var(--shadow); }
.panel { background: #fff; border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.panel-head { padding: 1.4rem 1.6rem 1.2rem; border-bottom: 1px solid var(--line); position: sticky; top: 76px; background: #fff; z-index: 5; }
.panel-head h1 { font-size: 1.45rem; margin: 0; }
.panel-head .pp { font-size: 2.2rem; font-weight: 800; color: var(--coral); line-height: 1.1; margin: .3rem 0 .2rem; }
.panel-head .actions { display: flex; gap: .6rem; margin-top: .9rem; }
.acc { border-bottom: 1px solid var(--line); }
.acc > button { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 1.15rem 1.6rem; background: none; border: 0; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--navy); cursor: pointer; text-align: left; }
.acc > button .val { font-size: .82rem; color: var(--muted); font-weight: 500; margin-left: auto; margin-right: .8rem; }
.acc > button::after { content: '+'; font-size: 1.5rem; color: var(--navy); font-weight: 300; }
.acc.open > button::after { content: '–'; }
.acc .acc-body { display: none; padding: 0 1.6rem 1.4rem; }
.acc.open .acc-body { display: block; }
.opt-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.opt { border: 1.5px solid var(--line); border-radius: 14px; background: #fff; padding: .5rem; cursor: pointer; text-align: center; font: inherit; font-size: .8rem; font-weight: 600; color: var(--navy); transition: border-color .15s; }
.opt svg { height: 64px; width: 100%; }
.opt.on { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; }
.opt .sub { display: block; font-size: .72rem; color: var(--muted); font-weight: 500; }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.size-grid .opt { padding: .7rem .3rem; }
.size-grid .opt:disabled { opacity: .35; cursor: not-allowed; }
.color-row { display: flex; flex-wrap: wrap; gap: .55rem; margin: .4rem 0 1rem; }
.color-row button { width: 40px; height: 40px; border-radius: 12px; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); cursor: pointer; }
.color-row button.on { box-shadow: 0 0 0 2.5px var(--navy); }
.sub-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: .9rem 0 .5rem; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .p { color: var(--muted); font-size: .82rem; }
.switch { position: relative; width: 44px; height: 26px; flex: none; }
.switch input { opacity: 0; width: 0; height: 0; }
.switch span { position: absolute; inset: 0; background: #d9d4c8; border-radius: 99px; cursor: pointer; transition: .2s; }
.switch span::before { content: ''; position: absolute; width: 20px; height: 20px; left: 3px; top: 3px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--navy); }
.switch input:checked + span::before { transform: translateX(18px); }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; }
.stepper button { border: 0; background: var(--sand); width: 36px; height: 36px; font-size: 1.2rem; cursor: pointer; color: var(--navy); }
.stepper span { width: 40px; text-align: center; font-weight: 700; }
.tier { display: block; border: 1.5px solid var(--line); border-radius: 14px; padding: .9rem 1rem; margin-bottom: .6rem; cursor: pointer; }
.tier.on { border-color: var(--navy); box-shadow: 0 0 0 2px var(--navy) inset; }
.tier input { display: none; }
.tier b { color: var(--navy); }
.tier small { display: block; color: var(--muted); }
.est-table { width: 100%; font-size: .88rem; border-collapse: collapse; }
.est-table td { padding: .45rem 0; border-bottom: 1px solid var(--line); }
.est-table td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.est-table tr.total td { font-size: 1.1rem; font-weight: 800; color: var(--navy); border-bottom: 0; padding-top: .8rem; }
.note { font-size: .78rem; color: var(--muted); margin-top: .6rem; }
@media (max-width: 960px) {
  .config { grid-template-columns: 1fr; }
  .stage { position: relative; top: 0; height: 62vh; min-height: 380px; }
  .stage-top { padding: .7rem; }
  .stage-art { padding: .3rem .8rem; }
  .stage-foot { flex-wrap: wrap; gap: .4rem; padding-bottom: .8rem; }
  .stage-foot .pill { font-size: .74rem; padding: .35rem .7rem; }
  .panel-head { position: static; }
}


/* ===================== v2 refinements: calmer, cleaner ===================== */
h1, h2 { font-weight: 700; letter-spacing: -.025em; }
h1 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); }
.script { color: var(--coral); font-size: 1.25em; }
.eyebrow { color: var(--coral); letter-spacing: .16em; font-size: .72rem; }
.btn { font-weight: 600; box-shadow: none !important; }
.btn-coral { background: var(--navy); color: #fff; }
.btn-coral:hover { background: var(--navy-700); }
.btn-ghost { border-width: 1.5px; border-color: #C9C6D3; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-light { color: var(--navy); }
.icon { display: block; }
.announce { background: var(--sand); color: var(--ink); border-bottom: 1px solid var(--line); }
.announce b { color: var(--coral); }
.site-header { background: rgba(248, 246, 242, .94); }
.brand .brand-tag { color: var(--muted); font-weight: 600; }
.nav-links a { font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--coral); }
.placeholder-flag { background: #F3EEE4; border-color: #CDBF9F; color: #7A6A4F; }

.hero { background: linear-gradient(180deg, var(--cream) 0%, var(--sand) 100%); padding: 4rem 0 3.5rem; }
.hero-art .scene { background: linear-gradient(180deg, #D9DFE5 0%, #E9ECEE 48%, #F4F2EE 100%); padding: 0; height: 500px; border-radius: 22px; box-shadow: var(--shadow); border: 1px solid #E2E2E2; }
.hero-art .scene::after { display: none; }
.hero-art .viewer-wrap { position: absolute; inset: 0; }
.hero-proof b { font-weight: 700; }
.badge-float { border-radius: 12px; font-weight: 500; box-shadow: var(--shadow); border: 1px solid var(--line); }
.badge-float .dot { background: var(--sand); color: var(--navy); border-radius: 10px; }
.drag-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); background: rgba(255,255,255,.85); backdrop-filter: blur(6px); border: 1px solid var(--line); color: var(--navy); font-size: .78rem; font-weight: 500; border-radius: 99px; padding: .4rem .85rem; display: flex; gap: .45rem; align-items: center; z-index: 3; pointer-events: none; }
.shed-canvas { width: 100% !important; height: 100% !important; display: block; cursor: grab; touch-action: none; }
.shed-canvas:active { cursor: grabbing; }

.trust { background: #fff; color: var(--navy); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trust-item { font-weight: 500; color: var(--ink); }
.trust-item .ic { background: var(--sand); color: var(--navy); border-radius: 10px; }

.style-tile { border-radius: 14px; }
.style-tile .art { background: linear-gradient(180deg, #ECEEF0, #F4F2EE); }
.style-tile .art .shed-img { height: 120px; width: 100%; object-fit: contain; }
.step { border-radius: 14px; }
.step::before { background: var(--navy); font-weight: 600; font-size: .9rem; width: 30px; height: 30px; top: -15px; }
.step .ic { color: var(--coral); margin: .6rem 0 .8rem; }

.family { background: #2B2E45; }
.family .script { color: var(--gold); }
.checklist li::before { background: transparent; border: 1.5px solid var(--gold); color: var(--gold); font-weight: 600; }
:not(.family) > .container .checklist li::before { border-color: var(--coral); color: var(--coral); }
.family .checklist li::before { border-color: var(--gold); color: var(--gold); }
.family-card { background: linear-gradient(180deg, #D9DFE5 0%, #EEF0F0 60%, #F4F2EE 100%); border: 0; padding: 1.4rem; }
.family-card .shed-img { width: 100%; height: 300px; object-fit: contain; }
.family-card .timeline div { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.family-card .timeline b { color: var(--coral); }

.card { border-radius: 16px; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card .art { background: linear-gradient(180deg, #E6EAEE 0%, #F3F2EF 100%); }
.card .art .shed-img { width: 94%; height: 100%; object-fit: contain; }
.card h3 { font-weight: 600; }
.price { font-weight: 700; }
.tag { background: var(--navy); font-weight: 600; }
.tag.coral { background: var(--coral); }
.tag.gold { background: #E9E1CF; color: var(--ink); }
.tag.outline { border-width: 1px; }

.design-band { background: linear-gradient(135deg, #E8EBE4 0%, #DDE3E8 100%); color: var(--ink); border-radius: 24px; }
.design-band h2 { color: var(--navy); }
.design-band .eyebrow-band { color: var(--coral) !important; opacity: 1 !important; }
.design-band .mini-config { box-shadow: var(--shadow); background: linear-gradient(180deg, #F2F3F3, #fff); }
.design-band .mini-config .shed-img { height: 230px; width: 100%; object-fit: contain; }

.photo-ph { background: linear-gradient(160deg, rgba(47, 51, 82, .45), rgba(36, 39, 63, .85)); border-radius: 22px; }
.photo-ph .big { color: var(--gold); font-weight: 700; }
.stat b { color: var(--navy); font-weight: 700; }
.quote .stars { color: #B89A6C; }
.quote .stars .icon { display: inline-block; }
.news::before { background: linear-gradient(90deg, rgba(248, 246, 242, .97) 45%, rgba(248, 246, 242, .6)); }
.faq details { border-radius: 12px; }
.faq summary::after { color: var(--coral); font-weight: 300; }
.site-footer { background: #24273F; }
.site-footer a:hover { color: var(--gold); }
.toast { background: var(--navy); }
.modal { background: rgba(36, 39, 63, .45); }
.modal-box { border-radius: 20px; }

/* catalog */
.sort-pills button { border-width: 1px; border-color: #C9C6D3; font-weight: 600; letter-spacing: .04em; border-radius: 99px; }
.sort-pills button.on { border-color: var(--navy); }
.chip { background: var(--sand); color: var(--navy); border: 1px solid var(--line); }
.pm .art { background: linear-gradient(180deg, #D9DFE5 0%, #ECEEEF 55%, #F4F2EE 100%); padding: 0; position: relative; min-height: 460px; border-radius: 20px 0 0 20px; }
.pm .art .viewer-wrap { position: absolute; inset: 0; }
@media (max-width: 800px) { .pm .art { min-height: 320px; border-radius: 20px 20px 0 0; } }

/* designer */
.stage { background: linear-gradient(180deg, #D9DFE5 0%, #E9ECEE 45%, #F4F2EE 100%); }
.stage-art { position: relative; padding: 0; }
.stage-art .viewer-wrap { position: absolute; inset: 0; }
.stage-art.plan { padding: 1rem 3rem 3rem; }
.seg { box-shadow: 0 1px 2px rgba(0,0,0,.05); border: 1px solid #E2E2E2; }
.seg button { font-weight: 600; font-size: .86rem; display: inline-flex; gap: .35rem; align-items: center; }
.view-tools { position: absolute; right: 1.2rem; bottom: 1.2rem; display: flex; flex-direction: column; gap: .4rem; z-index: 4; }
.view-tools button { width: 40px; height: 40px; border-radius: 10px; border: 1px solid #DADADA; background: rgba(255,255,255,.92); color: var(--navy); cursor: pointer; display: grid; place-items: center; font: inherit; font-size: .7rem; font-weight: 600; }
.view-tools button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.view-presets { position: absolute; left: 50%; transform: translateX(-50%); bottom: 4.2rem; z-index: 4; }
.stage-foot { position: relative; z-index: 4; }
.stage-foot .pill { box-shadow: none; border: 1px solid var(--line); font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; }
.panel-head .pp { color: var(--navy); font-weight: 700; }
.opt { border-width: 1px; border-radius: 12px; font-weight: 500; }
.opt.on { box-shadow: 0 0 0 1.5px var(--navy) inset; }
.opt .shed-img { height: 70px; width: 100%; object-fit: contain; }
.color-row button { border-radius: 50%; width: 36px; height: 36px; }
.tier { border-width: 1px; }
.tier.on { box-shadow: 0 0 0 1.5px var(--navy) inset; }
.acc > button { font-weight: 600; }
@media (max-width: 960px) { .view-presets { bottom: 3.6rem; } .view-tools { right: .6rem; bottom: 3.6rem; } }
.view-presets button.on { background: var(--navy); color: #fff; }
.stage-art .drag-hint { transition: opacity .4s; }
.stage-foot .pill .icon { color: var(--coral); }
.stage-art.plan svg { max-width: 560px; }
.hero-art .drag-hint { bottom: 18px; }
@media (max-width: 960px) { .view-presets button { padding: .35rem .6rem; font-size: .76rem; } .stage-art .drag-hint { display: none; } }
.hero-art .scene > .drag-hint { position: absolute; z-index: 3; }
.hero-art .scene > .viewer-wrap { position: absolute; }
.stage-art svg.icon, .pm svg.icon, .hero-art svg.icon { width: 16px; height: 16px; flex: none; }
.view-tools svg.icon { width: 18px; height: 18px; }
.pm .drag-hint { top: 16px; bottom: auto; }
@media (max-width: 960px) { .view-presets { bottom: .7rem; } }
.hero-art .scene > .drag-hint { top: 18px; bottom: auto; }

/* no window-business photos */
.photo-ph { background: linear-gradient(160deg, #454A6E 0%, #2F3352 55%, #24273F 100%); }
.news { background: linear-gradient(135deg, #F1EADC 0%, #E8EBE4 55%, #DDE3E8 100%); }
.news::before { display: none; }
