/* ============================================================
   Christopher Sciandra, Esq. — Law Firm Website
   Shared design system
   Palette: Forest Green · Gold · Off-white · Black
   ============================================================ */

/* ---------- Design tokens ---------- */
:root {
  --green-900: #212B00;   /* deepest military olive */
  --green-800: #374500;   /* primary military green — sampled from the firm logo */
  --green-700: #465800;
  --green-600: #5A6E10;
  --green-100: #EAEDDB;   /* soft olive tint */
  --gold-600: #A9852F;    /* deep gold */
  --gold-500: #C4A15A;    /* primary gold accent */
  --gold-300: #E4D4A8;    /* light gold */
  --cream: #F7F4EC;       /* off-white textured base */
  --cream-dk: #EFEADD;    /* alt off-white band */
  --ink: #1A1D1B;         /* near-black text */
  --ink-soft: #4A5049;    /* muted body text */
  --white: #FFFFFF;
  --line: rgba(55, 69, 0, 0.16);

  --font-serif: 'Fraunces', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --maxw: 1200px;
  --nav-h: 78px;
  --radius: 4px;
  --shadow-sm: 0 2px 10px rgba(15, 46, 29, 0.06);
  --shadow-md: 0 14px 40px rgba(15, 46, 29, 0.12);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-optical-sizing: auto;
  color: var(--ink);
  background-color: var(--cream);
  /* subtle off-white paper texture */
  background-image:
    radial-gradient(rgba(55,69,0,0.03) 1px, transparent 1px),
    radial-gradient(rgba(55,69,0,0.022) 1px, transparent 1px);
  background-size: 22px 22px, 22px 22px;
  background-position: 0 0, 11px 11px;
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--green-800); text-decoration: none; transition: color 0.25s var(--ease); }
a:hover { color: var(--gold-600); }
ul { list-style: none; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-serif); font-optical-sizing: auto; font-weight: 600; line-height: 1.12; color: var(--green-900); letter-spacing: -0.4px; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
h4 { font-size: 1.2rem; }
p { color: var(--ink-soft); }
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-block;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--gold-500); vertical-align: middle; margin-right: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--tint { background: var(--cream-dk); }
.section--green {
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--cream);
}
.section--green h2, .section--green h3, .section--green h4 { color: var(--white); }
.section--green p { color: rgba(247,244,236,0.82); }
.section-head { max-width: 720px; margin-bottom: 3.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; margin-top: 1rem; }
.lead { font-size: 1.2rem; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-sans); font-weight: 600; font-size: 0.98rem;
  letter-spacing: 0.02em;
  padding: 0.95em 1.9em; border-radius: var(--radius);
  cursor: pointer; border: 1.5px solid transparent;
  transition: all 0.28s var(--ease); white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--gold-500); color: var(--green-900); border-color: var(--gold-500); }
.btn--primary:hover { background: var(--gold-600); border-color: var(--gold-600); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--green { background: var(--green-800); color: var(--cream); border-color: var(--green-800); }
.btn--green:hover { background: var(--green-900); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline { background: transparent; color: var(--green-800); border-color: var(--green-800); }
.btn--outline:hover { background: var(--green-800); color: var(--cream); transform: translateY(-2px); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: rgba(247,244,236,0.55); }
.btn--ghost-light:hover { background: var(--cream); color: var(--green-900); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(247, 244, 236, 0.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav.scrolled { background: rgba(247,244,236,0.97); border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav .container { display: flex; align-items: center; justify-content: space-between; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; }
.logo__mark { width: 40px; height: 44px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-serif); font-size: 1.35rem; font-weight: 600; color: var(--green-900); letter-spacing: 0.3px; }
.logo__sub { font-family: var(--font-sans); font-size: 0.6rem; font-weight: 600; letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold-600); margin-top: 3px; }

/* Desktop nav links */
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: 0.95rem; font-weight: 500; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--gold-500); transition: width 0.3s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--green-800); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { width: 100%; }

/* Dropdown */
.nav__item { position: relative; }
.nav__dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 500; color: var(--ink); cursor: pointer; padding: 4px 0; }
.nav__dropdown-toggle .chev { width: 12px; height: 12px; transition: transform 0.3s var(--ease); }
.nav__item:hover .nav__dropdown-toggle .chev { transform: rotate(180deg); }
.nav__dropdown-toggle:hover { color: var(--green-800); }
.nav__dropdown {
  position: absolute; top: calc(100% + 14px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 280px; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-md); padding: 10px;
  opacity: 0; visibility: hidden; transition: all 0.28s var(--ease);
}
.nav__dropdown::before { content:""; position:absolute; top:-20px; left:0; right:0; height:20px; }
.nav__item:hover .nav__dropdown, .nav__item:focus-within .nav__dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav__dropdown a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: var(--radius);
  font-size: 0.92rem; font-weight: 500; color: var(--ink); transition: background 0.2s, color 0.2s;
}
.nav__dropdown a:hover { background: var(--green-100); color: var(--green-800); }
.nav__dropdown a .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold-500); flex-shrink: 0; }

.nav__cta { margin-left: 0.5rem; }

/* Hamburger — right side */
.nav__toggle {
  display: none; width: 44px; height: 44px; border: none; background: none; cursor: pointer;
  position: relative; z-index: 120; margin-left: auto;
}
.nav__toggle span {
  position: absolute; left: 9px; right: 9px; height: 2px; background: var(--green-900); border-radius: 2px;
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), background 0.3s;
}
.nav__toggle span:nth-child(1) { top: 15px; }
.nav__toggle span:nth-child(2) { top: 21px; }
.nav__toggle span:nth-child(3) { top: 27px; }
body.menu-open .nav__toggle span { background: var(--cream); }
body.menu-open .nav__toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav__toggle span:nth-child(2) { opacity: 0; }
body.menu-open .nav__toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Full-screen mobile overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 110;
  background: linear-gradient(165deg, var(--green-900), var(--green-800));
  display: flex; flex-direction: column; justify-content: center;
  padding: 90px 32px 40px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
  overflow-y: auto;
}
body.menu-open .mobile-nav { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.mobile-nav__inner { max-width: 480px; width: 100%; margin: 0 auto; }
.mobile-nav a {
  display: block; font-family: var(--font-serif); font-size: 2rem; font-weight: 600;
  color: var(--cream); padding: 0.35em 0; border-bottom: 1px solid rgba(247,244,236,0.14);
  opacity: 0; transform: translateY(18px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), color 0.25s;
}
.mobile-nav a:hover { color: var(--gold-500); }
body.menu-open .mobile-nav a { opacity: 1; transform: translateY(0); }
body.menu-open .mobile-nav a:nth-child(1){ transition-delay: 0.18s; }
body.menu-open .mobile-nav a:nth-child(2){ transition-delay: 0.24s; }
body.menu-open .mobile-nav a:nth-child(3){ transition-delay: 0.30s; }
body.menu-open .mobile-nav a:nth-child(4){ transition-delay: 0.36s; }
body.menu-open .mobile-nav a:nth-child(5){ transition-delay: 0.42s; }
body.menu-open .mobile-nav a:nth-child(6){ transition-delay: 0.48s; }
.mobile-nav__group-label { font-family: var(--font-sans); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-500); margin: 1.4rem 0 0.4rem; opacity:0; transition: opacity 0.4s 0.5s; }
body.menu-open .mobile-nav__group-label { opacity: 1; }
.mobile-nav__services a { font-size: 1.15rem; font-family: var(--font-sans); font-weight: 500; padding: 0.5em 0; border-bottom-color: rgba(247,244,236,0.09); }
.mobile-nav__cta { margin-top: 2rem; opacity: 0; transition: opacity 0.4s 0.6s; }
body.menu-open .mobile-nav__cta { opacity: 1; }
.mobile-nav__contact { margin-top: 1.8rem; color: rgba(247,244,236,0.7); font-size: 0.9rem; opacity:0; transition: opacity 0.4s 0.66s;}
body.menu-open .mobile-nav__contact { opacity: 1; }
.mobile-nav__contact a { display:inline; font-size: 0.9rem; font-family: var(--font-sans); color: var(--gold-300); border:none; padding:0; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--nav-h);
  background: linear-gradient(155deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: var(--cream); overflow: hidden;
}
.hero__bg-justice {
  position: absolute; right: -60px; bottom: -40px; width: min(46vw, 620px); height: auto;
  opacity: 0.10; pointer-events: none; color: var(--gold-500);
}
.hero__glow { position: absolute; top: -20%; left: -10%; width: 60%; height: 80%; background: radial-gradient(circle, rgba(196,161,90,0.16), transparent 70%); pointer-events: none; }
.hero .container { position: relative; z-index: 2; }
.hero__inner { max-width: 780px; }
.hero__eyebrow { color: var(--gold-300); }
.hero__eyebrow::before { background: var(--gold-300); }
.hero h1 { color: var(--white); margin-bottom: 1.4rem; }
.hero h1 .accent { color: var(--gold-500); font-style: italic; }
.hero__sub { font-size: 1.25rem; color: rgba(247,244,236,0.86); max-width: 620px; margin-bottom: 2.4rem; }
.hero__cta { margin-bottom: 2.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.6rem 2.4rem; padding-top: 2rem; border-top: 1px solid rgba(247,244,236,0.16); }
.hero__trust-item { display: flex; flex-direction: column; }
.hero__trust-item .num { font-family: var(--font-serif); font-size: 2rem; color: var(--gold-500); line-height: 1; }
.hero__trust-item .lbl { font-size: 0.82rem; letter-spacing: 0.05em; color: rgba(247,244,236,0.75); margin-top: 0.4rem; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2; color: rgba(247,244,236,0.6); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; display:flex; flex-direction:column; align-items:center; gap:8px; }
.hero__scroll .line { width: 1px; height: 40px; background: rgba(247,244,236,0.4); animation: scrollpulse 2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollpulse { 0%,100%{ transform: scaleY(0.4); opacity:0.4;} 50%{ transform: scaleY(1); opacity:1;} }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.about__portrait {
  position: relative; aspect-ratio: 4 / 5; border-radius: 6px; overflow: hidden;
  background: linear-gradient(160deg, var(--green-800), var(--green-900));
  box-shadow: var(--shadow-md);
}
.about__portrait .frame { position: absolute; inset: 14px; border: 1px solid rgba(196,161,90,0.4); border-radius: 4px; pointer-events: none; }
.about__portrait .initials { font-family: var(--font-serif); font-size: 5rem; color: var(--gold-500); }
.about__portrait .ph-note { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(247,244,236,0.5); }
.about__body h2 { margin-bottom: 1.4rem; }
.about__sig { margin-top: 2rem; display: flex; align-items: center; gap: 16px; }
.about__sig .name { font-family: var(--font-serif); font-size: 1.5rem; color: var(--green-900); }
.about__sig .role { font-size: 0.85rem; color: var(--gold-600); letter-spacing: 0.05em; }
.about__creds { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: 2rem; }
.about__cred .k { font-family: var(--font-serif); font-size: 1.6rem; color: var(--green-800); }
.about__cred .v { font-size: 0.85rem; color: var(--ink-soft); }

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.service-card {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: 6px; padding: 2.2rem 2rem 2rem; display: flex; flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
  overflow: hidden;
}
.service-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:3px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform 0.4s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card__icon { width: 52px; height: 52px; border-radius: 10px; background: var(--green-100); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; color: var(--green-800); }
.service-card__icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.service-card p { font-size: 0.96rem; flex-grow: 1; margin-bottom: 1.4rem; }
.service-card__link { font-weight: 600; font-size: 0.9rem; color: var(--green-800); display: inline-flex; align-items: center; gap: 8px; }
.service-card__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.service-card:hover .service-card__link svg { transform: translateX(5px); }
.service-card:hover .service-card__link { color: var(--gold-600); }

/* ============================================================
   VALUE / WHY BAND
   ============================================================ */
.values__grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 2.4rem; }
.value { padding-top: 1.6rem; border-top: 2px solid rgba(196,161,90,0.5); }
.value h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 0.6rem; }
.value .num { font-family: var(--font-serif); font-size: 1rem; color: var(--gold-500); letter-spacing: 0.2em; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip { text-align: center; }
.cta-strip h2 { margin-bottom: 1rem; }
.cta-strip p { max-width: 560px; margin: 0 auto 2rem; font-size: 1.12rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); }
.contact__info h2 { margin-bottom: 1.2rem; }
.contact__list { margin-top: 2.2rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact__item { display: flex; gap: 16px; align-items: flex-start; }
.contact__item .ci-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--green-100); color: var(--green-800); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact__item .ci-icon svg { width: 20px; height: 20px; }
.contact__item .ci-label { font-size: 0.74rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-600); font-weight: 600; }
.contact__item .ci-value { font-size: 1.08rem; color: var(--ink); font-weight: 500; }
.contact__item .ci-value a { color: var(--ink); }
.contact__item .ci-value a:hover { color: var(--gold-600); }

.contact__form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(1.6rem, 3vw, 2.6rem); box-shadow: var(--shadow-sm); }
.contact__form-wrap h3 { margin-bottom: 0.4rem; }
.contact__form-wrap .form-note { font-size: 0.9rem; margin-bottom: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--green-900); margin-bottom: 0.45rem; letter-spacing: 0.02em; }
.field label .req { color: var(--gold-600); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-sans); font-size: 0.98rem; color: var(--ink);
  padding: 0.85em 1em; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--cream); transition: border-color 0.25s, box-shadow 0.25s; -webkit-appearance:none; appearance:none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314402A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position: right 1em center; padding-right: 2.6em; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(44,107,76,0.12); background: var(--white); }
.form-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 1.4rem; }
.form-consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; accent-color: var(--green-800); }
.contact__form-wrap .btn { width: 100%; justify-content: center; }
.form-hp { position: absolute; left: -9999px; }

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  padding: calc(var(--nav-h) + 70px) 0 70px;
  background: linear-gradient(160deg, var(--green-900), var(--green-800));
  color: var(--cream); position: relative; overflow: hidden;
}
.page-header__justice { position: absolute; right: -40px; top: 50%; transform: translateY(-50%); width: 340px; opacity: 0.09; color: var(--gold-500); pointer-events:none; }
.page-header .container { position: relative; z-index: 2; }
.breadcrumb { font-size: 0.85rem; color: rgba(247,244,236,0.7); margin-bottom: 1.2rem; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.breadcrumb a { color: var(--gold-300); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb .sep { opacity: 0.5; }
.page-header h1 { color: var(--white); font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 800px; }
.page-header p { color: rgba(247,244,236,0.85); font-size: 1.15rem; max-width: 640px; margin-top: 1.2rem; }

/* Service page body */
.svc-body { display: grid; grid-template-columns: 1fr 340px; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.svc-content h2 { font-size: clamp(1.7rem,3vw,2.3rem); margin: 2.4rem 0 1rem; }
.svc-content h2:first-child { margin-top: 0; }
.svc-content h3 { font-size: 1.35rem; margin: 1.8rem 0 0.7rem; }
.svc-content p { margin-bottom: 1.1rem; font-size: 1.04rem; }
.svc-content ul.check { margin: 1rem 0 1.6rem; display: grid; gap: 0.7rem; }
.svc-content ul.check li { position: relative; padding-left: 32px; color: var(--ink-soft); }
.svc-content ul.check li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2314402A' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.svc-content blockquote { border-left: 3px solid var(--gold-500); padding: 0.4rem 0 0.4rem 1.4rem; margin: 1.6rem 0; font-family: var(--font-serif); font-size: 1.5rem; font-style: italic; color: var(--green-900); line-height: 1.35; }

/* Sidebar */
.svc-aside { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 1.4rem; }
.aside-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 1.8rem; box-shadow: var(--shadow-sm); }
.aside-card--green { background: linear-gradient(160deg, var(--green-800), var(--green-900)); border: none; color: var(--cream); }
.aside-card--green h4 { color: var(--white); }
.aside-card--green p { color: rgba(247,244,236,0.82); font-size: 0.95rem; }
.aside-card h4 { margin-bottom: 0.5rem; }
.aside-card p { font-size: 0.92rem; margin-bottom: 1.2rem; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-nav h4 { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); margin-bottom: 1rem; }
.aside-nav a { display: block; padding: 0.55rem 0; font-size: 0.95rem; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; }
.aside-nav a:last-child { border-bottom: none; }
.aside-nav a:hover { color: var(--gold-600); padding-left: 6px; }
.aside-nav a[aria-current="page"] { color: var(--green-800); font-weight: 600; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--green-900); color: rgba(247,244,236,0.72); padding: 72px 0 32px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(247,244,236,0.12); }
.footer .logo__name { color: var(--white); }
.footer__about { margin-top: 1.2rem; font-size: 0.92rem; max-width: 300px; color: rgba(247,244,236,0.62); }
.footer h4 { color: var(--white); font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer ul li { margin-bottom: 0.7rem; }
.footer ul a { color: rgba(247,244,236,0.72); font-size: 0.94rem; }
.footer ul a:hover { color: var(--gold-500); }
.footer__contact-line { display: flex; gap: 10px; margin-bottom: 0.9rem; font-size: 0.94rem; align-items:flex-start; }
.footer__contact-line svg { width: 17px; height: 17px; color: var(--gold-500); flex-shrink: 0; margin-top: 3px; }
.footer__contact-line a { color: rgba(247,244,236,0.8); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.8rem; gap: 1rem; flex-wrap: wrap; }
.footer__bottom p { font-size: 0.82rem; color: rgba(247,244,236,0.5); }
.footer__disclaimer { font-size: 0.78rem; color: rgba(247,244,236,0.42); margin-top: 1.4rem; max-width: 900px; line-height: 1.6; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"]{ transition-delay: 0.05s; }
.reveal[data-delay="2"]{ transition-delay: 0.1s; }
.reveal[data-delay="3"]{ transition-delay: 0.15s; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__scroll .line { animation: none; }
}

/* ============================================================
   PHOTO SLOTS  — drop real .jpg files into /assets to replace.
   Until a real photo exists, an on-brand duotone poster shows.
   ============================================================ */
.photo {
  position: relative; overflow: hidden; border-radius: 8px; isolation: isolate;
  background: linear-gradient(150deg, var(--green-800), var(--green-900));
  box-shadow: var(--shadow-md);
}
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 2; }
.photo img.is-missing { display: none; }             /* onerror hides the <img>, poster shows */
.photo__poster {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center;
  background:
    radial-gradient(120% 90% at 82% 8%, rgba(196,161,90,0.32), transparent 55%),
    radial-gradient(130% 120% at 8% 100%, rgba(15,24,8,0.7), transparent 58%),
    linear-gradient(152deg, var(--green-700) 0%, var(--green-900) 100%);
}
.photo__poster::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(247,244,236,0.06) 1px, transparent 1px);
  background-size: 7px 7px; mix-blend-mode: overlay; opacity: 0.6; pointer-events: none;
}
.photo__poster svg { width: 60px; height: 60px; color: var(--gold-500); opacity: 0.92; }
.photo__label { position: relative; font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(247,244,236,0.7); }
.photo__label b { color: var(--gold-300); font-weight: 600; }
.photo__frame { position: absolute; inset: 12px; border: 1px solid rgba(196,161,90,0.42); border-radius: 4px; z-index: 3; pointer-events: none; }

/* ---------- Hero (split with image) ---------- */
.hero__grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero__media { position: relative; }
.hero__media .photo { aspect-ratio: 4 / 5; }
.hero__media .badge {
  position: absolute; left: -22px; bottom: 28px; z-index: 5;
  background: var(--cream); color: var(--green-900); border-radius: 8px; padding: 14px 20px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px; max-width: 240px;
}
.hero__media .badge svg { width: 26px; height: 26px; color: var(--gold-600); flex-shrink: 0; }
.hero__media .badge .t { font-family: var(--font-serif); font-size: 1.05rem; color: var(--green-900); line-height: 1.1; }
.hero__media .badge .s { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ---------- About photo ---------- */
.about__portrait.photo { background: linear-gradient(160deg, var(--green-800), var(--green-900)); }
.about__portrait .photo__poster .initials { font-family: var(--font-serif); font-size: 4.6rem; color: var(--gold-500); line-height: 1; }

/* ---------- Homepage feature band ---------- */
.feature__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.feature__media .photo { aspect-ratio: 5 / 4; }
.feature--reverse .feature__media { order: 2; }
.feature__body h2 { margin-bottom: 1.2rem; }
.feature__list { margin-top: 1.6rem; display: grid; gap: 0.8rem; }
.feature__list li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.feature__list li::before { content:""; position:absolute; left:0; top:4px; width:18px; height:18px; border-radius:50%;
  background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%233A4718' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / 11px; }

/* ---------- Service sub-page hero image ---------- */
.svc-hero-img.photo { aspect-ratio: 21 / 9; margin-bottom: 2.4rem; }
@media (max-width: 700px){ .svc-hero-img.photo { aspect-ratio: 16 / 10; } }

/* ============================================================
   THANK-YOU MODAL (pop-up on form submit)
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(15,24,8,0.55); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); }
.modal__card { position: relative; z-index: 2; background: var(--white); border-radius: 14px; max-width: 470px; width: 100%; padding: 3rem 2.4rem 2.4rem; text-align: center; box-shadow: var(--shadow-md); transform: translateY(18px) scale(0.97); transition: transform 0.4s var(--ease); }
.modal.open .modal__card { transform: none; }
.modal__badge { width: 78px; height: 78px; border-radius: 50%; background: var(--green-100); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.4rem; color: var(--green-800); position: relative; }
.modal__badge svg { width: 38px; height: 38px; }
.modal__badge::after { content:""; position:absolute; inset:-8px; border-radius:50%; border:1px solid rgba(196,161,90,0.4); }
.modal__card h3 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: 0.6rem; }
.modal__card p { margin-bottom: 1.8rem; font-size: 1.02rem; }
.modal__card .btn { width: 100%; justify-content: center; }
.modal__close { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; border: none; background: var(--cream); border-radius: 50%; cursor: pointer; color: var(--ink-soft); display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.modal__close:hover { background: var(--green-100); color: var(--green-900); }
.modal__close svg { width: 18px; height: 18px; }
.form-error { background: #fbeaea; border: 1px solid #e3b7b7; color: #8a2b2b; border-radius: var(--radius); padding: 0.8em 1em; font-size: 0.9rem; margin-bottom: 1.2rem; display: none; }
.form-error.show { display: block; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .values__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .svc-body { grid-template-columns: 1fr; }
  .svc-aside { position: static; flex-direction: row; flex-wrap: wrap; }
  .svc-aside > * { flex: 1 1 260px; }
}
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .hero__media { max-width: 420px; }
  .hero__media .photo { aspect-ratio: 16 / 11; }

  .feature__grid { grid-template-columns: 1fr; }
  .feature--reverse .feature__media { order: 0; }
  .feature__media .photo { max-width: 480px; }
}
@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: block; }
  .about__grid { grid-template-columns: 1fr; }
  .about__portrait { max-width: 380px; margin: 0 auto; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .services__grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero__trust { gap: 1.2rem 1.8rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .hero__cta.btn-row .btn { width: 100%; }
  .logo__sub { display: none; }
  .svc-aside { flex-direction: column; }
}


/* ============================================================
   V2 POLISH LAYER — upgraded motion, interaction & detail
   (appended overrides; the base system above is unchanged)
   ============================================================ */

/* Selection + keyboard focus */
::selection { background: var(--gold-300); color: var(--green-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* --- Hero entrance choreography (on load) --- */
@keyframes heroRise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero__eyebrow, .hero h1, .hero__sub, .hero__cta, .hero__trust { animation: heroRise 0.85s var(--ease) backwards; }
.hero h1 { animation-delay: 0.12s; }
.hero__sub { animation-delay: 0.24s; }
.hero__cta { animation-delay: 0.36s; }
.hero__trust { animation-delay: 0.5s; }
@keyframes justiceFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-16px); } }
.hero__bg-justice { animation: justiceFloat 10s ease-in-out infinite; }
@keyframes glowPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.hero__glow { animation: glowPulse 7s ease-in-out infinite; }

/* --- Buttons: sheen sweep + press state --- */
.btn { position: relative; overflow: hidden; }
.btn::after { content: ""; position: absolute; top: 0; left: -85%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.32), transparent);
  transform: skewX(-20deg); transition: left 0.65s var(--ease); pointer-events: none; }
.btn:hover::after { left: 135%; }
.btn:active { transform: translateY(0) scale(0.975); box-shadow: none; }
.btn[disabled] { opacity: 0.7; cursor: wait; }

/* --- Nav: condenses as you scroll --- */
.nav { transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease), height 0.35s var(--ease); }
.nav.scrolled { height: 64px; }
.nav .logo__mark { transition: transform 0.35s var(--ease); }
.nav.scrolled .logo__mark { transform: scale(0.88); }
.nav__link.is-active { color: var(--green-800); }
.nav__link.is-active::after { width: 100%; }

/* --- Service cards: icon flip + deeper lift --- */
.service-card__icon { transition: background 0.35s var(--ease), color 0.35s var(--ease), transform 0.35s var(--ease); }
.service-card:hover .service-card__icon { background: var(--green-800); color: var(--gold-300); transform: scale(1.07) rotate(-3deg); }
.service-card:hover { transform: translateY(-8px); }

/* --- Photos: slow cinematic zoom, frame tightens --- */
.photo img { transition: transform 1.1s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo__frame { transition: inset 0.5s var(--ease); }
.photo:hover .photo__frame { inset: 8px; }

/* --- Values / contact / list micro-interactions --- */
.value { transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.value:hover { transform: translateY(-5px); border-top-color: var(--gold-500); }
.contact__item .ci-icon { transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease); }
.contact__item:hover .ci-icon { background: var(--green-800); color: var(--gold-300); transform: scale(1.08); }
.aside-nav a { transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer ul a { transition: color 0.25s var(--ease), padding-left 0.25s var(--ease); }
.footer ul a:hover { padding-left: 4px; }

/* --- Form fields --- */
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(55,69,0,0.4); }

/* --- Back-to-top button (injected by js/main.js) --- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 50px; height: 50px; border-radius: 50%;
  border: none; cursor: pointer; background: var(--green-800); color: var(--gold-300);
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity 0.35s var(--ease), visibility 0.35s, transform 0.35s var(--ease), background 0.25s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--green-900); transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* --- Hero scroll cue (hidden where it would crowd content) --- */
@media (max-width: 960px), (max-height: 720px) { .hero__scroll { display: none; } }

/* --- Hero background fixes --- */
/* The gold glow's box edge landed at exactly 50% of the screen, creating a
   hard vertical seam on mobile. closest-side guarantees a full fade to
   transparent before the element's edge — no visible boundary. */
.hero__glow { top: -30%; left: -18%; width: 85%; height: 110%;
  background: radial-gradient(closest-side, rgba(196,161,90,0.15), transparent); }
/* On stacked (mobile) layout the hero photo sat flush against the next
   section — keep a band of green below it for a cleaner hand-off. */
@media (max-width: 960px) { .hero { padding-bottom: clamp(48px, 12vw, 84px); } }

/* --- Mobile menu CTA: was inheriting the 2rem serif nav-link styling and
       overflowing; restore proper button proportions and let it wrap --- */
.mobile-nav a.btn.mobile-nav__cta {
  font-family: var(--font-sans) !important; font-size: 1rem !important; font-weight: 600;
  display: flex; align-items: center; justify-content: center; text-align: center;
  white-space: normal; line-height: 1.35; width: 100%;
  border-bottom: none; padding: 0.95em 1.2em;
}

/* --- Reduced motion: all new motion off --- */
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow, .hero h1, .hero__sub, .hero__cta, .hero__trust, .hero__bg-justice, .hero__glow { animation: none; }
  .btn::after { display: none; }
  .photo img, .photo:hover img { transform: none; }
  .to-top, .to-top.show { transition: none; }
}

/* --- Mobile menu: keep the hamburger/X pinned above the open overlay so
       it can always close the menu from the same spot --- */
body.menu-open .nav { background: transparent; box-shadow: none; border-color: transparent; }
body.menu-open .nav__toggle { position: fixed; top: 22px; right: max(18px, calc((100vw - 1200px) / 2 + 24px)); }
.nav__toggle { z-index: 210; }
.mobile-nav { z-index: 190; }

/* --- Dedicated mobile-nav close (X) — fixed top-right of the overlay --- */
.mnav-x {
  position: fixed; top: 16px; right: 16px; z-index: 220;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  border: 1px solid rgba(247,244,236,0.3); background: rgba(13,18,6,0.4);
  color: var(--cream); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.mnav-x svg { width: 26px; height: 26px; display: block; }
.mnav-x:hover { background: rgba(196,161,90,0.28); }
.mnav-x:active { transform: scale(0.92); }
body.menu-open .mnav-x { display: flex; }
/* With a dedicated X in the overlay, hide the header hamburger while open */
body.menu-open .nav__toggle { display: none; }


/* ============================================================
   V3 REBRAND LAYER — The Sciandra Law Firm
   Military green (from logo) · castle mark · pillars
   ============================================================ */

/* Logo lockup: real castle mark + two-line firm name */
img.logo__mark { width: 54px; height: 35px; object-fit: contain; }
.footer img.logo__mark { width: 50px; height: 32px; }
@media (max-width: 420px) { .logo__sub { font-size: 0.6rem; letter-spacing: 0.1em; } }

/* Mobile: Chris's photo is the first thing you see in the hero */
@media (max-width: 960px) {
  .hero__grid { display: flex; flex-direction: column; gap: 2.4rem; }
  .hero__media { order: -1; width: min(420px, 88%); margin: clamp(20px, 5vw, 40px) auto 0; }
}

/* Feature emblem (replaces stock photo) */
.emblem { display: flex; justify-content: center; align-items: center; padding: clamp(24px, 4vw, 48px);
  background: var(--cream-dk); border-radius: var(--radius); border: 1px solid var(--line); }
.emblem img { width: min(400px, 82%); height: auto; }

/* Testimonials */
.testi__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .testi__grid { grid-template-columns: 1fr; } }
.testi { background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--gold-500);
  padding: 2.2rem 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.testi:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.testi blockquote { font-family: var(--font-serif); font-style: italic; font-size: 1.18rem; line-height: 1.5;
  color: var(--green-900); margin-bottom: 1.1rem; border: none; padding: 0; }
.testi figcaption { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); }

/* Publications cards */
.pub__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
@media (max-width: 900px) { .pub__grid { grid-template-columns: 1fr; } }
.pub-card { background: var(--white); border: 1px solid var(--line); padding: 2.2rem 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 0.7rem; }
.pub-card__date { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-600); }
.pub-card h3 { font-size: 1.3rem; }
.pub-card p { font-size: 0.98rem; }

/* About: portrait removed (hero carries Chris's photo) — single centered column */
.about__grid { display: block; max-width: 860px; margin: 0 auto; }

/* "Trusted Counsel" badge sits below the photo, matching its full width */
.hero__media .badge { position: static; margin: 18px 0 0; width: 100%; max-width: none; transform: none;
  box-sizing: border-box; justify-content: center; padding: 16px 22px; }

/* Hero trust stats on mobile: the artwork behind them washed out the type —
   give the band its own deep-green panel so the gold and cream read clearly. */
@media (max-width: 960px) {
  .hero__trust {
    background: rgba(33,43,0,0.88);
    border: 1px solid rgba(196,161,90,0.28);
    border-radius: var(--radius);
    padding: 1.5rem 1.4rem;
    margin-top: 0.4rem;
    gap: 1.4rem 1.6rem;
    backdrop-filter: blur(2px);
  }
  .hero__trust-item { flex: 1 1 auto; min-width: 90px; }
  .hero__trust-item .num { font-size: 1.75rem; }
  .hero__trust-item .lbl { color: rgba(247,244,236,0.9); }
}

/* Pillars: larger headings (numbers removed) */
.values__grid .value h4 { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-bottom: 0.7rem; }

/* ============================================================
   V4 — House illustration hero + green-to-image gradient
   ============================================================ */

/* Hero: illustration behind, green washing left→right into the artwork */
.hero {
  background: var(--cream) url("../assets/office-illustration.png") no-repeat center right / cover;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(33,43,0,0.94) 0%,
    rgba(33,43,0,0.88) 18%,
    rgba(55,69,0,0.62) 42%,
    rgba(55,69,0,0.28) 62%,
    rgba(55,69,0,0.06) 80%,
    rgba(247,244,236,0) 100%);
}
.hero .container, .hero__grid { position: relative; z-index: 2; }
@media (max-width: 960px) {
  /* Vertical wash on mobile so the copy stays legible over the artwork */
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.93) 0%, rgba(55,69,0,0.80) 45%, rgba(55,69,0,0.55) 75%, rgba(55,69,0,0.35) 100%);
  }
}

/* Practice-area sub-page headers: same treatment, house on the right */
.page-header {
  background: var(--green-900) url("../assets/office-illustration.png") no-repeat center right / cover;
}
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(33,43,0,0.95) 0%,
    rgba(33,43,0,0.90) 22%,
    rgba(55,69,0,0.66) 46%,
    rgba(55,69,0,0.30) 66%,
    rgba(55,69,0,0.08) 84%,
    rgba(247,244,236,0) 100%);
}
.page-header__justice { display: none; }
@media (max-width: 760px) {
  .page-header::before {
    background: linear-gradient(180deg, rgba(33,43,0,0.94) 0%, rgba(55,69,0,0.78) 60%, rgba(55,69,0,0.5) 100%);
  }
}

/* Whole practice-area card is clickable */
.service-card__hit { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.service-card:focus-within { box-shadow: var(--shadow-md); }
.service-card__link { position: relative; z-index: 4; pointer-events: none; }

/* About the Firm: breathing room between paragraphs */
.about__body p { margin-bottom: 2.2rem; }
.about__body p:last-of-type { margin-bottom: 0; }

/* ============================================================
   V5 — Living green sections: drifting gradient + cursor glare
   ============================================================ */
.section--green { position: relative; overflow: hidden; isolation: isolate; }

/* Slow-drifting gold/green wash so the green never reads flat */
.section--green::before {
  content: ""; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(45% 55% at 18% 20%, rgba(196,161,90,0.20), transparent 62%),
    radial-gradient(50% 60% at 82% 78%, rgba(90,110,16,0.45), transparent 65%),
    radial-gradient(40% 50% at 60% 15%, rgba(228,212,168,0.10), transparent 60%);
  animation: greenDrift 22s ease-in-out infinite alternate;
}
@keyframes greenDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d(2%, 2%, 0) scale(1.06); }
  100% { transform: translate3d(-1%, 1%, 0) scale(1.02); }
}

/* Cursor glare — follows the pointer across the band (set by js/main.js) */
.section--green::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(360px circle at var(--gx, 50%) var(--gy, 50%),
    rgba(228,212,168,0.16), rgba(196,161,90,0.07) 42%, transparent 68%);
  opacity: 0; transition: opacity 0.45s var(--ease);
}
.section--green.is-lit::after { opacity: 1; }
.section--green > .container { position: relative; z-index: 1; }

/* Pillars are static content, not interactive cards — no hover treatment */
.section--green .value,
.section--green .value:hover {
  background: none; transform: none; box-shadow: none;
}
.section--green .value::before { display: none; }

@media (prefers-reduced-motion: reduce) {
  .section--green::before { animation: none; }
  .section--green::after { display: none; }
}

/* ============================================================
   V6 — Hero is copy-only over the illustration; Chris's portrait
   now anchors "The Sciandra Approach" feature band.
   ============================================================ */
.hero__grid { grid-template-columns: 1fr; }
.hero .container { max-width: 1200px; }
.hero__sub { max-width: 660px; }
.hero__trust { max-width: 720px; }
@media (min-width: 961px) {
  .hero__eyebrow, .hero h1, .hero__sub, .hero__cta, .hero__trust { max-width: 720px; }
}

/* Feature portrait + badge — constrain both to the photo's width so they align */
.feature__media { position: relative; max-width: 480px; }
.feature__media .photo { aspect-ratio: 4 / 5; }
.badge--feature {
  background: var(--cream); color: var(--green-900); border-radius: 8px;
  padding: 16px 22px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-top: 18px; box-sizing: border-box; width: 100%;
}
.badge--feature svg { width: 26px; height: 26px; color: var(--gold-600); flex-shrink: 0; }
.badge--feature .t { font-family: var(--font-serif); font-size: 1.05rem; color: var(--green-900); line-height: 1.1; }
.badge--feature .s { font-size: 0.72rem; color: var(--ink-soft); letter-spacing: 0.04em; }

/* ============================================================
   V7 — Hero centering, practice-area ticker, stats band,
   centered footer, contact map, service imagery at native size
   ============================================================ */

/* Hero artwork centered rather than pinned right */
.hero { background-position: center center; }
@media (max-width: 760px) { .hero { background-position: 62% center; } }

/* No hover zoom on any photo, site-wide */
.photo img, .photo:hover img { transform: none !important; }
.photo:hover .photo__frame { inset: 14px; }

/* ---------- Practice-area ticker ---------- */
.ticker {
  background: var(--green-900); border-top: 1px solid rgba(196,161,90,0.3);
  border-bottom: 1px solid rgba(196,161,90,0.3);
  overflow: hidden; position: relative; padding: 1.6rem 0;
}
.ticker::before, .ticker::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: clamp(40px, 8vw, 130px); z-index: 2; pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--green-900), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--green-900), transparent); }
.ticker__track { display: flex; width: max-content; animation: tickerScroll 46s linear infinite; }
.ticker__set { display: flex; align-items: center; }
.tick__item {
  display: flex; flex-direction: column; justify-content: center;
  padding: 0 clamp(1.8rem, 4vw, 3.4rem); position: relative; text-align: left; white-space: nowrap;
}
.tick__item + .tick__item::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 42px; background: rgba(196,161,90,0.34);
}
.tick__a, .tick__b { font-family: var(--font-serif); line-height: 1.12; }
.tick__a { font-size: clamp(1.15rem, 1.9vw, 1.6rem); color: var(--gold-500); }
.tick__b { font-size: clamp(1.15rem, 1.9vw, 1.6rem); color: var(--cream); }
@keyframes tickerScroll { from { transform: translate3d(0,0,0); } to { transform: translate3d(-50%,0,0); } }
.ticker:hover .ticker__track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------- At-a-glance stats band (moved out of the hero) ---------- */
.stats-band { padding: 0 0 clamp(2.4rem, 5vw, 3.6rem); }
.stats-band__inner {
  display: flex; flex-wrap: wrap; gap: 1.4rem 3.2rem; justify-content: center; text-align: center;
  background: var(--green-900); border: 1px solid rgba(196,161,90,0.28); border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 4vw, 2.6rem);
}
.stats-band__inner .hero__trust-item { align-items: center; }
.stats-band__inner .hero__trust-item .lbl { color: rgba(247,244,236,0.9); }

/* ---------- Centered, full-width footer identity + bottom bar ---------- */
.footer__brand {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 1rem; width: 100%; padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(247,244,236,0.14);
}
.footer__brand .logo { justify-content: center; }
.footer__brand .footer__about { max-width: 720px; margin: 0 auto; }
.footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; }
.footer__disclaimer { text-align: center; max-width: 900px; margin-left: auto; margin-right: auto; }

/* ---------- Contact: embedded office map ---------- */
.contact__map {
  display: block; position: relative; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); margin-bottom: 2rem;
  height: clamp(200px, 30vw, 280px); background: var(--cream-dk);
}
.contact__map iframe { width: 100%; height: 100%; border: 0; display: block; pointer-events: none; filter: saturate(0.85); }
.contact__map-cta {
  position: absolute; right: 12px; bottom: 12px; background: var(--green-800); color: var(--cream);
  font-size: 0.76rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 4px; box-shadow: var(--shadow-sm);
  transition: background 0.25s var(--ease);
}
.contact__map:hover .contact__map-cta { background: var(--green-900); }

/* ---------- About signature centered ---------- */
.about__sig--center { justify-content: center; text-align: left; }

/* ---------- Service page imagery at its native proportions ---------- */
.svc-hero-img.photo { aspect-ratio: auto; height: auto; overflow: visible; }
.svc-hero-img.photo img { width: 100%; height: auto; display: block; object-fit: contain; }
.svc-hero-img.photo .photo__frame { display: none; }

/* ---------- "The Sciandra Difference" heading ---------- */
.svc-difference {
  text-align: center; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.2;
  margin-top: clamp(2.6rem, 5vw, 3.6rem); margin-bottom: 1.8rem;
}
.svc-difference .sd-sub { display: block; margin-top: 0.5rem; font-size: 0.78em; color: var(--green-700); }

/* ---------- Remove the floating back-to-top on mobile ---------- */
@media (max-width: 760px) { .to-top { display: none; } }

/* Practice-area card icons: allow the wider castle glyph */
.service-card__icon svg { width: 24px; height: 24px; }

/* Practice-area headers: hold the green further right and keep the text
   inside the opaque zone so it never washes out over the illustration. */
.page-header::before {
  background: linear-gradient(90deg,
    rgba(33,43,0,0.95) 0%,
    rgba(33,43,0,0.93) 40%,
    rgba(40,52,0,0.86) 60%,
    rgba(55,69,0,0.60) 76%,
    rgba(55,69,0,0.22) 90%,
    rgba(247,244,236,0) 100%);
}
.page-header h1, .page-header p { max-width: min(660px, 62%); }
@media (max-width: 760px) {
  .page-header h1, .page-header p { max-width: 100%; }
}

/* Ticker: continuous (no pause), centered, all-white type */
.ticker:hover .ticker__track { animation-play-state: running; }
.tick__item { text-align: center; align-items: center; }
.tick__a, .tick__b { color: var(--white); }

/* Stats band now sits below The Sciandra Approach */
.stats-band { padding: 0 0 clamp(3rem, 6vw, 4.5rem); }

/* Footer areas-served line (local SEO copy) */
.footer__areas { font-size: 0.82rem; color: rgba(247,244,236,0.6); max-width: 780px;
  margin: 0.6rem auto 0; line-height: 1.7; }

/* Accessibility: larger, more readable type on phones (clients in their 60s–70s) */
@media (max-width: 760px) {
  body { font-size: 1.06rem; }
  .hero__sub { font-size: 1.14rem; }
  .service-card p, .feature__list li, .value p, .contact__item .ci-value { font-size: 1.04rem; }
  .nav__link, .mobile-nav__inner a { letter-spacing: 0.02em; }
  .footer ul a, .footer__contact-line { font-size: 1rem; }
}

/* Hero secondary CTA: own semi-opaque backdrop so it never relies on where
   the gradient wash happens to land over the illustration. */
.hero__cta .btn--ghost-light {
  background: rgba(33,43,0,0.72);
  border-color: rgba(228,212,168,0.72);
  backdrop-filter: blur(2px);
}
.hero__cta .btn--ghost-light:hover {
  background: rgba(33,43,0,0.9);
  border-color: var(--gold-300);
}

/* Hero CTA hover: the base ghost-hover flipped the label to dark green, which
   vanished against the new dark backdrop. Keep the label cream at all times. */
.hero__cta .btn--ghost-light:hover,
.hero__cta .btn--ghost-light:focus-visible {
  background: rgba(33,43,0,0.9);
  border-color: var(--gold-300);
  color: var(--cream);
}

/* Remove the decorative line-art figure and glow from the hero — they read as
   stray shapes over the illustration. */
.hero__bg-justice, .hero__glow { display: none; }

/* Mobile hero: hold the green top-to-bottom the way the desktop wash holds
   left-to-right, fading into the artwork's cream only at the very bottom. */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.95) 0%,
      rgba(33,43,0,0.92) 42%,
      rgba(40,52,0,0.86) 62%,
      rgba(55,69,0,0.62) 80%,
      rgba(55,69,0,0.24) 93%,
      rgba(247,244,236,0) 100%);
  }
}

/* Mobile hero: green holds through the headline, then releases into the
   artwork. A soft text-shadow keeps the sub-copy readable in the light zone. */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.92) 0%,
      rgba(33,43,0,0.88) 30%,
      rgba(45,58,0,0.62) 44%,
      rgba(55,69,0,0.34) 58%,
      rgba(55,69,0,0.14) 74%,
      rgba(247,244,236,0) 88%);
  }
  .hero__sub { color: #FFFFFF; text-shadow: 0 1px 10px rgba(20,26,0,0.75), 0 0 3px rgba(20,26,0,0.6); }
  .hero__eyebrow { text-shadow: 0 1px 8px rgba(20,26,0,0.7); }
}

/* Mobile hero: hold the green through the headline AND the sub-copy, then
   release right before the buttons. */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.92) 0%,
      rgba(33,43,0,0.90) 46%,
      rgba(38,50,0,0.82) 56%,
      rgba(50,64,0,0.44) 66%,
      rgba(55,69,0,0.16) 80%,
      rgba(247,244,236,0) 92%);
  }
}

/* Stats band: keep all three items on one row on phones */
@media (max-width: 760px) {
  .stats-band__inner { flex-wrap: nowrap; gap: 0.6rem; padding: 1.2rem 0.8rem; }
  .stats-band__inner .hero__trust-item { flex: 1 1 0; min-width: 0; }
  .stats-band__inner .hero__trust-item .num { font-size: clamp(1.15rem, 5.2vw, 1.6rem); white-space: nowrap; }
  .stats-band__inner .hero__trust-item .lbl { font-size: clamp(0.66rem, 2.7vw, 0.8rem); line-height: 1.3; }
}

/* Mobile hero: green wash lightened ~15% overall */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.78) 0%,
      rgba(33,43,0,0.76) 46%,
      rgba(38,50,0,0.70) 56%,
      rgba(50,64,0,0.37) 66%,
      rgba(55,69,0,0.14) 80%,
      rgba(247,244,236,0) 92%);
  }
}

/* ---------- Mobile nav: CTA + direct Call / Email actions ---------- */
.mobile-nav a.btn.mobile-nav__cta:hover,
.mobile-nav a.btn.mobile-nav__cta:focus-visible {
  color: var(--green-900) !important;   /* was fading to gold-on-gold */
  background: var(--gold-300);
  border-color: var(--gold-300);
}
.mobile-nav__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1rem;
  opacity: 0; transition: opacity 0.4s 0.66s; }
body.menu-open .mobile-nav__actions { opacity: 1; }
.mnav-action {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 0 14px; border-radius: 5px;
  border: 1px solid rgba(228,212,168,0.45); background: rgba(247,244,236,0.06);
  color: var(--cream); font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600;
  letter-spacing: 0.02em; text-decoration: none;
  transition: background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.mnav-action svg { width: 18px; height: 18px; flex-shrink: 0; }
.mnav-action:hover, .mnav-action:focus-visible {
  background: var(--gold-300); border-color: var(--gold-300); color: var(--green-900);
}

/* Mobile nav primary links 15% smaller */
.mobile-nav__inner > a { font-size: 1.7rem; }
.mobile-nav .mnav-action { font-size: 0.95rem; font-family: var(--font-sans); border-bottom: 1px solid rgba(228,212,168,0.45); }

/* Mobile nav Call / Email: proper white buttons, centered content, black label
   throughout; gold on hover. (.mobile-nav a's display:block was left-aligning
   the icon + label, so these are set explicitly.) */
.mobile-nav .mnav-action {
  display: flex !important; align-items: center; justify-content: center; gap: 10px;
  text-align: center; min-height: 54px; padding: 0 16px;
  background: var(--white); border: 1px solid var(--white); border-radius: 5px;
  color: var(--ink) !important; font-weight: 700; letter-spacing: 0.01em;
  box-shadow: var(--shadow-sm);
}
.mobile-nav .mnav-action svg { width: 19px; height: 19px; stroke: var(--ink); flex: none; }
.mobile-nav .mnav-action:hover,
.mobile-nav .mnav-action:focus-visible {
  background: var(--gold-500); border-color: var(--gold-500); color: var(--ink) !important;
}
.mobile-nav .mnav-action:hover svg { stroke: var(--ink); }

/* Testimonials: real quotes are longer — align cards and set off the attribution */
.testi { display: flex; flex-direction: column; }
.testi blockquote { flex: 1; font-size: 1.06rem; line-height: 1.6; }
.testi figcaption { display: flex; flex-direction: column; gap: 0.25rem;
  padding-top: 1rem; border-top: 1px solid var(--line);
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
  letter-spacing: 0; text-transform: none; color: var(--green-800); }
.testi__role { font-family: var(--font-sans); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-600); }

/* Testimonial quotes in regular weight */
.testi blockquote { font-weight: 400; }

/* Testimonial quotes: same body face, weight, and style as the rest of the site
   (was serif italic, which read as heavy/bold next to normal copy) */
.testi blockquote {
  font-family: var(--font-sans);
  font-style: normal;
  font-weight: 400;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-soft);
  letter-spacing: 0;
}

/* Desktop hero: hold full green to mid-screen so the whole sub-headline sits on
   solid color, then fade out across the right half into the artwork. */
@media (min-width: 961px) {
  .hero::before {
    background: linear-gradient(90deg,
      rgba(33,43,0,0.93) 0%,
      rgba(33,43,0,0.92) 42%,
      rgba(35,46,0,0.90) 50%,
      rgba(45,58,0,0.72) 62%,
      rgba(55,69,0,0.42) 74%,
      rgba(55,69,0,0.14) 88%,
      rgba(247,244,236,0) 100%);
  }
}

/* ---------- Credentials: even grid instead of ragged wrap ---------- */
.about__creds {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem 1.2rem;
  margin-top: 2.4rem; padding-top: 2rem; border-top: 1px solid var(--line);
}
.about__cred { min-width: 0; }
.about__cred .k { font-size: 1.22rem; line-height: 1.25; margin-bottom: 0.3rem; text-wrap: balance; }
.about__cred .v { font-size: 0.82rem; line-height: 1.45; }
@media (max-width: 860px) {
  .about__creds { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.2rem; }
  .about__cred .k { font-size: 1.14rem; }
}
.about__sig { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }

/* ---------- Ticker: clickable items with gold dividers ---------- */

a.tick__item { text-decoration: none; color: inherit; transition: color 0.25s var(--ease); }
a.tick__item:hover .tick__b, a.tick__item:focus-visible .tick__b { color: var(--gold-300); }
a.tick__item:hover .tick__a, a.tick__item:focus-visible .tick__a { color: var(--gold-500); }
.tick__item { position: relative; }
.tick__item::after {
  content: ""; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 1px; height: 2.2rem;
  background: linear-gradient(180deg, transparent, var(--gold-500) 22%, var(--gold-500) 78%, transparent);
  opacity: 0.8;
}



/* ---------- Practice-area headers: push the house right so it reads ---------- */
.page-header { background-position: 88% center; }


/* Nav lockup: keep the subtitle on one line and hand off to the hamburger
   before it can collide with the desktop links (~900–1000px). */
.logo__sub { white-space: nowrap; }
@media (max-width: 1040px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: block; }
}
@media (max-width: 1040px) and (min-width: 961px) {
  .logo__sub { font-size: 0.66rem; }
}

/* Mobile hero: hold the green through the copy AND the buttons so the
   illustration's own lettering can't read through them. */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.93) 0%,
      rgba(33,43,0,0.91) 55%,
      rgba(33,43,0,0.88) 72%,
      rgba(35,46,0,0.84) 82%,
      rgba(45,58,0,0.55) 91%,
      rgba(55,69,0,0.18) 97%,
      rgba(247,244,236,0) 100%);
  }
  /* Ghost CTA needs its own body on top of the artwork */
  .hero__cta .btn--ghost-light { background: rgba(33,43,0,0.88); }
}

/* Hero on mobile: full-bleed crop, framed on the house and sign */
@media (max-width: 960px) {
  .hero { background-size: cover; background-position: 62% center; }
}

/* Practice-area headers on mobile: keep the house centered-right and visible —
   the wash sits behind the copy column only, so the artwork reads on the right. */
@media (max-width: 760px) {
  .page-header { background-size: cover; background-position: 68% center; background-color: var(--green-900); }
  .page-header::before {
    background:
      linear-gradient(180deg, rgba(33,43,0,0.88) 0%, rgba(33,43,0,0.72) 46%, rgba(40,52,0,0.42) 74%, rgba(55,69,0,0.22) 100%),
      linear-gradient(90deg, rgba(33,43,0,0.55) 0%, rgba(33,43,0,0.18) 55%, rgba(33,43,0,0) 100%);
  }
  .page-header h1 { text-shadow: 0 2px 14px rgba(20,26,0,0.55); }
  .page-header p { text-shadow: 0 1px 10px rgba(20,26,0,0.6); }
  .breadcrumb { text-shadow: 0 1px 8px rgba(20,26,0,0.6); }
}

/* Mobile hero: hold solid green through the headline and paragraph, then begin
   the fade right where the buttons start. */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.93) 0%,
      rgba(33,43,0,0.92) 52%,
      rgba(33,43,0,0.90) 62%,
      rgba(38,50,0,0.62) 72%,
      rgba(48,62,0,0.34) 82%,
      rgba(55,69,0,0.12) 92%,
      rgba(247,244,236,0) 100%);
  }
}

/* Mobile hero: begin the fade a little above the buttons */
@media (max-width: 960px) {
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.93) 0%,
      rgba(33,43,0,0.91) 42%,
      rgba(35,46,0,0.80) 54%,
      rgba(40,52,0,0.56) 66%,
      rgba(48,62,0,0.30) 78%,
      rgba(55,69,0,0.10) 90%,
      rgba(247,244,236,0) 100%);
  }
}

/* Ticker: every item is a link — consistent gold on hover, and the marquee
   pauses so an item can actually be clicked. */
a.tick__item .tick__a, a.tick__item .tick__b { transition: color 0.25s var(--ease); }
a.tick__item:hover .tick__a, a.tick__item:focus-visible .tick__a,
a.tick__item:hover .tick__b, a.tick__item:focus-visible .tick__b { color: var(--gold-300); }
.ticker__track:hover { animation-play-state: paused; }

/* Ticker: pause the scroll on hover/focus so items can actually be clicked,
   and give the whole item a clear hover state. */
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }
a.tick__item { cursor: pointer; }
a.tick__item:hover .tick__a,
a.tick__item:hover .tick__b,
a.tick__item:focus-visible .tick__a,
a.tick__item:focus-visible .tick__b { color: var(--gold-300); }

/* ============================================================
   V6 — Chris's zoomed-out house art: sign fully visible
   ============================================================ */

/* Desktop hero: house pinned right, green pulled back ~15% so the sign and
   flag sit clear of the fade (house center-line still inside the wash). */
@media (min-width: 961px) {
  .hero { background-position: right center; background-size: cover; }
  .hero::before {
    background: linear-gradient(90deg,
      rgba(33,43,0,0.93) 0%,
      rgba(33,43,0,0.92) 30%,
      rgba(35,46,0,0.88) 38%,
      rgba(45,58,0,0.62) 50%,
      rgba(55,69,0,0.30) 62%,
      rgba(55,69,0,0.08) 74%,
      rgba(247,244,236,0) 85%);
  }
}

/* Mobile hero: sign visible between the copy and the CTAs; buttons at the
   bottom of the hero. Green holds the top, releases over the artwork. */
@media (max-width: 960px) {
  .hero { background-size: cover; background-position: 64% center; }
  .hero::before {
    background: linear-gradient(180deg,
      rgba(33,43,0,0.94) 0%,
      rgba(33,43,0,0.92) 34%,
      rgba(38,50,0,0.66) 46%,
      rgba(48,62,0,0.30) 58%,
      rgba(55,69,0,0.08) 70%,
      rgba(55,69,0,0.04) 100%);
  }
  .hero__cta { margin-top: clamp(210px, 56vw, 360px); margin-bottom: 0; }
  .hero { padding-bottom: clamp(28px, 7vw, 48px); }
}

/* Practice-area headers: same art, house/sign held right of the fade */
.page-header { background-position: right center; background-size: cover; }
.page-header::before {
  background: linear-gradient(90deg,
    rgba(33,43,0,0.95) 0%,
    rgba(33,43,0,0.93) 34%,
    rgba(40,52,0,0.80) 46%,
    rgba(45,58,0,0.52) 58%,
    rgba(55,69,0,0.18) 72%,
    rgba(247,244,236,0) 84%);
}
@media (max-width: 760px) {
  .page-header { background-position: 62% center; background-size: cover; }
  .page-header::before {
    background: linear-gradient(90deg,
      rgba(33,43,0,0.95) 0%,
      rgba(33,43,0,0.90) 40%,
      rgba(40,52,0,0.72) 58%,
      rgba(50,64,0,0.44) 76%,
      rgba(55,69,0,0.22) 100%);
  }
}

/* Desktop hero: Chris's zoomed-in artwork — full-width slice centered on the
   house and sign; sign lands right of center, clear of the wash. Mobile keeps
   the wide illustration unchanged. */
@media (min-width: 961px) {
  .hero {
    background-image: url("../assets/office-illustration-desktop.jpg");
    background-size: cover;
    background-position: center 52%;
  }
}
/* Mobile: CTAs pushed further down the hero */
@media (max-width: 960px) {
  .hero__cta { margin-top: clamp(300px, 78vw, 500px); }
}

/* Desktop hero: zoom the art out to its native resolution (the cover slice was
   upscaling ~2x and blurring). The left gap it leaves sits under the solid
   green wash; the hero's cream base fills any remainder. */
@media (min-width: 961px) {
  .hero {
    background-color: #F2EBD9;
    background-size: 74% auto;
    background-position: right 38%;
  }
}
@media (min-width: 1600px) {
  .hero { background-size: 62% auto; background-position: right 38%; }
}
/* Mobile hero: center the sign (was hugging the left edge) */
@media (max-width: 960px) {
  .hero { background-position: 46% center; }
}

/* Desktop hero: center the artwork (was pinned bottom-right) — house sits
   mid-frame vertically and eases off the right edge. */
@media (min-width: 961px) {
  .hero { background-position: 82% 30%; }
}
@media (min-width: 1600px) {
  .hero { background-position: 76% 30%; }
}

/* Desktop hero: back to the wide illustration, full-bleed (no dead space),
   zoomed in with the house and sign center-right — the look that worked. */
@media (min-width: 961px) {
  .hero {
    background-image: url("../assets/office-illustration.png");
    background-color: var(--green-900);
    background-size: 132% auto;
    background-position: 0% 36%;
  }
}
@media (min-width: 1600px) {
  .hero { background-size: 132% auto; background-position: 0% 36%; }
}

/* ============================================================
   V7 — page order, mid-page CTA bar, centered 7th card,
        bigger credential sub-labels, About lockup
   ============================================================ */

/* Credentials: secondary line larger and more legible */
.about__cred .v { font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
@media (max-width: 860px) { .about__cred .v { font-size: 0.96rem; } }

/* Mid-page CTA bar — full-bleed green, buttons centered */
.cta-bar { background: var(--green-900); padding: clamp(2.2rem, 5vw, 3.4rem) 0; position: relative; overflow: hidden; }
.cta-bar::before { content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 140% at 50% 0%, rgba(214,178,102,0.16), transparent 70%); pointer-events: none; }
.cta-bar__inner { position: relative; justify-content: center; align-items: center; }
.cta-bar .btn { min-width: 0; }
@media (max-width: 560px) {
  .cta-bar__inner { flex-direction: column; align-items: stretch; }
  .cta-bar .btn { width: 100%; justify-content: center; }
}

/* 7th practice-area card centered in its own row — only where the grid is
   actually 3-up (2-col and 1-col widths keep auto placement). */
@media (min-width: 1025px) {
  .service-card--center { grid-column: 2; }
}

/* Firm lockup centered above the About body */
.about__lockup { display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 0.5rem; margin-bottom: 2.2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.about__lockup .logo__mark { width: 72px; height: 47px; display: flex; align-items: center; justify-content: center; }
.about__lockup .logo__name { font-family: var(--font-serif); font-size: clamp(1.7rem, 3.4vw, 2.35rem);
  font-weight: 600; color: var(--green-900); line-height: 1.1; }
.about__lockup .logo__sub { display: block; white-space: normal; font-size: clamp(0.74rem, 1.15vw, 0.86rem);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-600); line-height: 1.3; }

/* Firm name now carries "LLC" — let the nav/footer lockup wrap gracefully
   instead of overflowing on narrow screens. */
.logo__name { text-wrap: balance; }
@media (max-width: 420px) { .logo__name { font-size: 1.02rem; line-height: 1.15; } }
