/* ==========================================================================
   Elizabeth Vijan | Tackett Team, eXp Realty
   Shared stylesheet - black / white / gold luxury theme.
   Edit the tokens below to retune the whole site.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  --black: #0a0a0a;
  --ink: #161616;
  --text: #2b2b2b;
  --muted: #5b5b5b;
  --white: #ffffff;
  --ivory: #faf8f3;
  --gold: #c5a253;          /* use on dark backgrounds / fills */
  --gold-light: #dcc17e;
  --gold-deep: #8a6d2b;     /* use for gold text on light backgrounds (AA contrast) */
  --line: #e9e2cf;
  --line-dark: rgba(255, 255, 255, 0.14);
  --font-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-sans: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --max: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 8rem);
  --header-h: 84px;
  --ease: 0.3s ease;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p a:not(.btn), li a:not(.btn) { color: var(--gold-deep); text-decoration: underline; text-decoration-color: rgba(138,109,43,.35); text-underline-offset: 3px; }
p a:not(.btn):hover, li a:not(.btn):hover { text-decoration-color: currentColor; }
ul, ol { padding: 0; margin: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  margin: 0 0 1rem;
  color: var(--black);
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.7rem, 6.2vw, 5rem); font-weight: 500; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin: 0 0 1.1rem; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  background: var(--gold); color: var(--black); padding: .7rem 1.2rem; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.narrow { max-width: 860px; margin-left: auto; margin-right: auto; }
section { padding: var(--section) 0; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 2.75rem; }
.text-center { text-align: center; }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 36px; height: 1px; background: currentColor; vertical-align: middle; margin-right: .9rem; }
.text-center .eyebrow::before, .section-head .eyebrow::before { display: none; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head.left { text-align: left; margin-left: 0; }
.divider { width: 64px; height: 1px; background: var(--gold); margin: 1.5rem 0; border: 0; }
.divider.center { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  padding: 1.05rem 2.2rem;
  border: 1px solid var(--black);
  color: var(--black);
  background: transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}
.btn:hover { background: var(--black); color: var(--white); }
.btn-primary, .btn-gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-primary:hover, .btn-gold:hover { background: var(--black); border-color: var(--black); color: var(--gold-light); }
.btn-light { border-color: rgba(255,255,255,.7); color: var(--white); }
.btn-light:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.on-dark .btn-primary:hover, .on-dark .btn-gold:hover, .hero .btn-primary:hover, .hero .btn-gold:hover, .cta-band .btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.btn-sm { padding: .75rem 1.4rem; font-size: .7rem; }
.link-arrow { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); border-bottom: 1px solid var(--gold); padding-bottom: 3px; }
.link-arrow::after { content: " \2192"; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--black); color: var(--white); border-bottom: 1px solid rgba(197,162,83,.45); }
.topbar { background: #000; border-bottom: 1px solid var(--line-dark); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 36px; }
.topbar a { color: var(--gold-light); }
.topbar a:hover { color: var(--white); }
.nav-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1.5rem; }
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo-link img { height: 42px; width: auto; }
.nav-links { display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.4rem); }
.nav-links > a, .nav-links .nav-toggle {
  font-family: var(--font-sans);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  background: none; border: 0; border-bottom: 1px solid transparent;
  padding: .5rem 0;
  cursor: pointer;
  transition: color var(--ease), border-color var(--ease);
}
.nav-links > a:hover, .nav-links .nav-toggle:hover, .nav-links > a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }
.nav-links .nav-cta { background: var(--gold); color: var(--black); border: 1px solid var(--gold); padding: .75rem 1.5rem; font-weight: 600; }
.nav-links .nav-cta:hover, .nav-links .nav-cta[aria-current="page"] { background: transparent; color: var(--gold-light); border-color: var(--gold); }
.has-dropdown { position: relative; }
.nav-toggle::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-3px) rotate(45deg); margin-left: .6rem; }
.dropdown-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  min-width: 240px; padding: .7rem 0;
  background: var(--black); border: 1px solid rgba(197,162,83,.45); border-top: 0;
  opacity: 0; visibility: hidden; transition: opacity var(--ease);
}
.has-dropdown:hover .dropdown-menu, .has-dropdown:focus-within .dropdown-menu, .has-dropdown.is-open .dropdown-menu { opacity: 1; visibility: visible; }
.dropdown-menu a { display: block; padding: .65rem 1.4rem; font-size: .8rem; letter-spacing: .08em; text-transform: none; color: rgba(255,255,255,.88); }
.dropdown-menu a:hover { background: rgba(197,162,83,.14); color: var(--gold-light); }
.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 28px; height: 20px; background: none; border: 0; cursor: pointer; padding: 0; }
.menu-toggle span { display: block; height: 2px; width: 100%; background: var(--white); transition: transform var(--ease), opacity var(--ease); }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: min(86vh, 860px); padding: clamp(5rem, 10vw, 9rem) 0; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,.28) 100%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.55)); }
.hero.page-hero { min-height: clamp(340px, 46vh, 480px); padding: clamp(4rem, 8vw, 6.5rem) 0; }
.hero-content { position: relative; }
.hero-content > * { max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: var(--white); text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.page-hero h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
.hero p.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: rgba(255,255,255,.9); max-width: 620px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2.2rem; }
.hero-actions .btn-primary { min-width: 200px; }
.breadcrumb { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--white); border-bottom: 1px solid rgba(197,162,83,.7); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Grids / cards ---------- */
.grid { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease); }
.card:hover { box-shadow: 0 22px 50px rgba(0,0,0,.09); transform: translateY(-4px); border-color: var(--gold); }
.card.pad { padding: 2rem; }
.card.pad-lg { padding: 2.4rem 2rem; }
.card h3 { margin-bottom: .6rem; }
.card .price-range, .price-range { color: var(--gold-deep); font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.band-cream { background: var(--ivory); }
.band-cream .card { background: var(--white); }

/* area / community cards (photo-led) */
.area-card { display: block; overflow: hidden; background: var(--white); }
.area-card .area-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink); }
.area-card .area-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.area-card:hover .area-media img { transform: scale(1.06); }
.area-card .area-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72)); }
.area-card .area-name { position: absolute; left: 1.4rem; right: 1.4rem; bottom: 1.1rem; z-index: 2; color: var(--white); font-family: var(--font-serif); font-size: 1.7rem; font-weight: 500; line-height: 1.1; }
.area-card .area-body { padding: 1.4rem 1.6rem 1.7rem; border-top: 2px solid var(--gold); }
.area-card .area-body p:last-child { margin-bottom: 0; }
.area-card .area-body h3 { font-size: 1.35rem; }

/* tiles (large image links, as on the reference layouts) */
.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.tile { position: relative; display: flex; align-items: flex-end; min-height: 380px; overflow: hidden; color: var(--white); isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .9s ease; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.82)); transition: background var(--ease); }
.tile:hover img { transform: scale(1.07); }
.tile:hover::before { background: linear-gradient(180deg, rgba(0,0,0,.25) 10%, rgba(0,0,0,.88)); }
.tile-body { padding: 2rem 1.8rem; width: 100%; }
.tile h3 { color: var(--white); font-size: 2rem; margin-bottom: .4rem; }
.tile p { color: rgba(255,255,255,.85); font-size: .92rem; margin-bottom: .9rem; line-height: 1.6; }
.tile .link-arrow { color: var(--gold-light); border-color: var(--gold); }

/* split (image + text) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media.wide img { aspect-ratio: 5 / 4; }
.split-media::after { content: ""; position: absolute; top: 18px; left: 18px; right: -18px; bottom: -18px; border: 1px solid var(--gold); z-index: -1; }
.split.reverse .split-media::after { left: -18px; right: 18px; }
.split h2 { margin-bottom: 1.1rem; }
.split .btn { margin-top: .6rem; }

/* stats */
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; text-align: center; }
.stat-row .stat { padding: 0 .5rem; border-left: 1px solid rgba(197,162,83,.35); }
.stat-row .stat:first-child { border-left: 0; }
.stat-row .stat h3 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--gold-deep); margin-bottom: .3rem; line-height: 1.05; }
.stat-row .stat span { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.stats-band { padding: clamp(2.8rem, 5vw, 4.2rem) 0; background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats-band.dark, .section-dark .stat-row { background: transparent; }
.stats-band.dark { background: var(--black); border-color: #000; }
.stats-band.dark .stat h3 { color: var(--gold); }
.stats-band.dark .stat span { color: rgba(255,255,255,.75); }

/* dark sections / testimonials */
.section-dark { background: var(--black); color: rgba(255,255,255,.88); }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .section-head p { color: rgba(255,255,255,.72); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.testimonial { background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); border-top: 2px solid var(--gold); padding: 2.2rem 2rem; }
.testimonial .stars, .stars { color: var(--gold); letter-spacing: .2em; margin-bottom: .8rem; font-size: 1rem; }
.card .stars { color: var(--gold-deep); }
.testimonial p.quote { font-family: var(--font-serif); font-style: italic; font-size: 1.28rem; line-height: 1.55; color: rgba(255,255,255,.92); }
.testimonial .attribution { margin-top: 1.2rem; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-light); }
.review-quote { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; line-height: 1.55; }
.review-name { margin-bottom: 0; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-deep); }

/* numbered feature cards */
.feature { padding: 2.4rem 2rem; border: 1px solid var(--line); background: var(--white); position: relative; }
.feature .num { display: block; font-family: var(--font-serif); font-size: 3rem; line-height: 1; color: var(--gold); margin-bottom: 1rem; }
.feature p:last-child { margin-bottom: 0; }

/* FAQ */
.faq-list { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.25; color: var(--black); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-family: var(--font-sans); font-size: 1.6rem; color: var(--gold-deep); transition: transform var(--ease); }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details > p { padding-bottom: 1.4rem; margin: 0; color: var(--muted); }
.faq-item { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.faq-item h3 { font-size: 1.45rem; margin-bottom: .5rem; }
.faq-item p:last-child { margin-bottom: 0; }

/* About / bio */
.bio-layout { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: start; }
.bio-layout.compact { grid-template-columns: minmax(240px, 340px) 1fr; align-items: center; }
.bio-photo { position: relative; }
.bio-photo img { width: 100%; }
.bio-photo > img { border: 0; }
.bio-photo::after { content: ""; position: absolute; top: 16px; left: 16px; right: -16px; bottom: -16px; border: 1px solid var(--gold); z-index: -1; }
.bio-photo .credential-list { margin-top: 2.6rem; }
.credential-list { border-top: 1px solid var(--line); }
.credential-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; text-align: right; }
.credential-list li span:first-child { color: var(--muted); text-transform: uppercase; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-align: left; flex-shrink: 0; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .45rem; color: var(--muted); }
input, textarea, select { width: 100%; font-family: var(--font-sans); font-size: 1rem; padding: .95rem 1rem; border: 1px solid #d8d1bb; background: var(--white); color: var(--text); border-radius: 0; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(197,162,83,.25); }
textarea { resize: vertical; min-height: 150px; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .9rem; }

/* Footer */
.site-footer { background: var(--black); color: rgba(255,255,255,.76); border-top: 3px solid var(--gold); }
.footer-top { padding: clamp(3rem, 6vw, 5rem) var(--pad) 2.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 2.5rem; }
.footer-grid h4 { color: var(--gold); font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: 1.1rem; }
.footer-grid a { display: block; font-size: .92rem; color: rgba(255,255,255,.78); padding: .3rem 0; transition: color var(--ease); }
.footer-grid a:hover { color: var(--gold-light); }
.footer-about { max-width: 320px; font-size: .92rem; color: rgba(255,255,255,.7); }
.footer-logo { display: inline-block; margin-bottom: 1.2rem; }
.footer-logo img { height: 40px; width: auto; }
.footer-bottom { padding: 1.6rem var(--pad); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: .76rem; color: rgba(255,255,255,.6); }
.social-row { display: flex; gap: .8rem; margin-top: 1.2rem; }
.social-row a { width: 40px; height: 40px; padding: 0 !important; border: 1px solid rgba(255,255,255,.28); display: flex !important; align-items: center; justify-content: center; border-radius: 50%; transition: border-color var(--ease), background var(--ease), color var(--ease); }
.social-row a:hover { border-color: var(--gold); background: rgba(197,162,83,.16); color: var(--gold-light); }
.social-row svg { width: 17px; height: 17px; fill: currentColor; }
.contact-main .social-row a { color: var(--black); border-color: var(--gold); }
.equal-housing { display: flex; align-items: center; gap: .6rem; }
.equal-housing svg { width: 22px; height: 22px; flex-shrink: 0; }

/* Blog */
.post-card { padding: 0; display: flex; flex-direction: column; overflow: hidden; }
.post-card .post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink); }
.post-card .post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-card .post-text { padding: 1.7rem 1.8rem 2rem; display: flex; flex-direction: column; flex: 1; align-items: flex-start; }
.post-card .post-text .btn { margin-top: auto; }
.post-card .eyebrow { margin-bottom: .5rem; }
.post-card .eyebrow::before { display: none; }
.post-card h3 { font-size: 1.55rem; }
.post-card h3 a:hover { color: var(--gold-deep); }
.post-card .meta { font-size: .74rem; letter-spacing: .06em; color: var(--muted); margin-bottom: .6rem; }
.post-body { max-width: 780px; margin: 0 auto; font-size: 1.04rem; }
.post-body h2 { margin-top: 3rem; font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.post-body blockquote { border-left: 2px solid var(--gold); margin: 2rem 0; padding: .3rem 0 .3rem 1.6rem; font-family: var(--font-serif); font-size: 1.4rem; font-style: italic; color: var(--muted); }
.post-body ul, .post-body ol { padding-left: 1.4rem; margin-bottom: 1.2rem; }
.post-body ul li { list-style: disc; margin-bottom: .5rem; }
.post-body ol li { list-style: decimal; margin-bottom: .5rem; }
.post-body li::marker { color: var(--gold-deep); }
.author-box { display: flex; gap: 1.1rem; align-items: center; background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.3rem; margin-top: 3rem; }
.author-box img { width: 72px; height: 72px; object-fit: cover; object-position: top; border-radius: 50%; }
.author-box .byline { font-size: .9rem; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; isolation: isolate; background: var(--black); color: var(--white); text-align: center; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band.has-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.72); }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.82); max-width: 620px; margin-left: auto; margin-right: auto; }
.cta-band .eyebrow { color: var(--gold-light); }
.cta-band .eyebrow::before { display: none; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* Contact / map */
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); }
.contact-info-list li { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.contact-info-list li:first-child { border-top: 1px solid var(--line); }
.contact-info-list span:first-child { color: var(--gold-deep); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; width: 110px; flex-shrink: 0; padding-top: .2rem; }
.map-frame { width: 100%; height: 340px; border: 1px solid var(--line); }
.contact-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.5rem; text-align: center; }
.contact-trio .label { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .4rem; }
.contact-trio a, .contact-trio span.val { font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.3; color: var(--black); }
.contact-trio a:hover { color: var(--gold-deep); }

/* Responsive */
@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .tile-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .split, .bio-layout, .bio-layout.compact, .contact-layout { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .split-media { max-width: 520px; }
  .bio-photo { max-width: 380px; }
  .stat-row { grid-template-columns: repeat(2, 1fr); row-gap: 2.2rem; }
  .stat-row .stat:nth-child(3) { border-left: 0; }
  .contact-trio { grid-template-columns: 1fr; gap: 1.5rem; }
  .topbar { display: none; }
  :root { --header-h: 72px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 190;
    background: var(--black); flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.2rem var(--pad) 3rem; overflow-y: auto;
    transform: translateX(100%); visibility: hidden; transition: transform var(--ease), visibility 0s linear .3s;
  }
  .nav-links.is-open { transform: translateX(0); visibility: visible; transition: transform var(--ease); }
  .nav-links > a, .nav-links .nav-toggle { font-size: .9rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line-dark); text-align: left; width: 100%; }
  .nav-links .nav-cta { margin-top: 1.5rem; text-align: center; }
  .nav-toggle { display: flex; justify-content: space-between; align-items: center; }
  .dropdown-menu { position: static; transform: none; opacity: 1; visibility: visible; display: none; border: 0; min-width: 0; padding: 0 0 .6rem 1rem; }
  .has-dropdown.is-open .dropdown-menu { display: block; }
  .has-dropdown:hover .dropdown-menu { opacity: 1; }
  .dropdown-menu a { padding: .8rem 0; font-size: .9rem; }
}
@media (max-width: 720px) {
  .grid-2, .grid-3, .grid-4, .tile-grid { grid-template-columns: 1fr; }
  .tile { min-height: 300px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero { min-height: 78vh; }
  .hero.page-hero { min-height: 300px; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.75)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .stat-row { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .split-media::after, .bio-photo::after { display: none; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .credential-list li { flex-direction: column; text-align: left; gap: .15rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* utilities used by migrated page bodies */
.my-2 { margin: 1.5rem 0; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.byline { font-size: .9rem; color: var(--muted); }
.page-intro { font-size: 1.12rem; color: var(--muted); }
.feature-grid .feature h3 { font-size: 1.6rem; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid rgba(197,162,83,.4); }
.fact { padding: 2rem 1.6rem; border-left: 1px solid rgba(197,162,83,.4); }
.fact:first-child { border-left: 0; }
.fact strong { display: block; font-family: var(--font-serif); font-size: 2.3rem; line-height: 1.1; color: var(--gold); font-weight: 500; margin-bottom: .4rem; }
.fact span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.section-dark .fact-grid { margin-top: 1rem; }
.check-list li { position: relative; padding-left: 1.8rem; margin-bottom: .7rem; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 1px; background: var(--gold); box-shadow: 0 0 0 .5px var(--gold); }
@media (max-width: 960px) { .fact-grid { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(3) { border-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid rgba(197,162,83,.4); } }
@media (max-width: 720px) { .fact { padding: 1.4rem 1rem; } .fact strong { font-size: 1.8rem; } }

/* testimonials on light backgrounds */
.on-light .testimonial { background: var(--white); border: 1px solid var(--line); border-top: 2px solid var(--gold); }
.on-light .testimonial .stars { color: var(--gold-deep); }
.on-light .testimonial p.quote { color: var(--ink); }
.on-light .testimonial .attribution { color: var(--gold-deep); }
.section-dark .feature { background: transparent; border-color: var(--line-dark); }
.section-dark .feature p { color: rgba(255,255,255,.8); }
.section-dark .feature h3 { color: var(--white); }

/* ==========================================================================
   v2 integration layer: the dark redesign applied to every page of the live
   site, plus styles for the live site's SEO/AEO, lead-capture and
   cross-site components (answer boxes, fact lists, valuation band,
   main-site band, network links, sticky mobile bar, Netlify form).
   ========================================================================== */

/* Legacy token aliases (some page markup references these) */
:root {
  --color-black: var(--black);
  --color-charcoal: var(--text);
  --color-charcoal-70: var(--muted);
  --color-white: var(--white);
  --color-cream: var(--ivory);
  --color-cream-dark: var(--ivory);
  --color-line: var(--line);
  --color-gold: var(--gold);
  --color-gold-dark: var(--gold-deep);
  --color-gold-pale: var(--gold-light);
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --radius: 0;
  --transition: var(--ease);
}
body { overflow-x: clip; }
.hp { display: none; }
figure { margin: 0; }

/* Header: dark bar, white logo, gold Contact button, link to the main site */
.topbar .tb-right a + a { margin-left: .2rem; }
.nav-links a.nav-network { color: var(--gold-light); white-space: nowrap; }
.nav-links a.nav-network:hover { color: var(--white); }
.nav-links a.nav-phone { color: var(--gold-light); white-space: nowrap; display: none; }
.nav-links .nav-cta { white-space: nowrap; }
@media (max-width: 1180px) and (min-width: 961px) {
  .nav-links { gap: 1.05rem; }
  .nav-links > a, .nav-links .nav-toggle { letter-spacing: .1em; font-size: .72rem; }
  .nav-links .nav-cta { padding: .7rem 1.1rem; }
  .logo-link img { height: 36px; }
}
@media (max-width: 960px) {
  .nav-links a.nav-phone { display: block; }
  .nav-links .nav-cta { color: var(--black); }
}

/* Buttons used by the live site */
.btn-solid-gold { background: var(--gold); border-color: var(--gold); color: var(--black); }
.btn-solid-gold:hover { background: var(--black); border-color: var(--black); color: var(--gold-light); }
.hero .btn-solid-gold:hover, .cta-band .btn-solid-gold:hover, .valuation .btn-solid-gold:hover, .section-dark .btn-solid-gold:hover, .mainsite-band .btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.section-dark .btn-primary:hover, .valuation .btn-primary:hover { background: var(--white); border-color: var(--white); color: var(--black); }
.section-dark .btn:not(.btn-primary):not(.btn-solid-gold) { border-color: rgba(255,255,255,.7); color: var(--white); }
.section-dark .btn:not(.btn-primary):not(.btn-solid-gold):hover { background: var(--white); color: var(--black); }
.hero-contact, .cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1rem; }
.cta-row { justify-content: center; margin-top: 1.8rem; }
.hero-actions + .hero-contact { margin-top: 1.1rem; }
.hero .hero-note { margin: 1.2rem 0 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.72); }
.btn-row .btn, .split .btn + .btn { margin-left: 0; }
.split .btn { margin-right: .6rem; }

/* Links on dark backgrounds stay readable */
.hero p a:not(.btn), .section-dark p a:not(.btn), .cta-band p a:not(.btn), .valuation p a:not(.btn), .mainsite-band p a:not(.btn), .site-footer .footer-top p a:not(.btn) { color: var(--gold-light); text-decoration-color: rgba(220,193,126,.5); }

/* Direct-answer blocks and fact clusters (AEO) */
.answer-box { background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.4rem 1.8rem; margin: 0 0 2rem; }
.answer-box p { margin: 0; font-family: var(--font-serif); font-size: clamp(1.2rem, 1.8vw, 1.42rem); line-height: 1.5; color: var(--black); }
.band-cream .answer-box { background: var(--white); }
.section-dark .answer-box { background: rgba(255,255,255,.04); border-color: var(--line-dark); border-left-color: var(--gold); }
.section-dark .answer-box p { color: var(--white); }
.fact-list { margin: 0 0 2rem; border-top: 1px solid var(--line); }
.fact-list li { position: relative; padding: .75rem 0 .75rem 1.9rem; border-bottom: 1px solid var(--line); font-size: .97rem; }
.fact-list li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: 12px; height: 1px; background: var(--gold); box-shadow: 0 0 0 .5px var(--gold); }
.fact-list strong { font-weight: 600; color: var(--black); }
.section-dark .fact-list, .section-dark .fact-list li { border-color: var(--line-dark); }
.section-dark .fact-list strong { color: var(--gold-light); }
.answer-section .fact-list, .answer-section .answer-box { max-width: 860px; margin-left: auto; margin-right: auto; }
.answer-section .answer-box { margin-bottom: 2.2rem; }

/* Photo strips and wide figures */
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(.75rem, 1.5vw, 1.25rem); }
.photo-strip.three { grid-template-columns: repeat(3, 1fr); }
.photo-strip figure { overflow: hidden; background: var(--ink); }
.photo-strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s ease; }
.photo-strip figure:hover img { transform: scale(1.05); }
.wide-media { max-width: 1000px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; position: relative; }
.wide-media img { width: 100%; height: auto; }
.post-body .wide-media { margin-top: 2rem; }
.split-media figcaption, .photo-strip figcaption, .wide-media figcaption { font-size: .75rem; color: var(--muted); margin-top: .5rem; letter-spacing: .04em; }

/* FAQ accordions (questions keep their h3 headings inside <summary>) */
details.faq-item { border-top: 1px solid var(--line); padding: 0; }
.faq-list details.faq-item:first-child { border-top: 0; }
.faq-list details.faq-item { border-bottom: 1px solid var(--line); border-top: 0; }
details.faq-item > summary { list-style: none; cursor: pointer; position: relative; padding: 1.35rem 3rem 1.35rem 0; }
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after { content: "+"; position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); font-family: var(--font-sans); font-size: 1.6rem; line-height: 1; color: var(--gold-deep); }
details.faq-item[open] > summary::after { content: "\2212"; }
details.faq-item > summary h3 { font-family: var(--font-serif); font-size: clamp(1.3rem, 2vw, 1.5rem); font-weight: 500; line-height: 1.25; margin: 0; color: var(--black); }
details.faq-item > summary:hover h3 { color: var(--gold-deep); }
details.faq-item > p { margin: 0 0 1.4rem; color: var(--muted); }
.post-body details.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.post-body details.faq-item + h2 { margin-top: 3rem; }

/* Photo-backed valuation / CTA bands (live-site markup) */
.cta-band.has-bg, .valuation { position: relative; isolation: isolate; overflow: hidden; background: var(--black); color: var(--white); text-align: center; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-band.has-bg::before, .valuation::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0,0,0,.72); }
.valuation h2 { color: var(--white); }
.valuation .eyebrow { color: var(--gold-light); }
.valuation .eyebrow::before { display: none; }
.valuation p { color: rgba(255,255,255,.85); max-width: 660px; margin-left: auto; margin-right: auto; }
.valuation .small, .cta-band .small { font-size: .85rem; margin-top: 1.4rem; color: rgba(255,255,255,.78); }
.cta-band > .container > .btn { margin-top: .6rem; }

/* Main-site band and strip (links to ElizabethVijan.com) */
.mainsite-band { background: var(--black); color: var(--white); border-top: 1px solid rgba(197,162,83,.45); border-bottom: 1px solid rgba(197,162,83,.45); padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.mainsite-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem 3rem; flex-wrap: wrap; }
.mainsite-inner > div { flex: 1 1 420px; }
.mainsite-band h2 { color: var(--white); margin-bottom: .6rem; }
.mainsite-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 64ch; }
.mainsite-band .eyebrow { color: var(--gold); }
.mainsite-band .btn-primary { white-space: nowrap; }
.mainsite-strip { background: var(--ivory); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.3rem 0; text-align: center; }
.mainsite-strip p { margin: 0; font-size: .95rem; }

/* "Explore other areas" cards (generated by tools/sync_network.py) */
.area-link-card { display: flex; flex-direction: column; padding: 2rem 1.8rem; height: 100%; border-top: 2px solid var(--gold); }
.area-link-card .eyebrow { margin-bottom: .6rem; }
.area-link-card .eyebrow::before { width: 22px; margin-right: .6rem; }
.area-link-card h3 { margin: .1rem 0 .5rem; font-size: 1.6rem; }
.area-link-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.area-link-card .area-more { color: var(--gold-deep); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; }

/* Contact page helpers */
.quick-contact { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1rem 0 2rem; }
.contact-main .social-row a { color: var(--black); border-color: var(--gold); }
.contact-main .social-row a:hover { background: var(--black); color: var(--gold-light); }
.map-wrap { margin: 1.5rem 0; }
.thanks { text-align: center; max-width: 680px; margin: 0 auto; }

/* Testimonials (light + dark) */
.testimonial blockquote { margin: 0; }

/* Articles */
.author-box .byline a { color: var(--gold-deep); }
.network-note { margin-top: 3rem; padding: 1.3rem 1.6rem; background: var(--ivory); border: 1px solid var(--line); border-left: 3px solid var(--gold); }
.network-note p { margin: 0; font-size: .95rem; }
.post-body > p > .btn { margin: .3rem .3rem .3rem 0; }
.post-body hr.divider { margin: 2.6rem 0 0; }
.post-body h3 { font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin-top: 2rem; }
.post-card .post-text p { color: var(--muted); font-size: .95rem; }

/* Footer: black Tackett Team logo on a clean light band, then the dark footer */
.site-footer { border-top: 0; }
.footer-brand-band { background: var(--white); border-top: 1px solid var(--line); border-bottom: 3px solid var(--gold); }
.footer-brand-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; flex-wrap: wrap; padding-top: 1.7rem; padding-bottom: 1.7rem; }
.footer-brand-band .footer-logo { display: inline-block; margin: 0; }
.footer-brand-band .footer-logo img { height: 56px; width: auto; display: block; }
.network-sites { text-align: right; color: var(--muted); }
.network-line { margin: 0 0 .45rem; font-size: .7rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.network-sites .network-line a { color: var(--gold-deep); text-decoration: none; border-bottom: 1px solid var(--gold); }
.network-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.6rem; justify-content: flex-end; }
.network-list li { list-style: none; margin: 0; font-size: .92rem; }
.network-sites .network-list li a { color: var(--black); text-decoration: none; border-bottom: 1px solid var(--line); transition: color var(--ease), border-color var(--ease); }
.network-sites .network-list li a:hover { color: var(--gold-deep); border-color: var(--gold); }
.network-list [aria-current="true"] { color: var(--gold-deep); font-weight: 600; }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr; }
.footer-about { max-width: 300px; }
.site-footer p.footer-about a.footer-mainsite { display: inline-block; margin-top: .6rem; color: var(--gold-light); text-decoration: none; border-bottom: 1px solid var(--gold); padding: 0; }
.site-footer p.footer-about a.footer-mainsite:hover { color: var(--white); border-color: var(--white); }
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 900px) { .network-sites { text-align: left; } .network-list { justify-content: flex-start; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } .footer-brand-band .footer-logo img { height: 46px; } }
@media (max-width: 420px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sticky mobile contact bar */
.sticky-bar { display: none; }
@media (max-width: 960px) { .photo-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) {
  .photo-strip.three { grid-template-columns: 1fr; }
  .hero-contact .btn-sm { flex: 1 1 calc(50% - .75rem); padding: .8rem .6rem; }
  .hero-contact .btn-solid-gold { flex-basis: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .answer-box { padding: 1.2rem 1.2rem; }
  .sticky-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 180; background: var(--black); border-top: 1px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
  .sticky-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--white); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .95rem .5rem; border-right: 1px solid rgba(255,255,255,.15); }
  .sticky-bar a.sb-primary { flex: 1.4; background: var(--gold); color: var(--black); border-right: 0; }
  .sticky-bar svg { width: 16px; height: 16px; fill: currentColor; }
  body { padding-bottom: 54px; }
}
.post-card .post-thumb { display: block; }
.split-media, .bio-photo { isolation: isolate; }
/* About: offset gold frame around the headshot only (not the credential list) */
.bio-photo::after { display: none; }
.bio-photo > img, .bio-photo > picture img { box-shadow: 16px 16px 0 -1px var(--white), 16px 16px 0 0 var(--gold); margin-bottom: 16px; }
@media (max-width: 720px) { .bio-photo > img, .bio-photo > picture img { box-shadow: none; margin-bottom: 0; } }
/* Articles: line the hero text up with the reading column */
.hero.page-hero:has(+ article) .hero-content { max-width: calc(780px + 2 * var(--pad)); }
.hero.page-hero:has(+ article) h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
