/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}



  /* ===== RESET & BASE ===== */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; font-size: 16px; }

  :root {
    --dark-brown:   #1F2F46;
    --warm-brown:   #2E415C;
    --neutral-grey: #4A4A4A;
    --light-bg:     #F5F5F5;
    --accent:       #D6C29A;
    --text-main:    #4A4A4A;
    --white:        #FFFFFF;
    --border:       rgba(217,217,217,0.85);
    --serif:        'Playfair Display', Georgia, serif;
    --sans:         'Lato', 'Helvetica Neue', sans-serif;
    --nav-h:        76px;
    --section-pad:  96px;
    --max-w:        1220px;
    --transition:   0.28s ease;
  }

  body {
    font-family: var(--sans);
    color: var(--text-main);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
  }

  /* ===== UTILITY ===== */
  .container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
  .serif { font-family: var(--serif); }
  img { max-width: 100%; display: block; }

  /* ===== NAVIGATION ===== */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    height: var(--nav-h);
    background: rgba(255,255,255,0.97);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(8px);
    transition: box-shadow var(--transition);
  }
  nav.scrolled { box-shadow: 0 2px 24px rgba(31,47,70,0.10); }
  .nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 32px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
  padding-left: 1px;
  padding-right: 32px;

}

  .nav-logo {
    display: flex; flex-direction: column; gap: 1px; text-decoration: none;
  }
  .nav-logo-name {
    font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
    color: var(--dark-brown); letter-spacing: 0.02em; line-height: 1.1;
  }
  .nav-logo-tag {
    font-size: 0.64rem; color: var(--warm-brown); letter-spacing: 0.18em;
    text-transform: uppercase; font-weight: 700;
  }
  .nav-links {
    display: flex; align-items: center; gap: 20px; list-style: none;
  }
 .nav-links a {
    font-size: 0.72rem; color: var(--text-main); text-decoration: none;
    letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700;
    transition: color var(--transition); position: relative; padding-bottom: 3px;
    white-space: nowrap;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 1px;
    background: var(--accent); transition: width 0.3s ease, left 0.3s ease;
  }
  .nav-links a:hover::after { width: 100%; left: 0; }
  .nav-links a:hover { color: var(--dark-brown); }
  .nav-links a:hover::after { width: 100%; }
  .btn {
    display: inline-block; padding: 13px 30px;
    background: var(--dark-brown); color: var(--white);
    font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
    border: 2px solid var(--dark-brown); cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
  }
  .btn:hover { background: var(--warm-brown); border-color: var(--warm-brown); color: var(--white); }
  @keyframes btnPulse { 0%,100%{box-shadow:0 0 0 0 rgba(214,194,154,0.4)} 50%{box-shadow:0 0 0 8px rgba(214,194,154,0)} }
  .nav-cta { animation: btnPulse 2.5s ease-in-out infinite; }
  .btn-accent {
    background: var(--accent); border-color: var(--accent); color: var(--text-main);
  }
  .btn-accent:hover { background: var(--warm-brown); border-color: var(--warm-brown); color: var(--white); }
  .btn-outline {
    background: transparent; border: 2px solid var(--white); color: var(--white);
  }
  .btn-outline:hover { background: var(--white); color: var(--dark-brown); }

  /* Hamburger */
  .hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
  .hamburger span {
    width: 26px; height: 2px; background: var(--dark-brown);
    transition: all 0.3s ease; display: block;
  }
  .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu {
    display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: var(--white); z-index: 999; padding: 32px;
    flex-direction: column; align-items: stretch; text-align: right;
    overflow-y: auto;
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a {
    font-family: var(--serif); font-size: 1.2rem; font-weight: 500;
    color: var(--dark-brown); text-decoration: none;
    border-bottom: 1px solid var(--border); padding: 16px 0;
    transition: color var(--transition);
  }
  .mobile-menu a:hover { color: var(--warm-brown); }

  
  /* ===== HERO ===== */
  .hero {
    min-height: 100vh; display: flex; align-items: center;
    background: var(--dark-brown); position: relative; overflow: hidden;
    padding-top: var(--nav-h);
  }
  .hero-bg {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, #1F2F46 0%, #1F2F46 40%, #2E415C 70%, #2E415C 100%);
    opacity: 0.95;
  }
  /* Subtle texture overlay */
  .hero-bg::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(255,255,255,0.018) 80px),
      repeating-linear-gradient(90deg, transparent, transparent 79px, rgba(255,255,255,0.018) 80px);
    pointer-events: none;
  }
  .hero-inner {
    position: relative; z-index: 2;
    max-width: var(--max-w); margin: 0 auto; padding: 80px 32px;
    display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center;
  }
  .hero-eyebrow {
    font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: var(--accent); font-weight: 700; margin-bottom: 28px;
    display: flex; align-items: center; gap: 14px;
  }
  .hero-eyebrow::before {
    content: ''; display: block; width: 32px; height: 1px; background: var(--accent);
  }
  .hero h1 {
    font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 500; color: var(--white); line-height: 1.12;
    margin-bottom: 28px; letter-spacing: -0.01em;
  }
  .hero h1 em { font-style: italic; color: var(--accent); font-size: 1.1em; }
  .hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; opacity: 0; z-index: 1; pointer-events: none;
    transition: opacity 0.6s ease;
  }
  .hero-video.is-active { opacity: 0.18; }
  .hero-sub {
    font-size: 1.05rem; color: rgba(255,255,255,0.72); line-height: 1.75;
    max-width: 520px; margin-bottom: 48px; font-weight: 300;
  }
  .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
  .hero-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
    padding: 40px 36px; backdrop-filter: blur(4px);
  }
  .hero-stat { margin-bottom: 32px; }
  .hero-stat:last-child { margin-bottom: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 32px; }
  .hero-stat-num {
    font-family: var(--serif); font-size: 2.6rem; font-weight: 600;
    color: var(--accent); line-height: 1; margin-bottom: 6px;
  }
  .hero-stat-label { font-size: 0.78rem; color: rgba(255,255,255,0.6); letter-spacing: 0.1em; text-transform: uppercase; }
  /* ===== SECTION HEADERS ===== */
  .section-header { margin-bottom: 64px; }
  .section-eyebrow {
    font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--warm-brown); font-weight: 700; margin-bottom: 16px;
    display: flex; align-items: center; gap: 12px;
  }
  .section-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--warm-brown); }
  .section-title {
    font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.9rem);
    font-weight: 500; color: var(--dark-brown); line-height: 1.18; letter-spacing: -0.01em;
  }
  .section-title em { font-style: italic; }
  .section-lead {
    margin-top: 20px; font-size: 1.05rem; color: var(--neutral-grey);
    max-width: 580px; line-height: 1.75; font-weight: 300;
  }
  .section-divider {
    width: 48px; height: 2px; background: var(--accent);
    margin-top: 24px;
  }

  /* ===== ABOUT STRIP (homepage) ===== */
  .about-strip {
    padding: var(--section-pad) 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }
  .about-strip-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
  }
  .about-strip-visual {
    position: relative;
  }
  .about-image-wrap {
    position: relative;
  }
  .about-strip-img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    background: linear-gradient(135deg, #F5F5F5 0%, #D9D9D9 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-size: 1rem; color: var(--neutral-grey);
    font-style: italic;
  }
  /* Melbourne placeholder illustration */
  .about-placeholder {
    width: 100%; aspect-ratio: 4/3;
    background: linear-gradient(160deg, #1F2F46 0%, #1F2F46 50%, #2E415C 100%);
    position: relative; overflow: hidden; display: flex; align-items: flex-end;
  }
  .about-placeholder svg { position: absolute; bottom: 0; left: 0; right: 0; }
  .about-badge {
    position: absolute; bottom: -20px; right: -20px;
    width: 120px; height: 120px;
    background: var(--accent); display: flex; flex-direction: column;
    align-items: center; justify-content: center;
  }
  .about-badge-num { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--dark-brown); line-height: 1; }
  .about-badge-txt { font-size: 0.6rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dark-brown); text-align: center; margin-top: 4px; }
  .about-content p { color: var(--text-main); font-size: 1rem; line-height: 1.8; margin-bottom: 18px; font-weight: 300; }
  .about-content p:last-of-type { margin-bottom: 32px; }
  .about-values {
    display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 36px;
  }
  .about-value {
    padding: 20px; background: #F5F5F5; border-left: 2px solid var(--accent);
  }
  .about-value-title {
    font-family: var(--serif); font-size: 0.95rem; font-weight: 600;
    color: var(--dark-brown); margin-bottom: 4px;
  }
  .about-value-text { font-size: 0.82rem; color: var(--neutral-grey); line-height: 1.5; }
/* ─── PRACTICE AREAS ─── */
.practices-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--section-pad) 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}
.practice-card {
  background: var(--light-bg);
  padding: 2.8rem 2.2rem;
  cursor: pointer;
  position: relative;
  transition: background var(--transition), transform 0.3s ease, box-shadow 0.3s ease;
  display: flex; flex-direction: column;
}
.practice-card:hover { background: #eceef2; transform: translateY(-4px); box-shadow: 0 12px 32px rgba(31,47,70,0.10); }
.practice-card:active { background: #eceef2; }
.practice-card-head { display: flex; flex-direction: column; }
.practice-card-icon {
  width: 44px; height: 44px; background: var(--dark-brown); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.card-num {
  font-family: var(--serif);
  font-size: 3rem; color: var(--border);
  font-weight: 600; line-height: 1; margin-bottom: 1.2rem;
}
.practice-card h3 {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 600; line-height: 1.3;
  color: var(--dark-brown); margin-bottom: 0.9rem;
}
.practice-card p {
  font-family: var(--sans);
  font-size: 0.875rem; color: var(--neutral-grey); line-height: 1.65;
  flex: 1;
}
.card-tags {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.5rem;
}
.card-tag {
  font-family: var(--sans);
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
  border: 1px solid var(--border); color: var(--neutral-grey);
  padding: 0.3rem 0.6rem;
}
.practice-card-cta {
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start; margin-top: 1.5rem;
  font-family: var(--sans); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent);
}
.practice-card-arrow { display: inline-block; transition: transform var(--transition); }
.practice-card:hover .practice-card-arrow,
.practice-card:active .practice-card-arrow { transform: translateX(4px); }

/* ─── PRACTICE DETAIL ─── */
.enquiry-form-iframe { display: block; width: 100%; }
@media (max-width: 767px) {
  .enquiry-form-iframe { height: var(--mobile-h); }
  .enquiry-form-grid { grid-template-columns: 1fr !important; }
}
.enquiry-form-toggle {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); border: 2px solid var(--accent); color: var(--text-main);
  padding: 15px 32px; font-family: var(--sans); font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  animation: btnPulse 2.5s ease-in-out infinite;
}
.enquiry-form-toggle:hover { background: var(--warm-brown); border-color: var(--warm-brown); color: var(--white); }
.enquiry-form-toggle[aria-expanded="true"] {
  background: transparent; border-color: var(--dark-brown); color: var(--dark-brown);
  animation: none;
}
.enquiry-form-toggle[aria-expanded="true"]:hover { background: var(--dark-brown); color: var(--white); }
.enquiry-form-toggle-icon { display: inline-block; font-size: 0.9rem; transition: transform var(--transition); }
.enquiry-form-toggle[aria-expanded="true"] .enquiry-form-toggle-icon { transform: rotate(180deg); }
.enquiry-form-panel { margin-top: 1.5rem; }
.detail-hero { background: var(--dark-brown); }
.detail-hero-inner {
  max-width: var(--max-w); margin: 0 auto;
  padding: 4rem 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  align-items: end;
}
.detail-hero-left .d-ghost-num {
  font-family: var(--serif);
  font-size: 7rem; color: rgba(214,194,154,0.1);
  font-weight: 700; line-height: 1; margin-bottom: -1rem;
}
.detail-hero-left h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white); font-weight: 400; line-height: 1.15;
}
.detail-hero-left h1 em { font-style: italic; color: var(--accent); }
.detail-hero-left .d-eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1rem; display: block;
}
.detail-hero-right p {
  font-family: var(--sans);
  color: rgba(255,255,255,0.55); line-height: 1.8; font-size: 0.95rem;
}
.gold-bar {
  height: 3px; background: var(--accent);
  max-width: var(--max-w); margin: 0 auto;
}
.detail-body {
  max-width: var(--max-w); margin: 0 auto;
  padding: var(--section-pad) 3rem;
  display: grid; grid-template-columns: 2fr 1fr; gap: 5rem;
}
.detail-main h2 {
  font-family: var(--serif);
  font-size: 1.7rem; font-weight: 600;
  color: var(--dark-brown); margin-bottom: 1.4rem;
}
.detail-main p {
  font-family: var(--sans);
  font-size: 0.95rem; color: var(--text-main); line-height: 1.85;
  margin-bottom: 1.3rem;
}
.sidebar-box {
  border: 1px solid var(--border);
  padding: 2rem; margin-bottom: 1.5rem;
}
.sidebar-box h4 {
  font-family: var(--sans);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 1.2rem;
}
.sidebar-tags { display: flex; flex-direction: column; gap: 0.6rem; }
.sidebar-tag {
  font-family: var(--sans);
  font-size: 0.85rem; color: var(--text-main); padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 0.6rem;
}
.sidebar-tag::before {
  content: ''; width: 4px; height: 4px; background: var(--accent);
  border-radius: 50%; flex-shrink: 0;
}
.sidebar-tag:last-child { border-bottom: none; }
.sidebar-team { display: flex; flex-direction: column; gap: 1rem; }
.team-member {
  display: flex; align-items: center; gap: 0.85rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.team-member:last-child { padding-bottom: 0; border-bottom: none; }
.team-member img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; object-position: top center;
  border: 2px solid var(--accent); flex-shrink: 0;
}
.team-member .team-name {
  font-family: var(--serif); font-size: 0.92rem; font-weight: 600;
  color: var(--dark-brown); line-height: 1.2;
}
.team-member .team-role {
  font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--warm-brown); font-weight: 700;
  margin-top: 3px;
}
.detail-cta-box { background: var(--dark-brown); padding: 2rem; }
.detail-cta-box h4 {
  font-family: var(--sans);
  font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 0.8rem;
}
.detail-cta-box p {
  font-family: var(--sans);
  color: rgba(255,255,255,0.55); font-size: 0.85rem;
  line-height: 1.7; margin-bottom: 1.4rem;
}
.btn-practice-primary {
  display: block; text-align: center;
  padding: 0.8rem 1.5rem; margin-bottom: 0.6rem;
  font-family: var(--sans);
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent); color: var(--dark-brown);
  text-decoration: none; transition: background var(--transition);
}
.btn-practice-primary:hover { background: #e0cfa8; }
.btn-practice-outline {
  display: block; text-align: center;
  padding: 0.8rem 1.5rem;
  font-family: var(--sans);
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.25); color: var(--white);
  text-decoration: none; transition: all var(--transition);
}
.btn-practice-outline:hover { border-color: var(--accent); color: var(--accent); }
.related-section {
  border-top: 1px solid var(--border);
  max-width: var(--max-w); margin: 0 auto; padding: 4rem 3rem;
}
.related-section h3 {
  font-family: var(--serif);
  font-size: 1.4rem; color: var(--dark-brown); margin-bottom: 2rem;
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--border);
}
.related-card {
  background: var(--light-bg); padding: 1.8rem 1.5rem;
  cursor: pointer; transition: background var(--transition);
  display: flex; align-items: center; gap: 1rem;
  text-decoration: none;
}
.related-card:hover { background: #eceef2; }
.related-card .r-num {
  font-family: var(--serif);
  font-size: 1.8rem; color: var(--border); font-weight: 700;
  flex-shrink: 0; line-height: 1;
}
.related-card h4 {
  font-family: var(--serif);
  font-size: 1rem; font-weight: 600; color: var(--dark-brown);
}
.related-card .arr { color: var(--accent); margin-left: auto; flex-shrink: 0; }
.practice-back-link {
  text-align: center; padding: 2rem 0 4rem;
}
.practice-back-link a {
  font-family: var(--sans);
  color: var(--accent); font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none;
  transition: opacity var(--transition);
}
.practice-back-link a:hover { opacity: 0.7; }

@media (max-width: 768px) {
  .practices-grid { grid-template-columns: 1fr; padding: 3rem 1.5rem; }
  .practice-card { padding: 1.8rem 1.6rem; }
  .practice-card-head { flex-direction: row; align-items: center; gap: 16px; }
  .practice-card-icon { margin-bottom: 0; flex-shrink: 0; }
  .card-num { font-size: 2rem; margin-bottom: 0; }
  .practice-card h3 { margin-top: 1.2rem; }
  .practice-card p { display: none; }
  .detail-hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .detail-body { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 1.5rem; }
  .related-grid { grid-template-columns: 1fr; }
  .related-section { padding: 3rem 1.5rem; }
}

  /* ===== WHY CHOOSE US ===== */
  .why-section {
    padding: var(--section-pad) 0;
    background: var(--dark-brown); position: relative; overflow: hidden;
  }
  .why-section::before {
    content: ''; position: absolute; top: -60px; right: -60px;
    width: 320px; height: 320px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.06);
  }
  .why-section::after {
    content: ''; position: absolute; bottom: -100px; left: -80px;
    width: 400px; height: 400px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.04);
  }
  .why-section .section-eyebrow { color: var(--accent); }
  .why-section .section-eyebrow::before { background: var(--accent); }
  .why-section .section-title { color: var(--white); }
  .why-section .section-lead { color: rgba(255,255,255,0.6); max-width: none; }
  .why-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    margin-top: 56px; position: relative; z-index: 2;
  }
  .why-item {
    padding: 44px 40px; background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: background var(--transition);
  }
  .why-item:hover { background: rgba(255,255,255,0.07); }
  .why-item-num {
    font-family: var(--serif); font-size: 0.8rem; color: var(--accent);
    letter-spacing: 0.1em; margin-bottom: 20px; display: block;
  }
  .why-item-title {
    font-family: var(--serif); font-size: 1.2rem; font-weight: 600;
    color: var(--white); margin-bottom: 12px;
  }
  .why-item-text { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.75; font-weight: 300; }

  /* ===== TESTIMONIALS ===== */
  .testimonials-section { padding: var(--section-pad) 0; background: var(--white); }
  .testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 56px; }
  .testimonial-card {
    padding: 40px; background: #F5F5F5;
    border-top: 2px solid var(--border); position: relative;
    transition: border-color var(--transition);
  }
  .testimonial-card:hover { border-top-color: var(--accent); }
  .testimonial-quote {
    font-family: var(--serif); font-size: 3rem; line-height: 1;
    color: var(--accent); margin-bottom: 16px; opacity: 0.6;
  }
  .testimonial-text {
    font-size: 0.92rem; color: var(--text-main); line-height: 1.8;
    font-style: italic; margin-bottom: 28px; font-family: var(--serif); font-weight: 400;
  }
  .testimonial-author { border-top: 1px solid var(--border); padding-top: 20px; }
  .testimonial-name { font-size: 0.85rem; font-weight: 700; color: var(--dark-brown); letter-spacing: 0.05em; }
  .testimonial-role { font-size: 0.75rem; color: var(--neutral-grey); margin-top: 3px; letter-spacing: 0.05em; }

  /* ===== CTA STRIP ===== */
  .cta-strip {
    background: var(--light-bg); padding: 72px 0; border-top: 1px solid rgba(217,217,217,0.18);
  }
  .cta-strip-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 40px;
  }
  .cta-strip-text h2 {
    font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500; color: var(--dark-brown); line-height: 1.2;
  }
  .cta-strip-text p { color: var(--warm-brown); font-size: 0.95rem; margin-top: 8px; }
  .cta-actions { display: flex; gap: 14px; flex-shrink: 0; }

  /* ===== FOOTER ===== */
  footer {
    background: #1F2F46; color: rgba(255,255,255,0.55); padding: 72px 0 0;
  }
  .footer-inner {
    display: grid; grid-template-columns: 1.7fr 0.9fr 1fr 1.15fr 0.95fr; gap: 44px;
    padding-bottom: 64px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand-name {
    font-family: var(--serif); font-size: 1.4rem; font-weight: 600;
    color: var(--white); margin-bottom: 4px;
  }
  .footer-brand-tag {
    font-size: 0.62rem; letter-spacing: 0.2em; color: var(--accent); text-transform: uppercase; font-weight: 700;
  }
  .footer-about { font-size: 0.84rem; line-height: 1.75; margin-top: 20px; font-weight: 300; }
  .footer-col-title {
    font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--white); font-weight: 700; margin-bottom: 24px;
  }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 12px; }
  .footer-links a {
    font-size: 0.84rem; color: rgba(255,255,255,0.5); text-decoration: none;
    transition: color var(--transition);
  }
  .footer-links a:hover { color: var(--accent); }
  .footer-office-note { font-size: 0.78rem; font-style: italic; color: rgba(255,255,255,0.4); margin-bottom: 18px; }
  .footer-contact-item { display: flex; gap: 12px; margin-bottom: 16px; }
  .footer-contact-item svg { width: 16px; height: 16px; color: var(--accent); flex-shrink: 0; margin-top: 2px; }
  .footer-contact-text { font-size: 0.84rem; line-height: 1.5; }
  .footer-contact-label { color: rgba(255,255,255,0.35); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 2px; }
  .footer-contact-val { color: rgba(255,255,255,0.65); }
  .footer-logos {
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 32px;
    padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-logos img { height: 44px; width: auto; filter: brightness(0) invert(1); opacity: 0.55; transition: opacity var(--transition); }
  .footer-logos img:hover { opacity: 0.9; }
  .footer-bottom {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
    padding: 24px 0; font-size: 0.75rem; color: rgba(255,255,255,0.28);
  }
  .footer-bottom-links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
  .footer-bottom-links a { color: rgba(255,255,255,0.28); text-decoration: none; transition: color var(--transition); white-space: nowrap; }
  .footer-bottom-links a:hover { color: rgba(255,255,255,0.6); }
  @media (max-width: 1210px) {
    .footer-bottom { flex-direction: column; text-align: center; }
  }

  /* ===== ABOUT PAGE ===== */
  .page-hero {
    background: var(--dark-brown); padding: calc(var(--nav-h) + 60px) 0 72px;
    position: relative; overflow: hidden;
  }
  .page-hero::after {
    content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 40%;
    background: linear-gradient(to right, transparent, rgba(46,65,92,0.12));
  }
  .page-hero-eyebrow {
    font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--accent); font-weight: 700; margin-bottom: 18px;
    display: flex; align-items: center; gap: 12px;
  }
  .page-hero-eyebrow::before { content: ''; display: block; width: 24px; height: 1px; background: var(--accent); }
  .page-hero h1 {
    font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 500; color: var(--white); line-height: 1.15;
  }
  .page-hero p {
    font-size: 1.05rem; color: rgba(255,255,255,0.6); margin-top: 18px;
    max-width: 560px; line-height: 1.75; font-weight: 300;
  }

  /* About firm overview */
  .firm-overview { padding: var(--section-pad) 0; background: var(--white); }
  .firm-overview-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .firm-text p { font-size: 1rem; color: var(--text-main); line-height: 1.85; margin-bottom: 20px; font-weight: 300; }
  .firm-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
    background: var(--border); margin-bottom: 40px;
  }
  .firm-stat {
    padding: 28px; background: #F5F5F5;
  }
  .firm-stat-n { font-family: var(--serif); font-size: 2rem; font-weight: 600; color: var(--dark-brown); line-height: 1; }
  .firm-stat-l { font-size: 0.72rem; color: var(--neutral-grey); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 6px; }
  .expertise-list { list-style: none; }
  .expertise-list li {
    padding: 14px 0; border-bottom: 1px solid var(--border);
    font-size: 0.88rem; color: var(--text-main); display: flex; align-items: center; gap: 12px;
  }
  .expertise-list li::before { content: '—'; color: var(--accent); font-family: var(--serif); }
  .expertise-list a {
    color: inherit; text-decoration: none; flex: 1;
    transition: color var(--transition);
  }
  .expertise-list a:hover { color: var(--warm-brown); }

  /* Team section */
  .team-section { padding: var(--section-pad) 0; background: #F5F5F5; }
  .team-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-top: 56px; }
  .team-card { background: var(--white); }
  .team-photo {
    width: 100%; aspect-ratio: 3/4; position: relative; overflow: hidden;
  }
  .team-photo-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
  }
  .team-info { padding: 28px; }
  .team-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--dark-brown); }
  .team-role { font-size: 0.75rem; color: var(--warm-brown); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; margin-top: 4px; }
  .team-bio { font-size: 0.84rem; color: var(--neutral-grey); line-height: 1.65; margin-top: 14px; }
  .team-qual { font-size: 0.78rem; color: var(--neutral-grey); margin-top: 12px; font-style: italic; }

  /* Values section */
  .values-section { padding: var(--section-pad) 0; background: var(--white); }
  .values-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; background: var(--border); margin-top: 56px; }
  .value-item { background: var(--white); padding: 36px 28px; }
  .value-icon { width: 36px; height: 36px; margin-bottom: 20px; }
  .value-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 10px; }
  .value-text { font-size: 0.84rem; color: var(--neutral-grey); line-height: 1.65; margin-bottom: 12px; }
  .value-text:last-child { margin-bottom: 0; }

  /* ===== PRACTICE AREAS PAGE ===== */
  .practices-full { padding: var(--section-pad) 0; background: var(--white); }
  .practice-full-item {
    display: grid; grid-template-columns: 80px 1fr; gap: 0;
    border-bottom: 1px solid var(--border); padding: 60px 0;
  }
  .practice-full-item:first-child { padding-top: 0; }
  .practice-full-num {
    font-family: var(--serif); font-size: 1rem; color: var(--accent);
    font-weight: 400; padding-top: 6px;
  }
  .practice-full-content h3 {
    font-family: var(--serif); font-size: 1.7rem; font-weight: 500;
    color: var(--dark-brown); margin-bottom: 20px; line-height: 1.2;
  }
  .practice-full-content p { font-size: 0.95rem; color: var(--text-main); line-height: 1.8; margin-bottom: 14px; font-weight: 300; }
  .practice-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
  .practice-tag {
    padding: 6px 16px; background: #F5F5F5;
    font-size: 0.72rem; color: var(--warm-brown); letter-spacing: 0.1em;
    text-transform: uppercase; font-weight: 700;
  }

  /* ===== CONTACT PAGE ===== */
  .contact-section { padding: var(--section-pad) 0; background: var(--white); }
  .contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
  .contact-info-item { display: flex; gap: 20px; margin-bottom: 40px; }
  .contact-info-icon {
    width: 44px; height: 44px; background: #F5F5F5; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .contact-info-icon svg { width: 18px; height: 18px; color: var(--warm-brown); }
  .contact-info-label { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; font-weight: 700; color: var(--neutral-grey); margin-bottom: 4px; }
  .contact-info-val { font-size: 0.95rem; color: var(--text-main); line-height: 1.5; }
  .contact-info-val a { color: var(--dark-brown); text-decoration: none; }
  .contact-info-val a:hover { color: var(--warm-brown); }
  .map-placeholder {
    width: 100%; height: 200px; margin-top: 40px;
    background: linear-gradient(135deg, #F5F5F5, #D9D9D9);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--serif); font-style: italic; color: var(--neutral-grey); font-size: 0.9rem;
    border: 1px solid var(--border); position: relative; overflow: hidden;
  }
  /* Form */
  .form-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 8px; }
  .form-sub { font-size: 0.88rem; color: var(--neutral-grey); margin-bottom: 32px; }
  .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .form-group { margin-bottom: 20px; }
  .form-group label {
    display: block; font-size: 0.72rem; letter-spacing: 0.12em;
    text-transform: uppercase; font-weight: 700; color: var(--dark-brown);
    margin-bottom: 8px;
  }
  .form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 14px 16px;
    border: 1px solid var(--border); background: var(--white);
    font-family: var(--sans); font-size: 0.9rem; color: var(--text-main);
    outline: none; transition: border-color var(--transition);
    appearance: none;
  }
  .form-group select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%234A4A4A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
  .form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--warm-brown);
  }
  .form-group textarea { resize: vertical; min-height: 120px; }
  .form-disclaimer { font-size: 0.76rem; color: var(--neutral-grey); margin-top: 16px; line-height: 1.5; }
  .form-success {
    display: none; padding: 20px; background: #F5F5F5; border-left: 3px solid var(--accent);
    margin-top: 16px; font-size: 0.9rem; color: var(--dark-brown);
  }

  /* Snapforms consultation form */
  .consultation-form-section { height: 100%; }
  .form-container {
    height: 100%; box-sizing: border-box;
    background: var(--light-bg); border: 1px solid var(--border); border-left: 3px solid var(--accent);
    padding: 40px; border-radius: 12px;
  }
  .form-container h2 {
    font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
    color: var(--dark-brown); line-height: 1.25; margin-bottom: 10px;
  }
  .form-container > p {
    font-size: 0.9rem; color: var(--neutral-grey); line-height: 1.6; margin-bottom: 28px;
  }
  .snapform-wrapper { width: 100%; max-width: 100%; overflow: hidden; }
  .snapform-wrapper iframe { width: 100% !important; max-width: 100%; display: block; }

  /* ===== RESPONSIVE ===== */
  @media (max-width: 1100px) {
    .hero-inner { grid-template-columns: 1fr; max-width: 700px; }
    .hero-card { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; }
    .hero-stat:last-child { border-top: none; border-left: 1px solid rgba(255,255,255,0.12); padding-top: 0; padding-left: 32px; }
    .hero-stat:nth-child(2) { border-left: 1px solid rgba(255,255,255,0.12); padding-left: 32px; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
    .values-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 1150px) {
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .hamburger { display: flex; }
  }
  @media (max-width: 900px) {
    :root { --section-pad: 64px; }
    .about-strip-inner { grid-template-columns: 1fr; gap: 48px; }
    .practice-grid { grid-template-columns: 1fr 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .cta-strip-inner { flex-direction: column; text-align: center; }
    .cta-actions { justify-content: center; }
    .firm-overview-inner { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .contact-inner { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .form-container { margin-top: 48px; }
    .about-badge { width: 96px; height: 96px; bottom: -16px; right: -16px; }
    .about-badge-num { font-size: 1.6rem; }
  }
  @media (max-width: 600px) {
    :root { --section-pad: 48px; }
    .container { padding: 0 20px; }
    .form-container { padding: 28px 24px; }
    .practice-grid { grid-template-columns: 1fr; }
    .hero-card { grid-template-columns: 1fr; }
    .hero-stat:nth-child(2), .hero-stat:last-child { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 24px; }
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .about-badge { width: 76px; height: 76px; bottom: -12px; right: -12px; }
    .about-badge-num { font-size: 1.25rem; }
    .about-badge-txt { font-size: 0.5rem; margin-top: 2px; }
    .footer-inner { grid-template-columns: 1fr; }
    .about-values { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
  }
.logo-img {
  height: 150px;
  width: auto;
  object-fit: contain;
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
/* Our People Layout */
.our-people {
  padding: 100px 0;
  background: #ffffff; /* dark premium tone */
}

.our-people-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Image */
.our-people-visual {
  position: relative;
  height: 520px;
  overflow: hidden;
  border-radius: 6px;
}

.our-people-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%; /* keeps faces visible */
}

/* Content */
.our-people-content p {
  margin-bottom: 20px;
  color: rgba(34, 34, 34, 0.75);
  line-height: 1.7;
}

/* Highlights */
.our-people-highlights {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.highlight-item {
  display: flex;
  flex-direction: column;
}

.highlight-number {
  font-size: 28px;
  font-weight: 600;
  color: #d1a883; /* your gold accent */
}

.highlight-text {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* Responsive */
@media (max-width: 900px) {
  .our-people-inner {
    grid-template-columns: 1fr;
  }

  .our-people-visual {
    height: 420px;
  }
}
.our-people-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* 👈 anchors crop to top */
  display: block;
}

.section-title-small {
  font-family: var(--serif);
  font-size: 1.2rem; /* smaller than normal section-title */
  font-weight: 500;
  color: var(--dark-brown);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.section-title-small em {
  font-style: italic;
}
.qualifications-list {
  margin-top: 12px;
  padding-left: 18px;
  color: var(--text-main);
  font-size: 0.9rem;
  line-height: 1.7;
}

.qualifications-list li {
  margin-bottom: 6px;
}
/* ===== OUR PEOPLE STAFF CARDS ===== */

.people-subsection {
  margin-top: 90px;
}

.people-subheading {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  color: var(--dark-brown);
  margin-bottom: 30px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  text-align: center;   /* 👈 centers text */
  width: 100%;
}

.staff-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.conveyancer-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  margin-top: 30px;
}
.conveyancer-grid .staff-card {
  width: calc((100% - 56px) / 3); /* 👈 same width as 3-column layout */
  max-width: 360px;
}

.staff-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 6px 24px rgba(31,47,70,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.staff-card:hover {
  box-shadow: 0 14px 34px rgba(31,47,70,0.12);
}

.staff-card-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top center;
  background: #F5F5F5;
  flex-shrink: 0;
}

.staff-card-content {
  padding: 24px;
  flex: 1;
}

.staff-card-content h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--dark-brown);
  margin-bottom: 4px;
  line-height: 1.25;
}

.staff-role {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--warm-brown);
  margin-bottom: 14px;
}

.staff-short,
.staff-more {
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--neutral-grey);
}

.staff-more {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height 0.35s ease, opacity 0.35s ease, margin-top 0.35s ease;
}

.staff-more.is-expanded {
  max-height: 260px;
  opacity: 1;
  margin-top: 14px;
}

.staff-more-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: none; padding: 0; margin-top: 10px; cursor: pointer;
  font-family: var(--sans); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--warm-brown);
}
.staff-more-toggle:hover { color: var(--dark-brown); }
.staff-more-toggle-icon { display: inline-block; font-size: 0.85rem; transition: transform var(--transition); }
.staff-more-toggle[aria-expanded="true"] .staff-more-toggle-icon { transform: rotate(180deg); }

@media (max-width: 900px) {
  .staff-card-grid {
    grid-template-columns: 1fr;
  }

  .conveyancer-grid {
    flex-direction: column;
  }

  .conveyancer-grid .staff-card {
    width: 100%;
    max-width: 100%;
  }

  .staff-card {
    min-height: auto;
  }

  .staff-card-image {
    height: 360px;
  }
}/* Trainee Grid Layout */
.trainee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 per row */
  gap: 24px;
  margin-top: 30px;
}

/* Responsive */
@media (min-width: 901px) {
  .trainee-grid {
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 900px) {
  .trainee-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .trainee-grid {
    grid-template-columns: 1fr;
  }
}
/* Card */
.trainee-card {
  background: var(--white);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

/* Image */
.trainee-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  background: #F5F5F5;
}

.trainee-image--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--warm-brown);
}

/* Name */
.trainee-name {
  font-size: 0.7rem;              
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--warm-brown);      
  padding: 14px 10px;
}

.reviews-btn-wrapper {
  text-align: center;
  margin-top: 8px;
  margin-bottom: 32px;
}
.testimonial-card { opacity:0; transform:translateY(24px); transition:opacity 0.6s ease, transform 0.6s ease; }
.testimonial-card.visible { opacity:1; transform:translateY(0); }
.testimonial-card:nth-child(2) { transition-delay:0.15s; }
.testimonial-card:nth-child(3) { transition-delay:0.30s; }





/* ===== LEGAL PAGES (Privacy Policy) ===== */
.legal-section { padding: var(--section-pad) 0; background: var(--white); }
.legal-content { max-width: 760px; margin: 0 auto; }
.template-notice {
  background: #FBF3E7; border-left: 3px solid var(--accent);
  padding: 20px 24px; margin-bottom: 40px;
  font-size: 0.88rem; color: var(--text-main); line-height: 1.7;
}
.legal-updated { font-size: 0.82rem; color: var(--neutral-grey); margin-bottom: 40px; }
.legal-content h2 {
  font-family: var(--serif); font-size: 1.3rem; font-weight: 600;
  color: var(--dark-brown); margin-top: 44px; margin-bottom: 14px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { font-size: 0.95rem; color: var(--text-main); line-height: 1.85; font-weight: 300; }
.legal-content ul { margin: 0 0 20px; padding-left: 22px; }
.legal-content li { font-size: 0.95rem; color: var(--text-main); line-height: 1.85; font-weight: 300; }
.legal-content a { color: var(--warm-brown); }

/* ===== FAQ PAGE ===== */
.faq-section { padding: var(--section-pad) 0; background: var(--white); }
.faq-list { max-width: 820px; margin: 56px auto 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  gap: 20px; padding: 26px 4px; background: none; border: none; cursor: pointer;
  text-align: left; font-family: var(--serif); font-size: 1.05rem; font-weight: 600;
  color: var(--dark-brown); transition: color var(--transition);
}
.faq-question:hover { color: var(--warm-brown); }
.faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border: 1px solid var(--accent);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--warm-brown); transition: transform var(--transition);
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--accent); color: var(--dark-brown); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 4px;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 4px 26px; }
.faq-answer p {
  font-size: 0.92rem; color: var(--neutral-grey); line-height: 1.8; font-weight: 300;
}
.faq-answer a { color: var(--warm-brown); }

/* ==========================================================
   Blog article content components
   Used by content generated from content/blog/*.md — both the
   author profile card / CTA banner (built by build.js) and the
   occasional bespoke callout block authored as raw HTML inside
   a post's Markdown body.
   ========================================================== */

/* Base typography for Markdown-rendered article prose (h2/p/ul/ol/li) —
   the site resets all margins globally, so plain elements straight out of
   marked.parse() need these rules or they render with zero spacing. */
.blog-article-body h2 {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--dark-brown); margin: 40px 0 16px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.blog-article-body h2:first-child { margin-top: 0; }
.blog-article-body p { margin-bottom: 1.3rem; }
.blog-article-body ul, .blog-article-body ol {
  padding-left: 24px; margin: 16px 0 24px; line-height: 2.2;
}
.blog-article-body li { margin-bottom: 0.3rem; }
.blog-article-body a { color: var(--warm-brown); }
.blog-article-body strong { font-weight: 700; color: inherit; }
.blog-article-body em { font-style: italic; }

/* Author profile card (top of every article) */
.blog-profile-card {
  display: flex; align-items: center; gap: 20px; padding: 24px;
  background: var(--light-bg); border: 1px solid var(--border);
  margin-bottom: 36px;
}
.blog-profile-avatar {
  width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid var(--accent); object-fit: cover; object-position: top center;
}
.blog-profile-avatar--initials {
  display: flex; align-items: center; justify-content: center;
  background: var(--dark-brown); font-family: var(--serif);
  font-size: 1.2rem; font-weight: 600; color: var(--accent);
}
.blog-profile-name { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--dark-brown); }
.blog-profile-role {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-brown); font-weight: 700; margin-top: 2px;
}
.blog-profile-meta { font-size: 0.82rem; color: var(--neutral-grey); margin-top: 4px; }

/* "Speak with our team" CTA banner (bottom of every article) */
.blog-cta-banner {
  background: var(--dark-brown); padding: 28px 32px; margin-top: 40px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.blog-cta-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 6px;
}
.blog-cta-banner p { color: rgba(255,255,255,0.7); font-size: 0.88rem; margin: 0; }
.blog-cta-banner a.inline-link { color: var(--accent); text-decoration: none; }

/* One-line note banner ("Case note:" / "Legislative update:") */
.note-banner {
  background: var(--light-bg); border-left: 3px solid var(--accent);
  padding: 20px 24px; margin-bottom: 36px;
  font-size: 0.85rem; color: var(--neutral-grey); line-height: 1.7;
}
.note-banner strong { color: var(--dark-brown); }

/* Italic serif pull-quote */
.quote-pullout {
  background: var(--light-bg); border-left: 3px solid var(--accent);
  padding: 24px 28px; margin: 36px 0;
  font-family: var(--serif); font-size: 1.05rem; font-style: italic;
  color: var(--dark-brown); line-height: 1.7;
}

/* Generic bordered callout box (summary box, checklist box, stat box) */
.callout-box {
  background: var(--light-bg); border: 1px solid var(--border);
  padding: 24px 28px; margin: 24px 0 32px;
}
.callout-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 14px;
}

/* Arrow-bullet list (used inside a summary callout-box) */
.callout-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.callout-list li { font-size: 0.9rem; color: var(--text-main); display: flex; gap: 10px; align-items: flex-start; }
.callout-list li::before { content: '→'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.callout-list--dash li::before { content: '—'; }

/* ✗-marked checklist (used inside a callout-box) */
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 10px 0; border-bottom: 1px solid var(--border);
  font-size: 0.9rem; color: var(--text-main); display: flex; gap: 12px; align-items: flex-start;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before { content: '✗'; color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Stacked info-card grid (myth cards, numbered "Change N" cards) */
.card-grid { display: flex; flex-direction: column; gap: 24px; margin: 24px 0 36px; }
.info-card {
  background: var(--light-bg); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  padding: 24px 28px;
}
.info-card-label {
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 8px;
}
.info-card-title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 10px; }
.info-card p { font-size: 0.9rem; color: var(--text-main); line-height: 1.75; margin: 0; }

/* Side-by-side stat / comparison cards (used inside a callout-box) */
.stat-grid { display: flex; gap: 24px; flex-wrap: wrap; }
.stat-card { flex: 1; min-width: 170px; padding: 20px; background: var(--white); border: 1px solid var(--border); }
.stat-value { font-family: var(--serif); font-size: 1.8rem; font-weight: 600; color: var(--dark-brown); line-height: 1; }
.stat-label { font-size: 0.78rem; color: var(--neutral-grey); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.stat-title { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 6px; }
.stat-desc { font-size: 0.85rem; color: var(--neutral-grey); line-height: 1.6; }
.callout-box .stat-grid + p { font-size: 0.84rem; color: var(--neutral-grey); margin-top: 16px; margin-bottom: 0; }

/* ==========================================================
   Shared utility
   ========================================================== */
.section-pad-white { padding: var(--section-pad) 0; background: var(--white); }

/* ==========================================================
   Blog listing page (blog.html)
   ========================================================== */
#page-blog .section-header { margin-bottom: 32px; }

.social-bar { background: var(--light-bg); border-bottom: 1px solid var(--border); padding: 18px 0; }
.social-bar-inner { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.social-bar-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 700; color: var(--neutral-grey);
}
.social-link {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px;
  border: 1px solid var(--border); background: #fff; text-decoration: none;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; border-radius: 3px;
}
.social-link--instagram { color: #C13584; }
.social-link--linkedin { color: #0A66C2; }
.social-link--facebook { color: #1877F2; }

.featured-post {
  background: var(--light-bg); border: 1px solid var(--border); border-left: 3px solid var(--accent);
  padding: 36px; margin-bottom: 48px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start;
}
@media (max-width: 900px) {
  .featured-post { grid-template-columns: 1fr; padding: 28px; }
  .featured-post-cta { justify-self: start; }
}
@media (max-width: 480px) {
  .featured-post-excerpt { display: none; }
}
.featured-post-eyebrow {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}
.featured-post-title {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 600;
  color: var(--dark-brown); line-height: 1.25; margin-bottom: 14px;
}
.featured-post-excerpt { font-size: 0.92rem; color: var(--neutral-grey); line-height: 1.75; margin-bottom: 18px; }
.featured-post-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.featured-post-author { display: flex; align-items: center; gap: 8px; }
.featured-post-avatar {
  width: 28px; height: 28px; border-radius: 50%; background: var(--dark-brown);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: var(--accent); font-weight: 700;
}
.featured-post-author-name { font-size: 0.82rem; font-weight: 700; color: var(--dark-brown); }
.featured-post-sep { color: var(--border); font-size: 0.9rem; }
.featured-post-detail { font-size: 0.82rem; color: var(--neutral-grey); }
.featured-post-cta { white-space: nowrap; flex-shrink: 0; }

.post-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 64px; }
@media (max-width: 900px) {
  .post-grid { grid-template-columns: 1fr; }
}
.post-card { background: var(--light-bg); border: 1px solid var(--border); padding: 28px; display: flex; flex-direction: column; cursor: pointer; }
.post-card-category {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--warm-brown); font-weight: 700; margin-bottom: 8px;
}
.post-card-title {
  font-family: var(--serif); font-size: 1.1rem; font-weight: 600;
  color: var(--dark-brown); line-height: 1.3; margin-bottom: 10px;
}
.post-card-excerpt { font-size: 0.85rem; color: var(--neutral-grey); line-height: 1.7; flex: 1; margin-bottom: 16px; }
@media (max-width: 480px) {
  .post-card-excerpt { display: none; }
}
.post-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; }
.post-card-byline { font-size: 0.78rem; color: var(--neutral-grey); }
.post-card-arrow { color: var(--accent); font-size: 1rem; font-weight: 700; }

.archive-section { margin-bottom: 64px; }
.archive-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .archive-grid { grid-template-columns: 1fr; }
}
.archive-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 20px;
  background: var(--light-bg); border: 1px solid var(--border); cursor: pointer;
  transition: border-color 0.28s ease;
}
.archive-item:hover { border-color: var(--accent); }
.archive-item-arrow { color: var(--accent); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.archive-item-category {
  font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-brown); font-weight: 700; margin-bottom: 6px;
}
.archive-item-title { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; color: var(--dark-brown); line-height: 1.35; }

.blog-listing-cta { background: var(--dark-brown); padding: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.blog-listing-cta-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 8px;
}
.blog-listing-cta-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; color: #fff; line-height: 1.2; }
.blog-listing-cta-text { font-size: 0.88rem; color: rgba(255,255,255,0.6); margin-top: 6px; }
.blog-listing-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ==========================================================
   Homepage (index.html)
   ========================================================== */
.about-content .section-header { margin-bottom: 28px; }
.about-caption { margin-top: 32px; text-align: center; }
.about-caption-name { font-family: var(--serif); font-size: 1rem; font-weight: 600; color: var(--dark-brown); }
.about-caption-role {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-brown); font-weight: 700; margin-top: 3px;
}

.values-row { background: var(--white); padding: 56px 32px 72px; max-width: var(--max-w); margin: 0 auto; }
.value-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .values-row { padding: 40px 24px 56px; }
  .value-cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .values-row { padding: 32px 20px 48px; }
  .value-cards-grid { grid-template-columns: 1fr; }
}
.value-card { padding: 24px 20px; background: #F5F5F5; border-left: 2px solid var(--accent); }
.value-card-title { font-family: var(--serif); font-size: 0.95rem; font-weight: 600; color: var(--dark-brown); margin-bottom: 6px; }
.value-card-text { font-size: 0.82rem; color: var(--neutral-grey); line-height: 1.55; }

.awards-strip { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 36px 0; }
.awards-strip-label {
  text-align: center; margin-bottom: 28px;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--warm-brown); font-weight: 700;
}
.awards-grid { display: flex; align-items: center; justify-content: center; gap: 32px 48px; flex-wrap: wrap; }
.award-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; flex-shrink: 0; }
.award-icon {
  width: 56px; height: 56px; border-radius: 50%; background: var(--dark-brown);
  display: flex; align-items: center; justify-content: center;
}
.award-icon--accent { background: var(--accent); }
.award-icon-text { font-family: var(--serif); font-size: 0.72rem; font-weight: 700; color: var(--dark-brown); line-height: 1.1; text-align: center; }
.award-label {
  font-size: 0.72rem; font-weight: 700; color: var(--dark-brown);
  letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3; max-width: 90px;
}
.award-divider { width: 1px; height: 48px; background: var(--border); flex-shrink: 0; }
@media (max-width: 900px) {
  .award-divider { display: none; }
}

.rating-strip { background: var(--light-bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; text-align: center; }
.rating-strip-inner { display: inline-flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.google-logo { font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: #4A4A4A; }
.g-blue { color: #4285F4; }
.g-red { color: #EA4335; }
.g-yellow { color: #FBBC05; }
.g-green { color: #34A853; }
.rating-score-wrap { display: flex; align-items: center; gap: 6px; }
.rating-score { font-size: 1.15rem; font-weight: 700; color: var(--dark-brown); }
.rating-stars { display: flex; gap: 2px; }
.rating-stars .star { color: #FBBC05; font-size: 1.3rem; }
.rating-caption { font-size: 0.82rem; color: var(--neutral-grey); }

/* ==========================================================
   About page (about.html)
   ========================================================== */
.firm-stats-col .section-header { margin-bottom: 24px; }
.firm-text .section-header { margin-bottom: 28px; }
.firm-video { width: 100%; margin-top: 32px; display: block; }
.firm-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.btn-outline-dark { border-color: var(--dark-brown); color: var(--dark-brown); }

.process-section { background: #1F2F46; padding: var(--section-pad) 0; }
.process-eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.68rem; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 16px;
}
.process-eyebrow-rule { display: block; width: 24px; height: 1px; background: var(--accent); }
.process-heading {
  font-family: var(--serif); font-size: clamp(1.9rem, 3.5vw, 2.9rem); font-weight: 500;
  color: #fff; line-height: 1.2; margin-bottom: 56px;
}
.process-heading em { font-style: italic; color: var(--accent); }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.08); }
@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
}
.process-step { background: #1F2F46; padding: 40px 32px; }
@media (max-width: 600px) {
  .process-step { padding: 32px 24px; }
}
.process-step--alt { background: #243550; }
.process-step-num { font-size: 56px; font-weight: 600; color: rgba(214,194,154,0.12); line-height: 1; margin-bottom: 20px; font-family: var(--serif); }
.process-step-icon {
  width: 44px; height: 44px; border: 1px solid rgba(214,194,154,0.3);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.process-step-label {
  font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); font-family: var(--sans); font-weight: 700; margin-bottom: 10px;
}
.process-step-title { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; color: #fff; line-height: 1.2; margin-bottom: 16px; }
.process-step-text { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.8; font-family: var(--sans); }
.process-step-text a { color: var(--accent); text-decoration: none; }
.process-footer {
  margin-top: 48px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.process-footer-text { font-size: 0.88rem; color: rgba(255,255,255,0.5); font-family: var(--sans); }
.process-footer-highlight { color: #fff; font-weight: 500; }

/* ==========================================================
   Blog detail page (blog-<slug>.html template)
   ========================================================== */
.blog-hero-title { max-width: 720px; }
.blog-hero-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.blog-hero-author { display: flex; align-items: center; gap: 8px; }
.blog-hero-avatar {
  width: 32px; height: 32px; border-radius: 50%; background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem; color: var(--dark-brown); font-weight: 700; flex-shrink: 0;
}
.blog-hero-author-name { font-size: 0.88rem; color: rgba(255,255,255,0.7); font-weight: 700; }
.blog-hero-sep { color: rgba(255,255,255,0.3); }
.blog-hero-detail { font-size: 0.88rem; color: rgba(255,255,255,0.55); }

.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: start; }
@media (max-width: 900px) {
  .blog-layout { grid-template-columns: 1fr; gap: 40px; }
  .blog-sidebar { position: static; }
}
.blog-article-body { font-size: 1rem; line-height: 1.9; color: var(--text-main); font-weight: 300; }

.blog-back-cta {
  margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.blog-back-link {
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--warm-brown); text-decoration: none; font-weight: 700;
}

.blog-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); }
.blog-sidebar-cta { background: var(--dark-brown); padding: 32px; margin-bottom: 20px; }
.blog-sidebar-cta-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 10px;
}
.blog-sidebar-cta-title { font-family: var(--serif); font-size: 1.15rem; color: #fff; line-height: 1.3; margin-bottom: 10px; }
.blog-sidebar-cta-text { font-size: 0.84rem; color: rgba(255,255,255,0.55); line-height: 1.65; margin-bottom: 20px; }
.btn-block { display: block; text-align: center; }
.blog-sidebar-phone-btn {
  display: block; text-align: center; margin-top: 10px; padding: 12px;
  border: 1px solid rgba(255,255,255,0.2); font-size: 0.78rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff; text-decoration: none;
}
.blog-sidebar-articles { background: var(--light-bg); border: 1px solid var(--border); padding: 28px; }
.blog-sidebar-articles-label {
  font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--warm-brown); font-weight: 700; margin-bottom: 16px;
}
.blog-related-list { display: flex; flex-direction: column; gap: 12px; }
.blog-related-link { display: flex; flex-direction: column; gap: 4px; padding: 12px 0; border-bottom: 1px solid var(--border); text-decoration: none; }
.blog-related-category { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.blog-related-title { font-size: 0.85rem; color: var(--dark-brown); font-family: var(--serif); line-height: 1.3; }

/* ==========================================================
   Contact page (contact.html)
   ========================================================== */
.contact-info .section-header { margin-bottom: 40px; }

.location-cards { display: flex; flex-direction: column; gap: 18px; width: 100%; }
.location-card { width: 100%; height: 260px; overflow: hidden; border-radius: 12px; }
.location-card--photo { position: relative; }
.location-card-iframe { border: 0; border-radius: 12px; display: block; }
.location-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.location-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.45), rgba(0,0,0,0.05)); }
.location-card-label {
  position: absolute; bottom: 14px; left: 14px;
  background: rgba(255,255,255,0.88); padding: 8px 14px;
  font-size: 0.82rem; font-family: sans-serif; color: #5A4A40;
  border-radius: 6px; backdrop-filter: blur(4px);
}

/* ==========================================================
   People page (people.html)
   ========================================================== */
.people-intro { text-align: center; padding-top: 60px; margin-bottom: 10px; }
.people-intro-title { font-family: var(--serif); font-size: 2.8rem; font-weight: 500; color: var(--dark-brown); }
.people-intro-divider { width: 48px; height: 2px; background: var(--accent); margin: 16px auto 0; }
.our-people .section-header { margin-bottom: 28px; }

/* ==========================================================
   FAQ page (faq.html)
   ========================================================== */
.faq-intro { text-align: center; max-width: 700px; margin: 0 auto; }
.faq-intro .section-eyebrow { justify-content: center; }
.faq-intro .section-divider { margin-left: auto; margin-right: auto; }
.faq-more { text-align: center; margin-top: 56px; }

/* ==========================================================
   Footer / header remaining bits
   ========================================================== */
.footer-contact-val a { color: inherit; }
.back-to-top {
  display: none; position: fixed; bottom: 28px; right: 28px; z-index: 9999;
  background: var(--dark-brown); color: var(--accent); border: 2px solid var(--accent);
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  box-shadow: 0 4px 20px rgba(31,47,70,0.28); transition: all 0.28s ease;
  align-items: center; justify-content: center;
}
.mobile-cta {
  display: block; box-sizing: border-box; width: 100%; text-align: center;
  margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--border);
}

/* ==========================================================
   404 page (404.html)
   ========================================================== */
.error-section {
  min-height: calc(100vh - var(--nav-h));
  display: flex; align-items: center;
  background: var(--dark-brown); padding: calc(var(--nav-h) + 60px) 0 72px;
}
.error-inner { text-align: center; max-width: 640px; }
.error-num {
  font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); font-weight: 700;
  color: rgba(214,194,154,0.14); line-height: 1; margin-bottom: -1.2rem;
}
.error-section .page-hero-eyebrow { justify-content: center; }
.error-section h1 {
  font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500; color: var(--white); line-height: 1.15;
}
.error-section h1 em { font-style: italic; color: var(--accent); }
.error-section p {
  font-size: 1.05rem; color: rgba(255,255,255,0.6); margin-top: 18px;
  line-height: 1.75; font-weight: 300;
}
.error-actions {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  flex-wrap: wrap; margin-top: 40px;
}
.error-links {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  flex-wrap: wrap; margin-top: 40px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.error-links a {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 700;
  transition: color var(--transition);
}
.error-links a:hover { color: var(--accent); }
@media (max-width: 600px) {
  .error-actions { flex-direction: column; }
  .error-actions .btn { width: 100%; text-align: center; }
}
