/* Dermopigmentisti.it – single stylesheet, no build step.
   Fonts: EB Garamond (display) and Inter (text), self-hosted, SIL OFL 1.1. */

@font-face { font-family: "EB Garamond"; src: url("../fonts/garamond-regular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/garamond-italic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-semibold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --bg: #faf7f2;
  --surface: #fff;
  --ink: #241c17;
  --ink-2: #4a3f37;
  --muted: #85776b;
  --line: #ece4d8;
  --line-2: #e2d6c4;
  /* bronze-champagne of the logo monogram */
  --gold: #a5714a;
  --gold-2: #c4936a;
  --gold-dark: #7f5434;
  --gold-soft: #f6ede4;
  --dark: #1c1612;
  --ok: #2f7d4f;
  --err: #a23b2a;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(36, 28, 23, .04), 0 8px 24px rgba(36, 28, 23, .06);
  --shadow-hover: 0 2px 4px rgba(36, 28, 23, .05), 0 14px 32px rgba(36, 28, 23, .10);
  --serif: "EB Garamond", "Cormorant Garamond", Garamond, Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* vertical rhythm */
  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-5: 48px;
  --section: clamp(48px, 6vw, 80px);
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-rendering: optimizeLegibility; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-synthesis: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(2.2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.75rem, 2.8vw, 2.25rem); }
h3, .h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
code { background: var(--gold-soft); padding: .1em .35em; border-radius: 4px; font-size: .9em; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 860px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.hint { color: var(--muted); font-size: .875rem; margin: .4em 0 0; }
.eyebrow { font: 600 .75rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin: 0 0 var(--s-2); }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 2000; }
.skip:focus { left: 8px; }
.i { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
section { margin: 0; }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* ---------- sections ---------- */
.block { padding-top: var(--section); }
.block-first { padding-top: calc(var(--section) + 8px); }
.block-tight { padding-top: var(--s-5); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-2); margin-bottom: var(--s-3); flex-wrap: wrap; }
.section-head h2 { margin: 0 0 4px; }
.section-head p { margin: 0; color: var(--muted); }
.section-head .btn { flex: none; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .7em 1.35em; border-radius: 10px; border: 1px solid transparent; font: 600 .9375rem/1.2 var(--sans); letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s; }
.btn-sm { min-height: 38px; padding: .55em 1.05em; font-size: .875rem; }
.btn-block { width: 100%; }
.btn-gold { background: linear-gradient(180deg, #b98a4f, var(--gold) 60%, #9a6e37); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 4px 12px rgba(131, 93, 45, .25); }
.btn-gold:hover { color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .25) inset, 0 6px 18px rgba(131, 93, 45, .35); transform: translateY(-1px); }
.btn-soft { background: var(--gold-soft); color: var(--ink); border-color: var(--line-2); }
.btn-soft:hover { background: #efe3d1; color: var(--ink); }
.btn-outline { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold-dark); }
.btn-outline .i { color: var(--gold); }
.btn-danger { background: var(--err); color: #fff; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--gold-dark); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.link-btn.danger, .danger { color: var(--err); }
form.inline { display: inline; }

/* ---------- header ---------- */
.site-header { background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 1000; }
.header-inner { display: flex; align-items: center; gap: var(--s-3); min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 52px; height: 42px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong { font: 400 1.3rem/1 var(--serif); letter-spacing: .05em; white-space: nowrap; }
.wm-gold { background: linear-gradient(100deg, #c08c60, #9a6643 50%, #b9845a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wm-tld { color: var(--gold); }
.brand-text small { font: 500 .625rem/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }
.main-nav { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.main-nav > a { position: relative; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; white-space: nowrap; padding: 6px 0; }
.main-nav > a:hover { color: var(--gold-dark); }
.main-nav > a[aria-current] { color: var(--ink); }
.main-nav > a[aria-current]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; border-radius: 2px; background: var(--gold-2); }
.main-nav .btn { color: #fff; }
.main-nav > a.btn { padding: .55em 1.15em; }
.main-nav .btn::after { display: none; }
.nav-sep { width: 1px; height: 24px; background: var(--line-2); }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 1360px) and (min-width: 1181px) { .main-nav { gap: 15px; } .main-nav > a { font-size: .9rem; } }
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) var(--s-3); }
  .main-nav.open { display: flex; }
  .main-nav > a, .main-nav form { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav > a[aria-current]::after { display: none; }
  .main-nav .btn { margin-top: var(--s-2); }
  .nav-sep { display: none; }
}
@media (max-width: 520px) {
  .header-inner { min-height: 64px; }
  .main-nav { top: 64px; }
  .brand { gap: 9px; }
  .brand img { width: 40px; height: 32px; }
  .brand-text strong { font-size: clamp(.95rem, 4.6vw, 1.15rem); letter-spacing: .02em; }
  .brand-text small { display: none; }
}

/* ---------- alerts ---------- */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); margin: var(--s-2) 0; border: 1px solid; font-size: .9375rem; }
.alert-ok { background: #eef7f1; border-color: #cfe6d7; color: var(--ok); }
.alert-err { background: #fbefec; border-color: #f0d1ca; color: var(--err); }
.alert-warn { background: #fdf7ea; border-color: #f0e0bd; color: #7a5a1c; }

/* ---------- hero ---------- */
.hero { position: relative; color: #f3ebe1;
  background:
    radial-gradient(900px 520px at 88% 18%, rgba(201, 151, 107, .30), transparent 62%),
    radial-gradient(600px 400px at 8% 110%, rgba(201, 151, 107, .14), transparent 70%),
    linear-gradient(115deg, #17110e 0%, #261c16 48%, #3d2c20 100%);
  padding: clamp(56px, 8vw, 104px) 0 0; }
.hero-deco { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-deco::before, .hero-deco::after { content: none; }
.hero-deco::before { right: -140px; top: -160px; width: 640px; height: 640px; border: 1px solid rgba(201, 151, 107, .22); box-shadow: inset 0 0 0 70px transparent, 0 0 0 0 transparent; }
.hero-deco::after { right: -10px; top: -30px; width: 380px; height: 380px; border: 1px solid rgba(201, 151, 107, .14); }
.hero-mark { position: absolute; right: clamp(-60px, 4vw, 90px); top: 50%; transform: translateY(-60%); width: min(40vw, 500px); height: auto; opacity: .1; }
.hero-eyebrow { display: flex; align-items: center; gap: 12px; }
.hero-eyebrow img { width: 58px; height: auto; flex: none; }
.hero-inner { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-4); }
.hero-copy { max-width: 640px; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.6vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; margin-bottom: var(--s-3); }
.hero h1 em { display: block; font-style: normal; color: var(--gold-2); }
.hero-lead { font-size: 1.0625rem; line-height: 1.65; color: #d9cdbf; max-width: 34em; margin: 0; }
.hero-script { font: italic 400 1.9rem/1.15 var(--serif); color: #efe2cd; text-align: right; transform: rotate(-7deg); margin: 0 12px 8px 0; flex: none; }
.hero-script small { display: block; font-size: 1.15rem; color: var(--gold-2); margin-top: 6px; }
.hero-search { position: relative; top: 48px; margin-top: clamp(-8px, 1vw, 16px); z-index: 2; }
@media (max-width: 820px) { .hero-script, .hero-mark { display: none; } }
@media (max-width: 900px) { .hero { padding-bottom: var(--s-4); } .hero-search { top: 0; } .block-first { padding-top: var(--s-4); } }

.search { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: var(--s-2); align-items: end; background: var(--surface); color: var(--ink); padding: 20px 22px; border-radius: var(--radius); box-shadow: 0 20px 50px rgba(28, 22, 18, .18), 0 2px 6px rgba(28, 22, 18, .06); margin: 0; }
.search-field span { display: block; font: 600 .75rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.search select { width: 100%; }
.search-btn { min-height: 48px; padding-inline: 1.6em; }
@media (max-width: 900px) { .search { grid-template-columns: 1fr 1fr; } .search-btn { grid-column: 1 / -1; } }
@media (max-width: 560px) { .search { grid-template-columns: 1fr; padding: 16px; } }
/* search on inner pages */
.wrap > .search { margin-top: var(--s-3); box-shadow: var(--shadow); border: 1px solid var(--line); }

/* ---------- forms ---------- */
input, select, textarea { font: inherit; font-size: .9375rem; color: var(--ink); width: 100%; padding: .7em .85em; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; min-height: 48px; transition: border-color .15s, box-shadow .15s; }
select { appearance: none; -webkit-appearance: none; padding-right: 2.4em; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23a87a40' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right .9em center; }
select[multiple] { background-image: none; padding-right: .85em; }
textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(165, 113, 74, .15); outline: none; }
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--gold); flex: none; }
input[type=file] { padding: .55em; min-height: 0; }
.form { display: grid; gap: var(--s-2); }
.form label { display: grid; gap: 6px; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.form label.check, .check { display: flex; align-items: center; gap: 10px; font-weight: 400; color: var(--ink); }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3); margin: 0; background: var(--surface); }
.form legend { font: 400 1.25rem/1 var(--serif); padding: 0 8px; color: var(--ink); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px 20px; }
.region-box { border-bottom: 1px solid var(--line); padding: 10px 0; }
.region-box summary { cursor: pointer; font-weight: 600; }
.region-box .check-grid { padding: 10px 0 4px; }
.inline-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.inline-form input, .inline-form select { width: auto; flex: 1 1 200px; }

/* ---------- categories ---------- */
.cat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-2); }
.cat-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 22px 14px 14px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s; }
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); border-color: var(--line-2); color: var(--ink); }
.cat-art { width: 52px; height: 52px; color: var(--gold); margin-bottom: var(--s-2); }
.cat-name { font: 400 clamp(1.05rem, 1.55vw, 1.3rem)/1.15 var(--serif); margin-bottom: 6px; letter-spacing: -.01em; white-space: nowrap; }
.cat-tag { font-size: .8125rem; line-height: 1.45; color: var(--muted); margin-bottom: var(--s-2); }
.cat-more { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: .75rem; font-weight: 600; color: var(--gold-dark); }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cat-card { padding: 22px 18px 16px; } .cat-name { font-size: 1.3rem; } }
@media (max-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .cat-card { padding: 18px 14px 14px; } .cat-name { font-size: 1.1rem; } .cat-art { width: 42px; height: 42px; } }

/* ---------- stats ---------- */
.stats { list-style: none; margin: var(--s-3) 0 0; padding: 22px 8px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.stats li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 2px 24px; border-left: 1px solid var(--line); }
.stats li:first-child { border-left: 0; }
.stats .i { grid-row: span 2; width: 34px; height: 34px; color: var(--gold); }
.stats strong { font: 400 2rem/1 var(--serif); }
.stats span { font-size: .8125rem; color: var(--muted); margin-top: 2px; }
@media (max-width: 860px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 20px; } .stats li:nth-child(3) { border-left: 0; } }
@media (max-width: 420px) { .stats li { padding: 2px 12px; column-gap: 10px; } .stats .i { width: 26px; height: 26px; } .stats strong { font-size: 1.6rem; } }

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-4); align-items: start; }
.split-side { position: sticky; top: 100px; display: grid; gap: var(--s-2); }
.split-side h2 { margin: 0; }
.split-home { align-items: stretch; }
.map-side { position: sticky; top: 100px; align-self: start; display: flex; flex-direction: column; gap: 0; }
.map-side .map { height: clamp(420px, calc(100vh - 220px), 640px); }
@media (max-width: 960px) { .map-side { position: static; } }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: var(--s-5); } .split-side { position: static; } }

/* ---------- professional cards ---------- */
.pro-list { display: grid; gap: var(--s-2); }
.pro-card { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 20px; align-items: center; background: var(--surface); padding: 16px 20px 16px 16px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); transition: box-shadow .25s, border-color .25s; }
.pro-card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-2); }
.pro-card.is-top { border-color: var(--gold-2); }
.pro-avatar { text-decoration: none; }
.avatar { width: 88px; height: 88px; border-radius: 12px; object-fit: cover; }
.avatar-ph { display: grid; place-items: center; background: linear-gradient(145deg, #f7efe3, #ead9c1); color: var(--gold-dark); font: 400 1.9rem/1 var(--serif); letter-spacing: .04em; }
.avatar-xl { width: 220px; height: 220px; font-size: 4rem; border-radius: 18px; }
.pro-body { min-width: 0; }
.pro-name { font: 600 1.0625rem/1.3 var(--sans); margin: 0 0 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; letter-spacing: 0; }
.pro-name a { color: var(--ink); text-decoration: none; }
.pro-name a:hover { color: var(--gold-dark); }
.pro-meta { margin: 0 0 10px; font-size: .8125rem; color: var(--muted); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pro-meta .i-g { margin-right: 10px; }
.pro-place { display: inline-flex; align-items: center; gap: 4px; }
.pro-place .i { fill: none; stroke: currentColor; width: 14px; height: 14px; }
.pro-works { display: flex; gap: 6px; }
.pro-works img { width: 58px; height: 58px; border-radius: 8px; object-fit: cover; }
.pro-cta { white-space: nowrap; }
@media (max-width: 1180px) { .pro-works { display: none; } }
@media (max-width: 600px) {
  .pro-card { grid-template-columns: 64px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .pro-card .avatar { width: 64px; height: 64px; font-size: 1.4rem; }
  .pro-cta { grid-column: 1 / -1; }
}
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.chips a { display: inline-block; padding: 4px 11px; border-radius: 999px; background: var(--gold-soft); border: 1px solid #eee2cf; color: var(--ink-2); text-decoration: none; font-size: .75rem; font-weight: 500; }
.chips a:hover { background: #efe3d1; color: var(--ink); }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 6px; font: 600 .6875rem/1.3 var(--sans); letter-spacing: .02em; background: var(--gold-soft); color: var(--gold-dark); }
.badge-diamond { background: #1f6b70; color: #fff; }
.badge-premium { background: #f6ead6; color: #7a5520; border: 1px solid #e7cfa5; }
.badge-ok { background: #e9f4ed; color: var(--ok); }
.badge .i { width: 12px; height: 12px; fill: none; stroke: currentColor; }
.verified { width: 19px; height: 19px; fill: #3b82d6; flex: none; }
.stars { display: inline-flex; gap: 1px; color: #e3a52a; }
.star { width: 14px; height: 14px; fill: currentColor; }
.star-empty { fill: #e6ddd0; }
.i-g { width: 13px; height: 13px; }

/* ---------- map ---------- */
.map { height: 420px; border-radius: var(--radius); overflow: hidden; background: #ebe5db; border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; z-index: 0; }
.map-fallback { padding: var(--s-2); }
.map-pin svg { width: 28px; height: 36px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)); }
.map-popup { display: flex; gap: 10px; align-items: center; font: 14px/1.35 var(--sans); }
.map-popup img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }
.map-popup a { font-weight: 600; color: var(--ink); }
.leaflet-container { font-family: var(--sans); }

/* ---------- sponsor & carousels ---------- */
.carousel { position: relative; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: var(--s-2); scrollbar-width: none; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track > * { scroll-snap-align: start; flex: 0 0 100%; }
.carousel-sm { margin-top: var(--s-2); }
.carousel-sm .carousel-track > * { flex-basis: calc((100% - 2 * var(--s-2)) / 3); }
@media (max-width: 860px) { .carousel-sm .carousel-track > * { flex-basis: 85%; } }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, .95); color: var(--ink); box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; z-index: 2; }
.carousel-btn.prev { left: 14px; }
.carousel-btn.next { right: 14px; }
.carousel-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .45); cursor: pointer; }
.carousel-dots button[aria-current="true"] { background: #fff; }
.slide { position: relative; min-height: 240px; border-radius: var(--radius); overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: var(--s-4);
  background: radial-gradient(700px 300px at 85% 50%, rgba(201, 151, 107, .28), transparent 70%), linear-gradient(110deg, #17110e, #2c211a 55%, #4a3726); }
.slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.slide-copy { position: relative; padding: 40px 72px; max-width: 600px; }
.slide-placeholder .slide-copy { padding: 40px 48px; }
.slide-copy h2 { color: #fff; font-size: clamp(1.9rem, 3.2vw, 2.6rem); margin-bottom: 10px; }
.slide-copy p { color: #d9cdbf; margin-bottom: var(--s-3); }
.slide-copy .slide-kicker { font: 600 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 14px; }
.slide-points { position: relative; list-style: none; margin: 0; padding: 0 56px 0 0; display: grid; gap: 12px; font-size: .9375rem; color: #ece2d6; }
.slide-points li { display: flex; align-items: center; gap: 10px; }
.slide-points .i { color: var(--gold-2); }
@media (max-width: 760px) { .slide { flex-direction: column; align-items: flex-start; } .slide-copy, .slide-placeholder .slide-copy { padding: 32px 24px 0; } .slide-points { padding: 0 24px 32px; } }
.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); margin-top: var(--s-2); }
@media (max-width: 860px) { .mini-grid { grid-template-columns: 1fr; } }
.mini-slide { position: relative; display: flex; min-height: 132px; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: linear-gradient(120deg, #fdfaf5, #f3e8d8); border: 1px solid var(--line); color: var(--ink); transition: box-shadow .25s, transform .25s; }
.mini-slide:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); color: var(--ink); }
.mini-slide img { position: absolute; right: 0; top: 0; height: 100%; width: 55%; object-fit: cover; mask-image: linear-gradient(90deg, transparent, #000 45%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); }
.mini-copy { position: relative; padding: 22px 24px; display: flex; flex-direction: column; gap: 2px; max-width: 70%; }
.mini-copy strong { font: 600 .875rem/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.mini-copy > span { font-size: .875rem; color: var(--muted); }
.mini-art { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); width: 64px; height: 64px; color: var(--gold-2); opacity: .55; }
.mini-copy em { font-style: normal; font-weight: 600; font-size: .8125rem; color: var(--gold-dark); margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 4px; }

/* ---------- plans ---------- */
.plans { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: var(--s-3); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); margin: 0; }
.plan-hl { border: 1.5px solid var(--gold-2); box-shadow: 0 0 0 4px rgba(201, 151, 107, .10), var(--shadow); }
.plan-ribbon { position: absolute; top: 20px; right: 20px; background: linear-gradient(180deg, #b98a4f, var(--gold)); color: #fff; font: 600 .6875rem/1 var(--sans); letter-spacing: .04em; padding: 6px 10px; border-radius: 999px; }
.plan-head { display: flex; gap: 16px; align-items: flex-start; min-height: 116px; }
.plan-icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--gold-soft); display: grid; place-items: center; }
.plan-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--gold); color: var(--gold); }
.plan-name { font: 600 .8125rem/1 var(--sans); text-transform: uppercase; letter-spacing: .14em; color: var(--ink-2); margin: 6px 0 10px; }
.plan-price { margin: 0; color: var(--muted); font-size: .875rem; }
.plan-price strong { font: 400 2.1rem/1 var(--serif); color: var(--ink); margin-right: 2px; }
.plan-alt { color: var(--muted); font-size: .8125rem; line-height: 1.5; margin: 8px 0 0; }
.plan-alt small { font-size: .75rem; }
.plan-tag { color: var(--ink-2); font-size: .9375rem; line-height: 1.5; min-height: calc(3em + var(--s-2) + 1px); margin: var(--s-2) 0; padding-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
.plan-addon { font-size: .8125rem; line-height: 1.5; color: var(--muted); background: var(--gold-soft); border-radius: var(--radius-sm); padding: 10px 12px; margin: 0 0 var(--s-3); }
.plan .btn { margin-top: auto; }
.checks { list-style: none; padding: 0; margin: 0 0 var(--s-3); display: grid; gap: 9px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: .9375rem; line-height: 1.4; }
.checks .i { color: var(--gold); margin-top: 1px; width: 17px; height: 17px; }
.plan-hl .checks { grid-template-columns: 1fr 1fr; column-gap: 20px; }
@media (max-width: 1020px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } .plan-head, .plan-tag { min-height: 0; } }
@media (max-width: 480px) { .plan-hl .checks { grid-template-columns: 1fr; } .plan { padding: 22px; } }

/* ---------- regions ---------- */
.region-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.region-grid a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 13px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-size: .9375rem; font-weight: 500; transition: border-color .2s, box-shadow .2s, color .2s; }
.region-grid a:hover { border-color: var(--gold-2); color: var(--gold-dark); box-shadow: var(--shadow); }
.region-grid small { min-width: 28px; text-align: center; font-size: .75rem; font-weight: 600; color: var(--gold-dark); background: var(--gold-soft); border-radius: 999px; padding: 2px 8px; }
@media (max-width: 1020px) { .region-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .region-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- inner pages ---------- */
.crumbs ol { list-style: none; padding: 0; margin: var(--s-3) 0 var(--s-2); display: flex; flex-wrap: wrap; gap: 6px; font-size: .8125rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--line-2); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--gold-dark); }
.page-head { margin: 0; }
.page-head h1 { margin-bottom: 12px; }
.lead { font-size: 1.0625rem; line-height: 1.65; color: var(--ink-2); max-width: 62em; }
.wrap.split { margin-top: var(--s-5); }
.result-count { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin: 0 0 var(--s-2); }
.split-side .h3 { margin: var(--s-2) 0 0; }
.split-side .h3:first-child { margin-top: 0; }
.facets { list-style: none; margin: 0; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
.facets li { display: flex; justify-content: space-between; gap: 8px; padding: 5px 0; font-size: .875rem; }
.facets a { color: var(--ink-2); text-decoration: none; }
.facets a:hover { color: var(--gold-dark); }
.count { color: var(--muted); font-size: .75rem; }
.empty { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3); box-shadow: var(--shadow); }
.empty > :last-child { margin-bottom: 0; }
.pager { display: flex; justify-content: center; gap: 20px; align-items: center; margin: var(--s-3) 0; font-size: .9375rem; }
.seo-block { margin-top: var(--section); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.wrap.seo-block { max-width: calc(1240px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.seo-block > :last-child { margin-bottom: 0; }
.seo-block details { border-top: 1px solid var(--line); padding: 14px 0; }
.seo-block summary { cursor: pointer; font-weight: 600; }
.seo-block details p { margin: 10px 0 0; color: var(--ink-2); }
.treat-list { display: grid; gap: var(--s-2); margin: var(--s-4) 0 0; }
.treat { display: grid; grid-template-columns: 72px 1fr; gap: var(--s-3); background: var(--surface); border: 1px solid var(--line); padding: var(--s-3); border-radius: var(--radius); box-shadow: var(--shadow); margin: 0; }
.treat-art { width: 72px; height: 72px; color: var(--gold); }
.treat h2 { font-size: 1.75rem; }
.treat h2 a { color: var(--ink); text-decoration: none; }
.treat p:last-child { margin: 0; }

/* ---------- profile ---------- */
.profile-head { display: grid; grid-template-columns: auto minmax(0, 1fr) 320px; gap: var(--s-4); align-items: start; background: var(--surface); border: 1px solid var(--line); padding: var(--s-4); border-radius: var(--radius); box-shadow: var(--shadow); }
.profile-photos { display: grid; grid-template-columns: repeat(2, 106px); gap: 8px; }
.photo-main { grid-column: 1 / -1; }
.photo-main img { width: 220px; height: 220px; object-fit: cover; border-radius: 16px; }
.photo-sub img { width: 106px; height: 106px; object-fit: cover; border-radius: 10px; }
.profile-id h1 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.profile-id p, .profile-id .chips { margin-bottom: 14px; }
.studio { font: italic 400 1.25rem var(--serif); color: var(--muted); margin-top: -4px; }
.profile-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.profile-rating { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .9375rem; }
.profile-area { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: .9375rem; color: var(--ink-2); }
.profile-area .i { fill: none; stroke: currentColor; color: var(--gold); }
.contact-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3); }
.contact-card .h3 { margin-bottom: var(--s-2); }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: .9375rem; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; }
.contact-list a:not(.btn) { color: var(--ink); text-decoration: none; display: inline-flex; gap: 10px; align-items: flex-start; word-break: break-word; }
.contact-list a:not(.btn):hover { color: var(--gold-dark); }
.contact-list .i { fill: none; stroke: currentColor; color: var(--gold); margin-top: 3px; }
.contact-list .btn .i { color: #fff; margin: 0; }
.socials { display: flex; gap: 14px; margin: var(--s-2) 0 0; padding-top: var(--s-2); border-top: 1px solid var(--line); }
.socials a { color: var(--ink-2); }
.socials a:hover { color: var(--gold-dark); }
.socials .i { width: 22px; height: 22px; }
.profile-section { margin-top: var(--s-3); background: var(--surface); border: 1px solid var(--line); padding: var(--s-4); border-radius: var(--radius); box-shadow: var(--shadow); }
section.wrap.profile-section { background: none; border: 0; box-shadow: none; padding: 0 var(--gutter); margin-top: var(--section); }
.profile-section > :last-child, .profile-section > :last-child > :last-child { margin-bottom: 0; }
.profile-section h2 { margin-bottom: var(--s-2); }
.prose { white-space: pre-line; max-width: 70ch; color: var(--ink-2); line-height: 1.7; }
.gallery { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); transition: opacity .2s; }
.gallery a:hover img { opacity: .88; }
@media (max-width: 1060px) { .profile-head { grid-template-columns: auto minmax(0, 1fr); } .contact-card { grid-column: 1 / -1; } }
@media (max-width: 680px) { .profile-head { grid-template-columns: 1fr; padding: var(--s-3); } .avatar-xl { width: 160px; height: 160px; } .profile-section { padding: var(--s-3); } }
.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(15, 12, 10, .9); }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 8px; }
.lightbox button { position: fixed; background: rgba(255, 255, 255, .92); border: 0; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; font-size: 1.5rem; display: grid; place-items: center; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; }
.lb-next { right: 16px; top: 50%; }

/* ---------- auth & panels ---------- */
.auth { display: grid; place-items: center; padding: var(--section) var(--gutter); }
.auth-card { width: 100%; max-width: 460px; background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.auth-card h1 { font-size: 2.2rem; }
.auth-wide { max-width: 760px; }
.auth-card > .muted.center { margin: var(--s-3) 0 0; font-size: .9375rem; }
.panel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: var(--s-4); padding-block: var(--s-5); }
.side-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 100px; align-self: start; }
.side-nav a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.side-nav a[aria-current] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; }
.side-nav a:hover { color: var(--gold-dark); }
.panel-main { display: grid; gap: var(--s-3); align-content: start; min-width: 0; }
.panel-main h1 { margin: 0; }
.panel-main section, .panel-main .box { margin: 0; }
@media (max-width: 820px) { .panel { grid-template-columns: 1fr; padding-block: var(--s-3); } .side-nav { position: static; flex-direction: row; overflow-x: auto; } .side-nav a { white-space: nowrap; } }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--s-3); box-shadow: var(--shadow); }
.box > :last-child { margin-bottom: 0; }
.box-gold { background: var(--gold-soft); border-color: #eee2cf; box-shadow: none; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
@media (max-width: 760px) { .cards-3 { grid-template-columns: 1fr; } }
.big { font: 400 1.75rem/1.1 var(--serif); margin: 4px 0 6px; }
.todo { margin: 0 0 var(--s-2); padding-left: 20px; }
.photo-admin { list-style: none; padding: 0; margin: 0 0 var(--s-2); display: flex; flex-wrap: wrap; gap: var(--s-2); }
.photo-admin li { display: grid; gap: 6px; justify-items: start; font-size: .8125rem; }
.photo-admin img { width: 140px; height: 140px; object-fit: cover; border-radius: var(--radius-sm); }
.table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); font-size: .875rem; }
.table th, .table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table th { background: #fbf7f1; font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.table .ua { max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel-main .stats { margin: 0; }
.danger-zone { border-top: 1px solid var(--line); padding-top: var(--s-2); }
.steps { padding-left: 22px; display: grid; gap: 10px; }
.prose-block { margin-top: var(--s-3); background: var(--surface); border: 1px solid var(--line); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.prose-block h2 { margin-top: var(--s-4); }
.prose-block h2:first-child { margin-top: 0; }
@media (max-width: 760px) { .table { display: block; overflow-x: auto; } }
.narrow.center { padding-block: var(--section); }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: #b9ad9f; margin-top: var(--section); padding: var(--s-5) 0 var(--s-3); font-size: .875rem; }
.site-footer a { color: #e3d8ca; text-decoration: none; }
.site-footer a:hover { color: var(--gold-2); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1.2fr); gap: var(--s-5); }
.footer-grid p { line-height: 1.65; max-width: 30em; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-regions ul { grid-template-columns: 1fr 1fr; column-gap: var(--s-3); }
.footer-h { font: 600 .6875rem/1 var(--sans); text-transform: uppercase; letter-spacing: .16em; color: var(--gold-2); margin: 10px 0 var(--s-2); }
.brand-footer { color: #fff; margin-bottom: var(--s-2); flex-direction: column; align-items: flex-start; gap: 14px; }
.brand-footer img { width: 52px; height: 42px; }
.brand-footer .brand-text strong { color: #f4eee6; font-size: 1.2rem; }
.brand-footer .wm-gold { background-image: linear-gradient(100deg, #f2d7b8, #c9976b 50%, #e6c19b); }
.brand-footer .wm-tld { color: #e6c19b; }
.footer-flag { width: 180px; height: auto; margin: 0 0 var(--s-3); opacity: .9; }
.footer-bottom { border-top: 1px solid #332a24; margin-top: var(--s-5); padding-top: var(--s-3); color: #8e8275; }
@media (max-width: 1020px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: var(--s-4); } }

/* Garamond defaults to old-style figures: use lining numbers for data. */
h1, h2, h3, .stats strong, .plan-price strong, .big, .cat-name { font-variant-numeric: lining-nums; }

/* ---------- professional card (expanded) ---------- */
.pro-card { align-items: start; }
.pro-actions { align-self: center; display: grid; gap: 8px; }
.pro-actions .btn { white-space: nowrap; }
.pro-meta { gap: 6px 14px; }
.pro-rating { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.pro-rating strong { font-weight: 600; }
.pro-rating > span:last-child { color: var(--muted); }
.pro-google { display: inline-flex; align-items: center; gap: 5px; }
.pro-google > span { color: var(--muted); }
.pro-meta .i-g { margin: 0; }
.pro-bio { margin: 0 0 12px; font-size: .875rem; line-height: 1.55; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 60ch; }
.pro-social { list-style: none; margin: 12px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: flex; gap: 8px; }
.pro-social a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink-2); transition: color .2s, border-color .2s, background .2s; }
.pro-social a:hover { color: #fff; background: var(--gold); border-color: var(--gold); }
.pro-social .i { width: 16px; height: 16px; }
.i-line { fill: none; stroke: currentColor; }
.btn-outline .i-line { color: var(--gold); }
@media (max-width: 600px) { .pro-actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } .pro-actions .btn:only-child { grid-column: 1 / -1; } }

/* ---------- profile: socials & ratings ---------- */
.profile-rating { gap: 10px 22px; }
.profile-rating a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); text-decoration: none; }
.profile-rating a span { color: var(--muted); }
.profile-rating a:hover span { color: var(--gold-dark); text-decoration: underline; }
.social-list { list-style: none; margin: var(--s-2) 0 0; padding: var(--s-2) 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.social-list a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-size: .875rem; font-weight: 500; transition: border-color .2s, color .2s; }
.social-list a:hover { border-color: var(--gold-2); color: var(--gold-dark); }
.social-list .i { width: 18px; height: 18px; color: var(--gold); }

/* ---------- reviews ---------- */
.review-summary { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: var(--s-4); align-items: center; padding-bottom: var(--s-3); margin-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.review-score { display: grid; justify-items: center; gap: 6px; text-align: center; }
.review-score strong { font: 400 3.4rem/1 var(--serif); font-variant-numeric: lining-nums; }
.review-score .star { width: 18px; height: 18px; }
.review-score > span:last-child { font-size: .875rem; color: var(--muted); }
.review-dist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; max-width: 460px; }
.review-dist li { display: grid; grid-template-columns: 34px 1fr 28px; gap: 10px; align-items: center; font-size: .8125rem; color: var(--muted); }
.review-dist .bar { height: 8px; border-radius: 99px; background: var(--gold-soft); overflow: hidden; }
.review-dist .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); border-radius: 99px; }
.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.review { display: grid; gap: 12px; }
.review-list .review + .review { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.review header { display: flex; align-items: center; gap: 12px; }
.review header > div { display: grid; flex: 1; min-width: 0; font-size: .9375rem; }
.review header .muted { font-size: .8125rem; }
.review-avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, #f7efe3, #ead9c1); color: var(--gold-dark); font: 400 1.2rem/1 var(--serif); }
.review-text { margin: 0; color: var(--ink-2); line-height: 1.7; white-space: pre-line; max-width: 75ch; }
.review-reply { margin-left: 52px; padding: 12px 16px; border-left: 3px solid var(--gold-2); background: var(--bg); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .9rem; }
.review-reply strong { font-size: .8125rem; color: var(--gold-dark); }
.review-reply p { margin: 4px 0 0; color: var(--ink-2); white-space: pre-line; }
.review-cta { margin-top: var(--s-4); }
.review-cta > .alert { margin: 0; }
.review-form { max-width: 640px; padding: var(--s-3); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); }
.review-form h3 { margin: 0; }
.review-login { padding: var(--s-3); border-radius: var(--radius); display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); flex-wrap: wrap; }
.review-login p { margin: 0; }
.review-login-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.review-inline { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.review-mod { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 12px; border-top: 1px solid var(--line); }
@media (max-width: 640px) { .review-summary { grid-template-columns: 1fr; gap: var(--s-3); } .review-reply { margin-left: 0; } .social-list { grid-template-columns: 1fr; } }

/* star rating input: radios in reverse order so CSS can fill the hovered star and all before it */
.form .star-field { border: 0; padding: 0; margin: 0; background: none; }
.form .star-field legend { font: 600 .875rem/1 var(--sans); color: var(--ink-2); padding: 0; margin-bottom: 8px; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.form .star-input label { display: block; cursor: pointer; color: #e3d9cc; }
.star-input label .i { width: 32px; height: 32px; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #e3a52a; }
.star-input label:hover .i { transform: scale(1.1); }
.star-input input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

/* ---------- account, tabs, auth extras ---------- */
.panel-single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.my-reviews { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.my-reviews li + li { padding-top: var(--s-3); border-top: 1px solid var(--line); }
.my-reviews p { color: var(--ink-2); white-space: pre-line; margin: 8px 0; }
.my-review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.my-review-head a { color: var(--ink); text-decoration: none; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); }
.tabs a { padding: 10px 14px; color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs a[aria-current] { color: var(--ink); border-bottom-color: var(--gold-2); }
.auth-alt { margin-top: var(--s-3); padding-top: var(--s-3); border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); font-size: .875rem; color: var(--muted); }
.auth-alt p { margin: 0; }
.auth-alt a { font-weight: 600; }
.eyebrow-dark { color: var(--gold); }

.main-nav .link-btn { color: var(--ink-2); text-decoration: none; font-size: .9375rem; font-weight: 500; }
.main-nav .link-btn:hover { color: var(--gold-dark); }
.form label .hint, .form label small { font-weight: 400; }
.badge-warn { background: #fdf2dc; color: #7a5a1c; border: 1px solid #f0dcae; }
.issues { margin: 8px 0 0; padding-left: 20px; display: grid; gap: 4px; }
.box-gold .issues { margin-bottom: var(--s-2); }

/* ---------- back office: shared ---------- */
.panel { grid-template-columns: 236px minmax(0, 1fr); }
.side-nav { gap: 1px; }
.side-nav a { display: flex; align-items: center; gap: 10px; }
.side-nav a .i { width: 17px; height: 17px; color: var(--muted); }
.side-nav a[aria-current] .i { color: var(--gold); }
.side-h { margin: 18px 14px 6px; font: 600 .6875rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.side-nav > .side-h:first-child { margin-top: 0; }
.nav-count { margin-left: auto; min-width: 22px; text-align: center; padding: 2px 7px; border-radius: 999px; background: var(--gold); color: #fff; font-size: .6875rem; font-weight: 600; }
.nav-count-soft { background: var(--gold-soft); color: var(--gold-dark); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s-2); flex-wrap: wrap; }
.panel-head h1 { margin: 0; display: flex; align-items: center; gap: 10px; }
.panel-head p { margin: 6px 0 0; }
.panel-head .eyebrow { margin-bottom: 6px; }
.panel-actions, .btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumb-back { margin: 0 0 6px !important; font-size: .8125rem; }
.crumb-back a { color: var(--muted); text-decoration: none; }
.box-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: var(--s-2); }
.box-head h2 { margin: 0; }
.box-head a { font-size: .875rem; }
.box-danger { border-color: #f0d1ca; }
.box-danger h2 { color: var(--err); }
.mt { margin-top: var(--s-2) !important; }
.grid-main-side { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s-3); align-items: start; }
.grid-2col { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-3); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-2); }
@media (max-width: 1000px) { .grid-main-side, .grid-2col { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: 1fr 1fr; } .grid-3 > span { display: none; } }
.stack { display: grid; gap: 10px; }
.anchor { scroll-margin-top: 96px; }
.filters { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table td.num, .table th.num { text-align: right; font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
textarea.mono { font: .875rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; }
.help code { font-size: .8125rem; }
.rich h2 { margin: var(--s-4) 0 var(--s-2); }
.rich h2:first-child { margin-top: 0; }
.rich ol, .rich ul { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 1em; }
.rich p { color: var(--ink-2); line-height: 1.75; }
.cat-legend { width: 22px; height: 22px; color: var(--gold); vertical-align: -5px; }
legend .hint { font: 400 .75rem var(--sans); margin-left: 8px; }

/* KPI tiles */
.kpis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s-2); }
.kpis li { display: grid; gap: 4px; align-content: start; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.kpis-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .kpis-4 { grid-template-columns: 1fr 1fr; } }
.kpi-label { font: 600 .6875rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.kpis strong { font: 400 2.2rem/1.1 var(--serif); font-variant-numeric: lining-nums; }
.kpis strong.kpi-small { font-size: 1.5rem; padding: 6px 0 4px; }
.kpi-sub { font-size: .8125rem; color: var(--muted); }
.kpis a { font-size: .8125rem; font-weight: 600; text-decoration: none; }
.delta { justify-self: start; font-size: .75rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: var(--muted); }
.delta.up { background: #e9f4ed; color: var(--ok); }
.delta.down { background: #fbefec; color: var(--err); }

/* work queue */
.queue { display: flex; flex-wrap: wrap; gap: 10px; }
.queue a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--radius-sm); background: #fdf7ea; border: 1px solid #f0e0bd; color: #6b4e16; text-decoration: none; font-size: .875rem; }
.queue a strong { font: 400 1.35rem/1 var(--serif); }
.queue a:hover { border-color: var(--gold-2); }

/* lists, facts, progress, chart */
.mini-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; font-size: .9rem; }
.mini-list li { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; }
.mini-list li:first-child { border-top: 0; padding-top: 0; }
ol.mini-list { counter-reset: n; }
ol.mini-list li::before { counter-increment: n; content: counter(n); width: 20px; color: var(--muted); font-size: .8125rem; }
.mini-list a { color: var(--ink); font-weight: 500; text-decoration: none; }
.mini-list a:hover { color: var(--gold-dark); }
.facts { margin: 0; display: grid; gap: 10px; }
.facts > div { display: flex; justify-content: space-between; gap: 12px; font-size: .9rem; border-top: 1px solid var(--line); padding-top: 10px; }
.facts > div:first-child { border-top: 0; padding-top: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; text-align: right; }
.pct { font: 400 1.8rem/1 var(--serif); color: var(--gold-dark); }
.progress { height: 10px; border-radius: 99px; background: var(--gold-soft); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.chart { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: 4px; height: 160px; padding: 0 2px; border-bottom: 1px solid var(--line); }
.chart .bar { height: 100%; display: flex; align-items: flex-end; }
.chart .bar span { display: block; width: 100%; min-height: 2px; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--gold-2), var(--gold)); opacity: .85; transition: opacity .15s; }
.chart .bar:hover span { opacity: 1; }
.chart-axis { display: flex; justify-content: space-between; font-size: .75rem; color: var(--muted); margin-top: 6px; }

/* verification queue */
.verify-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-3); }
.verify-who { display: flex; gap: 16px; align-items: flex-start; }
.verify-who h2 { margin: 0 0 4px; }
.verify-who h2 a { color: var(--ink); text-decoration: none; }
.verify-who p { margin: 0 0 10px; }
@media (max-width: 900px) { .verify-card { grid-template-columns: 1fr; } }

/* favorites */
.fav-btn { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); cursor: pointer; transition: color .2s, border-color .2s, transform .15s; justify-self: end; }
.fav-btn .i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.fav-btn:hover { color: #c0392b; border-color: #e9b8b0; }
.fav-btn.is-fav { color: #c0392b; border-color: #e9b8b0; background: #fdf1ef; }
.fav-btn.is-fav .i { fill: currentColor; }
.fav-btn:active { transform: scale(.92); }
.fav-lg { width: 44px; height: 44px; flex: none; }
.fav-lg .i { width: 20px; height: 20px; }
.pro-actions { grid-template-columns: auto; justify-items: stretch; }
.pro-actions .fav-btn { position: absolute; }
.pro-card { position: relative; }
.pro-card .fav-btn { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; }
.pro-card .pro-body { padding-right: 44px; }
.profile-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.nav-icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--ink-2); }
.nav-icon .i { width: 20px; height: 20px; }
.nav-icon:hover { color: #c0392b; background: #fdf1ef; }
.main-nav > a.nav-icon { padding: 0; }
.main-nav > a.nav-icon[aria-current]::after { display: none; }
.announce { background: var(--dark); color: #efe2cd; font-size: .875rem; text-align: center; padding: 9px 0; }
.announce a { color: #efe2cd; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.announce a:hover { color: #fff; }
.counter { display: block; text-align: right; }
@media (max-width: 1180px) { .main-nav > a.nav-icon { width: auto; height: auto; justify-content: start; } .main-nav > a.nav-icon::before { content: "Preferiti"; margin-right: 8px; order: 2; } }
@media (max-width: 820px) {
  .panel { grid-template-columns: minmax(0, 1fr); }
  .side-nav { flex-direction: row; overflow-x: auto; gap: 4px; padding-bottom: 4px; scrollbar-width: thin; }
  .side-nav .side-h { display: none; }
  .side-nav a { flex: none; }
  .kpis-4 { grid-template-columns: 1fr 1fr; }
  .verify-who { flex-direction: column; }
}
@media (max-width: 480px) { .kpis-4, .kpis { grid-template-columns: 1fr 1fr; } .kpis strong { font-size: 1.8rem; } .kpis li { padding: 14px; } }
.panel-main > *, .grid-main-side > *, .grid-2col > * { min-width: 0; }
.tabs { overflow-x: auto; scrollbar-width: none; }
.tabs a { flex: none; }
.review header > div, .mini-list li, .facts dd { overflow-wrap: anywhere; }

/* ---------- Google sign-in ---------- */
.btn-google { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 46px; padding: 10px 16px; border: 1px solid #dadce0; border-radius: 10px; background: #fff; color: #1f1f1f; font: 500 .9375rem/1 var(--sans); text-decoration: none; transition: background .15s, box-shadow .15s; }
.btn-google:hover { background: #f8f9fa; color: #1f1f1f; box-shadow: 0 1px 3px rgba(60, 64, 67, .15); }
.btn-google-sm { display: inline-flex; width: auto; min-height: 40px; }
.g-logo { width: 18px; height: 18px; flex: none; }
.or { display: flex; align-items: center; gap: 12px; margin: var(--s-3) 0; color: var(--muted); font-size: .8125rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.google-state { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.role-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border: 0 !important; padding: 0 !important; background: none !important; }
.role-pick legend { font: 600 .875rem/1 var(--sans) !important; color: var(--ink-2); margin-bottom: 8px; padding: 0 !important; }
.form .role-opt { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; font-weight: 400; }
.role-opt input { margin-top: 3px; }
.role-opt span { display: grid; gap: 2px; }
.role-opt small { color: var(--muted); font-size: .8125rem; }
.role-opt:has(input:checked) { border-color: var(--gold); background: var(--gold-soft); }
@media (max-width: 560px) { .role-pick { grid-template-columns: 1fr; } }
[hidden] { display: none !important; }

/* ---------- before / after ---------- */
.ba-hint { margin: -6px 0 var(--s-3); font-size: .875rem; }
.ba-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: var(--s-3); }
.ba { margin: 0; }
.ba-stage { --pos: 50%; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--gold-soft); user-select: none; touch-action: pan-y; box-shadow: var(--shadow); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-tag { position: absolute; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(28, 22, 18, .62); color: #fff; font: 600 .6875rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; pointer-events: none; backdrop-filter: blur(4px); }
.ba-tag-l { left: 12px; }
.ba-tag-r { right: 12px; }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); pointer-events: none; }
.ba-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--gold-dark); box-shadow: 0 2px 10px rgba(0, 0, 0, .25); }
.ba-knob .i { width: 14px; height: 14px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; appearance: none; -webkit-appearance: none; background: none; border: 0; min-height: 0; }
.ba-stage:has(.ba-range:focus-visible) .ba-knob { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.ba figcaption { margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.pw-ba { position: relative; display: block; }
.pw-ba em { position: absolute; left: 3px; bottom: 3px; padding: 1px 4px; border-radius: 4px; background: rgba(28, 22, 18, .7); color: #fff; font: 600 .5625rem/1.3 var(--sans); font-style: normal; }

/* upload */
.pair-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.form .pair-drop { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; min-height: 170px; padding: 18px; border: 1.5px dashed var(--line-2); border-radius: var(--radius); background: var(--bg) center / cover no-repeat; text-align: center; cursor: pointer; font-weight: 400; transition: border-color .2s; overflow: hidden; }
.form .pair-drop:hover { border-color: var(--gold-2); }
.pair-drop.has-img { border-style: solid; border-color: var(--gold-2); }
.pair-drop.has-img > :not(input) { background: rgba(255, 255, 255, .88); padding: 2px 8px; border-radius: 6px; }
.pair-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.pair-step { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; font: 600 .8125rem/1 var(--sans); }
.pair-drop small { color: var(--muted); }
.pair-admin { list-style: none; margin: 0 0 var(--s-3); padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: var(--s-2); }
.pair-admin li { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); font-size: .875rem; }
.pair-admin p { margin: 0; }
.pair-thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pair-thumbs span { position: relative; }
.pair-thumbs img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; }
.pair-thumbs em { position: absolute; left: 6px; bottom: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(28, 22, 18, .65); color: #fff; font: 600 .625rem/1.4 var(--sans); font-style: normal; text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 560px) { .pair-inputs { grid-template-columns: 1fr 1fr; gap: 10px; } .form .pair-drop { min-height: 140px; padding: 12px; } }

/* ---------- blog ---------- */
.mt-l { margin-top: var(--s-5); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-3); }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.post-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.post-img { display: block; aspect-ratio: 16 / 10; background: var(--gold-soft); }
.post-img img { width: 100%; height: 100%; object-fit: cover; }
.post-ph { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, #f7efe3, #ead9c1); }
.post-ph svg { width: 72px; height: 72px; color: var(--gold); }
.post-body { padding: 18px 20px 22px; display: grid; gap: 8px; }
.post-meta { margin: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.post-meta span:first-child { color: var(--gold-dark); }
.post-body h3 { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.post-body h3 a { color: var(--ink); text-decoration: none; }
.post-body h3 a:hover { color: var(--gold-dark); }
.post-excerpt { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.post { margin-top: var(--s-2); }
.post-head { max-width: 820px; margin: 0 auto; text-align: center; }
.post-head .eyebrow a { color: inherit; text-decoration: none; }
.post-head h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; margin-bottom: var(--s-2); }
.post-head .lead { margin: 0 auto var(--s-2); font-size: 1.15rem; }
.post-head .post-meta { justify-content: center; }
.post-cover { margin: var(--s-4) 0 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.post-cover img { width: 100%; max-height: 560px; object-fit: cover; }
.post-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: var(--s-5); margin-top: var(--s-5); }
.post-aside { position: sticky; top: 100px; align-self: start; display: grid; gap: var(--s-4); }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .875rem; counter-reset: toc; }
.toc li { counter-increment: toc; display: flex; gap: 8px; }
.toc li::before { content: counter(toc, decimal-leading-zero); color: var(--gold); font-weight: 600; font-size: .75rem; padding-top: 2px; }
.toc a { color: var(--ink-2); text-decoration: none; line-height: 1.4; }
.toc a:hover { color: var(--gold-dark); }
.post-aside .side-h { margin: 0 0 10px; }
.share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.share .side-h { width: 100%; }
.share a, .share-copy { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }
.share-copy { width: auto; padding: 0 14px; border-radius: 999px; display: inline-flex; gap: 6px; font: 500 .8125rem var(--sans); }
.share a:hover, .share-copy:hover { color: var(--gold-dark); border-color: var(--gold-2); }
.post-content { font-size: 1.0625rem; line-height: 1.8; }
.post-content > :first-child { margin-top: 0; }
.post-content h2 { font-size: 2rem; margin: var(--s-5) 0 var(--s-2); scroll-margin-top: 100px; }
.post-content h3 { font-size: 1.45rem; margin: var(--s-4) 0 var(--s-1); }
.post-content p, .post-content li { color: var(--ink-2); }
.post-content blockquote { margin: var(--s-4) 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold-2); font: italic 400 1.45rem/1.5 var(--serif); color: var(--ink); }
.post-content blockquote p { margin: 0; color: var(--ink); }
.post-content figure { margin: var(--s-4) 0; }
.post-content figure img { width: 100%; border-radius: var(--radius-sm); }
.post-content figcaption { margin-top: 8px; font-size: .8125rem; color: var(--muted); text-align: center; }
.post-more { margin-top: var(--section); }
@media (max-width: 960px) { .post-layout { grid-template-columns: minmax(0, 1fr); gap: var(--s-3); } .post-aside { position: static; order: 2; } .toc { display: none; } }

/* editor */
.stack-l { display: grid; gap: var(--s-3); align-content: start; }
.input-title { font: 400 1.6rem/1.2 var(--serif) !important; }
.editor { display: grid; gap: 0; }
.editor-bar { display: flex; flex-wrap: wrap; gap: 4px; padding: 8px; border: 1px solid var(--line-2); border-bottom: 0; border-radius: var(--radius-sm) var(--radius-sm) 0 0; background: #fbf7f1; }
.editor-bar button, .form .editor-upload { min-height: 32px; padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 6px; background: #fff; font: 500 .8125rem var(--sans); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; position: relative; }
.editor-bar button:hover, .form .editor-upload:hover { border-color: var(--gold-2); color: var(--gold-dark); }
.editor-upload input { position: absolute; inset: 0; opacity: 0; cursor: pointer; min-height: 0; }
.editor-upload.busy { opacity: .6; pointer-events: none; }
.editor textarea { border-radius: 0 0 var(--radius-sm) var(--radius-sm); min-height: 460px; }
.cover-prev { width: 100%; border-radius: var(--radius-sm); margin-bottom: 8px; }

/* blog stats */
.chart-2 .bar { position: relative; }
.chart-2 .bar span { opacity: .35; }
.chart-2 .bar i { position: absolute; left: 0; right: 0; bottom: 0; border-radius: 4px 4px 0 0; background: var(--gold-dark); }
.sources { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: .875rem; }
.sources li { display: grid; grid-template-columns: 180px 1fr 36px; gap: 12px; align-items: center; }
.sources .bar { height: 8px; border-radius: 99px; background: var(--gold-soft); overflow: hidden; }
.sources .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); }
.sources b { text-align: right; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) { .sources li { grid-template-columns: 1fr 36px; } .sources .bar { grid-column: 1 / -1; grid-row: 2; } }
.brand { flex: none; }

/* ---------- demo data ---------- */
.choice-list { border: 0; padding: 0; margin: 0 0 var(--s-2); display: grid; gap: 10px; }
.choice-list legend { font-weight: 600; margin-bottom: 8px; }
.demo-flag { display: inline-block; font: 600 .6875rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: #7a5a1c; background: #fdf7ea; border: 1px solid #f0e0bd; border-radius: 999px; padding: 4px 8px; }
.demo-purge { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.demo-purge label { display: grid; gap: 6px; font-size: .9375rem; }
.demo-purge input { min-width: 220px; }

/* ---------- company / legal data ---------- */
.legal-line { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: .8125rem; line-height: 1.6; color: #8e8275; }
.legal-line span:not(:last-child)::after { content: "·"; margin: 0 10px; color: #5c5148; }
.legal-line strong { color: #c9bcad; font-weight: 500; }
.legal-line a { color: #b9ad9f; text-decoration: underline; text-decoration-color: #5c5148; text-underline-offset: 3px; }
.company-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: var(--s-3) var(--s-4); margin: 0 0 var(--s-3); }
.company-card h2 { margin-bottom: var(--s-2); }
.company-dl { display: grid; grid-template-columns: minmax(140px, max-content) 1fr; gap: 10px 24px; margin: 0; font-size: .9375rem; }
.company-dl dt { color: var(--muted); }
.company-dl dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }
.company-about { margin-bottom: var(--s-3); }
.checks-inline { display: flex; flex-wrap: wrap; gap: 10px 24px; }
@media (max-width: 560px) { .company-dl { grid-template-columns: 1fr; gap: 2px; } .company-dl dd { margin-bottom: 10px; } .company-card { padding: var(--s-3); } }
.company-list { margin: 0; padding-left: 1.15em; display: grid; gap: 10px; font-size: .9375rem; line-height: 1.55; }
@media (max-width: 640px) { .legal-line { display: grid; gap: 2px; } .legal-line span::after { display: none; } }

/* ---------- admin permissions ---------- */
.perm-presets { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 var(--s-2); }
.perm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin-bottom: var(--s-2); }
.form .perm-item, .perm-item { display: flex; flex-direction: row; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); font-size: .9rem; line-height: 1.35; cursor: pointer; }
.perm-item:has(input:checked) { border-color: var(--gold-2); background: var(--gold-soft); }
.perm-item input { margin-top: 3px; }
.token-box { display: block; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-size: .85rem; overflow-wrap: anywhere; user-select: all; }
