/* Domus Noble brand layer (October 2026).
   Loaded after each page's own styles, so it overrides them.
   Direction: deep green and gold "private bank" look. Dark header and hero,
   Marcellus display type, Jost text, and the logo's diamond as the label mark. */

:root {
  --font-display: 'Marcellus', 'Optima', 'Palatino', Georgia, serif;
  --font-body: 'Jost', 'Futura', 'Century Gothic', system-ui, sans-serif;
  --font-mono: 'Jost', 'Futura', system-ui, sans-serif;
  --deep: #0F1915;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #F4F2EB; --surface: #FDFCF8; --line: #DDD8CB; }
}
:root[data-theme="light"] { --bg: #F4F2EB; --surface: #FDFCF8; --line: #DDD8CB; }

html, body { overflow-x: clip; }
body { font-family: var(--font-body); font-weight: 400; }
h1, h2, h3, .wordmark, .brand, header .brand {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0;
  font-synthesis: none;
}
h1 { line-height: 1.12; }
h3 { font-family: var(--font-body); font-weight: 600; letter-spacing: 0.005em; }
.hero .sub { font-family: var(--font-body); font-weight: 400; }
.gold, .hero h1 .gold { font-style: normal; }

/* ---- label mark: the logo's diamond replaces the gold rule ---- */
.eyebrow, .role {
  font-family: var(--font-body) !important;
  font-weight: 500;
  letter-spacing: 0.26em !important;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before, .role::before {
  content: "" !important;
  width: 0.42rem !important;
  height: 0.42rem !important;
  background: var(--gold) !important;
  transform: rotate(45deg);
  flex: none;
}
.wm-tag, .dn-tag { font-family: var(--font-body) !important; letter-spacing: 0.22em !important; }

/* ---- dark header and hero ---- */
.site-header, .hero, .lp-hero, .tool-hero, main > .intro, body > header, body > .intro {
  --bg: #0F1915;
  --surface: #17231E;
  --fg: #EEF0EA;
  --muted: #A9B4AC;
  --line: #2A3832;
  --accent: #C9973F;
  --accent-soft: #1A2620;
  --gold: #C9973F;
  --gold-ink: #E2B463;
  --gold-soft: #2A2214;
  /* separate-stylesheet pages (Meet the Team, Client Center, legal) */
  --cream: #0F1915; --ink: #EEF0EA; --deep: #EEF0EA; --green: #E2B463;
  color: var(--fg);
}
.site-header, body > header { background: rgba(15, 25, 21, 0.96) !important; border-bottom: 1px solid #C9973F !important; }
.site-header .mark-light { display: none !important; }
.site-header .mark-dark { display: block !important; }
.site-nav a { color: #C4CCC5; }
.site-nav a:hover { color: #FFFFFF; }

.hero, .lp-hero, .tool-hero, main > .intro, body > .intro {
  position: relative;
  isolation: isolate;
  border-bottom: 0 !important;
  background: none !important;
}
.hero::before, .lp-hero::before, .tool-hero::before, main > .intro::before, body > .intro::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw);
  z-index: -1;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(201, 151, 63, 0.13), transparent 55%),
    linear-gradient(180deg, #0F1915, #13211B);
  border-bottom: 4px double #C9973F;
}
.hero h1, .lp-hero h1, .tool-hero h1, .intro h1 { color: #F6F3EA; }
.hero .lede, .lp-hero .lede, .tool-hero .lede { color: #C4CCC5; }
.hero .btn-primary, .lp-hero .btn-primary, .tool-hero .btn-primary, .intro .button {
  background: #C9973F !important; color: #0F1915 !important; box-shadow: none;
}
.hero .btn-ghost, .lp-hero .btn-ghost, .tool-hero .btn-ghost { color: #F6F3EA; border-color: #C9973F; }
.hero .btn-ghost:hover, .lp-hero .btn-ghost:hover { background: rgba(201, 151, 63, 0.14); }
.lp-hero .photo img, .hero img { filter: saturate(0.92); }
.intro .bio p { color: #C4CCC5 !important; }
.intro .portrait img { border-color: #2A3832 !important; }
.tool-hero select { background: #17231E; color: #EEF0EA; border-color: #3A4A42; }

/* ---- buttons: slim pills ---- */
.btn, .button, .dn-sticky a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: auto !important;
  max-width: 100%;
  padding: 0.62rem 1.35rem !important;
  border-radius: 1.6rem !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.02em !important;
  line-height: 1.25 !important;
  text-align: center;
  box-shadow: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}
.btn:hover, .button:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(15, 25, 21, 0.18) !important; opacity: 1; }
.btn:active, .button:active { transform: none; }
.btn-primary, .button, :where(.btn:not(.btn-ghost):not(.btn-back)) {
  background: linear-gradient(180deg, #24493C, #1A3A2F) !important;
  color: #FDFCF8 !important;
  border: 1px solid #1A3A2F !important;
}
.btn-ghost, .btn-back { background: transparent !important; border: 1px solid var(--gold) !important; color: var(--fg) !important; }
.btn-ghost:hover, .btn-back:hover { background: var(--gold-soft) !important; }
/* gold pills on the dark bands */
.hero .btn-primary, .lp-hero .btn-primary, .tool-hero .btn-primary, .intro .button, .intro .btn-primary,
body > header .button, .cta-band .btn-primary, .dn-sticky .dn-q, .site-footer .btn-primary {
  background: linear-gradient(180deg, #D8A851, #C08C35) !important;
  color: #0F1915 !important;
  border: 1px solid #C08C35 !important;
}
.hero .btn-ghost, .lp-hero .btn-ghost, .tool-hero .btn-ghost, .cta-band .btn-ghost, .dn-sticky .dn-c { color: #F6F3EA !important; }
.dn-sticky a { padding: 0.55rem 1.1rem !important; }
@media (max-width: 640px) { .dn-sticky a { flex: 1; } }

/* breadcrumbs sit on the dark band too */
.crumbs {
  --fg: #EEF0EA; --muted: #A9B4AC; --gold: #C9973F; --gold-ink: #E2B463; --line: #2A3832;
  position: relative; isolation: isolate; color: #A9B4AC;
}
.crumbs a { color: #C4CCC5; }
.crumbs::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background: #0F1915;
}
.crumbs + .lp-hero::before, .crumbs + .tool-hero::before {
  background: radial-gradient(90% 120% at 100% 0%, rgba(201, 151, 63, 0.13), transparent 55%), linear-gradient(180deg, #0F1915, #13211B);
}
.lp-hero + *, .tool-hero + * { border-top: 0 !important; }

/* standalone pages (Client Center, Privacy, Terms, Meet the Team): full width dark header */
body > header { position: relative; isolation: isolate; background: none !important; }
body > header::before {
  content: ""; position: absolute; top: 0; bottom: 0;
  left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1;
  background: #0F1915; border-bottom: 1px solid #C9973F;
}
body > header nav a { color: #C4CCC5 !important; }
body > header .button { color: #0F1915 !important; background: #C9973F !important; }
.eyebrow, .role { align-items: flex-start; }
.eyebrow::before, .role::before { margin-top: 0.38em; }
body > header { z-index: 2; border-bottom: 0 !important; }
body > header + main > .intro::before { top: -3rem; }

/* county buttons: lift them off the dark band */
.county-index a {
  background: linear-gradient(180deg, #1F2F28, #1A2822) !important;
  border: 1px solid rgba(201, 151, 63, 0.45) !important;
  border-left: 3px solid #C9973F !important;
  border-radius: 10px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.county-index a strong { color: #F6F3EA; }
.county-index a span { color: #B7C1B9 !important; }
.county-index a:hover, .county-index a:focus-visible {
  transform: translateY(-2px);
  border-color: #D8A851 !important;
  background: linear-gradient(180deg, #263A31, #1F2F28) !important;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(216, 168, 81, 0.35);
}
.county-index a { position: relative; padding-right: 2.4rem !important; }
.county-index a::after { content: "→"; position: absolute; right: 1rem; top: 0.95rem; color: #D8A851; font-size: 1rem; opacity: 0.7; transition: transform 0.15s ease, opacity 0.15s ease; }
.county-index a:hover::after { transform: translateX(3px); }
.county-index a:hover::after { opacity: 1; }
