/* =================================================================== THEMES */
:root, [data-theme="editorial"] {
  --bg: #F3EFE6; --surface: #FAF8F2; --alt: #EAE4D7; --ink: #1A2730; --muted: #5A666D; --line: rgba(26,39,48,.18);
  --accent: #B0502A; --accent-ink: #FFF8F0; --accent2: #27465A; --hi: #E9DCC4;
  --f-display: 'Fraunces', Georgia, serif; --f-body: 'Source Sans 3', system-ui, sans-serif; --f-accent: 'Fraunces', Georgia, serif;
  --d-weight: 380; --d-track: -0.025em; --d-lh: 1.02; --d-transform: none; --d-var: 'opsz' 144, 'SOFT' 30;
  --em-style: italic; --em-weight: 340; --em-color: var(--accent);
  --eb-font: var(--f-body); --eb-size: .74rem; --eb-track: .2em; --eb-transform: uppercase; --eb-weight: 600;
  --r: 2px; --r-lg: 2px; --r-btn: 0px; --r-img: 0px;
  --shadow: 0 1px 0 var(--line); --border: 1px solid var(--line);
  --ease: cubic-bezier(.2,.7,.1,1); --dur: 900ms; --enter: enter-rise;
  --btn-bg: var(--ink); --btn-ink: var(--bg); --btn-track: .04em; --btn-transform: none; --btn-weight: 600;
  --sec-pad: clamp(72px, 10vw, 150px);
}
[data-theme="bold"] {
  --bg: #0E0F0C; --surface: #181915; --alt: #141511; --ink: #F2F0E8; --muted: #9D9D93; --line: rgba(242,240,232,.14);
  --accent: #D4FF3A; --accent-ink: #0E0F0C; --accent2: #FF5B2E; --hi: #D4FF3A;
  --f-display: 'Archivo', 'Arial Black', sans-serif; --f-body: 'Inter', system-ui, sans-serif; --f-accent: 'Archivo', sans-serif;
  --d-weight: 850; --d-track: -0.02em; --d-lh: .9; --d-transform: uppercase; --d-var: 'wdth' 118;
  --em-style: normal; --em-weight: 850; --em-color: var(--accent);
  --eb-font: var(--f-body); --eb-size: .72rem; --eb-track: .14em; --eb-transform: uppercase; --eb-weight: 600;
  --r: 0px; --r-lg: 0px; --r-btn: 999px; --r-img: 0px;
  --shadow: none; --border: 1px solid var(--line);
  --ease: cubic-bezier(.75,0,.15,1); --dur: 520ms; --enter: enter-wipe;
  --btn-bg: var(--accent); --btn-ink: var(--accent-ink); --btn-track: .02em; --btn-transform: uppercase; --btn-weight: 700;
  --sec-pad: clamp(72px, 9vw, 130px);
}
[data-theme="warm"] {
  --bg: #FAF0DE; --surface: #FFF8EB; --alt: #F3E4C8; --ink: #2E2820; --muted: #6E6253; --line: rgba(46,40,32,.16);
  --accent: #AD4527; --accent-ink: #FFF6E8; --accent2: #2F5B4C; --hi: #F0B041;
  --f-display: 'Young Serif', Georgia, serif; --f-body: 'Bricolage Grotesque', system-ui, sans-serif; --f-accent: 'Caveat', cursive;
  --d-weight: 400; --d-track: -0.01em; --d-lh: 1.06; --d-transform: none; --d-var: normal;
  --em-style: normal; --em-weight: 400; --em-color: var(--accent);
  --eb-font: 'Caveat', cursive; --eb-size: 1.45rem; --eb-track: 0; --eb-transform: none; --eb-weight: 700;
  --r: 16px; --r-lg: 26px; --r-btn: 255px 18px 225px 18px / 18px 225px 18px 255px; --r-img: 14px;
  --shadow: 0 2px 0 rgba(46,40,32,.12), 0 18px 40px -22px rgba(80,50,20,.35); --border: 2px solid var(--ink);
  --ease: cubic-bezier(.34,1.56,.64,1); --dur: 750ms; --enter: enter-pop;
  --btn-bg: var(--accent); --btn-ink: var(--accent-ink); --btn-track: 0; --btn-transform: none; --btn-weight: 700;
  --sec-pad: clamp(72px, 9vw, 130px);
}
[data-theme="minimal"] {
  --bg: #FFFFFF; --surface: #F6F7F5; --alt: #F6F7F5; --ink: #0F1110; --muted: #6A706B; --line: rgba(15,17,16,.1);
  --accent: #2F5BFF; --accent-ink: #FFFFFF; --accent2: #0F1110; --hi: #E6ECFF;
  --f-display: 'Manrope', system-ui, sans-serif; --f-body: 'Manrope', system-ui, sans-serif; --f-accent: 'IBM Plex Mono', monospace;
  --d-weight: 600; --d-track: -0.045em; --d-lh: 1.0; --d-transform: none; --d-var: normal;
  --em-style: normal; --em-weight: 600; --em-color: var(--accent);
  --eb-font: 'IBM Plex Mono', monospace; --eb-size: .72rem; --eb-track: .06em; --eb-transform: uppercase; --eb-weight: 500;
  --r: 12px; --r-lg: 20px; --r-btn: 10px; --r-img: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px -12px rgba(0,0,0,.12); --border: 1px solid var(--line);
  --ease: cubic-bezier(.25,.8,.25,1); --dur: 380ms; --enter: enter-fade;
  --btn-bg: var(--ink); --btn-ink: #fff; --btn-track: -0.01em; --btn-transform: none; --btn-weight: 600;
  --sec-pad: clamp(80px, 11vw, 160px);
}

/* =================================================================== BASE */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; transition: background-color .5s, color .5s, opacity .22s ease; overflow-x: hidden; }
/* crossfade uses opacity only: a filter transition on <body> crashed WebKit */
body.swap-out { opacity: 0; }
body.swap-in { animation: swapIn .6s var(--ease); }
@keyframes swapIn { from { opacity: 0; } to { opacity: 1; } }
img { display: block; max-width: 100%; height: auto; } /* width/height attrs only reserve space; CSS decides the size */
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.display { font-family: var(--f-display); font-weight: var(--d-weight); letter-spacing: var(--d-track); line-height: var(--d-lh); text-transform: var(--d-transform); font-variation-settings: var(--d-var); margin: 0; text-wrap: balance; }
.display em { font-style: var(--em-style); font-weight: var(--em-weight); color: var(--em-color); }
.eyebrow { display: inline-flex; align-items: center; gap: .5em; font-family: var(--eb-font); font-size: var(--eb-size); letter-spacing: var(--eb-track); text-transform: var(--eb-transform); font-weight: var(--eb-weight); color: var(--accent); line-height: 1.2; }
[data-theme="bold"] .eyebrow::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; }
[data-theme="editorial"] .eyebrow { color: var(--muted); }
[data-theme="editorial"] .eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.script { font-family: 'Caveat', cursive; font-weight: 700; }
.lede { font-size: clamp(1.05rem, 1.3vw, 1.22rem); color: var(--muted); max-width: 34em; margin: 0; }
.ico { width: 26px; height: 26px; }
.stars { display: inline-flex; gap: 2px; color: #E8A317; }
.stars svg { width: 15px; height: 15px; }
[data-theme="bold"] .stars { color: var(--accent); }
[data-theme="minimal"] .stars { color: var(--ink); }
.price { font-family: var(--f-accent); font-size: .9rem; color: var(--muted); white-space: nowrap; }
[data-theme="warm"] .price { font-size: 1.3rem; color: var(--accent); font-weight: 700; }
[data-theme="editorial"] .price { font-style: italic; }
[data-theme="bold"] .price { font-family: var(--f-body); font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .1em; color: var(--accent); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.6em; background: var(--btn-bg); color: var(--btn-ink); border: 0; border-radius: var(--r-btn); font: var(--btn-weight) .95rem/1 var(--f-body); letter-spacing: var(--btn-track); text-transform: var(--btn-transform); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .3s, box-shadow .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn .arr { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-sm { padding: .7em 1.15em; font-size: .85rem; }
.btn-xl { padding: 1.15em 2em; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
[data-theme="warm"] .btn { box-shadow: 3px 3px 0 var(--ink); border: 2px solid var(--ink); }
[data-theme="warm"] .btn:hover { transform: translate(-2px,-2px) rotate(-1deg); box-shadow: 5px 5px 0 var(--ink); }
[data-theme="warm"] .btn-ghost { background: var(--surface); box-shadow: 3px 3px 0 var(--ink); }
[data-theme="editorial"] .btn { padding: 1.05em 1.8em; }
[data-theme="minimal"] .btn:hover { background: var(--accent); }
.link { color: var(--ink); font-weight: 600; text-decoration: none; background: linear-gradient(currentColor,currentColor) 0 100%/100% 1.5px no-repeat; padding-bottom: 3px; transition: background-size .4s var(--ease); }
.link:hover { background-size: 0 1.5px; background-position: 100% 100%; }

/* =================================================================== NAV / FOOTER */
.nav { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: box-shadow .3s, background .5s; }
body.scrolled .nav { box-shadow: 0 1px 0 var(--line); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { min-width: 0; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-size: 1.15rem; font-weight: var(--d-weight); letter-spacing: var(--d-track); text-transform: var(--d-transform); font-variation-settings: var(--d-var); line-height: 1; white-space: nowrap; }
[data-theme="bold"] .logo { font-size: 1rem; }
.logo-mark { width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); border-radius: var(--r); flex: none; }
[data-theme="editorial"] .logo-mark { background: transparent; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
[data-theme="warm"] .logo-mark { border: 2px solid var(--ink); border-radius: 50%; transform: rotate(-8deg); }
.logo-mark svg { width: 19px; height: 19px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: .92rem; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
[data-theme="bold"] .nav-links a { text-transform: uppercase; font-size: .78rem; letter-spacing: .1em; font-weight: 600; }
.burger { display: none; margin-left: auto; width: 42px; height: 42px; border: var(--border); background: transparent; border-radius: var(--r); flex-direction: column; justify-content: center; gap: 6px; padding: 0 11px; }
.burger span { height: 2px; background: var(--ink); display: block; }
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: .9rem; color: var(--muted); }
.foot-in { display: flex; justify-content: space-between; gap: 32px; align-items: flex-end; flex-wrap: wrap; }
.foot-brand .logo { color: var(--ink); margin-bottom: 14px; }
.foot-brand p { margin: 0; }
.foot-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.foot-by { font-family: var(--f-accent); font-size: .8rem; }

/* =================================================================== SECTIONS (shared) */
.sec { position: relative; padding: var(--sec-pad) 0; }
.sec.alt { background: var(--alt); }
[data-theme="editorial"] .sec + .sec { border-top: 1px solid var(--line); }
[data-theme="editorial"] .sec.alt { background: var(--bg); }
[data-theme="bold"] .sec + .sec { border-top: 1px solid var(--line); }
[data-theme="warm"] .sec.alt { background: var(--alt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 .3 0 0 0 0 .2 0 0 0 0 .1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); }
.sec-head { margin-bottom: clamp(36px, 5vw, 64px); }
.sec-head h2 { font-size: clamp(2.1rem, 4.4vw, 3.6rem); margin-top: 14px; }
.sec-head .sec-intro { color: var(--muted); max-width: 32em; margin: 18px 0 0; font-size: 1.08rem; }
.sec-head.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; align-items: end; }
.sec-head.row .eyebrow { grid-column: 1 / -1; }
.sec-head.row h2 { margin: 0; }
.sec-head.row .sec-intro { margin: 0; justify-self: end; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-intro { margin-left: auto; margin-right: auto; }
[data-theme="bold"] .sec-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); }

/* enter animations (per-theme motion feel) */
.sec.enter { animation: var(--enter) var(--dur) var(--ease) both; }
@keyframes enter-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes enter-wipe { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes enter-pop { 0% { opacity: 0; transform: scale(.96) rotate(-.6deg); } 100% { opacity: 1; transform: none; } }
@keyframes enter-fade { from { opacity: 0; } to { opacity: 1; } }

/* =================================================================== HERO: EDITORIAL */
.v-editorial.s-hero { padding: clamp(36px, 5vw, 64px) 0 0; }
.ed-meta { display: flex; gap: 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.ed-meta span { padding: 10px 0; flex: 1; }
.ed-meta span:nth-child(2) { text-align: center; } .ed-meta span:last-child { text-align: right; }
.ed-title { font-size: clamp(2.8rem, 7.6vw, 7.4rem); margin: clamp(28px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); max-width: 13ch; }
[data-theme="bold"] .ed-title { font-size: clamp(2.6rem, 7vw, 6.6rem); max-width: 15ch; }
[data-theme="minimal"] .ed-title { font-size: clamp(2.6rem, 6.4vw, 6rem); }
.ed-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: clamp(36px, 5vw, 64px); }
.ed-ctas { display: flex; gap: 28px; align-items: center; flex: none; }
.ed-fig { margin: 0; }
.ed-img { height: clamp(320px, 52vw, 640px); overflow: hidden; }
.ed-img .media { width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.ed-fig figcaption { display: flex; gap: 18px; padding-top: 14px; padding-bottom: 14px; font-size: .88rem; color: var(--muted); font-style: italic; font-family: var(--f-accent); }
.fig-no { white-space: nowrap; flex: none; font-style: normal; font-family: var(--f-body); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: var(--ink); padding-top: 3px; }
[data-theme="warm"] .ed-img, [data-theme="minimal"] .ed-img { margin: 0 clamp(20px, 5vw, 64px); border-radius: var(--r-lg); }
[data-theme="warm"] .ed-img { border: 2px solid var(--ink); }
[data-theme="warm"] .ed-meta { border-top-width: 2px; }

/* =================================================================== HERO: KINETIC */
.v-kinetic.s-hero { padding: clamp(28px, 4vw, 48px) 0 0; overflow: hidden; }
.k-wrap { position: relative; }
.k-top { display: flex; justify-content: space-between; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; color: var(--muted); }
.k-live { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.k-live i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 1.8s infinite; }
[data-theme="editorial"] .k-live i, [data-theme="minimal"] .k-live i { background: #2BB673; box-shadow: 0 0 0 0 #2BB673; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.k-title { font-size: clamp(3.4rem, 12vw, 12rem); white-space: nowrap; margin: clamp(28px, 4vw, 48px) 0 clamp(28px, 3vw, 40px); position: relative; z-index: 2; }
[data-theme="bold"] .k-title { line-height: .84; }
.k-line { display: block; overflow: hidden; padding-bottom: .04em; }
.k-line > span { display: inline-block; animation: kline 1s var(--ease) both; animation-delay: calc(var(--i) * 110ms + 100ms); }
.k-line:nth-child(2) > span { color: var(--accent); }
[data-theme="bold"] .k-line:nth-child(2) > span { color: var(--accent); -webkit-text-stroke: 0; }
[data-theme="minimal"] .k-line:nth-child(2) > span { color: var(--muted); }
[data-theme="editorial"] .k-line:nth-child(2) > span { font-style: italic; font-weight: 300; }
.k-line:nth-child(3) { padding-left: clamp(0px, 12vw, 180px); }
@keyframes kline { from { transform: translateY(105%) skewY(4deg); } to { transform: none; } }
.k-bottom { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 80px); align-items: end; padding-bottom: clamp(48px, 6vw, 88px); }
.k-copy { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.k-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.k-media { position: relative; aspect-ratio: 16/10; }
.k-media .media { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-img); animation: kmedia 1.2s var(--ease) both .2s; }
/* Bold's lime duotone only suits trades; food, health, retail, events and community keep true color */
html[data-theme="bold"]:is([data-cat="home"], [data-cat="auto"], [data-cat="pro"], [data-cat="general"]) .k-media .media { filter: grayscale(1) contrast(1.1); }
html[data-theme="bold"]:is([data-cat="home"], [data-cat="auto"], [data-cat="pro"], [data-cat="general"]) .k-media::after { content: ''; position: absolute; inset: 0; background: var(--accent); mix-blend-mode: multiply; opacity: .85; pointer-events: none; animation: kmedia 1.2s var(--ease) both .2s; }
@keyframes kmedia { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
.k-badge { position: absolute; right: -28px; bottom: -36px; width: 128px; height: 128px; animation: spin 18s linear infinite; z-index: 3; color: var(--accent-ink); }
.k-badge .kb-bg { fill: var(--accent); }
.k-badge text { font: 700 15.5px var(--f-body); letter-spacing: .2em; fill: var(--accent-ink); }
[data-theme="bold"] .k-badge .kb-bg { fill: var(--ink); } [data-theme="bold"] .k-badge text { fill: var(--bg); } [data-theme="bold"] .k-badge { color: var(--bg); }
@keyframes spin { to { transform: rotate(360deg); } }
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 18px 0; background: var(--ink); color: var(--bg); }
[data-theme="bold"] .marquee { background: var(--accent); color: var(--accent-ink); border: 0; }
.mq-track { display: flex; width: max-content; gap: 28px; animation: mq 30s linear infinite; font-family: var(--f-display); font-variation-settings: var(--d-var); text-transform: var(--d-transform); font-weight: var(--d-weight); font-size: clamp(1.1rem, 2vw, 1.6rem); white-space: nowrap; align-items: center; }
.mq-track i { font-style: normal; opacity: .6; font-size: .8em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* =================================================================== HERO: SPLIT + BOOKING */
.v-split.s-hero { padding: 0; }
.sp-grid { display: grid; grid-template-columns: 1.05fr 1fr; min-height: min(86vh, 820px); }
.sp-copy { padding: clamp(48px, 7vw, 110px) clamp(24px, 5vw, 72px) clamp(48px, 6vw, 80px) max(clamp(20px, 5vw, 64px), calc((100vw - 1240px) / 2 + 64px)); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.sp-title { font-size: clamp(2.5rem, 5.2vw, 4.9rem); }
.sp-ctas { display: flex; gap: 26px; align-items: center; margin-top: 6px; }
.sp-proof { display: flex; align-items: center; gap: 12px; font-size: .92rem; color: var(--muted); }
.sp-proof strong { color: var(--ink); }
.sp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding-top: 22px; margin-top: 8px; border-top: 1px solid var(--line); }
.sp-stats strong { display: block; font-family: var(--f-display); font-weight: var(--d-weight); font-variation-settings: var(--d-var); text-transform: var(--d-transform); font-size: clamp(1.4rem, 2.2vw, 2rem); letter-spacing: var(--d-track); line-height: 1.1; }
.sp-stats span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; margin-top: 4px; }
.sp-media { position: relative; background: color-mix(in srgb, var(--accent) 14%, var(--surface)); display: flex; align-items: center; justify-content: center; padding: clamp(28px, 4vw, 56px); overflow: hidden; }
.sp-media .sp-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 18s ease-out both; }
.sp-media::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.35)); }
[data-theme="warm"] .sp-media, [data-theme="minimal"] .sp-media { margin: 16px 16px 16px 0; border-radius: var(--r-lg); }
[data-theme="warm"] .sp-media { border: 2px solid var(--ink); }
.book-card { position: relative; z-index: 2; width: min(380px, 100%); background: var(--surface); color: var(--ink); border-radius: var(--r-lg); padding: 24px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.45); animation: cardIn .9s var(--ease) both .25s; }
[data-theme="warm"] .book-card { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
[data-theme="bold"] .book-card { border: 1px solid var(--line); }
@keyframes cardIn { from { opacity: 0; transform: translateY(30px) scale(.97); } to { opacity: 1; transform: none; } }
.bc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.bc-head strong { font-family: var(--f-display); font-weight: var(--d-weight); font-variation-settings: var(--d-var); text-transform: var(--d-transform); font-size: 1.35rem; letter-spacing: var(--d-track); }
.bc-pill { font-size: .68rem; font-weight: 600; padding: 5px 9px; border-radius: 99px; background: var(--hi); color: var(--ink); white-space: nowrap; }
[data-theme="bold"] .bc-pill { color: var(--accent-ink); }
.bc-label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--muted); margin: 14px 0 7px; }
.bc-select { position: relative; display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r); font-size: .94rem; background: var(--bg); }
.bc-select select { appearance: none; -webkit-appearance: none; width: 100%; border: 0; background: transparent; color: var(--ink); font: inherit; padding: 11px 38px 11px 13px; min-height: 44px; border-radius: inherit; cursor: pointer; }
.bc-select svg { position: absolute; right: 12px; width: 16px; color: var(--muted); pointer-events: none; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 12px; border-radius: var(--r); font: 500 .84rem var(--f-body); cursor: pointer; transition: all .25s var(--ease); }
.slots .chip { flex: 1 0 28%; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="bold"] .chip.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
[data-theme="minimal"] .chip.on { background: #2B53E8; border-color: #2B53E8; color: #fff; } /* 6.0:1 for white text (accent #2F5BFF was 4.48:1) */
.bc-go { margin-top: 18px; }
.bc-fine { font-size: .74rem; color: var(--muted); margin: 10px 0 0; text-align: center; }

/* =================================================================== HERO: HAND-DRAWN */
.v-handdrawn.s-hero { padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 7vw, 110px); overflow: hidden; }
.hd-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hd-copy { position: relative; }
.hd-stamp { width: 110px; height: 110px; color: var(--accent2); transform: rotate(-12deg); margin-bottom: 8px; animation: stampIn .8s var(--ease) both; }
.hd-stamp text { font: 700 9.5px var(--f-body); letter-spacing: .18em; fill: currentColor; }
@keyframes stampIn { from { opacity: 0; transform: rotate(-40deg) scale(1.6); } to { opacity: 1; transform: rotate(-12deg); } }
.hd-hello { display: block; font-size: 1.9rem; color: var(--accent); line-height: 1; margin-bottom: 8px; transform: rotate(-2deg); }
.hd-title { font-size: clamp(2.6rem, 5.6vw, 5.2rem); margin-bottom: 26px; }
.scribble { position: relative; display: inline-block; white-space: nowrap; color: var(--accent); }
[data-theme="bold"] .scribble { color: var(--accent); }
.scribble svg { position: absolute; left: -8%; top: -18%; width: 116%; height: 136%; overflow: visible; pointer-events: none; }
.scribble path { fill: none; stroke: var(--hi); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s ease-out .5s forwards; }
[data-theme="warm"] .scribble path, [data-theme="editorial"] .scribble path { stroke: var(--accent2); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hd-copy .lede { margin-bottom: 30px; }
.hd-ctas { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.btn-wobble { border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; }
.link-hand { font-family: 'Caveat', cursive; font-size: 1.5rem; background: none; color: var(--accent); }
.hd-photos { position: relative; height: clamp(380px, 42vw, 540px); }
.polaroid { position: absolute; margin: 0; background: #fff; padding: 12px 12px 46px; box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 24px 44px -18px rgba(60,40,20,.45); width: 66%; transition: transform .6s var(--ease); }
.polaroid .media { width: 100%; aspect-ratio: 1/1.05; object-fit: cover; }
.polaroid figcaption { position: absolute; bottom: 9px; left: 0; right: 0; text-align: center; font-size: 1.35rem; color: #3a3226; }
.p1 { right: 4%; top: 0; transform: rotate(4deg); animation: dropIn .9s var(--ease) both .15s; }
.p2 { left: 0; bottom: 0; width: 52%; transform: rotate(-7deg); animation: dropIn2 .9s var(--ease) both .35s; }
.polaroid:hover { transform: rotate(0) scale(1.03); z-index: 3; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-40px) rotate(14deg); } to { opacity: 1; transform: rotate(4deg); } }
@keyframes dropIn2 { from { opacity: 0; transform: translateY(-40px) rotate(-18deg); } to { opacity: 1; transform: rotate(-7deg); } }
.tape { position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(240,200,120,.55); box-shadow: 0 1px 2px rgba(0,0,0,.08); z-index: 2; }
.hd-note { position: absolute; left: 4%; top: 6%; font-size: 1.7rem; color: var(--accent); transform: rotate(-6deg); width: 180px; line-height: 1.05; }
.hd-note svg { width: 100px; color: var(--accent); margin: 4px 0 0 60px; }
[data-theme="bold"] .polaroid { background: var(--surface); } [data-theme="bold"] .polaroid figcaption { color: var(--ink); }

/* =================================================================== SERVICES */
.sv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.sv-card { background: var(--surface); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s; box-shadow: var(--shadow); }
[data-theme="editorial"] .sv-card { background: transparent; box-shadow: none; }
[data-theme="warm"] .sv-card { border: 2px solid var(--ink); }
[data-theme="bold"] .sv-card { border: 1px solid var(--line); }
.sv-card:hover { transform: translateY(-6px); }
[data-theme="warm"] .sv-card:nth-child(odd):hover { transform: translateY(-6px) rotate(-1deg); }
.sv-img { aspect-ratio: 16/10; overflow: hidden; }
[data-theme="editorial"] .sv-img { aspect-ratio: 4/3; }
.sv-img .media { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sv-card:hover .sv-img .media { transform: scale(1.06); }
html[data-theme="bold"]:is([data-cat="home"], [data-cat="auto"], [data-cat="pro"], [data-cat="general"]) .sv-img .media { filter: grayscale(1) contrast(1.05); transition: filter .5s, transform 1.2s var(--ease); }
[data-theme="bold"] .sv-card:hover .sv-img .media { filter: none; }
.sv-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
[data-theme="editorial"] .sv-body { padding: 20px 0 0; }
.sv-top { display: flex; justify-content: space-between; align-items: center; color: var(--accent); }
.sv-card h3 { font: var(--d-weight) 1.45rem/1.15 var(--f-display); letter-spacing: var(--d-track); text-transform: var(--d-transform); font-variation-settings: var(--d-var); margin: 6px 0 0; }
[data-theme="bold"] .sv-card h3 { font-size: 1.25rem; }
[data-theme="minimal"] .sv-card h3 { font-size: 1.25rem; letter-spacing: -0.02em; }
.sv-card p { margin: 0; color: var(--muted); font-size: .97rem; flex: 1; }
.sv-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9rem; text-decoration: none; margin-top: 0; padding-block: 12px; color: var(--ink); }
.sv-more .arr { width: 16px; transition: transform .3s var(--ease); }
.sv-card:hover .sv-more .arr { transform: translateX(4px); }

.sv-num-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.sv-num-side { position: sticky; top: 110px; }
.sv-num-side .sec-head { margin-bottom: 32px; }
.sv-num { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.sv-num li { display: grid; grid-template-columns: 64px 1fr auto; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; transition: padding .45s var(--ease), background .45s; }
.sv-num li:hover { padding-left: 14px; }
.sv-num .n { font-family: var(--f-display); font-variation-settings: var(--d-var); font-size: 1.05rem; color: var(--accent); font-weight: var(--d-weight); }
[data-theme="editorial"] .sv-num .n { font-style: italic; font-size: 1.4rem; }
[data-theme="bold"] .sv-num .n { font-size: 2.2rem; line-height: .9; }
[data-theme="warm"] .sv-num .n { font-family: 'Caveat'; font-size: 2rem; font-weight: 700; }
.sv-num h3 { margin: 0 0 6px; font: var(--d-weight) clamp(1.35rem, 2vw, 1.75rem)/1.15 var(--f-display); letter-spacing: var(--d-track); text-transform: var(--d-transform); font-variation-settings: var(--d-var); }
[data-theme="bold"] .sv-num h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.sv-num p { margin: 0; color: var(--muted); font-size: .98rem; max-width: 36em; }

.sv-icons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.sv-ic { background: var(--bg); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 10px; transition: background .35s; }
.sec.alt .sv-ic { background: var(--alt); }
.sv-ic:hover { background: var(--surface); }
.ic-wrap { width: 56px; height: 56px; display: grid; place-items: center; border-radius: var(--r); background: var(--hi); color: var(--ink); margin-bottom: 10px; transition: transform .5s var(--ease); }
.sv-ic:hover .ic-wrap { transform: rotate(-8deg) scale(1.08); }
[data-theme="bold"] .ic-wrap { background: var(--accent); color: var(--accent-ink); border-radius: 50%; }
[data-theme="warm"] .ic-wrap { border: 2px solid var(--ink); border-radius: 50%; background: var(--hi); }
[data-theme="warm"] .sv-icons { border: 2px solid var(--ink); background: var(--ink); gap: 2px; }
[data-theme="editorial"] .ic-wrap { background: transparent; color: var(--accent); border: 1px solid var(--line); border-radius: 50%; }
.ic-wrap .ico { width: 28px; height: 28px; }
.sv-ic h3 { margin: 0; font: var(--d-weight) 1.3rem/1.2 var(--f-display); letter-spacing: var(--d-track); text-transform: var(--d-transform); font-variation-settings: var(--d-var); }
[data-theme="bold"] .sv-ic h3 { font-size: 1.1rem; }
.sv-ic p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }

/* =================================================================== GALLERY */
.masonry { columns: 3; column-gap: clamp(12px, 1.6vw, 22px); }
.m-item { break-inside: avoid; margin: 0 0 clamp(12px, 1.6vw, 22px); position: relative; overflow: hidden; border-radius: var(--r-img); }
[data-theme="warm"] .m-item { border: 2px solid var(--ink); }
.m-item .media { width: 100%; transition: transform 1.2s var(--ease); }
.m-item.m0 .media, .m-item.m4 .media { aspect-ratio: 3/4; object-fit: cover; }
.m-item.m1 .media, .m-item.m3 .media { aspect-ratio: 1; object-fit: cover; }
.m-item.m2 .media, .m-item.m5 .media { aspect-ratio: 4/3; object-fit: cover; }
.m-item figcaption { position: absolute; left: 12px; bottom: 12px; padding: 7px 12px; background: var(--surface); color: var(--ink); font-size: .82rem; font-weight: 600; border-radius: var(--r); transform: translateY(8px); opacity: 0; transition: all .45s var(--ease); }
[data-theme="warm"] .m-item figcaption { font-family: 'Caveat'; font-size: 1.25rem; padding: 2px 12px; }
.m-item:hover .media { transform: scale(1.05); }
.m-item:hover figcaption, .m-item.m0 figcaption { opacity: 1; transform: none; }

.ba-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.ba-thumbs { display: flex; align-items: center; gap: 8px; }
.ba-thumbs .media { width: 54px; height: 54px; object-fit: cover; border-radius: var(--r); }
.ba-thumbs span { font-size: .85rem; color: var(--muted); margin-left: 6px; }
.ba { position: relative; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--r-lg); user-select: none; box-shadow: var(--shadow); }
[data-theme="warm"] .ba { border: 2px solid var(--ink); }
.ba > .media, .ba > picture > .media, .ba-before .media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-before .media { filter: saturate(.75); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); pointer-events: none; }
.ba-handle span { position: absolute; top: 50%; left: 50%; width: 50px; height: 50px; transform: translate(-50%,-50%); background: #fff; color: #111; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.3); }
[data-theme="bold"] .ba-handle { background: var(--accent); } [data-theme="bold"] .ba-handle span { background: var(--accent); }
.ba-handle svg { width: 22px; }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; background: rgba(0,0,0,.6); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; border-radius: var(--r); backdrop-filter: blur(6px); }
.ba-tag.l { left: 16px; } .ba-tag.r { right: 16px; }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }

.strip-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.strip-nav { display: flex; gap: 10px; margin-bottom: clamp(36px, 5vw, 64px); }
.sn { width: 52px; height: 52px; border-radius: var(--r-btn); border: 1.5px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: all .3s var(--ease); }
[data-theme="editorial"] .sn { border-radius: 50%; }
[data-theme="warm"] .sn { border-radius: 50%; border-width: 2px; }
.sn:hover { background: var(--ink); color: var(--bg); }
.sn svg { width: 20px; } .sn.prev svg { transform: rotate(180deg); }
.strip { display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 max(clamp(20px, 5vw, 64px), calc((100vw - 1240px) / 2 + 64px)); scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.st-item { flex: 0 0 clamp(250px, 30vw, 400px); margin: 0; scroll-snap-align: start; scroll-margin-left: max(clamp(20px, 5vw, 64px), calc((100vw - 1240px) / 2 + 64px)); }
.st-item:nth-child(even) { flex-basis: clamp(220px, 24vw, 320px); }
.st-item .media { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--r-img); transition: transform .8s var(--ease); }
.st-item:nth-child(even) .media { aspect-ratio: 3/4.6; }
[data-theme="warm"] .st-item .media { border: 2px solid var(--ink); }
.st-item:hover .media { transform: translateY(-6px); }
.st-item figcaption { display: flex; gap: 12px; padding-top: 14px; font-size: .92rem; }
.st-item figcaption span { font-family: var(--f-accent); color: var(--accent); }
.st-end { flex: 0 0 1px; }

/* =================================================================== TESTIMONIALS */
.q-wrap { text-align: center; max-width: 1000px; }
.q-wrap .eyebrow { justify-content: center; }
.q-wrap .eyebrow::before { display: none; }
.q-stage { display: grid; margin: 36px 0 30px; }
.q-item { grid-area: 1/1; margin: 0; opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); pointer-events: none; }
.q-item.on { opacity: 1; transform: none; pointer-events: auto; }
.q-mark { width: 44px; color: var(--accent); margin: 0 auto 26px; }
.q-item blockquote { margin: 0 auto; font-size: clamp(1.6rem, 3.3vw, 2.9rem); line-height: 1.18; max-width: 22em; }
[data-theme="bold"] .q-item blockquote { font-size: clamp(1.5rem, 3vw, 2.6rem); line-height: 1.02; }
[data-theme="minimal"] .q-item blockquote { letter-spacing: -0.03em; font-weight: 500; }
.q-item figcaption { margin-top: 28px; display: flex; gap: 10px; justify-content: center; font-size: .95rem; }
.q-item figcaption span { color: var(--muted); }
.q-item figcaption span::before { content: '\2014  '; }
.q-dots { display: flex; gap: 10px; justify-content: center; }
.q-dots { gap: 0; }
.q-dots button { position: relative; width: 48px; height: 44px; border: 0; padding: 0; background: none; cursor: pointer; transition: width .4s var(--ease); }
.q-dots button::after { content: ''; position: absolute; left: 7px; right: 7px; top: 20px; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.q-dots button.on { width: 70px; }
.q-dots button.on::after { background: var(--accent); }

.w-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.w-summary { padding: 28px 8px 28px 0; display: flex; flex-direction: column; gap: 6px; }
.w-score { font-size: clamp(4rem, 7vw, 6.4rem); line-height: .9; margin-top: 12px; }
.w-summary p { margin: 6px 0 18px; color: var(--muted); font-size: .92rem; }
.w-bars div { display: flex; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); margin: 5px 0; }
.w-bars i { flex: 1; height: 6px; background: var(--line); border-radius: 6px; position: relative; overflow: hidden; }
.w-bars i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--accent); border-radius: 6px; }
.w-card { margin: 0; padding: 26px; background: var(--surface); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); transition: transform .5s var(--ease); }
.sec.alt .w-card { background: var(--bg); }
[data-theme="warm"] .w-card { border: 2px solid var(--ink); }
[data-theme="warm"] .w-card.c0 { transform: rotate(-1.2deg); } [data-theme="warm"] .w-card.c2 { transform: rotate(1deg); }
[data-theme="bold"] .w-card { border: 1px solid var(--line); }
[data-theme="bold"] .w-card.c1 { background: var(--accent); color: var(--accent-ink); } [data-theme="bold"] .w-card.c1 .stars { color: var(--accent-ink); } [data-theme="bold"] .w-card.c1 small { color: inherit; opacity: .7; } [data-theme="bold"] .w-card.c1 .av { background: var(--accent-ink); color: var(--accent); }
[data-theme="editorial"] .w-card { background: transparent; box-shadow: none; border-top: 1px solid var(--ink); border-radius: 0; padding: 22px 0 0; }
.w-card:hover { transform: translateY(-4px); }
.w-card blockquote { margin: 0; font-size: 1.02rem; line-height: 1.55; flex: 1; }
[data-theme="editorial"] .w-card blockquote { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.35; font-variation-settings: 'opsz' 24; }
.w-card figcaption { display: flex; gap: 12px; align-items: center; }
.av { width: 40px; height: 40px; border-radius: 50%; background: var(--hi); color: var(--ink); display: grid; place-items: center; font-weight: 700; font-size: .8rem; flex: none; }
[data-theme="bold"] .av { background: var(--accent); color: var(--accent-ink); }
.w-card figcaption strong { display: block; font-size: .92rem; }
.w-card small { color: var(--muted); font-size: .8rem; }

/* =================================================================== CONTACT */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.ct-info .sec-head { margin-bottom: 28px; }
.ct-map { position: relative; aspect-ratio: 16/9; border-radius: var(--r-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
[data-theme="warm"] .ct-map { border: 2px solid var(--ink); }
.ct-map svg { width: 100%; height: 100%; }
.contour path { stroke: var(--ink); stroke-opacity: .16; stroke-width: 1; }
.river { stroke: var(--accent2); stroke-width: 5; stroke-opacity: .5; stroke-linecap: round; }
[data-theme="bold"] .river { stroke: var(--accent); stroke-opacity: .7; }
.pin circle { fill: var(--accent); }
.pin .pulse { fill-opacity: .25; transform-box: fill-box; transform-origin: center; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.ct-pin-label { position: absolute; left: 53%; top: 41%; background: var(--ink); color: var(--bg); padding: 5px 10px; font-size: .74rem; font-weight: 600; border-radius: var(--r); letter-spacing: .04em; }
.ct-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 28px; margin: 28px 0 0; }
.ct-dl dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.ct-dl dd { margin: 0; font-size: 1rem; }
.ct-dl a { text-decoration: none; font-weight: 600; }
.ct-dl a.tel { display: inline-block; padding: 11px 0; margin: -11px 0; }
.ct-form { background: var(--surface); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.sec.alt .ct-form { background: var(--bg); }
[data-theme="warm"] .ct-form { border: 2px solid var(--ink); box-shadow: 6px 6px 0 var(--ink); }
[data-theme="bold"] .ct-form { border: 1px solid var(--line); }
[data-theme="editorial"] .ct-form { border: 1px solid var(--line); box-shadow: none; }
.ct-form h3 { font-size: 1.8rem; }
.ct-form > p { margin: -8px 0 4px; color: var(--muted); font-size: .94rem; }
.ct-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.ct-set legend { padding: 0; display: block; font-size: .78rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.ct-form label > span { display: block; font-size: .78rem; font-weight: 600; margin-bottom: 7px; color: var(--muted); }
.ct-form input, .ct-form textarea { width: 100%; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font: inherit; font-size: .96rem; padding: 12px 14px; border-radius: var(--r); outline: none; transition: border-color .2s, box-shadow .2s; resize: vertical; }
[data-theme="editorial"] .ct-form input, [data-theme="editorial"] .ct-form textarea { border-width: 0 0 1px; background: transparent; padding-left: 0; border-color: var(--ink); }
.ct-form input:focus, .ct-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button { border: 1px solid var(--line); background: transparent; color: var(--ink); padding: 8px 12px; border-radius: var(--r-btn); font: 500 .84rem var(--f-body); cursor: pointer; transition: all .25s; }
[data-theme="warm"] .seg button { border-radius: 99px; }
.seg button.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
[data-theme="bold"] .seg button.on { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.v-banner.s-contact { padding: 0; }
.bn { position: relative; background: var(--accent2); color: #fff; padding: clamp(90px, 12vw, 170px) 0 clamp(150px, 16vw, 240px); overflow: hidden; text-align: center; }
[data-theme="bold"] .bn { background: var(--accent); color: var(--accent-ink); }
[data-theme="minimal"] .bn { background: var(--ink); }
[data-theme="warm"] .bn { background: var(--accent); }
.bn-ridges { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.bn-ridges .r1 { fill: rgba(255,255,255,.08); } .bn-ridges .r2 { fill: rgba(255,255,255,.12); } .bn-ridges .r3 { fill: var(--bg); }
[data-theme="bold"] .bn-ridges .r1 { fill: rgba(0,0,0,.08); } [data-theme="bold"] .bn-ridges .r2 { fill: rgba(0,0,0,.14); }
.bn-in { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.bn .eyebrow { color: inherit; opacity: .8; }
.bn .eyebrow::before { background: currentColor; }
.bn-title { font-size: clamp(2.6rem, 7.4vw, 6.6rem); max-width: 14ch; }
.bn-sub { margin: 0; font-size: 1.15rem; opacity: .85; max-width: 30em; }
.bn-ctas { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.bn .btn { background: #fff; color: #111; }
.bn .btn-ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; }
[data-theme="bold"] .bn .btn { background: var(--accent-ink); color: var(--accent); }
[data-theme="bold"] .bn .btn-ghost { background: transparent; color: var(--accent-ink); }
[data-theme="warm"] .bn .btn { background: var(--hi); color: var(--ink); }
[data-theme="warm"] .bn .btn-ghost { background: var(--surface); color: var(--ink); }
.bn-meta { display: flex; gap: 10px 28px; flex-wrap: wrap; justify-content: center; font-size: .86rem; opacity: .75; margin-top: 12px; }

/* =================================================================== RESPONSIVE */
@media (max-width: 900px) {
  .sv-cards, .sv-icons { grid-template-columns: 1fr 1fr; }
  .w-grid { grid-template-columns: 1fr 1fr; }
  .w-summary { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav-in { height: 62px; gap: 12px; }
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .logo { font-size: 1rem; }
  .sec-head.row { grid-template-columns: 1fr; }
  .sec-head.row .sec-intro { justify-self: start; }
  .ed-meta span:nth-child(3) { display: none; } .ed-meta span:nth-child(2) { text-align: right; }
  .ed-row { flex-direction: column; align-items: flex-start; gap: 26px; }
  .ed-title { font-size: clamp(2.6rem, 12vw, 4rem); }
  .ed-img { height: 380px; }
  .k-bottom { grid-template-columns: 1fr; padding-bottom: 40px; }
  .k-media { margin-top: 12px; aspect-ratio: 4/3; }
  .k-badge { right: 10px; bottom: -30px; width: 92px; height: 92px; }
  .k-title { font-size: clamp(3rem, 15vw, 5rem); }
  .k-line:nth-child(3) { padding-left: 0; }
  .sp-grid { grid-template-columns: 1fr; min-height: 0; }
  .sp-copy { padding: 40px 20px; }
  .sp-media { padding: 40px 18px; min-height: 0; }
  [data-theme="warm"] .sp-media, [data-theme="minimal"] .sp-media { margin: 0 12px 12px; }
  .sp-stats { gap: 10px; }
  .hd-grid { grid-template-columns: 1fr; }
  .hd-photos { height: 360px; }
  .hd-note { top: auto; bottom: -10px; left: auto; right: 0; font-size: 1.4rem; width: 140px; text-align: right; }
  .hd-note svg { display: none; }
  .hd-stamp { width: 84px; height: 84px; position: absolute; right: 0; top: -10px; }
  .sv-cards, .sv-icons { grid-template-columns: 1fr; }
  .sv-num-grid { grid-template-columns: 1fr; gap: 28px; }
  .sv-num-side { position: static; }
  .sv-num li { grid-template-columns: 44px 1fr; }
  .sv-num .price { grid-column: 2; }
  .masonry { columns: 2; }
  .ba-grid { grid-template-columns: 1fr; }
  .ba { aspect-ratio: 4/5; }
  .strip-nav { display: none; }
  .st-item, .st-item:nth-child(even) { flex-basis: 76vw; }
  .w-grid { grid-template-columns: 1fr; }
  [data-theme="warm"] .w-card.c0, [data-theme="warm"] .w-card.c2 { transform: none; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-dl { grid-template-columns: 1fr; gap: 14px; }
  .foot-in { flex-direction: column; align-items: flex-start; }
  .foot-meta { align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-delay: 0s !important; transition-duration: .01ms !important; } }


/* ---------- photo placeholders (no good stock photo: themed SVG in the look's palette) ---------- */
.media.ph { position: relative; display: grid; place-items: center; overflow: hidden; width: 100%; min-height: 120px;
  background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: color-mix(in srgb, var(--accent) 70%, var(--ink)); filter: none !important; }
.media.ph > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.media.ph .ph-ic { position: relative; width: clamp(34px, 22%, 72px); height: auto; stroke-width: 1.3; }
.media.ph .ph-cap { position: absolute; left: 12px; bottom: 10px; font: 600 .68rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; }
.ba-thumbs .media.ph { min-height: 0; }
.ba-thumbs .media.ph .ph-ic, .ba-thumbs .media.ph .ph-cap { display: none; }
.sp-media.sp-ph > .media.ph { position: absolute; inset: 0; height: 100%; }
[data-theme="bold"] .media.ph { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent); }

/* =================================================================== v3 FIXES */
picture { display: contents; }
.nowrap { white-space: nowrap; }
.link { white-space: nowrap; }
img.media { background: color-mix(in srgb, var(--accent) 10%, var(--surface)); }
img.media.img-fail { content: url("data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="); }
.logo > span:last-child { overflow: hidden; text-overflow: ellipsis; }
.nav-cta { flex: none; }
.bc-set { border: 0; padding: 0; margin: 0; min-width: 0; }
.bc-set legend { padding: 0; }
.days { display: grid; grid-template-columns: repeat(4, 1fr); }
.days .chip { padding-inline: 4px; }
.bc-head strong { font-size: clamp(1.05rem, 1.6vw, 1.35rem); }
.s-empty { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.s-empty h2 { font-size: clamp(1.8rem, 4vw, 3rem); max-width: 18ch; margin: 14px auto 0; }
.sample-ribbon { position: fixed; left: 10px; bottom: 10px; z-index: 60; pointer-events: none; font: 600 .68rem/1 system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; background: #1A2730; color: #fff; padding: 7px 11px; border-radius: 99px; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: #fff; color: #111; padding: 10px 14px; border-radius: 6px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[data-theme="minimal"] :focus-visible, [data-theme="editorial"] :focus-visible { outline-color: var(--ink); }
.ba:focus-within { outline: 2px solid var(--accent); outline-offset: 3px; }
.strip:focus-visible { outline-offset: -2px; }
@media (pointer: coarse) { .chip, .seg button, .sn { min-height: 44px; } }
@media (max-width: 1000px) {
  [data-theme="bold"] .nav-links { display: none; }
  [data-theme="bold"] .nav-cta { margin-left: auto; }
  .p2 { width: 46%; bottom: -6%; }
  .hd-note { top: auto; bottom: 4%; left: auto; right: -2%; text-align: right; }
}
@media (max-width: 720px) {
  .nav-in { position: relative; }
  .nav-cta { display: inline-flex; margin-left: auto; padding: .7em .95em; font-size: .78rem; }
  .burger { display: flex; margin-left: 0; width: 44px; height: 44px; }
  .nav.open .nav-links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 6px clamp(20px, 5vw, 64px) 14px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px -18px rgba(0,0,0,.3); }
  .nav.open .nav-links a { padding: 12px 0; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--line); }
  [data-theme="bold"] .nav-cta { margin-left: auto; }
  .p2 { width: 50%; bottom: 0; }
}
@media (max-width: 400px) {
  .sp-ctas, .ed-ctas, .hd-ctas { flex-wrap: wrap; gap: 14px 22px; }
  .nav-cta { padding: .65em .8em; font-size: .72rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  .mq-track, .k-badge, .k-line, .k-line > span, .media { animation: none !important; }
}
@media (max-width: 480px) { .sample-ribbon { font-size: .56rem; padding: 5px 9px; left: auto; right: 8px; bottom: 8px; opacity: .92; } }

.footer:empty, #nav:empty { display: none; }

/* ---- v4 fixes ---- */
/* service card without its own photo: an icon card instead of repeating the hero */
.sv-icard { display: grid; place-items: center; background: var(--hi); color: var(--ink); }
[data-theme="bold"] .sv-icard { background: var(--accent); color: var(--accent-ink); }
[data-theme="editorial"] .sv-icard, [data-theme="minimal"] .sv-icard { background: var(--alt); color: var(--accent); }
.sv-icard .sv-big { width: clamp(56px, 22%, 88px); height: auto; aspect-ratio: 1; stroke-width: 1.3; }
/* bold headline never spills, even before the JS fit runs */
.k-title { max-width: 100%; }
.k-line { max-width: 100%; }
/* Clean Minimal booking card: darker small labels (>= 4.5:1 on the card surface) */
[data-theme="minimal"] .book-card { --muted: #4D534F; }
/* phone: header button and phone links are real 44px tap targets */
@media (max-width: 720px) {
  .nav-cta { min-height: 44px; align-items: center; }
  .ct-dl a.tel, .foot-brand a[href^="tel:"] { display: inline-flex; align-items: center; min-height: 44px; padding: 0; margin: 0; }
}
/* very long unbroken words in a typed business name wrap instead of spilling */
h1.display:not(.k-title), h2.display, .logo span { overflow-wrap: anywhere; }
/* headline phrase groups may wrap (a nowrap group overflowed in WebKit and widened phone grids) */
.display .nowrap { white-space: normal; }
/* footer columns never push past a narrow phone */
.foot-brand, .foot-meta { max-width: 100%; min-width: 0; }
.foot-brand .logo { max-width: 100%; }
.foot-brand .logo span { white-space: normal; overflow: visible; text-overflow: clip; }
/* v5: polaroids size from their width + aspect ratio, never from the img height attribute */
.polaroid .media { height: auto; }
/* typed tag text (escaped) is never re-cased by a look's uppercase headings */
.raw { text-transform: none; }
/* Warm hand-drawn headline: the circled words and the closing period stay on one line */
.hd-title .nowrap { white-space: nowrap; }
/* icon polaroid (used when the gallery already shows the photos) */
.p-icbox { display: grid; place-items: center; aspect-ratio: 1/1.05; background: var(--hi); color: var(--accent); }
.p-icbox .p-big { width: 46%; height: auto; stroke-width: 1.2; }
/* v5: a long hand-drawn phrase may wrap inside its scribble (keeps the hero in the column at 360px); the period stays glued via .nowrap */
.hd-title .scribble { white-space: normal; max-width: calc(100% - .45em); }

/* ===================== v6 ===================== */
/* N16: icon cards drop the small duplicate icon; price stays right-aligned */
.sv-top .price { margin-left: auto; }
/* N19: when the circled phrase wraps, an underline replaces the oval (fitScribble adds .wrapped) */
.scribble.wrapped svg { display: none; }
/* inline (not inline-block) so the closing comma/period hugs the last underlined word */
.scribble.wrapped { display: inline; max-width: none; text-decoration: underline; text-decoration-color: var(--accent2, var(--hi)); text-decoration-thickness: .075em; text-underline-offset: .14em; text-decoration-skip-ink: none; }
[data-theme="bold"] .scribble.wrapped { text-decoration-color: var(--hi); }
@media (max-width: 720px) {
  /* N15: the SINCE/TOWN stamp sits in the flow above "Hey neighbor", never over the headline */
  .hd-stamp { position: static; display: block; width: 72px; height: 72px; margin: 0 0 12px; }
  /* WA3: second polaroid 24px lower so it clears the first one's caption */
  .hd-photos { height: 384px; }
  /* ...and the first polaroid stacks on top, so its caption is never under the second one (24px alone can't clear a 50%-wide card) */
  .p1 { z-index: 2; }
}
