/* Freeman Prints — storefront styles */
:root {
  --bg: #ffffff;
  --surface: #f1f3f6;
  --surface-2: #e8ecf2;
  --text: #1b1f27;
  --muted: #5b6474;
  --line: #dde2ea;
  --blue: #0066ff;
  --blue-dark: #0047b3;
  --cyan: #00c2dd;
  --cyan-bright: #00f2ff;
  --navy: #0b1830;
  --hot: #ff8a1f;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  --shadow-lg: 0 24px 60px rgba(11, 24, 48, .22);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --font: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --brandfont: Bahnschrift, 'DIN Alternate', 'Plus Jakarta Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { letter-spacing: -.02em; line-height: 1.08; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 4.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { line-height: 1.6; }
.muted { color: var(--muted); }
.wrap { width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.narrow { max-width: 860px; }
.section { padding: 72px 0; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--cyan-bright); margin: 0 0 12px; }
.eyebrow.dark { color: var(--blue); }
.grad { background: linear-gradient(90deg, var(--cyan-bright), #4d9dff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 14px 26px; font-weight: 700; font-size: .98rem; transition: transform .2s var(--ease), box-shadow .2s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 18px rgba(0, 102, 255, .3); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn-light { background: #fff; color: var(--navy); }
.btn-ghost-light { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .35); }
.icon-btn { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; transition: background .2s; }
.icon-btn:hover { background: var(--surface); }
.icon-btn svg { width: 24px; height: 24px; fill: var(--text); }

/* ---------- top bars ---------- */
.localbar { background: var(--navy); color: #cfe9ff; text-align: center; font-size: .85rem; padding: 9px 16px; }
.localbar strong { color: #fff; }
.pin { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--hot); margin-right: 8px; box-shadow: 0 0 0 0 rgba(255, 138, 31, .7); animation: ping 2s infinite; vertical-align: middle; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(255, 138, 31, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 138, 31, 0); } }

.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); transition: box-shadow .3s; }
.nav.scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(16, 24, 40, .06); }
.nav-inner { width: min(1240px, calc(100% - 40px)); margin: auto; height: 68px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; font-family: var(--brandfont); }
.brand-word b { font-size: 1.15rem; letter-spacing: .06em; color: var(--navy); }
.brand-word i { font-style: normal; font-size: .66rem; letter-spacing: .5em; color: var(--blue); margin-top: 3px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--muted); transition: background .2s, color .2s; }
.nav-links a:hover, .nav-links a.active { background: var(--surface); color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--blue); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease); }
.badge.show { transform: scale(1); }
.badge.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }
.menu-btn { display: none; }

/* ---------- hero carousel ---------- */
.hero { margin-top: 16px; position: relative; }
.slides { position: relative; height: clamp(560px, 62vh, 640px); }
.slide { position: absolute; inset: 0; border-radius: var(--radius); overflow: hidden; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding: 0 64px; opacity: 0; transform: scale(.98); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.slide-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.is-active .slide-copy > * { opacity: 1; transform: none; }
.slide.is-active .slide-copy > *:nth-child(2) { transition-delay: .08s; }
.slide.is-active .slide-copy > *:nth-child(3) { transition-delay: .16s; }
.slide.is-active .slide-copy > *:nth-child(4) { transition-delay: .24s; }
.slide-dark { background: radial-gradient(circle at 78% 45%, #12305c 0%, #0a1426 55%, #060a13 100%); color: #fff; }
.slide-dark .lede, .slide-kc .lede { color: #b9c8dc; }
.slide-sky { background: linear-gradient(135deg, #e9f2ff 0%, #d7f7fb 100%); }
.slide-sky .eyebrow { color: var(--blue); }
.slide-kc { background: linear-gradient(160deg, #13294b 0%, #1f3f73 60%, #c25b4a 140%); color: #fff; }
.slide-kc .eyebrow { color: #ffd27a; }
.lede { font-size: 1.15rem; max-width: 34ch; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.slide-art { height: 100%; display: grid; place-items: center; }
.slide-art svg { width: 100%; max-height: 92%; }
.float { animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.dims { animation: dash 1.5s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.fountain circle { animation: spray 1.6s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
.fountain circle:nth-child(2n) { animation-delay: .4s; }
@keyframes spray { 50% { transform: translateY(-10px); opacity: .5; } }

.carousel-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); font-size: 1.4rem; line-height: 1; color: var(--text); transition: background .2s; }
.arrow:hover { background: var(--surface-2); }
.dots { display: flex; gap: 8px; }
.dot { width: 34px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: var(--surface-2); overflow: hidden; position: relative; }
.dot i { position: absolute; inset: 0; background: var(--blue); transform-origin: left; transform: scaleX(0); }
.dot.on i { animation: fill var(--slide-ms, 6000ms) linear forwards; }
.dot.done i { transform: scaleX(1); }
.slides.paused ~ .carousel-ui .dot.on i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }

/* ---------- strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.strip-item { background: var(--surface); border-radius: var(--radius-sm); padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; }
.strip-item b { font-size: 1.6rem; font-weight: 800; color: var(--navy); }
.strip-item span { color: var(--muted); font-size: .92rem; }

/* ---------- shop ---------- */
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-head h2 { margin: 0; }
.sort { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--muted); }
select, input, textarea { font: inherit; color: var(--text); }
.sort select, .field select { appearance: none; border: 1.5px solid var(--line); border-radius: 999px; padding: 10px 40px 10px 16px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10l5 5 5-5z' fill='%235b6474'/%3E%3C/svg%3E") no-repeat right 12px center / 20px; }
.chips { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 28px; scrollbar-width: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 10px 18px; font-weight: 600; color: var(--muted); transition: all .2s var(--ease); }
.chip:hover { border-color: #b8c2d2; color: var(--text); }
.chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s; animation: cardIn .5s var(--ease) both; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
@keyframes cardIn { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.card-art { aspect-ratio: 5/4; border-radius: 20px; display: grid; place-items: center; cursor: pointer; transition: background .4s; overflow: hidden; }
.card-art svg { width: 76%; transition: transform .5s var(--ease); }
.card:hover .card-art svg { transform: scale(1.06) rotate(-2deg); }
.card-tag { align-self: flex-start; margin: 14px 0 6px; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card h3 { margin: 0 0 4px; font-size: 1.1rem; }
.card p { margin: 0 0 12px; color: var(--muted); font-size: .92rem; line-height: 1.5; flex: 1; }
.card-mats { font-size: .82rem; color: var(--muted); margin-bottom: 12px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.swatches { display: flex; gap: 7px; }
.sw { width: 20px; height: 20px; border-radius: 50%; border: 0; padding: 0; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); outline: 2px solid transparent; outline-offset: 2px; transition: outline-color .2s, transform .2s; }
.sw:hover { transform: scale(1.12); }
.sw.on { outline-color: var(--blue); }
.swatches.lg .sw { width: 32px; height: 32px; }
.add { border: 0; background: var(--blue); color: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: .85rem; transition: background .2s, transform .2s; }
.add:hover { background: var(--blue-dark); transform: translateY(-1px); }

/* ---------- estimator ---------- */
.estimator { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.est-form { padding: 48px; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 600; margin-top: 22px; font-size: .95rem; }
.field output { color: var(--blue); font-weight: 800; }
.field:has(output) { flex-direction: row; flex-wrap: wrap; justify-content: space-between; }
.field:has(output) input { flex-basis: 100%; }
.field input:not([type=range]), .field textarea { border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fff; font-weight: 500; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); }
input[type=range] { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--blue) var(--p, 30%), var(--surface-2) var(--p, 30%)); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); box-shadow: var(--shadow); cursor: grab; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--blue); cursor: grab; }
.stepper { display: inline-flex; align-items: center; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; width: max-content; }
.stepper button { width: 40px; height: 40px; border: 0; background: none; font-size: 1.2rem; border-radius: 50%; }
.stepper button:hover { background: var(--surface); }
.stepper input { width: 56px; text-align: center; border: 0 !important; padding: 0 !important; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { display: none; }
.seg { display: inline-flex; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; gap: 2px; width: max-content; }
.seg.wrapflex { flex-wrap: wrap; border-radius: 22px; width: auto; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 999px; font-weight: 600; color: var(--muted); font-size: .9rem; transition: all .2s; }
.seg button.on { background: var(--navy); color: #fff; }
.est-result { background: var(--navy); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.est-preview { width: 180px; height: 180px; margin: 0 auto 10px; }
.est-label { margin: 0; color: #9fb3cc; font-weight: 600; }
.est-price { font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; margin: 4px 0; letter-spacing: -.02em; }
.est-meta { color: #b9c8dc; margin: 0 0 24px; }
.fine { font-size: .8rem; color: #8195b0; margin: 12px 0 0; }

/* ---------- materials ---------- */
.materials-band { background: var(--navy); color: #fff; border-radius: var(--radius); width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 72px 0; }
.materials-band .wrap { width: calc(100% - 96px); }
.mat-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.mat-tab { border: 1.5px solid rgba(255, 255, 255, .18); background: transparent; color: #cfdbec; padding: 10px 18px; border-radius: 999px; font-weight: 700; transition: all .2s; }
.mat-tab:hover { border-color: rgba(255, 255, 255, .5); color: #fff; }
.mat-tab.on { background: var(--cyan-bright); border-color: var(--cyan-bright); color: var(--navy); }
.mat-panel { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.mat-panel h3 { font-size: 2rem; }
.mat-panel p { color: #b9c8dc; }
.mat-best { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mat-best span { background: rgba(0, 242, 255, .1); border: 1px solid rgba(0, 242, 255, .35); color: #bdf9ff; border-radius: 999px; padding: 6px 12px; font-size: .82rem; font-weight: 600; }
.bars { display: grid; gap: 16px; }
.bar-row { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 16px; font-weight: 600; color: #cfdbec; }
.bar { height: 12px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--cyan-bright), var(--blue)); width: 0; transition: width .9s var(--ease); }

/* ---------- local ---------- */
.local { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.checks li { padding-left: 34px; position: relative; font-weight: 600; }
.checks li::before { content: ''; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2l-3.5-3.5L4 14.2l5 5 11-11-1.5-1.5z' fill='white'/%3E%3C/svg%3E") center / 16px no-repeat; }
.areas { display: flex; flex-wrap: wrap; gap: 8px; }
.area { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; font-size: .86rem; font-weight: 600; color: var(--muted); transition: all .2s; }
.area:hover, .area.on { border-color: var(--blue); color: var(--blue); background: #eef4ff; }
.local-map { background: var(--surface); border-radius: var(--radius); padding: 20px; }
.map-dot { transition: r .3s var(--ease), fill .3s; cursor: pointer; }
.map-dot.on { fill: var(--hot); }
.map-label { font-size: 11px; paint-order: stroke; stroke: #f7f9fc; stroke-width: 3px; font-weight: 700; fill: var(--muted); transition: fill .3s; pointer-events: none; }
.map-label.on { fill: var(--navy); }
.ripple { fill: none; stroke: var(--blue); stroke-width: 2; animation: ripple 3s ease-out infinite; transform-box: fill-box; transform-origin: center; }
.ripple:nth-of-type(2) { animation-delay: 1s; }
.ripple:nth-of-type(3) { animation-delay: 2s; }
@keyframes ripple { from { transform: scale(.2); opacity: .8; } to { transform: scale(1); opacity: 0; } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--cyan-bright), var(--blue)); color: #fff; font-weight: 800; margin-bottom: 18px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .ans { overflow: hidden; color: var(--muted); }
.faq .ans p { margin: 0 0 22px; }

/* ---------- CTA + footer ---------- */
.cta-band { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: radial-gradient(circle at 10% 50%, #12305c, #0a1426 70%); color: #fff; border-radius: var(--radius); padding: 40px 48px; }
.cta-band h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 6px; }
.cta-band p { margin: 0; color: #b9c8dc; }
.footer { background: var(--surface); margin-top: 40px; padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { margin: 0 0 12px; }
.foot-grid > div > a:not(.brand) { display: block; color: var(--muted); padding: 4px 0; }
.foot-grid > div > a:hover { color: var(--blue); }
.foot-base { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 20px; color: var(--muted); font-size: .88rem; }

/* ---------- modal ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.open { visibility: visible; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(6, 10, 19, .55); opacity: 0; transition: opacity .3s; }
.modal.open .modal-backdrop { opacity: 1; }
.modal-card { position: relative; width: min(940px, 100%); max-height: calc(100vh - 40px); overflow: auto; background: #fff; border-radius: var(--radius); display: grid; grid-template-columns: 1fr 1fr; box-shadow: var(--shadow-lg); transform: translateY(30px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .35s; }
.modal.open .modal-card { transform: none; opacity: 1; }
.modal-x { position: absolute; top: 14px; right: 14px; z-index: 2; background: #fff; }
.qv-art { display: grid; place-items: center; padding: 40px; transition: background .4s; min-height: 320px; }
.qv-art svg { width: 90%; }
.qv-body { padding: 40px 36px; }
.opt-label { margin: 18px 0 10px; font-weight: 600; font-size: .92rem; }

/* ---------- drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: #fff; z-index: 70; display: flex; flex-direction: column; transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; }
.drawer.open { transform: none; visibility: visible; box-shadow: var(--shadow-lg); }
.scrim { position: fixed; inset: 0; background: rgba(6, 10, 19, .45); z-index: 65; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; }
.drawer-body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer-foot { padding: 4px 24px 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.drawer-foot .field { margin-top: 12px; }
.line-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--line); animation: cardIn .35s var(--ease); }
.line-item .thumb { width: 64px; height: 64px; border-radius: 14px; display: grid; place-items: center; }
.line-item .thumb svg { width: 80%; }
.line-item h4 { margin: 0 0 2px; font-size: .95rem; }
.line-item small { color: var(--muted); display: block; line-height: 1.4; }
.remove { border: 0; background: none; color: var(--muted); font-size: .85rem; text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 48px 0; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 14px 22px; border-radius: 999px; font-weight: 600; z-index: 90; box-shadow: var(--shadow-lg); transition: transform .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps .step.reveal:nth-child(2) { transition-delay: .1s; }
.steps .step.reveal:nth-child(3) { transition-delay: .2s; }
.steps .step.reveal:nth-child(4) { transition-delay: .3s; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; background: #fff; padding: 12px 20px 20px; box-shadow: 0 12px 24px rgba(16, 24, 40, .1); transform: translateY(-10px); opacity: 0; visibility: hidden; transition: all .25s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-actions { margin-left: auto; }
  .menu-btn { display: grid; }
  .strip, .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .slides { height: 720px; }
  .slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; padding: 40px 28px 10px; align-content: start; }
  .slide-art svg { max-height: 300px; }
  .estimator, .mat-panel, .local, .modal-card { grid-template-columns: 1fr; }
  .est-form, .est-result { padding: 32px 24px; }
  .materials-band .wrap { width: calc(100% - 48px); }
  .cta-band { grid-template-columns: 1fr; text-align: left; padding: 32px 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .hide-sm { display: none; }
}
@media (max-width: 520px) {
  .strip, .steps { grid-template-columns: 1fr; }
  .slides { height: 760px; }
  h1 { font-size: 2.05rem; }
  .lede { font-size: 1.02rem; }
  .slide-art svg { max-height: 280px; }
  .localbar { font-size: .78rem; }
  .bar-row { grid-template-columns: 90px 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
