/* ============================================
   Harlow & Vance: Design tokens
   ============================================ */
:root {
  --color-ink: #16233D;       /* deep navy: headings, dark sections */
  --color-ink-soft: #2C3A5C;  /* lighter navy for hover/secondary */
  --color-bg: #FAF7F2;        /* warm paper background */
  --color-bg-panel: #F1ECE2;  /* slightly deeper warm panel */
  --color-text: #2B2B28;      /* charcoal body text */
  --color-text-muted: #6B6B62;
  --color-brass: #A9825B;     /* warm accent: links, CTAs */
  --color-brass-dark: #8E6C48;
  --color-gold-soft: #D9B877;
  --color-sage: #6E7C63;      /* secondary accent */
  --color-line: #DDD6C9;      /* hairline dividers */
  --color-white: #FFFFFF;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --measure: 62ch;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: page-fade-in 0.5s ease forwards;
  cursor: url("images/cursor.png"), auto;
}

@keyframes page-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-brass-dark);
  text-decoration: none;
}
a:hover { color: var(--color-ink); }

:focus-visible {
  outline: 2px solid var(--color-brass);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--color-ink);
  color: var(--color-white);
  padding: 12px 20px;
  border-radius: var(--radius);
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:hover { color: var(--color-white); }
.skip-link:focus { top: 16px; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--color-ink);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  transition: color 0.2s ease;
}

/* Subtle cue on hover so headings feel "live" as the cursor
   moves across the page, without implying they're clickable. */
h2:hover, h3:hover, h4:hover {
  color: var(--color-brass-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; max-width: var(--measure); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 88px 0; }

@media (max-width: 640px) {
  section { padding: 56px 0; }
  .container { padding: 0 20px; }
}

/* ============================================
   Disclaimer overlay
   ============================================ */
.disclaimer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(22, 35, 61, 0.92);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.disclaimer-overlay.hidden { display: none; }
.disclaimer-box {
  background: var(--color-bg);
  border-radius: var(--radius);
  max-width: 620px;
  max-height: 86vh;
  overflow-y: auto;
  padding: 40px 40px 32px;
}
.disclaimer-box h2 {
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.disclaimer-box p {
  color: var(--color-text-muted);
  font-size: 0.96rem;
  line-height: 1.65;
  max-width: none;
}
.disclaimer-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}
body.disclaimer-locked { overflow: hidden; }

/* ============================================
   Image placeholder system
   Drop a real file at the referenced path (e.g.
   images/founder.jpg) and it displays automatically.
   Until then, a labeled placeholder shows instead.
   ============================================ */
.img-placeholder {
  position: relative;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.img-placeholder.img-missing img { display: none; }
.img-placeholder.img-missing::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

/* Page banner (below header, above hero content) */
.page-banner.img-placeholder {
  width: 100%;
  aspect-ratio: 21 / 6;
  border-left: none;
  border-right: none;
  border-top: none;
}

.home-banner {
  height: 75vh;
  min-height: 520px;
  max-height: 780px;
  aspect-ratio: auto !important;
  align-items: stretch;
  justify-content: flex-start;
  border: none;
  background: var(--color-ink);
}
.home-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(10, 14, 28, .65) 0%, rgba(10, 14, 28, .15) 70%);
}
.home-banner-content {
  position: relative;
  z-index: 2;
  width: calc(100% - 64px);
  max-width: 1120px;
  margin: auto;
  padding: 48px 0;
  color: var(--color-bg);
  animation: banner-rise 0.8s ease-out 0.15s both;
}
.home-banner-eyebrow {
  margin: 0 0 20px;
  color: var(--color-gold-soft);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.5;
  text-transform: uppercase;
}
.home-banner h2 {
  max-width: 720px;
  margin-bottom: 22px;
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
}
.home-banner h2 em {
  color: var(--color-gold-soft);
  font-style: italic;
  font-weight: 400;
}
.home-banner-lede {
  max-width: 42ch;
  margin-bottom: 28px;
  color: var(--color-white);
  font-size: 1.08rem;
}
.home-banner-cta {
  background: var(--color-gold-soft);
  color: var(--color-ink);
}
.home-banner-cta:hover {
  background: var(--color-bg);
  color: var(--color-ink);
  box-shadow: 0 10px 22px rgba(10, 17, 31, 0.28);
}
@keyframes banner-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 700px) {
  .page-banner.img-placeholder { aspect-ratio: 16 / 10; }
  .home-banner {
    height: 75vh;
    min-height: 560px;
  }
  .home-banner-content {
    width: calc(100% - 40px);
    max-width: 620px;
    margin-top: auto;
    margin-bottom: 0;
    padding: 40px 0;
  }
  .home-banner-eyebrow {
    max-width: 30ch;
    margin-bottom: 16px;
    font-size: 0.68rem;
    letter-spacing: 0.13em;
  }
  .home-banner h2 {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }
  .home-banner-lede {
    font-size: 1rem;
  }
  .home-banner-cta {
    padding: 15px 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .home-banner-content { animation: none; }
}

/* ============================================
   Header / Nav
   ============================================ */
.site-header {
  border-bottom: 1px solid var(--color-line);
  background: var(--color-bg);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled {
  box-shadow: 0 4px 18px rgba(22, 35, 61, 0.07);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 32px;
  max-width: 1120px;
  margin: 0 auto;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--color-ink);
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand span { color: var(--color-brass-dark); }
.brand-logo {
  height: 70px;
  width: auto;
  display: block;
  max-width: none;
}
.footer-brand .brand-logo { height: 32px; }

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.97rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--color-brass-dark); }

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--color-brass);
  transition: right 0.25s ease;
}
.nav-links a:not(.nav-cta):hover::after { right: 0; }

.nav-links a.active { color: var(--color-ink); border-bottom: 2px solid var(--color-brass); }
.nav-links a.active::after { display: none; }

.nav-cta {
  background: var(--color-ink);
  color: var(--color-white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.nav-cta:hover { background: var(--color-brass-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: var(--cursor-link);
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
}

@media (max-width: 800px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--color-line);
  }
  .nav-links.open { display: flex; }
  .nav-links li { border-top: 1px solid var(--color-line); }
  .nav-links a { display: block; padding: 16px 32px; }
  .nav-cta { margin: 16px 32px; display: inline-block; }
  .nav-toggle { display: block; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  padding: 100px 0 90px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: end;
}

.hero-eyebrow-free h1 {
  max-width: 12ch;
}

.hero-lede {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  max-width: 46ch;
  opacity: 0;
  animation: rise 0.7s ease-out 0.15s forwards;
}

.hero-actions {
  display: flex;
  gap: 18px;
  margin-top: 28px;
  opacity: 0;
  animation: rise 0.7s ease-out 0.3s forwards;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  opacity: 0;
  animation: rise 0.7s ease-out forwards;
}

@media (prefers-reduced-motion: reduce) {
  body { animation: none; opacity: 1; }
  .hero h1, .hero-lede, .hero-actions, .reveal {
    animation: none;
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ============================================
   Reveal-on-scroll utility
   Add class="reveal" to any block; script.js adds
   "in-view" via IntersectionObserver as it enters
   the viewport.
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
/* Optional stagger for direct children of a revealed grid */
.reveal.stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal.stagger.in-view > * { opacity: 1; transform: translateY(0); }
.reveal.stagger.in-view > *:nth-child(2) { transition-delay: 0.08s; }
.reveal.stagger.in-view > *:nth-child(3) { transition-delay: 0.16s; }
.reveal.stagger.in-view > *:nth-child(4) { transition-delay: 0.24s; }
.reveal.stagger.in-view > *:nth-child(5) { transition-delay: 0.32s; }
.reveal.stagger.in-view > *:nth-child(6) { transition-delay: 0.4s; }

/* ============================================
   Scroll progress bar
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-brass);
  z-index: 101;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}

/* ============================================
   Back-to-top button
   ============================================ */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-line);
  background: var(--color-ink);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: var(--cursor-link);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: 0 10px 24px rgba(22, 35, 61, 0.18);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s, background 0.2s ease;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--color-brass-dark); }
.back-to-top svg { width: 18px; height: 18px; }
@media (max-width: 640px) {
  .back-to-top { right: 16px; bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top { transition: opacity 0.25s ease, visibility 0.25s; }
}

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: 0.98rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: var(--cursor-link);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-ink);
  color: var(--color-white);
}
.btn-primary:hover { background: var(--color-brass-dark); color: var(--color-white); box-shadow: 0 10px 22px rgba(142, 108, 72, 0.28); }
.btn-secondary {
  background: transparent;
  color: var(--color-ink);
  border-color: var(--color-line);
}
.btn-secondary:hover { border-color: var(--color-ink); color: var(--color-ink); box-shadow: 0 8px 18px rgba(22, 35, 61, 0.08); }

.hero-panel {
  background: var(--color-ink);
  color: var(--color-bg);
  padding: 36px;
  border-radius: var(--radius);
}
.hero-panel .stat {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-white);
  display: block;
  margin-bottom: 2px;
}
.hero-panel .stat-label {
  color: #C9CEDA;
  font-size: 0.92rem;
  padding-bottom: 20px;
  border-bottom: 1px solid #2C3A5C;
  margin-bottom: 20px;
}
.hero-panel .stat-label:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
}

/* ============================================
   Sections general
   ============================================ */
.section-head {
  max-width: 56ch;
  margin-bottom: 48px;
}

.section-alt {
  background: var(--color-bg-panel);
}

.divider {
  border: none;
  border-top: 1px solid var(--color-line);
  margin: 0;
}

/* Practice list (hairline-divided rows, not shadow cards) */
.practice-list {
  border-top: 1px solid var(--color-line);
}
.practice-row {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid var(--color-line);
  transition: background 0.25s ease, padding-left 0.25s ease;
}
.practice-row:hover {
  background: var(--color-bg-panel);
  padding-left: 12px;
  padding-right: 12px;
  margin: 0 -12px;
}
.practice-row h3 { margin-bottom: 6px; }
.practice-row p { margin: 0; color: var(--color-text-muted); }
.practice-row a {
  font-size: 0.94rem;
  white-space: nowrap;
  display: inline-block;
  transition: transform 0.2s ease;
}
.practice-row a:hover { transform: translateX(3px); }

@media (max-width: 700px) {
  .practice-row { grid-template-columns: 1fr; gap: 8px; }
}

/* Values / approach columns */
.columns-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}
.columns-3 > div { transition: transform 0.25s ease; }
.columns-3 > div:hover { transform: translateY(-4px); }
.columns-3 h3 { margin-bottom: 10px; }
.columns-3 p { color: var(--color-text-muted); margin: 0; }

@media (max-width: 800px) {
  .columns-3 { grid-template-columns: 1fr; gap: 32px; }
}

/* Attorney / people grid */
.people-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.person-photo.img-placeholder {
  aspect-ratio: 4/5;
  margin-bottom: 16px;
}
.person { transition: transform 0.25s ease; }
.person:hover { transform: translateY(-4px); }
.person-photo.img-placeholder { transition: box-shadow 0.25s ease; }
.person:hover .person-photo.img-placeholder { box-shadow: 0 14px 30px rgba(22, 35, 61, 0.14); }
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--color-brass-dark); font-size: 0.92rem; margin-bottom: 10px; }
.person p:last-child { color: var(--color-text-muted); font-size: 0.95rem; }

@media (max-width: 800px) {
  .people-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .people-grid { grid-template-columns: 1fr; }
}

/* Founder feature (team page) */
.founder-feature {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.founder-feature .img-placeholder {
  aspect-ratio: 4/5;
}
.founder-feature .role {
  color: var(--color-brass-dark);
  font-size: 0.98rem;
  margin-bottom: 18px;
}
@media (max-width: 800px) {
  .founder-feature { grid-template-columns: 1fr; gap: 28px; }
}

/* Footer socials */
.footer-socials {
  display: flex;
  gap: 18px;
  margin-top: 14px;
}
.footer-socials a {
  color: var(--color-text-muted);
  font-size: 0.94rem;
  border-bottom: 1px solid var(--color-line);
}
.footer-socials a:hover { color: var(--color-brass-dark); border-color: var(--color-brass-dark); }

/* Quote / testimonial */
.quote-block {
  border-left: 3px solid var(--color-brass);
  padding-left: 32px;
  max-width: 62ch;
}
.quote-block p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-ink);
  line-height: 1.4;
}
.quote-block cite {
  font-style: normal;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ============================================
   Testimonials teaser (home page)
   ============================================ */
.testi-teaser {
  background: var(--color-bg-panel);
  border-top: 1px solid var(--color-line);
  border-bottom: 1px solid var(--color-line);
}
.testi-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.testi-teaser-inner h2 { margin-bottom: 6px; }
.testi-teaser-inner p { margin: 0; color: var(--color-text-muted); }
.testi-teaser-inner .btn { flex-shrink: 0; }

/* ============================================
   Testimonials page: stats bar
   ============================================ */
.testi-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-line);
}
.testi-stat { display: flex; flex-direction: column; }
.testi-stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--color-ink);
  line-height: 1;
}
.testi-stat-label {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: 6px;
}

/* Filters */
.testi-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.testi-filter {
  background: none;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--color-text-muted);
  cursor: var(--cursor-link);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.testi-filter:hover { border-color: var(--color-ink); color: var(--color-ink); }
.testi-filter.active {
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-white);
}

/* Masonry-style grid */
.testimonials-grid {
  columns: 3 300px;
  column-gap: 24px;
}
.testimonial-card {
  break-inside: avoid;
  background: var(--color-white);
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  padding: 28px 26px;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.testimonial-card.in-view {
  opacity: 1;
  transform: translateY(0);
}
.testimonial-card:hover {
  border-color: var(--color-brass);
  box-shadow: 0 10px 28px rgba(22, 35, 61, 0.08);
}
.testimonial-card.testi-hidden { display: none; }

.testimonial-stars {
  color: var(--color-brass);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.08rem;
  color: var(--color-ink);
  line-height: 1.5;
  margin: 0 0 20px;
}
.testimonial-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-ink);
  color: var(--color-white);
  font-family: var(--font-display);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.testimonial-name {
  display: block;
  color: var(--color-ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.testimonial-source {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.testi-empty {
  text-align: center;
  color: var(--color-text-muted);
  padding: 40px 0;
}

@media (max-width: 700px) {
  .testimonials-grid { columns: 1; }
  .testi-stats { gap: 32px; }
}

/* Story feature (about page: text + image) */
.story-feature {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}
.story-image.img-placeholder {
  aspect-ratio: 3/4;
}
@media (max-width: 800px) {
  .story-feature { grid-template-columns: 1fr; gap: 28px; }
}

/* Timeline (history, real sequence, numbers appropriate) */
.timeline {
  display: grid;
  gap: 28px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-line);
}
.timeline-item:last-child { border-bottom: none; }
.timeline-item .year {
  font-family: var(--font-display);
  color: var(--color-brass-dark);
  font-size: 1.15rem;
  transition: transform 0.2s ease;
}
.timeline-item:hover .year { transform: translateX(3px); }

/* CTA band */
.cta-band {
  background: var(--color-ink);
  color: var(--color-bg);
  text-align: left;
}
.cta-band h2 { color: var(--color-white); max-width: 18ch; }
.cta-band p { color: #C9CEDA; }
.cta-band .btn-primary { background: var(--color-brass); }
.cta-band .btn-primary:hover { background: var(--color-brass-dark); }
.cta-band .btn-secondary { color: var(--color-white); border-color: #3B4A6B; }
.cta-band .btn-secondary:hover { border-color: var(--color-white); }

/* Additional expertise list (plain text, no boxes) */
.expertise-block { margin-bottom: 44px; }
.expertise-block:last-child { margin-bottom: 0; }
.expertise-block h3 { margin-bottom: 6px; }
.expertise-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  columns: 3;
  column-gap: 40px;
}
.expertise-list li {
  padding: 7px 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  border-bottom: 1px solid var(--color-line);
  break-inside: avoid;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.expertise-list li:hover {
  color: var(--color-ink);
  padding-left: 6px;
}
@media (max-width: 800px) {
  .expertise-list { columns: 2; }
}
@media (max-width: 560px) {
  .expertise-list { columns: 1; }
}

/* Contact page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.contact-info dl {
  margin: 0;
}
.contact-info dt {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin-top: 22px;
}
.contact-info dt:first-child { margin-top: 0; }
.contact-info dd {
  margin: 2px 0 0;
  font-size: 1.05rem;
  color: var(--color-ink);
}

.field {
  margin-bottom: 20px;
  padding-left: 12px;
  border-left: 2px solid transparent;
  transition: border-color 0.25s ease;
}
.field:focus-within {
  border-left-color: var(--color-brass);
}
.field label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
  transition: color 0.2s ease;
}
.field:focus-within label { color: var(--color-ink); }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:hover,
.field textarea:hover,
.field select:hover {
  border-color: var(--color-brass);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--color-brass);
  box-shadow: 0 0 0 3px rgba(169, 130, 91, 0.15);
}
.field textarea { resize: vertical; min-height: 120px; }

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

.form-success {
  display: none;
  background: var(--color-bg-panel);
  border: 1px solid var(--color-line);
  padding: 20px 24px;
  border-radius: var(--radius);
  margin-top: 20px;
}
.form-success.visible { display: block; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================
   Click-to-copy phone number
   ============================================ */
.phone-copy {
  position: relative;
  cursor: var(--cursor-link);
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font: inherit;
  color: inherit;
  text-align: left;
}
.footer-grid .phone-copy { color: var(--color-text-muted); font-size: 0.94rem; }
.footer-grid .phone-copy:hover { color: var(--color-brass-dark); }
.contact-info .phone-copy { color: var(--color-ink); font-size: 1.05rem; }
.contact-info .phone-copy:hover { color: var(--color-brass-dark); }
.phone-copy.btn { text-align: center; }

.phone-copy .copied-tip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-4px);
  background: var(--color-ink);
  color: var(--color-white);
  font-size: 0.76rem;
  padding: 5px 11px;
  border-radius: var(--radius);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  margin-bottom: 8px;
}
.phone-copy.copied .copied-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Map placeholder */
.map-frame {
  width: 100%;
  aspect-ratio: 16/7;
  border: 1px solid var(--color-line);
  filter: grayscale(0.3) contrast(1.05);
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  border-top: 1px solid var(--color-line);
  padding: 56px 0 32px;
  background: var(--color-bg-panel);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-ink);
  margin-bottom: 14px;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; }
.footer-grid a { color: var(--color-text-muted); font-size: 0.94rem; }
.footer-grid a:hover { color: var(--color-brass-dark); }
.footer-brand p { color: var(--color-text-muted); font-size: 0.94rem; max-width: 32ch; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-line);
  font-size: 0.85rem;
  color: var(--color-text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

a,
button,
[role="button"],
input[type="submit"],
label,
select,
summary {
 cursor: url("images/cursor-pointer.png") 6 0, pointer;
}
:root {
  --cursor-default: url("images/cursor.png") 0 0, auto;
  --cursor-link: url("images/cursor-pointer.png") 16 16, pointer;
}

body {
  cursor: var(--cursor-default);
}

a,
button,
[role="button"],
input[type="submit"],
label,
select,
summary {
  cursor: var(--cursor-link);
}

/* ============================================
   2026 editorial redesign — taste-skill pass
   ============================================ */
:root {
  --color-ink: #17243b;
  --color-ink-soft: #31415f;
  --color-bg: #f7f4ee;
  --color-bg-panel: #ece7dc;
  --color-text: #292a29;
  --color-text-muted: #686960;
  --color-brass: #a9825b;
  --color-brass-dark: #7e5d3e;
  --color-gold-soft: #d4b582;
  --color-sage: #66705f;
  --color-line: #d8d0c2;
  --color-white: #fffdf8;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --measure: 62ch;
  --radius: 2px;
}

body { background: var(--color-bg); }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}

.site-header { background: rgba(247,244,238,.92); backdrop-filter: blur(14px); border-bottom-color: rgba(216,208,194,.72); }
.nav { max-width: 1320px; padding: 16px 32px; }
.brand { gap: 13px; }
.brand-logo { width: 48px; height: 48px; object-fit: cover; border-radius: 2px; }
.brand-copy { display:flex; flex-direction:column; line-height:1.05; }
.brand-copy strong { font-family: var(--font-display); font-weight:500; font-size:1.12rem; }
.brand-copy small { margin-top:5px; font-size:.66rem; letter-spacing:.12em; text-transform:uppercase; color:var(--color-text-muted); }
.nav-links { gap: 28px; }
.nav-links a { font-size:.88rem; }
.nav-cta { padding: 11px 18px; }

.hero-editorial {
  min-height: min(820px, calc(100dvh - 81px));
  display:grid;
  grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr);
  gap: clamp(40px,6vw,96px);
  align-items:center;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(50px,7vw,100px) 48px;
}
.hero-media { order:2; position:relative; min-height: clamp(500px,66vh,700px); background:#ded8cb; border:0; box-shadow: 24px 24px 0 rgba(169,130,91,.12); overflow:hidden; }
.hero-media::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg, transparent 55%, rgba(23,36,59,.42)); pointer-events:none; }
.hero-media img { object-position:center top; }
.hero-media-caption { position:absolute; left:24px; right:24px; bottom:22px; z-index:2; display:flex; justify-content:space-between; color:#fffdf8; font-size:.72rem; letter-spacing:.14em; text-transform:uppercase; }
.hero-copy { order:1; align-self:center; max-width:720px; }
.eyebrow { margin:0 0 20px; color:var(--color-brass-dark); font-size:.72rem; font-weight:700; letter-spacing:.17em; text-transform:uppercase; }
.hero-copy h1 { font-size:clamp(4rem,7vw,7.5rem); line-height:.88; letter-spacing:-.055em; margin-bottom:30px; max-width:8ch; }
.hero-copy h1 em { color:var(--color-brass-dark); font-style:italic; font-weight:400; }
.hero-kicker { font-family:var(--font-display); font-size:clamp(1.45rem,2vw,2rem); line-height:1.2; max-width:20ch; margin-bottom:20px; color:var(--color-ink); }
.hero-lede { max-width:58ch; font-size:1rem; color:var(--color-text-muted); }
.hero-actions { display:flex; align-items:center; gap:24px; flex-wrap:wrap; margin-top:30px; }
.hero-note { display:flex; align-items:center; gap:14px; margin-top:42px; color:var(--color-text-muted); font-size:.7rem; letter-spacing:.1em; text-transform:uppercase; }
.hero-note .rule { width:48px; height:1px; background:var(--color-brass); }
.btn { transition:transform .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease; }
.btn:hover { transform:translateY(-2px); }
.btn:active { transform:translateY(1px) scale(.985); }
.text-link { display:inline-flex; align-items:center; gap:10px; color:var(--color-ink); font-weight:600; font-size:.88rem; }
.text-link span { transition:transform .25s ease; }
.text-link:hover { color:var(--color-brass-dark); }
.text-link:hover span { transform:translate(3px,-3px); }

.marquee-strip { overflow:hidden; border-top:1px solid var(--color-line); border-bottom:1px solid var(--color-line); background:var(--color-ink); color:var(--color-bg); }
.marquee-track { display:flex; justify-content:center; gap:24px; padding:15px 20px; white-space:nowrap; font-size:.68rem; font-weight:600; letter-spacing:.13em; text-transform:uppercase; }
.marquee-track i { color:var(--color-gold-soft); font-style:normal; }

.section-space { padding:clamp(80px,10vw,150px) 0; }
.container { max-width:1280px; }
.intro-grid { display:grid; grid-template-columns:72px minmax(0,1.25fr) minmax(260px,.75fr); gap:40px; align-items:start; }
.section-index { color:var(--color-brass-dark); font-size:.72rem; letter-spacing:.15em; padding-top:9px; }
.section-head h2 { font-size:clamp(2.7rem,5vw,5.2rem); letter-spacing:-.045em; max-width:13ch; }
.intro-copy { padding-top:52px; }
.intro-copy p { color:var(--color-text-muted); font-size:1rem; }

.section-bar { display:flex; justify-content:space-between; align-items:end; border-bottom:1px solid var(--color-line); padding-bottom:20px; margin-bottom:28px; }
.section-bar .eyebrow { margin:0; }
.practice-grid { display:grid; grid-template-columns:1.25fr .75fr .9fr; grid-auto-rows:minmax(220px,auto); gap:14px; }
.practice-card { position:relative; min-height:250px; padding:30px; background:var(--color-bg-panel); border:1px solid transparent; display:flex; flex-direction:column; justify-content:flex-end; overflow:hidden; transition:transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.practice-card:hover { transform:translateY(-5px); box-shadow:0 18px 42px rgba(38,48,63,.11); border-color:var(--color-line); }
.practice-card-large { grid-column:span 2; min-height:350px; }
.practice-card-dark { grid-row:span 2; background:var(--color-ink); color:var(--color-bg); }
.practice-card-offset { margin-top:52px; }
.practice-card-tall { min-height:330px; }
.practice-card-wide { grid-column:span 2; min-height:220px; }
.practice-card h3 { font-size:clamp(1.5rem,2.3vw,2.2rem); margin:0 0 12px; }
.practice-card p { max-width:45ch; color:var(--color-text-muted); margin:0 0 18px; font-size:.91rem; }
.practice-card-dark h3, .practice-card-dark .card-link { color:var(--color-bg); }
.practice-card-dark p { color:#c5c9d0; }
.card-number { position:absolute; top:22px; left:25px; color:var(--color-brass-dark); font-size:.68rem; letter-spacing:.14em; }
.practice-card-dark .card-number { color:var(--color-gold-soft); }
.card-link { color:var(--color-ink); font-size:.78rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.card-link span { display:inline-block; margin-left:5px; transition:transform .2s ease; }
.practice-card:hover .card-link span { transform:translate(3px,-3px); }

.portrait-break { background:var(--color-bg-panel); overflow:hidden; }
.portrait-break-grid { display:grid; grid-template-columns:minmax(300px,.85fr) minmax(0,1.15fr); gap:clamp(50px,8vw,120px); align-items:center; }
.portrait-break-image { min-height:560px; border:0; }
.portrait-break-copy { padding-right:5vw; }
.portrait-break-copy blockquote { margin:0 0 30px; font-family:var(--font-display); color:var(--color-ink); font-size:clamp(2.5rem,4.5vw,5rem); line-height:1; letter-spacing:-.04em; }
.portrait-break-copy > p:not(.eyebrow) { max-width:50ch; color:var(--color-text-muted); }

.process-section { background:var(--color-ink); color:var(--color-bg); }
.process-section h2 { color:var(--color-bg); }
.process-section .eyebrow { color:var(--color-gold-soft); }
.split-head { display:grid; grid-template-columns:1.2fr .8fr; gap:80px; align-items:end; margin-bottom:70px; }
.split-head > p { color:#c4c9d2; max-width:42ch; }
.process-line { display:grid; grid-template-columns:repeat(5,1fr); position:relative; }
.process-line::before { content:''; position:absolute; left:0; right:0; top:9px; height:1px; background:#46536d; }
.process-step { position:relative; padding:42px 24px 0 0; }
.process-step span { position:absolute; top:0; left:0; width:18px; height:18px; border:1px solid var(--color-gold-soft); background:var(--color-ink); color:var(--color-gold-soft); border-radius:50%; font-size:0; }
.process-step h3 { color:var(--color-bg); font-size:1.25rem; margin-bottom:7px; }
.process-step p { color:#aeb5c0; font-size:.88rem; }

.testimonial-feature { border-bottom:1px solid var(--color-line); }
.testimonial-feature-grid { display:grid; grid-template-columns:72px 1fr .35fr; gap:40px; }
.testimonial-quote blockquote { margin:0 0 34px; max-width:22ch; font-family:var(--font-display); font-size:clamp(2.5rem,5vw,5.7rem); line-height:.98; letter-spacing:-.045em; color:var(--color-ink); }
.testimonial-mark { font-family:var(--font-display); font-size:16rem; line-height:.6; color:rgba(169,130,91,.18); align-self:end; }

.cta-editorial { display:grid; grid-template-columns:1fr 1fr; min-height:620px; background:var(--color-ink); color:var(--color-bg); }
.cta-editorial-media { min-height:620px; border:0; }
.cta-editorial-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(50px,7vw,110px); }
.cta-editorial-copy h2 { color:var(--color-bg); font-size:clamp(3rem,5.5vw,6rem); line-height:.94; letter-spacing:-.045em; max-width:8ch; }
.cta-editorial-copy > p:not(.eyebrow) { color:#c7cbd2; max-width:42ch; }
.cta-editorial .eyebrow { color:var(--color-gold-soft); }
.cta-editorial .btn-secondary { color:var(--color-bg); border-color:#526079; }

.site-footer { background:#ebe6dc; border-top:0; padding:80px 0 30px; }
.footer-grid { grid-template-columns:1.5fr .7fr 1fr .9fr; gap:55px; }
.footer-grid h4 { font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; }
.footer-brand p { max-width:30ch; }
.footer-socials { display:flex; gap:16px; margin-top:20px; }
.footer-bottom { border-top-color:#d2cabb; }

.disclaimer-box { box-shadow:0 30px 80px rgba(15,25,43,.2); }

@media (max-width: 980px) {
  .hero-editorial { grid-template-columns:1fr 1fr; padding:50px 32px 80px; }
  .hero-media { min-height:540px; }
  .hero-copy h1 { font-size:clamp(3.5rem,7vw,5.6rem); }
  .intro-grid, .testimonial-feature-grid { grid-template-columns:44px 1fr; }
  .intro-copy { grid-column:2; padding-top:0; }
  .testimonial-mark { display:none; }
  .practice-grid { grid-template-columns:1fr 1fr; }
  .practice-card-large, .practice-card-wide { grid-column:span 2; }
  .practice-card-dark { grid-row:auto; }
  .split-head { gap:40px; }
  .process-line { grid-template-columns:1fr 1fr; gap:38px 24px; }
  .process-line::before { display:none; }
  .cta-editorial, .portrait-break-grid { grid-template-columns:1fr; }
  .cta-editorial-media { min-height:480px; }
  .portrait-break-image { min-height:500px; }
}

@media (max-width: 700px) {
  .nav { padding:13px 20px; }
  .brand-logo { width:42px; height:42px; }
  .brand-copy strong { font-size:1rem; }
  .brand-copy small { font-size:.56rem; }
  .nav-links a { padding-left:20px; padding-right:20px; }
  .nav-cta { margin:14px 20px; }
  .hero-editorial { display:flex; flex-direction:column; min-height:auto; padding:35px 20px 70px; gap:36px; }
  .hero-media { order:1; width:100%; min-height:68vh; max-height:680px; box-shadow:12px 12px 0 rgba(169,130,91,.12); }
  .hero-copy { order:2; }
  .hero-copy h1 { font-size:clamp(3.4rem,17vw,5.2rem); }
  .hero-lede { font-size:.96rem; }
  .hero-note { margin-top:30px; }
  .marquee-track { justify-content:flex-start; overflow:hidden; font-size:.6rem; }
  .section-space { padding:76px 0; }
  .intro-grid, .testimonial-feature-grid { grid-template-columns:1fr; gap:20px; }
  .section-index { padding-top:0; }
  .intro-copy { grid-column:auto; }
  .section-head h2 { font-size:clamp(2.5rem,11vw,4rem); }
  .section-bar { align-items:flex-start; gap:15px; flex-direction:column; }
  .practice-grid { display:flex; flex-direction:column; gap:12px; }
  .practice-card, .practice-card-large, .practice-card-wide, .practice-card-tall, .practice-card-offset { min-height:270px; margin-top:0; }
  .practice-card-dark { min-height:310px; }
  .portrait-break-copy { padding:0 20px; }
  .portrait-break-image { min-height:440px; }
  .portrait-break-copy blockquote { font-size:clamp(2.7rem,12vw,4rem); }
  .split-head { grid-template-columns:1fr; gap:20px; margin-bottom:45px; }
  .process-line { grid-template-columns:1fr; gap:28px; }
  .process-step { padding:0 0 0 38px; }
  .process-step span { top:2px; }
  .cta-editorial-media { min-height:380px; }
  .cta-editorial-copy { padding:65px 20px 75px; }
  .cta-editorial-copy h2 { font-size:clamp(3rem,15vw,5rem); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:38px 24px; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns:1fr; }
  .hero-actions { align-items:flex-start; flex-direction:column; }
  .hero-actions .btn { width:100%; text-align:center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition-duration:.01ms !important; animation-duration:.01ms !important; }
}
