/* ==========================================================================
   YAZDANI LAW, LLC — Site stylesheet
   "The Case File & the Illuminated Path"
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. TOKENS
   -------------------------------------------------------------------------- */
:root {
  --green: #00843D;
  --green-dark: #006B32;
  --deep: #0B3D24;
  --teal: #68CCD1;
  --teal-tint: #E3F4F5;
  --red: #C3002F;
  --ink: #16241C;
  --body: #3A4440;
  --paper: #F8F6F1;
  --white: #FFFFFF;
  --lapis: #23407A;
  --brass: #A8842C;
  --line: #E4DFD3;
  --line-strong: #CDC6B7;
  --muted: #65706A;

  --font-head: 'Poppins', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Source Sans 3', 'Source Sans Pro', system-ui, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 4px 14px rgba(11, 61, 36, 0.07);
  --shadow-md: 0 14px 34px rgba(11, 61, 36, 0.12);
  --shadow-lg: 0 28px 60px rgba(11, 61, 36, 0.18);
  --radius: 6px;

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.05'/%3E%3C/svg%3E");

  --tile-lapis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%2323407A' stroke-width='1'%3E%3Cpath d='M60 4 76 44 116 60 76 76 60 116 44 76 4 60 44 44Z'/%3E%3Crect x='36' y='36' width='48' height='48' transform='rotate(45 60 60)'/%3E%3Ccircle cx='60' cy='60' r='7'/%3E%3Cpath d='M0 0h24v24H0zM96 0h24v24H96zM0 96h24v24H0zM96 96h24v24H96z'/%3E%3C/g%3E%3C/svg%3E");

  --tile-paper: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23F8F6F1' stroke-width='1'%3E%3Cpath d='M60 4 76 44 116 60 76 76 60 116 44 76 4 60 44 44Z'/%3E%3Crect x='36' y='36' width='48' height='48' transform='rotate(45 60 60)'/%3E%3Ccircle cx='60' cy='60' r='7'/%3E%3Cpath d='M0 0h24v24H0zM96 0h24v24H96zM0 96h24v24H0zM96 96h24v24H96z'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. RESET & BASE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background-color: var(--paper);
  background-image: var(--noise);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

img,
svg,
video {
  max-width: 100%;
  display: block;
}

img {
  height: auto;
}

a {
  color: var(--green);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-dark);
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

input,
textarea,
select {
  font: inherit;
  color: var(--ink);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.125rem, 5.4vw, 3.35rem);
  line-height: 1.08;
}

h2 {
  font-size: clamp(1.625rem, 3.6vw, 2.125rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

h4 {
  font-size: 1.05rem;
}

p + p {
  margin-top: 0.9em;
}

strong {
  color: var(--ink);
  font-weight: 600;
}

::selection {
  background: var(--teal);
  color: var(--deep);
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   3. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 22px;
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1380px;
}

.section {
  padding: 64px 0;
  position: relative;
}

.section--tight {
  padding: 44px 0;
}

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

.section--white {
  background: var(--white);
}

.section--teal {
  background: var(--teal-tint);
  background-image: var(--noise);
}

.section--deep {
  background: var(--deep);
  color: #E9EEE9;
}

.section--deep h2,
.section--deep h3 {
  color: var(--paper);
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 12px;
  color: var(--body);
  font-size: 1.02rem;
}

.section--deep .section-head p {
  color: rgba(248, 246, 241, 0.82);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}

.section--deep .eyebrow {
  color: var(--teal);
}

.lead {
  font-size: clamp(1.06rem, 1.6vw, 1.2rem);
  line-height: 1.6;
  color: var(--body);
}

.section--deep .lead {
  color: rgba(248, 246, 241, 0.88);
}

.muted {
  color: var(--muted);
  font-size: 0.88rem;
}

.small {
  font-size: 0.88rem;
}

.text-center {
  text-align: center;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 500;
  background: var(--deep);
  color: var(--paper);
  padding: 12px 20px;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 12px;
  color: var(--paper);
}

.double-rule {
  border: 0;
  height: 7px;
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  max-width: 1240px;
  margin: 0 auto;
  opacity: 0.65;
}

.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  color: var(--brass);
  padding: 6px 0;
}

.section-divider::before,
.section-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  max-width: 180px;
  background: var(--brass);
  opacity: 0.5;
}

/* --------------------------------------------------------------------------
   4. BUTTONS, LINKS & CHIPS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 50px;
  font-family: var(--font-head);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    border-color 0.3s var(--ease);
  will-change: transform;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 132, 61, 0.22);
}

.btn--primary:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(0, 107, 50, 0.26);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(22, 36, 28, 0.28);
}

.btn--ghost:hover {
  border-color: var(--green);
  color: var(--green);
  background: rgba(0, 132, 61, 0.04);
}

.btn--light {
  background: var(--paper);
  color: var(--deep);
}

.btn--light:hover {
  background: var(--white);
  color: var(--deep);
}

.btn--outline-light {
  background: transparent;
  color: var(--paper);
  border-color: rgba(248, 246, 241, 0.45);
}

.btn--outline-light:hover {
  background: rgba(248, 246, 241, 0.1);
  border-color: var(--paper);
  color: var(--paper);
}

.btn--red {
  background: var(--red);
  color: var(--white);
}

.btn--red:hover {
  background: #9E0026;
  color: var(--white);
}

.btn--sm {
  min-height: 42px;
  padding: 0 20px;
  font-size: 0.8rem;
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--green);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 132, 61, 0.35);
  padding-bottom: 2px;
  transition: gap 0.3s var(--ease), border-color 0.3s var(--ease);
}

.text-link:hover {
  gap: 13px;
  border-color: var(--green);
  color: var(--green-dark);
}

.text-link svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.7);
  color: var(--body);
  border-radius: 50px;
  padding: 6px 12px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
  white-space: nowrap;
}

.chip--teal {
  background: var(--teal-tint);
  border-color: rgba(104, 204, 209, 0.65);
  color: #19575B;
}

.credential-chips {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--brass);
  border-top-color: rgba(168, 132, 44, 0.5);
}

.urgent-line {
  margin-top: 22px;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--red);
}

.urgent-line svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
}

.urgent-line a {
  color: var(--red);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.urgent-line a:hover {
  color: #9E0026;
}

/* --------------------------------------------------------------------------
   5. HEADER
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.985);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s var(--ease);
}

.site-header.is-compressed {
  box-shadow: 0 8px 26px rgba(11, 61, 36, 0.09);
}

.header-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: 0 50%;
  z-index: 3;
  display: none;
}

.header-inner {
  height: 60px;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  transition: height 0.35s var(--ease);
}

.site-header.is-compressed .header-inner {
  height: 56px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  position: relative;
}

.logo img {
  width: 124px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
  transition: transform 0.4s var(--ease);
}

.logo:hover img {
  transform: translateY(-1px);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.25s;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--green);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 44px;
  min-height: 44px;
  color: var(--muted);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.25s;
}

.header-phone:hover {
  color: var(--green);
}

.header-phone svg {
  width: 17px;
  height: 17px;
}

.header-phone span {
  display: none;
}

.header-cta {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: border-color 0.25s, background 0.25s;
}

.menu-toggle:hover {
  background: var(--paper);
  border-color: var(--line);
}

.menu-toggle span {
  display: block;
  width: 21px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Scrim + mobile panel */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(11, 61, 36, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
}

.scrim.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  width: min(420px, 90vw);
  background: var(--paper);
  background-image: var(--noise);
  transform: translateX(102%);
  transition: transform 0.45s var(--ease);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -24px 0 60px rgba(11, 61, 36, 0.2);
  visibility: hidden;
}

.mobile-panel.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  flex: none;
}

.mobile-panel__head img {
  width: 118px;
  height: auto;
}

.panel-close {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.25s, border-color 0.25s;
}

.panel-close:hover {
  background: var(--white);
  border-color: var(--green);
}

.panel-close svg {
  width: 18px;
  height: 18px;
}

.mobile-panel__body {
  padding: 18px 20px 22px;
  flex: 1;
}

.panel-nav {
  display: flex;
  flex-direction: column;
}

.panel-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  min-height: 48px;
  transition: color 0.25s, padding-left 0.3s var(--ease);
}

.panel-nav a:hover,
.panel-nav a.active {
  color: var(--green);
  padding-left: 6px;
}

.panel-nav a svg {
  width: 16px;
  height: 16px;
  color: var(--brass);
}

.panel-sub {
  margin-top: 18px;
}

.panel-sub__label {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.panel-sub a {
  display: block;
  padding: 7px 0;
  font-size: 0.94rem;
  color: var(--body);
  text-decoration: none;
  min-height: 36px;
}

.panel-sub a:hover {
  color: var(--green);
}

.panel-contact {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--brass);
  display: grid;
  gap: 2px;
}

.panel-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 40px;
}

.panel-contact a:hover {
  color: var(--green);
}

.panel-contact svg {
  width: 15px;
  height: 15px;
  color: var(--green);
}

.panel-contact .toll {
  color: var(--green);
}

.panel-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.panel-urgent {
  flex: none;
  margin-top: auto;
  background: var(--red);
  color: #fff;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panel-urgent:hover {
  background: #A50028;
  color: #fff;
}

.panel-urgent svg {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Mobile sticky action bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(11, 61, 36, 0.1);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(105%);
  transition: transform 0.35s var(--ease), opacity 0.35s, visibility 0.35s;
  opacity: 0;
  visibility: hidden;
}

.mobile-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.mobile-bar.hide-for-form {
  transform: translateY(105%);
  opacity: 0;
  pointer-events: none;
}

.mobile-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}

.mobile-bar a + a {
  background: var(--green);
  color: #fff;
}

.mobile-bar svg {
  width: 17px;
  height: 17px;
}

/* --------------------------------------------------------------------------
   6. HERO / PAGE HERO
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  background-image: var(--noise);
  padding: 30px 0 48px;
}

.hero-pattern {
  position: absolute;
  top: -40px;
  right: -60px;
  bottom: 0;
  width: 72%;
  background-image: var(--tile-lapis);
  background-size: 120px 120px;
  opacity: 0.38;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(255deg, #000 8%, rgba(0, 0, 0, 0.45) 55%, transparent 92%);
  mask-image: linear-gradient(255deg, #000 8%, rgba(0, 0, 0, 0.45) 55%, transparent 92%);
  z-index: 0;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(220px circle at var(--mx, 78%) var(--my, 38%),
      rgba(104, 204, 209, 0.55), rgba(104, 204, 209, 0) 68%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s;
}

.hero.is-pointer .hero-glow {
  opacity: 1;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 38px;
  align-items: center;
}

.hero-copy {
  max-width: 660px;
}

.hero h1 {
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
}

.hero-support {
  font-size: clamp(1rem, 1.6vw, 1.09rem);
  line-height: 1.62;
  color: var(--body);
  max-width: 560px;
}

.hero .btn-row {
  margin-top: 26px;
}

.hero-media {
  position: relative;
  padding-bottom: 28px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid rgba(22, 36, 28, 0.12);
  box-shadow: var(--shadow-lg);
}

.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.photo-card--wide img {
  aspect-ratio: 16 / 9;
}

.citation-card {
  position: relative;
  margin-top: -18px;
  margin-left: auto;
  width: min(330px, 92%);
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--brass);
  padding: 16px 18px;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.citation-card__label {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 5px;
}

.citation-card__case {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.citation-card__meta {
  font-size: 0.79rem;
  color: var(--muted);
  margin-top: 4px;
}

.citation-card__meta strong {
  color: var(--green);
  font-weight: 600;
}

/* Word-rise */
.word {
  display: inline-block;
  opacity: 0;
  transform: translateY(16px);
  animation: wordRise 0.75s var(--ease) forwards;
  animation-delay: calc(var(--i, 0) * 60ms + 100ms);
}

@keyframes wordRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.citation-card {
  animation: cardIn 0.8s var(--ease) 0.4s both;
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px) rotate(0.5deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  background-image: var(--noise);
  padding: 46px 0 42px;
  border-bottom: 1px solid var(--line);
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -50px;
  width: 55%;
  height: 150%;
  background-image: var(--tile-lapis);
  background-size: 110px 110px;
  opacity: 0.22;
  -webkit-mask-image: linear-gradient(250deg, #000, transparent 85%);
  mask-image: linear-gradient(250deg, #000, transparent 85%);
  pointer-events: none;
}

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

.page-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
}

.page-hero p {
  max-width: 720px;
  font-size: 1.08rem;
  color: var(--body);
}

.page-hero .credential-chips {
  max-width: 760px;
}

.page-hero--deep {
  background: var(--deep);
  border-bottom: 0;
  color: var(--paper);
}

.page-hero--deep h1 {
  color: var(--paper);
}

.page-hero--deep p {
  color: rgba(248, 246, 241, 0.85);
}

.page-hero--deep::after {
  background-image: var(--tile-paper);
  opacity: 0.08;
}

/* --------------------------------------------------------------------------
   7. DOCKET BAND / STATS
   -------------------------------------------------------------------------- */
.docket-band {
  background: var(--white);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  position: relative;
  padding: 42px 0 34px;
}

.docket-band::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}

.docket-band::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--brass);
  opacity: 0.55;
}

.docket-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px 18px;
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  padding-top: 12px;
  border-top: 1px solid var(--brass);
  text-align: left;
}

.stat dd {
  margin: 0;
}

.stat__value {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 3.6vw, 2.65rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.stat__value sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--green);
}

.stat__label {
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.45;
}

.plaque-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 22px 2px 4px;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.plaque {
  flex: none;
  scroll-snap-align: start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(168, 132, 44, 0.7);
  background: var(--paper);
  border-radius: 2px;
  padding: 8px 13px;
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  line-height: 1.2;
}

.plaque svg {
  width: 13px;
  height: 13px;
  color: var(--brass);
  flex: none;
}

.plaque-note {
  margin-top: 12px;
  font-size: 0.73rem;
  color: var(--muted);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   8. SITUATION ROUTER
   -------------------------------------------------------------------------- */
.router-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.router-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 24px 22px 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--edge, var(--green));
  border-radius: 3px;
  text-decoration: none;
  color: var(--body);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.35s var(--ease), background 0.35s;
  overflow: hidden;
}

.router-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px transparent;
  border-radius: 2px;
  transition: box-shadow 0.35s;
  pointer-events: none;
}

.router-tile:hover,
.router-tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #fff;
}

.router-tile:hover::after,
.router-tile:focus-visible::after {
  box-shadow: inset 0 0 0 1px var(--edge);
}

.router-tile__q {
  font-family: var(--font-head);
  font-size: 1.13rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.router-tile__desc {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--body);
}

.router-tile__arrow {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--edge, var(--green));
}

.router-tile__arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.35s var(--ease);
}

.router-tile:hover .router-tile__arrow svg,
.router-tile:focus-visible .router-tile__arrow svg {
  transform: translateX(4px);
}

.router-tile--urgent {
  --edge: var(--red);
  background: #FFF8F8;
}

.ribbon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
  padding: 2px 7px;
  font-family: var(--font-head);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.5;
}

.router-tile--work {
  --edge: #2C8C93;
}

.router-tile--stalled {
  --edge: var(--ink);
}

.router-tile--family {
  --edge: var(--green);
}

/* --------------------------------------------------------------------------
   9. CASE LAW BAND
   -------------------------------------------------------------------------- */
.caselaw {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  padding: 64px 0;
}

.caselaw__pattern {
  position: absolute;
  inset: 0;
  background-image: var(--tile-paper);
  background-size: 130px 130px;
  opacity: 0.055;
  pointer-events: none;
}

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

.caselaw blockquote {
  max-width: 920px;
  margin: 0 auto 34px;
  text-align: center;
}

.caselaw blockquote p {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.6vw, 2.35rem);
  line-height: 1.3;
  font-style: italic;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.caselaw blockquote p em,
.caselaw blockquote p strong {
  color: var(--teal);
  font-style: normal;
  font-weight: 600;
}

.caselaw blockquote cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(248, 246, 241, 0.68);
}

.citation-list {
  display: grid;
  gap: 10px;
  max-width: 940px;
  margin: 0 auto 30px;
}

.citation-entry {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid rgba(248, 246, 241, 0.15);
}

.citation-entry:last-child {
  border-bottom: 1px solid rgba(248, 246, 241, 0.15);
}

.cite {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: 100%;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--paper);
  letter-spacing: 0.01em;
  text-decoration: none;
  padding-bottom: 5px;
  cursor: default;
}

.cite::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.9s var(--ease);
}

.citation-entry.is-visible .cite::after,
.case-entry.is-visible .cite::after,
.cite.is-visible::after {
  transform: scaleX(1);
}

.cite[data-tip]::before {
  content: attr(data-tip);
  position: absolute;
  left: 0;
  bottom: calc(100% + 9px);
  background: var(--paper);
  color: var(--deep);
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.35;
  padding: 7px 10px;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: var(--shadow-sm);
  z-index: 4;
}

.cite[data-tip]:hover::before,
.cite[data-tip]:focus-visible::before {
  opacity: 1;
  transform: translateY(0);
}

.cite-takeaway {
  font-size: 0.85rem;
  color: rgba(248, 246, 241, 0.72);
  line-height: 1.55;
}

.caselaw__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.caselaw__foot .text-link {
  color: var(--teal);
  border-color: rgba(104, 204, 209, 0.5);
}

.caselaw__foot .text-link:hover {
  color: #fff;
  border-color: #fff;
}

/* --------------------------------------------------------------------------
   10. SERVICES MOSAIC
   -------------------------------------------------------------------------- */
.mosaic {
  display: grid;
  gap: 22px;
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--body);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--edge, var(--green));
}

.service-card--red {
  --edge: var(--red);
}

.service-card--red:hover {
  border-left-color: var(--red);
}

.service-card--teal {
  --edge: #2C8C93;
}

.service-card__media {
  overflow: hidden;
  background: var(--paper);
}

.service-card__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.service-card:hover .service-card__media img {
  transform: scale(1.025);
}

.service-card__body {
  padding: 20px 20px 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}

.service-card__title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.25;
}

.service-card__scope {
  font-size: 0.92rem;
  line-height: 1.52;
  color: var(--body);
}

.service-card .chips {
  margin-top: 2px;
}

.service-card__link {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--edge, var(--green));
}

.service-card__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.service-card:hover .service-card__link svg {
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   11. JOURNEY RAIL
   -------------------------------------------------------------------------- */
.journey {
  position: relative;
}

.journey-list {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.journey-item {
  flex: 0 0 78%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 18px;
  min-height: 150px;
}

.journey-item .node {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px dashed rgba(0, 132, 61, 0.45);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--green);
  transition: background 0.5s, color 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.journey-item.lit .node {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
  box-shadow: 0 0 0 5px rgba(0, 132, 61, 0.1);
}

.journey-item__title {
  font-family: var(--font-head);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.journey-item__title a {
  color: inherit;
  text-decoration: none;
}

.journey-item__title a:hover {
  color: var(--green);
}

.journey-item__desc {
  font-size: 0.87rem;
  line-height: 1.5;
  color: var(--body);
}

.journey-hint {
  margin-top: 6px;
  font-size: 0.76rem;
  color: var(--muted);
  font-family: var(--font-head);
  letter-spacing: 0.04em;
}

.rail {
  display: none;
}

/* --------------------------------------------------------------------------
   12. BIA INSIDER
   -------------------------------------------------------------------------- */
.bia-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.file-frame {
  position: relative;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.file-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.file-frame::before,
.file-frame::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border-color: var(--brass);
  border-style: solid;
  pointer-events: none;
}

.file-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.file-frame::after {
  bottom: -1px;
  right: -1px;
  border-width: 0 2px 2px 0;
}

.file-caption {
  margin-top: 10px;
  font-size: 0.74rem;
  color: var(--muted);
  font-style: italic;
}

.bia-copy h2 {
  margin-bottom: 16px;
}

.bia-copy .pull-line {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  font-style: italic;
  color: var(--ink);
  line-height: 1.45;
  padding-left: 16px;
  border-left: 2px solid var(--green);
  margin: 22px 0;
}

.insider-list {
  display: grid;
  gap: 11px;
  margin-top: 8px;
}

.insider-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.95rem;
  line-height: 1.55;
}

.insider-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--green);
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   13. RESULTS / STAMP CARDS
   -------------------------------------------------------------------------- */
.stamp-grid {
  display: grid;
  gap: 20px;
}

.stamp-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px 22px 22px;
  box-shadow: var(--shadow-sm);
  transform: rotate(-1.5deg);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.stamp-card:nth-child(2) {
  transform: rotate(1deg);
}

.stamp-card:nth-child(3) {
  transform: rotate(-0.7deg);
}

.stamp-card:hover {
  transform: rotate(0) translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stamp-card__kicker {
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 8px;
}

.stamp-card h3 {
  font-size: 1.03rem;
  line-height: 1.3;
  margin-bottom: 8px;
  padding-right: 70px;
}

.stamp-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.stamp {
  position: absolute;
  top: 16px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 9px;
  border: 3px double currentColor;
  border-radius: 3px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
  opacity: 0;
  transform: rotate(8deg) scale(1.35);
  background-image: var(--noise);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: 0.18s;
}

.stamp--red {
  color: var(--red);
}

.stamp-card.is-visible .stamp {
  opacity: 0.82;
  transform: rotate(-7deg) scale(1);
}

.stamp-card:nth-child(2) .stamp {
  transform: rotate(9deg) scale(1.35);
}

.stamp-card:nth-child(2).is-visible .stamp {
  transform: rotate(7deg) scale(1);
}

.stamp-card:nth-child(3) .stamp {
  transform: rotate(-5deg) scale(1.35);
}

.stamp-card:nth-child(3).is-visible .stamp {
  transform: rotate(-4deg) scale(1);
}

.disclaimer {
  margin-top: 22px;
  font-size: 0.76rem;
  line-height: 1.5;
  color: var(--muted);
  font-style: italic;
  max-width: 760px;
}

/* --------------------------------------------------------------------------
   14. TESTIMONIALS
   -------------------------------------------------------------------------- */
.testimonial-wrap {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.quote-stage {
  display: grid;
  min-height: 230px;
  align-items: center;
}

.quote-slide {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s var(--ease), visibility 0.55s;
  padding: 8px 4px;
}

.quote-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.quote-mark {
  display: block;
  font-family: var(--font-serif);
  font-size: 4.6rem;
  line-height: 0.6;
  color: var(--brass);
  margin-bottom: 14px;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-style: italic;
  line-height: 1.42;
  color: var(--ink);
  margin: 0 auto;
  max-width: 760px;
  letter-spacing: -0.01em;
}

.quote-attrib {
  margin-top: 18px;
  font-family: var(--font-head);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.quote-attrib::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--green);
}

.carousel-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid;
  place-items: center;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.carousel-arrow:hover {
  border-color: var(--green);
  color: var(--green);
  background: var(--paper);
}

.carousel-arrow svg {
  width: 17px;
  height: 17px;
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.carousel-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  background: transparent;
  transition: background 0.3s, transform 0.3s;
}

.carousel-dot.is-active::after {
  background: var(--brass);
  transform: scale(1.15);
}

.carousel-pause {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid transparent;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.carousel-pause:hover {
  color: var(--green);
  border-color: var(--line-strong);
}

.carousel-pause svg {
  width: 14px;
  height: 14px;
}

.quote-foot {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
}

.quote-foot .plaque {
  background: transparent;
}

/* --------------------------------------------------------------------------
   15. CARE PROMISES
   -------------------------------------------------------------------------- */
.care-grid {
  display: grid;
  gap: 30px;
  align-items: center;
}

.care-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(22, 36, 28, 0.1);
}

.promise-list {
  display: grid;
  gap: 12px;
}

.promise-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(104, 204, 209, 0.5);
  border-left: 3px solid var(--green);
  border-radius: 3px;
  padding: 16px 16px 16px 15px;
  box-shadow: var(--shadow-sm);
}

.promise-card__icon {
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  color: var(--green);
}

.promise-card__icon svg {
  width: 18px;
  height: 18px;
}

.promise-card h3 {
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.promise-card p {
  font-size: 0.88rem;
  line-height: 1.5;
}

.promise-card .src {
  display: block;
  margin-top: 4px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   16. OFFICES / TWO CITIES
   -------------------------------------------------------------------------- */
.office-grid {
  display: grid;
  gap: 22px;
}

.office-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  border-radius: 3px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.office-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.office-card__media {
  overflow: hidden;
}

.office-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.office-card:hover .office-card__media img {
  transform: scale(1.02);
}

.office-card__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.office-card__city {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.office-card address {
  font-style: normal;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--body);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--brass);
  border-bottom-color: rgba(168, 132, 44, 0.45);
}

.office-card__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  min-height: 40px;
}

.office-card__phone svg {
  width: 16px;
  height: 16px;
}

.office-card__phone:hover {
  color: var(--green-dark);
  text-decoration: underline;
}

.office-card__tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--font-head);
}

.office-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.office-card__links a {
  font-size: 0.78rem;
  font-weight: 600;
  font-family: var(--font-head);
  color: var(--lapis);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.office-card__links a:hover {
  text-decoration: underline;
}

.toll-band {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
}

.toll-band p {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.toll-band a {
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   17. TOOL CARDS
   -------------------------------------------------------------------------- */
.tool-grid {
  display: grid;
  gap: 18px;
}

.tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  background: var(--white);
  border: 1px solid rgba(104, 204, 209, 0.55);
  border-radius: 3px;
  padding: 22px;
  min-height: 150px;
  text-decoration: none;
  color: var(--body);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease),
    border-color 0.4s;
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.tool-card__icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-tint);
  display: grid;
  place-items: center;
  color: var(--lapis);
  margin-bottom: 3px;
}

.tool-card__icon svg {
  width: 18px;
  height: 18px;
}

.tool-card h3 {
  font-size: 1rem;
}

.tool-card p {
  font-size: 0.87rem;
  line-height: 1.5;
}

.tool-card__arrow {
  margin-top: auto;
  padding-top: 10px;
  align-self: flex-end;
  color: var(--lapis);
  transition: transform 0.35s var(--ease);
}

.tool-card__arrow svg {
  width: 18px;
  height: 18px;
}

.tool-card:hover .tool-card__arrow {
  transform: translate(3px, -3px);
}

.tool-card--wide {
  grid-column: 1 / -1;
  background: var(--teal-tint);
  border-color: rgba(35, 64, 122, 0.25);
}

/* --------------------------------------------------------------------------
   18. ATTORNEY TEASER
   -------------------------------------------------------------------------- */
.attorney-card {
  display: grid;
  gap: 22px;
  background: var(--white);
  border: 1px solid var(--brass);
  border-color: rgba(168, 132, 44, 0.55);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  align-items: center;
}

.attorney-card__photo {
  overflow: hidden;
  border-radius: 3px;
}

.attorney-card__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  filter: grayscale(35%) contrast(1.02);
  transition: filter 0.6s var(--ease), transform 0.8s var(--ease);
}

.attorney-card:hover .attorney-card__photo img {
  filter: grayscale(0) contrast(1);
  transform: scale(1.015);
}

.attorney-card__body {
  padding: 4px 6px 8px;
}

.attorney-card__body h3 {
  font-size: 1.35rem;
  margin-bottom: 2px;
}

.attorney-card__role {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.attorney-card__body p {
  font-size: 0.95rem;
}

.attorney-card__creds {
  margin: 14px 0;
  display: grid;
  gap: 5px;
  font-size: 0.84rem;
  color: var(--muted);
}

.attorney-card__creds li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.attorney-card__creds li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-top: 0.5em;
  background: var(--brass);
  flex: none;
  transform: rotate(45deg);
}

/* --------------------------------------------------------------------------
   19. CTA BAND
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  color: var(--paper);
  padding: 66px 0;
  text-align: center;
  background-size: cover;
  background-position: center;
}

.cta-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background-image: var(--tile-paper);
  background-size: 90px 90px;
  background-color: rgba(35, 64, 122, 0.9);
  opacity: 0.75;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-inline: auto;
}

.cta-band h2 {
  color: var(--paper);
  font-size: clamp(1.85rem, 4.2vw, 2.7rem);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(248, 246, 241, 0.85);
  max-width: 620px;
  margin: 0 auto 24px;
}

.cta-band .btn-row {
  justify-content: center;
}

.cta-band .phone-link {
  color: var(--paper);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(248, 246, 241, 0.4);
  padding-bottom: 2px;
}

.cta-band .phone-link:hover {
  color: var(--teal);
  border-color: var(--teal);
}

.cta-band__spanish {
  margin-top: 18px;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(248, 246, 241, 0.65);
}

.cta-band--red-edge::after {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--red);
  opacity: 0.9;
}

/* --------------------------------------------------------------------------
   20. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--deep);
  color: rgba(248, 246, 241, 0.82);
  position: relative;
  padding-top: 8px;
}

.footer-tiles {
  height: 7px;
  background-image: var(--tile-paper);
  background-size: 90px 90px;
  background-color: rgba(35, 64, 122, 0.85);
  opacity: 0.8;
}

.footer-main {
  padding: 42px 0 30px;
}

.footer-grid {
  display: grid;
  gap: 30px;
}

.footer-brand__logo {
  display: inline-block;
  background: var(--white);
  padding: 9px 12px;
  border-radius: 2px;
  margin-bottom: 14px;
}

.footer-brand__logo img {
  width: 132px;
  height: auto;
}

.footer-promise {
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer-aila {
  margin-top: 12px;
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}

.footer-col p,
.footer-col address {
  font-style: normal;
  font-size: 0.87rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.footer-office {
  margin-bottom: 16px;
}

.footer-office strong {
  display: block;
  color: var(--paper);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.footer-col a {
  color: rgba(248, 246, 241, 0.85);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-col a:hover {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  font-size: 0.87rem;
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
}

.footer-contact-line {
  font-size: 0.87rem;
  line-height: 1.7;
}

.footer-contact-line a {
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(248, 246, 241, 0.14);
  padding: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  font-size: 0.74rem;
  color: rgba(248, 246, 241, 0.6);
}

.footer-bottom .legal {
  max-width: 820px;
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   21. ABOUT PAGE
   -------------------------------------------------------------------------- */
.intro-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  background-image: var(--noise);
  padding: 54px 0 48px;
}

.intro-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 44%;
  background-image: var(--tile-lapis);
  background-size: 100px 100px;
  opacity: 0.2;
  -webkit-mask-image: linear-gradient(250deg, #000, transparent 90%);
  mask-image: linear-gradient(250deg, #000, transparent 90%);
}

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

.intro-hero h1 {
  max-width: 820px;
}

.underline-draw {
  position: relative;
  display: inline;
  background-image: linear-gradient(var(--green), var(--green));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 3px;
  transition: background-size 1s var(--ease);
  padding-bottom: 2px;
}

.intro-hero.is-visible .underline-draw,
.is-visible .underline-draw {
  background-size: 100% 3px;
}

.profile-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.profile-photo {
  position: relative;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 20%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.profile-photo__caption {
  margin-top: 10px;
  font-size: 0.75rem;
  color: var(--muted);
  font-style: italic;
}

.profile-copy h2 {
  margin-bottom: 14px;
}

.profile-copy p {
  font-size: 0.98rem;
}

.profile-copy .pull-line {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-style: italic;
  color: var(--ink);
  border-left: 2px solid var(--brass);
  padding-left: 16px;
  margin: 20px 0;
  line-height: 1.45;
}

.docket-list {
  margin-top: 22px;
  border-top: 1px solid var(--brass);
}

.docket-list__label {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 0 6px;
}

.docket-list ul {
  display: grid;
  gap: 0;
}

.docket-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--body);
}

.docket-list li span {
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  flex: none;
}

.bia-band {
  background: var(--deep);
  color: rgba(248, 246, 241, 0.85);
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.bia-band__pattern {
  position: absolute;
  inset: 0;
  background-image: var(--tile-paper);
  background-size: 120px 120px;
  opacity: 0.05;
}

.bia-band .container {
  position: relative;
  z-index: 1;
}

.bia-band h2 {
  color: var(--paper);
  max-width: 760px;
  margin-bottom: 14px;
}

.bia-band .lead {
  color: rgba(248, 246, 241, 0.82);
  max-width: 760px;
}

.bia-band__grid {
  display: grid;
  gap: 24px;
  margin-top: 28px;
  align-items: center;
}

.bia-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(248, 246, 241, 0.2);
}

.bia-band .insider-list li {
  border-color: rgba(248, 246, 241, 0.2);
}

.bia-band .insider-list li::before {
  border-color: var(--teal);
}

.pedigree-grid {
  display: grid;
  gap: 16px;
}

.pedigree-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--brass);
  padding: 20px;
}

.pedigree-card__num {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--brass);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.pedigree-card h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.pedigree-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.value-grid {
  display: grid;
  gap: 16px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--green);
  padding: 20px;
}

.value-card__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal-tint);
  color: var(--green);
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.value-card__icon svg {
  width: 18px;
  height: 18px;
}

.value-card h3 {
  font-size: 0.98rem;
  margin-bottom: 5px;
}

.value-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.quote-wall {
  display: grid;
  gap: 16px;
}

.wall-quote {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}

.wall-quote blockquote {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink);
}

.wall-quote figcaption {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.badge-band {
  background: var(--white);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  padding: 30px 0;
}

.badge-band .plaque-row {
  justify-content: center;
  padding: 0;
  flex-wrap: wrap;
  overflow: visible;
}

/* --------------------------------------------------------------------------
   22. SERVICES PAGE
   -------------------------------------------------------------------------- */
.anchor-nav {
  position: sticky;
  top: 60px;
  z-index: 60;
  background: rgba(248, 246, 241, 0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.anchor-nav__inner {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 22px;
  max-width: 1240px;
  margin-inline: auto;
  scrollbar-width: none;
}

.anchor-nav__inner::-webkit-scrollbar {
  display: none;
}

.anchor-chip {
  flex: none;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--body);
  text-decoration: none;
  border: 1px solid var(--line-strong);
  background: var(--white);
  border-radius: 50px;
  padding: 8px 14px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.anchor-chip:hover,
.anchor-chip.is-active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.practice {
  padding: 56px 0;
  scroll-margin-top: 116px;
  position: relative;
}

.practice--alt {
  background: var(--teal-tint);
  background-image: var(--noise);
}

.practice--urgent {
  background: var(--teal-tint);
  background-image: var(--noise);
  border-left: 4px solid var(--red);
}

.practice__head {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.practice__num {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
}

.practice h2 {
  margin-bottom: 4px;
}

.practice__intro {
  max-width: 800px;
  font-size: 1rem;
  line-height: 1.65;
}

.practice-block {
  margin-top: 26px;
}

.practice-block h3 {
  font-size: 1.05rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.practice-block h3::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--brass);
}

.checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.checklist li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 6px 10px;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--body);
}

.checklist li::before {
  content: "";
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--green);
  transform: rotate(45deg);
  flex: none;
}

.checklist--red li::before {
  border-color: var(--red);
}

.pathway-grid {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.pathway {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 11px 13px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  min-height: 46px;
  transition: border-color 0.3s, transform 0.3s var(--ease), background 0.3s;
}

.pathway:hover {
  border-color: var(--green);
  transform: translateX(3px);
  background: #fff;
}

.pathway svg {
  width: 14px;
  height: 14px;
  color: var(--green);
  flex: none;
}

.pathway--red:hover {
  border-color: var(--red);
}

.pathway--red svg {
  color: var(--red);
}

.reassurance {
  margin-top: 26px;
  background: rgba(255, 255, 255, 0.75);
  border-left: 3px solid var(--brass);
  padding: 14px 16px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--body);
}

.practice__cta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.practice__media {
  margin-top: 24px;
}

.practice__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid rgba(22, 36, 28, 0.1);
  box-shadow: var(--shadow-sm);
}

/* Accordion */
.acc {
  border-top: 1px solid var(--line-strong);
  margin-top: 10px;
}

.acc-item {
  border-bottom: 1px solid var(--line-strong);
}

.acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  padding: 13px 2px;
  min-height: 48px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.25s;
}

.acc-btn:hover {
  color: var(--green);
}

.acc-btn__code {
  display: inline-block;
  min-width: 52px;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.02em;
}

.acc-btn svg {
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--brass);
  transition: transform 0.35s var(--ease);
}

.acc-item.open .acc-btn svg {
  transform: rotate(180deg);
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.acc-panel__inner {
  padding: 0 2px 14px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 760px;
}

.eb-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.eb-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 2px solid var(--green);
  padding: 16px;
}

.eb-card__code {
  font-family: var(--font-head);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brass);
  text-transform: uppercase;
}

.eb-card h4 {
  font-size: 0.98rem;
  margin: 4px 0 3px;
}

.eb-card p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.beyond-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.beyond-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: 50px;
  padding: 8px 14px;
  font-family: var(--font-head);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease);
}

.beyond-chip:hover {
  border-color: var(--green);
  color: var(--green);
  transform: translateY(-2px);
}

.beyond-chip--link {
  border-color: rgba(195, 0, 47, 0.4);
  color: var(--red);
}

.beyond-chip--link:hover {
  border-color: var(--red);
  color: var(--red);
}

.why-grid {
  display: grid;
  gap: 18px;
}

.why-col {
  border-top: 2px solid var(--brass);
  padding-top: 18px;
}

.why-col__num {
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--brass);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.why-col h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.why-col p {
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   23. LITIGATION PAGE
   -------------------------------------------------------------------------- */
.lit-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: flex-end;
  background-color: var(--deep);
  background-size: cover;
  background-position: center;
  color: var(--paper);
  padding: 80px 0 52px;
  overflow: hidden;
}

.lit-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 61, 36, 0.55) 0%, rgba(11, 61, 36, 0.88) 70%, rgba(11, 61, 36, 0.96) 100%);
}

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

.lit-hero .eyebrow {
  color: var(--teal);
}

.lit-hero h1 {
  color: var(--paper);
  max-width: 900px;
  margin-bottom: 14px;
  font-size: clamp(2rem, 5vw, 3.2rem);
}

.lit-hero p {
  color: rgba(248, 246, 241, 0.86);
  max-width: 680px;
  font-size: 1.05rem;
}

.problem-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}

.problem-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.definition-card {
  background: var(--white);
  border-left: 3px solid var(--green);
  padding: 18px 20px;
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}

.definition-card h3 {
  font-size: 0.95rem;
  margin-bottom: 5px;
}

.definition-card p {
  font-size: 0.9rem;
  line-height: 1.55;
}

.docket-cases {
  display: grid;
  gap: 14px;
}

.case-entry {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.case-entry__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 9px;
}

.case-entry__label span {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.06em;
}

.case-entry .cite {
  color: var(--ink);
  font-size: 1.05rem;
}

.case-entry .cite::after {
  background: var(--green);
}

.case-entry .cite[data-tip]::before {
  background: var(--deep);
  color: var(--paper);
}

.case-entry p {
  margin-top: 8px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.impact-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}

.impact-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--paper);
  border-left: 2px solid var(--teal);
  padding-left: 18px;
}

.impact-list {
  display: grid;
  gap: 14px;
}

.impact-item {
  border-top: 1px solid rgba(248, 246, 241, 0.18);
  padding-top: 12px;
}

.impact-item h3 {
  color: var(--teal);
  font-size: 0.9rem;
  margin-bottom: 3px;
}

.impact-item p {
  color: rgba(248, 246, 241, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.expect-grid {
  display: grid;
  gap: 16px;
}

.expect-card {
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--green);
}

.expect-card--limits {
  border-top-color: var(--red);
  background: #FFF9F9;
}

.expect-card h3 {
  font-size: 1rem;
  margin-bottom: 10px;
}

.expect-card ul {
  display: grid;
  gap: 8px;
}

.expect-card li {
  font-size: 0.9rem;
  line-height: 1.55;
  padding-left: 20px;
  position: relative;
}

.expect-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

.expect-card--limits li::before {
  content: "—";
  color: var(--red);
}

.faq {
  border-top: 1px solid var(--line-strong);
}

.faq .acc-item {
  border-bottom: 1px solid var(--line-strong);
}

.faq .acc-btn {
  padding: 16px 2px;
  font-size: 0.95rem;
  min-height: 52px;
}

.faq .acc-panel__inner {
  padding-bottom: 16px;
}

.expertise-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.expertise-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   24. RESOURCES PAGE
   -------------------------------------------------------------------------- */
.resources-intro {
  display: grid;
  gap: 28px;
  align-items: center;
}

.resources-intro img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.court-grid {
  display: grid;
  gap: 18px;
}

.court-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--lapis);
  padding: 22px;
  text-decoration: none;
  color: var(--body);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.court-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.court-card--grave {
  border-left-color: var(--red);
}

.court-card h3 {
  font-size: 1rem;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.court-card p {
  font-size: 0.88rem;
  line-height: 1.55;
}

.court-card .text-link {
  margin-top: 10px;
}

.bulletin-card {
  background: var(--white);
  border: 1px solid rgba(35, 64, 122, 0.28);
  border-top: 4px solid var(--lapis);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.bulletin-card__head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.bulletin-card h3 {
  font-size: 1.25rem;
}

.bulletin-explain {
  display: grid;
  gap: 12px;
}

.bulletin-explain li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.55;
}

.bulletin-explain li span {
  flex: none;
  font-family: var(--font-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brass);
  padding-top: 3px;
}

.advice-note {
  background: var(--white);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  padding: 18px 0;
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  text-align: center;
}

/* --------------------------------------------------------------------------
   25. CONTACT PAGE
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  background-image: var(--noise);
  padding: 46px 0 40px;
  border-bottom: 1px solid var(--line);
}

.contact-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 auto;
  width: 40%;
  background-image: var(--tile-lapis);
  background-size: 100px 100px;
  opacity: 0.18;
  -webkit-mask-image: linear-gradient(250deg, #000, transparent 90%);
  mask-image: linear-gradient(250deg, #000, transparent 90%);
}

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

.contact-hero h1 {
  font-size: clamp(2.4rem, 6vw, 3.4rem);
}

.contact-hero p {
  max-width: 620px;
  font-size: 1.08rem;
}

.schedule-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  padding: 26px;
  box-shadow: var(--shadow-md);
}

.schedule-card h2 {
  margin-bottom: 8px;
}

.schedule-card p {
  font-size: 0.95rem;
}

.schedule-card ul {
  margin: 16px 0;
  display: grid;
  gap: 7px;
}

.schedule-card li {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  align-items: flex-start;
}

.schedule-card li::before {
  content: "✓";
  color: var(--green);
  font-weight: 700;
  flex: none;
}

.schedule-note {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.form-card h2 {
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.form-card > p {
  font-size: 0.88rem;
  margin-bottom: 18px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.field {
  position: relative;
}

.field label {
  position: absolute;
  left: 13px;
  top: 15px;
  font-size: 0.9rem;
  color: var(--muted);
  pointer-events: none;
  transition: top 0.22s var(--ease), font-size 0.22s, letter-spacing 0.22s,
    color 0.22s, text-transform 0.22s;
  background: transparent;
  padding: 0 3px;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 22px 13px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 3px;
  background: var(--white);
  font-size: 0.95rem;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 24px;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0, 132, 61, 0.12);
}

.field input:focus+label,
.field input:not(:placeholder-shown)+label,
.field textarea:focus+label,
.field textarea:not(:placeholder-shown)+label {
  top: 6px;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  font-family: var(--font-head);
}

.field.has-error input,
.field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(195, 0, 47, 0.08);
}

.field-error {
  display: none;
  margin-top: 4px;
  font-size: 0.76rem;
  color: var(--red);
  font-weight: 500;
}

.field.has-error .field-error {
  display: block;
}

.form-error-summary {
  display: none;
  background: #FFF4F5;
  border-left: 3px solid var(--red);
  padding: 10px 12px;
  font-size: 0.82rem;
  color: #8B0022;
  margin-bottom: 14px;
}

.form-error-summary.is-visible {
  display: block;
}

.form-error-summary ul {
  margin-top: 4px;
  display: grid;
  gap: 2px;
}

.form-error-summary a {
  color: #8B0022;
}

.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 2px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 26px 12px;
}

.form-success.is-visible {
  display: block;
}

.success-stamp {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border: 4px double var(--green);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--green);
  transform: rotate(-8deg);
  background-image: var(--noise);
  animation: stampSettle 0.6s var(--ease) both;
}

.success-stamp svg {
  width: 44px;
  height: 44px;
}

@keyframes stampSettle {
  from {
    opacity: 0;
    transform: rotate(-14deg) scale(1.4);
  }

  to {
    opacity: 1;
    transform: rotate(-8deg) scale(1);
  }
}

.form-success h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.9rem;
  max-width: 380px;
  margin: 0 auto;
}

.success-stamp__word {
  font-family: var(--font-head);
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
}

.contact-grid {
  display: grid;
  gap: 24px;
}

.hours-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--brass);
  padding: 22px;
}

.hours-list {
  margin-top: 12px;
  display: grid;
  gap: 0;
}

.hours-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}

.hours-list dt {
  color: var(--body);
}

.hours-list dd {
  color: var(--ink);
  font-weight: 600;
}

.contact-lines {
  margin-top: 16px;
  display: grid;
  gap: 7px;
  font-size: 0.89rem;
}

.contact-lines strong {
  display: inline-block;
  min-width: 82px;
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.urgent-block {
  position: relative;
  background: var(--deep);
  color: var(--paper);
  border-top: 4px solid var(--red);
  padding: 28px 24px;
  overflow: hidden;
}

.urgent-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--tile-paper);
  background-size: 110px 110px;
  opacity: 0.05;
  pointer-events: none;
}

.urgent-block__inner {
  position: relative;
  z-index: 1;
}

.urgent-block h2 {
  color: var(--paper);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.urgent-block p {
  color: rgba(248, 246, 241, 0.85);
  font-size: 0.92rem;
  max-width: 720px;
}

.urgent-block .btn-row {
  margin-top: 16px;
}

.urgent-block .text-link {
  color: var(--teal);
  border-color: rgba(104, 204, 209, 0.5);
}

.contact-phone-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-phone-row a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  min-height: 44px;
}

.contact-phone-row svg {
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   26. ANIMATIONS / REVEALS
   -------------------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger>* {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.stagger.is-visible>* {
  opacity: 1;
  transform: translateY(0);
}

.stagger.is-visible>*:nth-child(2) {
  transition-delay: 0.08s;
}

.stagger.is-visible>*:nth-child(3) {
  transition-delay: 0.16s;
}

.stagger.is-visible>*:nth-child(4) {
  transition-delay: 0.24s;
}

.stagger.is-visible>*:nth-child(5) {
  transition-delay: 0.32s;
}

.stagger.is-visible>*:nth-child(6) {
  transition-delay: 0.4s;
}

.magnetic {
  will-change: transform;
}

/* --------------------------------------------------------------------------
   27. RESPONSIVE — TABLET
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body {
    font-size: 17px;
  }

  .container {
    padding-inline: 32px;
  }

  .header-inner {
    height: 64px;
    padding-inline: 26px;
  }

  .site-header.is-compressed .header-inner {
    height: 60px;
  }

  .logo img {
    width: 142px;
    max-height: 46px;
  }

  .header-phone {
    gap: 8px;
    font-size: 0.82rem;
  }

  .header-phone span {
    display: inline;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .hero {
    padding: 46px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
  }

  .hero-media {
    padding-bottom: 10px;
  }

  .citation-card {
    position: absolute;
    right: -10px;
    bottom: -6px;
    margin: 0;
    width: min(300px, 92%);
  }

  .hero .btn-row .btn {
    width: auto;
  }

  .section {
    padding: 82px 0;
  }

  .section--tight {
    padding: 54px 0;
  }

  .docket-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
  }

  .docket-band {
    padding: 46px 0 36px;
  }

  .router-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .router-tile--urgent {
    order: 0;
  }

  .mosaic {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .mosaic>*:nth-child(even) {
    margin-top: 34px;
  }

  .stamp-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .office-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .court-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pedigree-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eb-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .attorney-card {
    grid-template-columns: 190px 1fr;
    gap: 24px;
  }

  .bia-grid {
    grid-template-columns: 5fr 6fr;
    gap: 40px;
  }

  .care-grid {
    grid-template-columns: 5fr 6fr;
    gap: 34px;
  }

  .profile-grid {
    grid-template-columns: 5fr 7fr;
    gap: 36px;
  }

  .problem-grid {
    grid-template-columns: 5fr 7fr;
    gap: 36px;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
  }

  .expertise-grid {
    grid-template-columns: 6fr 5fr;
    gap: 34px;
  }

  .resources-intro {
    grid-template-columns: 5fr 7fr;
    gap: 34px;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
  }

  .lit-hero {
    min-height: 52vh;
    padding: 90px 0 60px;
  }

  .quote-stage {
    min-height: 220px;
  }

  .journey-item {
    flex-basis: 44%;
  }

  .practice {
    padding: 66px 0;
  }

  .anchor-nav {
    top: 64px;
  }

  .docket-grid .stat__value {
    margin-top: 0;
  }

  .anchor-nav__inner {
    padding-inline: 32px;
  }

  .footer-main {
    padding: 46px 0 34px;
  }

  .page-hero {
    padding: 58px 0 52px;
  }

  .cta-band {
    padding: 78px 0;
  }

  .aa {
    display: block;
  }
}

/* --------------------------------------------------------------------------
   28. RESPONSIVE — DESKTOP
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  .container {
    padding-inline: 40px;
  }

  .header-inner {
    height: 76px;
    gap: 28px;
  }

  .anchor-nav {
    top: 76px;
  }

  .site-header.is-compressed .header-inner {
    height: 60px;
  }

  .site-header.is-compressed .logo img {
    width: 132px;
  }

  .logo img {
    width: 154px;
    max-height: 48px;
  }

  .main-nav {
    display: flex;
    gap: 22px;
    margin-left: auto;
  }

  .menu-toggle {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .header-progress {
    display: block;
  }

  .mobile-bar {
    display: none;
  }

  .hero {
    padding: 58px 0 76px;
  }

  .hero-grid {
    grid-template-columns: 1.35fr 1fr;
    gap: 52px;
  }

  .hero-copy {
    padding-right: 10px;
  }

  .hero h1 {
    max-width: 20ch;
  }

  .hero-pattern {
    opacity: 0.5;
  }

  .citation-card {
    right: -18px;
    bottom: -10px;
    width: 320px;
    padding: 18px 20px;
  }

  .section {
    padding: 96px 0;
  }

  .section--tight {
    padding: 60px 0;
  }

  .docket-band {
    padding: 52px 0 40px;
  }

  .docket-grid {
    gap: 30px;
  }

  .router-grid {
    gap: 18px;
  }

  .router-tile {
    padding: 30px 28px 28px;
    min-height: 190px;
  }

  .router-tile__q {
    font-size: 1.24rem;
  }

  .mosaic {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 28px;
    align-items: start;
  }

  .mosaic>*:nth-child(even) {
    margin-top: 42px;
  }

  .service-card__media img {
    aspect-ratio: 4 / 3;
  }

  .mosaic>*:first-child .service-card__media img {
    aspect-ratio: 16 / 10;
  }

  .mosaic>*:last-child {
    margin-top: 0;
  }

  .stamp-grid {
    gap: 26px;
  }

  .stamp-card {
    padding: 28px 26px 26px;
  }

  .quote-stage {
    min-height: 200px;
  }

  .quote-text {
    min-height: 100px;
  }

  .attorney-card {
    grid-template-columns: 220px 1fr;
    gap: 30px;
    padding: 18px;
  }

  .attorney-card__photo img {
    aspect-ratio: 3 / 4;
  }

  .tool-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .tool-card--wide {
    grid-column: 1 / -1;
  }

  .cta-band {
    padding: 92px 0;
  }

  .footer-grid {
    grid-template-columns: 1.25fr 1.35fr 0.85fr 1fr;
    gap: 30px;
  }

  .journey-list {
    display: block;
    overflow: visible;
    padding: 0;
  }

  .journey-wrap {
    position: relative;
    max-width: 980px;
    margin-inline: auto;
  }

  .rail {
    display: block;
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: 12px;
    width: 2px;
    background: #D9D3C6;
    transform: translateX(-50%);
  }

  .rail-fill {
    position: absolute;
    inset: 0;
    background: var(--green);
    transform: scaleY(var(--progress, 0));
    transform-origin: top;
    transition: transform 0.1s linear;
  }

  .journey-item {
    display: grid;
    grid-template-columns: 1fr 86px 1fr;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 14px 0;
    min-height: 104px;
    flex: none;
  }

  .journey-item .node {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    width: 54px;
    height: 54px;
    font-size: 0.78rem;
    background: var(--paper);
    z-index: 1;
  }

  .journey-item .j-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    padding-right: 14px;
  }

  .journey-item:nth-child(even) .j-content {
    grid-column: 3;
    text-align: left;
    padding-right: 0;
    padding-left: 14px;
  }

  .journey-item__title {
    font-size: 1.04rem;
  }

  .journey-hint {
    display: none;
  }

  .bia-grid {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }

  .care-grid {
    grid-template-columns: 5fr 6fr;
    gap: 48px;
  }

  .office-grid {
    gap: 28px;
  }

  .profile-grid {
    grid-template-columns: 4fr 7fr;
    gap: 50px;
  }

  .problem-grid {
    grid-template-columns: 5fr 7fr;
    gap: 50px;
  }

  .impact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }

  .expertise-grid {
    grid-template-columns: 7fr 5fr;
    gap: 48px;
  }

  .resources-intro {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
  }

  .contact-grid {
    gap: 30px;
  }

  .contact-layout {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 30px;
    align-items: start;
  }

  .practice {
    padding: 80px 0;
    scroll-margin-top: 128px;
  }

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

  .practice-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 46px;
    align-items: start;
  }

  .practice h2 {
    font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  }

  .pathway-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .eb-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-grid {
    gap: 34px;
  }

  .lit-hero {
    min-height: 62vh;
    padding: 120px 0 70px;
  }

  .footer-main {
    padding: 52px 0 38px;
  }

  .footer-promise {
    max-width: 250px;
  }

  .quote-wall {
    gap: 20px;
  }

  .quote-wall .wall-quote:last-child {
    grid-column: 1 / -1;
  }

  .attorney-card__body {
    padding: 8px 12px 10px 0;
  }

  .page-hero {
    padding: 68px 0 58px;
  }

  .intro-hero {
    padding: 70px 0 60px;
  }

  .resources-intro h1 {
    max-width: 14ch;
  }
}

/* --------------------------------------------------------------------------
   29. RESPONSIVE — SMALL MOBILE
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .header-cta {
    display: none;
  }

  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 30px;
  }

  .hero-media {
    width: 100%;
  }

  .hero .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn-row .btn {
    width: 100%;
  }

  .hero-pattern {
    width: 100%;
    opacity: 0.2;
  }

  .router-tile--urgent {
    order: -1;
  }

  .mosaic>*:nth-child(even) {
    margin-top: 0;
  }

  .journey-list {
    margin-inline: -22px;
    padding-inline: 22px;
  }

  .stamp-grid {
    gap: 16px;
  }

  .stamp-card {
    transform: rotate(-1deg);
  }

  .stamp-card:nth-child(2) {
    transform: rotate(0.6deg);
  }

  .quote-stage {
    min-height: 280px;
  }

  .quote-text {
    font-size: 1.18rem;
  }

  .quote-mark {
    font-size: 3.8rem;
  }

  .footer-grid {
    gap: 26px;
  }

  .footer-bottom {
    padding-bottom: calc(70px + env(safe-area-inset-bottom));
  }

  body {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .mobile-bar {
    display: grid;
  }

  .anchor-nav {
    top: 60px;
  }

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

  .contact-layout {
    display: grid;
    gap: 22px;
  }

  .practice__cta .btn {
    width: 100%;
  }

  .lit-hero {
    min-height: 62vh;
    padding: 70px 0 46px;
  }

  .cta-band .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-band .btn {
    width: 100%;
  }

  .cite {
    font-size: 0.92rem;
  }

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

  .header-phone span {
    display: none;
  }

  .logo img {
    width: 120px;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .container {
    padding-inline: 18px;
  }

  .journey-item {
    flex-basis: 86%;
  }

  .hero h1 {
    font-size: 2rem;
  }
}

/* --------------------------------------------------------------------------
   30. REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

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

  .animate-on-scroll,
  .stagger>* {
    opacity: 1;
    transform: none;
  }

  .stamp-card,
  .stamp-card:nth-child(2),
  .stamp-card:nth-child(3) {
    transform: none;
  }

  .stamp,
  .stamp-card.is-visible .stamp {
    opacity: 0.82;
    transform: rotate(-6deg) scale(1);
  }

  .rail-fill {
    transform: scaleY(1);
  }

  .journey-item .node {
    background: var(--green);
    color: #fff;
    border-color: var(--green);
  }

  .cite::after {
    transform: scaleX(1);
  }

  .hero-glow {
    display: none;
  }

  .header-progress {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   31. PRINT
   -------------------------------------------------------------------------- */
@media print {

  .site-header,
  .mobile-panel,
  .scrim,
  .mobile-bar,
  .cta-band,
  .site-footer,
  .carousel-controls {
    display: none !important;
  }

  body {
    background: #fff;
    font-size: 11pt;
    color: #000;
  }

  a {
    color: #000;
  }

  .section {
    padding: 18pt 0;
  }

  .animate-on-scroll,
  .stagger>* {
    opacity: 1;
    transform: none;
  }
}
