@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Raleway";
  src: url("assets/fonts/Raleway-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-800.ttf") format("truetype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/Montserrat-900.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --space-3xs: 4px;
  --space-2xs: 8px;
  --space-xs: 12px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;
  --space-fluid-section: clamp(4rem, 8vw, 8rem);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 999px;

  --gold: #faba24;
  --gold-strong: #faba24;
  --gold-soft: #fdfcfc;
  --blue: #3149cb;
  --sky: #78b6ff;
  --coral: #df6769;
  --blush: #faacad;
  --paper: #fdfcfc;
  --ink: #242424;
  --muted: #242424;
  --line: #78b6ff;
  --deep: #242424;
  --cream: #fdfcfc;
  --shadow: 0 0 0 1px #78b6ff;
  --font-heading: "Raleway", Arial, sans-serif;
  --font-body: "Montserrat", Arial, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --icon-file-text: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M14%202H7a2%202%200%200%200-2%202v16a2%202%200%200%200%202%202h10a2%202%200%200%200%202-2V7z%22%2F%3E%3Cpath%20d%3D%22M14%202v5h5%22%2F%3E%3Cpath%20d%3D%22M9%2013h6%22%2F%3E%3Cpath%20d%3D%22M9%2017h6%22%2F%3E%3C%2Fsvg%3E");
  --icon-scale: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203v18%22%2F%3E%3Cpath%20d%3D%22M5%206h14%22%2F%3E%3Cpath%20d%3D%22m6%206-3%207h6z%22%2F%3E%3Cpath%20d%3D%22m18%206-3%207h6z%22%2F%3E%3Cpath%20d%3D%22M8%2021h8%22%2F%3E%3C%2Fsvg%3E");
  --icon-building: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2021h16%22%2F%3E%3Cpath%20d%3D%22M6%2021V8l6-4%206%204v13%22%2F%3E%3Cpath%20d%3D%22M9%2010h1%22%2F%3E%3Cpath%20d%3D%22M14%2010h1%22%2F%3E%3Cpath%20d%3D%22M9%2014h1%22%2F%3E%3Cpath%20d%3D%22M14%2014h1%22%2F%3E%3C%2Fsvg%3E");
  --icon-gavel: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m14%205%205%205%22%2F%3E%3Cpath%20d%3D%22m6%2013%205%205%22%2F%3E%3Cpath%20d%3D%22m4%2015%204-4%22%2F%3E%3Cpath%20d%3D%22m10%209%204-4%22%2F%3E%3Cpath%20d%3D%22m9%2017%208%204%22%2F%3E%3Cpath%20d%3D%22m12%2012%208%208%22%2F%3E%3C%2Fsvg%3E");
  --icon-shield: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203%205%206v5c0%205%203%208%207%2010%204-2%207-5%207-10V6z%22%2F%3E%3Cpath%20d%3D%22m9%2012%202%202%204-5%22%2F%3E%3C%2Fsvg%3E");
  --icon-briefcase: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M10%206V5a2%202%200%200%201%202-2h0a2%202%200%200%201%202%202v1%22%2F%3E%3Cpath%20d%3D%22M4%207h16v12a2%202%200%200%201-2%202H6a2%202%200%200%201-2-2z%22%2F%3E%3Cpath%20d%3D%22M4%2012h16%22%2F%3E%3C%2Fsvg%3E");
  --icon-clock: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cpath%20d%3D%22M12%207v5l3%202%22%2F%3E%3C%2Fsvg%3E");
  --icon-users: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M16%2021v-2a4%204%200%200%200-4-4H7a4%204%200%200%200-4%204v2%22%2F%3E%3Ccircle%20cx%3D%229.5%22%20cy%3D%227%22%20r%3D%224%22%2F%3E%3Cpath%20d%3D%22M22%2021v-2a4%204%200%200%200-3-3.87%22%2F%3E%3Cpath%20d%3D%22M16%203.13a4%204%200%200%201%200%207.75%22%2F%3E%3C%2Fsvg%3E");
  --icon-pen-line: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2020h9%22%2F%3E%3Cpath%20d%3D%22M16.5%203.5a2.1%202.1%200%200%201%203%203L8%2018l-4%201%201-4z%22%2F%3E%3C%2Fsvg%3E");
  --icon-phone: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019.8%2019.8%200%200%201-8.6-3.1%2019.4%2019.4%200%200%201-6-6A19.8%2019.8%200%200%201%202.1%204.2%202%202%200%200%201%204.1%202h3a2%202%200%200%201%202%201.7c.1%201%20.4%201.9.7%202.8a2%202%200%200%201-.5%202.1L8.1%209.9a16%2016%200%200%200%206%206l1.3-1.3a2%202%200%200%201%202.1-.5%2013%2013%200%200%200%202.8.7%202%202%200%200%201%201.7%202.1z%22%2F%3E%3C%2Fsvg%3E");
  --icon-mail: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%205h16v14H4z%22%2F%3E%3Cpath%20d%3D%22m4%207%208%206%208-6%22%2F%3E%3C%2Fsvg%3E");
  --icon-map-pin: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20fill%3D%22none%22%20viewBox%3D%220%200%2024%2024%22%20stroke%3D%22%233149cb%22%20stroke-width%3D%221.8%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M20%2010c0%205-8%2011-8%2011S4%2015%204%2010a8%208%200%201%201%2016%200z%22%2F%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2210%22%20r%3D%223%22%2F%3E%3C%2Fsvg%3E");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 920px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: var(--space-2xs) var(--space-xs); color: var(--paper); background: var(--blue); border-radius: var(--radius-md); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 16px max(20px, calc((100vw - 1180px) / 2));
  border-bottom: 2px solid var(--gold);
  background: var(--paper);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  transition: padding .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.is-scrolled {
  padding-top: var(--space-xs);
  padding-bottom: var(--space-xs);
  background: var(--paper);
  box-shadow: 0 0 0 2px var(--gold);
}
.brand { display: inline-flex; align-items: center; gap: var(--space-2xs); min-width: 220px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--deep);
  background: var(--gold);
  border-radius: 50%;
  font: 700 1.1rem var(--font-body);
}
.brand strong, .brand em { display: block; line-height: 1.05; }
.brand strong { font: 700 .92rem var(--font-body); }
.brand em { color: var(--muted); font-size: .72rem; font-style: normal; }
.site-nav { display: flex; align-items: center; justify-content: flex-end; gap: var(--space-3xs); }
.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: var(--space-2xs) var(--space-xs);
  border-radius: var(--radius-full);
  color: var(--blue);
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); background: var(--gold); }
.site-nav a:hover { transform: translateY(-1px); }
.nav-toggle { display: none; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-heading);
  line-height: 1.05;
  letter-spacing: 0;
}
h1 { max-width: 900px; font-weight: 700; }
h2 { font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 700; }
p { margin: 0; color: var(--muted); }
p + p { margin-top: var(--space-xs); }
.eyebrow, .mini-kicker {
  margin-bottom: var(--space-xs);
  color: var(--gold-strong);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.mini-kicker { color: var(--coral); }

.hero {
  position: relative;
  min-height: calc(86svh - 76px);
  display: grid;
  align-items: end;
  padding-top: var(--space-2xl);
  overflow: clip;
  border-bottom: 2px solid var(--gold);
  background: var(--paper);
}
.hero-visual { position: absolute; inset: 0; pointer-events: none; }
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  background-image:
    linear-gradient(90deg, transparent 0 8%, var(--gold) 8% calc(8% + 3px), transparent calc(8% + 3px)),
    linear-gradient(90deg, transparent 0 92%, var(--line) 92% calc(92% + 1px), transparent calc(92% + 1px));
}
.hero-visual span { display: none; position: absolute; border-radius: 50%; filter: blur(.2px); opacity: .18; }
.hero-visual span:nth-child(1) { width: 500px; height: 500px; right: 7%; top: 16%; background: var(--gold); }
.hero-visual span:nth-child(2) { width: 230px; height: 230px; right: -50px; top: 13%; background: var(--coral); }
.hero-visual span:nth-child(3) { width: 330px; height: 330px; right: 24%; bottom: -110px; background: var(--sky); }
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .56fr);
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0 var(--space-xl);
}
.hero-copy { min-width: 0; padding-left: var(--space-md); border-left: 6px solid var(--gold); }
.hero-text { max-width: 760px; margin-top: var(--space-md); color: var(--blue); font-size: 1.08rem; }
.hero-side {
  display: grid;
  gap: var(--space-sm);
}
.hero-photo, .page-hero-photo, .section-photo, .feature-media {
  margin: 0;
}
.hero-photo {
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--deep);
  animation: photo-drift 8s ease-in-out infinite alternate;
}
.hero-photo img, .page-hero-photo img, .section-photo img, .feature-media > img, .card-photo, .proof-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .7s var(--ease);
}
.hero-photo:hover img, .page-hero-photo:hover img, .section-photo:hover img, .feature-media:hover > img, .practice-card:hover .card-photo, .proof-card:hover img {
  transform: scale(1.035);
}
.hero-card {
  padding: var(--space-md);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.check-list, .plain-list {
  display: grid;
  gap: var(--space-xs);
  padding: 0;
  margin: var(--space-sm) 0 0;
  list-style: none;
}
.check-list li, .plain-list li { position: relative; padding-left: var(--space-sm); color: var(--muted); }
.check-list li::before, .plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}
.strong-list li { color: var(--ink); font-weight: 700; }

.actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2xs);
  min-height: 52px;
  padding: 0 var(--space-md);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn::after, .text-link::after, .practice-card a::after, .proof-card a::after {
  content: "";
  width: 17px;
  height: 17px;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233149cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%233149cb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m13 6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .2s var(--ease);
}
.btn:hover::after, .text-link:hover::after, .practice-card a:hover::after, .proof-card a:hover::after { transform: translateX(3px); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: var(--blue); background: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.btn-secondary { color: var(--blue); background: var(--paper); border-color: var(--line); }
.btn-light { color: var(--paper); border-color: var(--paper); background: var(--blue); }
.text-link, .practice-card a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-top: var(--space-sm);
  color: var(--blue);
  font-weight: 700;
}
.section-actions { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }

.stats-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 2px solid var(--gold);
  background: var(--blue);
}
.stats-strip div { min-width: 0; padding: var(--space-md) var(--space-lg); border-right: 1px solid var(--sky); }
.stats-strip strong { display: block; color: var(--gold-strong); font: 700 2rem var(--font-body); }
.stats-strip span { display: block; color: var(--paper); font-size: .82rem; font-weight: 600; }
.stats-strip p { margin-top: var(--space-2xs); color: var(--paper); font-size: .78rem; line-height: 1.45; }

.section { padding: var(--space-3xl) 0; }
.section-tint { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper); }
.section-dark { color: var(--paper); background: var(--deep); }
.section-dark h2, .section-dark h3, .section-dark p, .section-dark li { color: var(--paper); }
.section-dark .eyebrow { color: var(--gold); }
.section-dark .detail-card, .section-dark .step-card { color: var(--paper); background: var(--blue); border-color: var(--sky); }
.section-dark .detail-card p, .section-dark .detail-card li, .section-dark .step-card p { color: var(--paper); }
.section-dark .detail-card h3, .section-dark .step-card h3 { color: var(--paper); }
.section-alert { color: var(--paper); background: linear-gradient(135deg, var(--blue), var(--blue)); }
.section-alert h2, .section-alert p, .section-alert strong { color: var(--paper); }
.section-alert .eyebrow { color: var(--gold); }
.section-head { max-width: none; }
.section-head p { max-width: 800px; margin-top: var(--space-sm); }
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: var(--space-2xl);
  align-items: start;
}
.split > *,
.page-hero-grid > * { min-width: 0; }
.content-flow { min-width: 0; }
.content-flow h3 { margin-top: var(--space-md); }

.page-hero {
  position: relative;
  overflow: clip;
  padding: var(--space-4xl) 0 var(--space-2xl);
  border-bottom: 2px solid var(--gold);
  background: var(--paper);
}
.page-hero::after {
  display: none;
  content: "";
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero p { max-width: 820px; font-size: 1.06rem; }
.page-hero h1 { padding-left: var(--space-md); border-left: 6px solid var(--gold); }
.contact-hero { padding-bottom: var(--space-3xl); }
.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
  gap: var(--space-xl);
  align-items: center;
}
.page-hero-photo {
  overflow: hidden;
  height: clamp(280px, 28vw, 390px);
  min-height: 330px;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  background: var(--deep);
}
.section-photo {
  overflow: hidden;
  margin-top: var(--space-md);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  background: var(--deep);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.practice-card, .detail-card, .step-card, .team-card, .person-card, .faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
}
.practice-card:hover, .detail-card:hover, .step-card:hover, .team-card:hover, .person-card:hover, .faq-list details:hover, .timeline-item:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}
.practice-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  padding: var(--space-md);
}
.practice-card .card-photo {
  height: 150px;
  margin: calc(-1 * var(--space-md)) calc(-1 * var(--space-md)) var(--space-md);
  width: calc(100% + 52px);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.practice-grid .practice-card:nth-child(1),
.practice-grid .practice-card:nth-child(6) {
  border-left: 6px solid var(--gold);
  background: var(--paper);
}
.practice-grid .practice-card:nth-child(2),
.practice-grid .practice-card:nth-child(5) {
  border-top: 5px solid var(--gold);
}
.practice-grid .practice-card:nth-child(3) {
  color: var(--paper);
  background: var(--deep);
}
.practice-grid .practice-card:nth-child(3) p,
.practice-grid .practice-card:nth-child(3) a {
  color: var(--paper);
}
.practice-card p, .detail-card p, .step-card p, .team-card p { margin-top: var(--space-2xs); font-size: .93rem; }
.card-number {
  display: inline-flex;
  vertical-align: middle;
  margin-bottom: var(--space-md);
  color: var(--gold-strong);
  font: 600 .82rem var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.icon-chip, .inline-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--deep);
  background: var(--gold);
  border-radius: 50%;
}
.icon-chip {
  width: 42px;
  height: 42px;
  margin: 0 var(--space-xs) var(--space-sm) 0;
  vertical-align: middle;
  box-shadow: 0 0 0 1px var(--gold);
}
.inline-icon {
  width: 34px;
  height: 34px;
  margin: 0 var(--space-2xs) var(--space-2xs) 0;
}
.icon-chip svg, .inline-icon svg, .step-card span svg, .timeline-item span svg {
  display: block;
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-chip svg:has(use), .inline-icon svg:has(use), .step-card span svg:has(use), .timeline-item span svg:has(use) {
  background: currentColor;
  -webkit-mask: var(--icon-mask) center / contain no-repeat;
  mask: var(--icon-mask) center / contain no-repeat;
}
svg:has(use[href$="#file-text"]) { --icon-mask: var(--icon-file-text); }
svg:has(use[href$="#scale"]) { --icon-mask: var(--icon-scale); }
svg:has(use[href$="#building"]) { --icon-mask: var(--icon-building); }
svg:has(use[href$="#gavel"]) { --icon-mask: var(--icon-gavel); }
svg:has(use[href$="#shield"]) { --icon-mask: var(--icon-shield); }
svg:has(use[href$="#briefcase"]) { --icon-mask: var(--icon-briefcase); }
svg:has(use[href$="#clock"]) { --icon-mask: var(--icon-clock); }
svg:has(use[href$="#users"]) { --icon-mask: var(--icon-users); }
svg:has(use[href$="#pen-line"]) { --icon-mask: var(--icon-pen-line); }
svg:has(use[href$="#phone"]) { --icon-mask: var(--icon-phone); }
svg:has(use[href$="#mail"]) { --icon-mask: var(--icon-mail); }
svg:has(use[href$="#map-pin"]) { --icon-mask: var(--icon-map-pin); }
.practice-grid .practice-card:nth-child(3) .icon-chip { color: var(--deep); background: var(--gold); }
.stack article .inline-icon { float: left; }
.stack article h3 { padding-top: var(--space-3xs); }
.stack article p { clear: both; }
.accent-card { background: linear-gradient(180deg, var(--paper), var(--blush)); }

.strategy-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.strategy-section::before {
  content: "";
  position: absolute;
  left: -110px;
  top: 122px;
  width: 520px;
  height: 220px;
  border: 20px solid var(--sky);
  border-radius: 50%;
  opacity: .16;
  transform: rotate(-16deg);
  pointer-events: none;
}
.strategy-section::after {
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  top: 66px;
  width: 34px;
  height: 34px;
  background: var(--gold);
}
.strategy-section .section-head {
  max-width: 820px;
  text-align: center;
}
.strategy-section .practice-grid {
  position: relative;
  z-index: 1;
  gap: 0;
  margin-top: var(--space-xl);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.strategy-section .practice-card,
.strategy-section .practice-card:nth-child(1),
.strategy-section .practice-card:nth-child(2),
.strategy-section .practice-card:nth-child(3),
.strategy-section .practice-card:nth-child(4),
.strategy-section .practice-card:nth-child(5),
.strategy-section .practice-card:nth-child(6) {
  min-height: 238px;
  padding: var(--space-lg) var(--space-lg);
  color: var(--blue);
  background: var(--paper);
  border: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
}
.strategy-section .practice-card:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: inset 0 4px 0 var(--gold);
}
.strategy-section .icon-chip {
  display: none;
}
.strategy-section .card-number {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  color: var(--blue);
  background: var(--gold);
  font-size: .82rem;
  letter-spacing: 0;
}
.strategy-section .practice-card h3 {
  max-width: 320px;
  font-size: 1.22rem;
  line-height: 1.1;
}
.strategy-section .practice-card p {
  max-width: 330px;
  margin-top: var(--space-2xs);
  font-size: .9rem;
  line-height: 1.5;
}
.strategy-section .practice-card:nth-child(3) p,
.strategy-section .practice-card:nth-child(3) a {
  color: var(--blue);
}
.strategy-section .practice-card a {
  margin-top: var(--space-sm);
  font-size: .86rem;
}

.proof-section {
  position: relative;
  overflow: hidden;
}
.proof-section::before {
  content: "";
  position: absolute;
  left: max(18px, calc((100vw - 1180px) / 2));
  bottom: 58px;
  width: 34px;
  height: 34px;
  background: var(--gold);
}
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr);
  gap: var(--space-2xl);
  align-items: center;
}
.proof-copy {
  min-width: 0;
  padding-left: var(--space-md);
  border-left: 6px solid var(--gold);
}
.proof-copy p {
  max-width: 560px;
  font-size: 1rem;
}
.proof-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-sm);
  min-width: 0;
}
.proof-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--blue);
  box-shadow: var(--shadow);
}
.proof-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--blue));
  opacity: .82;
}
.proof-card img {
  position: absolute;
  inset: 0;
}
.proof-card div {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
}
.proof-card span {
  display: inline-flex;
  margin-bottom: var(--space-2xs);
  color: var(--gold);
  font: 600 .72rem var(--font-body);
  letter-spacing: .11em;
  text-transform: uppercase;
}
.proof-card h3 {
  color: var(--paper);
  font-size: 1.12rem;
  line-height: 1.12;
}
.proof-card p {
  margin-top: var(--space-2xs);
  color: var(--paper);
  font-size: .84rem;
  line-height: 1.45;
}
.proof-card a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 38px;
  margin-top: var(--space-sm);
  padding: 0 var(--space-xs);
  border-radius: var(--radius-full);
  color: var(--blue);
  background: var(--paper);
  font-size: .78rem;
  font-weight: 700;
}

.results-section {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.results-section::before {
  content: "";
  position: absolute;
  left: -130px;
  bottom: 52px;
  width: 520px;
  height: 150px;
  border: 18px solid var(--sky);
  border-radius: 50%;
  opacity: .16;
  transform: rotate(-14deg);
}
.results-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: var(--space-xl);
  align-items: center;
}
.results-media {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: var(--radius-md) var(--radius-full) var(--radius-md) var(--radius-md);
  background: var(--blue);
}
.results-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--blue), transparent);
  opacity: .92;
}
.results-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.results-copy {
  position: relative;
  z-index: 1;
  max-width: 520px;
  padding: var(--space-xl);
}
.results-copy h2,
.results-copy p {
  color: var(--paper);
}
.results-copy .eyebrow {
  color: var(--gold);
}
.results-copy > p {
  margin-top: var(--space-sm);
  color: var(--paper);
}
.results-copy a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  min-height: 40px;
  margin-top: var(--space-md);
  padding: 0 var(--space-sm);
  border-radius: var(--radius-full);
  color: var(--blue);
  background: var(--paper);
  font-size: .78rem;
  font-weight: 700;
}
.results-copy a::after {
  content: ">";
  transform: rotate(-45deg);
  font-size: 1rem;
}
.results-list {
  display: grid;
  gap: var(--space-sm);
}
.results-list article {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 32px;
  gap: var(--space-sm);
  align-items: center;
  min-height: 108px;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md) var(--radius-lg) var(--radius-md) var(--radius-md);
  color: var(--paper);
  background: var(--gold);
}
.results-list article:nth-child(2) { background: var(--blush); }
.results-list article:nth-child(3) { background: var(--sky); }
.results-list article::after {
  content: ">";
  justify-self: end;
  color: inherit;
  font-size: 1.7rem;
  font-weight: 700;
  transform: rotate(-45deg);
}
.results-list article span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--paper);
  border-radius: 50%;
}
.results-list article svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.results-list article strong {
  display: block;
  color: inherit;
  font: 700 1rem/1.2 var(--font-body);
}
.results-list article p {
  margin-top: var(--space-3xs);
  color: inherit;
  font-size: .86rem;
  line-height: 1.4;
}
.results-note {
  padding-left: var(--space-md);
  border-left: 6px solid var(--gold);
  font-weight: 600;
}

.case-study-section {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background: var(--paper);
}
.case-study-section::after {
  content: "";
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  top: 42px;
  width: 28px;
  height: 28px;
  background: var(--blue);
}
.case-study-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: var(--space-xl);
  align-items: center;
}
.case-study-copy {
  min-width: 0;
}
.case-study-copy h2 {
  max-width: 620px;
}
.case-study-copy dl {
  display: grid;
  gap: var(--space-sm);
  max-width: 570px;
  margin: var(--space-lg) 0 0;
}
.case-study-copy dl div {
  padding-top: var(--space-sm);
  border-top: 1px solid var(--line);
}
.case-study-copy dt {
  margin-bottom: var(--space-3xs);
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.case-study-copy dd {
  margin: 0;
  color: var(--blue);
}
.case-study-media {
  position: relative;
  min-height: 520px;
}
.case-study-media img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(100%, 620px);
  height: 360px;
  object-fit: cover;
  border: 1px solid var(--gold);
  border-radius: 0 0 var(--radius-full) var(--radius-md);
}
.case-stat {
  position: absolute;
  display: grid;
  align-content: center;
  width: 190px;
  min-height: 190px;
  padding: var(--space-md);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg);
  color: var(--blue);
  background: var(--gold);
}
.case-stat-top {
  top: 0;
  right: 30px;
}
.case-stat-bottom {
  left: 18px;
  bottom: 118px;
  color: var(--paper);
  background: var(--coral);
  border-color: var(--coral);
}
.case-stat strong {
  display: block;
  color: inherit;
  font: 700 1.62rem/1 var(--font-body);
}
.case-stat span {
  display: block;
  margin-top: var(--space-2xs);
  color: inherit;
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
}

.stack { display: grid; gap: var(--space-xs); }
.stack article, .feature-list div {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-left: 5px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.feature-list { display: grid; gap: var(--space-xs); }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { margin-top: var(--space-3xs); color: var(--muted); font-size: .92rem; }
.feature-callout {
  padding: var(--space-lg);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--blue);
  box-shadow: var(--shadow);
}
.feature-media {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}
.feature-media > img {
  position: absolute;
  inset: 0;
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--blue));
  opacity: .72;
}
.feature-media .feature-callout {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 1;
  background: var(--blue);
  border: 1px solid var(--gold);
  box-shadow: none;
}
.feature-callout span {
  color: var(--gold);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.feature-callout p { margin-top: var(--space-xs); color: var(--paper); font: 700 1.55rem/1.2 var(--font-body); }

.forum-grid { display: flex; flex-wrap: wrap; gap: var(--space-xs); margin-top: var(--space-lg); }
.forum-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: var(--space-2xs) var(--space-sm);
  border: 1px solid var(--gold);
  border-radius: var(--radius-full);
  color: var(--blue);
  background: var(--paper);
  font-size: .84rem;
  font-weight: 700;
}
.index-section {
  position: relative;
  overflow: hidden;
}
.index-section::before {
  content: "";
  position: absolute;
  right: -90px;
  top: 34px;
  width: 520px;
  height: 160px;
  border: 18px solid var(--sky);
  border-radius: 50%;
  opacity: .18;
  transform: rotate(14deg);
}
.index-panel {
  position: relative;
  z-index: 1;
  padding: var(--space-xl) var(--space-2xl);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.index-panel::after {
  content: "";
  position: absolute;
  right: 28px;
  top: 28px;
  width: 30px;
  height: 30px;
  background: var(--gold);
}
.index-panel h2 {
  max-width: 820px;
}
.index-panel > p {
  max-width: 780px;
  margin-top: var(--space-sm);
}
.index-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}
.index-tags span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: var(--space-3xs) var(--space-xs);
  border-radius: var(--radius-full);
  color: var(--blue);
  background: var(--gold);
  font-size: .72rem;
  font-weight: 600;
}
.index-tags span:nth-child(2) { background: var(--sky); }
.index-tags span:nth-child(3) { background: var(--blush); }
.index-tags span:nth-child(4) { background: var(--coral); }
.index-tags span:nth-child(5) { background: var(--paper); box-shadow: 0 0 0 1px var(--line); }
.authority-index {
  display: grid;
  gap: 0;
  margin: var(--space-xl) 0 0;
  padding: 0;
  list-style: none;
  counter-reset: authority;
}
.authority-index li {
  counter-increment: authority;
  display: grid;
  grid-template-columns: 34px minmax(260px, .75fr) minmax(0, 1fr);
  gap: var(--space-xs) var(--space-md);
  align-items: baseline;
  padding: var(--space-xs) 0;
  border-top: 1px solid var(--line);
}
.authority-index li::before {
  content: counter(authority) ".";
  color: var(--blue);
  font-weight: 700;
  grid-column: 1;
}
.authority-index strong {
  display: inline-flex;
  grid-column: 2;
  color: var(--blue);
  font-size: .94rem;
}
.authority-index span {
  grid-column: 3;
  color: var(--blue);
  font-size: .82rem;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.team-card { min-height: 220px; padding: var(--space-md); }
.team-card-primary { grid-column: span 2; color: var(--paper); background: var(--deep); }
.team-card-primary p { color: var(--paper); }
.team-card-primary, .person-primary, .section-dark, .section-alert {
  border-top: 4px solid var(--gold);
}
.team-card span, .person-card span {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--gold);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.principles-section {
  position: relative;
  overflow: hidden;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  background: var(--paper);
}
.principles-section::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 48px;
  width: 620px;
  height: 190px;
  border: 18px solid var(--sky);
  border-radius: 50%;
  opacity: .16;
  transform: rotate(13deg);
}
.principles-section::after {
  content: "";
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  top: 58px;
  width: 30px;
  height: 30px;
  background: var(--blue);
}
.principles-section .section-head {
  position: relative;
  z-index: 1;
  margin-inline: auto;
  text-align: center;
}
.situation-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-xl);
}
.situation-list p {
  position: relative;
  min-height: 310px;
  padding: var(--space-lg) var(--space-md) var(--space-3xl);
  border: 1px solid var(--gold);
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-md) var(--radius-lg);
  color: var(--blue);
  background: var(--gold);
}
.situation-list p:nth-child(2) { background: var(--sky); border-color: var(--sky); }
.situation-list p:nth-child(3) { background: var(--blush); border-color: var(--blush); }
.situation-list p:nth-child(4) { color: var(--paper); background: var(--coral); border-color: var(--coral); }
.situation-list p::after {
  content: ">";
  position: absolute;
  right: -14px;
  bottom: -14px;
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  border: 2px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  background: var(--paper);
  font-size: 1.8rem;
  font-weight: 700;
  transform: rotate(-45deg);
}
.situation-list strong {
  display: block;
  margin-bottom: var(--space-xs);
  color: inherit;
  font: 700 1.2rem/1.12 var(--font-body);
}

.step-grid, .detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.step-card, .detail-card { padding: var(--space-md); }
.step-card span, .timeline-item span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin-bottom: var(--space-sm);
  color: var(--gold-strong);
  font: 600 .78rem var(--font-body);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.timeline {
  display: grid;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}
.timeline-item {
  display: grid;
  grid-template-columns: 130px minmax(0, .35fr) minmax(0, 1fr);
  gap: var(--space-md);
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
  transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
}
.timeline-item span { margin-bottom: 0; }
.timeline-item p { margin-top: 0; }
.timeline-item p + p { margin-top: var(--space-2xs); }
.dark-cards .detail-card { border-color: var(--sky); background: var(--blue); }

.people-list { display: grid; gap: var(--space-sm); margin-top: var(--space-lg); }
.person-card {
  display: grid;
  grid-template-columns: minmax(220px, .55fr) minmax(0, 1fr);
  gap: var(--space-md);
  padding: var(--space-md);
}
.person-primary { color: var(--paper); background: var(--deep); }
.person-primary p { color: var(--paper); }

.faq-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
  margin-top: var(--space-lg);
}
.faq-list details { padding: var(--space-md); }
.faq-list summary { cursor: pointer; color: var(--ink); font: 700 1rem var(--font-body); }
.faq-list p, .faq-list ul { margin-top: var(--space-xs); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: var(--space-xl);
  align-items: start;
}
.contact-panel {
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.contact-panel dl { display: grid; gap: var(--space-sm); margin: var(--space-md) 0 0; }
.contact-panel dt {
  display: flex;
  align-items: center;
  gap: var(--space-2xs);
  color: var(--gold-strong);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-panel .inline-icon {
  width: 28px;
  height: 28px;
  margin: 0;
  color: var(--deep);
  background: var(--gold-soft);
}
.contact-panel dd { margin: var(--space-3xs) 0 0; color: var(--ink); font-weight: 600; }
.contact-panel dd a {
  color: var(--blue);
  overflow-wrap: anywhere;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.contact-panel dd a:hover { color: var(--ink); }
.consult-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xs);
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.whatsapp-float {
  position: fixed;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px 0 16px;
  border: 0;
  border-radius: var(--radius-full);
  color: #102318;
  background: #25d366;
  box-shadow: 0 10px 26px rgba(20, 80, 43, .28);
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .01em;
  transition: transform .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
}

.whatsapp-float svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.whatsapp-float:hover {
  border: 0;
  color: #102318;
  background: #38df74;
  box-shadow: 0 14px 32px rgba(20, 80, 43, .34);
  transform: translateY(-3px);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

@media (max-width: 560px) {
  .whatsapp-float {
    right: max(14px, env(safe-area-inset-right));
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 56px;
    min-height: 56px;
    padding: 0;
  }

  .whatsapp-float span {
    display: none;
  }
}
.consult-form label, .consult-form legend {
  color: var(--blue);
  font-size: .78rem;
  font-weight: 600;
}
.consult-form > label { display: grid; gap: var(--space-2xs); }
.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form input[type="email"],
.consult-form textarea,
.consult-form input[type="file"] {
  width: 100%;
  min-height: 46px;
  padding: var(--space-2xs) var(--space-xs);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--paper);
}
.consult-form textarea { resize: vertical; }
.consult-form fieldset {
  display: grid;
  gap: var(--space-2xs) var(--space-xs);
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
  padding: var(--space-sm);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.consult-form fieldset label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2xs);
  font-size: .86rem;
  font-weight: 700;
}
.consult-form .full { grid-column: 1 / -1; }
.consult-form button { cursor: pointer; }
.consult-form button:disabled { cursor: wait; opacity: .72; }
.consult-form label span { color: var(--muted); font-size: .78rem; font-weight: 700; }
.consult-form .form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  padding: var(--space-xs);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
  font-size: .9rem;
  font-weight: 700;
}
.form-status.is-success {
  border-color: rgba(19, 126, 82, .32);
  color: #0d5135;
  background: #eef8f3;
}
.form-status.is-error {
  border-color: rgba(178, 56, 56, .35);
  color: #7e2222;
  background: #fff2f2;
}

.final-cta {
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--gold), var(--gold));
}
.final-cta .eyebrow { color: var(--blue); }
.final-cta h2 { color: var(--deep); }
.final-cta p { color: var(--blue); font-weight: 600; }

.site-footer { padding: var(--space-lg) 0; color: var(--paper); background: var(--blue); }
.footer-grid { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
.footer-grid strong, .footer-grid span { display: block; }
.footer-grid span { color: var(--paper); font-size: .88rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: var(--space-sm); color: var(--paper); font-size: .88rem; font-weight: 700; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes photo-drift {
  from { transform: translateY(0); }
  to { transform: translateY(-8px); }
}

@media (max-width: 1060px) {
  .site-header { align-items: flex-start; }
  .site-nav { max-width: 650px; flex-wrap: wrap; }
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .case-study-grid { grid-template-columns: 1fr; }
  .case-study-media { min-height: 470px; }
  .hero-card { max-width: 620px; }
  .page-hero-grid { grid-template-columns: 1fr; }
  .page-hero-photo { min-height: 280px; }
  .practice-grid, .team-grid, .step-grid, .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .strategy-section .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-item { grid-template-columns: 110px minmax(0, 1fr); }
  .timeline-item p { grid-column: 2; }
  .person-card { grid-template-columns: 1fr; }
  .authority-index li { grid-template-columns: 28px minmax(0, 1fr); gap: var(--space-3xs) var(--space-xs); }
  .authority-index strong { grid-column: 2; }
  .authority-index span { grid-column: 2; margin-left: 0; }
  .situation-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .container { width: calc(100% - 28px); }
  .site-header { padding: var(--space-xs) var(--space-xs); }
  .brand { min-width: 0; }
  .brand strong { font-size: .86rem; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    max-width: none;
    padding: var(--space-xs) var(--space-xs) var(--space-sm);
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 0 0 1px var(--sky);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { justify-content: center; min-height: 44px; }
.nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: var(--deep);
  }
  .nav-toggle span { display: block; width: 18px; height: 2px; margin: 2px 0; background: var(--paper); }
  .hero { min-height: auto; padding-top: var(--space-lg); }
  .hero-grid { gap: var(--space-md); padding: var(--space-xl) 0 var(--space-xl); }
  h1 { line-height: 1.06; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stats-strip div { padding: var(--space-sm) var(--space-sm); }
  .section, .final-cta { padding: var(--space-2xl) 0; }
  .page-hero { padding: var(--space-3xl) 0 var(--space-2xl); }
  .hero-photo, .page-hero-photo, .section-photo { aspect-ratio: 4 / 3; height: auto; min-height: auto; }
  .feature-media { min-height: 390px; }
  .practice-grid, .team-grid, .step-grid, .detail-grid, .faq-list, .consult-form, .consult-form fieldset { grid-template-columns: 1fr; }
  .proof-grid { gap: var(--space-lg); }
  .proof-cards { grid-template-columns: 1fr; }
  .proof-card { min-height: 350px; }
  .results-grid { gap: var(--space-md); }
  .results-media { min-height: 480px; }
  .results-copy { padding: var(--space-lg) var(--space-md); }
  .results-list article { grid-template-columns: 46px minmax(0, 1fr) 22px; gap: var(--space-xs); padding: var(--space-sm); }
  .results-list article span { width: 40px; height: 40px; }
  .results-list article svg { width: 19px; height: 19px; }
  .case-study-grid { gap: var(--space-lg); }
  .case-study-media { min-height: 520px; }
  .case-study-media img {
    width: 100%;
    height: 320px;
    border-radius: 0 0 var(--radius-full) var(--radius-md);
  }
  .case-stat {
    width: 160px;
    min-height: 150px;
    padding: var(--space-sm);
  }
  .case-stat-top { right: 14px; }
  .case-stat-bottom { left: 10px; bottom: 92px; }
  .case-stat strong { font-size: 1.28rem; }
  .principles-section::after { top: 34px; width: 22px; height: 22px; }
  .principles-section .section-head { text-align: left; }
  .situation-list { grid-template-columns: 1fr; gap: var(--space-sm); }
  .situation-list p { min-height: 230px; padding: var(--space-md) var(--space-md) var(--space-3xl); }
  .strategy-section::after { top: 42px; width: 24px; height: 24px; }
  .strategy-section .section-head { text-align: left; }
  .strategy-section .practice-grid { grid-template-columns: 1fr; margin-top: var(--space-lg); }
  .strategy-section .practice-card,
  .strategy-section .practice-card:nth-child(1),
  .strategy-section .practice-card:nth-child(2),
  .strategy-section .practice-card:nth-child(3),
  .strategy-section .practice-card:nth-child(4),
  .strategy-section .practice-card:nth-child(5),
  .strategy-section .practice-card:nth-child(6) {
    min-height: auto;
    padding: var(--space-md);
  }
  .team-card-primary { grid-column: auto; }
  .timeline-item { grid-template-columns: 1fr; }
  .timeline-item p { grid-column: auto; }
  .index-panel { padding: var(--space-lg) var(--space-md); }
  .index-panel::after { right: 20px; top: 20px; width: 22px; height: 22px; }
  .authority-index { margin-top: var(--space-lg); }
  .contact-panel { padding: var(--space-md); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Editorial homepage redesign */
body {
  color: var(--ink);
  font-family: var(--font-body);
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.brand strong,
.brand em,
.brand-mark,
.site-nav a,
.btn,
.text-link,
.eyebrow,
.mini-kicker {
  font-family: var(--font-body);
}

.site-header {
  border-bottom: 1px solid var(--line);
  box-shadow: none;
}

.site-header.is-scrolled {
  box-shadow: 0 2px 0 var(--gold);
}

.brand-mark,
.nav-toggle {
  border-radius: var(--radius-md);
}

.site-nav a {
  border-radius: var(--radius-md);
  color: var(--ink);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--blue);
  background: var(--gold);
}

.btn {
  border-radius: var(--radius-md);
}

.text-link {
  margin-top: 0;
  color: var(--blue);
  border-bottom: 2px solid var(--gold);
}

.editorial-hero {
  position: relative;
  min-height: calc(86svh - 76px);
  overflow: clip;
  background: var(--paper);
  border-bottom: 2px solid var(--blue);
}

.editorial-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 120px),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 120px);
  opacity: .08;
  pointer-events: none;
}

.editorial-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, .68fr);
  gap: clamp(38px, 6vw, 86px);
  align-items: center;
  padding: clamp(78px, 10vw, 126px) 0 56px;
}

.editorial-hero-copy {
  max-width: 900px;
}

.editorial-hero h1,
.page-hero h1 {
  max-width: 950px;
  color: var(--ink);
  line-height: .93;
  padding-left: 0;
  border-left: 0;
}

.editorial-hero .hero-text,
.page-hero p {
  max-width: 760px;
  margin-top: var(--space-md);
  color: var(--ink);
  line-height: 1.75;
}

.editorial-hero .actions {
  align-items: center;
  margin-top: var(--space-lg);
}

.document-scene {
  position: relative;
  min-height: clamp(480px, 40vw, 610px);
}

.document-sheet {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 16px 16px 0 var(--sky);
}

.document-sheet span,
.document-stamp {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.document-sheet-back {
  inset: 40px 10px auto 70px;
  height: 310px;
  padding: var(--space-lg);
  color: var(--blue);
  background: var(--paper);
  transform: rotate(5deg);
}

.document-sheet-back i {
  display: block;
  height: 12px;
  margin-top: var(--space-md);
  background: var(--sky);
}

.document-sheet-back i:nth-child(3) {
  width: 72%;
}

.document-sheet-back i:nth-child(4) {
  width: 54%;
}

.document-sheet-main {
  left: 0;
  right: 48px;
  bottom: 58px;
  min-height: 390px;
  padding: var(--space-lg);
  color: var(--paper);
  background: var(--deep);
  border-color: var(--gold);
  box-shadow: 16px 16px 0 var(--gold);
  animation: document-float 7s var(--ease) infinite alternate;
}

.document-sheet-main > span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 var(--space-2xs);
  color: var(--blue);
  background: var(--gold);
}

.document-sheet-main h2 {
  max-width: 340px;
  margin-top: var(--space-lg);
  color: var(--paper);
  line-height: .98;
}

.document-sheet-main p {
  max-width: 360px;
  margin-top: var(--space-sm);
  color: var(--paper);
}

.document-sheet-main ol {
  display: flex;
  justify-content: space-between;
  gap: var(--space-2xs);
  flex-wrap: nowrap;
  padding: 0;
  margin: var(--space-xl) 0 0;
  list-style: none;
}

.document-sheet-main li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: var(--paper);
  text-align: center;
  border: 1px solid var(--blue);
  border-radius: var(--radius-md);
  padding: var(--space-2xs);
  min-width: 0;
}

.document-sheet-main li strong {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--sky);
  margin-bottom: 2px;
  white-space: nowrap;
}

.document-sheet-main li span {
  font-size: 0.65rem;
  font-weight: 500;
  line-height: 1.2;
}


.document-stamp {
  position: absolute;
  right: 0;
  bottom: 0;
  max-width: 210px;
  padding: var(--space-sm);
  border: 1px solid var(--blue);
  color: var(--blue);
  background: var(--gold);
  font-size: .78rem;
  line-height: 1.45;
}

.authority-ticker {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  color: var(--paper);
  background: var(--blue);
}

.authority-ticker div {
  display: flex;
  width: max-content;
  animation: ticker-scroll 32s linear infinite;
}

.authority-ticker span {
  display: inline-flex;
  align-items: center;
  min-height: 56px;
  padding: 0 var(--space-md);
  border-right: 1px solid var(--sky);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.credibility-editorial {
  border-bottom: 1px solid var(--line);
}

.cred-band {
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--line);
}

.cred-row {
  display: grid;
  grid-template-columns: minmax(250px, .82fr) minmax(0, 1.18fr);
  gap: var(--space-xl);
  align-items: center;
}

.cred-row strong {
  color: inherit;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: .9;
}

.cred-row p {
  align-self: center;
  max-width: 620px;
  color: inherit;
}

.cred-band-blue {
  color: var(--paper);
  background: var(--blue);
}

.cred-band-paper {
  color: var(--ink);
  background: var(--paper);
}

.cred-band-gold {
  color: var(--blue);
  background: var(--gold);
}

.cred-band-coral {
  color: var(--paper);
  background: var(--coral);
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, .8fr);
  gap: var(--space-xl);
  align-items: start;
}

.section-intro > div p:last-child,
.section-intro > p:last-child {
  max-width: 520px;
  color: var(--ink);
}

.practice-mosaic-section {
  background: var(--paper);
}

.practice-mosaic {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(150px, auto);
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

.mosaic-item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 260px;
  padding: var(--space-md);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--paper);
  transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.mosaic-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, transparent 0 64%, var(--sky) 64% calc(64% + 1px), transparent calc(64% + 1px)),
    linear-gradient(0deg, transparent 0 70%, var(--line) 70% calc(70% + 1px), transparent calc(70% + 1px));
  opacity: .3;
}

.mosaic-item::after {
  content: ">";
  position: absolute;
  right: 22px;
  top: 18px;
  color: var(--gold);
  font-size: 2rem;
  font-weight: 700;
  transform: rotate(-45deg);
}

.mosaic-item:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.mosaic-item span,
.mosaic-item h3,
.mosaic-item p {
  position: relative;
  z-index: 1;
}

.mosaic-item span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.mosaic-item h3 {
  max-width: 520px;
  margin-top: var(--space-xs);
  color: inherit;
}

.mosaic-item p {
  max-width: 520px;
  margin-top: var(--space-xs);
  color: inherit;
}

.mosaic-tax {
  grid-column: span 6;
  grid-row: span 2;
  min-height: 420px;
  color: var(--paper);
  background: var(--blue);
}

.mosaic-notice,
.mosaic-civil,
.mosaic-company,
.mosaic-coop-soc {
  grid-column: span 6;
}

.mosaic-admin {
  grid-column: span 12;
  color: var(--paper);
  background: var(--blue);
}

.mosaic-coop {
  grid-column: span 6;
  color: var(--blue);
  background: var(--gold);
}

.mosaic-coop span {
  color: var(--blue);
}

.mosaic-coop::after {
  color: var(--blue);
}

.mosaic-ed {
  grid-column: span 6;
  color: var(--paper);
  background: var(--coral);
}

.mosaic-company {
  background: var(--sky);
}

.stakes-section {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 146px) 0;
  color: var(--paper);
  background: var(--blue);
}

.stakes-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(42px, 7vw, 96px);
}

.stakes-copy,
.stakes-narrative {
  position: relative;
  z-index: 1;
}

.stakes-section h2 {
  max-width: 610px;
  color: var(--paper);
  line-height: .98;
}

.stakes-section p,
.stakes-section strong,
.stakes-section span {
  color: var(--paper);
}

.stakes-narrative > p {
  max-width: 620px;
  line-height: 1.65;
}

.stakes-lines {
  display: grid;
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--sky);
}

.stakes-lines p {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1fr);
  gap: var(--space-md);
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--sky);
}

.stakes-lines strong {
  font-size: 1rem;
}

.stakes-lines span {
  color: var(--sky);
}

.tax-power-section {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 11vw, 148px) 0;
  color: var(--paper);
  background: var(--blue);
  border-top: 2px solid var(--gold);
}

.tax-power-section::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 440px;
  height: 440px;
  border: 1px solid var(--sky);
  opacity: .36;
  transform: rotate(18deg);
}

.tax-power-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(48px, 8vw, 104px);
  align-items: center;
}

.tax-power-copy h2 {
  max-width: 600px;
  color: var(--paper);
  line-height: .95;
}

.tax-power-copy p {
  max-width: 620px;
  margin-top: var(--space-md);
  color: var(--paper);
}

.tax-power-copy .btn {
  margin-top: var(--space-lg);
}

.procedure-map ol {
  position: relative;
  display: grid;
  gap: var(--space-sm);
  padding: 0;
  margin: 0;
  list-style: none;
}

.procedure-map ol::before {
  content: "";
  position: absolute;
  left: 35px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: var(--gold);
}

.procedure-map li {
  position: relative;
  display: grid;
  grid-template-columns: 70px minmax(0, .55fr) minmax(0, 1fr);
  gap: var(--space-sm);
  align-items: center;
  min-height: 96px;
  padding: var(--space-sm) var(--space-sm);
  border: 1px solid var(--sky);
  border-radius: var(--radius-md);
  background: var(--blue);
}

.procedure-map li:nth-child(2),
.procedure-map li:nth-child(4),
.procedure-map li:nth-child(6) {
  margin-left: var(--space-xl);
}

.procedure-map span {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--blue);
  background: var(--gold);
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 700;
}

.procedure-map strong {
  color: var(--paper);
  font-size: 1.12rem;
}

.procedure-map p {
  color: var(--paper);
  font-size: .9rem;
}

.redevelopment-editorial {
  background: var(--paper);
}

.redevelopment-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(42px, 7vw, 84px);
  align-items: center;
}

.blueprint-visual {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, 1fr);
  gap: var(--space-sm);
  min-height: 500px;
  padding: var(--space-2xl) var(--space-md) var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(0deg, var(--line) 1px, transparent 1px),
    var(--sky);
  background-size: 54px 54px;
  box-shadow: 18px 18px 0 var(--gold);
}

.blueprint-visual::before {
  content: "Redevelopment roadmap";
  position: absolute;
  left: 28px;
  top: 28px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.blueprint-visual .box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
  padding: var(--space-sm);
  border: 1px solid var(--blue);
  border-radius: var(--radius-md);
  color: var(--blue);
  background: var(--paper);
  line-height: 1.2;
}

.blueprint-visual .box strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: var(--space-xs);
}

.blueprint-visual .box span {
  font-size: 0.85rem;
  font-weight: 400;
  opacity: 0.9;
  line-height: 1.3;
}

.blueprint-visual .box:nth-child(3),
.blueprint-visual .box:nth-child(5) {
  color: var(--paper);
  background: var(--blue);
}

.redevelopment-copy h2 {
  color: var(--ink);
  line-height: .96;
  font-weight: 700;
}

.redevelopment-copy p {
  max-width: 640px;
  margin-top: var(--space-md);
  color: var(--ink);
}

.redevelopment-assist {
  margin-top: var(--space-lg);
}

.redevelopment-assist strong.list-title {
  display: block;
  margin-bottom: var(--space-xs);
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 600;
}

.redevelopment-assist ul {
  display: grid;
  gap: var(--space-sm);
  padding-left: var(--space-sm);
  margin: 0 0 var(--space-lg);
  list-style: disc;
}

.redevelopment-assist li {
  color: var(--ink);
  line-height: 1.5;
  font-weight: 400;
}

.redevelopment-assist li strong {
  display: inline;
  font-size: 1rem;
  font-weight: 600;
}

.redevelopment-assist li span {
  display: block;
  margin-top: var(--space-3xs);
  color: var(--ink);
  font-size: 0.92rem;
  font-style: italic;
  opacity: 0.85;
  font-weight: 400;
}

.network-section {
  padding: clamp(92px, 10vw, 132px) 0;
  color: var(--paper);
  background: var(--blue);
}

.network-section .section-intro {
  grid-template-columns: minmax(0, .92fr) minmax(0, 1fr);
  align-items: center;
}

.network-section .section-intro > div {
  grid-column: 1;
}

.network-section .section-intro .eyebrow {
  margin-bottom: var(--space-sm);
}

.network-section .section-intro h2 {
  max-width: 620px;
  line-height: 1;
}

.network-section .section-intro p:last-child {
  grid-column: 2;
  align-self: center;
  max-width: 560px;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.network-section .section-intro h2,
.network-section .section-intro p {
  color: var(--paper);
}

.network-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(96px, auto);
  gap: var(--space-xs);
  min-height: 430px;
  margin-top: var(--space-2xl);
  padding: clamp(32px, 5vw, 64px) 0;
  border: none;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.network-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, var(--sky) 1px, transparent 1px),
    linear-gradient(0deg, var(--sky) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: .16;
}

.network-line {
  display: none;
}

.network-node {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 86px;
  padding: var(--space-sm);
  border: 1px solid var(--gold);
  border-radius: var(--radius-md);
  color: var(--paper);
  background: var(--blue);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.network-node small {
  display: block;
  margin-top: var(--space-3xs);
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
}

.node-main {
  grid-column: 1 / span 6;
  grid-row: 1;
  color: var(--blue);
  background: var(--gold);
  border-color: var(--blue);
}

.node-high {
  grid-column: 7 / span 6;
  grid-row: 1;
}

.node-cit {
  grid-column: 1 / span 4;
  grid-row: 2;
}

.node-ed {
  grid-column: 5 / span 4;
  grid-row: 2;
}

.node-benami {
  grid-column: 9 / span 4;
  grid-row: 2;
}

.node-coop {
  grid-column: 1 / span 6;
  grid-row: 3;
  color: var(--blue);
  background: var(--sky);
  border-color: var(--blue);
}

.node-civil {
  grid-column: 7 / span 6;
  grid-row: 3;
}

.team-editorial-section {
  padding: 0;
  background: var(--paper);
}

.team-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding-top: 0;
}

.team-photo-inline {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-top: var(--space-xl);
  position: relative;
}

.team-photo-inline img {
  width: 100%;
  max-width: 500px;
  height: auto;
  object-fit: contain;
  object-position: bottom center;
}

.team-lead {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  background: #e8e8e8;
  padding: clamp(32px, 4vw, 48px) clamp(32px, 5vw, 64px) 0;
  overflow: hidden;
}

.team-lead h2 {
  max-width: 480px;
  color: var(--ink);
  line-height: 1.1;
  text-align: left;
  margin: 0;
  font-size: clamp(32px, 4vw, 42px) !important;
}

.team-lead h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--sky);
  margin-top: var(--space-md);
}

.lead-profile {
  margin-top: var(--space-xl);
  padding-top: var(--space-md);
  border-top: 6px solid var(--gold);
}

.lead-profile span {
  display: block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 700;
  line-height: 1;
}

.lead-profile p {
  max-width: 590px;
  margin-top: var(--space-sm);
  color: var(--ink);
}

.team-roster {
  border-top: 1px solid var(--line);
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 64px);
  background: var(--paper);
}

.team-roster article {
  display: grid;
  grid-template-columns: minmax(210px, .48fr) minmax(0, 1fr);
  gap: var(--space-md);
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.team-roster strong {
  color: var(--blue);
  font-size: 1rem;
}

.team-roster p {
  color: var(--ink);
}

.decision-section {
  padding: clamp(92px, 10vw, 132px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.decision-grid {
  display: grid;
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}

.decision-copy h2 {
  max-width: 650px;
  color: var(--blue);
  line-height: .96;
}

.decision-flow {
  counter-reset: decision;
  border-top: 1px solid var(--blue);
}

.decision-flow details {
  counter-increment: decision;
  border-bottom: 1px solid var(--blue);
}

.decision-flow summary {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 36px;
  gap: var(--space-sm);
  align-items: center;
  min-height: 86px;
  cursor: pointer;
  color: var(--blue);
  font-weight: 600;
  list-style: none;
}

.decision-flow summary::-webkit-details-marker {
  display: none;
}

.decision-flow summary::before {
  content: counter(decision, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--blue);
  background: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
  border-radius: 50%;
  font-size: .82rem;
  font-weight: 600;
}

.decision-flow summary::after {
  content: "+";
  justify-self: end;
  color: var(--blue);
  font-size: 1.6rem;
  line-height: 1;
}

.decision-flow details[open] summary::after {
  content: "-";
}

.decision-flow p {
  max-width: 620px;
  padding: 0 0 var(--space-md) var(--space-2xl);
  color: var(--ink);
}

.final-editorial-cta {
  display: grid;
  align-items: center;
  min-height: 74svh;
  padding: clamp(92px, 11vw, 150px) 0;
  color: var(--paper);
  background: var(--blue);
  border-top: 3px solid var(--gold);
}

.final-editorial-cta h2 {
  max-width: 1040px;
  color: var(--paper);
  line-height: .92;
}

.final-editorial-cta p {
  max-width: 720px;
  margin-top: var(--space-md);
  color: var(--paper);
  font-size: 1.08rem;
}

.final-editorial-cta .btn {
  margin-top: var(--space-lg);
}

@keyframes document-float {
  from { transform: translateY(0) rotate(-2deg); }
  to { transform: translateY(-12px) rotate(1deg); }
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1060px) {
  .editorial-hero-grid,
  .stakes-grid,
  .tax-power-grid,
  .redevelopment-grid,
  .team-editorial-grid,
  .decision-grid,
  .section-intro,
  .cred-row {
    grid-template-columns: 1fr;
  }

  .document-scene {
    min-height: 560px;
  }

  .practice-mosaic {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .mosaic-tax,
  .mosaic-coop,
  .mosaic-ed,
  .mosaic-admin {
    grid-column: span 6;
  }

  .mosaic-notice,
  .mosaic-civil,
  .mosaic-company,
  .mosaic-coop-soc {
    grid-column: span 3;
  }

  .procedure-map li,
  .procedure-map li:nth-child(2),
  .procedure-map li:nth-child(4),
  .procedure-map li:nth-child(6) {
    margin-left: 0;
  }

  .network-map {
    height: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xs);
    padding: var(--space-sm) 0;
  }

  .network-section .section-intro {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .network-section .section-intro .eyebrow,
  .network-section .section-intro h2,
  .network-section .section-intro p:last-child {
    grid-column: 1;
    grid-row: auto;
  }

  .network-section .section-intro p:last-child {
    align-self: auto;
    margin: 0;
  }

  .network-line,
  .network-map::before {
    display: none;
  }

  .network-node,
  .node-main,
  .node-high,
  .node-cit,
  .node-ed,
  .node-benami,
  .node-coop,
  .node-civil {
    position: static;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    min-height: 64px;
  }
}

/* =========================================
   Inner pages: unified editorial system
   ========================================= */

.inner-page {
  overflow-x: clip;
}

.inner-page main,
.inner-page section,
.inner-page .container,
.inner-page .page-hero-grid > *,
.inner-page .split > *,
.inner-page .contact-grid > * {
  min-width: 0;
}

.inner-page h1,
.inner-page h2,
.inner-page h3,
.inner-page .file-panel strong {
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.inner-page p,
.inner-page li,
.inner-page dd,
.inner-page summary,
.inner-page a,
.inner-page label {
  overflow-wrap: break-word;
  word-break: normal;
}

.inner-page .site-nav a {
  font-size: .88rem;
}

.inner-page .page-hero.inner-page-hero {
  display: grid;
  align-items: center;
  min-height: min(820px, calc(100svh - 74px));
  padding: clamp(66px, 7vw, 104px) 0;
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    var(--paper);
  background-size: 76px 76px;
}

.inner-page .page-hero.inner-page-hero::before {
  opacity: 0;
}

.inner-page .page-hero.inner-page-hero::after {
  right: max(20px, calc((100vw - 1180px) / 2));
  width: clamp(220px, 27vw, 390px);
  height: 7px;
}

.inner-page .page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .75fr);
  gap: clamp(44px, 7vw, 94px);
  align-items: center;
}

.inner-page .inner-hero-copy {
  max-width: 720px;
}

.inner-page .page-hero h1 {
  max-width: 11.5ch;
  padding-left: 0;
  border-left: 0;
  color: var(--ink);
  font-size: clamp(48px, 5vw, 68px);
  line-height: .98;
  letter-spacing: -.045em;
}

.inner-page .page-hero p {
  max-width: 66ch;
  margin-top: 16px;
  color: var(--ink);
  font-size: clamp(16px, 1.12vw, 18px);
  line-height: 1.62;
}

.inner-page .page-hero .plain-list {
  display: grid;
  gap: 10px;
  max-width: 680px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.inner-page .page-hero .plain-list li {
  padding-left: 4px;
  color: var(--ink);
  font-size: clamp(15px, 1.02vw, 17px);
  line-height: 1.45;
}

.inner-page .page-hero .plain-list li::marker {
  color: var(--gold);
}

/* Practice Areas hero visual */
.practice-hero-visual {
  position: relative;
  min-height: 510px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    var(--deep);
  background-size: 62px 62px;
  box-shadow: 14px 14px 0 var(--gold);
}

.practice-hero-visual::before {
  content: "";
  position: absolute;
  top: 46px;
  left: 42px;
  width: 42%;
  height: 32px;
  border-radius: 6px 6px 0 0;
  background: var(--gold);
}

.practice-hero-visual::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -58px;
  width: 210px;
  height: 210px;
  border: 44px solid rgba(49, 73, 203, .72);
  border-radius: 50%;
}

.practice-hero-folder {
  position: absolute;
  z-index: 1;
  inset: 78px 40px 42px;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 38px 36px;
  border: 1px solid var(--sky);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: -12px 12px 0 rgba(49, 73, 203, .9);
}

.practice-hero-folder > strong {
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
  letter-spacing: -.035em;
}

.practice-hero-folder span {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 9px 0;
  border-top: 1px solid rgba(49, 73, 203, .2);
  border-radius: 0;
  background: transparent;
}

.practice-hero-folder span:last-child {
  border-bottom: 1px solid rgba(49, 73, 203, .2);
}

.practice-hero-folder span b {
  color: var(--blue);
  font-family: var(--font-body);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.practice-hero-folder span em {
  color: var(--ink);
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.02vw, 15px);
  font-style: normal;
  font-weight: 700;
  line-height: 1.2;
}

/* Tax and redevelopment hero files */
.inner-page .page-hero-photo.file-visual {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 520px;
  margin: 0;
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    var(--deep);
  background-size: 62px 62px;
  box-shadow: 14px 14px 0 var(--gold);
}

.inner-page .page-hero-photo.file-visual .file-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 18px;
  width: 100%;
  max-width: none;
  padding: clamp(26px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid rgba(120, 182, 255, .72);
  border-radius: 8px;
  color: var(--paper);
  text-align: left;
  background: rgba(36, 36, 36, .72);
}

.inner-page .page-hero-photo .file-panel span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
}

.inner-page .page-hero-photo .file-panel strong {
  max-width: 100%;
  color: var(--paper);
  font-size: clamp(30px, 2.65vw, 38px);
  line-height: 1.04;
  letter-spacing: -.035em;
}

.inner-page .page-hero-photo .file-flow {
  width: 100%;
  margin-top: 6px;
}

.inner-page .page-hero-photo .file-flow b {
  min-width: 0;
  min-height: 42px;
  padding: 8px 6px;
  border-color: rgba(120, 182, 255, .72);
  color: var(--paper);
  background: rgba(49, 73, 203, .22);
  white-space: normal;
}

.inner-page .section-photo.file-visual .file-panel strong {
  max-width: 100%;
  color: inherit;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.08;
}

.redevelopment-page .page-hero-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(370px, .7fr);
}

.redevelopment-page .page-hero h1 {
  max-width: 12.5ch;
  font-size: clamp(44px, 4.55vw, 64px);
}

.redevelopment-page .page-hero.inner-page-hero {
  min-height: auto;
}

/* Contact hero */
.contact-page .contact-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, .76fr);
  gap: clamp(42px, 6vw, 82px);
  align-items: start;
}

.contact-page .page-hero h1 {
  max-width: 11ch;
}

.contact-page .contact-file {
  display: flex;
  align-items: stretch;
  min-height: 300px;
  margin: 32px 0 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--gold);
  border-radius: 10px;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    var(--deep);
  background-size: 62px 62px;
  box-shadow: none;
}

.contact-page .contact-file .file-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 14px;
  width: 100%;
  max-width: none;
  padding: clamp(20px, 2.5vw, 34px);
  border: 1px solid rgba(120, 182, 255, .68);
  border-radius: 8px;
  color: var(--paper);
  text-align: left;
  background: rgba(36, 36, 36, .7);
}

.contact-page .contact-file .file-panel span {
  color: var(--gold);
}

.contact-page .contact-file .file-panel strong {
  max-width: 19ch;
  color: var(--paper);
  font-size: clamp(27px, 2.5vw, 36px);
  line-height: 1.08;
}

.contact-page .contact-file .file-panel ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
  gap: 8px;
}

.contact-page .contact-file .file-panel li {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-color: rgba(120, 182, 255, .65);
  color: var(--paper);
  background: rgba(49, 73, 203, .26);
  text-align: center;
}

.contact-page .contact-panel {
  position: sticky;
  top: 104px;
  padding: clamp(28px, 3vw, 42px);
  overflow: hidden;
  border: 1px solid var(--sky);
  border-top: 7px solid var(--gold);
  border-radius: 10px;
  background: rgba(253, 252, 252, .96);
  box-shadow: 12px 12px 0 rgba(49, 73, 203, .1);
}

.contact-page .contact-panel h2 {
  font-size: clamp(32px, 3vw, 44px);
  line-height: 1;
  letter-spacing: -.035em;
}

.contact-page .contact-panel dl {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.contact-page .contact-panel dl > div {
  min-width: 0;
  padding: 15px 0;
  border-bottom: 1px solid rgba(120, 182, 255, .4);
}

.contact-page .contact-panel dl > div:last-child {
  border-bottom: 0;
}

.contact-page .contact-panel dt {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.contact-page .contact-panel dd {
  min-width: 0;
  margin: 6px 0 0;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-page .contact-panel dd a {
  color: var(--blue);
  overflow-wrap: anywhere;
}

/* Shared section rhythm and hierarchy */
.inner-page .section,
.inner-page .section-tint,
.inner-page .section-dark {
  padding-block: clamp(76px, 8vw, 112px);
}

.inner-page .section,
.inner-page .section-tint {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 76px 76px;
}

.inner-page .section-tint {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    #f5f8ff;
  background-size: 76px 76px;
}

.inner-page .section-dark {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .075) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .075) 1px, transparent 1px),
    var(--deep);
  background-size: 76px 76px;
}

.inner-page .section-head {
  max-width: 940px;
}

.inner-page .section h2,
.inner-page .section-head h2,
.inner-page .section .split h2,
.inner-page .section-dark h2,
.inner-page .final-cta h2 {
  max-width: 18ch;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.03;
  letter-spacing: -.04em;
}

.inner-page .section-head p,
.inner-page .content-flow p,
.inner-page .section .split p {
  max-width: 70ch;
  line-height: 1.68;
}

.inner-page .section > .container.split,
.inner-page .section-dark > .container.split,
.inner-page .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: start;
}

.inner-page .section-actions,
.inner-page .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.inner-page .section-actions {
  margin-top: 34px;
}

.inner-page .btn {
  max-width: 100%;
  min-height: 48px;
  white-space: normal;
  text-align: center;
}

/* Card systems */
.inner-page .practice-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 42px;
}

.inner-page .practice-card,
.inner-page .practice-card:nth-child(1),
.inner-page .practice-card:nth-child(2) {
  grid-column: span 3;
  min-height: 360px;
  padding: clamp(24px, 3vw, 38px);
  overflow: hidden;
  border: 1px solid var(--sky);
  border-radius: 10px;
  box-shadow: none;
}

.inner-page .practice-card:nth-child(n+3) {
  grid-column: span 2;
  min-height: 330px;
}

.inner-page .practice-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 8px 0 rgba(250, 186, 36, .28);
}

.inner-page .practice-card h3,
.inner-page .detail-card h3,
.inner-page .step-card h3,
.inner-page .timeline-item h3,
.inner-page .pa-practice-block h3 {
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.inner-page .practice-card p,
.inner-page .detail-card p,
.inner-page .step-card p,
.inner-page .timeline-item p,
.inner-page .pa-practice-block p {
  font-size: clamp(15px, 1vw, 17px);
  line-height: 1.58;
}

.inner-page .detail-grid,
.inner-page .step-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  border-top: 0;
}

.inner-page .step-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.inner-page .detail-card,
.inner-page .step-card {
  display: block;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(120, 182, 255, .7);
  border-radius: 10px;
  background: rgba(253, 252, 252, .94);
}

.inner-page .detail-card:hover,
.inner-page .step-card:hover,
.inner-page .timeline-item:hover {
  transform: none;
  border-color: var(--gold);
  box-shadow: none;
}

.inner-page .step-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.inner-page .step-card p,
.inner-page .timeline-item p {
  grid-column: auto;
  margin-top: 12px;
}

.inner-page .section-dark .detail-card,
.inner-page .section-dark .step-card {
  border-color: rgba(120, 182, 255, .45);
  background: rgba(49, 73, 203, .16);
}

.inner-page .timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 38px;
  border-top: 0;
}

.inner-page .timeline::before {
  display: none;
}

.inner-page .timeline-item {
  display: block;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(120, 182, 255, .72);
  border-radius: 10px;
  background: rgba(253, 252, 252, .94);
}

.inner-page .timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: auto;
  height: auto;
  margin-bottom: 20px;
  padding: 8px 12px;
  border-radius: 6px;
  color: var(--ink);
  background: var(--gold);
}

.inner-page .timeline-item h3 {
  color: var(--blue);
}

.inner-page .pa-common-block,
.inner-page .pa-practice-block {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid rgba(120, 182, 255, .62);
  border-radius: 10px;
  background: rgba(253, 252, 252, .84);
}

.inner-page .pa-common-block {
  max-width: 920px;
}

.inner-page .structured-heading {
  max-width: 900px;
}

.inner-page .pa-practice-block {
  margin-bottom: 16px;
}

.inner-page .pa-practice-block-last {
  padding-bottom: clamp(24px, 3vw, 34px);
  border-bottom: 1px solid rgba(120, 182, 255, .62);
}

.inner-page .section-dark .pa-common-block,
.inner-page .section-dark .pa-practice-block {
  border-color: rgba(120, 182, 255, .45);
  background: rgba(49, 73, 203, .16);
}

.inner-page .faq-list {
  gap: 10px;
  margin-top: 36px;
  border-top: 0;
}

.inner-page .faq-list details {
  padding: 22px 24px;
  border: 1px solid rgba(120, 182, 255, .45);
  border-radius: 8px;
  background: rgba(49, 73, 203, .14);
}

.inner-page .faq-list summary {
  gap: 16px;
  color: var(--paper);
  font-size: clamp(17px, 1.4vw, 20px);
}

.inner-page .consult-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: clamp(24px, 3.5vw, 42px);
  overflow: hidden;
  border: 1px solid var(--sky);
  border-radius: 10px;
  background: var(--paper);
}

.inner-page .consult-form label,
.inner-page .consult-form fieldset,
.inner-page .consult-form input,
.inner-page .consult-form textarea {
  min-width: 0;
  max-width: 100%;
}

.inner-page .consult-form input[type="text"],
.inner-page .consult-form input[type="tel"],
.inner-page .consult-form input[type="email"],
.inner-page .consult-form textarea,
.inner-page .consult-form input[type="file"] {
  width: 100%;
  border: 1px solid rgba(120, 182, 255, .72);
  border-radius: 6px;
}

.inner-page .final-cta {
  min-height: 440px;
  padding: clamp(82px, 9vw, 122px) 0;
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .12) 1px, transparent 1px),
    var(--blue);
  background-size: 76px 76px;
}

.inner-page .final-cta .narrow {
  max-width: 980px;
}

@media (max-width: 1180px) {
  .inner-page .site-nav a {
    padding-inline: 9px;
    font-size: .8rem;
  }
}

@media (max-width: 1060px) {
  .inner-page .page-hero.inner-page-hero {
    min-height: auto;
  }

  .inner-page .page-hero-grid,
  .redevelopment-page .page-hero-grid,
  .contact-page .contact-hero-grid,
  .inner-page .section > .container.split,
  .inner-page .section-dark > .container.split,
  .inner-page .contact-grid {
    grid-template-columns: 1fr;
  }

  .inner-page .inner-hero-copy {
    max-width: 820px;
  }

  .inner-page .page-hero h1,
  .redevelopment-page .page-hero h1,
  .contact-page .page-hero h1 {
    max-width: 13ch;
  }

  .practice-hero-visual,
  .inner-page .page-hero-photo.file-visual {
    min-height: 480px;
  }

  .contact-page .contact-panel {
    position: static;
  }
}

@media (max-width: 820px) {
  .inner-page .practice-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inner-page .practice-card,
  .inner-page .practice-card:nth-child(1),
  .inner-page .practice-card:nth-child(2),
  .inner-page .practice-card:nth-child(n+3) {
    grid-column: auto;
    min-height: 320px;
  }

  .inner-page .practice-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .inner-page .container {
    width: min(100% - 30px, 1180px);
  }

  .inner-page .page-hero.inner-page-hero {
    padding: 64px 0 72px;
  }

  .inner-page .page-hero h1,
  .redevelopment-page .page-hero h1,
  .contact-page .page-hero h1 {
    max-width: 100%;
    font-size: clamp(38px, 11.2vw, 48px);
    line-height: 1;
    letter-spacing: -.04em;
  }

  .redevelopment-page .page-hero h1 {
    font-size: clamp(36px, 10.4vw, 44px);
  }

  .inner-page .page-hero p {
    font-size: 16px;
    line-height: 1.6;
  }

  .practice-hero-visual,
  .inner-page .page-hero-photo.file-visual {
    min-height: 420px;
    box-shadow: 8px 8px 0 var(--gold);
  }

  .practice-hero-visual::before {
    top: 34px;
    left: 28px;
  }

  .practice-hero-folder {
    inset: 62px 24px 28px;
    padding: 28px 24px;
    box-shadow: -8px 8px 0 rgba(49, 73, 203, .9);
  }

  .practice-hero-folder > strong {
    margin-bottom: 12px;
    font-size: 25px;
  }

  .practice-hero-folder span {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 9px;
    min-height: 50px;
  }

  .practice-hero-folder span em {
    font-size: 12px;
  }

  .inner-page .page-hero-photo.file-visual {
    padding: 16px;
  }

  .inner-page .page-hero-photo.file-visual .file-panel {
    gap: 14px;
    padding: 24px 20px;
  }

  .inner-page .page-hero-photo .file-panel strong {
    max-width: 100%;
    font-size: clamp(27px, 8vw, 34px);
  }

  .inner-page .page-hero-photo .file-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-page .contact-file {
    min-height: 360px;
    padding: 16px;
  }

  .contact-page .contact-file .file-panel {
    padding: 22px 18px;
  }

  .contact-page .contact-file .file-panel strong {
    font-size: 28px;
  }

  .contact-page .contact-file .file-panel ul {
    grid-template-columns: 1fr;
  }

  .inner-page .section,
  .inner-page .section-tint,
  .inner-page .section-dark {
    padding-block: 72px;
  }

  .inner-page .section h2,
  .inner-page .section-head h2,
  .inner-page .section .split h2,
  .inner-page .section-dark h2,
  .inner-page .final-cta h2 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 44px);
    line-height: 1.03;
  }

  .inner-page .practice-grid,
  .inner-page .detail-grid,
  .inner-page .step-grid,
  .inner-page .timeline,
  .inner-page .consult-form {
    grid-template-columns: 1fr;
  }

  .inner-page .practice-card,
  .inner-page .practice-card:nth-child(1),
  .inner-page .practice-card:nth-child(2),
  .inner-page .practice-card:nth-child(n+3),
  .inner-page .practice-card:last-child {
    grid-column: auto;
    min-height: 290px;
  }

  .inner-page .detail-card,
  .inner-page .step-card,
  .inner-page .timeline-item,
  .inner-page .pa-common-block,
  .inner-page .pa-practice-block,
  .inner-page .faq-list details,
  .contact-page .contact-panel {
    padding: 22px 20px;
  }

  .inner-page .section-actions,
  .inner-page .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .inner-page .section-actions .btn,
  .inner-page .actions .btn {
    width: 100%;
  }

  .inner-page .final-cta {
    min-height: 400px;
  }
}

@media (max-width: 380px) {
  .inner-page .page-hero h1,
  .contact-page .page-hero h1 {
    font-size: 36px;
  }

  .redevelopment-page .page-hero h1 {
    font-size: 33px;
  }

  .inner-page .page-hero-photo .file-panel strong,
  .inner-page .section-photo.file-visual .file-panel strong,
  .contact-page .contact-file .file-panel strong {
    font-size: 25px;
  }
}

@media (max-width: 760px) {
  .editorial-hero {
    min-height: auto;
  }

  .editorial-hero-grid {
    padding-top: var(--space-xl);
  }

  .editorial-hero h1,
  .stakes-section h2,
  .tax-power-copy h2,
  .redevelopment-copy h2,
  .team-lead h2,
  .decision-copy h2,
  .final-editorial-cta h2 {
    line-height: .98;
  }

  .document-scene {
    min-height: 510px;
  }

  .document-sheet-back {
    left: 38px;
    right: 0;
  }

  .document-sheet-main {
    right: 24px;
    min-height: 370px;
    padding: var(--space-md);
  }

  .document-stamp {
    max-width: 180px;
  }

  .authority-ticker span {
    min-height: 48px;
    padding: 0 var(--space-sm);
  }

  .cred-band {
    padding: var(--space-md) 0;
  }

  .cred-row {
    gap: var(--space-sm);
  }

  .practice-mosaic {
    grid-template-columns: 1fr;
  }

  .mosaic-tax,
  .mosaic-coop,
  .mosaic-ed,
  .mosaic-notice,
  .mosaic-civil,
  .mosaic-company,
  .mosaic-coop-soc,
  .mosaic-admin {
    grid-column: auto;
    grid-row: auto;
    min-height: 250px;
  }

  .stakes-lines p {
    grid-template-columns: 1fr;
    gap: var(--space-2xs);
  }

  .procedure-map ol::before {
    left: 24px;
  }

  .procedure-map li {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: var(--space-xs);
  }

  .procedure-map p {
    grid-column: 2;
  }

  .blueprint-visual {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: var(--space-md);
    box-shadow: 10px 10px 0 var(--gold);
  }

  .blueprint-visual .box:nth-child(1),
  .blueprint-visual .box:nth-child(4) {
    margin-top: 0;
  }

  .blueprint-visual::before {
    position: static;
    grid-column: 1;
    margin-bottom: var(--space-2xs);
  }

  .team-roster article {
    grid-template-columns: 1fr;
    gap: var(--space-2xs);
  }

  .decision-flow summary {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    gap: var(--space-xs);
  }

  .decision-flow summary::before {
    width: 36px;
    height: 36px;
  }

  .decision-flow p {
    padding-left: var(--space-xl);
  }
}

@media (prefers-reduced-motion: reduce) {
  .authority-ticker div,
  .document-sheet-main {
    animation: none;
  }
}

/* Editorial system for all inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(76px, 9vw, 122px) 0 clamp(56px, 7vw, 94px);
  border-bottom: 2px solid var(--blue);
  background: var(--paper);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 118px),
    repeating-linear-gradient(0deg, var(--line) 0 1px, transparent 1px 118px);
  opacity: .08;
}

.page-hero::after {
  display: block;
  content: "";
  position: absolute;
  right: max(20px, calc((100vw - 1180px) / 2));
  bottom: 0;
  width: 24vw;
  min-width: 220px;
  height: 8px;
  background: var(--gold);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero-grid,
.page-hero .split,
.contact-hero .split {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: center;
}

.page-hero .actions {
  margin-top: var(--space-lg);
}

.page-hero-photo,
.section-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(360px, 34vw, 540px);
  border: 1px solid var(--blue);
  border-radius: var(--radius-md);
  background:
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    linear-gradient(0deg, var(--line) 1px, transparent 1px),
    var(--blue);
  background-size: 62px 62px;
  box-shadow: 18px 18px 0 var(--gold);
}

.page-hero-photo img,
.section-photo img,
.practice-card .card-photo {
  display: none;
}

.page-hero-photo::before,
.section-photo::before {
  content: "case file";
  position: absolute;
  left: 28px;
  top: 28px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-hero-photo::after,
.section-photo::after {
  content: "";
  position: absolute;
  left: 36px;
  right: 36px;
  bottom: 42px;
  height: 64%;
  border: 1px solid var(--sky);
  border-radius: var(--radius-md);
  background:
    linear-gradient(var(--paper), var(--paper)) 28px 36px / 45% 12px no-repeat,
    linear-gradient(var(--sky), var(--sky)) 28px 72px / 65% 10px no-repeat,
    linear-gradient(var(--sky), var(--sky)) 28px 104px / 52% 10px no-repeat,
    linear-gradient(var(--gold), var(--gold)) right 28px bottom 28px / 130px 46px no-repeat,
    var(--blue);
}

.contact-hero .section-photo::before {
  content: "intake";
}

.contact-hero .section-photo::after {
  background:
    linear-gradient(var(--gold), var(--gold)) 28px 34px / 150px 46px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 28px 112px / 72% 12px no-repeat,
    linear-gradient(var(--sky), var(--sky)) 28px 150px / 58% 10px no-repeat,
    linear-gradient(var(--paper), var(--paper)) 28px 190px / 66% 12px no-repeat,
    var(--blue);
}

.file-visual {
  display: grid;
  align-items: end;
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  overflow: visible;
  padding: var(--space-2xl) var(--space-md) var(--space-md);
}

.page-hero-photo.file-visual,
.section-photo.file-visual {
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  box-shadow: none;
}

.file-visual::before {
  content: none;
  display: none;
}

.page-hero-photo.file-visual::before,
.section-photo.file-visual::before {
  content: none;
  display: none;
}

.file-visual::after {
  display: none;
}

.file-panel {
  position: relative;
  z-index: 1;
  display: grid;
  gap: var(--space-xs);
  justify-items: center;
  width: min(100%, 440px);
  max-width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--paper);
  text-align: center;
  background: transparent;
  box-shadow: none;
}

.file-panel-wide {
  width: min(100%, 590px);
  max-width: 100%;
}

.file-panel span {
  color: var(--gold);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.file-panel strong {
  color: inherit;
  font-family: var(--font-heading);
  line-height: 1;
}

.file-panel p {
  margin: 0;
  color: inherit;
  font-size: .9rem;
  line-height: 1.55;
}

.file-panel ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2xs);
  padding: 0;
  margin: var(--space-2xs) 0 0;
  list-style: none;
}

.file-panel li,
.file-nodes b,
.file-flow b,
.file-steps b,
.file-split b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: var(--space-2xs) var(--space-2xs);
  border: 1px solid var(--sky);
  border-radius: var(--radius-sm);
  color: inherit;
  font-size: .72rem;
  font-weight: 700;
  line-height: 1.25;
}

.file-nodes {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-2xs);
  margin-top: var(--space-2xs);
}

.file-flow,
.file-steps,
.file-split {
  display: grid;
  gap: var(--space-2xs);
  margin-top: var(--space-2xs);
}

.file-flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.file-flow-long {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.file-steps {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.file-split {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.file-split small {
  display: block;
  margin-top: var(--space-3xs);
  color: inherit;
  font-size: .68rem;
  font-weight: 700;
}

.file-split b {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: var(--space-3xs);
  min-height: 64px;
  text-align: center;
  white-space: normal;
}

.file-split small {
  margin-top: 0;
  line-height: 1.35;
}

.about-file .file-panel {
  margin-left: auto;
}

.strategy-file {
  align-items: center;
  min-height: 420px;
}

.practice-file {
  align-items: center;
  color: var(--blue);
  background: var(--gold);
  border-color: var(--gold);
}

.practice-file .file-panel {
  color: var(--blue);
}

.practice-file::before,
.practice-file .file-panel span {
  color: var(--blue);
}

.practice-file .file-nodes b {
  border-color: var(--blue);
  background: var(--paper);
}

.tax-file .file-panel {
  width: min(100%, 520px);
}

.tax-file .file-flow b,
.redevelopment-file .file-flow b {
  justify-content: center;
  text-align: center;
}

.tax-risk-file {
  align-items: center;
  min-height: 430px;
  color: var(--paper);
  background: var(--coral);
  border-color: var(--coral);
}

.tax-risk-file .file-panel {
  color: var(--paper);
}

.redevelopment-file {
  align-items: center;
}

.redevelopment-file .file-panel {
  width: min(100%, 560px);
}

.objection-file {
  align-items: center;
  min-height: 430px;
  overflow: hidden;
  padding: var(--space-2xl) var(--space-xl) var(--space-xl) var(--space-md);
}

.objection-file .file-panel {
  width: min(100%, 560px);
  max-width: 100%;
  color: var(--blue);
}

.objection-file .file-panel span {
  color: var(--blue);
}

.objection-file .file-split b {
  border-color: var(--blue);
  background: var(--paper);
}

.contact-file {
  align-items: center;
}

.contact-file .file-panel {
  color: var(--blue);
}

.contact-file .file-panel span {
  color: var(--blue);
}

.contact-file .file-panel li {
  border-color: var(--line);
  background: var(--gold);
}

.section {
  position: relative;
}

.section-tint {
  background: var(--paper);
}

.section > .container.split,
.section-dark > .container.split {
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.section .split h2,
.section-head h2 {
  max-width: none;
  color: var(--ink);
  line-height: 1;
}

.section-dark .split h2,
.section-dark .section-head h2,
.section-dark .content-flow p,
.section-dark .plain-list li {
  color: var(--paper);
}

.cases-fit-section > .container.split {
  align-items: center;
}

.content-flow {
  max-width: 760px;
}

.content-flow p {
  color: var(--ink);
  font-size: 1rem;
}

.content-flow h3 {
  margin-top: var(--space-lg);
  color: var(--blue);
  font-family: var(--font-body);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

.step-card,
.detail-card,
.person-card,
.faq-list details {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.step-card:hover,
.detail-card:hover,
.person-card:hover,
.faq-list details:hover,
.timeline-item:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
}

.step-card {
  display: grid;
  grid-template-columns: 150px minmax(230px, .56fr) minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  min-height: auto;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2xs);
  margin: 0;
  color: var(--blue);
}

.step-card h3 {
  color: var(--ink);
  font-family: var(--font-heading);
  line-height: 1.25;
}

.step-card p {
  grid-column: 3;
  margin-top: 0;
  color: var(--ink);
}

.step-card p + p {
  margin-top: var(--space-2xs);
}

.section-dark .step-grid,
.section-dark .detail-grid {
  border-top-color: var(--sky);
}

.section-dark .step-card,
.section-dark .detail-card {
  border-bottom: 1px solid var(--sky);
  color: var(--paper);
  background: transparent;
}

.section-dark .step-card h3,
.section-dark .step-card p,
.section-dark .detail-card h3,
.section-dark .detail-card p {
  color: var(--paper);
}

.section-dark .step-card span {
  color: var(--sky);
}

.section-dark .step-card span svg {
  stroke: var(--sky);
}

.section-dark .icon-chip svg {
  stroke: var(--sky);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 var(--space-xl);
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

.detail-card {
  min-height: auto;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.detail-card h3 {
  color: var(--blue);
  font-family: var(--font-heading);
  line-height: 1.25;
}

.detail-card p {
  color: var(--ink);
}

.timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

.timeline::before {
  content: "";
  position: absolute;
  left: 66px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(220px, .45fr) minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-lg) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.timeline-item span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0;
  color: var(--blue);
  background: var(--gold);
  border-radius: 50%;
  font-size: .76rem;
}

.timeline-item h3 {
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.timeline-item p {
  grid-column: 3;
  color: var(--ink);
}

.timeline-item p + p {
  margin-top: var(--space-2xs);
}

.practice-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--space-xs);
  margin-top: var(--space-xl);
}

.practice-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 4;
  padding: var(--space-md);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--paper);
  box-shadow: none;
}

.practice-card:nth-child(1),
.practice-card:nth-child(2) {
  grid-column: span 6;
}

.practice-grid .practice-card:nth-child(1) {
  min-height: 390px;
  color: var(--paper);
  background: var(--blue);
  border-left: 1px solid var(--line);
}

.practice-grid .practice-card:nth-child(2) {
  color: var(--blue);
  background: var(--gold);
  border-top: 1px solid var(--line);
}

.practice-grid .practice-card:nth-child(4) {
  color: var(--paper);
  background: var(--coral);
}

.practice-grid .practice-card:nth-child(5) {
  background: var(--sky);
  border-top: 1px solid var(--line);
}

.practice-card .icon-chip {
  margin-bottom: auto;
}

.practice-card h3 {
  color: inherit;
}

.practice-card p,
.practice-card a {
  color: inherit;
}

.page-hero h1,
.section h2,
.final-cta h2,
.final-editorial-cta h2 {
  overflow-wrap: break-word;
}

.practice-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 0 0 2px var(--gold);
}

.feature-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.feature-list div {
  padding: var(--space-sm) 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.people-list {
  display: grid;
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

.person-card {
  display: grid;
  grid-template-columns: minmax(250px, .42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.person-card > div {
  align-self: center;
}

.person-primary {
  padding: var(--space-xl);
  border: 0;
  border-radius: var(--radius-md);
  color: var(--paper);
  background: var(--blue);
}

.person-card h3 {
  color: inherit;
}

.person-card p {
  color: inherit;
}

.person-card:not(.person-primary) h3 {
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 1.12rem;
}

.forum-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: var(--space-xl);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
}

.forum-grid span {
  justify-content: center;
  min-height: 82px;
  padding: var(--space-sm);
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  font-size: .88rem;
  font-weight: 600;
  text-align: center;
}

.forum-grid span:nth-child(4n) {
  border-right: 0;
}

.forum-grid span:nth-last-child(-n+4) {
  border-bottom: 0;
}

.forum-grid span:nth-child(2),
.forum-grid span:nth-child(7) {
  background: var(--sky);
}

.forum-grid span:nth-child(4) {
  color: var(--paper);
  background: var(--blue);
}

.forum-grid span:nth-child(5) {
  color: var(--paper);
  background: var(--coral);
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: var(--space-xl);
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: var(--space-sm);
  align-items: center;
  color: var(--blue);
  font-family: var(--font-heading);
}

.faq-list summary::after {
  content: "+";
  justify-self: end;
  color: var(--blue);
  font-size: 1.4rem;
}

.faq-list details[open] summary::after {
  content: "-";
}

.contact-panel,
.consult-form {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: none;
}

.contact-panel {
  padding: var(--space-lg);
  border-top: 8px solid var(--gold);
}

.contact-panel h2 {
  color: var(--ink);
}

.consult-form {
  gap: var(--space-sm);
  padding: var(--space-lg);
}

.consult-form input[type="text"],
.consult-form input[type="tel"],
.consult-form input[type="email"],
.consult-form textarea,
.consult-form input[type="file"] {
  border-radius: var(--radius-sm);
}

.consult-form fieldset {
  border-radius: var(--radius-sm);
}

.final-cta {
  display: grid;
  align-items: center;
  min-height: 56svh;
  padding: clamp(78px, 10vw, 132px) 0;
  color: var(--paper);
  background: var(--blue);
  border-top: 3px solid var(--gold);
}

.final-cta .eyebrow,
.final-cta h2,
.final-cta p {
  color: var(--paper);
}

.final-cta h2 {
  max-width: 980px;
  line-height: 1.04;
}

.final-cta p {
  margin-top: var(--space-md);
}

.final-cta .actions {
  gap: var(--space-2xs);
  margin-top: var(--space-md);
}

.final-cta .btn {
  min-height: 46px;
  padding-inline: var(--space-sm);
}

.final-cta .btn-secondary {
  color: var(--paper);
  border-color: var(--sky);
  background: var(--blue);
}

@media (max-width: 1060px) {
  .page-hero-grid,
  .page-hero .split,
  .contact-hero .split,
  .section > .container.split,
  .section-dark > .container.split {
    grid-template-columns: 1fr;
  }

  .step-card,
  .timeline-item,
  .person-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .step-card p,
  .timeline-item p {
    grid-column: 2;
  }

  .detail-grid,
  .forum-grid {
    grid-template-columns: 1fr;
  }

  .forum-grid span,
  .forum-grid span:nth-child(4n) {
    border-right: 0;
  }

  .practice-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .practice-card,
  .practice-card:nth-child(1),
  .practice-card:nth-child(2) {
    grid-column: span 3;
  }
}

@media (max-width: 760px) {
  .page-hero h1,
  .section .split h2,
  .section-head h2,
  .final-cta h2 {
    line-height: .98;
  }

  .page-hero-photo,
  .section-photo {
    min-height: 380px;
    box-shadow: 10px 10px 0 var(--gold);
  }

  .page-hero-photo.file-visual,
  .section-photo.file-visual {
    box-shadow: none;
  }

  .step-card,
  .timeline-item,
  .person-card {
    grid-template-columns: 1fr;
  }

  .step-card p,
  .timeline-item p {
    grid-column: auto;
  }

  .timeline::before {
    left: 28px;
  }

  .detail-grid {
    gap: 0;
  }

  .practice-grid {
    grid-template-columns: 1fr;
  }

  .practice-card,
  .practice-card:nth-child(1),
  .practice-card:nth-child(2) {
    grid-column: auto;
    min-height: 260px;
  }

  .person-primary {
    padding: var(--space-md);
  }

  .contact-panel,
  .consult-form {
    padding: var(--space-md);
  }


  .file-visual {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    padding: var(--space-2xl) var(--space-md) var(--space-md);
  }

  .page-hero-photo.file-visual,
  .section-photo.file-visual {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
    height: auto;
    min-height: 420px;
  }

  .file-panel {
    width: 100%;
    max-width: 100%;
    padding: var(--space-md);
  }


  .file-nodes,
  .file-flow,
  .file-flow-long,
  .file-steps,
  .file-split {
    grid-template-columns: 1fr;
    gap: var(--space-3xs);
  }

  .file-panel ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .file-panel li,
  .file-nodes b,
  .file-flow b,
  .file-steps b,
  .file-split b {
    width: 100%;
    min-height: 36px;
  }

  .objection-file {
    padding: var(--space-2xl) var(--space-lg) var(--space-lg) var(--space-md);
  }
}

/* Typography: all headings use Montserrat 700 */
h1,
h2,
h3,
.file-panel strong,
.document-card strong,
.cred-band strong,
.team-lead h2,
.final-cta h2 {
  font-family: var(--font-heading);
  font-weight: 700;
}

.site-nav a,
.brand strong,
.btn,
.text-link,
.eyebrow,
.mini-kicker {
  font-weight: 700;
}

.brand-mark {
  font-weight: 700;
}

.site-header,
.editorial-hero,
.page-hero,
.practice-mosaic-section,
.team-editorial-section,
.section-tint,
.cred-band-paper {
  background: var(--paper);
}

.stakes-section,
.tax-power-section,
.network-section,
.section-dark,
.site-footer {
  background: var(--deep);
}

.editorial-hero::before,
.page-hero::before {
  opacity: .06;
}

.btn-primary,
.brand-mark,
.site-nav a:hover,
.site-nav a[aria-current="page"],
.cred-band-gold {
  color: var(--blue);
  background: var(--gold);
}

.node-main,
.node-coop {
  color: var(--gold) !important;
}

.btn-secondary,
.text-link,
.site-nav a,
.detail-card h3,
.step-card span,
.content-flow h3 {
  color: var(--blue);
}

.cred-band-blue,
.mosaic-tax,
.mosaic-admin {
  color: var(--paper);
  background: var(--blue);
}

.mosaic-ed {
  color: var(--paper);
  background: var(--coral);
  border-color: var(--coral);
}

.cred-band-coral {
  color: var(--paper);
  background: var(--coral);
}

.mosaic-company,
.results-list article:nth-child(3) {
  color: var(--blue);
  background: var(--sky);
}

.accent-card,
.results-list article:nth-child(2),
.team-card:nth-child(2) {
  background: var(--blush);
}

.document-card,
.network-node {
  background: var(--deep);
}

.page-hero-photo,
.section-photo {
  border-color: var(--gold);
  background:
    linear-gradient(90deg, var(--sky) 1px, transparent 1px),
    linear-gradient(0deg, var(--sky) 1px, transparent 1px),
    var(--deep);
}

.objection-file .file-panel {
  color: var(--blue);
}

.page-hero-photo.practice-file,
.section-photo.practice-file {
  color: var(--blue);
  background: var(--gold);
  border-color: var(--gold);
}

.page-hero-photo.tax-risk-file,
.section-photo.tax-risk-file {
  color: var(--paper);
  background: var(--coral);
  border-color: var(--coral);
}

/* Consistency audit overrides */
.editorial-hero h1,
.stakes-section h2,
.tax-power-copy h2,
.team-lead h2,
.decision-copy h2,
.final-editorial-cta h2 {
  line-height: 1;
}

.page-hero-photo.file-visual::before,
.section-photo.file-visual::before {
  content: none;
  display: none;
}

.section,
.section-tint,
.section-dark {
  padding-block: clamp(88px, 9vw, 128px);
}

/* Layout refinements */

.page-hero h1,
.editorial-hero h1 {
  max-width: 860px;
  line-height: 1.02;
}

.editorial-hero {
  min-height: auto;
}

.editorial-hero-grid {
  padding: clamp(58px, 7vw, 86px) 0 clamp(46px, 6vw, 74px);
  gap: clamp(32px, 5vw, 62px);
}

.eyebrow,
.mini-kicker {
  margin-bottom: var(--space-2xs);
}

.section-intro {
  align-items: start;
  gap: clamp(24px, 4vw, 54px);
}

.section-intro h2 {
  max-width: 620px;
  line-height: 1.05;
}

.cred-band {
  padding-block: clamp(30px, 4vw, 46px);
}

.cred-band strong {
  line-height: 1.05;
}

.cred-band-gold strong {
  max-width: 11ch;
}

.btn {
  min-height: 48px;
  padding-inline: var(--space-sm);
  font-size: .9rem;
  box-shadow: 0 8px 0 rgba(36, 36, 36, .08);
}

.btn-primary,
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--gold);
}

.btn-primary:hover {
  border-color: var(--gold);
  outline: 0;
  box-shadow: 0 10px 18px rgba(36, 36, 36, .12);
}

.text-link {
  color: var(--blue);
  font-size: .92rem;
}

.practice-mosaic {
  gap: var(--space-xs);
  grid-auto-rows: minmax(132px, auto);
}

.mosaic-item {
  padding: clamp(24px, 3vw, 40px);
}

.mosaic-item h3 {
  line-height: 1.15;
}

.mosaic-item p {
  max-width: 44rem;
}

.tax-power-section,
.stakes-section,
.network-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep);
  background-size: 76px 76px;
}

.page-hero-photo,
.section-photo {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep);
  background-size: 84px 84px;
}

.legal-image-break {
  padding: clamp(72px, 9vw, 118px) 0;
  background: var(--paper);
}

.legal-image-grid {
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 82px);
  align-items: center;
}

.legal-image {
  position: relative;
  min-height: clamp(320px, 38vw, 520px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--deep);
}

.legal-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(36, 36, 36, .08), rgba(36, 36, 36, .28));
}

.legal-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.legal-image-copy h2 {
  max-width: 780px;
}

.legal-image-copy p:last-child {
  max-width: 720px;
  margin-top: var(--space-sm);
  font-size: 1.02rem;
}

.site-footer {
  padding: clamp(42px, 6vw, 72px) 0 34px;
  color: var(--paper);
  background: var(--deep);
}

.footer-grid {
  align-items: flex-start;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(253, 252, 252, .18);
}

.footer-brand {
  display: grid;
  gap: var(--space-3xs);
}

.footer-brand strong {
  font-size: 1.08rem;
}

.footer-brand a {
  width: fit-content;
  color: var(--gold);
  font-size: .88rem;
  font-weight: 700;
}

.footer-grid nav {
  max-width: 560px;
  justify-content: flex-end;
}

.footer-disclaimer {
  display: none !important;
}

/* Disclaimer Modal */
.disclaimer-modal {
  position: fixed;
  inset: 0;
  background: rgba(14, 15, 17, 0.95);
  display: grid;
  place-items: center;
  z-index: 9999;
  padding: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.disclaimer-modal.is-visible {
  opacity: 1;
  visibility: visible;
}

.disclaimer-modal-content {
  background: var(--paper);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  max-width: 720px;
  width: 100%;
  border-top: 4px solid var(--gold);
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.disclaimer-modal.is-visible .disclaimer-modal-content {
  transform: translateY(0);
}

.disclaimer-modal h2 {
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

.disclaimer-modal p {
  color: var(--ink);
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 0; /* Removed margin since there's no button below it now */
}

.disclaimer-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: var(--ink);
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s ease;
  display: grid;
  place-items: center;
}

.disclaimer-modal-close:hover {
  opacity: 1;
}

.footer-disclaimer strong {
  color: var(--gold);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-disclaimer p {
  max-width: 980px;
  color: rgba(253, 252, 252, .86);
  font-size: .82rem;
  line-height: 1.65;
}

@media (max-width: 1060px) {
  .legal-image-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .legal-image {
    min-height: 280px;
  }

  .footer-disclaimer {
    grid-template-columns: 1fr;
    gap: var(--space-2xs);
  }

  .footer-grid nav {
    justify-content: flex-start;
  }
}

section[id] {
  scroll-margin-top: var(--space-3xl);
}

.reveal {
  opacity: 1;
  transform: none;
}

/* Typography scale: single source of truth */
body {
  font-size: clamp(16px, 1.15vw, 18px);
}

h1,
.editorial-hero h1,
.page-hero h1 {
  font-size: clamp(52px, 4.8vw, 64px);
  line-height: 1.16;
}

h2,
.section .split h2,
.section-head h2,
.stakes-section h2,
.tax-power-copy h2,
.redevelopment-copy h2,
.network-section .section-intro h2,
.team-lead h2,
.decision-copy h2,
.final-cta h2,
.final-editorial-cta h2,
.legal-image-copy h2,
.cred-row strong,
.cred-band strong,
.file-panel strong {
  font-size: clamp(40px, 3.6vw, 48px);
  line-height: 1.22;
}

h3,
.mosaic-item h3,
.practice-card h3,
.detail-card h3,
.step-card h3,
.person-card h3,
.faq-list summary,
.decision-flow summary {
  font-size: clamp(18px, 1.5vw, 20px);
  line-height: 1.28;
}

p,
li,
dd,
.hero-text,
.editorial-hero .hero-text,
.page-hero p,
.content-flow p,
.detail-card p,
.step-card p,
.legal-image-copy p:last-child,
.section-intro > div p:last-child,
.section-intro > p:last-child,
.stakes-narrative > p,
.cred-row p {
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
}

.tax-power-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .11) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.tax-power-copy h2,
.tax-power-copy p {
  color: var(--ink) !important;
}

.redevelopment-editorial {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .11) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.redevelopment-copy h2,
.redevelopment-copy p,
.redevelopment-assist strong.list-title,
.redevelopment-assist li,
.redevelopment-assist li span {
  color: var(--ink) !important;
}

.network-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.network-section .section-intro h2,
.network-section .section-intro p {
  color: var(--ink) !important;
}

.team-editorial-section {
  background:
    linear-gradient(90deg, rgba(23, 25, 28, .05) 1px, transparent 1px),
    linear-gradient(0deg, rgba(23, 25, 28, .05) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.team-lead h2,
.lead-profile p,
.team-roster p {
  color: var(--ink) !important;
}

.lead-profile span,
.team-roster strong {
  color: var(--blue) !important;
}

.team-roster article {
  border-bottom-color: rgba(120, 182, 255, .3) !important;
}

.network-map::before {
  display: none !important;
}

/* =========================================
   Practice Areas & About: consistency pass
   ========================================= */

/* Pill buttons used in practice cards */
.btn-pill {
  border-radius: var(--radius-full);
  margin-top: var(--space-md);
  align-self: flex-start;
  border: none;
  background: var(--paper);
  color: var(--blue);
  box-shadow: 0 0 0 1px var(--line);
}

.btn-pill-filled {
  background: var(--blue);
  color: var(--paper);
  box-shadow: none;
}

.btn-pill:hover {
  box-shadow: 0 0 0 2px var(--gold);
}

/* Subsection titles (What we assist with, Common situations) */
.subsection-title {
  margin-top: var(--space-lg);
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--blue);
}

/* CTA block below practice grid and forum grid */
.pa-cta-block {
  margin-top: var(--space-2xl);
}

.pa-cta-block h3 {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--deep);
  margin-bottom: var(--space-xs);
}

.pa-cta-block p {
  max-width: 800px;
  margin-bottom: var(--space-md);
}

.pa-cta-text {
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 600;
  color: var(--deep);
  margin-bottom: var(--space-xs);
}

/* Common situations block */
.pa-common-block {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.pa-situation-list {
  padding-left: var(--space-md);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
}

.pa-situation-list li {
  margin-bottom: var(--space-2xs);
}

.pa-situation-list li:last-child {
  margin-bottom: 0;
}

/* Stacked practice blocks (Civil, ED, NCLT) */
.pa-practice-block {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--line);
}

.pa-practice-block-last {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.pa-practice-block h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--blue);
  margin-bottom: var(--space-sm);
}

/* Page hero p consistency: match home hero text sizing */
.page-hero p {
  max-width: 780px;
  margin-top: var(--space-sm);
}

/* Section-head p on about/practice: match home section-intro text */
.section-head p {
  max-width: 800px;
  margin-top: var(--space-sm);
}

/* Legal image inside about page: proper sizing */
.legal-image {
  margin-bottom: 0;
}

.legal-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

/* =========================================
   Dark section overrides: comprehensive
   ========================================= */

/* Section-head text in dark sections */
.section-dark .section-head p,
.section-dark p,
.section-dark li {
  color: var(--paper);
}

.section-dark h2 {
  color: var(--paper);
}

.section-dark .actions {
  margin-top: var(--space-lg);
}

/* Subsection titles in dark */
.section-dark .subsection-title {
  color: var(--sky);
}

/* Detail grid borders in dark */
.section-dark .detail-grid {
  border-top-color: var(--sky);
}

/* Common situations in dark */
.section-dark .pa-common-block h3,
.section-dark .pa-common-block .subsection-title {
  color: var(--sky);
}

.section-dark .pa-situation-list li {
  color: var(--paper);
}

/* Practice blocks in dark */
.section-dark .pa-practice-block {
  border-bottom-color: var(--sky);
}

.section-dark .pa-practice-block h3 {
  color: var(--sky);
}

.section-dark .pa-practice-block p {
  color: var(--paper);
}

/* Section-actions buttons in dark */
.section-dark .section-actions .btn-secondary {
  color: var(--paper);
  border-color: var(--sky);
  background: transparent;
}

.section-dark .section-actions .btn-secondary:hover {
  background: var(--sky);
  color: var(--deep);
}

/* FAQ list in dark sections */
.section-dark .faq-list {
  border-top-color: var(--sky);
}

.section-dark .faq-list details {
  border-bottom-color: var(--sky);
}

.section-dark .faq-list summary {
  color: var(--sky);
}

.section-dark .faq-list summary::after {
  color: var(--sky);
}

.section-dark .faq-list p,
.section-dark .faq-list li {
  color: var(--paper);
}

.section-dark .cases-exclusion-title {
  margin-bottom: var(--space-xs);
  color: var(--gold) !important;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}

/* About hero: archive of complex matters */
.about-hero {
  padding-block: clamp(64px, 7vw, 96px);
}

.about-hero .page-hero-grid {
  grid-template-columns: minmax(0, 1.02fr) minmax(440px, .88fr);
  gap: clamp(46px, 6vw, 82px);
}

.about-hero-copy {
  position: relative;
  z-index: 2;
}

.about-hero-copy h1 {
  max-width: 100%;
}

.about-archive {
  position: relative;
  width: 100%;
  min-height: 474px;
  perspective: 1200px;
}

.about-archive::before {
  content: "";
  position: absolute;
  inset: 34px -18px -18px 38px;
  border: 1px solid rgba(49, 73, 203, .32);
  background: rgba(120, 182, 255, .08);
  transform: rotate(2.2deg);
}

.about-archive::after {
  content: "";
  position: absolute;
  right: -14px;
  top: 82px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--gold);
  opacity: .2;
  filter: blur(1px);
}

.archive-cabinet {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 446px;
  padding: 22px;
  color: var(--paper);
  border: 1px solid var(--blue);
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep);
  background-size: 48px 48px;
  box-shadow: 12px 12px 0 var(--gold);
  transform: rotateY(-2deg) rotateX(1deg);
  transform-origin: left center;
}

.archive-heading,
.archive-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-transform: uppercase;
}

.archive-heading {
  padding: 0 4px 17px;
  border-bottom: 1px solid rgba(120, 182, 255, .5);
}

.archive-heading span {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.archive-heading small,
.archive-footer {
  color: var(--sky);
  font-family: var(--font-body);
  font-size: .58rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: .09em;
}

.archive-drawers {
  display: grid;
  align-content: center;
  padding-block: 14px;
}

.archive-drawer {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto 20px;
  align-items: center;
  gap: 11px;
  min-height: 58px;
  padding: 11px 14px;
  border: 1px solid rgba(120, 182, 255, .35);
  border-bottom: 0;
  background: rgba(36, 36, 36, .92);
  transition: transform .45s var(--ease), border-color .45s var(--ease), background .45s var(--ease);
}

.archive-drawer:last-child {
  border-bottom: 1px solid rgba(120, 182, 255, .35);
}

.archive-drawer > span {
  color: var(--sky);
  font: 700 .62rem/1 var(--font-body);
  letter-spacing: .08em;
}

.archive-drawer strong {
  overflow: hidden;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: .84rem;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.archive-drawer small {
  color: var(--sky);
  font: 500 .55rem/1.2 var(--font-body);
  letter-spacing: .05em;
  text-align: right;
  text-transform: uppercase;
}

.archive-drawer > i {
  display: block;
  width: 16px;
  height: 6px;
  border: 1px solid var(--sky);
  border-radius: 999px;
}

.archive-drawer-active {
  z-index: 2;
  border-color: var(--gold);
  background: var(--blue);
  box-shadow: -7px 7px 0 rgba(250, 186, 36, .92);
  transform: translateX(-22px);
}

.archive-drawer-active > span,
.archive-drawer-active small {
  color: var(--paper);
}

.archive-drawer-active > i {
  border-color: var(--gold);
  background: var(--gold);
}

.archive-slip {
  position: absolute;
  top: 50%;
  right: -142px;
  z-index: 3;
  display: grid;
  gap: 4px;
  width: 138px;
  padding: 12px 13px 20px;
  color: var(--ink);
  border: 1px solid var(--gold);
  background: var(--paper);
  box-shadow: 5px 5px 0 var(--gold);
  transform: translateY(-50%) rotate(3deg);
}

.archive-slip b {
  margin-bottom: 4px;
  color: var(--blue);
  font: 800 .57rem/1 var(--font-body);
  letter-spacing: .08em;
}

.archive-slip em {
  color: var(--ink);
  font: 500 .52rem/1.3 var(--font-body);
  font-style: normal;
}

.archive-slip em::before {
  content: "+";
  margin-right: 5px;
  color: var(--coral);
  font-weight: 800;
}

.archive-footer {
  padding: 15px 4px 0;
  border-top: 1px solid rgba(120, 182, 255, .5);
}

.archive-footer b {
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 1060px) {
  .about-hero .page-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-hero-copy {
    max-width: 820px;
  }

  .about-archive {
    width: min(100%, 720px);
    min-height: 446px;
  }
}

@media (max-width: 560px) {
  .about-hero {
    padding-block: 54px 62px;
  }

  .about-hero .page-hero-grid {
    gap: 38px;
  }

  .about-archive {
    min-height: 356px;
  }

  .about-archive::before {
    inset: 20px -6px -10px 20px;
  }

  .about-archive::after,
  .archive-slip {
    display: none;
  }

  .archive-cabinet {
    min-height: 342px;
    padding: 15px;
    box-shadow: 8px 8px 0 var(--gold);
    transform: none;
  }

  .archive-heading {
    padding-bottom: 12px;
  }

  .archive-heading small {
    display: none;
  }

  .archive-drawers {
    padding-block: 10px;
  }

  .archive-drawer {
    grid-template-columns: 25px minmax(0, 1fr) 15px;
    min-height: 47px;
    padding: 8px 10px;
  }

  .archive-drawer strong {
    font-size: .72rem;
  }

  .archive-drawer small {
    display: none;
  }

  .archive-drawer-active {
    box-shadow: -4px 5px 0 var(--gold);
    transform: translateX(-10px);
  }

  .archive-footer span {
    max-width: 210px;
    line-height: 1.4;
  }
}

/* ── Homepage team: individual member photo cards ── */
.team-cards-section {
  position: relative;
  overflow: hidden;
  padding: clamp(80px, 9vw, 128px) 0;
  background: #000;
  color: var(--paper);
}

.team-cards-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 48px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.team-cards-eyebrow {
  display: block;
  margin-bottom: var(--space-2xs);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.team-cards-header h2 {
  max-width: 640px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: .98;
}

.team-cards-header p {
  max-width: 380px;
  color: rgba(255, 255, 255, .65);
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.55;
  text-align: right;
}

.team-cards-grid {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(16px, 2vw, 24px);
  margin-top: -6px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 6px 0 18px;
  scroll-padding-left: 1px;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(250, 186, 36, .75) rgba(255, 255, 255, .12);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.team-cards-grid::-webkit-scrollbar {
  height: 8px;
}

.team-cards-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, .12);
  border-radius: var(--radius-full);
}

.team-cards-grid::-webkit-scrollbar-thumb {
  background: rgba(250, 186, 36, .75);
  border-radius: var(--radius-full);
}

.team-member-card {
  position: relative;
  display: flex;
  flex: 0 0 clamp(300px, calc((100% - 48px) / 3), 376px);
  flex-direction: column;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 1px solid rgba(120, 182, 255, .1);
  scroll-snap-align: start;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), border-color .35s ease;
}

.team-member-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.team-member-photo {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 60% 25%, rgba(120, 182, 255, .35), transparent 55%),
    linear-gradient(155deg, #3149cb 0%, #253ab1 50%, #1e2d84 100%);
}

.team-member-photo img {
  position: absolute;
  top: calc(-1 * var(--portrait-lift, clamp(30px, 8%, 42px)));
  left: 0;
  width: 100%;
  height: calc(100% + var(--portrait-lift, clamp(30px, 8%, 42px)));
  object-fit: cover;
  object-position: center top;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .3));
  transition: transform .45s cubic-bezier(.22, 1, .36, 1);
}

.team-member-photo:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: -3px;
}

.team-member-card:hover .team-member-photo img {
  transform: scale(1.04);
}

.team-member-info {
  padding: clamp(16px, 2vw, 24px);
  background: #111;
}

.team-member-info h3 {
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.15;
  margin-bottom: 6px;
}

.team-member-info span {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: clamp(11px, .85vw, 13px);
  line-height: 1.35;
  font-weight: 500;
}

/* Lead card — spans 2 columns on desktop for emphasis */
.team-member-card-lead {
  border-color: rgba(210, 172, 90, .25);
}

.team-member-card-lead .team-member-info h3 {
  color: var(--gold);
}

/* Tablet: 3→2 */
@media (max-width: 980px) {
  .team-cards-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-cards-header p {
    text-align: left;
  }

  .team-member-card {
    flex-basis: clamp(280px, 42vw, 340px);
  }
}

/* Mobile: 2→1 */
@media (max-width: 560px) {
  .team-cards-grid {
    margin-top: -4px;
    padding-top: 4px;
    scroll-snap-type: x mandatory;
  }

  .team-member-card {
    flex-basis: min(84vw, 340px);
  }

.team-member-photo {
    aspect-ratio: 3 / 4;
  }
}

.team-cards-grid[data-team-marquee] {
  cursor: grab;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.team-cards-grid[data-team-marquee]::-webkit-scrollbar {
  display: none;
}

.team-member-card-clone {
  pointer-events: auto;
}

/* Homepage team: leadership and specialist bench */
.team-authority-section {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 9vw, 128px) 0;
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep);
  background-size: 76px 76px;
}

.team-authority-section::before {
  content: "";
  position: absolute;
  top: -180px;
  right: -130px;
  width: 440px;
  height: 440px;
  border: 90px solid rgba(49, 73, 203, .24);
  border-radius: 50%;
}

.team-authority-section > .container {
  position: relative;
  z-index: 1;
}

.team-authority-head {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: center;
  gap: clamp(20px, 3vw, 34px);
  min-height: 100%;
  padding: clamp(32px, 5vw, 64px) 0 clamp(32px, 5vw, 64px) clamp(18px, 4vw, 56px);
}

.team-authority-head span,
.team-photo-heading span,
.team-specialist-head > span,
.team-leadership-card small,
.team-specialist-grid small {
  display: block;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.3;
  text-transform: uppercase;
}

.team-authority-head h2 {
  max-width: 680px;
  margin-top: var(--space-xs);
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(40px, 4.6vw, 62px);
  line-height: .98;
}

.team-authority-head p {
  max-width: 560px;
  color: var(--paper);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
}

.team-authority-main {
  display: grid;
  grid-template-columns: minmax(400px, .92fr) minmax(0, 1.08fr);
  gap: var(--space-md);
  align-items: stretch;
  margin-top: 0;
}

.team-authority-photo {
  position: relative;
  min-height: 624px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--sky);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 72% 28%, rgba(120, 182, 255, .3), transparent 30%),
    linear-gradient(145deg, #3149cb 0%, #253ab1 58%, #1e2d84 100%);
}

.team-authority-photo::before {
  content: "EXPERIENCE";
  position: absolute;
  left: 30px;
  bottom: 152px;
  color: transparent;
  font-family: var(--font-heading);
  font-size: clamp(52px, 6vw, 86px);
  font-weight: 900;
  letter-spacing: -.04em;
  -webkit-text-stroke: 1px rgba(253, 252, 252, .16);
  transform: rotate(-90deg);
  transform-origin: left bottom;
}

.team-photo-heading {
  position: absolute;
  z-index: 2;
  top: 30px;
  left: 32px;
  right: 32px;
}

.team-photo-heading strong {
  display: block;
  max-width: 430px;
  margin-top: var(--space-2xs);
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.06;
}

.team-authority-photo img {
  position: absolute;
  right: 0;
  bottom: -9%;
  width: 100%;
  height: 108%;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(-20px 18px 24px rgba(20, 20, 24, .26));
}

.team-leadership-list {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  gap: var(--space-xs);
}

.team-leadership-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: 0;
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--sky);
  border-radius: var(--radius-md);
  color: var(--ink);
  background: var(--paper);
}

.team-leadership-card h3 {
  margin-top: 6px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.08;
}

.team-leadership-card p {
  margin-top: 10px;
  color: var(--ink);
  font-size: .94rem;
  line-height: 1.5;
}

.team-leadership-primary {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.team-leadership-primary small,
.team-leadership-primary h3,
.team-leadership-primary p {
  color: var(--ink);
}

.team-authority-section .team-leadership-card,
.team-authority-section .team-leadership-primary {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  color: var(--paper);
}

.team-authority-section .team-leadership-card p,
.team-authority-section .team-leadership-primary p {
  color: var(--paper);
}

.team-authority-section .team-leadership-card small,
.team-authority-section .team-leadership-primary small {
  color: var(--gold);
}

.team-specialist-bench {
  margin-top: var(--space-md);
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(120, 182, 255, .5);
  border-radius: var(--radius-md);
  background: rgba(49, 73, 203, .13);
}

.about-specialist-bench {
  width: 100%;
  background: var(--deep);
}

/* Practical review tools used on tax, practice-area and redevelopment pages */
.file-question-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-2xs);
  width: 100%;
  margin-top: var(--space-xs);
}

.file-question-grid b {
  display: grid;
  align-content: start;
  justify-items: start;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(253, 252, 252, .62);
  border-radius: var(--radius-sm);
  color: var(--paper);
  font-size: .78rem;
  line-height: 1.35;
  text-align: left;
}

.file-question-grid i {
  margin-bottom: 7px;
  color: var(--gold);
  font-size: .66rem;
  font-style: normal;
  letter-spacing: .1em;
}

.file-steps-three,
.file-flow-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.inner-page .page-hero-photo .file-panel p {
  margin: 0;
  color: var(--paper);
  font-size: .9rem;
  line-height: 1.5;
}

.review-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  min-height: 30px;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  color: var(--ink);
  background: var(--gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
}

@media (max-width: 560px) {
  .file-question-grid {
    grid-template-columns: 1fr;
  }

  .file-question-grid b {
    min-height: 0;
  }
}

.team-specialist-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding-bottom: var(--space-md);
}

.team-specialist-head a {
  color: var(--gold);
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.specialist-cards-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.specialist-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(120, 182, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 0;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.specialist-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.specialist-photo {
  width: 160px;
  min-height: 180px;
  overflow: hidden;
  background: var(--deep);
  position: relative;
  flex-shrink: 0;
}

.specialist-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.specialist-info {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex-grow: 1;
}

.specialist-info small {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specialist-info h3 {
  margin-top: 6px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.2;
}

.specialist-info p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.4;
}

.specialist-text-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(120, 182, 255, .15);
  padding-top: var(--space-lg);
}

.specialist-text-col {
  padding: 0 var(--space-lg) 0 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.specialist-text-col + .specialist-text-col {
  padding-left: var(--space-lg);
  border-left: 1px solid rgba(120, 182, 255, .42);
}

.specialist-text-col small {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.specialist-text-col h3 {
  margin-top: 6px;
  color: var(--paper);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.2;
}

.specialist-text-col p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  line-height: 1.4;
}


@media (max-width: 980px) {
  .team-authority-head,
  .team-authority-main {
    grid-template-columns: 1fr;
  }

  .team-authority-head {
    align-items: start;
  }

  .team-authority-photo {
    min-height: 580px;
  }

  .team-authority-photo img {
    width: min(100%, 620px);
  }

  .specialist-cards-row {
    grid-template-columns: 1fr;
  }

  .specialist-text-row {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .specialist-text-col {
    padding: var(--space-sm) 0;
    border-left: none !important;
  }

  .specialist-text-col + .specialist-text-col {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(120, 182, 255, .15);
  }
}

@media (max-width: 700px) {
  .team-authority-section {
    padding-block: 72px;
  }

  .team-authority-head h2 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .team-authority-photo {
    min-height: 500px;
  }

  .team-photo-heading {
    top: 24px;
    left: 22px;
    right: 22px;
  }

  .team-photo-heading strong {
    max-width: 310px;
    font-size: 25px;
  }

  .team-authority-photo img {
    width: 100%;
    height: 108%;
  }

  .team-leadership-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 22px 18px;
  }

  .team-specialist-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .specialist-card {
    flex-direction: column;
    align-items: stretch;
  }

  .specialist-photo {
    width: 100%;
    height: 200px;
  }
}

/* Homepage hero: matter triage */
.hero-matter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 760px;
  margin-top: var(--space-md);
  border-top: 1px solid rgba(49, 73, 203, .36);
  border-bottom: 1px solid rgba(49, 73, 203, .36);
}

.hero-matter-grid > div {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 3px 8px;
  align-content: center;
  min-height: 92px;
  padding: 14px 14px 14px 0;
}

.hero-matter-grid > div + div {
  padding-left: 14px;
  border-left: 1px solid rgba(49, 73, 203, .36);
}

.hero-matter-grid span {
  align-self: center;
  color: var(--gold);
  font-family: var(--font-body);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.hero-matter-grid strong {
  align-self: center;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: .9rem;
  line-height: 1.2;
}

.editorial-hero .hero-matter-grid + .actions {
  margin-top: var(--space-md);
}

@media (max-width: 760px) {
  .hero-matter-grid {
    grid-template-columns: 1fr;
  }

  .hero-matter-grid > div {
    grid-template-columns: 32px minmax(0, 1fr);
    min-height: 66px;
    padding: 12px 0;
  }

  .hero-matter-grid > div + div {
    padding-left: 0;
    border-top: 1px solid rgba(49, 73, 203, .26);
    border-left: 0;
  }
}

/* Client review refinements */
.about-process-section .step-grid {
  gap: 0;
  margin-top: clamp(30px, 4vw, 48px);
}

.about-process-section .step-card {
  grid-template-columns: 96px minmax(250px, .7fr) minmax(0, 1.3fr);
  column-gap: clamp(22px, 3.5vw, 48px);
  row-gap: 10px;
  align-items: start;
  padding: 26px 0;
}

.about-process-section .step-card span,
.about-process-section .step-card h3,
.about-process-section .step-card p {
  margin-top: 0;
}

.about-process-section .step-card h3 {
  min-height: 58px;
  padding-left: 22px;
  border-left: 3px solid var(--gold);
}

.about-process-section .step-card p {
  grid-column: 3;
  line-height: 1.58;
}

.about-process-section .step-card p + p {
  margin-top: 2px;
}

.cases-fit-summary {
  max-width: 680px;
  margin-top: 30px !important;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  color: var(--paper) !important;
  background: rgba(49, 73, 203, .2);
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.35vw, 21px) !important;
  font-weight: 600;
  line-height: 1.5 !important;
}

@media (max-width: 1060px) {
  .about-process-section .step-card {
    grid-template-columns: 82px minmax(220px, .75fr) minmax(0, 1.25fr);
    column-gap: 20px;
  }
}

@media (max-width: 760px) {
  .about-process-section .step-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }

  .about-process-section .step-card h3 {
    min-height: 0;
    padding-left: 16px;
  }

  .about-process-section .step-card p {
    grid-column: 1;
  }

  .cases-fit-summary {
    margin-top: 24px !important;
    padding: 16px 16px;
  }
}

/* About page lead profile with portrait */
.person-primary-with-photo {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sky);
  border-radius: var(--radius-md);
  background: var(--blue);
}

.person-primary-portrait {
  position: relative;
  isolation: isolate;
  min-height: 590px;
  margin: 0;
  overflow: hidden;
  border-right: 1px solid rgba(120, 182, 255, .55);
  background:
    radial-gradient(circle at 50% 28%, rgba(120, 182, 255, .34), transparent 34%),
    linear-gradient(145deg, #1d286d 0%, #283cae 56%, #3149cb 100%);
}

.person-primary-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .1) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .1) 1px, transparent 1px);
  background-size: 54px 54px;
}

.person-primary-portrait::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  height: 8px;
  background: var(--gold);
}

.person-primary-portrait img {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: block;
  width: 100%;
  height: 104%;
  min-height: 0;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 18px 24px rgba(12, 18, 56, .28));
}

.person-primary-content {
  display: grid;
  align-content: center;
  gap: clamp(26px, 3vw, 40px);
  padding: clamp(34px, 5vw, 64px);
}

.person-primary-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(120, 182, 255, .55);
}

.person-primary-heading span {
  display: block;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.person-primary-heading h3 {
  margin-top: 10px;
  color: var(--paper);
  font-size: clamp(32px, 3.3vw, 48px);
  line-height: 1;
  letter-spacing: -.04em;
}

.person-primary-copy {
  max-width: 720px;
}

.person-primary-copy p {
  color: var(--paper);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.62;
}

.person-primary-copy p + p {
  margin-top: 14px;
}

@media (max-width: 900px) {
  .person-primary-with-photo {
    grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr);
  }

  .person-primary-portrait {
    min-height: 540px;
  }

  .person-primary-content {
    padding: 32px;
  }
}

@media (max-width: 700px) {
  .person-primary-with-photo {
    grid-template-columns: 1fr;
  }

  .person-primary-portrait {
    min-height: 430px;
    aspect-ratio: 4 / 5;
    border-right: 0;
    border-bottom: 1px solid rgba(120, 182, 255, .55);
  }

  .person-primary-portrait img {
    height: 108%;
    min-height: 0;
    object-position: center bottom;
  }

  .person-primary-content {
    padding: 28px 22px 32px;
  }
}

/* About page specialist profile with portrait */
.person-secondary-with-photo {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, .68fr);
  gap: 0;
  align-items: stretch;
  min-height: 440px;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--sky);
  border-radius: var(--radius-md);
  background: var(--paper);
}

.person-secondary-content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  gap: clamp(26px, 3vw, 40px);
  padding: clamp(34px, 5vw, 64px);
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    var(--paper);
  background-size: 54px 54px;
}

.person-secondary-heading {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(49, 73, 203, .28);
}

.person-secondary-heading span {
  color: var(--gold-dark, #de9700);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.person-secondary-heading h3 {
  max-width: 650px;
  margin-top: 10px;
  color: var(--blue) !important;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.person-secondary-copy {
  max-width: 760px;
}

.person-secondary-copy p {
  color: var(--ink) !important;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.65;
}

.person-secondary-copy p + p {
  margin-top: 14px;
}

.person-secondary-portrait {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 440px;
  margin: 0;
  overflow: hidden;
  border-left: 1px solid rgba(120, 182, 255, .55);
  background:
    url("assets/photos/mrudul-cutout.png") center bottom / auto 468px no-repeat,
    radial-gradient(circle at 50% 28%, rgba(120, 182, 255, .4), transparent 34%),
    linear-gradient(145deg, #18215c 0%, #2639a8 58%, #3149cb 100%);
}

.person-secondary-portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .11) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .11) 1px, transparent 1px);
  background-size: 46px 46px;
}

.person-secondary-portrait::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 8px;
  background: var(--gold);
}

.person-secondary-portrait img {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

@media (max-width: 900px) {
  .person-secondary-with-photo {
    grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr);
  }

  .person-secondary-content {
    padding: 32px;
  }
}

@media (max-width: 700px) {
  .person-secondary-with-photo {
    grid-template-columns: 1fr;
  }

  .person-secondary-portrait {
    grid-row: 1;
    min-height: 420px;
    border-bottom: 1px solid rgba(120, 182, 255, .55);
    border-left: 0;
    background-size: auto 448px, auto, auto;
  }

  .person-secondary-content {
    padding: 28px 22px 32px;
  }
}

/* Keep practice-card CTA labels legible over every card palette. */
.practice-card .btn-pill {
  color: var(--blue);
  background: var(--paper);
}

.practice-card .btn-pill-filled {
  color: var(--paper);
  background: var(--blue);
}

.practice-areas-page .practice-card > a.btn.btn-pill,
.practice-areas-page .practice-card > a.btn.btn-pill:hover,
.practice-areas-page .practice-card > a.btn.btn-pill:focus-visible {
  color: var(--blue) !important;
  background: var(--paper) !important;
  -webkit-text-fill-color: var(--blue);
  opacity: 1;
}

.practice-areas-page .practice-card > a.btn.btn-pill-filled,
.practice-areas-page .practice-card > a.btn.btn-pill-filled:hover,
.practice-areas-page .practice-card > a.btn.btn-pill-filled:focus-visible {
  color: var(--paper) !important;
  background: var(--blue) !important;
  -webkit-text-fill-color: var(--paper);
}

/* Crop transparent portrait padding so subjects fill their panels. */
.person-primary-portrait img {
  top: 0;
  right: auto;
  bottom: auto;
  left: 50%;
  width: 124%;
  max-width: none;
  height: auto;
  transform: translateX(-50%);
  object-position: center top;
}

.person-secondary-with-photo,
.person-secondary-portrait {
  min-height: 500px;
}

.person-secondary-portrait {
  background-size: 124% auto, auto, auto;
  background-position: center top, center, center;
}

@media (min-width: 701px) {
  .person-primary-portrait img {
    top: -44px;
  }

  .person-secondary-portrait {
    background-position: center -32px, center, center;
  }
}

@media (max-width: 700px) {
  .person-primary-portrait {
    min-height: 520px;
    aspect-ratio: auto;
  }

  .person-primary-portrait img {
    width: 124%;
    height: auto;
  }

  .person-secondary-portrait {
    min-height: 520px;
    background-size: 124% auto, auto, auto;
  }
}

/* About page Rajesh profile alternates the portrait back to the left. */
.person-secondary-reverse {
  grid-template-columns: minmax(300px, .68fr) minmax(0, 1.32fr);
}

.person-secondary-reverse .person-secondary-portrait {
  border-right: 1px solid rgba(120, 182, 255, .55);
  border-left: 0;
}

.person-rajesh-portrait {
  background:
    url("assets/photos/rajesh-cutout.png") center -32px / 124% auto no-repeat,
    radial-gradient(circle at 50% 28%, rgba(120, 182, 255, .4), transparent 34%),
    linear-gradient(145deg, #18215c 0%, #2639a8 58%, #3149cb 100%);
}

@media (max-width: 900px) {
  .person-secondary-reverse {
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
  }
}

/* Portraits must remain clean; the decorative grid belongs behind content only. */
.person-primary-portrait::before,
.person-secondary-portrait::before {
  display: none;
}

/* Keep the grid behind secondary portrait cutouts, matching Milind's card. */
.person-secondary-portrait {
  background:
    radial-gradient(circle at 50% 28%, rgba(120, 182, 255, .4), transparent 34%),
    linear-gradient(145deg, #18215c 0%, #2639a8 58%, #3149cb 100%);
}

.person-primary-portrait::before,
.person-secondary-portrait::before {
  display: block;
  z-index: 0;
}

.person-secondary-portrait img {
  position: absolute;
  top: -32px;
  left: 50%;
  z-index: 1;
  display: block;
  width: 124%;
  max-width: none;
  height: auto;
  overflow: visible;
  opacity: 1;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center top;
  filter: drop-shadow(0 20px 28px rgba(8, 13, 42, .35));
}

@media (max-width: 700px) {
  .person-secondary-portrait img {
    top: 0;
  }
}

/* Deterministic secondary portrait stack: gradient, grid, then cutout. */
.person-secondary-portrait {
  border-bottom: 8px solid var(--gold);
}

.person-secondary-portrait::after {
  content: "";
  position: absolute;
  inset: -32px 0 0;
  z-index: 1;
  height: auto;
  background-color: transparent;
  background-image: url("assets/photos/mrudul-cutout.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 124% auto;
}

.person-rajesh-portrait::after {
  background-image: url("assets/photos/rajesh-cutout.png");
}

.person-secondary-portrait img {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

@media (max-width: 700px) {
  .person-secondary-portrait::after {
    inset: 0;
  }
}

/* About page client-approved authority content in the existing card system. */
.network-section .network-heading-only {
  grid-template-columns: 1fr;
}

.network-section .network-heading-only > div {
  grid-column: 1;
  margin-inline: 0 auto;
}

.network-section .network-heading-only h2 {
  max-width: 780px;
}

.network-map .node-coop {
  grid-column: 1 / span 4;
  grid-row: 3;
}

.network-map .node-civil {
  grid-column: 5 / span 4;
  grid-row: 3;
}

.network-map .node-nclt {
  grid-column: 9 / span 4;
  grid-row: 3;
}

@media (max-width: 760px) {
  .network-map .node-coop,
  .network-map .node-civil,
  .network-map .node-nclt {
    grid-column: auto;
    grid-row: auto;
  }
}

/* Practice Areas uses one container edge across headings, cards and CTAs. */
.practice-areas-page .section-head,
.practice-areas-page .container.narrow,
.practice-areas-page .final-cta .narrow {
  max-width: 1180px;
}

.practice-areas-page .pa-practice-block p {
  max-width: 920px;
}

/* Practice card icon, label and copy rhythm. */
.practice-areas-page .practice-card {
  justify-content: flex-start;
}

.practice-areas-page .practice-card .icon-chip {
  align-self: flex-start;
  width: 44px;
  height: 44px;
  margin: 0 0 10px;
  color: var(--deep);
  background: var(--gold);
  box-shadow: none;
}

.practice-areas-page .practice-card .card-number {
  min-height: 14px;
  margin: 0 0 24px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 700;
  line-height: 1;
}

.practice-areas-page .practice-card h3 {
  margin: 0;
}

.practice-areas-page .practice-card p:first-of-type {
  margin-top: 10px;
}

.practice-areas-page .practice-card p + p {
  margin-top: 8px;
}

.practice-areas-page .practice-card .btn-pill {
  align-self: flex-start;
  margin-top: auto;
}

.practice-areas-page .practice-card:nth-child(2) .icon-chip {
  color: var(--gold);
  background: var(--blue);
}

.practice-areas-page .practice-card:nth-child(2) .card-number,
.practice-areas-page .practice-card:nth-child(5) .card-number {
  color: var(--blue);
}

.practice-areas-page .practice-card:nth-child(4) .card-number {
  color: var(--paper);
}

@media (max-width: 700px) {
  .person-secondary-reverse {
    grid-template-columns: 1fr;
  }

  .person-secondary-reverse .person-secondary-portrait {
    border-right: 0;
    border-bottom: 1px solid rgba(120, 182, 255, .55);
  }

  .person-rajesh-portrait {
    background-position: center top, center, center;
  }
}

/* =========================================
   Site-wide alignment and overflow repair
   ========================================= */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

main,
section,
.container,
.site-header > *,
.split > *,
.page-hero-grid > *,
.contact-grid > *,
.section-intro > *,
.cred-row > *,
.legal-image-grid > *,
.team-authority-head > *,
.team-authority-main > *,
.practice-grid > *,
.detail-grid > *,
.step-grid > *,
.timeline > * {
  min-width: 0;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
}

.inner-page h1,
.inner-page h2,
.inner-page h3,
.inner-page .file-panel strong,
.about-page h1,
.about-page h2,
.about-page h3,
.file-flow b,
.file-steps b,
.file-nodes b,
.file-question-grid b,
.forum-grid span,
.network-node,
.contact-panel dd,
.btn {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

.file-flow b,
.file-steps b,
.file-nodes b,
.file-question-grid b {
  min-width: 0;
}

.tax-litigation-page .page-hero-photo .file-flow {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tax-litigation-page .page-hero-photo .file-flow b {
  overflow-wrap: normal;
}

.file-panel strong {
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.08;
}

/* Section titles and the content below them now share one left edge. */
.inner-page .section-head {
  max-width: 1180px;
}

.about-page .section {
  padding-block: clamp(76px, 8vw, 112px);
}

.about-origin-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep);
  background-size: 76px 76px;
}

.about-origin-section h2,
.about-origin-section p {
  color: var(--paper) !important;
}

.inner-page .tax-demand-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep) !important;
  background-size: 76px 76px !important;
}

.inner-page .tax-demand-section h2,
.inner-page .tax-demand-section p {
  color: var(--paper) !important;
}

.inner-page .tax-demand-section h3 {
  color: var(--gold) !important;
}

.inner-page .tax-mistakes-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep) !important;
  background-size: 76px 76px !important;
}

.inner-page .tax-mistakes-section .section-head h2 {
  color: var(--paper) !important;
}

.inner-page .tax-mistakes-section .detail-card {
  border-color: rgba(120, 182, 255, .52) !important;
  background: rgba(39, 49, 86, .58) !important;
}

.inner-page .tax-mistakes-section .detail-card h3 {
  color: var(--gold) !important;
}

.inner-page .tax-mistakes-section .detail-card p {
  color: var(--paper) !important;
}

.inner-page .tax-checks-section {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.inner-page .tax-checks-section h2,
.inner-page .tax-checks-section p,
.inner-page .tax-checks-section li {
  color: var(--ink) !important;
}

.inner-page .redevelopment-breakdown-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep) !important;
  background-size: 76px 76px !important;
}

.inner-page .redevelopment-breakdown-section .section-head h2 {
  color: var(--paper) !important;
}

.inner-page .redevelopment-breakdown-section .timeline-item {
  border-color: rgba(120, 182, 255, .52) !important;
  background: rgba(39, 49, 86, .58) !important;
}

.inner-page .redevelopment-breakdown-section .timeline-item h3 {
  color: var(--gold) !important;
}

.inner-page .redevelopment-breakdown-section .timeline-item p {
  color: var(--paper) !important;
}

.inner-page .redevelopment-objection-section {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.inner-page .redevelopment-objection-section h2,
.inner-page .redevelopment-objection-section p {
  color: var(--ink) !important;
}

.inner-page .redevelopment-move-past-section,
.inner-page .redevelopment-steps-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep) !important;
  background-size: 76px 76px !important;
  color: var(--paper) !important;
}

.inner-page .redevelopment-move-past-section .section-head h2,
.inner-page .redevelopment-steps-section .section-head h2 {
  color: var(--paper) !important;
}

.inner-page .redevelopment-move-past-section .detail-card,
.inner-page .redevelopment-steps-section .step-card {
  border-color: rgba(120, 182, 255, .52) !important;
  background: rgba(39, 49, 86, .58) !important;
}

.inner-page .redevelopment-move-past-section .detail-card h3,
.inner-page .redevelopment-steps-section .step-card h3 {
  color: var(--gold) !important;
}

.inner-page .redevelopment-move-past-section .detail-card p,
.inner-page .redevelopment-steps-section .step-card p {
  color: var(--paper) !important;
}

.inner-page .contact-process-section,
.inner-page .contact-documents-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    var(--deep) !important;
  background-size: 76px 76px !important;
  color: var(--paper) !important;
}

.inner-page .contact-process-section .section-head h2,
.inner-page .contact-documents-section h2,
.inner-page .contact-documents-section p,
.inner-page .contact-documents-section li {
  color: var(--paper) !important;
}

.inner-page .contact-documents-section .plain-list strong {
  color: var(--paper) !important;
}

.inner-page .contact-process-section .step-card {
  border-color: rgba(120, 182, 255, .52) !important;
  background: rgba(39, 49, 86, .58) !important;
}

.inner-page .contact-process-section .step-card h3 {
  color: var(--gold) !important;
}

.inner-page .contact-process-section .step-card p {
  color: var(--paper) !important;
}

.inner-page .contact-clarity-section {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .045) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
  color: var(--ink) !important;
}

.inner-page .contact-clarity-section .section-head h2 {
  color: var(--ink) !important;
}

.inner-page .contact-clarity-section .detail-card {
  border-color: rgba(120, 182, 255, .72) !important;
  background: rgba(255, 255, 255, .92) !important;
}

.inner-page .contact-clarity-section .detail-card h3 {
  color: var(--ink) !important;
}

.inner-page .contact-clarity-section .detail-card p {
  color: var(--ink) !important;
}

.about-page .network-section {
  padding-block: clamp(76px, 8vw, 112px);
}

.about-page .final-cta {
  padding-block: clamp(82px, 9vw, 122px);
}

.about-page .final-cta .container {
  max-width: 980px;
}

.redevelopment-assist:empty {
  display: none;
  margin: 0;
}

/* Keep multi-column card copy on a common baseline without fixing card height. */
@media (min-width: 701px) {
  .inner-page .detail-card,
  .inner-page .step-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .tax-litigation-page .detail-card h3,
  .contact-page .step-card h3 {
    min-height: 2.4em;
  }

  .redevelopment-page .detail-card h3,
  .redevelopment-page .step-card h3 {
    min-height: 3.55em;
  }
}

/* Use one predictable header pattern once the page layouts become single-column. */
.site-nav a,
.inner-page .site-nav a {
  font-size: .88rem;
}

@media (max-width: 1060px) {
  .site-header {
    align-items: center;
    padding: 12px 14px;
  }

  .brand {
    min-width: 0;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    max-width: none;
    max-height: calc(100svh - 69px);
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    padding: var(--space-xs) 14px var(--space-sm);
    overflow-y: auto;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    box-shadow: 0 1px 0 var(--sky);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a,
  .inner-page .site-nav a {
    justify-content: center;
    width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: center;
  }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 auto;
    border: 0;
    background: var(--deep);
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    background: var(--paper);
  }

  .network-map .node-coop,
  .network-map .node-civil,
  .network-map .node-nclt {
    position: static;
    grid-column: auto;
    grid-row: auto;
    width: auto;
    height: auto;
    min-height: 64px;
  }
}

/* Keep the archive note visible and inside its drawer on tablet layouts. */
@media (min-width: 561px) and (max-width: 1060px) {
  .archive-slip {
    position: static;
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: auto repeat(3, minmax(0, 1fr));
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 8px;
    padding: 10px 12px;
    box-shadow: 3px 3px 0 var(--gold);
    transform: none;
  }

  .archive-slip b {
    margin: 0;
  }

  .archive-slip em {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

/* Restore the intended mobile stacking after the page-specific modifiers. */
@media (max-width: 560px) {
  .file-steps-three,
  .file-flow-three {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding-bottom: 96px;
  }
}

/* Final mobile type scale for the bespoke Home and About layouts. */
@media (max-width: 760px) {
  .editorial-hero h1,
  .about-hero h1 {
    font-size: clamp(38px, 11vw, 46px);
    line-height: 1;
  }

  body:not(.inner-page) h2 {
    font-size: clamp(32px, 8.7vw, 38px);
    line-height: 1.08;
  }
}

/* The disclaimer remains usable on short and landscape screens. */
.disclaimer-modal {
  overflow-y: auto;
  overscroll-behavior: contain;
}

.disclaimer-modal-content {
  max-height: calc(100svh - 48px);
  overflow-y: auto;
}

@media (max-width: 560px) {
  .disclaimer-modal {
    padding: 14px;
  }

  .disclaimer-modal-content {
    max-height: calc(100svh - 28px);
    padding: 28px 22px 24px;
  }

  .disclaimer-modal h2 {
    padding-right: 34px;
    font-size: clamp(28px, 8vw, 34px);
  }

  .disclaimer-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* =========================================
   Optical section and CTA alignment
   ========================================= */

/* Keep single-content callouts centered inside their available height. */
.final-cta,
.final-editorial-cta {
  align-content: center;
}

.final-cta > .container,
.final-editorial-cta > .container {
  align-self: center;
  text-align: left;
}

/* Use the same centered content width for every inner-page call to action. */
:is(
  .about-page,
  .practice-areas-page,
  .tax-litigation-page,
  .redevelopment-page
) .final-cta > .container {
  max-width: 980px;
}

/* Remove the loose line boxes that made short headings look vertically offset. */
.network-section .network-heading-only h2,
.final-cta > .container h2,
.final-editorial-cta > .container h2 {
  margin-inline: 0;
  line-height: 1.04;
}

/* Keep regular section titles left-aligned; only CTA panels opt into centering. */
.section-head:has(> h2:only-child),
.network-section .network-heading-only {
  text-align: left;
}

.section-head:has(> h2:only-child) > h2 {
  margin-inline: 0 auto;
}

/* Keep the authority heading connected to its card group and balance visible space. */
.network-section .network-map {
  min-height: 0;
  margin-top: clamp(36px, 4vw, 48px);
  padding-block: 0;
}

/* Center all standalone call-to-action copy and controls as one visual unit. */
.final-cta > .container p,
.final-editorial-cta > .container p {
  margin-inline: 0;
}

.final-cta .actions,
.final-editorial-cta .actions {
  justify-content: flex-start;
}

/* Consecutive notes should read as one compact post-button message. */
.final-cta .actions + p + p {
  margin-top: var(--space-2xs);
}

/* Match Contact's form row to the vertically centered two-column section rows. */
.inner-page .contact-grid {
  align-items: center;
}

/* Vertically balance two-column editorial rows as one visual unit. */
.inner-page .section > .container.split,
.inner-page .section-dark > .container.split {
  align-items: center;
}

/* Keep standalone headlines visually connected to the cards/content below. */
.inner-page .section-head + .container:is(
  .practice-grid,
  .detail-grid,
  .timeline,
  .step-grid,
  .faq-list,
  .narrow
) {
  margin-top: clamp(36px, 4vw, 48px);
}

/* Real firm seal in the header. */
.brand-mark {
  display: block;
  width: 96px;
  height: 96px;
  overflow: hidden;
  color: inherit;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: #050505;
  box-shadow: none;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 760px) {
  .brand-mark {
    width: 84px;
    height: 84px;
  }
}

/* Only the specifically flagged display headings get the two-line treatment. */
@media (min-width: 761px) {
  .target-two-line-heading {
    max-width: min(100%, 33ch) !important;
    line-height: 1.05;
  }

  .inner-page .section > .container.split:has(.target-two-line-heading),
  .inner-page .section-dark > .container.split:has(.target-two-line-heading) {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
    gap: clamp(36px, 5vw, 72px);
  }

  .tax-litigation-page .section > .container.split:has(.target-two-line-heading) {
    grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr);
    gap: clamp(32px, 4vw, 56px);
  }
}

/* Compact, consistent grid cards site-wide. */
.practice-grid,
.detail-grid,
.step-grid,
.timeline {
  gap: 16px !important;
}

.practice-card,
.detail-card,
.step-card,
.timeline-item,
.pa-common-block,
.pa-practice-block,
.team-card,
.person-card {
  min-height: 0 !important;
  padding: clamp(18px, 2vw, 24px) !important;
}

.practice-card h3,
.detail-card h3,
.step-card h3,
.timeline-item h3,
.pa-practice-block h3 {
  min-height: 0 !important;
}

.practice-card p,
.detail-card p,
.step-card p,
.timeline-item p,
.pa-practice-block p {
  margin-top: 10px;
}

.step-card span,
.timeline-item span,
.review-card > span {
  margin-bottom: 12px !important;
}

@media (max-width: 700px) {
  .practice-card,
  .detail-card,
  .step-card,
  .timeline-item,
  .pa-common-block,
  .pa-practice-block,
  .team-card,
  .person-card {
    padding: 18px !important;
  }
}

/* Match the Home hero background grid to the inner-page hero grid density. */
.editorial-hero {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
}

.editorial-hero::before {
  display: none !important;
}

/* About hero also uses the older page-hero overlay unless overridden. */
.about-hero {
  background:
    linear-gradient(90deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(49, 73, 203, .055) 1px, transparent 1px),
    var(--paper) !important;
  background-size: 76px 76px !important;
}

.about-hero::before {
  display: none !important;
}

/* Global bullet repair: keep dots separated from text and preserve wrap alignment. */
.check-list,
.plain-list {
  padding-left: 0 !important;
}

.check-list li,
.plain-list li {
  padding-left: 24px !important;
}

.check-list li::before,
.plain-list li::before {
  left: 0 !important;
  top: .7em !important;
}

/* EXPERTISE SLIDER */
.expertise-slider-section {
  position: relative;
  overflow: hidden;
  width: 100%;
}
.expertise-slider-container {
  position: relative;
  overflow: hidden;
}
.expertise-slider-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.5s ease-in-out, height 0.35s ease;
}
.expertise-slide {
  align-self: flex-start;
  flex: 0 0 100%;
  min-width: 100%;
  overflow: hidden;
}
.expertise-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  pointer-events: auto;
  touch-action: manipulation;
  user-select: none;
}
.expertise-slider-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}
.expertise-slider-btn.prev {
  left: 20px;
}
.expertise-slider-btn.next {
  right: 20px;
}
@media (max-width: 760px) {
  .expertise-slider-btn {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .expertise-slider-btn.prev {
    left: 10px;
    right: auto;
  }
  .expertise-slider-btn.next {
    right: 10px;
    left: auto;
  }
}

/* Home practice mosaic: dark grid section */
.practice-mosaic-section {
  background:
    linear-gradient(90deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    linear-gradient(0deg, rgba(120, 182, 255, .07) 1px, transparent 1px),
    #000 !important;
  background-size: 76px 76px !important;
  color: var(--paper);
}

.practice-mosaic-section .section-intro h2 {
  color: var(--paper);
}

.practice-mosaic-section .section-intro > div p:last-child,
.practice-mosaic-section .section-intro > p:last-child {
  color: rgba(255, 255, 255, .74);
}

.expertise-slider-section .redevelopment-editorial {
  padding-top: clamp(80px, 9vw, 128px) !important;
  padding-bottom: clamp(80px, 9vw, 128px) !important;
}

/* Home expertise slider: keep both slides the same visual height. */
.expertise-slider-section .tax-power-section {
  box-sizing: border-box;
  height: var(--expertise-base-height, auto);
  min-height: var(--expertise-base-height, auto);
  padding-top: clamp(80px, 9vw, 128px) !important;
  padding-bottom: clamp(80px, 9vw, 128px) !important;
}

.expertise-slider-section .tax-power-grid {
  height: 100%;
  min-height: 0;
  align-items: stretch;
}

.expertise-slider-section .tax-power-copy {
  align-self: center;
}

.expertise-slider-section .tax-power-copy h2 {
  font-size: clamp(34px, 3.1vw, 44px);
  line-height: 1.1;
}

.expertise-slider-section .tax-power-copy p {
  margin-top: 18px;
  font-size: clamp(14px, .98vw, 16px);
  line-height: 1.45;
}

.expertise-slider-section .tax-power-copy .btn {
  margin-top: 24px;
}

.expertise-slider-section .procedure-map {
  min-height: 0;
}

.expertise-slider-section .procedure-map ol {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: 0;
  gap: clamp(6px, .65vw, 10px);
}

.expertise-slider-section .procedure-map ol::before {
  left: 30px;
  top: 24px;
  bottom: 24px;
}

.expertise-slider-section .procedure-map li {
  flex: 1 1 0;
  grid-template-columns: 60px minmax(108px, .46fr) minmax(0, 1fr);
  min-height: 0;
  gap: clamp(8px, 1vw, 14px);
  padding: clamp(8px, .8vw, 12px) var(--space-sm);
}

.expertise-slider-section .procedure-map span {
  width: 38px;
  height: 38px;
  font-size: .7rem;
}

.expertise-slider-section .procedure-map strong {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.18;
}

.expertise-slider-section .procedure-map p {
  font-size: clamp(13px, .9vw, 15px);
  line-height: 1.32;
}

@media (max-width: 760px) {
  .expertise-slider-section .redevelopment-editorial {
    padding-top: var(--space-2xl) !important;
    padding-bottom: var(--space-2xl) !important;
  }

  .expertise-slider-section .tax-power-section {
    padding-top: var(--space-2xl) !important;
    padding-bottom: var(--space-2xl) !important;
  }

  .expertise-slider-section .tax-power-grid {
    grid-template-rows: auto minmax(0, 1fr);
    gap: var(--space-lg);
  }

  .expertise-slider-section .tax-power-copy h2 {
    font-size: clamp(32px, 8vw, 40px);
    line-height: 1.06;
  }

  .expertise-slider-section .tax-power-copy p {
    margin-top: 12px;
    font-size: .95rem;
    line-height: 1.42;
  }

  .expertise-slider-section .tax-power-copy .btn {
    min-height: 44px;
    margin-top: 16px;
    padding: 0 14px;
    font-size: .82rem;
  }

  .expertise-slider-section .procedure-map ol {
    gap: 8px;
  }

  .expertise-slider-section .procedure-map ol::before {
    left: 21px;
    top: 18px;
    bottom: 18px;
  }

  .expertise-slider-section .procedure-map li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 6px 10px;
    padding: 9px 12px;
  }

  .expertise-slider-section .procedure-map span {
    width: 34px;
    height: 34px;
    font-size: .65rem;
  }

  .expertise-slider-section .procedure-map strong {
    font-size: .9rem;
  }

  .expertise-slider-section .procedure-map p {
    grid-column: 2;
    font-size: .78rem;
    line-height: 1.25;
  }
}
