
:root {
  --olive: #555634;
  --olive-deep: #3c3d24;
  --olive-ink: #2a2b19;
  --tan: #9e885f;
  --tan-light: #c9b48a;
  --cream: #f7f4ee;
  --sand: #ece6da;
  --ink: #2b2b2f;
  --muted: #66625a;
  --line: #e2dccf;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(42, 43, 25, .06), 0 8px 24px rgba(42, 43, 25, .08);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Mulish", "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--olive); text-underline-offset: 3px; }
a:hover { color: var(--tan); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  color: var(--olive-ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.75rem); }
h3 { font-size: 1.5rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 640px) { .container { padding: 0 1.5rem; } }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--olive); color: #fff; padding: .6rem 1rem;
}
.skip-link:focus { left: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--sans); font-size: .78rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--tan);
  margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 2px solid var(--olive);
  background: var(--olive); color: #fff; font: 700 .95rem/1 var(--sans);
  letter-spacing: .02em; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--olive-deep); border-color: var(--olive-deep); color: #fff; transform: translateY(-1px); }
.btn-tan { background: var(--tan); border-color: var(--tan); }
.btn-tan:hover { background: #8a754f; border-color: #8a754f; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: #fff; color: var(--olive-ink); border-color: #fff; }
.btn-outline { background: transparent; color: var(--olive); }
.btn-outline:hover { background: var(--olive); color: #fff; }
.btn svg { width: 1.05em; height: 1.05em; }

/* ---------- Top bar + header ---------- */
.topbar { background: var(--olive-ink); color: #d9d4c6; font-size: .85rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 1rem; padding-top: .45rem; padding-bottom: .45rem; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar-tagline { display: none; }
@media (min-width: 760px) { .topbar-tagline { display: block; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }

.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--olive-ink); }
.brand img { max-height: 54px; width: auto; }
.brand-mark {
  flex: none; width: 46px; height: 46px; border-radius: 10px; background: var(--olive);
  display: grid; place-items: center; color: #fff;
  font: 600 1.35rem/1 var(--serif); letter-spacing: .02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 1.35rem/1.1 var(--serif); letter-spacing: .06em; text-transform: uppercase; color: var(--olive); }
.brand-sub { font: 600 .98rem/1.2 var(--serif); font-variant: small-caps; letter-spacing: .12em; color: var(--tan); }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--olive-ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: none; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: .5rem 1rem 1.25rem; max-height: calc(100vh - 110px); overflow-y: auto;
}
.site-nav.open { display: block; }
.site-nav > ul { list-style: none; }
.site-nav a { display: block; padding: .7rem .25rem; color: var(--ink); text-decoration: none; font-weight: 600; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--olive); }
.site-nav .sub { list-style: none; padding-left: 1rem; border-left: 2px solid var(--sand); margin-bottom: .25rem; }
.site-nav .sub a { font-weight: 500; padding: .45rem .25rem; color: var(--muted); }
.site-nav .nav-cta { margin-top: .75rem; }
.site-nav .nav-cta a { color: #fff; display: inline-flex; padding: .85rem 1.5rem; }

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav { display: block; position: static; padding: 0; border: 0; box-shadow: none; background: none; max-height: none; overflow: visible; }
  .site-nav > ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav > ul > li { position: relative; }
  .site-nav > ul > li > a { padding: .6rem .8rem; font-size: .95rem; }
  .site-nav .has-sub > a::after { content: "▾"; font-size: .7em; margin-left: .35em; color: var(--tan); }
  .site-nav .sub {
    display: block; position: absolute; top: 100%; left: 0; min-width: 230px;
    background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow);
    padding: .5rem; margin: 0; opacity: 0; visibility: hidden; transform: translateY(6px);
    transition: opacity .15s, transform .15s, visibility .15s;
  }
  .site-nav .has-sub:hover .sub, .site-nav .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .site-nav .sub a { padding: .5rem .75rem; border-radius: 8px; color: var(--ink); }
  .site-nav .sub a:hover { background: var(--cream); }
  .site-nav .nav-cta { margin: 0 0 0 .75rem; }
  .site-nav .nav-cta a { padding: .7rem 1.2rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--olive-ink) center / cover no-repeat;
  min-height: min(82vh, 720px); display: flex; align-items: flex-end;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(42,43,25,.15) 0%, rgba(42,43,25,.55) 55%, rgba(42,43,25,.92) 100%),
    linear-gradient(90deg, rgba(42,43,25,.65) 0%, rgba(42,43,25,0) 70%);
}
.hero .container { position: relative; padding-top: 7rem; padding-bottom: 4rem; }
.hero .eyebrow { color: var(--tan-light); }
.hero h1 { color: #fff; max-width: 14ch; }
.hero-sub { font-size: clamp(1.1rem, 2.6vw, 1.35rem); color: #ece7da; margin: 1rem 0 2rem; max-width: 40ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-cream { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.section-head p { color: var(--muted); margin-top: .75rem; }

.card-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
@media (min-width: 1100px) { .card-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); } }

.practice-card {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .2s, box-shadow .2s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(42,43,25,.06), 0 16px 40px rgba(42,43,25,.14); color: inherit; }
.practice-card .thumb { aspect-ratio: 3 / 2; background: var(--sand); overflow: hidden; }
.practice-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.practice-card:hover .thumb img { transform: scale(1.04); }
.practice-card .body { padding: 1.25rem 1.35rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.practice-card h3 { font-size: 1.55rem; }
.practice-card p { color: var(--muted); font-size: .97rem; flex: 1; }
.more { font-weight: 700; font-size: .9rem; color: var(--olive); letter-spacing: .02em; }
.more::after { content: " →"; transition: margin .2s; }
.practice-card:hover .more::after { margin-left: .25rem; }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.2fr .8fr; gap: 4rem; } }
.prose p + p { margin-top: 1rem; }

.callout {
  background: var(--olive); color: #fff; border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}
.callout::after {
  content: "DT"; position: absolute; right: -.5rem; bottom: -2.5rem; font: 700 9rem/1 var(--serif);
  color: rgba(255,255,255,.06); pointer-events: none;
}
.callout .label { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tan-light); }
.callout .big { display: block; font: 600 clamp(1.9rem, 5vw, 2.4rem)/1.1 var(--serif); color: #fff; text-decoration: none; margin: .4rem 0 .25rem; }
.callout .small { color: #dcd8c8; font-size: .95rem; }
.callout hr { border: 0; border-top: 1px solid rgba(255,255,255,.15); margin: 1.25rem 0; }
.callout address { font-style: normal; color: #eeeadf; font-size: .95rem; }
.callout address strong { color: #fff; display: block; }
.callout address + address { margin-top: .75rem; }

.team-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); max-width: 960px; }
.team-card { text-decoration: none; color: inherit; display: block; }
.team-card .photo { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--sand); box-shadow: var(--shadow); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); transition: transform .4s; }
.team-card:hover .photo img { transform: scale(1.03); }
.team-card .initials { width: 100%; height: 100%; display: grid; place-items: center; font: 600 4rem/1 var(--serif); color: var(--olive); }
.team-card h3 { margin-top: 1rem; font-size: 1.6rem; }
.team-card .role { color: var(--tan); font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }

.cta-band { background: var(--olive) linear-gradient(120deg, var(--olive-deep), var(--olive)); color: #fff; }
.cta-band .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-top: 3rem; padding-bottom: 3rem; }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.4rem); }
.cta-band p { color: #e3dfd0; margin-top: .35rem; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Interior pages ---------- */
.page-hero {
  position: relative; background: var(--olive-ink) center / cover no-repeat; color: #fff;
  padding: 4rem 0 3rem;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(42,43,25,.94), rgba(60,61,36,.78)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5.5vw, 3.4rem); }
.page-hero p { color: #e3dfd0; margin-top: .75rem; max-width: 60ch; font-size: 1.1rem; }
.crumbs { font-size: .85rem; margin-bottom: .9rem; color: var(--tan-light); }
.crumbs a { color: #e9e4d6; text-decoration: none; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 .4rem; opacity: .6; }

.layout { display: grid; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 4.5rem; }
@media (min-width: 960px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 4rem; } }

.rich { max-width: 72ch; }
.rich > * + * { margin-top: 1.1rem; }
.rich h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); margin-top: 2.25rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.rich h3 { font-size: 1.4rem; margin-top: 1.75rem; color: var(--olive); }
.rich h2 + *, .rich h3 + * { margin-top: .5rem; }
.rich ul { padding-left: 0; list-style: none; display: grid; gap: .55rem; }
.rich li { position: relative; padding-left: 1.6rem; }
.rich li::before {
  content: ""; position: absolute; left: .2rem; top: .7em; width: 8px; height: 8px;
  border-radius: 2px; background: var(--tan); transform: rotate(45deg);
}
.rich .lead { font-size: 1.2rem; color: var(--olive-ink); }

.sidebar { display: grid; gap: 1.25rem; align-content: start; }
@media (min-width: 960px) { .sidebar { position: sticky; top: 100px; } }
.side-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; }
.side-card h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.side-links { list-style: none; display: grid; gap: .15rem; }
.side-links a { display: block; padding: .5rem .75rem; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; }
.side-links a:hover { background: #fff; color: var(--olive); }
.side-links a[aria-current="page"] { background: var(--olive); color: #fff; }

/* Attorney profile */
.profile-head { display: grid; gap: 1.5rem; align-items: end; }
@media (min-width: 720px) { .profile-head { grid-template-columns: 220px 1fr; gap: 2rem; } }
.profile-photo { width: 220px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; border: 4px solid rgba(255,255,255,.2); background: var(--sand); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-head .role { color: var(--tan-light); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .85rem; }
.profile-contact { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.25rem; }
.badge { display: inline-block; background: rgba(158,136,95,.18); color: var(--tan-light); border: 1px solid rgba(201,180,138,.4); border-radius: 999px; padding: .3rem .9rem; font-size: .85rem; font-weight: 600; margin-top: 1rem; }
.facts { display: grid; gap: 1.25rem; }
.facts h4 { font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tan); margin-bottom: .5rem; }
.facts ul { list-style: none; display: grid; gap: .35rem; font-size: .95rem; }
.chips, .facts ul.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .25rem .75rem; font-size: .85rem; font-weight: 600; color: var(--olive); }

/* In memoriam */
.memorial { margin-top: .9rem; color: #e9e4d6; font-style: italic; font-family: var(--serif); font-size: 1.25rem; max-width: 46ch; }
.memorial-tag { margin-top: .25rem; font-family: var(--serif); font-style: italic; color: var(--muted); }

/* Contact */
.office-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.office-card { background: var(--cream); border-radius: var(--radius); padding: 1.5rem; display: grid; gap: .9rem; align-content: start; }
.office-card h3 { font-size: 1.5rem; }
.office-card dl { display: grid; gap: .7rem; }
.office-card dt { font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--tan); }
.office-card dd { margin: 0; }
.office-card dd a { font-weight: 600; }

.contact-form { display: grid; gap: 1rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.contact-form .row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form .row { grid-template-columns: 1fr 1fr; } }
.contact-form label { display: grid; gap: .35rem; font-weight: 700; font-size: .9rem; }
.contact-form input, .contact-form textarea {
  font: inherit; font-weight: 400; width: 100%; padding: .75rem .9rem; border: 1px solid #cfc8b8;
  border-radius: 10px; background: #fff; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid var(--tan); outline-offset: 1px; border-color: var(--tan); }
.contact-form textarea { min-height: 150px; resize: vertical; }
.contact-form .note { font-size: .85rem; color: var(--muted); }
.contact-form .hp { position: absolute; left: -5000px; }
#form-status { font-weight: 700; }
#form-status.ok { color: #2f6b3a; }
#form-status.error { color: #a12a22; }

/* ---------- Footer ---------- */
.site-footer { background: var(--olive-ink); color: #c9c4b4; font-size: .95rem; }
.site-footer .container { display: grid; gap: 2rem; padding-top: 3.5rem; padding-bottom: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer h4 { font: 700 .78rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--tan-light); margin-bottom: .9rem; }
.site-footer ul { list-style: none; display: grid; gap: .4rem; }
.site-footer a { color: #f0ece2; text-decoration: none; }
.site-footer a:hover { color: var(--tan-light); }
.site-footer .brand { color: #fff; margin-bottom: 1rem; }
.site-footer .brand-mark { background: var(--tan); }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: var(--tan-light); }
.site-footer .disclaimer { font-size: .85rem; color: #a9a593; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-top: 1.1rem; padding-bottom: 1.1rem; font-size: .85rem; color: #a9a593; grid-template-columns: none; }

/* Mobile sticky call bar */
.call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: .5rem;
  padding: .6rem 1rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06);
}
.call-bar .btn { flex: 1; padding: .8rem 1rem; }
body { padding-bottom: 72px; }
@media (min-width: 760px) { .call-bar { display: none; } body { padding-bottom: 0; } }

/* Reveal-on-scroll (only when JS has opted the page in) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- 404 ---------- */
.not-found { text-align: center; padding: 6rem 0; }
.not-found p { color: var(--muted); margin: 1rem 0 2rem; }
