/* Vow & Veil — redesign v2
   VOICE   occasion: elegant, calm, romantic; generous air between every block
   IDEA    a wedding stationery suite brought to life: fine serif lettering, a script flourish, soft paper tones
   PICTURE moving film of real weddings in the hero and page heads; photography carries every section
   COLOUR  white + ivory paper, wine #6E1F3B ink, blush fields, champagne #C2A46F for fine details and stars
   TYPE    Cormorant Garamond (headlines) + Jost (interface and body) + Pinyon Script (one short flourish per section)
   LAYOUT  centred section intros, stacked sticky cards, overlapping photo stacks, 1240px content, wide margins */

:root {
  --bg: #ffffff;
  --ivory: #fbf7f3;
  --blush: #f7e9e6;
  --blush-2: #efd6d1;
  --wine: #6e1f3b;
  --wine-deep: #45112a;
  --ink: #2a2024;
  --muted: #6f6266;
  --line: #ece2de;
  --champagne: #c2a46f;
  --sage: #4f6e57;
  --sage-bg: #e9f0ea;
  --shadow-sm: 0 6px 20px -12px rgba(69, 17, 42, .25);
  --shadow: 0 24px 50px -28px rgba(69, 17, 42, .45);
  --r-xl: 28px;
  --r-lg: 20px;
  --r: 14px;
  --r-sm: 10px;
  --serif: 'Cormorant Garamond', 'Cormorant', Garamond, Georgia, serif;
  --script: 'Pinyon Script', 'Snell Roundhand', cursive;
  --sans: 'Jost', 'Futura', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --wrap: 1240px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --hdr: 80px;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.7 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
h1, h2, .serif { font-family: var(--serif); font-weight: 500; line-height: 1.04; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 6.2vw, 5.4rem); }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.15rem; font-weight: 500; line-height: 1.3; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(5vw, 18px); }
.band { padding-block: clamp(84px, 10vw, 140px); }
.band.ivory { background: var(--ivory); }
.band.blush { background: var(--blush); }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--wine); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip:focus { top: 12px; }
.script { font-family: var(--script); font-weight: 400; color: var(--wine); font-size: clamp(1.7rem, 2.6vw, 2.2rem); line-height: 1; display: block; margin-bottom: 10px; }
.intro { text-align: center; max-width: 720px; margin: 0 auto clamp(48px, 6vw, 72px); }
.intro p { color: var(--muted); margin-top: 18px; font-size: 1.08rem; }
.intro.left { text-align: left; margin-left: 0; }
.flourish { display: block; width: 120px; height: 14px; margin: 22px auto 0; color: var(--champagne); }
.intro.left .flourish { margin-left: 0; }
.row-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px 40px; margin-bottom: clamp(40px, 5vw, 60px); }
.row-head .intro { margin-bottom: 0; }

/* Motion: reveal on scroll (content visible without JS) */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="zoom"] { transform: scale(.96); }

/* Buttons */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font-weight: 500; font-size: .98rem; letter-spacing: .02em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: color .35s var(--ease), border-color .35s, background .35s, transform .2s; white-space: nowrap; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: translateY(101%); transition: transform .45s var(--ease); }
.btn:hover::before { transform: none; }
.btn:active { transform: scale(.98); }
.btn svg { transition: transform .35s var(--ease); }
.btn:hover svg.go { transform: translateX(4px); }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary::before { background: var(--wine-deep); }
.btn-ghost { border-color: var(--ink); }
.btn-ghost::before { background: var(--ink); }
.btn-ghost:hover { color: #fff; }
.btn-light { background: #fff; color: var(--wine); }
.btn-light::before { background: var(--blush); }
.btn-glass { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); }
.btn-glass::before { background: #fff; }
.btn-glass:hover { color: var(--wine); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; color: var(--wine); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .4s var(--ease); border: 0; cursor: pointer; font-size: 1rem; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }

/* Header */
.notice { background: var(--wine-deep); color: #f3dde3; font-size: .82rem; text-align: center; padding: 7px 16px; letter-spacing: .02em; position: relative; z-index: 61; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); transition: background .4s, border-color .4s, color .4s, box-shadow .4s; }
.home .site-header:not(.scrolled) { background: transparent; border-color: rgba(255, 255, 255, .2); color: #fff; }
.site-header.scrolled { backdrop-filter: blur(10px); background: rgba(255, 255, 255, .94); box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .4); }
.hdr { display: flex; align-items: center; gap: 30px; height: var(--hdr); }
.logo { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; text-decoration: none; letter-spacing: .01em; white-space: nowrap; }
.logo i { font-family: var(--script); font-style: normal; font-weight: 400; font-size: 1.5em; color: var(--champagne); line-height: 0; }
.nav { display: flex; gap: 2px; margin-right: auto; }
.nav-item { position: relative; }
.nav-btn { display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 14px; border: 0; background: none; font-weight: 400; font-size: .98rem; letter-spacing: .02em; cursor: pointer; position: relative; }
.nav-btn::after { content: ""; position: absolute; left: 14px; right: 30px; bottom: 6px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-btn:hover::after, .nav-btn[aria-expanded="true"]::after, .nav-btn[aria-current="page"]::after { transform: none; }
.nav-btn svg { transition: transform .3s; }
.nav-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; top: calc(100% + 14px); left: -10px; width: max-content; max-width: calc(100vw - 40px); background: #fff; color: var(--ink); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 26px 28px; gap: 36px; z-index: 70; display: grid; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega h4 { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 10px; color: var(--wine); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega a { display: flex; align-items: center; gap: 10px; padding: 6px 0; text-decoration: none; font-size: .96rem; white-space: nowrap; transition: color .2s, transform .25s var(--ease); }
.mega a svg { color: var(--champagne); flex: none; }
.mega a:hover { color: var(--wine); transform: translateX(3px); }
.mega-promo { width: 210px; border-radius: var(--r); overflow: hidden; position: relative; color: #fff; text-decoration: none; }
.mega-promo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .6s var(--ease); }
.mega-promo:hover img { transform: scale(1.05); }
.mega-promo span { position: absolute; inset: auto 0 0; padding: 40px 16px 14px; background: linear-gradient(transparent, rgba(40, 10, 22, .85)); font-family: var(--serif); font-size: 1.3rem; }
.hdr-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid currentColor; border-color: color-mix(in srgb, currentColor 30%, transparent); background: transparent; cursor: pointer; transition: background .25s, border-color .25s; }
.icon-btn:hover { border-color: currentColor; }
.icon-btn.solid { background: #fff; color: var(--ink); border-color: var(--line); }
.count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--wine); color: #fff; font-size: .72rem; font-weight: 600; display: grid; place-items: center; }
.count[data-n="0"] { display: none; }
.count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.menu-btn { display: none; }
.vendor-link { font-size: .95rem; text-decoration: none; padding: 0 6px; white-space: nowrap; }
.vendor-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home .site-header:not(.scrolled) .btn-primary { background: #fff; color: var(--wine); }
.home .site-header:not(.scrolled) .btn-primary::before { background: var(--blush); }

/* Drawers */
.scrim { position: fixed; inset: 0; background: rgba(40, 12, 24, .45); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .3s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; width: min(440px, 92vw); background: #fff; color: var(--ink); z-index: 100; transform: translateX(105%); transition: transform .45s var(--ease); display: flex; flex-direction: column; }
.drawer.left { right: auto; left: 0; transform: translateX(-105%); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2rem; }
.drawer-body { overflow-y: auto; padding: 12px 24px 32px; flex: 1; }
.m-nav details { border-bottom: 1px solid var(--line); }
.m-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--serif); font-size: 1.5rem; cursor: pointer; }
.m-nav summary::-webkit-details-marker { display: none; }
.m-nav details[open] summary svg { transform: rotate(180deg); }
.m-nav ul { list-style: none; margin: 0 0 14px; padding: 0; }
.m-nav li a { display: flex; gap: 10px; align-items: center; padding: 9px 0; text-decoration: none; color: var(--muted); }
.m-nav li a svg { color: var(--champagne); }
.saved-item { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.saved-item img { width: 76px; height: 76px; object-fit: cover; border-radius: var(--r-sm); }
.saved-item b { display: block; font-weight: 500; line-height: 1.3; }
.saved-item small { color: var(--muted); }
.empty { text-align: center; padding: 48px 16px; color: var(--muted); }
.empty h3 { color: var(--ink); margin-bottom: 8px; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; }
.empty svg { color: var(--champagne); margin: 0 auto 14px; }

/* Home hero (video) */
.hero { position: relative; margin-top: calc(var(--hdr) * -1); min-height: min(100svh, 920px); display: grid; align-items: center; color: #fff; overflow: hidden; background: var(--wine-deep); }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: settle 2.4s var(--ease) forwards; }
@keyframes settle { to { transform: scale(1); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, rgba(40, 10, 22, .25), rgba(40, 10, 22, .72)), linear-gradient(180deg, rgba(40, 10, 22, .45), transparent 30%); }
.hero-inner { position: relative; z-index: 1; text-align: center; padding: calc(var(--hdr) + 70px) 0 150px; }
.hero .script { color: #f6dbe2; font-size: clamp(2rem, 3.4vw, 2.8rem); }
.hero h1 { max-width: 15ch; margin: 0 auto; font-weight: 400; }
.hero-lede { max-width: 50ch; margin: 22px auto 0; font-size: 1.12rem; color: #f8eaee; font-weight: 300; }
.rise { opacity: 0; transform: translateY(24px); animation: rise 1.1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.finder { margin: 44px auto 0; max-width: 940px; background: rgba(255, 255, 255, .97); color: var(--ink); border-radius: var(--r-xl); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55); padding: 22px 22px 22px 34px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; text-align: left; }
.finder-line { font-family: var(--serif); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.6; flex: 1 1 540px; }
.finder select, .finder input { font-family: var(--sans); font-weight: 500; font-size: .7em; color: var(--wine); background: var(--blush); border: 0; border-bottom: 1.5px solid var(--wine); border-radius: 10px 10px 2px 2px; padding: 4px 32px 4px 12px; margin: 0 4px; cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236e1f3b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; transition: background-color .2s; }
.finder select:hover, .finder input:hover { background-color: var(--blush-2); }
.finder input { width: 4.4em; padding-right: 12px; background-image: none; cursor: text; }
.finder .btn { flex: none; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 26px; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: .85rem; color: #f3dde3; }
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.scroll-cue span { width: 22px; height: 36px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 12px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
.video-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: inherit; cursor: pointer; font-size: .85rem; }
.video-toggle svg { width: 30px; height: 30px; padding: 8px; border: 1px solid rgba(255, 255, 255, .6); border-radius: 50%; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.cat { position: relative; display: grid; justify-items: center; text-align: center; gap: 14px; padding: 30px 12px 26px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); text-decoration: none; overflow: hidden; isolation: isolate; transition: border-color .4s, transform .4s var(--ease), box-shadow .4s; }
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--img) center/cover; opacity: 0; transform: scale(1.1); transition: opacity .5s, transform .8s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(transparent, rgba(40, 10, 22, .75)); opacity: 0; transition: opacity .5s; }
.cat:hover, .cat:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: #fff; }
.cat:hover::before, .cat:focus-visible::before { opacity: 1; transform: none; }
.cat:hover::after, .cat:focus-visible::after { opacity: 1; }
.cat-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--blush); color: var(--wine); display: grid; place-items: center; transition: background .4s, color .4s; }
.cat:hover .cat-ic, .cat:focus-visible .cat-ic { background: rgba(255, 255, 255, .92); }
.cat b { font-weight: 500; font-size: 1rem; line-height: 1.3; }
.cat small { display: block; color: var(--muted); font-size: .85rem; transition: color .4s; }
.cat:hover small, .cat:focus-visible small { color: #f3dde3; }

/* Stacked "how it works" */
.stack { display: grid; gap: 28px; }
.stack-card { position: sticky; top: calc(var(--hdr) + 28px + var(--i) * 22px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: 460px; background: #fff; border-radius: var(--r-xl); overflow: hidden; box-shadow: 0 -10px 40px -24px rgba(69, 17, 42, .35); transform-origin: center top; will-change: transform; }
.stack-card:nth-child(2) { background: var(--wine); color: #fff; }
.stack-card:nth-child(3) { background: var(--blush); }
.stack-copy { padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.stack-num { font-family: var(--serif); font-size: 1.1rem; color: var(--champagne); display: flex; align-items: center; gap: 14px; }
.stack-num::after { content: ""; width: 60px; height: 1px; background: currentColor; }
.stack-copy h3 { font-family: var(--serif); font-size: clamp(2rem, 3.4vw, 2.8rem); font-weight: 500; line-height: 1.08; }
.stack-copy p { max-width: 44ch; opacity: .85; }
.stack-copy ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 10px; }
.stack-copy li { display: flex; gap: 12px; align-items: center; }
.stack-copy li svg { color: var(--champagne); flex: none; }
.stack-media { position: relative; overflow: hidden; }
.stack-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Vendor cards */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, calc((100% - 72px) / 4)); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 18px; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btns { display: flex; gap: 10px; }
.rail-btn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--ink); background: transparent; display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s; }
.rail-btn:hover { background: var(--ink); color: #fff; }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 4/3.2; overflow: hidden; background: var(--blush); }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.06); }
.strip { position: absolute; inset: 0; display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; background: #fff; }
.strip img { position: static; width: 100%; height: 100%; object-fit: cover; }
.strip img:first-child { grid-row: span 2; }
.badges { position: absolute; left: 14px; top: 14px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; font-size: .76rem; font-weight: 500; letter-spacing: .02em; background: rgba(255, 255, 255, .95); color: var(--ink); }
.badge.featured { background: var(--wine); color: #fff; }
.badge.verified { color: var(--sage); }
.save { position: absolute; right: 14px; top: 14px; z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: transform .3s var(--ease), color .2s; }
.save:hover { transform: scale(1.1); color: var(--wine); }
.save[aria-pressed="true"] { color: var(--wine); }
.save[aria-pressed="true"] svg path { fill: var(--wine); }
.save.pop svg { animation: pop-heart .5s var(--ease); }
@keyframes pop-heart { 40% { transform: scale(1.4); } }
.card-body { padding: 22px 24px 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card-kicker { font-size: .78rem; letter-spacing: .08em; color: var(--champagne); font-weight: 500; }
.card-title { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; line-height: 1.1; }
.card-title button { text-decoration: none; background: none; border: 0; padding: 0; font: inherit; text-align: left; cursor: pointer; color: inherit; }
.card-title button::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .92rem; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta svg { color: var(--champagne); flex: none; }
.rating { display: inline-flex; align-items: center; gap: 5px; color: var(--ink); font-weight: 500; }
.rating svg { color: var(--champagne); }
.rating small { color: var(--muted); font-weight: 400; font-size: .88rem; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.price-row strong { color: var(--ink); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; white-space: nowrap; }
.offer { display: flex; gap: 8px; align-items: flex-start; color: var(--sage); font-size: .88rem; line-height: 1.4; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: .78rem; padding: 3px 11px; border-radius: 999px; border: 1px solid var(--blush-2); color: var(--wine); }
.paid-note { font-size: .88rem; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; }

/* Film + stacked photos */
.film { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.film-frame { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; background: var(--wine-deep); box-shadow: var(--shadow); }
.film-frame video, .film-frame > img { width: 100%; height: 100%; object-fit: cover; }
.film-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(40, 10, 22, .8)); pointer-events: none; }
.film-cap { position: absolute; left: 30px; right: 30px; bottom: 28px; z-index: 1; color: #fff; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.film-cap h3 { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.05; }
.film-cap p { font-size: .92rem; color: #f3dde3; margin-top: 4px; }
.play { flex: none; width: 64px; height: 64px; border-radius: 50%; border: 0; background: #fff; color: var(--wine); display: grid; place-items: center; cursor: pointer; position: relative; }
.play::before { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { from { transform: scale(.85); opacity: 1; } to { transform: scale(1.35); opacity: 0; } }
.photo-stack { position: relative; height: 330px; margin-bottom: 40px; }
.photo-stack img { position: absolute; width: 56%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); border: 6px solid #fff; box-shadow: var(--shadow); transition: transform .7s var(--ease); }
.photo-stack img:nth-child(1) { left: 0; top: 30px; transform: rotate(-6deg); }
.photo-stack img:nth-child(2) { left: 22%; top: 0; transform: rotate(2deg); z-index: 1; }
.photo-stack img:nth-child(3) { right: 0; top: 46px; transform: rotate(7deg); }
.photo-stack:hover img:nth-child(1) { transform: rotate(-10deg) translateX(-14px); }
.photo-stack:hover img:nth-child(3) { transform: rotate(11deg) translateX(14px); }
.stories { display: grid; gap: 4px; }
.story { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; transition: padding .35s var(--ease); }
.story:hover { padding-left: 12px; }
.story b { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; display: block; line-height: 1.15; }
.story small { color: var(--muted); font-size: .9rem; }
.story svg { color: var(--wine); transition: transform .35s var(--ease); }
.story:hover svg { transform: translateX(4px); }

/* Marquee */
.marquee { display: grid; gap: 18px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-track { display: flex; gap: 18px; width: max-content; animation: mq 60s linear infinite; }
.mq-track.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.mq-track a { position: relative; flex: none; background: var(--blush); width: 260px; height: 320px; border-radius: var(--r-lg); overflow: hidden; }
.mq-track.rev a { width: 340px; height: 240px; }
.mq-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mq-track a:hover img { transform: scale(1.07); }
.mq-track span { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); padding: 5px 13px; border-radius: 999px; font-size: .82rem; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.mq-track a:hover span, .mq-track a:focus-visible span { opacity: 1; transform: none; }
.center { text-align: center; margin-top: 52px; }

/* Planning board */
.plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.tools { list-style: none; padding: 0; margin: 34px 0 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; }
.tools li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; }
.tools .ic { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--wine); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.tools b { display: block; font-weight: 500; }
.tools span { color: var(--muted); font-size: .92rem; line-height: 1.5; display: block; }
.board { background: #fff; border-radius: var(--r-xl); box-shadow: var(--shadow); overflow: hidden; }
.board-top { position: relative; height: 170px; }
.board-top img { width: 100%; height: 100%; object-fit: cover; }
.board-top div { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(40, 10, 22, .82), rgba(40, 10, 22, .1)); color: #fff; padding: 24px 28px; display: flex; flex-direction: column; justify-content: flex-end; }
.board-top h3 { font-family: var(--serif); font-size: 2.1rem; font-weight: 500; line-height: 1; }
.board-top p { font-size: .9rem; opacity: .9; margin-top: 6px; }
.board-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.board-stats div { padding: 18px 22px; border-right: 1px solid var(--line); }
.board-stats div:last-child { border-right: 0; }
.board-stats b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.board-stats small { color: var(--muted); font-size: .84rem; }
.board-body { padding: 20px 28px 26px; }
.progress { height: 6px; border-radius: 6px; background: var(--blush); overflow: hidden; margin: 4px 0 12px; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--wine), #a5476a); border-radius: 6px; transition: width .8s var(--ease); }
.tasks { list-style: none; margin: 0; padding: 0; }
.tasks label { display: grid; grid-template-columns: 24px 1fr auto; gap: 14px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.tasks li:last-child label { border-bottom: 0; }
.tasks input { width: 20px; height: 20px; accent-color: var(--wine); margin: 0; }
.tasks span { transition: color .3s; }
.tasks input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-color: var(--champagne); }
.tasks small { color: var(--muted); font-size: .82rem; white-space: nowrap; }
.sample { font-size: .82rem; color: var(--muted); margin-top: 12px; }

/* Cities */
.cities { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 18px; grid-auto-flow: dense; }
.city { position: relative; border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: #fff; }
.city:nth-child(1) { grid-row: span 2; grid-column: span 2; }
.city:nth-child(8) { grid-column: span 2; }
.city img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.city:hover img { transform: scale(1.07); }
.city div { position: absolute; inset: auto 0 0; padding: 50px 20px 18px; background: linear-gradient(transparent, rgba(40, 10, 22, .8)); display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.city b { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1; }
.city small { font-size: .85rem; opacity: .9; white-space: nowrap; }

/* Pro band with video */
.pro { position: relative; color: #fff; overflow: hidden; background: var(--wine-deep); }
.pro video, .pro .pro-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(69, 17, 42, .95) 30%, rgba(69, 17, 42, .55)); }
.pro .wrap { position: relative; z-index: 1; }
.pro-box { max-width: 600px; }
.pro .script { color: #f3c9d3; }
.pro p { color: #f3dde3; margin-top: 18px; }
.pro ul { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 12px; }
.pro li { display: flex; gap: 12px; align-items: center; }
.pro li svg { color: var(--champagne); flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; }

/* Footer */
.site-footer { background: var(--wine-deep); color: #eed6dd; padding: 80px 0 30px; }
.foot { display: grid; grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.foot .logo { color: #fff; }
.foot p { margin-top: 14px; max-width: 34ch; font-size: .95rem; }
.foot h4 { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: #fff; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.foot a { text-decoration: none; font-size: .95rem; }
.foot a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.foot-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: .84rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* Page heads with video (listing + inspiration) */
.page-hero { position: relative; color: #fff; overflow: hidden; background: var(--wine-deep); padding: clamp(70px, 9vw, 120px) 0 clamp(110px, 12vw, 150px); text-align: center; }
.page-hero video, .page-hero .ph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 10, 22, .55), rgba(40, 10, 22, .7)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .script { color: #f6dbe2; }
.page-hero h1 { font-size: clamp(2.8rem, 5.6vw, 4.6rem); font-weight: 400; }
.page-hero p { max-width: 56ch; margin: 18px auto 0; color: #f8eaee; font-weight: 300; font-size: 1.08rem; }
.crumbs { font-size: .86rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; color: #f3dde3; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.searchbar { position: relative; z-index: 5; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; background: #fff; border-radius: 999px; box-shadow: var(--shadow); padding: 8px; max-width: 920px; margin: -38px auto 0; }
.searchbar .fld { display: grid; padding: 4px 26px; border-right: 1px solid var(--line); }
.searchbar .fld:nth-last-child(2) { border-right: 0; }
.searchbar label { font-size: .78rem; font-weight: 500; letter-spacing: .04em; color: var(--muted); display: flex; gap: 6px; align-items: center; }
.searchbar label svg { color: var(--champagne); }
.searchbar input, .searchbar select { border: 0; background: transparent; padding: 2px 0; font-size: 16px; font-weight: 500; outline-offset: 4px; width: 100%; }
.cat-switch { display: flex; gap: 10px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 30px auto 0; padding: 2px; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.cat-switch::-webkit-scrollbar { display: none; }
.cat-switch a { flex: none; white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: .9rem; transition: border-color .3s, background .3s, color .3s; }
.cat-switch a svg { color: var(--champagne); }
.cat-switch a:hover { border-color: var(--wine); color: var(--wine); }
.cat-switch a[aria-current="page"] { background: var(--wine); color: #fff; border-color: var(--wine); }
.cat-switch a[aria-current="page"] svg { color: #fff; }

/* Listing */
.listing { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; padding-top: 60px; padding-bottom: 110px; }
.filters { position: sticky; top: calc(var(--hdr) + 24px); align-self: start; background: var(--ivory); border-radius: var(--r-lg); padding: 26px 24px; }
.filters-title { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin-bottom: 8px; display: flex; justify-content: space-between; align-items: center; }
.fgroup { border-bottom: 1px solid var(--line); padding: 18px 0; }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup > h3, .fgroup legend { font-size: .95rem; font-weight: 500; margin-bottom: 12px; padding: 0; float: left; width: 100%; }
.fgroup legend + *, .fgroup > h3 + * { clear: both; }
fieldset.fgroup { border: 0; border-bottom: 1px solid var(--line); margin: 0; min-inline-size: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px; border-radius: 999px; border: 1px solid var(--blush-2); background: #fff; font-size: .88rem; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--wine); }
.chip[aria-pressed="true"] { background: var(--wine); color: #fff; border-color: var(--wine); }
.chip .sw { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15); }
.radio-list { display: grid; gap: 2px; }
.radio-list label, .check { display: flex; align-items: center; gap: 12px; min-height: 38px; cursor: pointer; font-size: .96rem; }
.radio-list input, .check input { width: 18px; height: 18px; accent-color: var(--wine); margin: 0; }
.range-val { display: flex; justify-content: space-between; font-size: .92rem; color: var(--muted); margin-bottom: 4px; }
.range-val b { color: var(--ink); font-weight: 500; }
input[type=range] { width: 100%; accent-color: var(--wine); height: 28px; }
.num { width: 100%; height: 46px; border: 1px solid var(--blush-2); border-radius: var(--r-sm); padding: 0 14px; font-size: 16px; background: #fff; }
.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 20px; margin-bottom: 14px; }
.results-bar h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); }
.results-bar .paid-note { width: 100%; }
.sort { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: var(--muted); }
.sort select { height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: #fff; color: var(--ink); font-size: 16px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.active-chips:empty { display: none; }
.active-chips button { display: inline-flex; gap: 8px; align-items: center; border: 0; background: var(--blush); color: var(--wine); padding: 7px 14px; border-radius: 999px; font-size: .86rem; cursor: pointer; }
.active-chips .clear { background: none; text-decoration: underline; color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.filter-toggle { display: none; }
.f-actions { display: none; }

/* Inspiration */
.facet-bar { position: sticky; top: var(--hdr); z-index: 20; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.facet-bar .wrap { display: flex; align-items: center; gap: 14px 22px; padding-block: 14px; flex-wrap: wrap; }
.facet { display: flex; align-items: center; gap: 10px; }
.facet > b { font-weight: 500; font-size: .9rem; color: var(--muted); }
.facet .chips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.facet .chip { flex: none; }
.facet-bar .search { margin-left: auto; }
.search { position: relative; min-width: 240px; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); padding: 0 18px 0 44px; font-size: 16px; }
.search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.masonry { columns: 4 250px; column-gap: 20px; }
.pin { break-inside: avoid; margin: 0 0 20px; position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--blush); }
.pin button.open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pin img { width: 100%; height: auto; min-height: 180px; object-fit: cover; transition: transform 1s var(--ease); }
.pin:hover img { transform: scale(1.05); }
.pin-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 18px 16px; color: #fff; background: linear-gradient(transparent, rgba(40, 10, 22, .78)); pointer-events: none; transform: translateY(10px); opacity: .92; transition: transform .5s var(--ease), opacity .5s; }
.pin:hover .pin-cap { transform: none; opacity: 1; }
.pin-cap b { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; display: block; line-height: 1.15; }
.pin-cap small { font-size: .82rem; opacity: .9; }
.sponsor { break-inside: avoid; margin-bottom: 20px; border-radius: var(--r-lg); overflow: hidden; background: var(--wine); color: #fff; }
.sponsor img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.sponsor div { padding: 20px 22px 24px; display: grid; gap: 10px; }
.sponsor small { color: #f3d9df; font-size: .8rem; }
.sponsor h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; line-height: 1.05; }
.sponsor p { color: #f3d9df; font-size: .95rem; }

/* Dialogs */
dialog { border: 0; padding: 0; border-radius: var(--r-xl); max-width: min(1080px, 94vw); width: 100%; max-height: 92vh; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .55); color: var(--ink); overflow: hidden; }
dialog::backdrop { background: rgba(40, 12, 24, .62); backdrop-filter: blur(4px); }
dialog[open] { animation: dlg .45s var(--ease); }
@keyframes dlg { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.dlg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); max-height: 92vh; }
.dlg-media { background: var(--ivory); display: grid; grid-template-rows: minmax(0, 1fr) 92px; gap: 8px; padding: 8px; min-height: 0; }
.dlg-media > img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; min-height: 0; }
.thumbs { display: flex; gap: 8px; }
.thumbs button { flex: 1; padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; cursor: pointer; background: none; opacity: .7; transition: opacity .3s, border-color .3s; }
.thumbs button:hover, .thumbs button[aria-current="true"] { opacity: 1; }
.thumbs button[aria-current="true"] { border-color: var(--wine); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dlg-info { padding: 34px 34px 28px; overflow-y: auto; display: grid; gap: 16px; align-content: start; position: relative; }
.dlg-info h2 { font-size: clamp(2.2rem, 3.4vw, 2.9rem); padding-right: 44px; }
.dlg-close { position: absolute; right: 18px; top: 18px; z-index: 3; background: #fff; color: var(--ink); border-color: var(--line); }
.kv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.kv div { background: var(--ivory); border-radius: var(--r); padding: 12px 14px; display: grid; grid-template-columns: 22px 1fr; gap: 2px 10px; align-items: center; }
.kv svg { color: var(--champagne); grid-row: span 2; }
.kv small { color: var(--muted); font-size: .8rem; }
.kv b { font-weight: 500; font-size: .98rem; }
.form { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.form h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 500; }
.field input, .field textarea { border: 1px solid #ddcdc9; border-radius: var(--r-sm); padding: 11px 14px; font-size: 16px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--wine); box-shadow: 0 0 0 3px rgba(110, 31, 59, .12); outline: none; }
.field textarea { min-height: 90px; resize: vertical; }
.field input[aria-invalid="true"] { border-color: #b3261e; }
.err { color: #b3261e; font-size: .82rem; }
.success { background: var(--sage-bg); color: var(--sage); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; animation: rise .6s var(--ease) both; }
.success b { color: #2f4a37; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.lb { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.lb-img { background: #1d1216; display: grid; place-items: center; min-height: 0; position: relative; }
.lb-img img { max-height: 92vh; width: 100%; height: 100%; object-fit: contain; animation: rise .5s var(--ease) both; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255, 255, 255, .92); color: var(--ink); border: 0; }
.lb-nav.prev { left: 14px; }
.lb-nav.next { right: 14px; }
.credit { display: grid; grid-template-columns: 70px 1fr; gap: 14px; align-items: center; background: var(--ivory); border-radius: var(--r); padding: 12px; }
.credit img { width: 70px; height: 70px; object-fit: cover; border-radius: var(--r-sm); }
.credit b { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.toast { position: fixed; left: 50%; bottom: 26px; transform: translate(-50%, 160%); background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: .92rem; z-index: 150; transition: transform .45s var(--ease); max-width: calc(100vw - 32px); text-align: center; display: flex; gap: 10px; align-items: center; }
.toast svg { color: var(--champagne); flex: none; }
.toast.show { transform: translate(-50%, 0); }

/* Responsive */
@media (max-width: 1140px) {
  .nav-btn { padding: 0 10px; }
  .vendor-link { display: none; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facet-bar .search { margin-left: 0; flex: 1 1 100%; }
}
@media (max-width: 940px) {
  :root { --hdr: 70px; }
  .nav, .hdr-actions .btn { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-actions { margin-left: auto; }
  .plan, .film { grid-template-columns: 1fr; }
  .stack-card { grid-template-columns: 1fr; min-height: 0; }
  .stack-media { height: 240px; order: -1; }
  .film-frame { aspect-ratio: 16/11; }
  .cities { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 200px; }
  .city:nth-child(1) { grid-row: auto; }
  .listing { grid-template-columns: 1fr; padding-top: 44px; }
  .filter-toggle { display: inline-flex; }
  .filters { position: fixed; inset: auto 0 0 0; top: auto; max-height: 86vh; overflow-y: auto; background: #fff; z-index: 95; border-radius: 26px 26px 0 0; padding: 22px 22px 0; transform: translateY(105%); transition: transform .45s var(--ease); box-shadow: 0 -20px 40px -20px rgba(0, 0, 0, .3); }
  .filters.open { transform: none; }
  .f-actions { display: flex; gap: 10px; position: sticky; bottom: 0; background: #fff; padding: 14px 0 20px; border-top: 1px solid var(--line); }
  .f-actions .btn { flex: 1; padding: 0 12px; }
  .dlg, .lb { grid-template-columns: 1fr; overflow-y: auto; }
  .dlg-media { grid-template-rows: 300px 78px; }
  .lb-img img { max-height: 58vh; }
  .dlg-info { overflow: visible; }
  .searchbar { grid-template-columns: 1fr; border-radius: var(--r-xl); margin: -46px 18px 0; }
  .searchbar .fld { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 16px; }
  .searchbar .fld:nth-last-child(2) { border-bottom: 0; }
  .searchbar .btn { margin: 4px; }
  .facet-bar { position: static; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .logo { font-size: 1.6rem; }
  .hero { min-height: 0; }
  .hero-inner { padding: calc(var(--hdr) + 50px) 0 110px; }
  .finder { padding: 20px; border-radius: var(--r-lg); }
  .finder-line { flex-basis: 100%; font-size: 1.4rem; }
  .finder .btn { width: 100%; }
  .hero-foot { justify-content: center; }
  .hero-foot .scroll-cue { display: none; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat { padding: 22px 10px 20px; }
  .rail { grid-auto-columns: 84%; }
  .row-head .rail-btns { display: none; }
  .tools { grid-template-columns: 1fr; }
  .board-stats div { padding: 14px; }
  .board-stats b { font-size: 1.45rem; }
  .board-body, .board-top div { padding-inline: 20px; }
  .photo-stack { height: 270px; }
  .photo-stack img { width: 46%; }
  .film-frame { aspect-ratio: 4/5; }
  .film-cap { left: 20px; right: 20px; bottom: 20px; }
  .mq-track a { width: 200px; height: 250px; }
  .mq-track.rev a { width: 250px; height: 180px; }
  .cities { grid-auto-rows: 170px; gap: 12px; }
  .city b { font-size: 1.35rem; }
  .city div { flex-direction: column; align-items: flex-start; gap: 2px; padding: 40px 14px 14px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: span 2; }
  .grid { grid-template-columns: 1fr; }
  .masonry { columns: 2 150px; column-gap: 12px; }
  .pin { margin-bottom: 12px; }
  .pin-cap { padding: 36px 12px 10px; }
  .pin-cap b { font-size: 1.05rem; }
  .facet { flex-wrap: wrap; width: 100%; }
  .facet > b { width: 100%; }
  .kv, .form .row { grid-template-columns: 1fr 1fr; }
  .dlg-info { padding: 26px 20px; }
  .stack-card { position: relative; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .rise { opacity: 1; transform: none; }
  .mq-track { animation: none; }
}
