/* AskedFor: "Noir & Champagne" theme with a light ("Ivory & Gold") mode. Original design. */

/* ---------- Tokens: dark (default) ---------- */
:root {
  --bg: #0c0a09;
  --bg-2: #141110;
  --surface: #1a1614;
  --surface-2: #221d1a;
  --line: rgba(214, 186, 140, 0.14);
  --line-strong: rgba(214, 186, 140, 0.32);
  --gold: #d6ba8c;
  --gold-2: #b8945a;
  --gold-glow: rgba(214, 186, 140, 0.18);
  --wine: #6e1f33;
  --wine-2: #8f2a45;
  --text: #f3ece3;
  --muted: #a99d90;
  --dim: #7a6f65;
  --ok: #7fc79a;
  --on-gold: #1a130b;
  --header-bg: rgba(12, 10, 9, 0.74);
  --footer-bg: #090706;
  --media-bg: radial-gradient(circle at 30% 20%, rgba(214,186,140,0.25), transparent 55%), linear-gradient(135deg, #2a1a1f, #120e0d);
  --hero-card: linear-gradient(160deg, rgba(110,31,51,0.35), rgba(26,22,20,0.9));
  --page-glow: radial-gradient(1200px 600px at 85% -10%, rgba(110,31,51,0.35), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(214,186,140,0.08), transparent 60%);
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --radius: 18px;
  --radius-sm: 10px;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
  color-scheme: dark;
}

/* ---------- Tokens: light ---------- */
[data-theme="light"] {
  --bg: #f7f2ea;
  --bg-2: #fffdf9;
  --surface: #ffffff;
  --surface-2: #f4ece0;
  --line: rgba(110, 80, 40, 0.14);
  --line-strong: rgba(150, 110, 60, 0.36);
  --gold: #8c6430;
  --gold-2: #a57a3f;
  --gold-glow: rgba(165, 122, 63, 0.16);
  --wine: #7a2238;
  --wine-2: #962c48;
  --text: #1d1713;
  --muted: #5d5248;
  --dim: #85796d;
  --ok: #2f8a55;
  --on-gold: #1a130b;
  --header-bg: rgba(247, 242, 234, 0.82);
  --footer-bg: #efe7da;
  --media-bg: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.9), transparent 55%), linear-gradient(135deg, #ead9bf, #d9c0a0);
  --hero-card: linear-gradient(160deg, rgba(122,34,56,0.10), #ffffff);
  --page-glow: radial-gradient(1200px 600px at 85% -10%, rgba(122,34,56,0.10), transparent 60%), radial-gradient(900px 500px at -10% 10%, rgba(165,122,63,0.12), transparent 60%);
  --shadow: 0 18px 50px -24px rgba(70, 45, 15, 0.35);
  color-scheme: light;
}
[data-theme="light"] .btn-gold { background: linear-gradient(135deg, #e9cf9f, #cfa96c 50%, #b88a4c); }
[data-theme="light"] .card-media .mono,
[data-theme="light"] .gallery .mono { color: #7a5426; }

/* ---------- Base ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.af-site {
  margin: 0;
  background: var(--page-glow), var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}
.af-site a { color: inherit; text-decoration: none; }
.af-site img { max-width: 100%; height: auto; display: block; }
.af-site h1, .af-site h2, .af-site h3, .af-site h4, .af-site h5 { color: var(--text); }
.af-site button { font-family: inherit; text-transform: none; letter-spacing: inherit; box-shadow: none; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 860px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed !important; width: auto; height: auto; clip: auto; top: 10px; left: 10px; z-index: 200; padding: 10px 16px; background: var(--gold); color: var(--on-gold); border-radius: 8px; }
.ico { width: 18px; height: 18px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ---------- Age gate ---------- */
.age-gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: rgba(8, 6, 5, 0.86); backdrop-filter: blur(14px); }
[data-theme="light"] .age-gate { background: rgba(247, 242, 234, 0.9); }
.age-card { width: min(460px, 92vw); padding: 44px 36px; text-align: center; background: linear-gradient(180deg, var(--surface-2), var(--surface)); border: 1px solid var(--line-strong); border-radius: 24px; box-shadow: var(--shadow); }
.age-card .crest { width: 64px; height: 64px; margin: 0 auto 18px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; font-family: var(--serif); font-size: 26px; color: var(--gold); }
.age-card h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 8px; }
.age-card p { color: var(--muted); margin: 0 0 26px; font-size: 15px; }
.age-card .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.af-site .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px;
  font: 600 14px/1 var(--sans); letter-spacing: 0.02em;
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.af-site .btn:hover { transform: translateY(-1px); }
.af-site .btn { white-space: nowrap; }
.btn .sm { display: none; }
.af-site .btn-gold { color: var(--on-gold); background: linear-gradient(135deg, #f0dcb4, #d6ba8c 45%, #b8945a); box-shadow: 0 10px 30px -10px rgba(214, 186, 140, 0.55); }
.af-site .btn-gold:hover { color: var(--on-gold); box-shadow: 0 14px 36px -10px rgba(214, 186, 140, 0.75); }
.af-site .btn-ghost { color: var(--text); border-color: var(--line-strong); background: transparent; }
.af-site .btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.af-site .btn-sm { padding: 9px 16px; font-size: 13px; }
.af-site button.link { background: none; border: 0; padding: 0; color: var(--gold); font: inherit; cursor: pointer; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--header-bg); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.admin-bar .site-header { top: 32px; }
.header-row { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: flex; align-items: baseline; gap: 2px; font-family: var(--serif); font-size: 28px; font-weight: 600; letter-spacing: 0.01em; color: var(--text); }
.logo span { color: var(--gold); font-style: italic; }
.logo small { font-family: var(--sans); font-size: 11px; color: var(--dim); margin-left: 6px; letter-spacing: .12em; }
.search { flex: 1; max-width: 460px; position: relative; margin: 0; }
.search > .ico { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--dim); width: 16px; height: 16px; }
.af-site .search input[type="search"] {
  width: 100%; height: 44px; padding: 0 16px 0 42px; margin: 0;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  font: 14px var(--sans); outline: none; box-shadow: none; transition: border-color .2s, box-shadow .2s;
}
.af-site .search input[type="search"]::placeholder { color: var(--dim); }
.af-site .search input[type="search"]:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-glow); }
.search-lg { max-width: 640px; display: flex; gap: 10px; margin-top: 26px; }
.af-site .search-lg input[type="search"] { height: 56px; font-size: 16px; padding-left: 48px; }
.search-lg > .ico { left: 18px; }
.search-lg .btn { height: 56px; padding: 0 28px; flex-shrink: 0; }
.header-actions { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.af-site .theme-toggle {
  position: relative; width: 42px; height: 42px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--surface); color: var(--gold); border: 1px solid var(--line-strong);
  transition: border-color .2s, transform .3s;
}
.af-site .theme-toggle:hover { border-color: var(--gold); transform: rotate(12deg); }
.theme-toggle span { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s, transform .4s; }
.theme-toggle .t-moon { opacity: 0; transform: rotate(-60deg) scale(.6); }
[data-theme="light"] .theme-toggle .t-sun { opacity: 0; transform: rotate(60deg) scale(.6); }
[data-theme="light"] .theme-toggle .t-moon { opacity: 1; transform: none; }
.nav-cats { border-top: 1px solid var(--line); }
.nav-cats ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.nav-cats a { display: block; white-space: nowrap; padding: 7px 14px; border-radius: 999px; font-size: 13px; color: var(--muted); border: 1px solid transparent; transition: all .2s; }
.nav-cats a:hover, .nav-cats a[aria-current="page"] { color: var(--gold); border-color: var(--line-strong); background: var(--gold-glow); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 22px 0 0; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 13px; color: var(--dim); }
.breadcrumb li + li::before { content: "›"; margin-right: 8px; color: var(--gold-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb [aria-current] { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 40px 0 34px; }
.home-hero { padding: 70px 0 40px; max-width: 860px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 40px; align-items: end; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.af-site .hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5.6vw, 72px); line-height: 1.02; margin: 14px 0 18px; letter-spacing: -0.01em; }
.af-site .hero h1 em, .af-site h1 em { color: var(--gold); font-style: italic; }
.hero .lead { color: var(--muted); font-size: 17px; max-width: 620px; margin: 0; }
.hero-card { padding: 24px; border-radius: var(--radius); background: var(--hero-card); border: 1px solid var(--line-strong); }
.af-site .hero-card h3 { margin: 0 0 4px; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.hero-card p { margin: 0 0 16px; color: var(--muted); font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.af-site .chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 999px; font-size: 13px; border: 1px solid var(--line); background: var(--gold-glow); color: var(--muted); cursor: pointer; transition: all .2s; }
.af-site .chip:hover { border-color: var(--gold); color: var(--gold); }
.af-site .chip.active { color: var(--on-gold); background: var(--gold); border-color: var(--gold); }
.af-site .chip.static { cursor: default; }
.chip .n { font-size: 11px; opacity: .7; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 10px 0 40px; }
.stat { padding: 22px 20px; background: var(--bg-2); }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { display: block; font-family: var(--serif); font-size: 38px; font-weight: 500; line-height: 1; color: var(--gold); }
.stat span { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: .14em; }

/* ---------- Layout and filters ---------- */
.layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 140px; padding: 22px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.af-site .filters h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 600; font-family: var(--sans); }
.af-site .filter-toggle { display: none; width: 100%; justify-content: space-between; align-items: center; padding: 0; background: none; border: 0; color: var(--gold); font: 600 13px var(--sans); letter-spacing: .18em; text-transform: uppercase; cursor: pointer; }
.filter-group + .filter-group { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { accent-color: var(--gold); width: 16px; height: 16px; margin: 0; }
.check .n { margin-left: auto; font-size: 12px; color: var(--dim); }
.range { width: 100%; accent-color: var(--gold); }
.range-label { display: flex; justify-content: space-between; font-size: 12px; color: var(--dim); }
.range-label b { color: var(--text); font-weight: 600; }
.toggle { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--muted); }
.switch { position: relative; width: 42px; height: 24px; flex-shrink: 0; }
.switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: var(--surface-2); border: 1px solid var(--line-strong); transition: .2s; cursor: pointer; }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--dim); transition: .2s; }
.switch input:checked + span { background: var(--gold-glow); border-color: var(--gold); }
.switch input:checked + span::after { transform: translateX(18px); background: var(--gold); }
.switch input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }

.toolbar { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.toolbar .count b { color: var(--text); }
.af-site .select {
  margin-left: auto; height: 40px; padding: 0 36px 0 14px; border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b8945a'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--text); border: 1px solid var(--line); font: 14px var(--sans); appearance: none; cursor: pointer;
}
.view-toggle { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.af-site .view-toggle button { background: none; border: 0; color: var(--dim); padding: 9px 12px; cursor: pointer; display: grid; place-items: center; }
.af-site .view-toggle button .ico { width: 16px; height: 16px; }
.af-site .view-toggle button.active { color: var(--gold); background: var(--gold-glow); }

/* ---------- Cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.grid.list { grid-template-columns: 1fr; }
.card { position: relative; display: flex; flex-direction: column; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .35s, box-shadow .35s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); box-shadow: var(--shadow), 0 0 0 1px var(--gold-glow); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: grid; place-items: center; background: var(--media-bg); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .mono { font-family: var(--serif); font-size: 64px; color: var(--gold); opacity: .85; font-style: italic; transition: transform .6s; }
.card:hover .mono { transform: scale(1.08); }
.card-media .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 99px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(12,10,9,0.75); border: 1px solid rgba(214,186,140,.4); color: #d6ba8c; backdrop-filter: blur(6px); }
.badge.wine { background: var(--wine); border-color: var(--wine-2); color: #fbe9ef; }
.badge.demo { color: #b9aea3; border-color: rgba(255,255,255,.2); }
.af-site .fav { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; padding: 0; border-radius: 50%; display: grid; place-items: center; background: rgba(12,10,9,0.6); border: 1px solid rgba(214,186,140,.25); color: #d8cdc1; cursor: pointer; transition: .2s; }
.af-site .fav .ico { width: 17px; height: 17px; }
.af-site .fav:hover, .af-site .fav.on { color: #e0587a; border-color: #e0587a; }
.af-site .fav.on .ico { fill: currentColor; }
.card-body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-cat { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-2); }
.af-site .card h3 { margin: 0; font-family: var(--serif); font-weight: 500; font-size: 25px; line-height: 1.1; }
.card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); }
.meta .stars { color: var(--gold); letter-spacing: 1px; }
.verified { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; }
.verified .ico { width: 15px; height: 15px; }
.open { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127,199,154,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127,199,154,0); } 100% { box-shadow: 0 0 0 0 rgba(127,199,154,0); } }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.tag { font-size: 11px; padding: 4px 9px; border-radius: 6px; background: var(--gold-glow); border: 1px solid var(--line); color: var(--muted); }
.price { font-size: 13px; color: var(--text); }
.price b { color: var(--gold); font-weight: 600; }
.grid.list .card { flex-direction: row; }
.grid.list .card-media { width: 260px; aspect-ratio: auto; flex-shrink: 0; }
.empty-filter, .empty-state { padding: 40px; text-align: center; color: var(--muted); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.af-site .empty-state h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 8px; }
.pager, .nav-links { display: flex; gap: 8px; justify-content: center; margin: 32px 0 0; flex-wrap: wrap; }
.pager .pg, .nav-links .page-numbers { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); font-size: 14px; }
.pager .pg.active, .nav-links .current { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }

/* ---------- Sections ---------- */
section.block { padding: 70px 0 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.af-site .section-head h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(30px, 3.4vw, 44px); margin: 6px 0 0; line-height: 1.05; }
.section-head p { color: var(--muted); margin: 0; max-width: 460px; font-size: 15px; }
.areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.area { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--bg-2); border: 1px solid var(--line); transition: .25s; }
.area:hover { border-color: var(--gold); background: var(--surface); }
.area b { font-weight: 600; font-size: 15px; }
.area small { display: block; color: var(--dim); font-size: 12px; }
.area .arrow { color: var(--gold); opacity: 0; transform: translateX(-6px); transition: .25s; }
.area:hover .arrow { opacity: 1; transform: none; }
.cat-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cat-tile { position: relative; padding: 28px; min-height: 170px; border-radius: var(--radius); overflow: hidden; background: linear-gradient(150deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: flex-end; transition: .3s; }
.cat-tile::before { content: ""; position: absolute; width: 240px; height: 240px; right: -80px; top: -80px; border-radius: 50%; background: radial-gradient(circle, rgba(143,42,69,.5), transparent 70%); transition: .5s; }
[data-theme="light"] .cat-tile::before { background: radial-gradient(circle, rgba(150,44,72,.16), transparent 70%); }
.cat-tile:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.cat-tile:hover::before { transform: scale(1.3); }
.af-site .cat-tile h3 { position: relative; margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 500; }
.cat-tile span { position: relative; color: var(--gold); font-size: 13px; }
.cat-art {
  position: absolute; top: 20px; right: 20px; width: 78px; height: 78px; z-index: 1;
  color: var(--gold); opacity: .92; overflow: visible;
  filter: drop-shadow(0 6px 18px rgba(214, 186, 140, .25));
  transition: transform .6s cubic-bezier(.2,.7,.2,1), opacity .4s;
}
[data-theme="light"] .cat-art { filter: drop-shadow(0 6px 14px rgba(150, 44, 72, .15)); }
.cat-art .float { color: #e0587a; opacity: .75; transform-origin: 32px 32px; animation: af-float 4.5s ease-in-out infinite; }
[data-theme="light"] .cat-art .float { color: var(--wine-2); }
.cat-tile:hover .cat-art { transform: translateY(-4px) rotate(-6deg) scale(1.06); opacity: 1; }
.cat-tile:hover .cat-art .hrt { animation: af-beat 1.1s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes af-float { 0%, 100% { transform: translateY(0); opacity: .75; } 50% { transform: translateY(-5px); opacity: 1; } }
@keyframes af-beat { 0%, 100% { scale: 1; } 15% { scale: 1.12; } 30% { scale: 1; } 45% { scale: 1.08; } }
@media (max-width: 640px) { .cat-art { width: 64px; height: 64px; top: 16px; right: 16px; } }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-grid > div { padding: 24px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.why-grid b { font-family: var(--serif); font-size: 24px; font-weight: 500; color: var(--gold); }
.why-grid p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

.prose { color: var(--muted); max-width: 820px; }
.af-site .prose h2 { font-family: var(--serif); font-weight: 500; font-size: 34px; margin: 0 0 12px; }
.af-site .prose h3 { font-size: 18px; margin: 28px 0 8px; font-family: var(--sans); }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.prose.clamped { max-height: 220px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.af-site .read-more { margin-top: 10px; background: none; border: 0; color: var(--gold); font: 600 14px var(--sans); cursor: pointer; padding: 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-size: 18px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 24px; line-height: 1; transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; max-width: 780px; }

/* The band keeps its wine colours in both modes. */
.cta-band { margin: 80px 0 0; padding: 48px; border-radius: 26px; position: relative; overflow: hidden; background: linear-gradient(120deg, #6e1f33 0%, #3a1220 55%, #1a1614 100%); border: 1px solid rgba(214,186,140,.25); display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; }
.af-site .cta-band h2 { font-family: var(--serif); font-weight: 500; font-size: 40px; margin: 0 0 6px; line-height: 1.05; color: #f8efe6; }
.cta-band p { margin: 0; color: #e3cfd5; }

/* ---------- Footer ---------- */
.site-footer { margin-top: 90px; border-top: 1px solid var(--line); background: var(--footer-bg); padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 30px; }
.af-site .footer-grid h5 { margin: 0 0 14px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-family: var(--sans); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a { color: var(--muted); font-size: 14px; }
.footer-grid a:hover { color: var(--gold); }
.footer-grid p { color: var(--dim); font-size: 14px; margin: 12px 0 0; max-width: 300px; }
.footer-legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; color: var(--dim); font-size: 12px; flex-wrap: wrap; }

/* ---------- Listing page ---------- */
.profile-hero { display: grid; grid-template-columns: 1fr 380px; gap: 36px; padding: 34px 0 0; }
.profile-hero > *, .layout > *, .hero-grid > * { min-width: 0; }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: 420px; }
.gallery > div { border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden; background: var(--media-bg); }
.gallery > div:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .mono { font-family: var(--serif); font-style: italic; font-size: 110px; color: var(--gold); }
.profile-title { margin: 30px 0 0; }
.af-site .profile-title h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(40px, 5vw, 62px); margin: 8px 0 10px; line-height: 1.02; }
.tagline { color: var(--muted); font-size: 17px; margin: 0 0 12px; }
.tabs { display: flex; gap: 4px; margin: 34px 0 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tabs a { padding: 14px 18px; color: var(--muted); font-size: 14px; border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a:hover, .tabs a.active { color: var(--gold); border-color: var(--gold); }
.panel { padding: 30px 0 0; scroll-margin-top: 140px; }
.af-site .panel h2 { font-family: var(--serif); font-weight: 500; font-size: 32px; margin: 0 0 14px; }
.kv { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 0; }
.kv div { background: var(--bg-2); padding: 16px 18px; }
.kv dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.kv dd { margin: 4px 0 0; font-size: 15px; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; color: var(--muted); }
.contact-card { position: sticky; top: 140px; align-self: start; padding: 26px; border-radius: 22px; background: linear-gradient(170deg, var(--surface-2), var(--bg-2)); border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.af-site .contact-card h3 { margin: 0 0 4px; font-family: var(--serif); font-weight: 500; font-size: 26px; }
.contact-card .sub { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.contact-card .sub.small { margin: 20px 0 0; font-size: 12px; }
.af-site .contact-card .btn { width: 100%; margin-top: 10px; }
.contact-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; font-size: 14px; color: var(--muted); }
.contact-card li { display: flex; gap: 10px; }
.contact-card li .ico, .ico-pound { color: var(--gold); width: 18px; text-align: center; font-weight: 700; }
.contact-card li b { color: var(--text); font-weight: 600; }
.rating-big { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 14px; background: var(--gold-glow); border: 1px solid var(--line); margin-bottom: 18px; }
.rating-big b { font-family: var(--serif); font-size: 44px; font-weight: 500; color: var(--gold); line-height: 1; }
.rating-big small { color: var(--muted); font-size: 13px; }
.empty-reviews { padding: 30px; border: 1px dashed var(--line-strong); border-radius: var(--radius); text-align: center; color: var(--muted); }
.empty-reviews p { margin: 0; }
.report-line { margin: 34px 0 0; font-size: 13px; color: var(--dim); }
.report-line a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pages and blog ---------- */
.page-body { padding: 30px 0 0; }
.af-site .page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(38px, 5vw, 58px); line-height: 1.05; margin: 12px 0 24px; }
.page-body .prose { font-size: 17px; }
.post-hero img { border-radius: var(--radius); margin: 0 0 28px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.post-card a { display: block; padding: 0 0 18px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: .3s; }
.post-card a:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.post-card .eyebrow, .post-card h2, .post-card p { margin-left: 18px; margin-right: 18px; }
.post-card .eyebrow { margin-top: 18px; }
.af-site .post-card h2 { font-family: var(--serif); font-weight: 500; font-size: 26px; margin-top: 8px; margin-bottom: 6px; }
.post-card p { color: var(--muted); font-size: 14px; margin-top: 0; margin-bottom: 0; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .5s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .profile-hero { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .filters { position: static; padding: 16px 20px; }
  .af-site .filter-toggle { display: flex; }
  .filter-body { display: none; margin-top: 18px; }
  .filters.open .filter-body { display: block; }
  .filters.open .filter-toggle span { transform: rotate(45deg); }
  .filter-toggle span { font-size: 20px; transition: transform .25s; }
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .areas { grid-template-columns: repeat(2, 1fr); }
  .cat-tiles, .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 640px) {
  .header-row { gap: 12px; }
  .wrap { padding: 0 16px; }
  .logo small { display: none; }
  .site-header .search { display: none; }
  .btn .lg { display: none; }
  .btn .sm { display: inline; }
  .af-site .contact-card .btn, .af-site .search-lg .btn { white-space: normal; }
  .search-lg { flex-direction: column; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0 !important; border-top: 1px solid var(--line); }
  .areas, .cat-tiles, .why-grid { grid-template-columns: 1fr; }
  .gallery { height: 280px; }
  .kv { grid-template-columns: 1fr; }
  .grid.list .card { flex-direction: column; }
  .grid.list .card-media { width: auto; aspect-ratio: 16/10; }
  .cta-band { padding: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
