/* ===================================================
   SumnerDeere, LLC — Stylesheet
   Palette: Charcoal #1B2329 + Teal #1A9080 + Cream #F4F2ED
   Fonts: Cormorant Garamond (display) + Outfit (body)
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Outfit:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

:root {
  --charcoal:       #1B2329;
  --charcoal-mid:   #263038;
  --charcoal-light: #354049;
  --teal:           #1E8C5A;
  --teal-light:     #26AD70;
  --teal-dark:      #166644;
  --cream:          #F4F2ED;
  --off-white:      #F9F8F5;
  --white:          #FFFFFF;
  --text:           #1B2329;
  --text-muted:     #5C6B75;
  --border:         #DDD9D0;
  --gold:           #C4A24A;
  --nav-h:          100px;
  --max-w:          1200px;
  --pad:            40px;
  --section:        100px;
  --ff-display:     'Cormorant Garamond', Georgia, serif;
  --ff-body:        'Outfit', system-ui, sans-serif;
}

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--off-white);
  line-height: 1.7;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5 {
  font-family: var(--ff-display);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); }
h3 { font-size: clamp(1.5rem, 2.5vw, 2.2rem); }
h4 { font-size: 1.5rem; }
p  { color: var(--text-muted); font-size: 1rem; line-height: 1.78; }

a { color: inherit; }

/* ── UTILITIES ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--ff-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--teal);
  flex-shrink: 0;
}
.eyebrow.light { color: var(--teal-light); }
.eyebrow.light::before { background: var(--teal-light); }

.btn {
  display: inline-block;
  padding: 15px 36px;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 1px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: none;
}
.btn-teal  { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-light); transform: translateY(-1px); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.38); color: #fff; background: transparent; }
.btn-ghost:hover { border-color: var(--teal-light); background: rgba(26,144,128,0.1); }
.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { background: var(--cream); }
.btn-outline-teal { border: 1px solid var(--teal); color: var(--teal); background: transparent; }
.btn-outline-teal:hover { background: var(--teal); color: #fff; }

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  z-index: 200;
  display: flex;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s;
}
nav.solid, nav.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 28px rgba(0,0,0,.25);
}

.nav-inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { text-decoration: none; line-height: 1; }
.logo-name {
  font-family: var(--ff-display);
  font-size: 3.2rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  display: block;
}
.logo-tagline {
  font-family: var(--ff-body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: block;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-light); }
.nav-links .nav-cta a {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 1px;
  transition: background 0.2s !important;
}
.nav-links .nav-cta a:hover { background: var(--teal-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 26px; height: 1.5px; background: #fff; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--charcoal);
  padding: 28px var(--pad) 36px;
  border-top: 1px solid rgba(255,255,255,0.08);
  z-index: 199;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--teal-light); }
.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(26,144,128,.14) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at -10% 80%, rgba(26,144,128,.08) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 64px 64px;
}
.hero-line {
  position: absolute;
  right: 0; top: 0; bottom: 0;
  width: 38%;
  background: linear-gradient(180deg, rgba(26,144,128,.06) 0%, transparent 100%);
  border-left: 1px solid rgba(26,144,128,.15);
}

.hero-content {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  padding-top: var(--nav-h);
}

.hero h1 {
  color: #fff;
  max-width: 1100px;
  font-weight: 400;
  margin-bottom: 28px;
}
.hero h1 em { font-style: italic; color: var(--teal-light); }

.hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1.08rem;
  max-width: 500px;
  margin-bottom: 52px;
  font-family: var(--ff-body);
}

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-scroll span {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(26,144,128,.6), transparent);
  animation: scrollDrop 2s ease-in-out infinite;
}
@keyframes scrollDrop { 0%,100%{opacity:0;transform:scaleY(0);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} }

/* ── SECTION SHARED ── */
section { padding: var(--section) 0; }
.section-head { margin-bottom: 60px; }
.section-head p { max-width: 580px; margin-top: 16px; }

/* ── INTRO / ABOUT STRIP ── */
.intro { background: var(--off-white); }

.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }

.intro-img-wrap {
  position: relative;
}
.intro-img {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--charcoal-mid);
  overflow: hidden;
}
.intro-img img { width:100%; height:100%; object-fit:cover; }
.intro-img-frame {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 65%;
  height: 65%;
  border: 2px solid var(--teal);
  z-index: -1;
}

.intro-text h2 { color: var(--charcoal); margin-bottom: 20px; }
.intro-text p + p { margin-top: 16px; }

.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 48px; }
.stat-block { padding-left: 20px; border-left: 3px solid var(--teal); }
.stat-num { font-family: var(--ff-display); font-size: 3.2rem; color: var(--charcoal); line-height: 1; font-weight: 600; }
.stat-label { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); margin-top: 6px; }

/* ── PRACTICE AREAS ── */
.practice { background: var(--charcoal); }
.practice .section-head h2 { color: #fff; }
.practice .section-head p { color: rgba(255,255,255,.52); }

.pa-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.07);
  margin-top: 60px;
}

.pa-card {
  background: var(--charcoal);
  padding: 48px 36px 48px;
  transition: background 0.3s;
}
.pa-card:hover { background: rgba(26,144,128,.11); }

.pa-icon { display: none; }

.pa-card h4 { color: #fff; font-size: 1.75rem; margin-bottom: 14px; }
.pa-card p { color: rgba(255,255,255,.45); font-size: 0.88rem; line-height: 1.72; }

/* ── ATTORNEYS TEASER ── */
.atty-teaser { background: var(--cream); }

.atty-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.atty-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.3s, transform 0.3s;
}
.atty-card:hover { box-shadow: 0 10px 44px rgba(0,0,0,.1); transform: translateY(-3px); }

.atty-photo {
  width: 100%;
  height: 280px;
  flex-shrink: 0;
  background: var(--charcoal-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.atty-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.atty-initials {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--teal-light);
}

.atty-info { padding: 36px 32px; flex: 1; }
.atty-role { font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-bottom: 8px; }
.atty-name { font-family: var(--ff-display); font-size: 1.9rem; color: var(--charcoal); margin-bottom: 12px; line-height: 1.1; }
.atty-desc { font-size: 0.9rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 22px; }
.atty-more { font-size: 0.72rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--teal); font-weight: 500; }

/* ── NEWS TEASER ── */
.news-teaser { background: var(--off-white); }
.news-teaser-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 16px; }
.view-all { font-size: 0.72rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--teal); font-weight: 500; text-decoration: none; }
.view-all:hover { color: var(--teal-dark); }

.news-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.news-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,.08); border-color: transparent; }
.news-card-top { height: 5px; background: var(--teal); flex-shrink: 0; }
.news-card-body { padding: 30px 26px; flex: 1; display: flex; flex-direction: column; }
.news-meta-row { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.news-cat { font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.news-date { font-size: 0.76rem; color: var(--text-muted); }
.news-card-title { font-family: var(--ff-display); font-size: 1.38rem; color: var(--charcoal); margin-bottom: 12px; line-height: 1.28; }
.news-card-excerpt { font-size: 0.87rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 22px; }
.read-more { font-size: 0.7rem; letter-spacing: 0.17em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-top: auto; }

/* ── CTA BANNER ── */
.cta-strip { background: var(--teal-dark); padding: 80px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.btn-lg { padding: 20px 72px; font-size: 0.85rem; letter-spacing: 0.18em; }

/* ── FOOTER ── */
footer { background: var(--charcoal); color: rgba(255,255,255,.7); padding: 80px 0 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 280px; margin-top: 20px; }
.footer-col h6 {
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.68); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-col p { font-size: 0.87rem; line-height: 1.9; }

.footer-bottom {
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.76rem; color: rgba(255,255,255,.52); }
.footer-bottom a { color: rgba(255,255,255,.52); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--charcoal);
  padding: calc(var(--nav-h) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 10% 50%, rgba(26,144,128,.12) 0%, transparent 60%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero .container { position: relative; }
.page-hero-eye { margin-bottom: 18px; }
.page-hero h1 { color: #fff; font-weight: 400; max-width: 680px; margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,.58); font-size: 1.06rem; max-width: 540px; }

/* ── ABOUT PAGE ── */
.firm-about { background: var(--off-white); }
.firm-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.firm-about-text p + p { margin-top: 18px; }

.value-list { margin-top: 44px; display: flex; flex-direction: column; gap: 24px; }
.value-item { display: flex; gap: 20px; align-items: flex-start; }
.v-icon { width: 38px; height: 38px; background: rgba(26,144,128,.1); border: 1px solid rgba(26,144,128,.3); border-radius: 1px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; color: var(--teal); }
.v-text h5 { font-family: var(--ff-display); font-size: 1.2rem; color: var(--charcoal); margin-bottom: 4px; }
.v-text p { font-size: 0.88rem; }

.atty-bio-section { padding: 90px 0; }
.atty-bio-section:nth-of-type(odd) { background: var(--off-white); }
.atty-bio-section:nth-of-type(even) { background: var(--cream); }

.bio-grid { display: grid; grid-template-columns: 270px 1fr; gap: 80px; align-items: start; }
.bio-grid.flipped { grid-template-columns: 1fr 270px; }
.bio-grid.flipped .bio-photo { order: 2; }
.bio-grid.flipped .bio-text  { order: 1; }

.bio-photo { position: sticky; top: calc(var(--nav-h) + 24px); }
.photo-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--charcoal-mid);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.photo-placeholder { font-family: var(--ff-display); font-size: 5.5rem; font-weight: 300; color: var(--teal-light); }
.photo-border {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 58%;
  height: 55%;
  border: 2px solid var(--teal);
  z-index: -1;
}

.bio-role { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-bottom: 10px; }
.bio-name { font-family: var(--ff-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--charcoal); margin-bottom: 32px; }
.bio-body p { font-size: 0.97rem; line-height: 1.82; }
.bio-body p + p { margin-top: 16px; }

.bio-creds { margin-top: 44px; }
.creds-label { font-family: var(--ff-display); font-size: 1.3rem; color: var(--charcoal); margin-bottom: 16px; }
.cred-item {
  display: flex;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
  align-items: flex-start;
}
.cred-item::before { content: '—'; color: var(--teal); flex-shrink: 0; font-size: 0.8rem; margin-top: 1px; }

.accolades { margin-top: 32px; }
.accolade {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(26,144,128,.07);
  border: 1px solid rgba(26,144,128,.2);
  padding: 10px 16px;
  margin: 5px;
  font-size: 0.8rem;
  color: var(--teal-dark);
  font-weight: 500;
  border-radius: 1px;
}
.accolade::before { content: '★'; font-size: 0.75rem; }

/* ── NEWS PAGE ── */
.news-section { background: var(--off-white); }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--ff-body);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 1px;
  transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }

.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.08); border-color: transparent; }
.article-accent { height: 4px; background: var(--teal); flex-shrink: 0; }
.article-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.article-meta { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.article-cat { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); font-weight: 500; }
.article-date { font-size: 0.75rem; color: var(--text-muted); }
.article-title { font-family: var(--ff-display); font-size: 1.32rem; color: var(--charcoal); margin-bottom: 10px; line-height: 1.28; }
.article-excerpt { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.article-cta { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal); font-weight: 500; margin-top: auto; }

.articles-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 80px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.articles-state .spinner {
  width: 36px; height: 36px;
  border: 2px solid var(--border);
  border-top-color: var(--teal);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.setup-notice {
  background: rgba(26,144,128,.07);
  border: 1px solid rgba(26,144,128,.25);
  border-radius: 2px;
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 0.88rem;
  color: var(--teal-dark);
  display: none;
}
.setup-notice strong { color: var(--charcoal); }

/* ── CONTACT PAGE ── */
.contact-section { background: var(--off-white); }

.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }

.contact-panel {
  background: var(--charcoal);
  padding: 56px 48px;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}
.contact-panel h3 { color: #fff; font-size: 2.1rem; margin-bottom: 36px; }

.c-item { display: flex; gap: 18px; margin-bottom: 30px; align-items: flex-start; }
.c-icon { width: 40px; height: 40px; border: 1px solid rgba(26,144,128,.4); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; color: var(--teal-light); border-radius: 1px; }
.c-label { font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,.38); margin-bottom: 5px; }
.c-value { font-size: 0.95rem; color: rgba(255,255,255,.82); line-height: 1.7; }
.c-value a { color: var(--teal-light); text-decoration: none; transition: color 0.2s; }
.c-value a:hover { color: #fff; }

.c-divider { border: none; border-top: 1px solid rgba(255,255,255,.09); margin: 30px 0; }

.c-note { font-size: 0.8rem; color: rgba(255,255,255,.35); line-height: 1.7; }

.form-panel { background: var(--white); padding: 56px 48px; }
.form-panel h3 { color: var(--charcoal); font-size: 2.1rem; margin-bottom: 8px; }
.form-panel > p { font-size: 0.9rem; margin-bottom: 42px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.fg { margin-bottom: 22px; }
.fg label { display: block; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--charcoal); font-weight: 500; margin-bottom: 10px; }
.fg input, .fg textarea, .fg select {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--off-white);
  padding: 13px 16px;
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  border-radius: 1px;
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--teal); background: #fff; }
.fg textarea { min-height: 150px; resize: vertical; }

.form-disclaimer { font-size: 0.76rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 26px; }
.form-disclaimer a { color: var(--teal); text-decoration: none; }

.submit-btn {
  background: var(--teal);
  color: #fff;
  padding: 15px 40px;
  border: none;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 1px;
  transition: background 0.25s;
}
.submit-btn:hover { background: var(--teal-light); }
.submit-btn:disabled { background: var(--text-muted); cursor: not-allowed; }

.form-success {
  display: none;
  background: rgba(26,144,128,.09);
  border: 1px solid var(--teal);
  border-radius: 1px;
  padding: 20px 22px;
  font-size: 0.9rem;
  color: var(--teal-dark);
  margin-top: 20px;
  line-height: 1.6;
}
.form-error {
  display: none;
  background: rgba(200,50,50,.07);
  border: 1px solid rgba(200,50,50,.3);
  border-radius: 1px;
  padding: 16px 20px;
  font-size: 0.88rem;
  color: #8b2020;
  margin-top: 14px;
}

/* ── ASSOCIATES SECTION ── */
.associates-section { background: var(--cream); }
.assoc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.assoc-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.assoc-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,.08); transform: translateY(-2px); }

.assoc-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--charcoal-mid);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.assoc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.assoc-initials {
  font-family: var(--ff-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--teal-light);
}

.assoc-info {
  padding: 18px 20px 20px;
}
.assoc-name {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  color: var(--charcoal);
  line-height: 1.15;
  margin-bottom: 4px;
}
.assoc-role {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 10px;
}
.assoc-email {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-bottom: 14px;
  transition: color 0.2s;
}
.assoc-email:hover { color: var(--teal); }

.assoc-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--ff-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  cursor: pointer;
  transition: color 0.2s;
}
.assoc-toggle:hover { color: var(--teal-dark); }
.assoc-toggle svg { transition: transform 0.3s ease; flex-shrink: 0; }
.assoc-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.assoc-bio {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.45s ease, opacity 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
}
.assoc-bio.open {
  max-height: 2000px;
  opacity: 1;
  padding: 0 20px 22px;
}
.assoc-bio p {
  font-size: 0.87rem;
  line-height: 1.76;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.assoc-bio p + p {
  border-top: none;
  padding-top: 0;
  margin-top: 12px;
}

/* ── CONTACT INFO BAR (centered) ── */
.contact-info-bar {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
  margin-bottom: 72px;
  text-align: center;
}
.cib-item {
  padding: 0 64px;
}
.cib-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  min-height: 80px;
}
.cib-label {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 12px;
}
.cib-value {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.cib-value a {
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}
.cib-value a:hover { color: var(--teal); }

/* ── CONTACT FORM WRAP (simplified) ── */
.contact-form-wrap {
  max-width: 740px;
  margin: 0 auto;
}
.contact-form-head {
  margin-bottom: 42px;
}
.contact-form-head h3 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: var(--charcoal);
  margin-bottom: 12px;
}
.contact-form-head p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 640px;
}

/* ── IMAGE POSITION OVERRIDES (subject is right-of-center in source file) ── */
img[src*="beverly-ohearn"],
img[src*="alison-maher"],
img[src*="gini-lynn-jenkins"],
img[src*="kelly-tull"],
img[src*="madison-voyles"] {
  object-position: right top;
}

/* Kelsey: extra space at top of source image — shift visible area down into subject */
img[src*="kelsey-blume"] {
  object-position: center 20%;
}

/* ── ANIMATIONS / SCROLL FADE ── */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --section: 80px; --pad: 32px; }
  .pa-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .hero-line { display: none; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-img-wrap { display: none; }
  .atty-cards { grid-template-columns: 1fr; }
  .atty-photo { height: 240px; }
  .news-cards { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .firm-about-grid { grid-template-columns: 1fr; }
  .bio-grid, .bio-grid.flipped { grid-template-columns: 1fr; }
  .bio-photo { position: static; max-width: 300px; }
  .bio-grid.flipped .bio-photo, .bio-grid.flipped .bio-text { order: unset; }
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-panel { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .assoc-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-info-bar { flex-direction: column; align-items: center; gap: 36px; }
  .cib-item { padding: 0; }
  .cib-divider { display: none; }
}

@media (max-width: 600px) {
  :root { --section: 60px; --pad: 20px; }
  .atty-card { flex-direction: column; }
  .atty-photo { width: 100%; height: 220px; }
  .pa-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-panel, .contact-panel { padding: 36px 24px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .assoc-grid { grid-template-columns: 1fr 1fr; }
}
