/* ============================================================
   Schapira Health Law, Design System
   Boutique healthcare law firm · Warm beige + saddle brown · editorial serif + clean sans
   ============================================================ */

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

:root {
  /* ----- Palette (warm beige + saddle brown, classic firm) ----- */
  --paper:        #F5F1EA;   /* page background */
  --paper-2:      #EFE9DD;   /* subtle band */
  --paper-3:      #E6DDCB;   /* divider / hover */
  --cream:        #FAF7F1;   /* card surface, slightly raised */
  --ink:          #14283A;   /* primary text, deep navy */
  --ink-2:        #3D556C;   /* secondary text */
  --ink-3:        #7A8B9C;   /* tertiary / meta */
  --rule:         #D4CFC2;   /* hairline rules */
  --rule-2:       #B8B19D;   /* stronger rule */

  --brand:        #1B3A5C;   /* primary brand, deep healthcare blue */
  --brand-2:      #2D5680;   /* lighter blue */
  --brand-deep:   #0E2540;   /* deepest, hover */
  --accent:       #B8893A;   /* burnished gold accent */
  --accent-soft:  #E8D9B8;   /* gold tint background */

  /* Type */
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Scale */
  --step--1: 0.8125rem;     /* 13, meta/label */
  --step-0:  1rem;          /* 16, body */
  --step-1:  1.125rem;      /* 18, lead body */
  --step-2:  1.375rem;      /* 22, large body / small heading */
  --step-3:  1.75rem;       /* 28 */
  --step-4:  2.25rem;       /* 36 */
  --step-5:  3rem;          /* 48 */
  --step-6:  4rem;          /* 64 */
  --step-7:  5.25rem;       /* 84, display */

  /* Spacing */
  --s-1: 4px;   --s-2: 8px;  --s-3: 12px; --s-4: 16px; --s-5: 24px;
  --s-6: 32px;  --s-7: 48px; --s-8: 64px; --s-9: 96px; --s-10: 128px;

  /* Radii, modest (classic, not soft) */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 6px;

  /* Shadows */
  --sh-sm: 0 1px 2px rgba(42,32,20,0.06);
  --sh-md: 0 6px 24px rgba(42,32,20,0.08), 0 1px 3px rgba(42,32,20,0.05);
  --sh-lg: 0 24px 60px rgba(42,32,20,0.12), 0 4px 12px rgba(42,32,20,0.06);

  /* Motion */
  --ease: cubic-bezier(0.2, 0.6, 0.2, 1);
  --dur-fast: 140ms;
  --dur:      220ms;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 880px;
  --header-h: 104px;

  /* Density (tweakable) */
  --density: 1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color var(--dur-fast) var(--ease); }
a:hover { color: var(--brand-deep); }

::selection { background: var(--accent-soft); color: var(--ink); }

/* ============================================================
   Typography
   ============================================================ */
.display, h1.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.5vw, var(--step-7));
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
.display em, h1.display em { font-style: italic; font-weight: 400; color: var(--brand); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, var(--step-6)); line-height: 1.05; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3.5vw, var(--step-5)); line-height: 1.1; letter-spacing: -0.012em; }
h3 { font-size: var(--step-3); line-height: 1.2; letter-spacing: -0.005em; }
h4 { font-size: var(--step-2); line-height: 1.3; }

p { margin: 0 0 1em; line-height: 1.65; text-wrap: pretty; }
p.lead { font-size: var(--step-2); line-height: 1.5; color: var(--ink-2); font-family: var(--serif); font-weight: 300; font-style: italic; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: none;
  width: 28px; height: 1px;
  background: var(--brand);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.meta {
  font-family: var(--sans);
  font-size: var(--step--1);
  color: var(--ink-3);
  letter-spacing: 0.04em;
}

/* ============================================================
   Layout helpers
   ============================================================ */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: var(--maxw-narrow); margin: 0 auto; }
.section { padding: calc(var(--s-9) * var(--density)) 0; }
.section--sm { padding: calc(var(--s-8) * var(--density)) 0; }
.section--lg { padding: calc(var(--s-10) * var(--density)) 0; }

.band { background: var(--paper-2); }
.band-cream { background: var(--cream); }
.band-ink { background: var(--ink); color: var(--paper); }
.band-ink h1, .band-ink h2, .band-ink h3, .band-ink h4 { color: var(--paper); }
.band-ink .eyebrow { color: var(--accent); }
.band-ink .eyebrow::before { background: var(--accent); }
.band-ink p { color: rgba(245,241,234,0.78); }

.divider { height: 1px; background: var(--rule); border: 0; margin: 0; }
.divider-thick { height: 1px; background: var(--rule-2); border: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  line-height: 1;
}
.btn--primary { background: var(--brand); color: var(--paper); }
.btn--primary:hover { background: var(--brand-deep); color: var(--paper); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-2); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--brand-deep); color: var(--paper); }

.btn--accent { background: var(--accent); color: var(--ink); }
.btn--accent:hover { background: var(--brand); color: var(--paper); }

.btn--sm { padding: 10px 16px; font-size: var(--step--1); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: var(--step-0);
  font-weight: 500;
  color: var(--brand);
  border-bottom: 1px solid var(--rule-2);
  padding-bottom: 4px;
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.btn-link:hover { color: var(--brand-deep); border-bottom-color: var(--brand); }
.btn-link .arrow { display: inline-block; transition: transform var(--dur) var(--ease); }
.btn-link:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Header / Nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245,241,234,0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--header-h);
}
.brand-lockup { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); }
.brand-lockup:hover { color: var(--ink); }
.brand-mark {
  width: 64px; height: 64px;
  display: grid; place-items: center;
  flex-shrink: 0;
  position: relative;
}
.brand-mark img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
}
.site-footer .brand-mark img { filter: brightness(0) invert(1) opacity(0.92); }
.brand-name {
  display: flex; flex-direction: column; line-height: 1.15;
}
.brand-name__primary {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.brand-name__sub {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--sans);
  font-size: 0.92rem;
  color: var(--ink);
  padding: 10px 14px;
  font-weight: 500;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.site-nav a:hover { color: var(--brand); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--brand);
}

/* dropdown */
.has-menu { position: relative; }
.has-menu .menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 280px;
  background: var(--cream);
  border: 1px solid var(--rule);
  box-shadow: var(--sh-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.has-menu:hover .menu, .has-menu:focus-within .menu {
  opacity: 1; visibility: visible; transform: translateY(0);
  transition-delay: 0s;
}
.menu a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
}
.menu a:hover { background: var(--paper-2); color: var(--brand); }
.menu a:not(:last-child) { border-bottom: 1px solid var(--rule); }

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-left: 12px;
}
.header-phone {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink-2);
  border-right: 1px solid var(--rule);
  padding-right: 16px;
}
.header-phone strong { color: var(--ink); font-weight: 600; }

/* mobile toggle */
.nav-toggle { display: none; }

/* mobile nav panel */
.mobile-nav { display: none; }
.mobile-nav.is-open {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 20px 24px;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.mobile-nav a {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  padding: 12px 4px;
  border-bottom: 1px solid var(--rule);
}
.mobile-nav a:hover { color: var(--brand); }
.mobile-nav a[aria-current="page"] { color: var(--brand); }
.mobile-nav__group {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 16px 4px 6px;
}
.mobile-nav__sub { padding-left: 16px; }
.mobile-nav .btn { border-bottom: 0; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: calc(var(--s-9) * var(--density)) 0 calc(var(--s-10) * var(--density));
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__copy { padding-right: 24px; }
.hero__eyebrow { margin-bottom: 28px; }
.hero h1 { margin-bottom: 28px; }
.hero__lead { max-width: 520px; }
.hero__cta { display: flex; gap: 12px; margin-top: 36px; flex-wrap: wrap; }
.hero__credentials {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.cred__num {
  font-family: var(--serif);
  font-size: var(--step-4);
  font-weight: 400;
  color: var(--brand);
  line-height: 1;
}
.cred__label {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  margin-top: 8px;
}

.hero__visual {
  position: relative;
  height: 620px;
}

/* ----- Abstract hero art ----- */
.hero__art {
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: var(--r-md);
  overflow: hidden;
  isolation: isolate;
}
.hero__art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(245,241,234,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(245,241,234,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
  -webkit-mask-image: linear-gradient(135deg, #000 0%, transparent 78%);
}
.hero__art-arcs {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__art-arcs circle {
  fill: none;
  stroke: rgba(245,241,234,0.16);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero__art-arcs circle:nth-child(2) { stroke: var(--accent); stroke-width: 1.5; opacity: 0.9; }
.hero__art-accent {
  position: absolute;
  left: 0; right: 0;
  bottom: 30%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--accent) 40%, var(--accent) 60%, transparent);
  opacity: 0.7;
}
.hero__art-mark {
  position: absolute;
  top: 40px; left: 40px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 2;
}
.hero__art-mono {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.42em;
  color: var(--accent);
}
.hero__art-line {
  width: 56px; height: 1px;
  background: rgba(245,241,234,0.4);
}
.hero__art-caption {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.25;
  color: var(--paper);
  font-style: italic;
  font-weight: 300;
}
.hero__photo {
  position: absolute;
  inset: 0;
  background: var(--paper-3);
  overflow: hidden;
}
.hero__photo--secondary {
  inset: auto -40px -40px auto;
  width: 55%;
  height: 280px;
  background: var(--ink);
  border: 6px solid var(--paper);
  z-index: 2;
}
.hero__badge {
  position: absolute;
  top: 24px; left: -24px;
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 14px 18px;
  z-index: 3;
  box-shadow: var(--sh-sm);}
.hero__badge .meta { display: block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; }
.hero__badge .num {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--brand);
  line-height: 1.1;
}

/* photo placeholder pattern */
.photo-placeholder {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(135deg,
      rgba(0,0,0,0.04) 0 1px,
      transparent 1px 14px),
    var(--paper-3);
  position: relative;
  display: grid;
  place-items: center;
}
.photo-placeholder--dark {
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,0.04) 0 1px,
      transparent 1px 14px),
    var(--ink);
}
.photo-placeholder__label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  text-transform: uppercase;
  background: rgba(245,241,234,0.85);
  padding: 6px 10px;
  border: 1px solid var(--rule);
}
.photo-placeholder--dark .photo-placeholder__label {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.7);
}

/* image-slot host styles */
image-slot {
  --image-slot-bg: var(--paper-3);
  --image-slot-border: var(--rule);
  --image-slot-fg: var(--ink-3);
}

/* ============================================================
   Values / pillars
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.pillar {
  background: var(--cream);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background var(--dur) var(--ease);
}
.pillar:hover { background: var(--paper-2); }
.pillar__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.pillar h3 { font-size: 1.6rem; }
.pillar p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* ============================================================
   Practice areas grid
   ============================================================ */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.practice {
  background: var(--paper);
  padding: 36px 32px 36px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  transition: background var(--dur) var(--ease);
  position: relative;
}
.practice:hover { background: var(--cream); color: inherit; }
.practice__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.practice h3 { font-size: 1.45rem; line-height: 1.15; margin-bottom: 12px; }
.practice p { color: var(--ink-2); font-size: 0.92rem; margin: 0; }
.practice__more {
  margin-top: auto;
  padding-top: 24px;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--brand);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.practice:hover .practice__more .arrow { transform: translateX(4px); }
.practice__more .arrow { transition: transform var(--dur) var(--ease); }

/* ============================================================
   Section header
   ============================================================ */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-bottom: 72px;
  align-items: end;
}
.section-head__title h2 { max-width: 540px; }
.section-head__copy { color: var(--ink-2); padding-bottom: 8px; }
.section-head--single { display: block; max-width: 720px; margin-bottom: 56px; }

/* ============================================================
   Partner section (redesigned)
   ============================================================ */
.partner {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}
.partner__photo {
  position: relative;
  align-self: stretch;
}
.partner__photo img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--r-md);
  display: block;
}
.partner__tag {
  position: absolute;
  left: -20px;
  bottom: 32px;
  background: var(--ink);
  color: var(--paper);
  padding: 16px 22px;
  border-radius: var(--r-sm);
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.partner__tag-label {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.partner__tag-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.1;
}
.partner__body { padding: 8px 0; }
.partner__facts {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 48px;
  justify-content: start;
}
.partner__fact-num {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--brand);
}
.partner__fact-label {
  display: block;
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* ============================================================
   Capability grid (data analysis & auditing)
   ============================================================ */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.capability {
  background: var(--cream);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background var(--dur) var(--ease);
}
.capability:hover { background: var(--paper-2); }
.capability__num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.04em;
}
.capability h3 { font-size: 1.4rem; line-height: 1.15; }
.capability p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }

/* ============================================================
   Quote / testimonial
   ============================================================ */
.quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.quote::before {
  content: "“";
  font-family: var(--serif);
  font-size: 2.4em;
  line-height: 0;
  color: var(--accent);
  display: inline-block;
  margin-right: 8px;
  vertical-align: -0.18em;
}
.quote-attr {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote-attr .avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--paper-3);
  border: 1px solid var(--rule);
  flex-shrink: 0;
}
.quote-attr__name { font-weight: 600; font-family: var(--sans); }
.quote-attr__title { font-size: 0.85rem; color: var(--ink-3); }

/* ============================================================
   Stats / outcomes
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.stat {
  border-top: 1px solid var(--rule);
  padding-top: 24px;
}
.stat__num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.stat__label {
  margin-top: 12px;
  font-size: 0.92rem;
  color: var(--ink-2);
  max-width: 220px;
}

/* ============================================================
   CTA strip
   ============================================================ */
.cta-strip {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-strip__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-strip h2 { color: var(--paper); max-width: 600px; }
.cta-strip p { color: rgba(245,241,234,0.78); }
.cta-strip__actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.cta-strip__actions .btn--primary { background: var(--accent); color: var(--ink); }
.cta-strip__actions .btn--primary:hover { background: var(--paper); color: var(--ink); }
.cta-strip__actions .btn--ghost { color: var(--paper); border-color: rgba(245,241,234,0.3); }
.cta-strip__actions .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ============================================================
   Resource / blog cards
   ============================================================ */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.resource {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-decoration: none;
  color: inherit;
}
.resource:hover { color: inherit; }
.resource__cover {
  aspect-ratio: 4 / 3;
  background: var(--paper-3);
  position: relative;
  overflow: hidden;
}
.resource:hover .resource__cover .photo-placeholder { transform: scale(1.02); transition: transform 600ms var(--ease); }
.resource__tag {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--ink);
  padding: 6px 10px;
  border: 1px solid var(--rule);
  z-index: 2;
}
.resource h3 { font-size: 1.4rem; line-height: 1.2; }
.resource__meta {
  display: flex; gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.resource p { color: var(--ink-2); font-size: 0.95rem; margin: 0; }
.resource__more {
  font-size: 0.85rem; color: var(--brand); font-weight: 500;
  display: inline-flex; align-items: center; gap: 8px;
}

/* ============================================================
   Forms
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(107,68,35,0.18);
}
.field textarea { min-height: 140px; resize: vertical; }
.field--check { flex-direction: row; align-items: flex-start; gap: 10px; }
.field--check input { width: auto; margin-top: 4px; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 0.85rem; color: var(--ink-2); font-weight: 400; }

.form-card {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 40px;
  border-radius: var(--r-md);
}

/* ============================================================
   Inline lead capture banner
   ============================================================ */
.lead-banner {
  background: var(--cream);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--brand);
  padding: 32px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}
.lead-banner h3 { margin-bottom: 6px; }
.lead-banner p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(245,241,234,0.78);
  padding: 80px 0 32px;
}
.site-footer h4 {
  color: var(--paper);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,241,234,0.1);
}
.footer-grid .brand-lockup { color: var(--paper); margin-bottom: 24px; }
.footer-grid .brand-lockup .brand-mark { border-color: var(--paper); color: var(--paper); }
.footer-grid .brand-name__primary { color: var(--paper); }
.footer-grid .brand-name__sub { color: rgba(245,241,234,0.5); }
.footer-grid p { font-size: 0.9rem; line-height: 1.6; color: rgba(245,241,234,0.7); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-grid a { color: rgba(245,241,234,0.78); font-size: 0.9rem; }
.footer-grid a:hover { color: var(--accent); }

.footer-bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: rgba(245,241,234,0.5);
}
.footer-bottom p { margin: 0; max-width: 720px; line-height: 1.6; }

/* ============================================================
   Page hero (interior pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--s-9) * var(--density)) 0 calc(var(--s-8) * var(--density));
  border-bottom: 1px solid var(--rule);
}
.page-hero__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  align-items: end;
}
.page-hero h1 { margin-bottom: 24px; }
.breadcrumbs {
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}
.breadcrumbs a { color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span { margin: 0 8px; }

/* ============================================================
   Two column content (practice page)
   ============================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 80px;
  align-items: start;
}
.prose h2 { margin: 48px 0 16px; font-size: var(--step-4); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 12px; font-size: var(--step-3); }
.prose p, .prose li { font-size: var(--step-1); line-height: 1.75; color: var(--ink-2); }
.prose ul { padding-left: 22px; margin: 0 0 24px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose blockquote {
  border-left: 3px solid var(--accent);
  margin: 32px 0;
  padding: 8px 0 8px 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--ink);
}

.sidecard {
  background: var(--cream);
  border: 1px solid var(--rule);
  padding: 32px;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.sidecard h4 { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; margin-bottom: 12px; }
.sidecard p { font-size: 0.95rem; color: var(--ink-2); margin-bottom: 20px; }

/* ============================================================
   Bio cards
   ============================================================ */
.bio {
  display: grid;
  grid-template-columns: minmax(240px, 0.6fr) 1.6fr;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  gap: 56px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
.bio:first-of-type { border-top: 0; padding-top: 0; }
.bio__photo {
  background: transparent;
  align-self: start;
  max-width: 280px;
  overflow: hidden;
}
.bio__role {
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.bio h3 { font-size: var(--step-4); margin-bottom: 24px; }
.bio p { color: var(--ink-2); font-size: 1.05rem; line-height: 1.7; }
.bio__creds {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
}
.bio__creds dt {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.bio__creds dd { margin: 0; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); }

/* ============================================================
   Sticky CTA bar (mobile + persistent)
   ============================================================ */
.sticky-cta {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 40;
  display: none;
}
.sticky-cta.is-visible { display: flex; }
.sticky-cta .btn { box-shadow: var(--sh-lg); }

/* ============================================================
   Tags / chips
   ============================================================ */
.chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--paper-2);
  border: 1px solid var(--rule);
  color: var(--ink-2);
  padding: 6px 12px;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero__grid,
  .page-hero__inner,
  .two-col,
  .section-head,
  .cta-strip__inner,
  .lead-banner,
  .partner,
  .bio { grid-template-columns: 1fr; gap: 32px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .practice-grid, .resource-grid, .stats, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .hero__visual { height: 400px; }
  .hero__copy { padding-right: 0; }
  .partner__photo img { max-height: 480px; }
  .partner__tag { left: 16px; }
  .cta-strip__actions { justify-content: flex-start; }
  .sidecard { position: static; }
  .bio { padding: 40px 0; }
  .bio:first-of-type { padding-top: 0; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .pillars, .practice-grid, .resource-grid, .stats, .footer-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .header-phone { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .form-grid { grid-template-columns: 1fr; }
}
