/* =============================================================
   Veritas Legal Group — Design System
   A single, consolidated stylesheet.
   1. Tokens          5. Hero            9.  People
   2. Base & reset    6. Intro / firm    10. Insights
   3. Utilities       7. Services        11. Forms (intro + contact)
   4. Header / nav    8. Statement       12. Footer / profiles / motion
   ============================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand palette — deep forest green + warm gold + warm paper */
  --forest-900: #0a1f1a;
  --forest-800: #0d2a23;
  --forest-700: #12332c; /* primary */
  --forest-600: #1a413a;
  --forest-500: #26544a;

  --gold-700: #a07c3f;
  --gold-600: #b08e57;
  --gold-500: #c7a66a; /* brand gold */
  --gold-400: #ddc187;

  --paper: #fffdf8;
  --cream: #f6f4ee;
  --sand: #eceadf;
  --sand-2: #e4e0d4;

  --ink: #192723;
  --ink-soft: #3a4843;
  --muted: #606b66;
  --line: #e2e0d6;
  --line-strong: #d4d1c4;

  /* Typography */
  --font-display: "Fraunces", "Georgia", "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(2.9rem, 1.6rem + 5.2vw, 4.9rem);
  --fs-h2: clamp(2.05rem, 1.3rem + 2.9vw, 3.3rem);
  --fs-h3: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  --fs-lead: clamp(1.15rem, 1rem + 0.6vw, 1.4rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-kicker: 0.75rem;

  /* Spacing */
  --space-section: clamp(4.5rem, 3rem + 7vw, 7.5rem);
  --gutter: clamp(1.25rem, 0.5rem + 5vw, 7rem);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 6px 20px rgba(14, 42, 35, 0.06);
  --shadow: 0 16px 40px rgba(14, 42, 35, 0.1);
  --shadow-lg: 0 28px 70px rgba(10, 31, 26, 0.18);

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --t-fast: 0.18s var(--ease);
  --t: 0.28s var(--ease);

  --header-h: 84px;
}

/* ---------- 2. Base & reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 460;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--forest-700);
  overflow-wrap: break-word;
}

h1 em,
h2 em,
h3 em {
  font-style: italic;
  font-weight: 460;
  color: var(--gold-600);
}

p {
  margin: 0;
  overflow-wrap: break-word;
}

::selection {
  background: var(--gold-500);
  color: var(--forest-900);
}

:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- 3. Utilities ---------- */
.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--forest-700);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: top var(--t);
}
.skip-link:focus {
  top: 16px;
}

.section {
  padding: var(--space-section) var(--gutter);
}

.section-kicker,
.eyebrow {
  display: inline-block;
  font-size: var(--fs-kicker);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold-700);
}
.section-kicker.light,
.eyebrow.light,
.light {
  color: var(--gold-400);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 32px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: transform var(--t-fast), box-shadow var(--t-fast),
    background var(--t-fast), filter var(--t-fast);
}
.button span {
  font-size: 1.1em;
  line-height: 1;
}
.button-gold,
.button:not(.button-outline) {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--forest-900);
  box-shadow: 0 10px 24px rgba(163, 124, 63, 0.26);
}
.button-gold span,
.button:not(.button-outline) span {
  color: inherit;
}
.button-gold:hover,
.button:not(.button-outline):hover,
.button-gold:focus-visible,
.button:not(.button-outline):focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(163, 124, 63, 0.34);
  filter: brightness(1.04);
}
.button-outline {
  background: transparent;
  color: #fff;
  border-color: var(--gold-500);
}
.button-outline span {
  color: var(--gold-400);
}
.button-outline:hover,
.button-outline:focus-visible {
  background: var(--gold-500);
  color: var(--forest-900);
  transform: translateY(-2px);
}
.button-outline:hover span {
  color: var(--forest-900);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest-700);
  transition: color var(--t-fast);
}
.text-link span {
  color: var(--gold-600);
  transition: transform var(--t-fast);
}
.text-link:hover span {
  transform: translateX(4px);
}
.light-link {
  color: #fff;
}
.light-link span {
  color: var(--gold-400);
}

.underlined-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--forest-700);
  font-weight: 600;
  text-decoration: none;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--gold-500);
  transition: gap var(--t-fast), border-color var(--t-fast);
}
.underlined-link span {
  color: var(--gold-600);
}
.underlined-link:hover {
  gap: 20px;
  border-color: var(--gold-600);
}

/* ---------- Announcement ---------- */
.announcement {
  background: var(--forest-900);
  color: var(--gold-400);
  text-align: center;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 10px 16px;
  font-weight: 600;
}
.announcement span {
  color: var(--gold-500);
  padding: 0 10px;
}

/* ---------- 4. Header / nav (glass) ---------- */
.site-header,
.profile-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(94%, 1440px);
  margin: 14px auto -84px;
  height: var(--header-h);
  padding: 0 clamp(18px, 3.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  background: rgba(250, 249, 245, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  backdrop-filter: blur(22px) saturate(1.5);
  box-shadow: 0 14px 40px rgba(17, 39, 34, 0.12);
  transition: background var(--t), box-shadow var(--t);
}
.site-header.is-scrolled {
  background: rgba(250, 249, 245, 0.92);
  box-shadow: 0 10px 30px rgba(17, 39, 34, 0.14);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--forest-700);
}
.brand-emblem {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: none;
  filter: drop-shadow(0 3px 7px rgba(9, 24, 35, 0.18));
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  font-weight: 600;
  line-height: 1.1;
}
.brand-name small {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.56rem;
  letter-spacing: 0.34em;
  font-weight: 600;
  margin-top: 4px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 30px);
}
.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 6px;
  transition: color var(--t-fast);
}
.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t);
}
.main-nav a:not(.nav-cta):hover,
.main-nav a:not(.nav-cta):focus-visible,
.main-nav a.is-current {
  color: var(--gold-700);
}
.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after,
.main-nav a.is-current::after {
  transform: scaleX(1);
}
.nav-cta,
.main-nav a.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: var(--forest-900);
  font-weight: 650;
  box-shadow: 0 8px 20px rgba(163, 124, 63, 0.26);
  padding-bottom: 12px;
}
.nav-cta span {
  color: var(--forest-900);
}
.main-nav a.nav-cta::after {
  display: none;
}
.main-nav a.nav-cta:hover,
.main-nav a.nav-cta:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  color: var(--forest-900);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--forest-700);
  border: 1px solid rgba(18, 51, 44, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  cursor: pointer;
}

/* ---------- 5. Hero ---------- */
.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 60px));
  display: flex;
  align-items: center;
  background: var(--forest-700);
  overflow: hidden;
  padding: calc(var(--header-h) + 40px) var(--gutter) 90px;
}
.hero-slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--forest-800);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.15s ease;
  will-change: opacity;
}
.hero-slide.is-active {
  opacity: 1;
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.06);
  transition: transform 8s ease;
}
.hero-slide.is-active img {
  transform: scale(1);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 31, 26, 0.94) 0%,
    rgba(12, 42, 35, 0.82) 38%,
    rgba(12, 42, 35, 0.4) 66%,
    rgba(12, 42, 35, 0.12) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  color: #fff;
}
.hero-content .eyebrow {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}
.hero h1 {
  font-size: var(--fs-display);
  font-weight: 460;
  color: #fff;
  margin: 22px 0 24px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}
.hero h1 em {
  color: var(--gold-400);
}
.hero-copy {
  max-width: 540px;
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: #e4ebe6;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-note {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #cfd8d3;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  line-height: 1.7;
}
.note-line {
  width: 46px;
  height: 1px;
  background: var(--gold-500);
}

.hero-slider-controls {
  position: absolute;
  z-index: 3;
  right: var(--gutter);
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-arrow {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: rgba(10, 31, 26, 0.3);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background var(--t-fast), border-color var(--t-fast);
}
.hero-arrow:hover,
.hero-arrow:focus-visible {
  background: rgba(199, 166, 106, 0.85);
  border-color: var(--gold-500);
  color: var(--forest-900);
}
.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: width var(--t), background var(--t), border-radius var(--t);
}
.hero-dot.is-active {
  width: 26px;
  border-radius: 8px;
  background: var(--gold-500);
  border-color: var(--gold-500);
}

/* ---------- 6. Intro / firm ---------- */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  margin-top: 34px;
  align-items: start;
}
.section h2 {
  font-size: var(--fs-h2);
}
.intro-copy {
  max-width: 540px;
}
.lead {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--ink-soft);
  margin: 0 0 20px;
}
.intro-copy p:not(.lead) {
  color: var(--muted);
  margin-bottom: 20px;
}

/* ---------- 7. Services ---------- */
.services {
  background: var(--sand);
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.section-heading h2 {
  margin-top: 16px;
}
.section-heading > p {
  max-width: 360px;
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 36px 56px 36px 38px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--paper);
  text-decoration: none;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-500);
}
.service-card h3 {
  font-size: var(--fs-h3);
  margin: 0 0 14px;
  padding-right: 20px;
  line-height: 1.25;
}
.service-card p {
  color: var(--muted);
  margin: 0;
}
.card-arrow {
  position: absolute;
  top: 32px;
  right: 32px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(176, 142, 87, 0.4);
  border-radius: 50%;
  color: var(--gold-700);
  transition: background var(--t-fast), color var(--t-fast),
    transform var(--t-fast);
}
.service-card:hover .card-arrow {
  background: var(--gold-500);
  color: var(--forest-900);
  transform: translate(2px, -2px);
}

/* ---------- 8. Statement ---------- */
.statement {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: var(--forest-700);
  overflow: hidden;
}
.statement-image {
  position: absolute;
  inset: 0 48% 0 0;
  background: url("assets/sarah-jenkins.webp") center 32% / cover;
  opacity: 0.55;
}
.statement::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(12, 42, 35, 0.1),
    var(--forest-700) 58%
  );
}
.statement-content {
  position: relative;
  z-index: 1;
  margin-left: 52%;
  padding: 80px var(--gutter) 80px 0;
  color: #fff;
}
.statement-content h2 {
  font-size: var(--fs-h2);
  color: #fff;
  margin: 20px 0;
}
.statement-content h2 em {
  color: var(--gold-400);
}
.statement-content p {
  max-width: 480px;
  color: #cdd6d1;
  line-height: 1.85;
  margin-bottom: 32px;
}

/* ---------- Values & Why ---------- */
.values-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 4vw, 4rem);
  margin-top: 42px;
}
.values-grid > div,
.why-grid article {
  border-top: 2px solid var(--gold-500);
  padding-top: 20px;
}
.values-grid h3,
.why-grid h3 {
  font-size: var(--fs-h3);
  margin: 10px 0 10px;
}
.values-grid p,
.why-grid p {
  color: var(--muted);
  margin: 0;
}
.why {
  background: var(--cream);
}

/* ---------- 9. People ---------- */
.people {
  background: var(--sand);
}
.team-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 260px 232px;
  gap: 16px;
  margin-bottom: 44px;
}
.team-gallery figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--forest-600);
  min-width: 0;
}
.team-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.team-gallery figure:hover img {
  transform: scale(1.05);
}
.team-gallery-feature {
  grid-row: span 2;
}
.team-gallery-wide {
  grid-column: 2;
}
.team-gallery figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 46px 24px 22px;
  color: #fff;
  background: linear-gradient(transparent, rgba(10, 31, 26, 0.9));
}
.team-gallery figcaption span {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 6px;
}
.team-gallery figcaption strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 460;
  line-height: 1.25;
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.lawyer-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.lawyer-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.lawyer-avatar.lawyer-avatar-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center 15%;
  border-radius: var(--radius-sm);
  margin-bottom: 22px;
}
.lawyer-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.lawyer-info h3 {
  order: 1;
  font-size: 1.4rem;
  margin: 0 0 10px;
}
.lawyer-info .eyebrow {
  order: 2;
  font-size: 0.78rem;
  text-transform: none;
  letter-spacing: 0.01em;
  color: var(--gold-700);
  font-weight: 650;
  margin: 0 0 14px;
}
.lawyer-info > p:not(.eyebrow) {
  order: 3;
  color: var(--muted);
  font-size: var(--fs-small);
  margin: 0 0 22px;
}
.lawyer-info .profile-toggle {
  order: 4;
  margin-top: auto;
  align-self: flex-start;
  color: var(--forest-700);
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 4px;
  transition: color var(--t-fast), border-color var(--t-fast);
}
.lawyer-info .profile-toggle:hover {
  color: var(--gold-700);
}
.lawyer-info .profile-toggle span {
  display: none;
}

/* ---------- 10. Insights ---------- */
.insights-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin: 22px 0 44px;
  flex-wrap: wrap;
}
.insights-head h2 {
  font-size: var(--fs-h2);
}
.insights-head p {
  color: var(--muted);
}
.insight-row {
  display: grid;
  grid-template-columns: 190px 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: background var(--t-fast);
}
.insight-row:last-of-type {
  border-bottom: 1px solid var(--line);
}
.insight-row:hover {
  background: rgba(199, 166, 106, 0.06);
}
.insight-row span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-700);
  font-weight: 650;
}
.insight-row h3 {
  font-size: var(--fs-h3);
  font-weight: 460;
  margin: 0;
}
.insight-row a {
  justify-self: end;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(176, 142, 87, 0.4);
  border-radius: 50%;
  color: var(--gold-700);
  text-decoration: none;
  font-size: 1.1rem;
  transition: background var(--t-fast), color var(--t-fast);
}
.insight-row a:hover {
  background: var(--gold-500);
  color: var(--forest-900);
}

/* ---------- 11. Forms: intro-call + contact ---------- */
.intro-call {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  border-top: 1px solid var(--line);
}
.intro-call h2 {
  font-size: var(--fs-h2);
  margin-top: 16px;
}
.intro-call-copy p {
  color: var(--muted);
  max-width: 480px;
  margin: 18px 0 0;
}
.intro-steps {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.intro-steps li {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--ink-soft);
}
.intro-steps span {
  flex: 0 0 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--forest-700);
  color: var(--gold-400);
  display: grid;
  place-items: center;
  font-weight: 700;
}

.intro-form,
.contact-form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: clamp(26px, 3vw, 44px);
}
.contact-form-card h2 {
  font-size: var(--fs-h2);
  margin: 10px 0 28px;
}
.intro-form .row2,
.contact-form .row2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.intro-form label,
.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--forest-700);
}
.intro-form input,
.intro-form select,
.intro-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 15px 16px;
  font: inherit;
  font-weight: 400;
  color: var(--ink);
  background: #fcfbf7;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.intro-form input:focus,
.intro-form select:focus,
.intro-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(199, 166, 106, 0.22);
}
.intro-form textarea,
.contact-form textarea {
  resize: vertical;
}
.intro-form .button,
.contact-form .button {
  width: 100%;
  margin-top: 6px;
}
.form-status {
  font-size: var(--fs-small);
  color: var(--muted);
  line-height: 1.6;
  margin: 14px 0 0;
}

/* Contact */
.contact {
  background: var(--cream);
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(1.75rem, 3vw, 2.4rem);
  align-items: start;
  border-top: 1px solid var(--line);
}
.contact-cards {
  display: grid;
  gap: 16px;
}
.info-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
}
.info-icon {
  flex: 0 0 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--gold-700);
}
.info-card h3 {
  font-size: 1.25rem;
  margin: 0 0 6px;
}
.info-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.info-card a {
  color: var(--forest-700);
  font-weight: 650;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.info-card a:hover {
  color: var(--gold-700);
}
.contact-cards .button {
  width: 100%;
}

/* ---------- 12. Footer ---------- */
.footer {
  background: var(--forest-900);
  color: #c0c9c4;
  padding: clamp(3rem, 5vw, 4rem) var(--gutter) 24px;
}
.footer-cols {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 1.4fr;
  gap: 48px;
  padding-bottom: 46px;
  margin-bottom: 34px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-cols h3 {
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 12px;
}
.footer-cols h4 {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 16px;
}
.footer-cols p {
  color: #aeb8b3;
}
.footer-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-cols li {
  margin-bottom: 10px;
}
.footer-cols a {
  color: #dfe5e2;
  text-decoration: none;
  transition: color var(--t-fast);
}
.footer-cols a:hover {
  color: var(--gold-400);
}
.footer-form label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: #c0c9c4;
}
.footer-form input,
.footer-form textarea {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 13px 14px;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
}
.footer-form input:focus,
.footer-form textarea:focus {
  outline: none;
  border-color: var(--gold-500);
}
.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #8a948f;
}
.footer-form .button {
  width: 100%;
  min-height: 52px;
}
.footer-form .form-status {
  color: var(--gold-400);
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.brand-footer {
  color: #fff;
}
.brand-footer .brand-emblem {
  width: 52px;
  height: 52px;
}
.footer-top > p {
  font-family: var(--font-display);
  font-size: 1.2rem;
  line-height: 1.4;
  color: #dfe5e2;
}
.back-top {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gold-400);
  font-weight: 600;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  font-size: 0.78rem;
  color: #8a948f;
}
.footer-bottom span:last-child {
  max-width: 320px;
  text-align: right;
}

/* ---------- Profile pages ---------- */
.profile-page {
  background: linear-gradient(145deg, #f7f5ef, #e9eee9);
  color: var(--ink-soft);
}
.profile-header {
  background: rgba(14, 43, 38, 0.82);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
  margin-bottom: 0;
}
.profile-header .brand,
.profile-header .main-nav a {
  color: #fff;
}
.profile-header .brand-name small {
  color: #bcc9c3;
}
.profile-header .main-nav a:not(.nav-cta):hover,
.profile-header .main-nav a.is-current {
  color: var(--gold-400);
}
.profile-header .menu-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.24);
}
.profile-hero {
  position: relative;
  min-height: 560px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 5%;
  padding: calc(var(--header-h) + 50px) var(--gutter) 70px;
  overflow: hidden;
  background: var(--forest-800);
}
.profile-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      90deg,
      rgba(13, 42, 35, 0.96) 0%,
      rgba(13, 42, 35, 0.88) 50%,
      rgba(13, 42, 35, 0.72) 100%
    ),
    url("assets/law-office-library-hero.png") center / cover;
}
.profile-hero-copy,
.profile-hero-photo {
  position: relative;
  z-index: 1;
}
.profile-hero-copy {
  max-width: 720px;
}
.profile-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 0 0 22px;
}
.profile-hero h1 {
  font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem);
  color: #f8f4e9;
  margin: 0 0 18px;
}
.profile-role {
  font-size: 1.2rem;
  font-weight: 600;
  color: #d9dfd8;
  margin: 0 0 20px;
}
.profile-email {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gold-400);
  text-decoration: none;
}
.profile-email:hover {
  text-decoration: underline;
}
.profile-back {
  display: inline-block;
  margin-top: 22px;
  color: var(--gold-400);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}
.profile-back:hover {
  text-decoration: underline;
}
.profile-hero-photo {
  justify-self: end;
  width: min(100%, 390px);
  height: 460px;
  border: 1px solid rgba(218, 184, 113, 0.65);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  box-shadow: var(--shadow-lg);
}
.profile-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.profile-details {
  max-width: 1300px;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 60px) var(--gutter) 80px;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr;
  gap: 32px;
}
.profile-about {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: clamp(30px, 4vw, 48px);
}
.profile-about h2 {
  font-size: var(--fs-h2);
  margin: 0 0 26px;
}
.profile-about p {
  color: var(--muted);
  line-height: 1.85;
  margin: 0 0 18px;
}
.profile-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.profile-side-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  padding: 26px;
}
.profile-side-card h3 {
  font-size: 1.2rem;
  margin: 0 0 18px;
}
.profile-side-card ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}
.profile-side-card li {
  padding-bottom: 12px;
  line-height: 1.6;
}
.profile-side-card p,
.profile-side-card a {
  color: var(--muted);
  margin: 0;
  text-decoration: none;
  line-height: 1.7;
}
.profile-side-card a {
  color: var(--gold-700);
  font-weight: 650;
  overflow-wrap: anywhere;
}
.profile-work {
  background: var(--forest-800);
  color: #f6f2e8;
  padding: clamp(56px, 6vw, 76px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.profile-work .section-kicker {
  color: var(--gold-400);
}
.profile-work h2 {
  font-size: var(--fs-h2);
  color: #fff;
  margin: 16px 0 12px;
}
.profile-work p {
  max-width: 560px;
  color: #cbd5ce;
  margin: 0;
}
.profile-work .button {
  white-space: nowrap;
}
.profile-footer {
  background: var(--forest-900);
  color: #b7c2bd;
  padding: clamp(2.2rem, 4vw, 3rem) var(--gutter) 22px;
}
.profile-footer .brand,
.profile-footer .brand-footer {
  color: #fff;
}
.profile-footer .footer-top > p {
  color: #dfe5e2;
}
.profile-footer .back-top {
  color: var(--gold-400);
}

/* ---------- Scroll reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .lawyer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .contact {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .intro-grid,
  .intro-call {
    grid-template-columns: 1fr;
  }
  .statement-content {
    margin-left: 46%;
  }
  .profile-hero {
    grid-template-columns: 1fr 0.85fr;
    gap: 4%;
  }
  .profile-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --header-h: 66px;
  }
  .menu-toggle {
    display: flex;
  }
  .site-header,
  .profile-header {
    top: 8px;
    width: calc(100% - 24px);
    margin: 8px auto -64px;
    padding: 0 18px;
    border-radius: 18px;
  }
  .profile-header {
    margin-bottom: 0;
  }
  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--radius);
    background: rgba(248, 248, 244, 0.92);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(26px) saturate(1.5);
    backdrop-filter: blur(26px) saturate(1.5);
  }
  .profile-header .main-nav {
    background: rgba(14, 43, 38, 0.95);
  }
  .main-nav.open {
    display: flex;
  }
  .main-nav a {
    color: var(--forest-700);
    padding: 13px 14px;
    border-radius: 12px;
    font-size: 1rem;
  }
  .profile-header .main-nav a {
    color: #fff;
  }
  .main-nav a:not(.nav-cta)::after {
    display: none;
  }
  .main-nav a:not(.nav-cta):hover {
    background: rgba(18, 51, 44, 0.07);
  }
  .main-nav a.nav-cta {
    justify-content: center;
    margin-top: 6px;
  }

  .hero {
    min-height: 0;
    padding: calc(var(--header-h) + 80px) var(--gutter) 90px;
  }
  .hero-shade {
    background: linear-gradient(
      0deg,
      rgba(10, 31, 26, 0.95) 0%,
      rgba(10, 31, 26, 0.5) 100%
    );
  }
  .hero-note {
    display: none;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
  .values-grid,
  .why-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .statement {
    align-items: flex-end;
  }
  .statement-image {
    inset: 0 0 42% 0;
  }
  .statement::after {
    background: linear-gradient(
      0deg,
      var(--forest-700) 0%,
      var(--forest-700) 48%,
      rgba(12, 42, 35, 0.05) 100%
    );
  }
  .statement-content {
    margin-left: 0;
    padding: 290px var(--gutter) 60px;
  }

  .team-gallery {
    grid-template-rows: 220px 190px;
    gap: 12px;
  }
  .team-gallery-feature {
    grid-row: auto;
    grid-column: 1 / -1;
  }
  .team-gallery-wide {
    grid-column: 1 / -1;
  }
  .lawyer-grid {
    grid-template-columns: 1fr;
  }

  .insights-head {
    display: block;
  }
  .insights-head p {
    margin-top: 16px;
  }
  .insight-row {
    grid-template-columns: 1fr 42px;
    gap: 8px;
  }
  .insight-row span {
    grid-column: 1 / -1;
  }

  .profile-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: calc(var(--header-h) + 48px) var(--gutter) 54px;
    gap: 32px;
  }
  .profile-hero-photo {
    justify-self: start;
    height: 420px;
  }
  .profile-work {
    flex-direction: column;
    align-items: flex-start;
  }

  .intro-form .row2,
  .contact-form .row2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .button,
  .button-gold,
  .button-outline {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .text-link {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
  .footer-bottom span:last-child {
    text-align: left;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .brand-emblem {
    width: 44px;
    height: 44px;
  }
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
