/* ==========================================================================
   Aldermere Property Care — shared stylesheet
   Design tokens: Ink / Brass / Stone palette, Frank Ruhl Libre + Karla type
   ========================================================================== */

:root {
  /* Header height, set precisely by script.js; fallback for no-JS */
  --header-h: 84px;

  /* Color */
  --ink: #1C2333;
  --ink-2: #262F44;
  --ink-soft: #3B4560;
  --brass: #AD8A4E;
  --brass-light: #C9A868;
  --brass-dark: #8B6E3B;
  --stone: #EFEBE3;
  --paper: #FBF9F5;
  --white: #FFFFFF;
  --slate: #5B6270;
  --slate-light: #8891A0;
  --line: rgba(28, 35, 51, 0.12);
  --line-light: rgba(28, 35, 51, 0.07);

  /* Spacing scale (4px base) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 16px;
  --sp-4: 24px;
  --sp-5: 32px;
  --sp-6: 48px;
  --sp-7: 64px;
  --sp-8: 96px;
  --sp-9: 128px;

  /* Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 10px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(28,35,51,0.07), 0 1px 1px rgba(28,35,51,0.04);
  --shadow-md: 0 6px 16px rgba(28,35,51,0.09);
  --shadow-lg: 0 18px 40px rgba(28,35,51,0.14);

  /* Type */
  --font-head: 'Frank Ruhl Libre', Georgia, 'Times New Roman', serif;
  --font-body: 'Karla', Arial, Helvetica, sans-serif;

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; border: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

body {
  background: #FBF9F5;
  background: var(--paper);
  color: #1C2333;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: Georgia, serif;
  font-family: var(--font-head);
  color: #1C2333;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.375rem; }
}
@media (min-width: 1024px) {
  h1 { font-size: 3.25rem; }
  h2 { font-size: 2.75rem; }
}
@media (min-width: 1440px) {
  h1 { font-size: 3.5rem; }
}

p { color: #5B6270; color: var(--slate); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8B6E3B;
  color: var(--brass-dark);
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--brass);
  display: inline-block;
}

/* Focus visibility — never remove without replacement */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.nav-link:focus-visible {
  outline: 2px solid #AD8A4E;
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: 1180px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-4);
}
@media (min-width: 768px) {
  .container { padding: 0 var(--sp-6); }
}

.section { padding: var(--sp-8) 0; }
.section--tight { padding: var(--sp-5) 0; }
.section--stone { background: var(--stone); }
.section--ink { background: var(--ink); }

.section-head { max-width: 640px; margin-bottom: var(--sp-6); }
.section-head p { margin-top: var(--sp-3); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 15px 28px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: #AD8A4E;
  background: var(--brass);
  color: #1C2333;
  color: var(--ink);
}
.btn-primary:hover { background: var(--brass-light); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: inherit;
}
.btn-outline.on-light { border-color: var(--line); color: var(--ink); }
.btn-outline.on-dark { border-color: rgba(255,255,255,0.4); color: var(--paper); }
.btn-outline:hover { border-color: var(--brass); color: var(--brass-dark); background: rgba(173,138,78,0.08); }
.btn-outline.on-dark:hover { border-color: var(--brass-light); color: var(--brass-light); background: rgba(201,168,104,0.12); }

.btn-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.2s ease;
}
.btn-arrow svg { width: 18px; height: 18px; }
.btn-arrow-link:hover .btn-arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 249, 245, 0.92);
  background: var(--paper);
  border-bottom: 1px solid var(--line-light);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(251, 249, 245, 0.86); backdrop-filter: blur(8px); }
}

.nav-bar {
  display: flex;
  flex-wrap: wrap;
  row-gap: 10px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand span.mark {
  display: inline-block;
  margin-top: 4px;
  width: 34px;
  height: 2px;
  background: var(--brass);
}
.brand small {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 700;
  margin-top: 6px;
}

.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
}
.nav-links a { font-weight: 700; font-size: 0.92rem; color: var(--ink-soft); position: relative; padding: 6px 0; }
.nav-links a::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; background: var(--brass);
  transition: right 0.2s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a.active { color: var(--ink); }

.nav-cta { display: none; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 11px 12px;
}
.nav-toggle span { width: 20px; height: 2px; background: var(--ink); display: block; }

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-5);
  border-top: 1px solid var(--line-light);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 4px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line-light);
}
.mobile-menu a.active { color: var(--brass-dark); }
.mobile-menu .btn { margin-top: var(--sp-3); align-self: flex-start; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 40px 0 var(--sp-8);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero > .container { width: 100%; position: relative; z-index: 1; }
@media (min-width: 768px)  { .hero { padding-top: 56px; } }
@media (min-width: 1024px) { .hero { padding-top: 72px; } }
@media (min-width: 1440px) { .hero { padding-top: 88px; } }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: start;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.2fr 0.8fr; gap: var(--sp-7); }
}

.hero h1 { margin-top: var(--sp-3); }
.hero .lede { margin-top: var(--sp-4); font-size: 1.125rem; max-width: 50ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-5); align-items: center; }

.trust-strip {
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}
@media (min-width: 700px) { .trust-strip { grid-template-columns: repeat(4, 1fr); } }
.trust-item .num { font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); display: block; }
.trust-item .label { font-size: 0.82rem; color: var(--slate); margin-top: 4px; }

/* ---------- Directory board (signature element) ---------- */
.directory-board {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-4);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.directory-board::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(201, 168, 104, 0.28);
  border-radius: 6px;
  pointer-events: none;
}
.directory-board .db-eyebrow {
  color: var(--brass-light);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
}
.directory-board .db-title {
  font-family: var(--font-head);
  color: var(--paper);
  font-size: 1.3rem;
  margin-top: var(--sp-2);
  margin-bottom: var(--sp-3);
}
.db-row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: 12px 0;
  border-top: 1px solid rgba(201, 168, 104, 0.22);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.db-row.revealed { opacity: 1; transform: translateX(0); }
.db-row:first-of-type { border-top: none; }
.db-row .db-icon {
  flex: none;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(201,168,104,0.4);
  border-radius: 50%;
  color: var(--brass-light);
}
.db-row .db-icon svg { width: 16px; height: 16px; }
.db-row .db-text { color: var(--paper); font-family: var(--font-head); font-size: 1.02rem; letter-spacing: 0.01em; }
.db-row .db-sub { color: var(--slate-light); font-size: 0.78rem; margin-top: 2px; }

/* ---------- Value props / feature grid ---------- */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 700px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); }
@media (min-width: 700px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.feature {
  padding: var(--sp-5);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.feature .icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--stone);
  color: var(--brass-dark);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
}
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin-bottom: var(--sp-2); }

/* ---------- Service cards ---------- */
.service-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--brass);
}
.service-card:hover .icon {
  background: var(--brass);
  color: var(--ink);
}
.service-card .icon {
  width: 46px; height: 46px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--brass-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.service-card .icon svg { width: 22px; height: 22px; }
.service-card .tag {
  margin-top: var(--sp-4);
  font-size: 0.78rem;
  color: var(--brass-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.service-card p { font-size: 0.96rem; }

/* ---------- Process steps ---------- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
  counter-reset: step;
}
@media (min-width: 700px) { .process-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .process-list { grid-template-columns: repeat(4, 1fr); } }
.process-step {
  position: relative;
  padding-top: var(--sp-6);
  border-top: 2px solid var(--brass);
}
.process-step .step-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--brass);
  display: block;
  margin-bottom: var(--sp-2);
}
.process-step h4 { margin-bottom: var(--sp-2); }
.process-step p { font-size: 0.92rem; }

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  border: 1px solid var(--line-light);
}
.testimonial p.quote {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.5;
}
.testimonial .attrib { margin-top: var(--sp-4); display: flex; align-items: center; gap: var(--sp-3); }
.avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink);
  color: var(--brass-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 0.95rem;
  flex: none;
}
.attrib .name { font-weight: 700; font-size: 0.9rem; color: var(--ink); }
.attrib .role { font-size: 0.8rem; color: var(--slate); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--sp-7) var(--sp-5);
  text-align: center;
}
.cta-banner h2 { color: var(--paper); }
.cta-banner p { color: var(--slate-light); max-width: 50ch; margin: var(--sp-3) auto 0; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Cards: values / credentials / team ---------- */
.value-card { padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line-light); transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease; }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--brass); }
.value-card:hover .icon { background: var(--brass); color: var(--ink); }
.value-card .icon { width: 42px; height: 42px; border-radius: 50%; background: var(--stone); color: var(--brass-dark); display: flex; align-items:center; justify-content:center; margin-bottom: var(--sp-3); transition: background-color 0.2s ease, color 0.2s ease; }
.value-card .icon svg{ width:20px; height:20px; }

.credential-row {
  display: flex;
  gap: var(--sp-3);
  align-items: flex-start;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line-light);
}
.credential-row:first-child { border-top: none; padding-top: 0; }
.credential-row .icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--stone); color: var(--brass-dark);
  display: flex; align-items: center; justify-content: center;
}
.credential-row .icon svg { width: 16px; height: 16px; }
.credential-row h4 { margin-bottom: 2px; }
.credential-row p { font-size: 0.92rem; }

.team-card { text-align: center; }
.team-card .avatar { width: 64px; height: 64px; font-size: 1.3rem; margin: 0 auto var(--sp-3); }
.team-card h4 { margin-bottom: 2px; }
.team-card .role { font-size: 0.85rem; color: var(--brass-dark); font-weight: 700; }
.team-card p.bio { margin-top: var(--sp-3); font-size: 0.9rem; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: var(--sp-5); align-items: stretch; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); } }

.price-card {
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: var(--sp-4);
  display: flex; flex-direction: column;
}
.price-card.featured {
  border-color: var(--brass);
  box-shadow: var(--shadow-lg);
  position: relative;
  background: var(--ink);
}
.price-card.featured * { color: var(--paper); }
.price-card.featured .price-amount { color: var(--brass-light); }
.price-card.featured .check svg { color: var(--brass-light); }
.price-card .badge {
  position: absolute; top: -13px; left: var(--sp-4);
  background: var(--brass); color: var(--ink);
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.price-card .tier-name { font-family: var(--font-head); font-size: 1.3rem; }
.price-card .price-amount { font-family: var(--font-head); font-size: 2.1rem; margin-top: var(--sp-2); display: block; }
.price-card .price-amount small { font-family: var(--font-body); font-size: 0.85rem; color: var(--slate); font-weight: 400; }
.price-card .tier-desc { font-size: 0.9rem; margin-top: var(--sp-2); }
.price-card ul.checklist { margin-top: var(--sp-4); display: flex; flex-direction: column; gap: var(--sp-2); flex-grow: 1; }
.price-card .check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; }
.price-card .check svg { flex: none; width: 18px; height: 18px; color: var(--brass-dark); margin-top: 2px; }
.price-card .btn { margin-top: var(--sp-4); width: 100%; }

.addon-row {
  display: flex; justify-content: space-between; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4) var(--sp-4); margin: 0 calc(var(--sp-4) * -1);
  border-top: 1px solid var(--line-light);
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.addon-row:first-child { border-top: none; }
.addon-row:hover {
  background: var(--white);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.addon-row .addon-price { font-family: var(--font-head); color: var(--brass-dark); white-space: nowrap; }

/* ---------- FAQ ---------- */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  background: none; border: none; text-align: left;
  padding: var(--sp-4);
  margin: 0 calc(var(--sp-4) * -1);
  width: calc(100% + var(--sp-4) * 2);
  border-radius: var(--radius-md);
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--ink);
  transition: background-color 0.2s ease, color 0.2s ease;
}
.faq-q:hover { background: var(--white); color: var(--brass-dark); }
.faq-item.open .faq-q { color: var(--brass-dark); }
.faq-q .plus { flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .plus::before, .faq-q .plus::after {
  content: ""; position: absolute; background: var(--brass-dark);
  top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; transition: transform 0.2s ease; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(90deg) scale(0); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.25s ease;
}
.faq-a p { padding-bottom: var(--sp-4); max-width: 68ch; }
.faq-item.open .faq-a { max-height: 320px; }

/* ---------- Contact / quote form ---------- */
.quote-form { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: var(--sp-6); }
.form-row { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); margin-bottom: var(--sp-4); }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass);
}
.form-note { font-size: 0.82rem; color: var(--slate-light); margin-top: var(--sp-3); }
.form-success {
  display: none;
  background: var(--stone);
  border: 1px solid var(--brass);
  border-radius: var(--radius-md);
  padding: var(--sp-4);
  margin-top: var(--sp-4);
}
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--slate-light); padding: var(--sp-8) 0 var(--sp-5); }
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--sp-6);
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer .brand { color: var(--paper); }
.site-footer .brand small { color: var(--slate-light); }
.footer-col h4 { color: var(--paper); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: var(--sp-4); }
.footer-col ul { display: flex; flex-direction: column; gap: var(--sp-3); }
.footer-col a:hover { color: var(--brass-light); }
.footer-col p { color: var(--slate-light); font-size: 0.92rem; }
.footer-blurb { margin-top: var(--sp-4); max-width: 32ch; font-size: 0.92rem; }
.footer-bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between; font-size: 0.82rem;
}

/* ---------- Reveal-on-scroll ---------- */
/* ---------- Hero background glow (subtle, decorative) ---------- */
.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -8%;
  width: 560px;
  height: 560px;
  max-width: 60vw;
  max-height: 60vw;
  background: radial-gradient(circle, rgba(173,138,78,0.12) 0%, rgba(173,138,78,0) 70%);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

/* ---------- Scroll-down cue ---------- */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--slate);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 1;
  transition: color 0.2s ease;
}
.scroll-cue:hover { color: var(--brass-dark); }
.scroll-cue svg {
  width: 16px;
  height: 16px;
  color: var(--brass);
  animation: scrollCueBounce 1.8s ease-in-out infinite;
}
@keyframes scrollCueBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.reveal { opacity: 0; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .db-row, .feature, .price-card .btn, .btn-primary { transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .db-row { opacity: 1; transform: none; }
  .scroll-cue svg { animation: none; }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  padding: 32px 0 24px;
  border-bottom: 1px solid var(--line-light);
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.page-hero > .container { width: 100%; position: relative; z-index: 1; }
@media (min-width: 768px)  { .page-hero { padding-top: 40px; } }
@media (min-width: 1024px) { .page-hero { padding-top: 48px; } }

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 960px) {
  .page-hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: var(--sp-7); }
}
.page-hero-grid .directory-board { padding: var(--sp-4) var(--sp-4); }
.page-hero-grid .directory-board .db-title { font-size: 1.15rem; }
@media (min-width: 1440px) { .page-hero { padding-top: 56px; } }
.page-hero h1 { font-size: 2.1rem; }
@media (min-width: 768px)  { .page-hero h1 { font-size: 2.5rem; } }
@media (min-width: 1024px) { .page-hero h1 { font-size: 2.75rem; } }
@media (min-width: 1440px) { .page-hero h1 { font-size: 3rem; } }
.page-hero .lede { margin-top: var(--sp-3); max-width: 60ch; font-size: 1.05rem; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-8 { margin-top: var(--sp-8); }
.small-caps-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brass-dark); }

/* ==========================================================================
   UNIQUE HERO SYSTEM — distinct hero treatment per page
   All animation is transform/opacity only (GPU-cheap, no layout thrash)
   ========================================================================== */

/* Shared entrance animation, staggered via .fx-N */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fx { opacity: 0; animation: heroFadeUp 0.7s ease forwards; }
.fx-1 { animation-delay: 0.05s; }
.fx-2 { animation-delay: 0.18s; }
.fx-3 { animation-delay: 0.32s; }
.fx-4 { animation-delay: 0.46s; }
.fx-5 { animation-delay: 0.60s; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- HOME: living directory board ---------- */
.db-live .db-row { align-items: center; }
.status-dot {
  flex: none;
  margin-left: auto;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--brass-light);
  position: relative;
}
.status-dot::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 104, 0.55);
  animation: pulseRing 2.6s ease-out infinite;
}
.db-live .db-row:nth-of-type(2) .status-dot::after { animation-delay: 0.6s; }
.db-live .db-row:nth-of-type(3) .status-dot::after { animation-delay: 1.2s; }
.db-live .db-row:nth-of-type(4) .status-dot::after { animation-delay: 1.8s; }
@keyframes pulseRing {
  0%   { transform: scale(0.4); opacity: 0.9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ---------- ABOUT: self-drawing timeline ---------- */
.hero-timeline { position: relative; }
.tl-line {
  position: absolute;
  left: 8px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--brass), rgba(173, 138, 78, 0.12));
  transform-origin: top;
  animation: tlGrow 1.1s ease 0.25s both;
}
@keyframes tlGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
.tl-item {
  position: relative;
  padding: 0 0 26px 36px;
  opacity: 0;
  animation: heroFadeUp 0.6s ease forwards;
}
.tl-item:nth-child(2) { animation-delay: 0.35s; }
.tl-item:nth-child(3) { animation-delay: 0.55s; }
.tl-item:nth-child(4) { animation-delay: 0.75s; }
.tl-item:nth-child(5) { animation-delay: 0.95s; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: 2px; top: 5px;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--brass);
}
.tl-year {
  font-family: var(--font-head);
  color: var(--brass-dark);
  font-size: 1.08rem;
  display: block;
}
.tl-text { font-size: 0.95rem; color: var(--slate); margin-top: 3px; max-width: 40ch; }

/* ---------- SERVICES: centered hero, rotating word + floating chips ---------- */
.hero-services-center {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.hero-services-center .eyebrow { justify-content: center; }
.hero-services-center .lede { margin-left: auto; margin-right: auto; }

.rotator {
  display: inline-grid;
  text-align: left;
  vertical-align: baseline;
}
.rot-word {
  grid-area: 1 / 1;
  color: var(--brass-dark);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
  white-space: nowrap;
}
.rot-word.active { opacity: 1; transform: translateY(0); }

.svc-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: var(--sp-5);
}
.svc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-soft);
  animation: chipFloat 5.5s ease-in-out infinite;
}
.svc-chip svg { width: 14px; height: 14px; color: var(--brass-dark); flex: none; }
.svc-chip:nth-child(2) { animation-delay: 0.7s; }
.svc-chip:nth-child(3) { animation-delay: 1.4s; }
.svc-chip:nth-child(4) { animation-delay: 2.1s; }
.svc-chip:nth-child(5) { animation-delay: 2.8s; }
.svc-chip:nth-child(6) { animation-delay: 3.5s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ---------- PRICING: rising price pillars ---------- */
.price-pillars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
}
.pillar {
  flex: 1;
  max-width: 150px;
  text-align: center;
  position: relative;
}
.pillar-bar {
  border-radius: 10px 10px 0 0;
  background: var(--white);
  border: 1px solid var(--line-light);
  border-bottom: 3px solid var(--brass);
  box-shadow: var(--shadow-sm);
  transform-origin: bottom;
  animation: pillarRise 0.85s cubic-bezier(0.2, 0.7, 0.3, 1) both;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 18px 10px 10px;
}
.pillar:nth-child(1) .pillar-bar { height: 150px; animation-delay: 0.15s; }
.pillar:nth-child(2) .pillar-bar { height: 215px; animation-delay: 0.35s; }
.pillar:nth-child(3) .pillar-bar { height: 180px; animation-delay: 0.55s; }
.pillar.featured .pillar-bar {
  background: var(--ink);
  border-color: var(--brass);
}
@keyframes pillarRise {
  from { transform: scaleY(0); }
  to   { transform: scaleY(1); }
}
.pillar-bar .p-name {
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--ink);
  opacity: 0;
  animation: heroFadeUp 0.5s ease forwards;
}
.pillar-bar .p-price {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--brass-dark);
  margin-top: 6px;
  opacity: 0;
  animation: heroFadeUp 0.5s ease forwards;
}
.pillar:nth-child(1) .p-name, .pillar:nth-child(1) .p-price { animation-delay: 0.75s; }
.pillar:nth-child(2) .p-name, .pillar:nth-child(2) .p-price { animation-delay: 0.95s; }
.pillar:nth-child(3) .p-name, .pillar:nth-child(3) .p-price { animation-delay: 1.15s; }
.pillar.featured .p-name { color: var(--paper); }
.pillar.featured .p-price { color: var(--brass-light); }
.pillar-sub {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--slate);
  font-weight: 700;
}
.pillar .mini-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brass);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
}
@media (max-width: 480px) {
  .pillar:nth-child(1) .pillar-bar { height: 125px; }
  .pillar:nth-child(2) .pillar-bar { height: 180px; }
  .pillar:nth-child(3) .pillar-bar { height: 150px; }
  .pillar-bar .p-price { font-size: 1rem; }
}

/* Reduced motion: everything appears instantly, nothing loops */
@media (prefers-reduced-motion: reduce) {
  .fx, .tl-line, .tl-item, .pillar-bar, .pillar-bar .p-name, .pillar-bar .p-price {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .status-dot::after, .svc-chip { animation: none !important; }
  .rot-word { transition: none; }
}
