/* =========================================================
   New Berlin Garage Doors — design system
   Palette drawn softly from New Berlin's historic purple city
   flag, paired with Wisconsin lake blue and a wheat accent.
   ========================================================= */
:root {
  --plum: #6e5c8f;          /* heather — primary */
  --plum-600: #5b4a7a;
  --plum-200: #d9d1e8;
  --dusk: #2e2640;          /* ink + dark sections */
  --dusk-800: #3b3252;
  --mist: #f1eef7;          /* page background */
  --mist-2: #e8e3f1;
  --lake: #a9bedd;          /* soft lake blue */
  --lake-100: #e4ecf6;
  --wheat: #e6c98f;         /* CTA accent */
  --wheat-600: #d4b06c;
  --white: #ffffff;
  --text: #2e2640;
  --muted: #625a73;
  --line: #d9d3e4;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --shadow: 0 30px 70px -36px rgba(46, 38, 64, .45);
  --shadow-sm: 0 14px 34px -22px rgba(46, 38, 64, .4);
  --ease: cubic-bezier(.22, .9, .25, 1);
  --container: 1240px;
  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
  margin: 0; font-family: var(--body); font-size: 17.5px; line-height: 1.7;
  color: var(--text); background: var(--mist); overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--plum-600); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--dusk); }
h1, h2, h3, h4 {
  font-family: var(--display); font-weight: 650; line-height: 1.06; letter-spacing: -.025em;
  color: var(--dusk); margin: 0 0 .5em; font-variation-settings: "wdth" 92;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); letter-spacing: -.015em; }
p { margin: 0 0 1.1em; }
.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.skip { position: absolute; left: -999px; top: 8px; }
.skip:focus { left: 12px; z-index: 999; background: var(--white); padding: 10px 16px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
svg { width: 1.15em; height: 1.15em; flex: none; }
.hide-sm { }
.progress { position: fixed; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--plum), var(--lake), var(--wheat)); transform-origin: 0 50%; transform: scaleX(0); z-index: 200; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--dusk); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); font: 700 .98rem/1 var(--body); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,.18); transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1; }
.btn:hover { color: var(--fg); box-shadow: 0 16px 30px -16px rgba(46,38,64,.6); }
.btn:hover::after { transform: translateY(0); }
.btn--plum { --bg: var(--plum); }
.btn--wheat { --bg: var(--wheat); --fg: var(--dusk); }
.btn--line { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.5); }
.btn--line-dark { --bg: transparent; --fg: var(--dusk); border-color: rgba(46,38,64,.25); }
.btn--line-dark::after { background: rgba(110,92,143,.12); }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; }
.topline { background: var(--dusk); color: #d9d1e8; font-size: .86rem; }
.topline .container { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.topline a { color: var(--wheat); text-decoration: none; font-weight: 600; }
.live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #9fd8a8; margin-right: .6em; box-shadow: 0 0 0 0 rgba(159,216,168,.7); animation: live 2s infinite; vertical-align: 1px; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgba(159,216,168,0); } 100% { box-shadow: 0 0 0 0 rgba(159,216,168,0); } }
.bar { display: flex; align-items: center; gap: 1.5rem; padding: .7rem 0; }
.site-header::after { content: ""; position: absolute; inset: auto 0 0 0; top: 0; z-index: -1; background: rgba(241,238,247,.82); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.scrolled::after { border-color: var(--line); box-shadow: 0 10px 30px -24px rgba(46,38,64,.5); }
.logo { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--dusk); flex: none; }
.logo-mark { display: grid; gap: 3px; width: 38px; padding: 6px; border-radius: 10px; background: var(--plum); box-shadow: inset 0 -3px 0 rgba(0,0,0,.12); }
.logo-mark i { display: block; height: 4px; border-radius: 2px; background: var(--mist); }
.logo-mark i:last-child { background: var(--wheat); }
.logo-type { font: 750 1.22rem/1 var(--display); letter-spacing: -.02em; display: flex; flex-direction: column; }
.logo-type small { font: 600 .72rem/1.3 var(--body); letter-spacing: .02em; color: var(--muted); }
.logo--light { color: var(--white); }
.logo--full img { height: 74px; width: auto; transition: height .35s var(--ease); }
.site-header.scrolled .logo--full img { height: 60px; }
.logo-icon { width: 56px; height: 56px; border-radius: 14px; }
.logo--light .logo-type small { color: #bfb5d3; }
.nav { margin-left: auto; }
.nav > ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav > ul > li > a, .nav > ul > li > button {
  display: inline-flex; align-items: center; gap: .3em; padding: .55rem .8rem; border-radius: 999px;
  font: 600 .95rem/1 var(--body); color: var(--dusk); text-decoration: none; background: none; border: 0; cursor: pointer;
  transition: background .25s;
}
.nav > ul > li > a:hover, .nav > ul > li > button:hover, .has-drop.open > button { background: rgba(110,92,143,.12); }
.chev { width: 14px; height: 14px; transition: transform .3s var(--ease); }
.has-drop { position: relative; }
.has-drop.open .chev { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; translate: -50% 0; width: 380px; padding: .6rem;
  background: var(--white); border-radius: var(--r-md); box-shadow: var(--shadow); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top center;
  transition: opacity .25s, transform .35s var(--ease), visibility .25s;
}
.mega--wide { width: 640px; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega--wide ul { grid-template-columns: 1fr 1fr; }
.mega a { display: flex; gap: .75rem; padding: .7rem .75rem; border-radius: 12px; text-decoration: none; color: var(--dusk); transition: background .2s; }
.mega a:hover { background: var(--mist); }
.mega b { display: block; font-weight: 700; font-size: .95rem; line-height: 1.3; }
.mega small { display: block; color: var(--muted); font-size: .82rem; line-height: 1.4; }
.mi { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--lake-100); color: var(--plum-600); flex: none; }
.has-drop:hover .mega, .has-drop.open .mega, .has-drop:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.nav-call { display: none; }
.bar-cta { display: flex; align-items: center; gap: 1rem; margin-left: auto; }
.bar-phone { display: flex; flex-direction: column; text-decoration: none; font: 750 1.08rem/1.1 var(--display); color: var(--dusk); }
.bar-phone small { font: 500 .75rem/1.3 var(--body); color: var(--muted); }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--dusk); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.5rem); overflow: hidden; isolation: isolate; }
.hero-photo { position: absolute; inset: 0; z-index: -2; background: var(--photo) center/cover no-repeat; opacity: .2; transform: scale(1.08); animation: heroZoom 14s var(--ease) forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 30%, rgba(169,190,221,.55), transparent 70%),
    radial-gradient(50% 60% at 10% 90%, rgba(217,209,232,.9), transparent 70%),
    linear-gradient(180deg, rgba(241,238,247,.55), rgba(241,238,247,.92)); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: .55em; padding: .45em .95em .45em .7em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--plum-600); font-weight: 650; font-size: .92rem; margin-bottom: 1.3rem; box-shadow: var(--shadow-sm); }
.hero h1 { margin-bottom: .35em; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .ln > span { display: inline-block; transform: translateY(105%); animation: lineUp 1s var(--ease) forwards; animation-delay: calc(.55s + var(--n, 0) * .12s); }
.hero h1 .ln:nth-child(2) > span { --n: 1; } .hero h1 .ln:nth-child(3) > span { --n: 2; }
.hero h1 .tint { color: var(--plum); }
@keyframes lineUp { to { transform: none; } }
.hero-copy > .lead, .hero-copy > .hero-actions, .hero-copy > .trust, .hero-copy > .crumbs, .hero-copy > .kicker { animation: fadeUp .9s var(--ease) both; }
.hero-copy > .kicker, .hero-copy > .crumbs { animation-delay: .4s; }
.hero-copy > .lead { animation-delay: .85s; }
.hero-copy > .hero-actions { animation-delay: 1s; }
.hero-copy > .trust { animation-delay: 1.15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; font-size: .92rem; color: var(--muted); }
.trust li { display: flex; align-items: center; gap: .5em; }
.trust svg { color: var(--plum); width: 1.3em; height: 1.3em; }
.trust b { color: var(--dusk); }

/* The signature: garage door sections lifting away on load */
.door-lift { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-rows: repeat(6, 1fr); pointer-events: none; animation: liftAway 1.25s var(--ease) .15s forwards; }
.door-lift i { display: block; background: linear-gradient(180deg, #e9e4f1 0%, #ddd6ea 88%, #cfc6e0 100%); border-bottom: 2px solid rgba(46,38,64,.08); box-shadow: inset 0 1px 0 rgba(255,255,255,.7); }
@keyframes liftAway { 0% { transform: translateY(0); } 100% { transform: translateY(-101%); visibility: hidden; } }

/* ---------- Estimate form ---------- */
.estimate {
  position: relative; background: rgba(255,255,255,.88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.9); border-radius: var(--r-lg); padding: clamp(1.4rem, 2.6vw, 2.1rem);
  box-shadow: var(--shadow); animation: formIn 1s var(--ease) .9s both;
}
@keyframes formIn { from { opacity: 0; transform: translateY(30px) rotate(1deg); } to { opacity: 1; transform: none; } }
.estimate::before { content: ""; position: absolute; inset: 0 24px auto; height: 5px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--plum), var(--lake), var(--wheat)); }
.estimate-head h2 { font-size: clamp(1.5rem, 2.2vw, 1.85rem); margin-bottom: .3em; }
.estimate-head p { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.f { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 650; color: var(--dusk); }
.f em { font-weight: 400; color: var(--muted); font-style: normal; }
.f--full { grid-column: 1 / -1; }
.f input, .f select, .f textarea {
  width: 100%; font: 500 1rem/1.4 var(--body); color: var(--dusk); background: var(--mist); border: 1.5px solid transparent;
  border-radius: 12px; padding: .8rem .9rem; transition: border-color .2s, background .2s, box-shadow .2s; appearance: none; -webkit-appearance: none;
}
.f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e5c8f' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; background-size: 18px; padding-right: 2.4rem; }
.f textarea { resize: vertical; min-height: 64px; }
.f input:focus, .f select:focus, .f textarea:focus { outline: none; border-color: var(--plum); background: var(--white); box-shadow: 0 0 0 4px rgba(110,92,143,.15); }
.f .invalid { border-color: #c0566b; background: #fbf0f2; }
.f-note { display: flex; align-items: center; justify-content: center; gap: .45em; margin: .8rem 0 0; font-size: .84rem; color: var(--muted); }
.f-note svg { color: var(--plum); }
.f-done { display: none; text-align: center; padding: 1rem 0 .4rem; }
.f-done > svg { width: 52px; height: 52px; padding: 12px; border-radius: 50%; background: #e2f2e5; color: #3c8a4b; margin: 0 auto .6rem; }
.quote-form.sent > *:not(.f-done) { display: none; }
.quote-form.sent .f-done { display: block; animation: fadeUp .6s var(--ease); }

/* ---------- Marquee ---------- */
.marquee { background: var(--plum); color: var(--mist); overflow: hidden; padding: .95rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { font: 650 1.05rem/1 var(--display); padding: 0 1.4rem; white-space: nowrap; display: inline-flex; align-items: center; gap: 2.8rem; }
.marquee span::after { content: ""; width: 22px; height: 10px; border-top: 2px solid var(--wheat); border-bottom: 2px solid var(--wheat); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 7rem) 0; position: relative; }
.section--white { background: var(--white); }
.section--dusk { background: var(--dusk); color: #ddd6ea; }
.section--dusk h2, .section--dusk h3 { color: var(--white); }
.section--dusk .lead { color: #c6bdd6; }
.has-bg { isolation: isolate; overflow: hidden; }
.has-bg::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo) center/cover no-repeat; opacity: var(--o, .07); }
.sec-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-head.center .lead { margin-inline: auto; }
.label { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; font-size: .95rem; color: var(--plum); margin-bottom: .9rem; }
.label::before { content: ""; width: 26px; height: 9px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.section--dusk .label { color: var(--wheat); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split--rev > :first-child { order: 2; }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .65rem; }
.ticks li { position: relative; padding-left: 2rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--plum-200) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b4a7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/62% no-repeat; }
.section--dusk .ticks li::before { background-color: rgba(230,201,143,.25); }

/* Photo frames reveal like a door opening */
.frame { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); background: var(--mist-2); }
.frame--wide { aspect-ratio: 16/10; }
.frame .ph { position: absolute; inset: -8% 0; background: var(--photo) center/cover no-repeat; will-change: transform; }
.frame .shut { position: absolute; inset: 0; display: grid; grid-template-rows: repeat(5, 1fr); z-index: 2; pointer-events: none; }
.frame .shut i { background: var(--mist-2); border-bottom: 2px solid rgba(46,38,64,.06); transform-origin: top; transition: transform .9s var(--ease); transition-delay: calc((4 - var(--i)) * .07s); }
.frame.in .shut i { transform: scaleY(0); }
.frame-note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 3; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border-radius: var(--r-md); padding: 1rem 1.2rem; font-size: .92rem; color: var(--muted); box-shadow: var(--shadow-sm); }
.frame-note b { display: block; color: var(--dusk); font: 700 1.1rem/1.2 var(--display); margin-bottom: .2rem; }
.stack { position: relative; }
.stack .frame:first-child .frame-note { right: 40%; }
.stack .frame + .frame { position: absolute; width: 46%; right: -6%; bottom: -10%; aspect-ratio: 1; border: 6px solid var(--white); }

/* ---------- Bento services ---------- */
.bento-group + .bento-group { margin-top: 3rem; }
.bento-label { font-size: 1.05rem; color: var(--plum-600); display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.bento-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.bento { display: grid; gap: 14px; grid-template-columns: repeat(4, 1fr); }
.tile {
  position: relative; display: flex; flex-direction: column; gap: .45rem; padding: 1.4rem; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--line); color: var(--muted); text-decoration: none; font-size: .93rem; line-height: 1.55;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s; overflow: hidden;
}
.tile b { font: 700 1.15rem/1.2 var(--display); color: var(--dusk); letter-spacing: -.01em; }
.tile-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--lake-100); color: var(--plum-600); margin-bottom: .5rem; transition: background .3s, color .3s, transform .45s var(--ease); }
.tile-ic svg { width: 22px; height: 22px; }
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--plum-200); color: var(--muted); }
.tile:hover .tile-ic { background: var(--plum); color: var(--white); transform: rotate(-6deg); }
.tile--feature { grid-row: span 2; justify-content: flex-end; min-height: 340px; color: #e9e4f1; border: 0; background: var(--dusk); }
.tile--feature::before { content: ""; position: absolute; inset: 0; background: var(--photo) center/cover; opacity: .55; transition: transform .8s var(--ease), opacity .4s; }
.tile--feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(46,38,64,.92)); }
.tile--feature > * { position: relative; z-index: 1; }
.tile--feature .tile-ic { position: absolute; top: 1.3rem; left: 1.3rem; background: rgba(255,255,255,.9); }
.tile--feature b { color: var(--white); font-size: 1.5rem; display: block; margin-bottom: .35rem; }
.tile-body { display: block; }
.tile-body > span { display: block; }
.bento--8 .tile:last-child { grid-column: span 3; }
.tile-more { display: inline-block; margin-top: .9rem; font-weight: 700; color: var(--wheat); border-bottom: 1.5px solid rgba(230,201,143,.5); }
.tile--feature:hover { color: #e9e4f1; }
.tile--feature:hover::before { transform: scale(1.06); opacity: .7; }
.bento--8 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.bento--8 .tile--feature { grid-row: span 3; }
.bento--4 { grid-template-columns: 1.4fr 1fr 1fr; }
.bento--4 .tile--feature { grid-row: span 2; }
.bento--4 .tile:last-child { grid-column: span 2; }
.bento--3 { grid-template-columns: 1.4fr 1fr 1fr; }
.bento--3 .tile--feature { grid-row: span 1; min-height: 260px; }
.bento--2 { grid-template-columns: 1.4fr 2fr; }
.bento--2 .tile--feature { grid-row: span 1; min-height: 240px; }
.bento--7 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
.bento--7 .tile--feature { grid-row: span 2; }
.bento--1 { grid-template-columns: 1fr; }
.bento--1 .tile--feature { grid-row: span 1; min-height: 240px; }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: rgba(255,255,255,.14); }
.steps::after { content: ""; position: absolute; top: 27px; left: 28px; right: 28px; height: 2px; background: linear-gradient(90deg, var(--wheat), var(--lake)); transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform .2s linear; }
.steps li { position: relative; counter-increment: s; z-index: 1; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--dusk-800); border: 2px solid rgba(230,201,143,.5); color: var(--wheat); font: 750 1.3rem/1 var(--display); margin-bottom: 1.2rem; transition: background .4s, color .4s; }
.steps li.on::before { background: var(--wheat); color: var(--dusk); }
.steps h3 { margin-bottom: .4em; }
.steps p { font-size: .96rem; color: #c6bdd6; margin: 0; }

/* ---------- Full-width parallax band ---------- */
.fullbleed { position: relative; min-height: 92vh; background: var(--dusk); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.fullbleed-photo { position: absolute; inset: -22% 0; z-index: -2; background: var(--photo) center/cover no-repeat; will-change: transform; }
.fullbleed::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(46,38,64,.1) 0%, rgba(46,38,64,.45) 38%, rgba(46,38,64,.94) 82%), linear-gradient(90deg, rgba(46,38,64,.35), transparent 60%); }
.fullbleed .container { padding: 6rem 0 clamp(3rem, 6vw, 5rem); }
.fullbleed h2 { color: var(--white); font-size: clamp(2.6rem, 7vw, 6rem); max-width: 14ch; line-height: .98; letter-spacing: -.035em; }
.fullbleed-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.fullbleed p { color: #e3dcef; font-size: 1.12rem; max-width: 52ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.18); border-radius: var(--r-md); overflow: hidden; margin-top: 2.5rem; backdrop-filter: blur(10px); }
.facts div { background: rgba(46,38,64,.45); padding: 1.3rem 1.4rem; }
.facts b { display: block; font: 750 clamp(1.8rem, 3vw, 2.5rem)/1 var(--display); color: var(--wheat); margin-bottom: .35rem; }
.facts span { font-size: .9rem; color: #d9d1e8; }

/* ---------- Cards / misc content ---------- */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sign { background: var(--white); border-radius: var(--r-md); padding: 1.5rem; border: 1px solid var(--line); }
.sign h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .6rem; }
.sign h3 svg { color: var(--plum); width: 1.4em; height: 1.4em; }
.sign p { font-size: .95rem; color: var(--muted); margin: 0; }

.doors-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 2.5rem; }
.door-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 3/4; display: flex; align-items: flex-end; color: var(--white); text-decoration: none; isolation: isolate; }
.door-card::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--photo) center/cover; transition: transform 1s var(--ease); }
.door-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(46,38,64,.9)); }
.door-card:hover::before { transform: scale(1.06); }
.door-card div { padding: 1.5rem; }
.door-card h3 { color: var(--white); margin-bottom: .3rem; }
.door-card p { font-size: .93rem; color: #e3dcef; margin: 0; }
.door-card:hover { color: var(--white); }

.areas { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.areas li { padding: .5em 1em; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: .92rem; transition: background .25s, color .25s, transform .3s var(--ease); }
.areas li:first-child { background: var(--plum); color: var(--white); border-color: var(--plum); }
.areas li:hover { transform: translateY(-2px); background: var(--lake-100); }

.promise { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.promise div { padding: 1.4rem 1.5rem; border-radius: var(--r-md); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.promise h3 { font-size: 1.15rem; }
.promise p { font-size: .95rem; margin: 0; color: #c6bdd6; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq-intro { position: sticky; top: 130px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.25rem 0; font: 650 1.12rem/1.35 var(--display); color: var(--dusk); }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); flex: none; transition: background .3s, transform .4s var(--ease); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--plum); translate: -50% -50%; transition: transform .4s var(--ease); }
.plus::after { transform: rotate(90deg); }
.faq details[open] .plus { background: var(--plum); transform: rotate(180deg); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--white); }
.faq details[open] .plus::after { transform: rotate(0); }
.faq-a { overflow: hidden; }
.faq-a p { color: var(--muted); padding-bottom: 1.3rem; margin: 0; }
.faq-sec { background: var(--white); }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.cta-inner { position: relative; border-radius: var(--r-lg); padding: clamp(2rem, 4.5vw, 3.5rem); display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--plum); color: #ece7f4; overflow: hidden; isolation: isolate; }
.cta-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo) center/cover; opacity: .14; mix-blend-mode: luminosity; }
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(230,201,143,.18); z-index: -1; animation: spinSlow 30s linear infinite; }
@keyframes spinSlow { to { transform: rotate(360deg) scale(1.1); } }
.cta-inner h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); max-width: 22ch; }
.cta-inner p { margin: 0; color: #e0d9ec; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; flex: none; }

/* ---------- Inner page article ---------- */
.hero--inner .hero-photo { opacity: .22; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--plum-600); }
.article-sec { isolation: isolate; }
.article-sec::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo) center/cover; opacity: .05; }
.article-grid { display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.toc-col { position: sticky; top: 125px; display: grid; gap: 14px; }
.toc { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.3rem 1.3rem 1rem; }
.toc-h { font-size: 1rem; margin-bottom: .7rem; color: var(--plum-600); }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mist-2); }
.toc a { display: block; padding: .38rem 0 .38rem .9rem; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: .9rem; line-height: 1.35; transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.active { color: var(--plum-600); border-color: var(--plum); }
.toc a.active { font-weight: 650; }
.side-call { position: relative; border-radius: var(--r-md); padding: 1.4rem; background: var(--dusk); color: #d9d1e8; overflow: hidden; isolation: isolate; }
.side-call::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--photo) center/cover; opacity: .18; }
.side-call h3 { color: var(--white); font-size: 1.2rem; }
.side-call p { font-size: .9rem; }
.side-list { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.2rem 1.3rem; }
.side-list h3 { font-size: 1rem; color: var(--plum-600); }
.side-list ul { list-style: none; padding: 0; margin: 0; }
.side-list a { display: block; padding: .35rem 0; color: var(--dusk); text-decoration: none; font-size: .92rem; }
.side-list a[aria-current] { color: var(--plum); font-weight: 700; }
.side-list a:hover { color: var(--plum); }

.prose { max-width: 760px; }
.prose > h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-top: 2.2em; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.6em; font-size: 1.3rem; }
.prose p, .prose li { color: #463d58; }
.prose ul, .prose ol { padding-left: 1.2rem; margin: 0 0 1.3em; }
.prose li { margin-bottom: .45em; }
.prose figure { margin: 2.2rem 0; }
.prose .callout { background: var(--white); border-left: 4px solid var(--plum); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 1.2rem 1.4rem; margin: 1.8rem 0; box-shadow: var(--shadow-sm); }
.prose .callout p:last-child { margin: 0; }
.prose .callout strong { color: var(--dusk); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .94rem; background: var(--white); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.prose th, .prose td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--mist-2); vertical-align: top; }
.prose th { background: var(--dusk); color: var(--white); font-weight: 650; }
.prose .table-wrap { overflow-x: auto; max-width: 100%; }
.prose .table-wrap table { min-width: 520px; }
.prose ol.step-list { list-style: none; padding: 0; counter-reset: st; }
.prose ol.step-list li { counter-increment: st; position: relative; padding-left: 3rem; margin-bottom: 1rem; }
.prose ol.step-list li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--plum); color: var(--white); font: 700 .95rem/1 var(--display); }
.more-sec { background: var(--mist); }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--dusk); color: #c6bdd6; padding: clamp(3.5rem, 6vw, 5rem) 0 6.5rem; overflow: hidden; isolation: isolate; }
.footer-photo { position: absolute; inset: 0; z-index: -1; background: var(--photo) center/cover; opacity: .08; }
.footer-top { padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer-cta h2 { color: var(--white); max-width: 20ch; margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
.footer-grid { display: grid; grid-template-columns: 1.3fr .9fr .9fr 1.4fr; gap: 2.5rem; }
.site-footer h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 1rem; }
.footer-brand p { font-size: .95rem; margin: 1.1rem 0; }
.contact, .links { list-style: none; padding: 0; margin: 0; }
.contact li { display: flex; gap: .7rem; align-items: flex-start; padding: .3rem 0; font-size: .95rem; }
.contact svg { color: var(--wheat); margin-top: .25em; }
.site-footer a { color: #e3dcef; text-decoration: none; }
.site-footer a:hover { color: var(--wheat); }
.site-footer .btn, .site-footer .btn:hover { color: var(--fg); }
.links li { padding: .28rem 0; font-size: .95rem; }
.map { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4/3; border: 1px solid rgba(255,255,255,.14); }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.35) contrast(.95) hue-rotate(10deg); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .86rem; }
.mobile-bar { display: none; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal-l.in { opacity: 1; transform: none; }
.no-js .reveal, .no-js .reveal-l { opacity: 1; transform: none; }
.no-js .frame .shut { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .bar-phone { display: none; }
  .nav > ul > li > a, .nav > ul > li > button { padding: .5rem .6rem; font-size: .92rem; }
}
@media (max-width: 1020px) {
  .burger { display: block; }
  .nav { position: fixed; inset: 0; top: 0; z-index: -1; background: var(--mist); padding: 130px 20px 30px; overflow-y: auto; transform: translateY(-100%); transition: transform .6s var(--ease); visibility: hidden; }
  .nav.open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .nav > ul > li > a, .nav > ul > li > button { width: 100%; justify-content: space-between; font-size: 1.15rem; padding: .9rem .4rem; border-radius: 10px; }
  .mega { position: static; translate: none; width: auto; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: none; padding: 0 0 .5rem; }
  .mega--wide { width: auto; }
  .mega--wide ul { grid-template-columns: 1fr; }
  .has-drop.open .mega { display: block; }
  .has-drop:hover .mega { opacity: 1; }
  .nav-call { display: flex; margin-top: 1.5rem; }
  .bar-cta .btn { display: none; }
  .hero-grid, .split, .fullbleed-grid, .faq-wrap, .article-grid { grid-template-columns: minmax(0, 1fr); }
  .split--rev > :first-child { order: 0; }
  .faq-intro, .toc-col { position: static; }
  .toc-col { order: 2; }
  .toc { display: none; }
  .bento, .bento--8, .bento--7, .bento--4, .bento--3, .bento--2 { grid-template-columns: 1fr 1fr; }
  .bento .tile--feature { grid-column: 1 / -1; grid-row: auto; min-height: 260px; }
  .bento--4 .tile:last-child, .bento--8 .tile:last-child { grid-column: auto; }
  .stack .frame:first-child .frame-note { right: 1rem; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .steps::before, .steps::after { display: none; }
  .signs, .doors-row { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stack .frame:first-child .frame-note { right: 40%; }
.stack .frame + .frame { display: none; }
  .frame { aspect-ratio: 16/11; }
}
@media (max-width: 640px) {
  .logo--full img, .site-header.scrolled .logo--full img { height: 54px; }
  body { font-size: 16.5px; }
  .container { width: calc(100% - 32px); }
  .hide-sm { display: none; }
  .topline .container { justify-content: center; text-align: center; }
  .f-grid { grid-template-columns: 1fr; }
  .bento, .bento--8, .bento--7, .bento--4, .bento--3, .bento--2, .signs, .doors-row, .promise, .footer-grid, .steps, .facts { grid-template-columns: 1fr; }
  .cta-inner, .footer-cta { flex-direction: column; align-items: flex-start; }
  .fullbleed { min-height: 80vh; }
  .door-card { aspect-ratio: 4/3; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(46,38,64,.94); backdrop-filter: blur(10px); }
  .mobile-bar .btn { padding: .85em 1em; }
  .hero-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .door-lift { display: none; }
  .hero h1 .ln > span { transform: none; }
  .reveal, .reveal-l { opacity: 1; transform: none; }
  .frame .shut { display: none; }
}
