:root,
html[data-theme="gold"] {
  --bg: #f7f1e6;
  --bg-2: #efe4d0;
  --paper: #fffaf2;
  --ink: #1c1710;
  --muted: #6b5e4e;
  --line: rgba(28, 23, 16, 0.1);
  --gold: #b8892d;
  --gold-2: #d4af5a;
  --deep: #2a2116;
  --hero: linear-gradient(135deg, #1c1710 0%, #3a2c18 48%, #b8892d 160%);
  --shadow: 0 24px 60px rgba(28, 23, 16, 0.12);
  --radius: 22px;
}
html[data-theme="blue"] {
  --bg: #f3f6fb; --bg-2: #e4ecf6; --paper: #fff; --ink: #0f1c2e; --muted: #5a6b80;
  --line: rgba(15, 28, 46, 0.1); --gold: #1d4ed8; --gold-2: #60a5fa; --deep: #0b1a33;
  --hero: linear-gradient(135deg, #0f172a 0%, #1d4ed8 70%, #38bdf8 140%);
}
html[data-theme="green"] {
  --bg: #f3f7f3; --bg-2: #e4efe6; --paper: #fff; --ink: #122017; --muted: #5b6d61;
  --line: rgba(18, 32, 23, 0.1); --gold: #0f766e; --gold-2: #34d399; --deep: #0b241f;
  --hero: linear-gradient(135deg, #052e2b 0%, #0f766e 60%, #84cc16 150%);
}
html[data-theme="purple"] {
  --bg: #f6f3fb; --bg-2: #ece4f6; --paper: #fff; --ink: #1b1326; --muted: #6a5d78;
  --line: rgba(27, 19, 38, 0.1); --gold: #6d28d9; --gold-2: #c084fc; --deep: #1e1233;
  --hero: linear-gradient(135deg, #1e1233 0%, #6d28d9 65%, #f0abfc 150%);
}
html[data-theme="orange"] {
  --bg: #fbf4ee; --bg-2: #f3e4d6; --paper: #fff; --ink: #2a160c; --muted: #7a5a46;
  --line: rgba(42, 22, 12, 0.1); --gold: #c2410c; --gold-2: #fb923c; --deep: #2a1308;
  --hero: linear-gradient(135deg, #2a1308 0%, #c2410c 60%, #fbbf24 150%);
}
html[data-theme="grey"] {
  --bg: #f4f4f5; --bg-2: #e4e4e7; --paper: #fff; --ink: #18181b; --muted: #52525b;
  --line: rgba(24, 24, 27, 0.1); --gold: #3f3f46; --gold-2: #a1a1aa; --deep: #111113;
  --hero: linear-gradient(135deg, #111113 0%, #3f3f46 70%, #d4d4d8 140%);
}
html[data-theme="soft"] {
  --bg: #f3f4f6; --bg-2: #e5e7eb; --paper: #fff; --ink: #1f2937; --muted: #6b7280;
  --line: rgba(31, 41, 55, 0.1); --gold: #4b5563; --gold-2: #9ca3af; --deep: #111827;
  --hero: linear-gradient(135deg, #111827 0%, #4b5563 70%, #e5e7eb 150%);
}
html[data-theme="dark"] {
  --bg: #0e0c0a; --bg-2: #171410; --paper: #1b1814; --ink: #f6efe2; --muted: #b7aa96;
  --line: rgba(246, 239, 226, 0.12); --gold: #d4af5a; --gold-2: #f0d48a; --deep: #000;
  --hero: linear-gradient(135deg, #050403 0%, #2a2116 55%, #b8892d 160%);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
html[data-theme="random"] {
  /* Colours come from inline CSS variables generated on each page load. */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  letter-spacing: 0.01em;
  overflow-x: clip;
  min-width: 0;
}
img, video, iframe, svg { max-width: 100%; display: block; }
iframe { border: 0; }
a { color: inherit; }
input, select, textarea, button { max-width: 100%; }
input, select, textarea { font-size: 16px; }
h1, h2, h3, .brand strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); margin: 0 0 0.4em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin: 0 0 0.45em; }
h3 { font-size: 1.35rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); }
.nav-leads { font-weight: 600; }
.nav-badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 1.4em; height: 1.4em; padding: 0 6px; margin-left: 4px;
  border-radius: 999px; background: var(--gold); color: #1c1710;
  font-size: 0.75rem; font-weight: 700;
}
.btn .nav-badge { background: #1c1710; color: #f6efe2; }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus { left: 8px; background: #fff; padding: 8px 12px; z-index: 9; }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.topbar {
  background: var(--deep);
  color: #f6efe2;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.topbar-inner { display: flex; gap: 18px; justify-content: flex-end; flex-wrap: wrap; padding: 8px 0; }
.topbar a, .topbar span { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; opacity: 0.88; }
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 74px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; min-width: 0; }
.brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--gold-2); }
.brand strong { display: block; font-size: 1.15rem; }
.brand em { font-style: normal; font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-size: 0.92rem; font-weight: 500;
  padding: 8px 12px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.nav a.is-active, .nav a:hover { color: var(--gold); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-toggle {
  display: none; background: none; border: 0; color: inherit;
  width: 44px; height: 44px; place-items: center; cursor: pointer; border-radius: 12px;
}
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  text-decoration: none; border: 0; cursor: pointer; font: inherit; font-weight: 600;
  border-radius: 999px; padding: 12px 22px;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #1c1710; }
.btn-line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.4); }
.btn-line.dark { color: var(--ink); border-color: var(--line); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); }
.btn.full { width: 100%; }
.hero {
  position: relative; overflow: hidden; color: #f6efe2;
  background: var(--hero);
  padding: 56px 0 72px;
}
.hero-wash {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(212,175,90,.25), transparent 42%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.pill, .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: 0.18em; text-transform: uppercase; font-size: 0.75rem; font-weight: 600;
  margin-bottom: 12px;
}
.pill { border: 1px solid rgba(255,255,255,.25); padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.08); }
.lead { font-size: 1.12rem; color: inherit; opacity: 0.86; max-width: 38em; }
.hero-cta, .hero-points, .hero-social { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-points { list-style: none; padding: 0; }
.hero-points li, .hero-social a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.08);
  font-size: 0.9rem;
}
.hero-social a { width: 44px; height: 44px; justify-content: center; color: #fff; text-decoration: none; }
.hero-portrait {
  margin: 0; border-radius: 28px; padding: 8px;
  background: rgba(255,255,255,.1); box-shadow: var(--shadow);
}
.hero-portrait img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top; border-radius: 22px; background: #1a1510; }
.hero-portrait figcaption { padding: 14px 8px 6px; }
.hero-portrait strong { display: block; font-size: 1.3rem; }
.stats { margin-top: -28px; position: relative; z-index: 2; }
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow);
}
.stats-row article { text-align: center; }
.stats-row b { display: block; font-family: "Cormorant Garamond", serif; font-size: 2rem; }
.stats-row span { color: var(--muted); font-size: 0.88rem; }
.section { padding: 84px 0; }
.section.tint { background: var(--bg-2); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.card-grid, .why-grid, .quote-grid, .blog-grid, .gallery-grid {
  display: grid; gap: 18px;
}
.card-grid { grid-template-columns: repeat(3, 1fr); }
.why-grid, .quote-grid, .blog-grid { grid-template-columns: repeat(3, 1fr); }
.gallery-grid { grid-template-columns: repeat(4, 1fr); }
.service-card, .why-card, .quote-card, .blog-card, .side-card, .panel-form, .branch-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; text-decoration: none; color: inherit; box-shadow: 0 10px 30px rgba(28,23,16,.04);
}
.service-card:hover, .blog-card:hover { transform: translateY(-4px); transition: .2s ease; }
.icon-wrap {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center; background: color-mix(in srgb, var(--gold) 16%, var(--paper));
  color: var(--gold); margin-bottom: 14px;
}
.service-card em, .blog-card em, .blog-card span { color: var(--muted); font-size: 0.82rem; font-style: normal; }
.why-card .icon { width: 28px; height: 28px; color: var(--gold); margin-bottom: 10px; }
.quote-card .stars { color: var(--gold); display: flex; gap: 2px; margin-bottom: 10px; }
.quote-card .stars .icon { width: 14px; height: 14px; fill: currentColor; }
.fact-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.fact-cards li { background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.fact-cards strong { display: block; font-size: 1.2rem; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--gold); }
.center { text-align: center; }
.mt { margin-top: 28px; }
.page-hero { padding: 56px 0 20px; }
.page-hero .lead { color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button, .filters a {
  border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 14px; cursor: pointer; font: inherit;
  text-decoration: none; display: inline-flex; align-items: center; min-height: 40px;
}
.filters button.is-on, .filters a.is-on { background: var(--deep); color: #f6efe2; }
.prose p { color: var(--muted); }
.prose h1, .prose h2 { color: var(--ink); }
.ticks { list-style: none; padding: 0; }
.ticks li { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.portrait-frame { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); }
.portrait-frame img { width: 100%; object-fit: cover; object-position: top; }
.gallery-item { margin: 0; background: var(--paper); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; object-position: top; }
.gallery-ph {
  height: 220px; display: grid; place-items: center; gap: 8px; text-align: center;
  background: linear-gradient(160deg, var(--bg-2), var(--paper)); color: var(--muted);
}
.gallery-item figcaption { padding: 12px 14px; }
.gallery-item em { color: var(--muted); font-size: 0.8rem; }
.branch-card { display: grid; grid-template-columns: 1fr 1.1fr; gap: 20px; }
.branch-card iframe, .map { width: 100%; min-height: 280px; border: 0; border-radius: 16px; }
.contact-list { list-style: none; padding: 0; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 12px; }
.contact-list.lg li { margin-bottom: 16px; font-size: 1.05rem; }
.panel-form { display: grid; gap: 12px; }
.panel-form.alt { background: var(--bg-2); }
.panel-form label { display: grid; gap: 6px; font-size: 0.86rem; font-weight: 600; }
.panel-form input, .panel-form select, .panel-form textarea {
  font: inherit; padding: 11px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { margin: 0; font-size: 0.9rem; }
.form-msg.ok { color: #157a4b; }
.form-msg.err { color: #9b1c1c; }
.forms-stack { display: grid; gap: 18px; }
.faq-list details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
.faq-list summary { cursor: pointer; font-weight: 600; }
.site-footer { background: var(--deep); color: #f6efe2; padding: 48px 0 24px; }
.footer-cta {
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 24px; padding: 28px; margin-bottom: 36px;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .9fr 1.1fr; gap: 28px; }
.footer-logo { width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid a { text-decoration: none; opacity: 0.86; }
.footer-grid a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; margin-top: 12px; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; }
.theme-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 28px; font-size: 0.82rem; }
.theme-switch { display: flex; flex-wrap: wrap; gap: 6px; }
.theme-switch button {
  border: 1px solid rgba(255,255,255,.2); background: transparent; color: inherit; border-radius: 999px; padding: 6px 10px; cursor: pointer; font: inherit; font-size: 0.78rem;
}
.footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 22px; opacity: 0.75; font-size: 0.88rem; }
.disclaimer { margin-top: 18px; font-size: 0.8rem; opacity: 0.7; }
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 30;
  display: inline-flex; align-items: center; gap: 8px;
  background: #128c4b; color: #fff; text-decoration: none; padding: 12px 16px; border-radius: 999px; box-shadow: var(--shadow);
}
.nav.open { display: flex; }
.footer-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.site-header { padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
.wa-float { right: max(18px, env(safe-area-inset-right)); bottom: max(18px, env(safe-area-inset-bottom)); }
.lead-stats { margin-bottom: 28px; }
.lead-list { display: grid; gap: 14px; }
.lead-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.lead-card.is-new { border-color: var(--gold-2); }
.lead-card header { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 12px; margin-bottom: 8px; }
.lead-card header strong { font-size: 1.2rem; }
.lead-card header em { font-style: normal; font-size: 0.75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.lead-type {
  font-size: 0.72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  background: color-mix(in srgb, var(--gold) 14%, var(--paper)); padding: 4px 8px; border-radius: 999px;
}
.lead-card ul { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; color: var(--muted); }
.lead-card ul .icon { width: 1em; height: 1em; display: inline-block; vertical-align: -0.15em; }
.lead-card footer { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; }
.lead-card footer form { margin-left: auto; }
.lead-card footer label { display: grid; gap: 4px; font-size: 0.78rem; font-weight: 600; color: var(--ink); }
.lead-card footer select {
  font: inherit; font-size: 16px; min-height: 44px; border-radius: 12px; padding: 8px 10px;
  border: 1px solid var(--line); background: var(--bg); color: var(--ink);
}

@media (max-width: 1100px) {
  .site-header .wrap { position: relative; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); padding: 12px 16px 18px; flex-direction: column;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow); z-index: 50;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; min-height: 44px; align-items: center; display: flex; }
  .nav-cta { display: flex; font-weight: 600; color: var(--gold); }
  .nav-toggle { display: grid; }
  .hide-mobile { display: none !important; }
  .card-grid, .why-grid, .quote-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid, .split, .about-grid, .branch-card, .footer-grid, .footer-cta { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-inner { justify-content: center; text-align: center; }
  .hero { padding: 36px 0 48px; }
  .hero-grid { gap: 28px; }
  .section { padding: 56px 0; }
  .page-hero { padding: 36px 0 12px; }
  .footer-cta { flex-direction: column; align-items: stretch; }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1; min-width: 140px; }
}

@media (max-width: 720px) {
  .wrap, .narrow { width: min(1180px, calc(100% - 24px)); }
  .card-grid, .why-grid, .quote-grid, .blog-grid, .gallery-grid, .stats-row { grid-template-columns: 1fr 1fr; }
  .header-inner { min-height: 64px; gap: 10px; }
  .brand img { width: 44px; height: 44px; }
  .brand strong { font-size: 1rem; }
  .hero-portrait img { aspect-ratio: 4/5; }
  .wa-float span { display: none; }
  .wa-float { padding: 12px; width: 52px; height: 52px; justify-content: center; }
  .btn { padding: 11px 16px; }
  .stats { margin-top: -18px; }
  .stats-row { padding: 16px; }
}

@media (max-width: 520px) {
  .wrap, .narrow { width: min(1180px, calc(100% - 20px)); }
  .card-grid, .why-grid, .quote-grid, .blog-grid, .gallery-grid, .stats-row { grid-template-columns: 1fr; }
  .brand em { display: none; }
  .topbar { font-size: 0.68rem; letter-spacing: 0.06em; }
  .topbar-inner { gap: 8px; justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .topbar-inner a, .topbar-inner span { white-space: nowrap; }
  .section-head { margin-bottom: 24px; }
  .service-card, .why-card, .quote-card, .blog-card, .side-card, .panel-form, .branch-card { padding: 18px; }
  .gallery-item img, .gallery-ph { height: 200px; }
  .footer-cta, .site-footer { padding-left: 0; padding-right: 0; }
  .footer-cta { padding: 20px; border-radius: 18px; }
}

@media (max-width: 360px) {
  .brand strong { font-size: 0.92rem; }
  h1 { font-size: clamp(1.8rem, 9vw, 2.4rem); }
}

@media (min-width: 1400px) {
  .wrap { width: min(1280px, calc(100% - 48px)); }
}

@media (hover: none) {
  .service-card:hover, .blog-card:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
