/* Birch design exploration
   Seven alternate directions, split into ten parts that can be mixed: palette, typography, logo, header (nav),
   hero, buttons and fields, service cards, section layouts, photography and footer. Every rule here is scoped to a
   data-dz-<part>="vN" attribute on <html>, which the Original design never sets, so Original renders exactly as
   before. Remove this file with app-design.js and app-studio.js once a final direction is chosen. */

/* Extra palette tokens. Their defaults derive from the Original palette so any part works with it. */
:root {
  --surface: #FFFFFF; --on-primary: var(--ink); --on-accent: var(--ink);
  --band: var(--primary-soft); --on-band: var(--ink); --band-2: var(--accent-soft); --on-band-2: var(--ink);
  --deep: var(--ink); --on-deep: #FFFFFF;
}

/* ============ Palette (shared component colors) ============ */
html[data-dz-palette] body { background: var(--bg); }
html[data-dz-palette] .card, html[data-dz-palette] .pcard, html[data-dz-palette] .step, html[data-dz-palette] .menu-panel,
html[data-dz-palette] .input, html[data-dz-palette] .chip:not(.on), html[data-dz-palette] .search, html[data-dz-palette] .pcard-cover .price { background-color: var(--surface); }
html[data-dz-palette] .section-soft { background: var(--bg-soft); }
html[data-dz-palette] .section-dark { background: var(--deep); color: var(--on-deep); }
html[data-dz-palette] .section-dark .muted { color: color-mix(in srgb, var(--on-deep) 76%, var(--deep)); }
html[data-dz-palette] .section-dark .eyebrow { color: var(--accent); }
html[data-dz-palette] .btn { color: var(--on-primary); }
html[data-dz-palette] .btn-dark { background: var(--ink); color: var(--bg); }
html[data-dz-palette] .btn-dark:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); }
html[data-dz-palette] .btn-ghost, html[data-dz-palette] .btn-soft, html[data-dz-palette] .btn-white { color: var(--ink); }
html[data-dz-palette] .btn-ghost:hover { color: var(--bg); }
html[data-dz-palette] .chip.on { color: var(--bg); }
html[data-dz-palette] .cta-band { background: var(--band); color: var(--on-band); }
html[data-dz-palette] .gift-card { background: var(--primary); color: var(--on-primary); }
html[data-dz-palette] .step::before { color: var(--on-primary); }
html[data-dz-palette] .trust-item .ico { color: var(--accent); }
html[data-dz-palette] .tabbar { background: var(--surface); }
html[data-dz-palette] .toast { background: var(--ink); color: var(--bg); }

/* ============ Typography ============ */
html[data-dz-type] h1, html[data-dz-type] h2, html[data-dz-type] h3 { font-weight: var(--display-weight); letter-spacing: var(--display-tracking); }
html[data-dz-type] .pcard-name, html[data-dz-type] .stat b, html[data-dz-type] .big-stat { font-weight: var(--display-weight); }
html[data-dz-type="v3"] h1 { font-size: clamp(2.7rem, 7vw, 5.1rem); line-height: 1.02; }
html[data-dz-type="v3"] h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
html[data-dz-type="v3"] h3 { font-size: 1.45rem; }
html[data-dz-type="v4"] h1 { line-height: .96; }
html[data-dz-type="v6"] h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); line-height: 1.02; }
html[data-dz-type="v6"] h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
html[data-dz-type="v6"] h3 { font-size: 1.35rem; }

/* ============ Logo ============ */
html[data-dz-logo] .logo-mark { background: none; width: 38px; height: 38px; border-radius: 0; }
html[data-dz-logo] .logo-mark svg { width: 38px; height: 38px; }
html[data-dz-logo="v1"] .logo { font: 600 1.6rem 'Fraunces', Georgia, serif; text-transform: lowercase; letter-spacing: -.035em; }
html[data-dz-logo="v2"] .logo { font: 400 1.55rem 'Young Serif', Georgia, serif; letter-spacing: -.015em; }
html[data-dz-logo="v3"] .logo { display: grid; grid-template-columns: auto auto; column-gap: 12px; align-items: center; font: 700 1.2rem/1 'Cormorant Garamond', Georgia, serif; text-transform: uppercase; letter-spacing: .24em; }
html[data-dz-logo="v3"] .logo .logo-mark { grid-row: span 2; }
html[data-dz-logo="v3"] .logo::after { content: 'Neighbors \00B7 North Shore'; grid-column: 2; font: 600 .52rem/1.6 var(--font); letter-spacing: .2em; color: var(--ink-3); }
html[data-dz-logo="v4"] .logo { font: 800 1.75rem 'Bricolage Grotesque', system-ui, sans-serif; text-transform: lowercase; letter-spacing: -.055em; }
html[data-dz-logo="v5"] .logo { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; font: 700 1.4rem/1 'Zilla Slab', Rockwell, Georgia, serif; text-transform: uppercase; letter-spacing: .08em; }
html[data-dz-logo="v5"] .logo .logo-mark { grid-row: span 2; }
html[data-dz-logo="v5"] .logo::after { content: 'Local'; grid-column: 2; justify-self: start; font: 700 .55rem/1 var(--font); letter-spacing: .3em; text-transform: uppercase; padding: 3px 6px 2px 8px; margin-top: 3px; border: 1.5px solid currentColor; }
html[data-dz-logo="v6"] .logo-mark { display: none; }
html[data-dz-logo="v6"] .logo { font: 700 1.75rem 'Familjen Grotesk', system-ui, sans-serif; letter-spacing: -.045em; }

/* ============ Header and navigation ============ */
html[data-dz-nav] .header { backdrop-filter: none; }
html[data-dz-nav] .menu-panel { color: var(--ink); }
/* 1 Rooted: calm, solid, links to the right */
html[data-dz-nav="v1"] .header { background: var(--bg); border-bottom: 1px solid var(--line); }
html[data-dz-nav="v1"] .nav { justify-content: flex-end; }
html[data-dz-nav="v1"] .nav a { border-radius: 10px; }
/* 2 Front Porch: friendly bar with a color rule */
html[data-dz-nav="v2"] .header { background: var(--surface); border-bottom: 3px solid var(--primary); }
html[data-dz-nav="v2"] .nav a { font-weight: 700; border-radius: 12px; }
html[data-dz-nav="v2"] .nav a:hover, html[data-dz-nav="v2"] .nav a.on { background: var(--band); }
/* 3 Town Common: centered two-tier masthead */
html[data-dz-nav="v3"] .header { background: var(--bg); border-bottom: 1px solid var(--ink); }
@media (min-width: 900px) {
  html[data-dz-nav="v3"] { --header-h: 116px; }
  html[data-dz-nav="v3"] .header .container { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 1fr 46px; column-gap: 20px; row-gap: 0; }
  html[data-dz-nav="v3"] .header .logo { grid-column: 2; grid-row: 1; justify-self: center; align-self: center; }
  html[data-dz-nav="v3"] .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; gap: 22px; border-top: 1px solid var(--line); }
  html[data-dz-nav="v3"] .header-right { grid-column: 3; grid-row: 1; justify-self: end; align-self: center; margin: 0; }
}
html[data-dz-nav="v3"] .nav a { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 600; border-radius: 0; padding: 6px 2px; }
html[data-dz-nav="v3"] .nav a:hover, html[data-dz-nav="v3"] .nav a.on { background: none; box-shadow: inset 0 -1.5px 0 var(--ink); }
/* 4 Bright Side: dark bar, bright call to action */
html[data-dz-nav="v4"] .header { background: var(--deep); color: var(--on-deep); }
html[data-dz-nav="v4"] .header .logo { color: var(--on-deep); }
html[data-dz-nav="v4"] .nav a { font-weight: 700; border-radius: 10px; }
html[data-dz-nav="v4"] .nav a:hover, html[data-dz-nav="v4"] .nav a.on, html[data-dz-nav="v4"] .header .icon-btn:hover { background: color-mix(in srgb, var(--on-deep) 12%, transparent); }
html[data-dz-nav="v4"] .header .icon-btn { color: var(--on-deep); }
html[data-dz-nav="v4"] .header .btn-ghost { border-color: var(--on-deep); color: var(--on-deep); background: transparent; }
html[data-dz-nav="v4"] .header .btn:not(.btn-ghost) { background: var(--band); color: var(--on-band); }
/* 5 General Store: storefront rule, boxed sign */
html[data-dz-nav="v5"] .header { background: var(--bg); border-bottom: 5px double var(--ink); }
html[data-dz-nav="v5"] .header .logo { border: 2px solid var(--ink); background: var(--surface); padding: 3px 12px 3px 3px; }
html[data-dz-nav="v5"] .nav a { text-transform: uppercase; letter-spacing: .12em; font-size: .74rem; font-weight: 700; border-radius: 0; }
html[data-dz-nav="v5"] .nav a:hover, html[data-dz-nav="v5"] .nav a.on { background: none; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 7px; }
/* 6 The Journal: quiet masthead, hairline */
html[data-dz-nav="v6"] .header { background: var(--bg); border-bottom: 1px solid var(--ink); }
html[data-dz-nav="v6"] .nav { justify-content: center; }
html[data-dz-nav="v6"] .nav a { border-radius: 0; font-size: .86rem; padding: 6px 12px; }
html[data-dz-nav="v6"] .nav a:hover, html[data-dz-nav="v6"] .nav a.on { background: none; text-decoration: underline; text-underline-offset: 6px; }

/* ============ Hero ============ */
html[data-dz-hero] .hero { min-height: 0; background: var(--bg); text-align: left; overflow: visible; }
html[data-dz-hero] .hero .container { display: grid; gap: 20px; padding-top: 44px; padding-bottom: 64px; }
html[data-dz-hero] .hero h1 { margin: 0; max-width: 16ch; }
html[data-dz-hero] .hero .lede { margin: 0; max-width: 46ch; }
html[data-dz-hero] .hero .search { margin: 8px 0 0; max-width: 640px; }
html[data-dz-hero] .hero .hero-proof { margin-top: 4px; justify-content: flex-start; }
.dz-hero-media { margin: 0; min-width: 0; }
.dz-hero-media img { width: 100%; display: block; object-fit: cover; }
@media (min-width: 900px) {
  html[data-dz-hero] .hero .container { grid-template-columns: 1.05fr .95fr; column-gap: 64px; align-items: center; }
  html[data-dz-hero] .hero .container > :not(.dz-hero-media) { grid-column: 1; }
  html[data-dz-hero] .hero .dz-hero-media { grid-column: 2; grid-row: 1 / span 5; }
}
/* 1 Rooted: split with a pebble-shaped photograph */
html[data-dz-hero="v1"] .hero .eyebrow { color: var(--primary-dark); }
html[data-dz-hero="v1"] .hero .search { border: 1px solid var(--line); box-shadow: none; border-radius: 18px; }
.dz-pebble { position: relative; }
.dz-pebble img { aspect-ratio: 4 / 4.5; border-radius: 47% 53% 44% 56% / 55% 46% 54% 45%; }
.dz-pebble figcaption { position: absolute; left: 6%; bottom: 7%; display: inline-flex; align-items: center; gap: 6px; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 14px; font-weight: 600; font-size: .88rem; box-shadow: 0 8px 24px rgba(0, 0, 0, .08); }
/* 2 Front Porch: layered photo collage */
html[data-dz-hero="v2"] .hero { background: var(--bg-soft); }
html[data-dz-hero="v2"] .hero h1 em { font-style: normal; color: var(--ink); background: linear-gradient(transparent 60%, var(--primary) 60%, var(--primary) 92%, transparent 92%); }
html[data-dz-hero="v2"] .hero .search { border: 2px solid var(--ink); border-radius: 22px; box-shadow: 4px 4px 0 var(--ink); }
.dz-collage { position: relative; height: 340px; }
.dz-collage img { position: absolute; border: 6px solid var(--surface); box-shadow: 0 10px 30px rgba(0, 0, 0, .1); }
.dz-collage .a { left: 0; top: 0; width: 60%; height: 62%; border-radius: 28px; }
.dz-collage .b { right: 0; top: 12%; width: 44%; aspect-ratio: 1; height: auto; border-radius: 50%; }
.dz-collage .c { left: 14%; bottom: 0; width: 52%; height: 42%; border-radius: 28px; }
.dz-sticker { position: absolute; right: 0; bottom: 4%; display: flex; gap: 8px; align-items: center; background: var(--primary); color: var(--on-primary); border: 2px solid var(--ink); border-radius: 16px; padding: 10px 14px; font-weight: 800; font-size: .84rem; line-height: 1.3; max-width: 230px; transform: rotate(-2deg); box-shadow: 3px 3px 0 var(--ink); }
@media (min-width: 900px) { .dz-collage { height: 500px; } }
/* 3 Town Common: centered, matted photograph below */
html[data-dz-hero="v3"] .hero .container { text-align: center; justify-items: center; padding-bottom: 56px; }
@media (min-width: 900px) {
  html[data-dz-hero="v3"] .hero .container { grid-template-columns: 1fr; }
  html[data-dz-hero="v3"] .hero .container > *, html[data-dz-hero="v3"] .hero .dz-hero-media { grid-column: 1; grid-row: auto; }
}
html[data-dz-hero="v3"] .hero h1 { max-width: 15ch; }
html[data-dz-hero="v3"] .hero .lede { margin: 0 auto; }
html[data-dz-hero="v3"] .hero .hero-proof { justify-content: center; }
html[data-dz-hero="v3"] .hero .eyebrow { display: flex; align-items: center; gap: 14px; color: var(--ink-2); letter-spacing: .22em; }
html[data-dz-hero="v3"] .hero .eyebrow::before, html[data-dz-hero="v3"] .hero .eyebrow::after { content: ''; width: 44px; height: 1px; background: currentColor; }
html[data-dz-hero="v3"] .hero .search { margin: 10px auto 0; width: 100%; max-width: 760px; border-radius: 0; border: 1px solid var(--ink); box-shadow: none; padding: 6px; }
html[data-dz-hero="v3"] .hero .search label { border-radius: 0; }
.dz-frame { width: 100%; max-width: 1120px; margin-top: 36px !important; padding: 12px; background: var(--surface); border: 1px solid var(--line); }
.dz-frame img { aspect-ratio: 16 / 9; }
.dz-frame figcaption { padding: 14px 4px 4px; font: 600 .7rem/1.6 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); }
@media (min-width: 900px) { .dz-frame img { aspect-ratio: 21 / 8; } }
/* 4 Bright Side: full color block, oversized type */
html[data-dz-hero="v4"] .hero { background: var(--primary); color: var(--on-primary); }
html[data-dz-hero="v4"] .hero .eyebrow, html[data-dz-hero="v4"] .hero .lede, html[data-dz-hero="v4"] .hero .hero-proof, html[data-dz-hero="v4"] .hero .hero-proof b { color: var(--on-primary); }
html[data-dz-hero="v4"] .hero .container { padding-top: 56px; padding-bottom: 76px; }
html[data-dz-hero="v4"] .hero h1 { font-size: clamp(3rem, 10vw, 7.2rem); line-height: .94; max-width: 11ch; }
html[data-dz-hero="v4"] .hero h1 em { font-style: normal; color: var(--on-band); background: linear-gradient(var(--band), var(--band)) no-repeat 0 88% / 100% 52%; padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
html[data-dz-hero="v4"] .hero .lede { font-size: 1.2rem; }
html[data-dz-hero="v4"] .hero .search { border: 3px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.dz-bold { display: grid; gap: 22px; justify-items: start; }
.dz-roundel { width: 186px; height: 186px; border-radius: 50%; background: var(--accent); color: var(--on-accent); border: 3px solid var(--ink); display: grid; place-content: center; text-align: center; padding: 20px; box-shadow: 6px 6px 0 var(--ink); }
.dz-roundel b { font: 800 3rem/1 var(--display); letter-spacing: -.04em; }
.dz-roundel span { font-weight: 700; font-size: .8rem; line-height: 1.3; margin-top: 6px; }
.dz-cat-links { display: flex; flex-wrap: wrap; gap: 8px; }
.dz-cat-links a { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 10px; padding: 8px 12px; font-weight: 700; font-size: .88rem; }
.dz-cat-links a:hover { background: var(--band); }
@media (min-width: 900px) {
  html[data-dz-hero="v4"] .hero .container { grid-template-columns: 1.45fr .55fr; }
  .dz-bold { justify-items: center; }
  .dz-cat-links { justify-content: center; }
}
/* 5 General Store: signboard headline, framed photo with a name plate */
html[data-dz-hero="v5"] .hero .eyebrow { color: var(--primary); font-weight: 800; letter-spacing: .2em; }
html[data-dz-hero="v5"] .hero h1 { border: 2px solid var(--ink); background: var(--surface); padding: 22px 24px; box-shadow: 8px 8px 0 var(--primary); max-width: none; font-size: clamp(2.2rem, 5.2vw, 3.9rem); }
html[data-dz-hero="v5"] .hero h1 em { font-style: normal; color: var(--primary); }
html[data-dz-hero="v5"] .hero .search { border-radius: 0; border: 2px solid var(--ink); box-shadow: none; padding: 0; gap: 0; }
html[data-dz-hero="v5"] .hero .search label { border-radius: 0; padding: 12px 16px; border-bottom: 2px solid var(--ink); }
html[data-dz-hero="v5"] .hero .search .btn { margin: 8px; }
@media (min-width: 640px) { html[data-dz-hero="v5"] .hero .search label { border-bottom: 0; border-right: 2px solid var(--ink); } }
.dz-shop img { aspect-ratio: 4 / 4.6; border: 2px solid var(--ink); }
.dz-shop figcaption { background: var(--primary); color: var(--on-primary); border: 2px solid var(--ink); border-top: 0; text-align: center; padding: 10px; font: 700 .72rem var(--font); letter-spacing: .16em; text-transform: uppercase; }
/* 6 The Journal: asymmetric, type overlapping a portrait */
html[data-dz-hero="v6"] .hero .container { padding-top: 40px; padding-bottom: 76px; }
html[data-dz-hero="v6"] .hero .eyebrow { color: var(--ink); border-top: 1px solid var(--ink); padding-top: 10px; justify-self: start; letter-spacing: .18em; }
html[data-dz-hero="v6"] .hero h1 { font-size: clamp(2.8rem, 6.6vw, 5.4rem); line-height: 1; max-width: 11ch; position: relative; z-index: 2; }
html[data-dz-hero="v6"] .hero h1 em { color: var(--primary-dark); }
html[data-dz-hero="v6"] .hero .lede { max-width: 38ch; font-size: 1.15rem; }
html[data-dz-hero="v6"] .hero .search { background: none; border-radius: 0; box-shadow: none; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 6px 0; max-width: 560px; }
html[data-dz-hero="v6"] .hero .search label { border-radius: 0; padding-left: 0; }
.dz-portrait img { aspect-ratio: 4 / 5; }
.dz-portrait figcaption { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); font: italic 400 1.1rem var(--display); color: var(--ink-2); }
@media (min-width: 900px) {
  html[data-dz-hero="v6"] .hero .container { grid-template-columns: 7fr 5fr; column-gap: 0; }
  html[data-dz-hero="v6"] .hero h1 { margin-right: -24%; }
  .dz-portrait img { aspect-ratio: 3 / 4; }
}

/* ============ Buttons and fields ============ */
html[data-dz-buttons="v1"] .btn { border-radius: 14px; }
html[data-dz-buttons="v1"] .btn-sm { border-radius: 11px; }
html[data-dz-buttons="v1"] .chip { border-radius: 10px; }
html[data-dz-buttons="v1"] .input { border-radius: 12px; }

html[data-dz-buttons="v2"] .btn { border-radius: 16px; border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--ink); font-weight: 800; }
html[data-dz-buttons="v2"] .btn:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
html[data-dz-buttons="v2"] .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
html[data-dz-buttons="v2"] .btn-sm { box-shadow: 2px 2px 0 var(--ink); }
html[data-dz-buttons="v2"] .chip { border-radius: 12px; border-width: 2px; font-weight: 700; }
html[data-dz-buttons="v2"] .input { border-radius: 14px; border-width: 2px; }

html[data-dz-buttons="v3"] .btn { border-radius: 2px; text-transform: uppercase; letter-spacing: .14em; font-size: .74rem; font-weight: 700; padding: 0 28px; }
html[data-dz-buttons="v3"] .btn-sm { font-size: .66rem; padding: 0 16px; }
html[data-dz-buttons="v3"] .btn-ghost { border-width: 1px; }
html[data-dz-buttons="v3"] .chip, html[data-dz-buttons="v3"] .input { border-radius: 2px; }
html[data-dz-buttons="v3"] .chip { border-width: 1px; }

html[data-dz-buttons="v4"] .btn { border-radius: 12px; border: 2.5px solid var(--ink); box-shadow: 4px 4px 0 var(--ink); font-weight: 800; font-size: 1rem; }
html[data-dz-buttons="v4"] .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
html[data-dz-buttons="v4"] .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
html[data-dz-buttons="v4"] .btn-sm { font-size: .85rem; box-shadow: 3px 3px 0 var(--ink); }
html[data-dz-buttons="v4"] .chip { border-radius: 10px; border: 2px solid var(--ink); font-weight: 700; }
html[data-dz-buttons="v4"] .input { border-radius: 12px; border: 2px solid var(--ink); }
html[data-dz-buttons="v4"] .input:focus { box-shadow: 4px 4px 0 var(--primary); }

html[data-dz-buttons="v5"] .btn { border-radius: 0; border: 2px solid var(--ink); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; font-weight: 800; }
html[data-dz-buttons="v5"] .btn:hover { background: var(--ink); color: var(--bg); }
html[data-dz-buttons="v5"] .btn-sm { font-size: .7rem; }
html[data-dz-buttons="v5"] .chip { border-radius: 0; border: 2px solid var(--ink); text-transform: uppercase; font-size: .72rem; letter-spacing: .06em; font-weight: 700; }
html[data-dz-buttons="v5"] .input { border-radius: 0; border: 2px solid var(--ink); }
html[data-dz-buttons="v5"] .badge, html[data-dz-buttons="v5"] .pill { border-radius: 2px; }

html[data-dz-buttons="v6"] .btn { border-radius: 0; font-weight: 500; letter-spacing: .01em; padding: 0 30px; }
html[data-dz-buttons="v6"] .btn-ghost { border: 0; border-bottom: 1px solid currentColor; padding: 0 2px; background: none; }
html[data-dz-buttons="v6"] .btn-ghost:hover { background: none; color: var(--primary-dark); }
html[data-dz-buttons="v6"] .chip { border-radius: 0; border-width: 1px; }
html[data-dz-buttons="v6"] .input { border-radius: 0; border-width: 1px; border-color: var(--ink-3); }


/* ============ Service cards ============ */
html[data-dz-cards] .cat-tile::after { display: none; }
html[data-dz-cards] .cat-tile img { position: static; height: auto; z-index: auto; }
html[data-dz-cards] .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-dz-cards] .cat-tile h3 { text-wrap: balance; overflow-wrap: anywhere; }
@media (min-width: 640px) { html[data-dz-cards] .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* 1 Rooted: soft cards, caption below */
html[data-dz-cards="v1"] .cat-tile { aspect-ratio: auto; padding: 0; justify-content: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; }
html[data-dz-cards="v1"] .cat-tile img { aspect-ratio: 4 / 3; }
html[data-dz-cards="v1"] .cat-tile h3 { padding: 16px 18px 0; }
html[data-dz-cards="v1"] .cat-tile span { padding: 4px 18px 18px; color: var(--ink-2); }
html[data-dz-cards="v1"] .cat-suggest { padding: 24px; justify-content: center; background: var(--band); border: 1.5px dashed var(--primary-dark); }
html[data-dz-cards="v1"] .pcard { border-radius: 22px; }
/* 2 Front Porch: color blocks with round photos */
html[data-dz-cards="v2"] .cat-tile { aspect-ratio: auto; padding: 22px 16px 20px; border-radius: 28px; text-align: center; align-items: center; justify-content: flex-start; background: var(--band); border: 2px solid var(--ink); }
html[data-dz-cards="v2"] .cat-tile:nth-child(3n+2) { background: var(--band-2); }
html[data-dz-cards="v2"] .cat-tile:nth-child(3n) { background: var(--surface); }
html[data-dz-cards="v2"] .cat-tile img { width: 70%; aspect-ratio: 1; border-radius: 50%; border: 4px solid var(--surface); margin: 0 auto 14px; }
html[data-dz-cards="v2"] .cat-suggest { justify-content: center; border-style: dashed; }
html[data-dz-cards="v2"] .pcard { border: 2px solid var(--ink); border-radius: 24px; box-shadow: 4px 4px 0 var(--ink); }
/* 3 Town Common: arched window frames */
html[data-dz-cards="v3"] .cat-tile { aspect-ratio: auto; padding: 0; text-align: center; align-items: center; justify-content: flex-start; background: none; overflow: visible; }
html[data-dz-cards="v3"] .cat-tile img { aspect-ratio: 3 / 4; border-radius: 999px 999px 3px 3px; }
html[data-dz-cards="v3"] .cat-tile h3 { margin-top: 14px; }
html[data-dz-cards="v3"] .cat-tile span { text-transform: uppercase; letter-spacing: .16em; font-size: .66rem; color: var(--ink-2); }
html[data-dz-cards="v3"] .cat-suggest { aspect-ratio: 3 / 4; justify-content: center; background: var(--surface); border: 1px solid var(--line); border-radius: 999px 999px 3px 3px; padding: 18px; }
html[data-dz-cards="v3"] .pcard { border-radius: 3px; }
/* 4 Bright Side: bold color tiles, photo at the bottom */
html[data-dz-cards="v4"] .cat-tile { aspect-ratio: auto; justify-content: flex-start; padding: 18px; gap: 2px; border: 2.5px solid var(--ink); border-radius: 18px; background: var(--primary); box-shadow: 5px 5px 0 var(--ink); overflow: visible; }
html[data-dz-cards="v4"] .cat-tile:nth-child(4n+2) { background: var(--accent); }
html[data-dz-cards="v4"] .cat-tile:nth-child(4n+3) { background: var(--band); }
html[data-dz-cards="v4"] .cat-tile:nth-child(4n) { background: var(--band-2); }
html[data-dz-cards="v4"] .cat-tile:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
html[data-dz-cards="v4"] .cat-tile h3 { font-size: 1.5rem; letter-spacing: -.03em; color: var(--ink); }
html[data-dz-cards="v4"] .cat-tile span { color: var(--ink); }
html[data-dz-cards="v4"] .cat-tile img { order: 3; margin-top: 14px; aspect-ratio: 1; border-radius: 10px; border: 2.5px solid var(--ink); }
html[data-dz-cards="v4"] .cat-suggest { justify-content: center; background: var(--surface); border-style: dashed; }
html[data-dz-cards="v4"] .pcard { border: 2.5px solid var(--ink); border-radius: 18px; box-shadow: 6px 6px 0 var(--ink); }
/* 5 General Store: a numbered shelf grid */
html[data-dz-cards="v5"] .cat-grid { counter-reset: shelf; gap: 0; border-top: 2px solid var(--ink); border-left: 2px solid var(--ink); }
html[data-dz-cards="v5"] .cat-tile { counter-increment: shelf; aspect-ratio: auto; border-radius: 0; padding: 16px; justify-content: flex-start; background: var(--surface); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
html[data-dz-cards="v5"] .cat-tile:hover { transform: none; background: var(--bg-soft); }
html[data-dz-cards="v5"] .cat-tile::before { content: 'No. ' counter(shelf, decimal-leading-zero); font: 800 .7rem var(--font); letter-spacing: .16em; color: var(--primary); margin-bottom: 10px; }
html[data-dz-cards="v5"] .cat-tile img { aspect-ratio: 4 / 3; border: 2px solid var(--ink); }
html[data-dz-cards="v5"] .cat-tile h3 { margin-top: 12px; }
html[data-dz-cards="v5"] .cat-tile span { text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
html[data-dz-cards="v5"] .cat-suggest { border-width: 0 2px 2px 0; border-style: solid; border-color: var(--ink); background: var(--band); justify-content: center; }
html[data-dz-cards="v5"] .cat-suggest::before { display: none; }
html[data-dz-cards="v5"] .pcard { border: 2px solid var(--ink); border-radius: 0; }
html[data-dz-cards="v5"] .pcard-cover { border-bottom: 2px solid var(--ink); }
/* 6 The Journal: a numbered editorial index */
html[data-dz-cards="v6"] .cat-grid { grid-template-columns: 1fr; gap: 0; counter-reset: idx; border-top: 1px solid var(--ink); }
html[data-dz-cards="v6"] .cat-tile { counter-increment: idx; aspect-ratio: auto; display: grid; grid-template-columns: auto 1fr 92px; column-gap: 18px; align-items: center; padding: 18px 0; border-radius: 0; border-bottom: 1px solid var(--line); background: none; overflow: visible; }
html[data-dz-cards="v6"] .cat-tile:hover { transform: none; }
html[data-dz-cards="v6"] .cat-tile:hover h3 { color: var(--primary-dark); }
html[data-dz-cards="v6"] .cat-tile::before { content: counter(idx, decimal-leading-zero); grid-row: 1 / span 2; font: italic 400 1.15rem var(--display); color: var(--ink-3); }
html[data-dz-cards="v6"] .cat-tile img { grid-column: 3; grid-row: 1 / span 2; width: 92px; height: 70px; }
html[data-dz-cards="v6"] .cat-tile h3 { grid-column: 2; font-size: clamp(1.5rem, 3vw, 2rem); }
html[data-dz-cards="v6"] .cat-tile span { grid-column: 2; color: var(--ink-2); font-weight: 500; }
html[data-dz-cards="v6"] .cat-suggest { border: 0; border-bottom: 1px solid var(--line); text-align: left; }
html[data-dz-cards="v6"] .cat-suggest > i { grid-column: 3; grid-row: 1 / span 2; justify-self: center; margin: 0; }
@media (min-width: 900px) { html[data-dz-cards="v6"] .cat-grid { grid-template-columns: 1fr 1fr; column-gap: 56px; } }
html[data-dz-cards="v6"] .pcard { border: 0; border-radius: 0; background: none; }
html[data-dz-cards="v6"] .pcard-cover { aspect-ratio: 4 / 5; }
html[data-dz-cards="v6"] .pcard-body { padding: 0; }
html[data-dz-cards="v6"] .cat-tile img { outline: none !important; }

/* ============ Section layouts ============ */
/* 1 Rooted: generous space, soft sage bands */
html[data-dz-sections="v1"] .section-soft { background: var(--band); }
html[data-dz-sections="v1"] .step { border: 0; border-radius: 24px; background: var(--surface); }
html[data-dz-sections="v1"] .step::before { background: var(--primary); color: var(--on-primary); }
html[data-dz-sections="v1"] .trust-item { border: 0; border-radius: 24px; background: color-mix(in srgb, var(--on-deep) 7%, transparent); }
html[data-dz-sections="v1"] .cta-band { background: var(--band-2); color: var(--on-band-2); border-radius: 32px; }
html[data-dz-sections="v1"] .gift-card { border-radius: 26px; }
@media (min-width: 900px) { html[data-dz-sections="v1"] .section { padding: 124px 0; } }
/* 2 Front Porch: bright cards and a sunny trust band */
html[data-dz-sections="v2"] .step { border: 2px solid var(--ink); border-radius: 26px; box-shadow: 4px 4px 0 var(--ink); background: var(--band); }
html[data-dz-sections="v2"] .step:nth-child(2) { background: var(--band-2); }
html[data-dz-sections="v2"] .step:nth-child(3) { background: color-mix(in srgb, var(--accent) 30%, var(--surface)); }
html[data-dz-sections="v2"] .step::before { background: var(--surface); color: var(--ink); border: 2px solid var(--ink); }
html[data-dz-sections="v2"] .section-dark { background: var(--band); color: var(--on-band); }
html[data-dz-sections="v2"] .section-dark .muted { color: var(--ink-2); }
html[data-dz-sections="v2"] .section-dark .eyebrow { color: var(--primary-dark); }
html[data-dz-sections="v2"] .trust-item { background: var(--surface); border: 2px solid var(--ink); border-radius: 22px; }
html[data-dz-sections="v2"] .trust-item .ico { background: var(--band-2); color: var(--ink); }
html[data-dz-sections="v2"] .cta-band { background: var(--accent); color: var(--on-accent); border: 2px solid var(--ink); border-radius: 30px; box-shadow: 6px 6px 0 var(--ink); }
html[data-dz-sections="v2"] .gift-card { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
/* 3 Town Common: centered heads, rules and roman numerals */
html[data-dz-sections="v3"] .section + .section { border-top: 1px solid var(--line); }
html[data-dz-sections="v3"] .section-head { flex-direction: column; align-items: center; text-align: center; }
html[data-dz-sections="v3"] .section-head > div { display: flex; flex-direction: column; align-items: center; }
html[data-dz-sections="v3"] .section-head .eyebrow { display: flex; align-items: center; gap: 12px; letter-spacing: .22em; color: var(--ink-2); }
html[data-dz-sections="v3"] .section-head .eyebrow::before, html[data-dz-sections="v3"] .section-head .eyebrow::after { content: ''; width: 36px; height: 1px; background: currentColor; }
html[data-dz-sections="v3"] .section-head h2 { margin-top: 10px; }
html[data-dz-sections="v3"] .step { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 26px 6px 0; text-align: center; }
html[data-dz-sections="v3"] .step::before { content: counter(step, upper-roman); display: block; width: auto; height: auto; background: none; margin: 0 auto 10px; font: 600 2rem var(--display); color: var(--primary-dark); }
html[data-dz-sections="v3"] .trust-item { background: none; border: 1px solid color-mix(in srgb, var(--on-deep) 25%, transparent); border-radius: 0; text-align: center; }
html[data-dz-sections="v3"] .trust-item .ico { background: none; border: 1px solid currentColor; }
html[data-dz-sections="v3"] .cta-band { background: var(--surface); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; outline: 1px solid var(--ink); outline-offset: 6px; }
html[data-dz-sections="v3"] .gift-card { border-radius: 4px; background: var(--deep); color: var(--on-deep); }
/* 4 Bright Side: full-bleed color and huge numbers */
html[data-dz-sections="v4"] .section h2 { font-size: clamp(2rem, 5.4vw, 3.5rem); }
html[data-dz-sections="v4"] .section-soft { background: var(--band); }
html[data-dz-sections="v4"] .step { border: 2.5px solid var(--ink); border-radius: 20px; background: var(--surface); box-shadow: 6px 6px 0 var(--ink); }
html[data-dz-sections="v4"] .step::before { content: counter(step, decimal-leading-zero); width: auto; height: auto; background: none; border-radius: 0; font: 800 4rem/1 var(--display); letter-spacing: -.05em; color: var(--primary-dark); }
html[data-dz-sections="v4"] .trust-item { border-radius: 18px; border: 2px solid color-mix(in srgb, var(--on-deep) 30%, transparent); }
html[data-dz-sections="v4"] .trust-item .ico { background: var(--primary); color: var(--on-primary); }
html[data-dz-sections="v4"] .cta-band { background: var(--band-2); color: var(--on-band-2); border: 2.5px solid var(--ink); border-radius: 26px; box-shadow: 8px 8px 0 var(--ink); }
html[data-dz-sections="v4"] .gift-card { border: 2.5px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
/* 5 General Store: ruled heads and boxed shelves */
html[data-dz-sections="v5"] .section-head { border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 28px; }
html[data-dz-sections="v5"] .section-soft { border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
html[data-dz-sections="v5"] .steps { gap: 0; border: 2px solid var(--ink); }
html[data-dz-sections="v5"] .step { border: 0; border-radius: 0; border-bottom: 2px solid var(--ink); background: var(--surface); }
html[data-dz-sections="v5"] .step:last-child { border-bottom: 0; }
@media (min-width: 900px) { html[data-dz-sections="v5"] .step { border-bottom: 0; border-right: 2px solid var(--ink); } html[data-dz-sections="v5"] .step:last-child { border-right: 0; } }
html[data-dz-sections="v5"] .step::before { content: 'Step ' counter(step); display: inline-block; width: auto; height: auto; border-radius: 0; padding: 4px 10px; background: var(--primary); color: var(--on-primary); font: 800 .7rem var(--font); letter-spacing: .14em; text-transform: uppercase; }
html[data-dz-sections="v5"] .trust-item { border-radius: 0; background: none; border: 2px solid color-mix(in srgb, var(--on-deep) 40%, transparent); }
html[data-dz-sections="v5"] .cta-band { border-radius: 0; background: var(--accent); color: var(--on-accent); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); }
html[data-dz-sections="v5"] .gift-card { border-radius: 4px; border: 2px solid var(--ink); }
/* 6 The Journal: asymmetric heads, editorial numerals */
@media (min-width: 900px) {
  html[data-dz-sections="v6"] .section-head { display: grid; grid-template-columns: 1fr 2fr; align-items: end; column-gap: 40px; }
  html[data-dz-sections="v6"] .section-head > div { display: contents; }
  html[data-dz-sections="v6"] .section-head .eyebrow { grid-column: 1; align-self: start; padding-top: 12px; border-top: 1px solid var(--ink); color: var(--ink); }
  html[data-dz-sections="v6"] .section-head h2, html[data-dz-sections="v6"] .section-head p { grid-column: 2; }
  html[data-dz-sections="v6"] .section-head > .btn { grid-column: 2; justify-self: start; margin-top: 16px; }
}
html[data-dz-sections="v6"] .section-head h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
html[data-dz-sections="v6"] .section-soft { background: var(--band-2); }
html[data-dz-sections="v6"] .step { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
html[data-dz-sections="v6"] .step::before { content: counter(step, decimal-leading-zero); display: block; width: auto; height: auto; background: none; border-radius: 0; margin-bottom: 12px; font: italic 400 3.2rem/1 var(--display); color: var(--primary-dark); }
html[data-dz-sections="v6"] .section-dark { background: var(--band); color: var(--on-band); }
html[data-dz-sections="v6"] .section-dark .muted { color: var(--ink-2); }
html[data-dz-sections="v6"] .section-dark .eyebrow { color: var(--ink); }
html[data-dz-sections="v6"] .trust-item { background: none; border: 0; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
html[data-dz-sections="v6"] .trust-item .ico { background: none; width: auto; height: auto; color: var(--primary-dark); }
html[data-dz-sections="v6"] .cta-band { border-radius: 0; background: var(--deep); color: var(--on-deep); }
html[data-dz-sections="v6"] .cta-band .eyebrow { color: inherit !important; }
html[data-dz-sections="v6"] .cta-band .btn-dark { background: var(--on-deep); color: var(--deep); }
html[data-dz-sections="v6"] .cta-band .btn-white { background: transparent; color: var(--on-deep); border-color: var(--on-deep); }
html[data-dz-sections="v6"] .gift-card { border-radius: 2px; background: var(--deep); color: var(--on-deep); }

/* ============ Photography ============ */
html[data-dz-photos] .cat-tile img, html[data-dz-photos] .dz-hero-media img, html[data-dz-photos] .pcard-cover img, html[data-dz-photos] .gallery img { transition: filter .3s; }
html[data-dz-photos="v1"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: saturate(.88) sepia(.07) contrast(.97) brightness(1.02); }
html[data-dz-photos="v2"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: saturate(1.08) brightness(1.03); }
html[data-dz-photos="v3"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: saturate(.72) sepia(.08) contrast(.95); }
html[data-dz-photos="v4"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: saturate(1.18) contrast(1.06); }
html[data-dz-photos="v5"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: sepia(.16) saturate(.86) contrast(1.02); }
html[data-dz-photos="v6"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: grayscale(.3) contrast(1.06); }
html[data-dz-photos="v6"] :is(.cat-tile, .pcard):hover img { filter: grayscale(0) contrast(1.02); }

/* ============ Footer ============ */
html[data-dz-footer] .footer { padding-top: 0; }
html[data-dz-footer] .footer-grid { padding-top: 8px; }
.dz-foot-top { margin-bottom: 36px; }
/* 1 Rooted: soft band, big lowercase wordmark */
html[data-dz-footer="v1"] .footer { background: var(--bg-soft); border-top: 0; }
html[data-dz-footer="v1"] .dz-foot-top { padding-top: 56px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.dz-foot-word { font: 600 clamp(4rem, 14vw, 8.5rem)/.9 var(--display); letter-spacing: -.05em; color: var(--primary-dark); }
html[data-dz-footer="v1"] .dz-foot-top p { max-width: 42ch; margin-top: 14px; color: var(--ink-2); }
/* 2 Front Porch: a sunny sign-off */
html[data-dz-footer="v2"] .footer { background: var(--band); color: var(--on-band); border-top: 0; }
html[data-dz-footer="v2"] .dz-foot-top { padding-top: 56px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 2px solid var(--ink); }
html[data-dz-footer="v2"] .dz-foot-top h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--on-band); }
html[data-dz-footer="v2"] .footer-legal { border-color: color-mix(in srgb, var(--ink) 20%, transparent); color: var(--ink-2); }
/* 3 Town Common: navy, centered, small caps */
html[data-dz-footer="v3"] .footer { background: var(--deep); color: color-mix(in srgb, var(--on-deep) 78%, var(--deep)); border-top: 0; text-align: center; }
html[data-dz-footer="v3"] .footer h4, html[data-dz-footer="v3"] .footer .logo, html[data-dz-footer="v3"] .footer a:hover { color: var(--on-deep) !important; }
html[data-dz-footer="v3"] .footer .logo { justify-content: center; justify-items: center; }
html[data-dz-footer="v3"] .footer-grid p { margin-left: auto; margin-right: auto; }
html[data-dz-footer="v3"] .dz-foot-top { padding-top: 40px; padding-bottom: 32px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 22%, transparent); }
.dz-foot-towns { font: 600 .7rem/1.8 var(--font); letter-spacing: .22em; text-transform: uppercase; }
html[data-dz-footer="v3"] .footer-legal { border-color: color-mix(in srgb, var(--on-deep) 22%, transparent); color: inherit; }
/* 4 Bright Side: a giant wordmark */
html[data-dz-footer="v4"] .footer { background: var(--deep); color: color-mix(in srgb, var(--on-deep) 78%, var(--deep)); border-top: 0; overflow: hidden; }
html[data-dz-footer="v4"] .footer h4, html[data-dz-footer="v4"] .footer .logo, html[data-dz-footer="v4"] .footer a:hover { color: var(--on-deep) !important; }
.dz-foot-giant { font: 800 clamp(6rem, 29vw, 21rem)/.8 var(--display); letter-spacing: -.07em; color: var(--primary); padding: 34px var(--gutter) 0; white-space: nowrap; }
html[data-dz-footer="v4"] .footer-legal { border-color: color-mix(in srgb, var(--on-deep) 20%, transparent); color: inherit; }
/* 5 General Store: a ruled masthead strip and columns */
html[data-dz-footer="v5"] .footer { border-top: 5px double var(--ink); }
html[data-dz-footer="v5"] .dz-foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 14px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 800 .72rem var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); }
@media (min-width: 900px) {
  html[data-dz-footer="v5"] .footer-grid { gap: 0; }
  html[data-dz-footer="v5"] .footer-grid > div { padding: 0 24px; border-left: 2px solid var(--ink); }
  html[data-dz-footer="v5"] .footer-grid > div:first-child { border-left: 0; padding-left: 0; }
}
html[data-dz-footer="v5"] .footer-legal { border-top: 2px solid var(--ink); }
/* 6 The Journal: closing statement */
html[data-dz-footer="v6"] .footer { border-top: 1px solid var(--ink); }
html[data-dz-footer="v6"] .dz-foot-top { padding-top: 64px; padding-bottom: 44px; border-bottom: 1px solid var(--line); }
.dz-foot-quote { font: 400 clamp(2.2rem, 5.6vw, 4.4rem)/1.03 var(--display); letter-spacing: -.02em; max-width: 18ch; color: var(--ink); }
.dz-foot-quote em { font-style: italic; color: var(--primary-dark); }

/* ============ Floating design switcher (visitors) ============ */
.dz-fab { position: fixed; left: 16px; bottom: 84px; z-index: 60; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; font-family: system-ui, -apple-system, 'Segoe UI', sans-serif; }
.dz-fab-btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px 0 12px; border-radius: 12px; border: 0; background: #1F1A24; color: #FFFFFF; box-shadow: 0 6px 20px rgba(0, 0, 0, .2); font: 600 .85rem system-ui, -apple-system, 'Segoe UI', sans-serif; cursor: pointer; opacity: .9; }
.dz-fab-btn:hover, .dz-fab.open .dz-fab-btn { opacity: 1; }
.dz-fab-btn i[data-ic] { font-size: 1.15rem; }
.dz-panel { width: min(350px, calc(100vw - 32px)); max-height: min(70vh, 580px); overflow: auto; background: #FFFFFF; color: #1F1A24; border-radius: 16px; box-shadow: 0 18px 50px rgba(0, 0, 0, .24); padding: 12px; }
.dz-panel[hidden] { display: none; }
.dz-panel-head { padding: 6px 8px 10px; }
.dz-panel-head b { display: block; font-size: .98rem; }
.dz-panel-head span { display: block; margin-top: 3px; font-size: .78rem; line-height: 1.4; color: #6B6470; }
.dz-opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px; border: 0; border-radius: 10px; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.dz-opt:hover { background: #F5F3F6; }
.dz-opt.on { background: #F1ECF5; box-shadow: inset 0 0 0 1.5px #1F1A24; }
.dz-opt-txt b { display: block; font-size: .88rem; }
.dz-opt-txt small { display: block; font-size: .74rem; line-height: 1.35; color: #6B6470; }
.dz-dots { display: inline-flex; flex: none; }
.dz-dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #FFFFFF; margin-left: -6px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.dz-dots i:first-child { margin-left: 0; }
.dz-studio-link { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding: 12px 10px 6px; border-top: 1px solid #EEEAF0; font-weight: 600; font-size: .85rem; }
.dz-note { margin: 4px 10px 6px; font-size: .74rem; color: #8A5A00; }
@media (min-width: 900px) { .dz-fab { bottom: 20px; } }
@media (max-width: 899px) { .dz-fab { left: 12px; bottom: 80px; } .dz-fab-btn { width: 42px; padding: 0; justify-content: center; border-radius: 50%; } .dz-fab-btn span { display: none; } }

/* ============ Design Studio (CMS) ============ */
.stu-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
.stu-preset { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px 0 8px; border: 1.5px solid var(--line); border-radius: 10px; background: #FFFFFF; color: var(--ink); font: 600 .82rem var(--font); cursor: pointer; }
.stu-preset:hover { border-color: var(--ink-3); }
.stu-swatch { display: inline-flex; }
.stu-swatch i { width: 14px; height: 14px; border-radius: 50%; margin-left: -4px; border: 1.5px solid #FFFFFF; box-shadow: 0 0 0 1px rgba(0, 0, 0, .1); }
.stu-swatch i:first-child { margin-left: 0; }
.stu-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.stu-main { display: grid; gap: 18px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1100px) { .stu-main { grid-template-columns: 330px minmax(0, 1fr); } .stu-controls { position: sticky; top: 76px; max-height: calc(100vh - 96px); overflow: auto; } }
.stu-controls { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 6px 14px; }
.stu-dim { padding: 12px 0; border-top: 1px solid var(--line); }
.stu-dim:first-child { border-top: 0; }
.stu-dim-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.stu-dim-head b { display: block; font-size: .88rem; }
.stu-dim-head small { display: block; font-size: .72rem; color: var(--ink-3); line-height: 1.35; }
.stu-seg { display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; }
.stu-seg button { position: relative; height: 32px; border: 1.5px solid var(--line); border-radius: 8px; background: #FFFFFF; color: var(--ink); font: 700 .8rem var(--font); cursor: pointer; }
.stu-seg button:hover { border-color: var(--ink-3); }
.stu-seg button.on { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.stu-seg sup { position: absolute; top: -2px; right: 2px; font-size: .55rem; color: #E0A100; }
.stu-star { flex: none; width: 30px; height: 30px; border-radius: 8px; border: 1.5px solid var(--line); background: #FFFFFF; color: #C9C2CE; font-size: .95rem; cursor: pointer; }
.stu-star.on { color: #E0A100; border-color: #F2D27A; background: #FFF8E1; }
.stu-fonts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.stu-fonts span { display: block; font-size: .7rem; font-weight: 600; color: var(--ink-3); margin-bottom: 3px; }
.stu-type-sample { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--bg-soft); }
.stu-type-sample b { display: block; font-size: 1.3rem; font-weight: 600; line-height: 1.15; }
.stu-type-sample span { display: block; font-size: .82rem; margin-top: 4px; color: var(--ink-2); }
.stu-contrast > div { display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: .8rem; }
.stu-chip { display: inline-grid; place-items: center; width: 34px; height: 24px; border-radius: 6px; font-weight: 700; font-size: .78rem; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); }
.stu-contrast b.ok { color: #0F6B48; } .stu-contrast b.bad { color: #9C2440; }
.stu-preview { min-width: 0; }
.stu-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.stu-tabs { display: inline-flex; padding: 3px; gap: 2px; border-radius: 10px; background: #EEE9F1; }
.stu-tabs button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border: 0; border-radius: 8px; background: none; color: var(--ink-2); font: 600 .8rem var(--font); cursor: pointer; }
.stu-tabs button.on { background: #FFFFFF; color: var(--ink); box-shadow: 0 1px 3px rgba(0, 0, 0, .1); }
.stu-inline { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.stu-inline .input { width: auto; }
.stu-frames { display: grid; gap: 14px; }
@media (min-width: 900px) { .stu-frames.two { grid-template-columns: 1fr 1fr; } }
.stu-frame { min-width: 0; }
.stu-frame-label { font-size: .8rem; font-weight: 700; margin-bottom: 6px; }
.stu-viewport { position: relative; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: #FFFFFF; box-shadow: 0 8px 30px rgba(0, 0, 0, .06); }
.stu-viewport iframe { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; background: #FFFFFF; }
.stu-h { font-size: 1.5rem; margin: 40px 0 6px; }
.stu-notes { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.stu-note { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.stu-note-head { display: flex; align-items: center; gap: 12px; }
.stu-note-head b { display: block; }
.stu-note-tag { font-size: .88rem; font-weight: 500; }
.stu-note dl { margin: 4px 0 6px; font-size: .8rem; line-height: 1.45; }
.stu-note dt { font-weight: 700; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: 8px; }
.stu-note dd { margin: 2px 0 0; color: var(--ink-2); }
.stu-note .row-wrap { margin-top: auto; }
.stu-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 14px; margin-top: 8px; font-size: .86rem; }
.stu-checks label { display: flex; align-items: center; gap: 8px; }
.stu-saved .row-wrap { gap: 6px; }

/* Keep neighboring color bands distinct on the home page (how it works, then gift cards). */
html[data-dz-sections="v1"] .section-soft:has(.gift-card) { background: var(--bg); }
html[data-dz-sections="v4"] .section-soft:has(.gift-card) { background: var(--band-2); }
html[data-dz-sections="v6"] .section-soft:has(.gift-card) { background: var(--bg); }


/* ============ 7 Golden Hour ============ */
html[data-dz-type="v7"] h1 { line-height: 1.02; }
html[data-dz-logo="v7"] .logo { font: 400 1.75rem 'Gloock', Georgia, serif; letter-spacing: -.02em; }
/* Header: warm cream with a sunlit top edge, links centered */
html[data-dz-nav="v7"] .header { background: var(--bg); border-top: 5px solid var(--primary); border-bottom: 1px solid var(--line); }
html[data-dz-nav="v7"] .nav { justify-content: center; }
html[data-dz-nav="v7"] .nav a { border-radius: 10px; font-weight: 500; }
html[data-dz-nav="v7"] .nav a:hover, html[data-dz-nav="v7"] .nav a.on { background: var(--band); }
/* Hero: a full-width photograph with the search laid over it */
html[data-dz-hero="v7"] .hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: flex-end; background: var(--deep); color: #FFFFFF; overflow: hidden; }
html[data-dz-hero="v7"] .hero .container { grid-template-columns: minmax(0, 760px); padding-top: 140px; padding-bottom: 56px; }
html[data-dz-hero="v7"] .hero .container > :not(.dz-hero-media) { position: relative; z-index: 1; }
html[data-dz-hero="v7"] .hero .eyebrow { color: #FFE6CC; text-shadow: 0 1px 8px rgba(0, 0, 0, .35); }
html[data-dz-hero="v7"] .hero h1, html[data-dz-hero="v7"] .hero .lede { text-shadow: 0 2px 18px rgba(0, 0, 0, .25); }
html[data-dz-hero="v7"] .hero h1 { color: #FFFFFF; font-size: clamp(2.8rem, 7vw, 5.6rem); max-width: 13ch; }
html[data-dz-hero="v7"] .hero h1 em { color: var(--primary); }
html[data-dz-hero="v7"] .hero .lede { color: rgba(255, 255, 255, .92); font-size: 1.15rem; }
html[data-dz-hero="v7"] .hero .hero-proof, html[data-dz-hero="v7"] .hero .hero-proof b { color: #FFFFFF; }
html[data-dz-hero="v7"] .hero .search { border-radius: 18px; box-shadow: 0 18px 50px rgba(0, 0, 0, .25); }
.dz-sunset { position: absolute; inset: 0; z-index: 0; }
.dz-sunset img { width: 100%; height: 100%; object-fit: cover; }
.dz-sunset::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--deep) 50%, transparent); }
@media (min-width: 900px) { html[data-dz-hero="v7"] .hero .container { grid-template-columns: minmax(0, 760px); } }
/* Buttons: soft, warm, no pills */
html[data-dz-buttons="v7"] .btn { border-radius: 14px; font-weight: 700; }
html[data-dz-buttons="v7"] .btn:not(.btn-dark):not(.btn-ghost):not(.btn-soft):not(.btn-white):not(.btn-danger):hover { background: color-mix(in srgb, var(--primary) 82%, var(--ink)); }
html[data-dz-buttons="v7"] .btn-sm { border-radius: 11px; }
html[data-dz-buttons="v7"] .chip { border-radius: 12px; }
html[data-dz-buttons="v7"] .input { border-radius: 12px; }
/* Service cards: sunlit photos with a solid name tab */
html[data-dz-cards="v7"] .cat-tile { aspect-ratio: 3 / 4; padding: 14px; border-radius: 20px; justify-content: flex-end; }
html[data-dz-cards="v7"] .cat-tile img { position: absolute; inset: 0; height: 100%; z-index: -2; }
html[data-dz-cards="v7"] .cat-tile h3 { align-self: flex-start; background: var(--surface); color: var(--ink); padding: 9px 14px; border-radius: 12px; font-size: 1.12rem; box-shadow: 0 6px 18px rgba(0, 0, 0, .12); }
html[data-dz-cards="v7"] .cat-tile span { display: none; }
html[data-dz-cards="v7"] .cat-suggest { background: var(--band); border: 0; align-items: center; justify-content: center; text-align: center; }
html[data-dz-cards="v7"] .cat-suggest h3 { background: none; box-shadow: none; align-self: center; }
html[data-dz-cards="v7"] .cat-suggest span { display: block; }
html[data-dz-cards="v7"] .pcard { border: 0; border-radius: 20px; box-shadow: 0 8px 28px rgba(46, 31, 43, .08); }
/* Sections: peach and plum bands, big serif numerals */
html[data-dz-sections="v7"] .section-soft { background: var(--band); }
html[data-dz-sections="v7"] .section-soft:has(.gift-card) { background: var(--bg); }
html[data-dz-sections="v7"] .step { border: 0; border-radius: 22px; background: var(--surface); }
html[data-dz-sections="v7"] .step::before { content: counter(step); width: auto; height: auto; background: none; border-radius: 0; font: 400 2.8rem/1 var(--display); color: var(--primary-dark); margin-bottom: 12px; }
html[data-dz-sections="v7"] .trust-item { border: 0; border-radius: 20px; background: color-mix(in srgb, var(--on-deep) 7%, transparent); }
html[data-dz-sections="v7"] .trust-item .ico { background: var(--primary); color: var(--on-primary); }
html[data-dz-sections="v7"] .cta-band { background: var(--primary); color: var(--on-primary); border-radius: 28px; }
html[data-dz-sections="v7"] .gift-card { background: var(--band-2); color: var(--on-band-2); border-radius: 22px; }
/* Photography: warm, golden light */
html[data-dz-photos="v7"] :is(.cat-tile, .dz-hero-media, .pcard-cover, .gallery) img { filter: sepia(.14) saturate(1.12) brightness(1.03) contrast(1.02); }
/* Footer: plum, every service in large type */
html[data-dz-footer="v7"] .footer { background: var(--deep); color: color-mix(in srgb, var(--on-deep) 78%, var(--deep)); border-top: 0; }
html[data-dz-footer="v7"] .footer h4, html[data-dz-footer="v7"] .footer .logo, html[data-dz-footer="v7"] .footer a:hover { color: var(--on-deep) !important; }
html[data-dz-footer="v7"] .dz-foot-top { padding-top: 56px; padding-bottom: 40px; border-bottom: 1px solid color-mix(in srgb, var(--on-deep) 18%, transparent); }
.dz-foot-cats { font: 400 clamp(1.7rem, 4.2vw, 3rem)/1.2 var(--display); letter-spacing: -.01em; }
.dz-foot-cats a { color: var(--on-deep); }
.dz-foot-cats a:hover { color: var(--primary); text-decoration: none; }
.dz-foot-cats span { color: var(--primary); }
html[data-dz-footer="v7"] .footer-legal { border-color: color-mix(in srgb, var(--on-deep) 18%, transparent); color: inherit; }
