/**
 * Theme: :root = dark tokens (portals + marketing “dark” mode).
 * html[data-site-theme="light"] = bright marketing skin (main layout only sets this).
 * Tailwind theme colors map to --tw-* so utilities track the toggle.
 */
:root {
  color-scheme: dark;
  --tw-ink: #0a0a0b;
  --tw-panel: #121214;
  --tw-line: rgba(255, 255, 255, 0.08);
  --tw-gold: #c9a962;
  --tw-cream: #e8dcc4;
  --tw-mist: #9b968b;
  --bg: #0a0a0b;
  --bg-elev: #121214;
  --bg-card: #16161a;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f4f1ea;
  --muted: #9b968b;
  --gold: #c9a962;
  --gold-dim: #8a7540;
  --accent: #e8dcc4;
  --section-band-bg: #0e0e10;
  --section-quote-from: #141416;
  --section-quote-to: #101012;
  --nav-bg: rgba(10, 10, 11, 0.92);
  --nav-bg-desktop: rgba(10, 10, 11, 0.85);
  --nav-scrolled-bg: rgba(10, 10, 11, 0.94);
  --nav-scrolled-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
  --drawer-bg: linear-gradient(180deg, #16161a 0%, #121214 40%, #0e0e10 100%);
  --drawer-shadow: -16px 0 48px rgba(0, 0, 0, 0.55);
  --hero-placeholder-from: #1f1f24;
  --hero-placeholder-to: #2a2620;
  --form-input-bg: #0f0f12;
  --radius: 14px;
  --font-body: "Manrope", system-ui, sans-serif;
  --font-display: "Cormorant Garamond", Georgia, serif;
}

html[data-site-theme="light"] {
  color-scheme: light;
  --tw-ink: #f7f5f0;
  --tw-panel: #ffffff;
  --tw-line: rgba(41, 37, 33, 0.1);
  --tw-gold: #9a7229;
  --tw-cream: #2a2218;
  --tw-mist: #5f574d;
  --bg: #f7f5f0;
  --bg-elev: #ffffff;
  --bg-card: #ffffff;
  --line: rgba(41, 37, 33, 0.12);
  --text: #1f1b16;
  --muted: #5f574d;
  --gold: #9a7229;
  --gold-dim: #7a5a20;
  --accent: #3d3226;
  --section-band-bg: #ebe6dc;
  --section-quote-from: #f0ebe3;
  --section-quote-to: #e4ddd2;
  --nav-bg: rgba(255, 255, 255, 0.92);
  --nav-bg-desktop: rgba(255, 255, 255, 0.88);
  --nav-scrolled-bg: rgba(255, 255, 255, 0.97);
  --nav-scrolled-shadow: 0 12px 40px rgba(41, 37, 33, 0.08);
  --drawer-bg: linear-gradient(180deg, #ffffff 0%, #f5f1ea 45%, #ebe6dc 100%);
  --drawer-shadow: -12px 0 36px rgba(41, 37, 33, 0.12);
  --hero-placeholder-from: #e8e2d8;
  --hero-placeholder-to: #ddd5c8;
  --form-input-bg: #ffffff;
}

html[data-site-theme="dark"] {
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh; }
a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; height: auto; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.center { text-align: center; }
.mt-1 { margin-top: 0.75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2.5rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.85rem 1.4rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; cursor: pointer; font-family: inherit;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn--sm { padding: 0.45rem 0.9rem; font-size: 0.85rem; }
.btn--gold {
  background: linear-gradient(120deg, var(--gold), #e6d3a1); color: #1a1408;
  box-shadow: 0 8px 30px rgba(201, 169, 98, 0.25);
}
.btn--gold:hover { transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); background: transparent; color: var(--text); }
.btn--ghost:hover { border-color: var(--gold-dim); color: var(--gold); }
.site .main { min-height: 60vh; }
.nav {
  position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 5vw; background: var(--nav-bg); border-bottom: 1px solid var(--line);
}
@media (min-width: 901px) {
  .nav {
    background: var(--nav-bg-desktop);
    backdrop-filter: blur(12px);
  }
}
.nav.is-menu-open { z-index: 2000; }
.nav__brand { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: 0.04em; color: var(--text); flex-shrink: 0; }
.nav__brand span { color: var(--gold); }
.nav__drawer { flex: 1; display: flex; justify-content: flex-end; min-width: 0; }
.nav__links { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; align-items: center; justify-content: flex-end; }
.nav__toggle {
  display: none; flex-shrink: 0; align-items: center; justify-content: center;
  width: 2.75rem; height: 2.75rem; padding: 0;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.nav__toggle:hover { border-color: var(--gold-dim); background: rgba(255,255,255,0.04); }
.nav__toggle-box { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 1.25rem; height: 1rem; }
.nav__toggle-bar {
  display: block; width: 100%; height: 2px; border-radius: 1px;
  background: var(--text); transition: transform 0.25s ease, opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}
.nav.is-menu-open .nav__toggle-box .nav__toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-menu-open .nav__toggle-box .nav__toggle-bar:nth-child(2) { opacity: 0; width: 0; }
.nav.is-menu-open .nav__toggle-box .nav__toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__backdrop {
  display: none; position: fixed; inset: 0; z-index: 1990; background: rgba(0, 0, 0, 0.55);
  opacity: 0; visibility: hidden; transition: opacity 0.28s ease, visibility 0.28s ease;
}
.nav__backdrop.is-open { opacity: 1; visibility: visible; }
@media (max-width: 900px) {
  .nav__toggle { display: inline-flex; }
  .nav__backdrop { display: block; }
  /* backdrop-filter on .nav breaks position:fixed children (drawer clips to header). Blur only on desktop. */
  .nav.is-menu-open .nav__brand,
  .nav.is-menu-open .nav__toggle {
    position: relative;
    z-index: 2010;
  }
  .nav__drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 2000;
    width: min(19rem, calc(100vw - 3.5rem));
    max-width: 100vw;
    padding: calc(4.5rem + env(safe-area-inset-top, 0px)) 1.25rem 1.5rem;
    background: var(--drawer-bg);
    border-left: 1px solid var(--line);
    box-shadow: var(--drawer-shadow);
    transform: translateX(100%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    flex: none; justify-content: flex-start; overflow-y: auto;
  }
  .nav__drawer.is-open { transform: translateX(0); }
  .nav__links {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
  }
  .nav__links > a:not(.btn) {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .nav__links > a.btn {
    border-bottom: none;
    padding-left: 1rem;
    padding-right: 1rem;
    justify-content: center;
    text-align: center;
  }
}
body.nav-drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .nav__drawer,
  .nav__backdrop,
  .nav__toggle-bar { transition: none !important; }
}
.hero {
  padding: 4rem 5vw 3rem;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(201, 169, 98, 0.12), transparent);
}
html[data-site-theme="light"] .hero {
  background: radial-gradient(1100px 520px at 78% -8%, rgba(154, 114, 41, 0.11), transparent 55%),
    radial-gradient(800px 400px at 10% 20%, rgba(255, 255, 255, 0.85), transparent 60%);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; max-width: 1200px; margin: 0 auto; }
@media (max-width: 960px) { .hero__grid { grid-template-columns: 1fr; } }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.72rem; color: var(--gold); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 36rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.hero__ticks { list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.95rem; }
.hero__ticks li { margin-bottom: 0.35rem; padding-left: 1.2rem; position: relative; }
.hero__ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
}
.hero__visual { display: grid; gap: 0.75rem; }
.hero__shot { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,0.45); }
.hero__placeholder { height: 180px; border-radius: var(--radius); background: linear-gradient(135deg, var(--hero-placeholder-from), var(--hero-placeholder-to)); border: 1px solid var(--line); }
.hero__placeholder--2 { height: 120px; opacity: 0.85; }
.section { padding: 3.5rem 5vw; max-width: 1100px; margin: 0 auto; }
.section--dark { background: var(--section-band-bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.section__head { margin-bottom: 2rem; }
.section__head h2 em { color: var(--gold); font-style: italic; }
.cards { display: grid; gap: 1.25rem; }
.cards--3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(201, 169, 98, 0.35); transform: translateY(-2px); }
.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 2rem; text-align: center; }
.stat { font-size: 2.4rem; font-family: var(--font-display); color: var(--gold); display: block; }
.process { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; counter-reset: step; }
.process li {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  position: relative; background: var(--bg-card);
}
.process li::before {
  counter-increment: step; content: counter(step); position: absolute; left: 1rem; top: 1rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: rgba(201, 169, 98, 0.15); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem;
}
.process strong { display: block; font-size: 1.1rem; }
.process span { color: var(--muted); font-size: 0.95rem; }
.mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.mini { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--bg-elev); }
.section--quote { background: linear-gradient(120deg, var(--section-quote-from), var(--section-quote-to)); max-width: none; }
.quotes { max-width: 720px; margin: 0 auto; text-align: center; }
.quotes blockquote { font-family: var(--font-display); font-size: 1.5rem; margin: 0; color: var(--accent); }
.quotes cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }
.section--cta { text-align: center; padding-bottom: 5rem; }
.page-hero { padding: 3rem 5vw 1rem; max-width: 900px; margin: 0 auto; }
html[data-site-theme="light"] .page-hero {
  background: radial-gradient(900px 380px at 12% -10%, rgba(154, 114, 41, 0.09), transparent 58%);
}
.service-grid, .pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.25rem; }
.service-card, .pricing-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.pricing-card--featured { border-color: rgba(201, 169, 98, 0.45); box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.12); }
.price-tag, .price-big { color: var(--gold); font-weight: 700; font-size: 1.2rem; }
.price-big { font-size: 2rem; font-family: var(--font-display); }
.addon-list { color: var(--muted); }
.prose p { max-width: 720px; }
.form { display: flex; flex-direction: column; gap: 0.85rem; }
.form--narrow { max-width: 420px; }
.form--wide { max-width: 640px; }
.form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.9rem; color: var(--muted); }
.form input, .form select, .form textarea {
  background: var(--form-input-bg); border: 1px solid var(--line); border-radius: 10px; padding: 0.65rem 0.8rem; color: var(--text); font-family: inherit;
}
.form__actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.checkbox { flex-direction: row !important; align-items: center; gap: 0.5rem !important; }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.25rem; }
.filters button {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  padding: 0.45rem 0.9rem; border-radius: 999px; cursor: pointer; font-family: inherit;
}
.filters button.is-active, .filters button:hover { border-color: var(--gold); color: var(--gold); }
.masonry { column-count: 3; column-gap: 0.75rem; }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 560px) { .masonry { column-count: 1; } }
.masonry__item { break-inside: avoid; margin-bottom: 0.75rem; }
.masonry__open {
  padding: 0; border: none; background: none; cursor: zoom-in; width: 100%;
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
}
.masonry__open img { width: 100%; transition: transform 0.35s; }
.masonry__open:hover img { transform: scale(1.03); }
.lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); display: grid; place-items: center; z-index: 100; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 80vh; max-width: 100%; border-radius: 8px; }
.lightbox__close { position: absolute; top: 1rem; right: 1rem; background: transparent; border: none; color: #fff; font-size: 2rem; cursor: pointer; }
.lightbox__caption { color: var(--muted); text-align: center; margin-top: 0.75rem; }
.steps { display: flex; gap: 0.35rem; margin-top: 1rem; flex-wrap: wrap; }
.steps__dot {
  width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; color: var(--muted);
}
.steps__dot.is-active { border-color: var(--gold); color: var(--gold); }
.steps__dot.is-done { background: rgba(201, 169, 98, 0.2); color: var(--gold); }
.summary { list-style: none; padding: 0; }
.summary li { margin-bottom: 0.5rem; }
.footer { border-top: 1px solid var(--line); padding: 2rem 5vw 3rem; color: var(--muted); font-size: 0.9rem; }
.footer__inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }
.footer__links { display: flex; gap: 1rem; }
.flash { max-width: 1100px; margin: 1rem auto 0; padding: 0.75rem 1rem; border-radius: 10px; border: 1px solid var(--line); }
.flash--success { border-color: rgba(201, 169, 98, 0.4); color: var(--accent); }
.flash--error { border-color: rgba(196, 92, 92, 0.5); color: #f1b3b3; }
html[data-site-theme="light"] .flash--error {
  border-color: rgba(180, 60, 60, 0.35);
  color: #8b2a2a;
  background: rgba(255, 245, 245, 0.9);
}
.dash { background: #080809; min-height: 100vh; }
.dash__header {
  display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; background: rgba(8,8,9,0.9); backdrop-filter: blur(10px); z-index: 20;
}
.dash__brand { font-family: var(--font-display); color: var(--text); margin-right: auto; }
.dash__sidebar-toggle {
  display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0; margin-right: 0.25rem;
  background: transparent; border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  z-index: 30;
}
.dash__sidebar-toggle:hover { border-color: var(--gold-dim); background: rgba(255,255,255,0.04); }
.dash__sidebar-toggle-box { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 1.2rem; height: 0.95rem; }
.dash__sidebar-toggle-bar {
  display: block; width: 100%; height: 2px; border-radius: 1px;
  background: var(--text); transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
body.dash--nav-collapsed .dash__sidebar-toggle-bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.dash--nav-collapsed .dash__sidebar-toggle-bar:nth-child(2) { opacity: 0; }
body.dash--nav-collapsed .dash__sidebar-toggle-bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.dash__brand span { color: var(--gold); }
.dash__pill {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em;
  border: 1px solid var(--line); padding: 0.25rem 0.6rem; border-radius: 999px; color: var(--muted);
}
.dash__shell { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 56px); transition: grid-template-columns 0.28s cubic-bezier(0.22, 1, 0.36, 1); }
.dash__aside,
.dash__main {
  min-width: 0;
}
@media (min-width: 901px) {
  body.dash--nav-collapsed .dash__shell {
    grid-template-columns: 0 1fr;
  }
  body.dash--nav-collapsed .dash__aside {
    width: 0;
    max-width: 0;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    padding-left: 0;
    padding-right: 0;
    border-right-width: 0;
    pointer-events: none;
    overflow: hidden;
  }
}
@media (max-width: 900px) {
  body.dash--nav-collapsed .dash__aside {
    display: none !important;
  }
  .dash__shell { grid-template-columns: 1fr; }
  .dash__aside { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem; border-bottom: 1px solid var(--line); }
}
.dash__aside {
  border-right: 1px solid var(--line); padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: 0.5rem; background: #0c0c0e;
  transition: opacity 0.25s ease, padding 0.25s ease, border-color 0.25s ease, max-width 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.dash__aside a { color: var(--muted); font-size: 0.92rem; padding: 0.35rem 0.4rem; border-radius: 8px; }
.dash__aside a:hover { color: var(--text); background: rgba(255,255,255,0.04); }
.dash__main { padding: 1.5rem clamp(1rem, 3vw, 2.5rem); max-width: 1100px; }
.panel, .subpanel { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.subpanel { background: #111114; }
.dash-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.list { list-style: none; padding: 0; margin: 0; }
.list li { margin-bottom: 0.5rem; display: flex; justify-content: space-between; gap: 0.5rem; flex-wrap: wrap; }
.badge {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  border: 1px solid var(--line); padding: 0.15rem 0.45rem; border-radius: 6px; color: var(--muted);
}
.table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 0.65rem 0.5rem; text-align: left; }
.table th { color: var(--muted); font-weight: 500; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.metric { border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; background: var(--bg-card); }
.metric span { font-size: 1.8rem; font-family: var(--font-display); color: var(--gold); display: block; }
.metric small { color: var(--muted); }
.thread { display: flex; flex-direction: column; gap: 0.75rem; max-height: 320px; overflow: auto; }
.bubble { background: #101013; border-radius: 12px; padding: 0.75rem 1rem; border: 1px solid var(--line); }
.kv { list-style: none; padding: 0; margin: 0; }
.kv li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.kv span { color: var(--muted); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.gallery-card { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: #0f0f12; }
.gallery-card img { width: 100%; height: 160px; object-fit: cover; }
.gallery-card figcaption { padding: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center; }
.file-tile { padding: 2rem 0.5rem; text-align: center; font-size: 0.85rem; color: var(--muted); }
.inline form { display: inline; }
.file-list { list-style: none; padding: 0; margin: 0; font-size: 0.9rem; }
.notes { list-style: none; padding: 0; margin: 0 0 1rem; }
.inline-row { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 0.5rem; }
.form.inline-row input[name="title"] { flex: 1; min-width: 180px; }

/* Scroll reveal (works with Tailwind on same page; keeps motion preferences) */
[data-animate="fade-up"] {
  opacity: 0;
  transform: translateY(2rem);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}
[data-animate="fade-up"].is-inview {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  [data-animate="fade-up"] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .dash__shell,
  .dash__aside,
  .dash__sidebar-toggle-bar {
    transition: none !important;
  }
}

.site .nav.is-scrolled {
  box-shadow: var(--nav-scrolled-shadow);
  background: var(--nav-scrolled-bg) !important;
}
.dash__header.is-scrolled {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: rgba(8, 8, 9, 0.96) !important;
}

.masonry__open img {
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.masonry__open:hover img,
.masonry__open:focus-visible img {
  transform: scale(1.045);
}
@media (prefers-reduced-motion: reduce) {
  .masonry__open img {
    transition: none;
  }
}

/* --- Marketing theme toggle (main layout only) --- */
.theme-toggle {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  line-height: 1;
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}
.theme-toggle:hover {
  border-color: var(--gold-dim);
  background: rgba(201, 169, 98, 0.1);
  transform: translateY(-1px);
}
html[data-site-theme="light"] .theme-toggle:hover {
  background: rgba(154, 114, 41, 0.12);
}
html[data-site-theme="light"] .theme-toggle::after {
  content: "☾";
}
html[data-site-theme="dark"] .theme-toggle::after {
  content: "☀";
}

html[data-site-theme="light"] .process li:hover,
html[data-site-theme="light"] .mini:hover {
  background: rgba(41, 37, 33, 0.035) !important;
}

/* --- Dashboard booking month calendar (data-booking-calendar) --- */
.booking-cal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.booking-cal__label {
  font-family: var(--font-display);
  font-size: 1.15rem;
}
.booking-cal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 2px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 4px;
}
.booking-cal__weekdays span {
  text-align: center;
}
.booking-cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.booking-cal__cell {
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 4.5rem;
  padding: 4px 5px 6px;
  background: var(--bg-card);
  font-size: 0.78rem;
}
.booking-cal__cell--muted {
  opacity: 0.35;
}
.booking-cal__cell--today {
  outline: 1px solid var(--gold-dim);
}
.booking-cal__daynum {
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 2px;
}
.booking-cal__cell a {
  display: block;
  line-height: 1.25;
  margin-top: 2px;
  font-size: 0.72rem;
  word-break: break-word;
}
.form .inline-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}
.external-delivery-box {
  margin: 0.75rem 0 0;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(201, 169, 98, 0.06);
}
.external-delivery-box .ml-2 {
  margin-left: 0.5rem;
}

/* Weather graphics (inline SVG, currentColor) */
.weather-snippet {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.weather-graphic {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  color: var(--gold);
}
.weather-graphic__svg {
  display: block;
  width: 100%;
  height: 100%;
}
.weather-snippet__body {
  flex: 1;
  min-width: 0;
}
.weather-snippet__stats {
  margin: 0.15rem 0 0;
  line-height: 1.45;
}
.weather-snippet--clear .weather-graphic {
  color: #e8c86a;
}
.weather-snippet--thunder .weather-graphic {
  color: #c9a962;
  filter: drop-shadow(0 0 6px rgba(201, 169, 98, 0.35));
}
.weather-snippet--fog .weather-graphic {
  color: var(--muted);
  opacity: 0.95;
}
.weather-snippet--snow .weather-graphic,
.weather-snippet--snow_showers .weather-graphic {
  color: #d4e4f0;
}

/* De-clutter featured block (pricing) */
.declutter-feature {
  padding-top: 0;
}
.declutter-feature__card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: 0 0 0 1px rgba(201, 169, 98, 0.08);
}
@media (min-width: 900px) {
  .declutter-feature__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
  }
}
.declutter-feature__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--gold);
  margin: 0 0 0.35rem;
}
.declutter-feature__price {
  font-family: var(--font-display);
  font-size: 1.75rem;
  margin: 0.35rem 0 0.75rem;
}
.declutter-feature__text {
  margin: 0 0 0.75rem;
}
.declutter-admin-preview {
  width: 100%;
  max-height: 220px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.ba-slider {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  user-select: none;
  touch-action: none;
  background: var(--bg-elev);
}
.ba-slider__after {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  position: relative;
  z-index: 0;
}
.ba-slider__before-wrap {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  border-right: 2px solid var(--gold);
  box-shadow: 4px 0 16px rgba(0, 0, 0, 0.25);
}
.ba-slider__before {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  height: 100%;
  width: auto;
}
.ba-slider__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  margin-left: -1px;
  background: var(--gold);
  z-index: 3;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(201, 169, 98, 0.5);
}
.ba-slider__handle::after {
  content: "◀ ▶";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gold);
  color: var(--bg);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  padding: 0.45rem 0.35rem;
  border-radius: 999px;
  white-space: nowrap;
}
.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.ba-slider__label {
  position: absolute;
  bottom: 10px;
  z-index: 2;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  background: rgba(10, 10, 11, 0.72);
  color: #fff;
  pointer-events: none;
}
.ba-slider__label--before {
  left: 10px;
}
.ba-slider__label--after {
  right: 10px;
}

/* De-clutter multi-example carousel */
.declutter-gallery {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.declutter-gallery__viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 200px;
}
.declutter-gallery__slide {
  display: none;
}
.declutter-gallery__slide.is-active {
  display: block;
}
.declutter-gallery__caption {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.declutter-gallery__arrow {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.declutter-gallery__arrow:hover {
  border-color: var(--gold-dim);
  color: var(--gold);
}
.declutter-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  width: 100%;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1.75rem;
}
.declutter-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  padding: 0;
  background: var(--line);
  cursor: pointer;
}
.declutter-gallery__dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}
.declutter-feature__visual {
  padding-bottom: 1.5rem;
}

