/* Salon D'Mar Luxury Hair
   Palette from her own salon and brand: cream + cocoa (her D'Mar extension tags and brand shoot), dusty rose (her accent walls),
   oxblood (her styling chairs), champagne gold (her extension rail). Type: her Didone logo + Cormorant Garamond + Jost.
   Motif: the gold D'Mar rail with hanging wefts (her extension display) — hero, Transformation Room, picker steps. */
@property --x { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
:root {
  --cream: #f7f1ea;
  --porcelain: #fcf9f5;
  --rose: #f3e5e2;
  --rose-2: #e8cfcc;
  --cocoa: #2e1f19;
  --cocoa-deep: #241812;
  --ink: #2b201c;
  --ink-2: #4b3d37;
  --muted: #76675f;
  --oxblood: #6a2633;
  --gold: #b8955a;
  --gold-text: #87672f;
  --gold-soft: #d9bf8c;
  --on-dark: #f1e6de;
  --on-dark-2: #d6c8bf;
  --line: rgba(46, 31, 25, .13);
  --line-gold: rgba(184, 149, 90, .55);
  --gold-metal: linear-gradient(180deg, #f8ead0 0%, #d6b67c 30%, #a07c3f 55%, #dcc08b 78%, #f4e4c3 100%);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.2, .8, .25, 1);
  --pad: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
section, .picker { scroll-margin-top: 72px; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html:not(.edit) .confirm, html:not(.edit) .edit-only { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 16px/1.7 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font-family: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; line-height: 1.04; margin: 0; letter-spacing: -.005em; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--oxblood); }
.dark h1 em, .dark h2 em { color: #e4b9bf; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--cocoa); color: #fff; padding: 8px 12px; z-index: 120; }
.skip:focus { left: 8px; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 var(--pad); }
.kicker { font: 500 11px/1.3 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 14px; display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 34px; height: 1px; background: var(--gold); flex: none; }
.kicker b { font: italic 400 17px/1 var(--serif); letter-spacing: 0; text-transform: none; color: var(--gold); margin-right: -4px; }
.dark .kicker { color: var(--gold-soft); }
.intro { color: var(--muted); max-width: 58ch; margin: 16px 0 26px; }
.dark .intro { color: var(--on-dark-2); }
.intro a, .ask .intro a { color: var(--oxblood); text-decoration-thickness: 1px; text-underline-offset: 3px; }
section { padding: 64px 0; position: relative; }
h2 { font-size: clamp(40px, 10.4vw, 72px); }

/* dark sections in her cocoa, with a whisper of grain */
.dark { background: var(--cocoa); color: var(--on-dark); }
.grain { position: relative; isolation: isolate; }
.grain::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .09; mix-blend-mode: overlay; pointer-events: none; z-index: -1; }

/* buttons: slim, squared, letterspaced */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 12px 26px; border-radius: 1px; font: 500 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; cursor: pointer; text-align: center; transition: background .3s, color .3s, border-color .3s; }
.btn-ink { background: var(--cocoa); color: var(--cream); }
.btn-ink:hover { background: var(--oxblood); }
.btn-line { border-color: rgba(46, 31, 25, .45); color: var(--ink); background: transparent; }
.btn-line:hover { border-color: var(--cocoa); background: rgba(46, 31, 25, .04); }
.btn-gold { background: var(--gold-metal); color: var(--cocoa); border-color: #b08d50; }
.btn-gold:hover { filter: brightness(1.05); }
.btn-cream { border-color: rgba(241, 230, 222, .5); color: var(--on-dark); background: transparent; }
.btn-cream:hover { border-color: var(--gold-soft); color: #fff; }
.btn-sm { min-height: 42px; padding: 8px 18px; font-size: 11px; }
.link-btn { background: none; border: 0; padding: 8px 2px; font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-2); cursor: pointer; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-col { display: grid; gap: 10px; justify-items: stretch; max-width: 360px; }
.cta-col .link-btn { justify-self: start; }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-gold); background: transparent; color: inherit; font: 400 22px/1 var(--serif); cursor: pointer; display: inline-grid; place-items: center; transition: background .3s, color .3s; }
.round:hover { background: var(--gold); color: var(--cocoa); }

/* OPENING: her logo on cocoa, a gold rail draws, the curtain lifts (once per visit, ~2s) */
.opening { position: fixed; inset: 0; z-index: 110; display: none; place-items: center; align-content: center; background: var(--cocoa-deep); cursor: pointer; transition: transform .9s cubic-bezier(.75, 0, .2, 1); }
.opening::before { content: ""; position: absolute; inset: 0; background: var(--grain); opacity: .1; mix-blend-mode: overlay; }
html.intro-on .opening { display: grid; }
html.intro-on body { overflow: hidden; }
.opening img { width: min(58vw, 300px); opacity: 0; transform: translateY(12px); animation: o-logo 1s .1s var(--ease) forwards; }
.opening i { display: block; width: min(64vw, 360px); height: 3px; margin-top: 26px; border-radius: 2px; background: var(--gold-metal); transform: scaleX(0); animation: o-rail .9s .55s var(--ease) forwards; }
.opening span { margin-top: 18px; font: 500 10.5px var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--gold-soft); opacity: 0; animation: o-fade .7s .9s forwards; }
.opening.lift { transform: translateY(-100%); }
@keyframes o-logo { to { opacity: 1; transform: none; } }
@keyframes o-rail { to { transform: scaleX(1); } }
@keyframes o-fade { to { opacity: 1; } }

/* header: cocoa over the dark hero, cream after it */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px var(--pad); background: rgba(247, 241, 234, .93); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s; }
.mark { display: block; text-decoration: none; position: relative; }
.mark img { height: 44px; width: auto; transition: opacity .4s; }
.mark .logo-cream { position: absolute; inset: 0; opacity: 0; }
.top.on-dark { background: rgba(36, 24, 18, .9); border-bottom-color: rgba(217, 191, 140, .22); }
.top.on-dark .logo-cream { opacity: 1; }
.top.on-dark .logo-cocoa { opacity: 0; }
.top.on-dark .nav a { color: var(--on-dark-2); }
.top.on-dark .btn-ink { background: var(--gold-metal); color: var(--cocoa); }
.nav { display: none; gap: 30px; }
.nav a { text-decoration: none; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); transition: color .3s; }
.nav a:hover { color: var(--oxblood); }
.top.on-dark .nav a:hover { color: var(--gold-soft); }

/* HERO on cocoa */
.hero { padding: 0 0 26px; display: grid; background: var(--cocoa); color: var(--on-dark); }
.hero-copy { padding: 26px var(--pad) 0; order: 2; }
.eyebrow { font: 500 11px var(--sans); letter-spacing: .28em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 14px; }
.hero h1 { font-size: clamp(42px, 11.6vw, 88px); line-height: .97; color: #f9f1ea; }
.hero h1 em { display: inline-block; padding: 0 .04em; }
.lede { color: var(--on-dark-2); font-size: 16.5px; margin: 18px 0 24px; max-width: 44ch; }
.hero-rail { order: 1; margin: 0; padding: 16px var(--pad) 0; position: relative; }
.rail { position: relative; height: 7px; border-radius: 4px; background: var(--gold-metal); box-shadow: 0 2px 6px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .7); margin: 0 4px; z-index: 2; }
.rail::before, .rail::after { content: ""; position: absolute; top: -4px; width: 15px; height: 15px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff6de, #d6b67c 45%, #8a6a30 100%); box-shadow: 0 2px 4px rgba(0, 0, 0, .35); }
.rail::before { left: -9px; }
.rail::after { right: -9px; }
.wefts { --g: 4px; container-type: inline-size; display: flex; gap: var(--g); height: min(50svh, 480px); margin-top: -3px; overflow: hidden; padding-top: 3px; }
.weft { position: relative; flex: 1; overflow: hidden; transform: translateY(-104%); animation: drop 1.1s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 150ms); }
html.intro-hold .weft { animation-play-state: paused; }
.weft::before { content: ""; position: absolute; z-index: 3; top: 0; left: 26%; right: 26%; height: 7px; border-radius: 0 0 2px 2px; background: var(--gold-metal); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.weft img { position: absolute; top: 0; height: 100%; width: 100cqw; max-width: none; left: calc(var(--i) * (100cqw + var(--g)) / -7); object-fit: cover; object-position: 50% 30%; opacity: 0; transition: opacity 1.1s ease; transition-delay: calc(var(--i) * 80ms); }
.weft img.on { opacity: 1; }
@keyframes drop { to { transform: none; } }
.hero-cap { display: flex; justify-content: space-between; font: 500 10.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); padding: 10px 0 0; }
.hero-count { color: var(--gold-soft); font-variant-numeric: tabular-nums; }

/* service ribbon: her real Phorest service names */
.ribbon { overflow: hidden; background: var(--cocoa-deep); border-top: 1px solid rgba(217, 191, 140, .3); border-bottom: 1px solid rgba(217, 191, 140, .3); padding: 14px 0; }
.ribbon-track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.ribbon span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: italic 300 22px/1 var(--serif); color: var(--on-dark); white-space: nowrap; }
.ribbon span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-metal); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* trust bar */
.trust { list-style: none; margin: 0; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line-gold); font: 400 13px/1.4 var(--sans); color: var(--muted); background: var(--cream); }
.trust li { padding: 16px 12px 14px 0; }
.trust li:nth-child(odd) { border-right: 1px solid var(--line); }
.trust li:nth-child(even) { padding-left: 16px; }
.trust li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.trust b { display: block; font: 400 clamp(22px, 6vw, 28px)/1.1 var(--serif); white-space: nowrap; color: var(--cocoa); margin-bottom: 2px; }

/* I — METHOD (light) */
.method { background: var(--porcelain); }
.method h2 .tm { font-size: .4em; vertical-align: super; }
.method-grid { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.m-photo { margin: 0; overflow: hidden; border-radius: 999px 999px 0 0; position: relative; }
.m-photo img { width: 100%; height: 100%; object-fit: cover; }
.m-photo::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255, 246, 228, .6); border-radius: inherit; pointer-events: none; }
.m-wall { grid-column: 1 / -1; aspect-ratio: 4 / 3.5; border-radius: 220px 220px 0 0; }
.m-wall img { object-position: 50% 35%; }
.m-install, .m-topper { aspect-ratio: 3 / 4; }
.pillars { grid-column: 1 / -1; list-style: none; margin: 8px 0; padding: 0; }
.pillars li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.pillars .num { font: italic 300 32px/1 var(--serif); color: var(--gold); min-width: 38px; }
.pillars h3 { font-size: 27px; font-weight: 400; margin-bottom: 4px; }
.pillars p { margin: 0; color: var(--muted); font-size: 15px; }

/* weft band motif */
.weft-band { position: relative; height: 110px; background: #e9dccf url(../img/weft-rail.webp) center 40% / cover; }
.weft-band .rail { position: absolute; top: 0; left: 0; right: 0; margin: 0; border-radius: 0; }
.weft-band .rail::before, .weft-band .rail::after { display: none; }

/* II — THE D'MAR EDIT: her top work in arched frames */
.edit-sec { padding-bottom: 56px; }
.edit-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.edit-ctrl { display: none; gap: 10px; color: var(--gold-soft); }
.edit-reel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px var(--pad) 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.edit-reel::-webkit-scrollbar { display: none; }
.edit-card { flex: 0 0 72vw; max-width: 420px; scroll-snap-align: center; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: zoom-in; }
.edit-card .frame { position: relative; display: block; aspect-ratio: 3 / 4.3; overflow: hidden; border-radius: 999px 999px 0 0; background: var(--cocoa-deep); }
.edit-card .frame::after { content: ""; position: absolute; inset: 9px; border: 1px solid rgba(217, 191, 140, .55); border-radius: inherit; pointer-events: none; }
.edit-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform 1.2s var(--ease); }
.edit-card:hover img { transform: scale(1.04); }
.edit-card .cap { display: flex; align-items: baseline; gap: 12px; padding: 14px 4px 0; }
.edit-card .no { font: italic 300 30px/1 var(--serif); color: var(--gold-soft); }
.edit-card .ttl { font: 500 10.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-2); }
.edit-bar { margin: 18px var(--pad) 0; height: 1px; background: rgba(217, 191, 140, .25); position: relative; }
.edit-bar i { position: absolute; left: 0; top: -1px; height: 3px; width: var(--p, 12%); background: var(--gold-metal); border-radius: 2px; transition: width .2s; }

/* III — TRANSFORMATION ROOM */
.room-sec { background: var(--cream); }
.filters { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 4px calc(var(--pad) * -1) 18px; padding: 0 var(--pad); }
.filters::-webkit-scrollbar { display: none; }
.filter { flex: none; min-height: 40px; padding: 8px 16px; border: 1px solid rgba(46, 31, 25, .22); background: transparent; color: var(--ink-2); font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; border-radius: 1px; }
.filter.on { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.room { display: grid; gap: 18px; }
.stage { --x: 50%; position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cocoa); touch-action: pan-y; user-select: none; }
.stage.glide { transition: --x .9s var(--ease); }
.stage > img, .rs-after img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.stage-rail { position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--gold-metal); z-index: 5; box-shadow: 0 2px 5px rgba(0, 0, 0, .3); }
.rs-after { --g: 0px; position: absolute; inset: 0; display: flex; container-type: inline-size; clip-path: inset(0 0 0 var(--x)); z-index: 2; }
.rs-weft { position: relative; flex: 1; overflow: hidden; transform: translateY(0); }
.rs-weft img { width: 100cqw; max-width: none; left: calc(var(--i) * 100cqw / -7); right: auto; }
.rs-weft::after { content: ""; position: absolute; top: 0; left: 24%; right: 24%; height: 9px; border-radius: 0 0 2px 2px; background: var(--gold-metal); box-shadow: 0 1px 3px rgba(0, 0, 0, .35); opacity: 0; transition: opacity .5s; }
.stage.dropping .rs-weft { transform: translateY(-104%); transition: none; }
.stage.dropping .rs-weft::after { opacity: 1; transition: none; }
.stage.falling .rs-weft { transform: none; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 75ms); box-shadow: inset -1px 0 0 rgba(0, 0, 0, .18); }
.stage.falling .rs-weft::after { opacity: 1; }
.rs-divider { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--gold-soft); z-index: 4; pointer-events: none; box-shadow: 0 0 10px rgba(0, 0, 0, .35); }
.rs-divider::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; border-radius: 50%; background: var(--porcelain); border: 1px solid var(--gold); color: var(--cocoa); font: 500 16px/48px var(--sans); text-align: center; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); }
.stage input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; z-index: 6; }
.rs-tag { position: absolute; top: 18px; z-index: 5; padding: 5px 10px; background: rgba(36, 24, 18, .74); color: var(--cream); font: 500 10px var(--sans); letter-spacing: .22em; text-transform: uppercase; pointer-events: none; }
.rs-tag-b { left: 12px; }
.rs-tag-a { right: 12px; }
.room-meta { display: grid; gap: 12px; }
.room-title { display: flex; align-items: baseline; gap: 14px; }
.room-no { font: italic 300 46px/1 var(--serif); color: var(--gold); }
.room-title h3 { font-size: 30px; font-weight: 400; }
.room-cat { font: 500 10.5px var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.room-nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.room-count { font: 500 12px var(--sans); letter-spacing: .2em; color: var(--ink-2); font-variant-numeric: tabular-nums; min-width: 62px; }
.hold { margin-left: auto; }
.reel { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 6px; }
.reel::-webkit-scrollbar { display: none; }
.thumb { position: relative; flex: none; width: 64px; padding: 0; border: 0; background: var(--rose); cursor: pointer; opacity: .62; transition: opacity .3s; }
.thumb img { width: 64px; height: 88px; object-fit: cover; object-position: 50% 30%; }
.thumb span { position: absolute; left: 4px; bottom: 3px; font: italic 400 15px/1 var(--serif); color: #fff; text-shadow: 0 1px 4px rgba(0, 0, 0, .7); }
.thumb.on { opacity: 1; outline: 2px solid var(--gold); outline-offset: 2px; }
.thumb:hover { opacity: 1; }
.room-note { font-size: 13px; color: var(--muted); margin: 0; }

/* IV — PICKER on her rose wall */
.solution { background: var(--rose); }
.picker { background: var(--porcelain); border: 1px solid rgba(201, 138, 150, .35); padding: 20px 14px 22px; box-shadow: 0 30px 60px -40px rgba(106, 38, 51, .45); }
.steps { position: relative; display: flex; justify-content: space-around; height: 32px; margin: 0 8px 16px; }
.steps::before { content: ""; position: absolute; top: 0; left: -8px; right: -8px; height: 6px; border-radius: 3px; background: var(--gold-metal); }
.steps span { position: relative; top: 5px; width: 13px; height: 26px; border-radius: 0 0 2px 2px; background: var(--rose-2); transition: background .5s; }
.steps span.on { background: url(../img/weft-rail.webp) 30% 50% / 900% auto; }
.steps span:nth-child(2).on { background-position: 60% 50%; }
.steps span:nth-child(3).on { background-position: 88% 50%; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step legend { font: 400 26px/1.15 var(--serif); padding: 0; margin-bottom: 16px; }
.goals { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.goal { position: relative; display: block; padding: 0; border: 0; border-radius: 1px; overflow: hidden; background: var(--cocoa); color: var(--cream); cursor: pointer; aspect-ratio: 4 / 5; text-align: left; }
.goal img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: transform .8s var(--ease), opacity .3s; }
.goal span { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 12px 12px; font: 400 19px/1.1 var(--serif); background: linear-gradient(transparent, rgba(46, 31, 25, .9)); }
.goal::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(217, 191, 140, 0); transition: border-color .3s; pointer-events: none; }
.goal:hover img { transform: scale(1.05); }
.goal:hover::after, .goal.sel::after { border-color: var(--gold-soft); }
.goal.sel { outline: 2px solid var(--gold); outline-offset: 2px; }
.goal-ask img { object-position: 50% 20%; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip { min-height: 44px; padding: 10px 16px; border-radius: 1px; border: 1px solid rgba(46, 31, 25, .25); background: transparent; font: 400 15px var(--sans); color: var(--ink); cursor: pointer; transition: background .25s, color .25s; }
.chip:hover { border-color: var(--cocoa); }
.chip.sel { background: var(--cocoa); color: var(--cream); border-color: var(--cocoa); }
.step-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.result { display: grid; gap: 22px; }
.ba { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--cocoa); --x: 50%; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before-wrap { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: var(--gold-soft); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; border-radius: 50%; background: var(--porcelain); border: 1px solid var(--gold); color: var(--cocoa); font: 500 15px/42px var(--sans); text-align: center; box-shadow: 0 6px 16px rgba(0, 0, 0, .25); }
.ba-tag { position: absolute; top: 12px; padding: 5px 10px; background: rgba(46, 31, 25, .72); color: var(--cream); font: 500 10px var(--sans); letter-spacing: .2em; text-transform: uppercase; pointer-events: none; }
.ba-tag-b { left: 12px; }
.ba-tag-a { right: 12px; }
.ba.single .ba-before-wrap, .ba.single .ba-handle, .ba.single .ba-tag, .ba.single input { display: none; }
.result h3 { font-size: 36px; margin-bottom: 10px; }
.result-copy > p { margin: 0 0 14px; color: var(--ink-2); }
.readback { background: var(--rose); border-left: 2px solid var(--gold); padding: 12px 14px; font-size: 15px; }
.fine { font-size: 13px; color: var(--muted) !important; margin-top: 14px !important; }

/* V — SERVICES */
.services { background: var(--porcelain); }
.svc-list { list-style: none; margin: 0; padding: 0; }
.svc { display: grid; grid-template-columns: 96px 1fr; gap: 18px; padding: 20px 0; border-top: 1px solid var(--line); align-items: start; }
.svc img { width: 96px; height: 124px; object-fit: cover; border-radius: 48px 48px 0 0; }
.svc h3 { font-size: 27px; font-weight: 400; margin-bottom: 6px; }
.svc p { margin: 0 0 8px; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.svc a { font: 500 11px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--oxblood); text-decoration: none; }

/* VI — VERONICA */
.ver-grid { display: grid; gap: 34px; }
.ver-photo { margin: 0 10px 0 0; position: relative; }
.ver-photo::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid var(--line-gold); border-radius: 220px 220px 0 0; }
.ver-photo img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; border-radius: 220px 220px 0 0; }
.ver-quote { margin: 22px 0; font: italic 300 25px/1.4 var(--serif); color: #f7ede6; border-left: 1px solid var(--gold); padding-left: 18px; }
.ver-copy > p { color: var(--on-dark-2); }
.ver-sign { font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.45; color: var(--on-dark) !important; }
.ver-sign span { display: block; font: 500 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-soft); margin-top: 8px; font-style: normal; }

/* VII — REVIEWS */
.reviews { background: var(--rose); }
.rev-grid { display: grid; gap: 12px; margin-top: 24px; }
.rev { margin: 0; background: var(--porcelain); padding: 24px 22px 20px; border-top: 1px solid var(--gold); position: relative; }
.rev::before { content: "“"; position: absolute; top: 2px; right: 16px; font: 300 70px/1 var(--serif); color: var(--rose-2); }
.rev blockquote { margin: 0 0 14px; font: italic 400 21px/1.45 var(--serif); color: var(--ink); position: relative; }
.rev-lead blockquote { font-size: 26px; font-weight: 300; }
.rev figcaption { font: 500 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.rev figcaption::before { content: "★★★★★"; display: block; letter-spacing: .25em; color: var(--gold); font-size: 11px; margin-bottom: 4px; }

/* MENTOR (edit only) */
.mentor { background: #efe4dc; outline: 2px dashed #c0794a; }

/* VISIT */
.visit { background: var(--cream); }
.visit-grid { display: grid; gap: 40px; }
address { font-style: normal; margin: 18px 0; font-size: 16.5px; }
address b { font: 400 26px/1.2 var(--serif); }
.addr-note { display: inline-block; margin-top: 6px; font-size: 14.5px; color: var(--oxblood); }
.visit-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.hrs-h { font-size: 28px; font-weight: 400; margin: 30px 0 8px; }
.hours { width: 100%; border-collapse: collapse; font-size: 15px; }
.hours th, .hours td { padding: 8px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr.today th, .hours tr.today td { color: var(--oxblood); font-weight: 500; }
.amen { list-style: none; padding: 0; margin: 22px 0; display: flex; flex-wrap: wrap; gap: 6px; }
.amen li { padding: 6px 12px; border: 1px solid var(--line-gold); font-size: 13px; color: var(--ink-2); }
.map { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: var(--rose); border-radius: 200px 200px 0 0; }
.map img { width: 100%; height: 100%; object-fit: cover; }
.map button { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map:has(iframe) { border-radius: 0; }
.ask { background: var(--porcelain); border: 1px solid var(--line); padding: 26px 18px; align-self: start; }
.ask h2 { font-size: clamp(36px, 9vw, 50px); }
.ask label { display: block; font: 500 10.5px var(--sans); letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; color: var(--muted); }
.ask input, .ask select, .ask textarea { display: block; width: 100%; margin-top: 4px; padding: 10px 0; font: 400 16px var(--sans); letter-spacing: 0; text-transform: none; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid rgba(46, 31, 25, .3); border-radius: 0; }
.ask textarea { resize: vertical; }
.ask input:focus, .ask select:focus, .ask textarea:focus { outline: none; border-bottom-color: var(--gold); box-shadow: 0 1px 0 var(--gold); }
.ask .btn { width: 100%; margin-top: 6px; }
.ask .hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { margin: 12px 0 0; font-size: 15px; }
.form-msg a { color: var(--oxblood); font-weight: 500; }

/* owner notes (only with ?edit) */
.note { background: #fff4d6; border: 1.5px dashed #c0794a; color: #5b3a12 !important; padding: 8px 12px; font-size: 14px; letter-spacing: 0; text-transform: none; font-family: var(--sans); }
.confirm { display: inline-block; background: #c0794a; color: #fff; font: 600 11px/1.4 var(--sans); padding: 2px 8px; border-radius: 999px; letter-spacing: .04em; text-transform: none; vertical-align: middle; }
.ver-photo .confirm { position: absolute; top: 14px; left: 14px; z-index: 2; }

/* FOOTER */
.foot { background: var(--cocoa); color: #e6d9d0; padding: 48px 0 calc(80px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-gold); }
.foot-grid { display: grid; gap: 26px; }
.foot .mark img { height: 70px; }
.foot p { margin: 16px 0 0; font-size: 15px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-links a { text-decoration: none; font: 500 11px var(--sans); letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid rgba(217, 191, 140, .45); padding-bottom: 2px; }
.foot-fine { font-size: 12.5px !important; color: #b4a49b; margin-top: 30px !important; }

/* sticky dock */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: var(--cocoa); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid rgba(217, 191, 140, .35); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; color: var(--cream); text-decoration: none; font: 500 11.5px var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.dock a + a { border-left: 1px solid rgba(217, 191, 140, .2); }
.dock svg { width: 16px; height: 16px; fill: currentColor; }
.dock-book { background: var(--gold-metal); color: var(--cocoa) !important; }

/* lightbox */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(32, 21, 17, .96); color: var(--cream); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(0, 0, 0, .6); }
.lb img { max-width: 94vw; max-height: 80vh; object-fit: contain; }
.lb p { position: absolute; bottom: 20px; left: 0; right: 0; text-align: center; margin: 0; font: italic 400 22px var(--serif); }
.lb button { position: absolute; background: transparent; color: var(--cream); border: 1px solid rgba(217, 191, 140, .5); width: 48px; height: 48px; border-radius: 50%; font-size: 26px; line-height: 1; cursor: pointer; }
.lb-x { top: 14px; right: 14px; }
.lb-p { left: 10px; top: 50%; }
.lb-n { right: 10px; top: 50%; }

@media (min-width: 760px) {
  :root { --pad: 32px; }
  section { padding: 100px 0; }
  .trust { grid-template-columns: repeat(4, 1fr); padding: 0 max(var(--pad), calc((100vw - 1180px) / 2)); }
  .trust li, .trust li:nth-child(even) { padding: 24px 20px; border-bottom: 0 !important; border-right: 1px solid var(--line); }
  .trust li:first-child { padding-left: 0; }
  .trust li:last-child { border-right: 0; }
  .goals { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .goal { aspect-ratio: 4 / 3; }
  .goal img { object-position: 50% 30%; }
  .goal span { font-size: 22px; }
  .picker { padding: 34px; }
  .result:not([hidden]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 40px; }
  .rev-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .rev-lead { grid-row: span 2; display: flex; flex-direction: column; justify-content: center; padding: 40px 36px; }
  .rev-lead blockquote { font-size: 34px; line-height: 1.3; }
  .svc-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
  .weft-band { height: 150px; }
  .edit-ctrl { display: flex; }
  .edit-card { flex-basis: calc((100% - 3 * 20px) / 3.3); }
  .edit-reel { gap: 20px; padding-left: max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); }
  .edit-bar { margin-left: max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); margin-right: max(var(--pad), calc((100vw - 1180px) / 2 + var(--pad))); }
  .thumb, .thumb img { width: 74px; }
  .thumb img { height: 100px; }
}
@media (min-width: 1000px) {
  .dock { display: none; }
  .foot { padding-bottom: 26px; }
  .nav { display: flex; }
  .mark img { height: 50px; }
  .top { padding: 10px 40px; }
  .hero { grid-template-columns: 1fr 1.05fr; align-items: center; padding: 34px max(0px, calc((100vw - 1280px) / 2)) 54px; }
  .hero-copy { order: 1; padding: 0 40px 0 56px; }
  .hero-rail { order: 2; padding: 10px 56px 0 0; }
  .wefts { height: min(76vh, 680px); }
  .method-grid { grid-template-columns: 1.05fr 1fr 1fr; grid-template-rows: auto auto; gap: 24px; align-items: start; }
  .m-wall { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 3 / 4.2; }
  .pillars { grid-column: 2 / 4; grid-row: 1; margin: 0; }
  .m-install { grid-column: 2; grid-row: 2; }
  .m-topper { grid-column: 3; grid-row: 2; }
  .room { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: 48px; align-items: center; }
  .stage { max-height: 78vh; }
  .room-title h3 { font-size: 40px; }
  .room-no { font-size: 64px; }
  .ver-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
  .visit-grid { grid-template-columns: 1fr 1fr; gap: 72px; }
  .ask { padding: 40px; position: sticky; top: 96px; }
  .foot-grid { grid-template-columns: 1fr auto; align-items: end; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .weft { animation: none; transform: none; }
  .weft img, .goal img, .edit-card img { transition: none; }
  .ribbon-track { animation: none; }
  .stage.falling .rs-weft, .stage.glide { transition: none; }
}
