:root {
  --paper: #f4eee1;
  --paper-soft: #fbf8f1;
  --linen: #e7dcc9;
  --ink: #211f1b;
  --ink-soft: #524c43;
  --muted: #6b6357;
  --rule: #d8ccb7;
  --rule-soft: #e4dac7;
  --accent: #df744d;
  --accent-text: #a84e32;
  --accent-hover: #ef8a65;
  --green: #4f6155;
  --navy: #22384e;
  --white: #fffdf8;
  --shadow: 0 24px 64px -28px rgba(31, 29, 25, 0.30);
  --shadow-soft: 0 14px 36px -22px rgba(31, 29, 25, 0.22);
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --container: 1180px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(92px + var(--safe-top));
  background: #1f1d19;
}

/* Solid mask for the notch / Dynamic Island zone on cover-viewport
   devices; zero-height everywhere else. Sits above the translucent
   header glass so the status area always reads as solid ink. */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: env(safe-area-inset-top, 0px);
  background: #1f1d19;
  z-index: 120;
  pointer-events: none;
}

body {
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: 18px;
  top: -120px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 4px;
}

.skip-link:focus {
  top: 18px;
}

.wrap {
  width: min(calc(100% - 48px - var(--safe-left) - var(--safe-right)), var(--container));
  margin: 0 auto;
}

.wrap-narrow {
  width: min(calc(100% - 48px - var(--safe-left) - var(--safe-right)), 860px);
  margin: 0 auto;
}

.section {
  padding: clamp(68px, 9vw, 128px) 0;
}

.section-tight {
  padding: clamp(48px, 6vw, 84px) 0;
}

.band {
  background: var(--paper-soft);
  border-block: 1px solid var(--rule);
}

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

.green-band {
  background: linear-gradient(180deg, #273e56 0%, var(--navy) 100%);
  color: var(--paper);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--accent-text);
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.dark-band .eyebrow,
.hero .eyebrow {
  color: var(--accent);
}

.green-band .eyebrow {
  color: var(--paper);
}

.green-band .hero-period {
  color: var(--accent);
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--ink);
  text-wrap: balance;
}

.dark-band h2,
.dark-band h3,
.green-band h2,
.green-band h3,
.hero h1 {
  color: var(--paper);
}

h1 {
  font-size: clamp(3rem, 8vw, 7.2rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
}

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

h4 {
  font-size: 1.1rem;
}

p {
  color: var(--ink-soft);
  text-wrap: pretty;
}

.dark-band p,
.green-band p,
.hero p {
  color: rgba(246, 239, 227, 0.82);
}

.lede {
  max-width: 62ch;
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.muted {
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-top: var(--safe-top);
  border-bottom: 1px solid rgba(246, 239, 227, 0.08);
  background: rgba(31, 29, 25, 0.96);
  -webkit-backdrop-filter: blur(16px) saturate(135%);
  backdrop-filter: blur(16px) saturate(135%);
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgba(246, 239, 227, 0.16);
  background: rgba(31, 29, 25, 0.98);
  box-shadow: 0 10px 28px -18px rgba(31, 29, 25, 0.4);
}

.nav {
  width: min(calc(100% - 36px - var(--safe-left) - var(--safe-right)), 1240px);
  min-height: 77px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-lockup {
  display: block;
  width: clamp(220px, 24vw, 322px);
  max-width: 100%;
  height: auto;
  flex: 0 1 auto;
}

.brand-mark {
  position: relative;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  box-shadow:
    inset 0 0 0 1px var(--rule),
    inset 0 0 0 4px var(--ink),
    inset 0 0 0 5px rgba(216, 204, 183, 0.42);
}

/* Drop-in logo: put an <img>/<svg> inside .brand-mark and the frame steps aside. */
.brand-mark :where(img, svg) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-mark.brand-mark-image {
  background: transparent;
  box-shadow: none;
}

.brand-mark:has(:where(img, svg)) {
  background: transparent;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2vw, 1.34rem);
  line-height: 1.05;
  color: var(--ink);
  white-space: nowrap;
}

.brand-sub {
  margin-top: 4px;
  font-family: var(--mono);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 11px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.005em;
  border-bottom: 2px solid transparent;
  transition: color 160ms ease, border-color 160ms ease;
}

.site-header .nav-links a {
  color: rgba(246, 239, 227, 0.78);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}

.site-header .nav-links a:hover,
.site-header .nav-links a[aria-current="page"] {
  color: var(--paper);
  border-bottom-color: var(--accent);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
  white-space: nowrap;
}

.nav-cta,
.btn-primary {
  background: var(--accent);
  color: var(--ink);
}

.nav-cta {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.nav-cta:hover {
  background: var(--linen);
  color: var(--ink);
  border-color: var(--linen);
}

.nav-cta:hover,
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px -12px rgba(33, 31, 27, 0.32);
}

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

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink-soft);
}

.btn-secondary:hover {
  background: var(--linen);
  color: var(--ink);
}

.btn-outline {
  background: transparent;
  color: var(--paper);
  border-color: rgba(246, 239, 227, 0.52);
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper-soft);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header .menu-toggle {
  border-color: rgba(246, 239, 227, 0.24);
  background: rgba(246, 239, 227, 0.06);
}

.site-header .menu-toggle .bars i {
  background: var(--paper);
}

.site-header .menu-toggle:hover {
  border-color: var(--accent);
  background: rgba(246, 239, 227, 0.1);
}

.menu-toggle:hover {
  border-color: var(--accent-text);
  background: var(--white);
}

.menu-toggle .bars {
  position: relative;
  width: 22px;
  height: 14px;
}

.menu-toggle .bars i {
  position: absolute;
  left: 0;
  top: 0;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transform-origin: center;
  transition: transform 260ms cubic-bezier(0.4, 0.01, 0.2, 1), opacity 140ms ease;
}

.menu-toggle .bars i:nth-child(2) {
  top: 6px;
}

.menu-toggle .bars i:nth-child(3) {
  top: 12px;
}

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

.menu-toggle[aria-expanded="true"] .bars i:nth-child(2) {
  opacity: 0;
  transform: scaleX(0.3);
}

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

.hero {
  min-height: clamp(380px, 38vw, 460px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.hero::after {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(52px, 6vw, 72px) 0 clamp(48px, 5vw, 64px);
}

.hero-title {
  max-width: 24ch;
  margin-top: 18px;
  font-family: var(--sans);
  font-size: clamp(3.45rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-period {
  color: var(--accent);
}

.hero-lower {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 36px;
  align-items: end;
  margin-top: clamp(34px, 4vw, 48px);
}

.hero-lede {
  max-width: 54ch;
  margin-top: 0;
  font-family: var(--sans);
  font-size: clamp(1.06rem, 1.6vw, 1.24rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-lower .hero-actions {
  flex-wrap: nowrap;
  margin-top: 0;
}

.hero-brief {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(42px, 7vw, 82px);
  border-block: 1px solid rgba(246, 239, 227, 0.3);
}

.hero-brief div {
  min-height: 104px;
  padding: 20px;
  border-right: 1px solid rgba(246, 239, 227, 0.22);
}

.hero-brief div:last-child {
  border-right: 0;
}

.hero-brief strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--paper);
}

.hero-brief span {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-size: 0.64rem;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 239, 227, 0.68);
}

.home-practice {
  padding: clamp(58px, 6vw, 76px) 0;
  background: #f1eee7;
  border-top: 0;
}

.home-practice .section-head.split {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.home-practice .section-head h2 {
  font-family: var(--sans);
  font-size: clamp(2rem, 4vw, 3.35rem);
  font-weight: 700;
  line-height: 1.02;
}

.home-practice .section-head > .lede {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
}

.home-practice .grid-3 {
  gap: 16px;
}

.home-practice .practice-card {
  min-height: 214px;
  padding: 56px 26px 24px;
  background: var(--white);
  color: var(--ink);
  border-color: #ddd9d0;
  box-shadow: none;
}

.home-practice .practice-card::before {
  content: none;
}

.home-practice .practice-card h3 {
  max-width: none;
  margin-bottom: 10px;
  font-family: var(--sans);
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.2;
}

.home-practice .service-list {
  display: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}

.intro-copy {
  display: grid;
  gap: 22px;
}

.quote-panel {
  border-left: 4px solid var(--accent);
  padding-left: clamp(22px, 3vw, 34px);
}

.quote-panel p {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.6vw, 2.15rem);
  line-height: 1.25;
  color: var(--ink);
}

.grid-3,
.grid-2,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-head.split {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: end;
}

.practice-card,
.attorney-card,
.info-card,
.program-step,
.faq-item,
.contact-panel,
.placeholder-note {
  background: var(--paper-soft);
  border: 1px solid var(--rule);
  border-radius: 5px;
  box-shadow: var(--shadow-soft);
}

.practice-card {
  transition: transform 240ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 240ms ease, border-color 240ms ease;
}

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

.practice-card.featured:hover {
  border-color: var(--accent);
}

.practice-card {
  min-height: 318px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.practice-card::before {
  content: attr(data-number);
  position: absolute;
  right: 22px;
  top: 18px;
  font-family: var(--serif);
  font-size: 4.7rem;
  line-height: 1;
  color: rgba(33, 31, 27, 0.12);
}

.practice-card.featured {
  grid-column: span 2;
  background: var(--ink);
  color: var(--paper);
}

.practice-card.featured h3,
.practice-card.featured p {
  color: var(--paper);
}

.practice-card h3 {
  max-width: 15ch;
  margin-bottom: 16px;
}

.practice-card p {
  position: relative;
  z-index: 1;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin-top: auto;
  padding-top: 28px;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 9px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.dark-band .service-list li,
.practice-card.featured .service-list li,
.green-band .service-list li {
  color: rgba(246, 239, 227, 0.82);
}

.service-list li::before {
  content: "";
  width: 7px;
  height: 1px;
  margin-top: 13px;
  background: var(--accent-text);
}

.dark-band .service-list li::before,
.practice-card.featured .service-list li::before {
  background: var(--accent);
}

.green-band .service-list li::before {
  background: var(--paper);
}

.attorney-card {
  overflow: hidden;
}

.attorney-photo {
  min-height: 360px;
  display: grid;
  place-items: end;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(33, 54, 75, 0.96), rgba(92, 31, 34, 0.9)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 34px 34px;
  color: var(--paper);
}

.attorney-photo.shapiro {
  background:
    linear-gradient(135deg, rgba(81, 99, 86, 0.96), rgba(33, 54, 75, 0.92)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px) 0 0 / 34px 34px;
}

.attorney-photo span {
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.8;
  color: rgba(246, 239, 227, 0.88);
}

.attorney-body {
  padding: 28px;
}

.attorney-body h3 {
  margin-bottom: 8px;
}

.home-attorneys .attorney-photo {
  min-height: 280px;
}

.profile-link {
  display: inline-block;
  margin-top: 20px;
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--accent-text);
  text-underline-offset: 5px;
}

.profile-link:hover {
  color: var(--ink);
}

.title-line {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin-bottom: 18px;
}

.credential-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.72);
  font-size: 0.82rem;
}

.program {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.program-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid rgba(246, 239, 227, 0.28);
}

.program-summary {
  padding-left: clamp(24px, 4vw, 52px);
  border-left: 1px solid rgba(246, 239, 227, 0.28);
}

.program-summary p {
  max-width: 52ch;
  color: rgba(246, 239, 227, 0.82);
  font-size: 1.08rem;
}

.program-step {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  column-gap: 26px;
  align-items: start;
  padding: 24px 0;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(246, 239, 227, 0.28);
  border-radius: 0;
  box-shadow: none;
}

.program-step strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--paper);
}

.program-step span {
  display: block;
  grid-row: 1 / span 2;
  padding-top: 3px;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: 0;
  color: var(--accent);
}

.program-step p {
  grid-column: 2;
  max-width: 52ch;
  font-size: 0.98rem;
}

/* Ledger variant for light bands (ST Enterprise overview) */

.overview-band {
  background: #f1eee7;
}

.band .program-steps {
  border-top-color: var(--rule);
}

.band .program-step {
  border-bottom-color: var(--rule);
}

.band .program-step span {
  color: var(--accent-text);
}

.band .program-step strong {
  color: var(--ink);
}

.band .program-step p {
  color: var(--ink-soft);
}

.page-head {
  padding: clamp(62px, 9vw, 116px) 0 clamp(44px, 6vw, 72px);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.72), rgba(231, 220, 201, 0.56)),
    var(--paper);
}

.page-head h1 {
  max-width: 12ch;
  margin-top: 16px;
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.page-head .lede {
  margin-top: 22px;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.crumbs a {
  color: var(--accent-text);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}

.profile-side {
  position: sticky;
  top: 104px;
}

.profile-side .attorney-photo {
  min-height: 440px;
}

.profile-body {
  display: grid;
  gap: 28px;
}

.profile-body > p:first-child {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.48;
  color: var(--ink);
}

.fact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  list-style: none;
}

.fact-list li {
  padding: 16px 0;
  border-top: 1px solid var(--rule);
}

.fact-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--ink);
}

.fact-list span {
  display: block;
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.placeholder-note {
  padding: 20px;
  background: var(--paper-soft);
  border-color: var(--rule);
}

.placeholder-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--accent-text);
}

.practice-detail {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(36px, 6vw, 76px);
}

.practice-nav {
  position: sticky;
  top: 104px;
  align-self: start;
  padding: 22px;
  border: 1px solid var(--rule);
  background: var(--paper-soft);
  border-radius: 6px;
}

.practice-nav h2 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.practice-nav ol {
  list-style: none;
  counter-reset: practice;
}

.practice-nav li {
  counter-increment: practice;
  border-top: 1px solid var(--rule);
}

.practice-nav li:first-child {
  border-top: 0;
}

.practice-nav a {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  padding: 12px 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.practice-nav a::before {
  content: counter(practice, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--accent-text);
  padding-top: 2px;
}

.practice-nav a:hover {
  color: var(--accent-text);
}

.practice-article {
  padding: 38px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 104px;
}

.practice-article:first-child {
  padding-top: 0;
  border-top: 0;
}

.practice-article .lede {
  margin-top: 12px;
  color: var(--ink);
}

.practice-article p {
  max-width: 70ch;
  margin-top: 16px;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 22px;
  margin-top: 26px;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding-top: 11px;
  border-top: 1px solid var(--rule);
}

.feature-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 9px;
  background: var(--accent-text);
  transform: rotate(45deg);
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid rgba(246, 239, 227, 0.24);
}

.timeline-item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(246, 239, 227, 0.24);
}

.timeline-item span {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
}

.timeline-item h3 {
  margin-bottom: 8px;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

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

.faq-item {
  box-shadow: none;
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  min-height: 70px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 18px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.24rem;
  color: var(--ink);
}

.faq-item button span:last-child {
  position: relative;
  width: 24px;
  height: 24px;
}

.faq-item button span:last-child::before,
.faq-item button span:last-child::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  top: 11px;
  height: 1px;
  background: var(--accent-text);
  transition: transform 160ms ease;
}

.faq-item button span:last-child::after {
  transform: rotate(90deg);
}

.faq-item.is-open button span:last-child::after {
  transform: rotate(0deg);
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 220ms ease;
}

.faq-panel-inner {
  padding: 0 24px 24px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(310px, 0.92fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 20px;
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.field,
.consent {
  display: grid;
  gap: 8px;
}

.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: var(--paper-soft);
  padding: 13px 14px;
  color: var(--ink);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-text);
  outline: 3px solid rgba(168, 78, 50, 0.2);
}

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

.consent {
  grid-template-columns: 18px 1fr;
  align-items: start;
}

.consent input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: var(--accent-text);
}

.consent label {
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
}

.form-notice {
  display: none;
  padding: 18px;
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--paper-soft);
}

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

.form-notice strong,
.form-notice span {
  display: block;
}

.form-notice span {
  margin-top: 4px;
  color: var(--ink-soft);
}

.contact-panel {
  padding: 28px;
}

.contact-panel + .contact-panel {
  margin-top: 18px;
}

.contact-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.contact-list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.contact-list span {
  display: block;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-list a {
  color: var(--accent-text);
  font-weight: 700;
}

.prose {
  padding: clamp(48px, 7vw, 86px) 0;
}

.prose h2 {
  margin-top: 42px;
  margin-bottom: 12px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

.prose a {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: var(--ink);
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 14px;
}

.prose ul {
  padding-left: 22px;
}

.cta-band {
  padding: clamp(54px, 7vw, 96px) 0;
  background: var(--ink);
  color: var(--paper);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.cta-inner h2 {
  color: var(--paper);
}

.cta-inner p {
  max-width: 60ch;
  margin-top: 14px;
  color: rgba(246, 239, 227, 0.84);
}

.site-footer {
  padding: 56px var(--safe-right) calc(30px + var(--safe-bottom)) var(--safe-left);
  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) repeat(3, minmax(160px, 1fr));
  gap: 34px;
}

.footer-brand .brand-name,
.footer-brand .brand-sub {
  color: var(--paper);
}

.site-footer .brand-lockup {
  width: min(315px, 100%);
}

.footer-brand p {
  margin-top: 18px;
  max-width: 38ch;
  color: rgba(246, 239, 227, 0.68);
}

.footer-col h3 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-col ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.footer-col a,
.footer-col li,
.footer-col address {
  color: rgba(246, 239, 227, 0.74);
  font-style: normal;
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--paper);
}

.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 239, 227, 0.18);
  color: rgba(246, 239, 227, 0.6);
  font-size: 0.78rem;
}

.footer-bottom p {
  color: rgba(246, 239, 227, 0.72);
}

.footer-bottom strong {
  color: var(--paper);
}

.footer-bottom a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.copyright {
  white-space: nowrap;
}

.mobile-only {
  display: none;
}

@media (max-width: 960px) {
  .menu-toggle {
    display: grid;
  }

  .nav-panel {
    position: fixed;
    inset: calc(77px + var(--safe-top)) 0 auto 0;
    max-height: calc(100svh - 77px - var(--safe-top));
    display: grid;
    gap: 6px;
    padding: 18px 24px 28px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 240ms cubic-bezier(0.4, 0.01, 0.2, 1), opacity 200ms ease, visibility 0s linear 240ms;
    overflow: auto;
  }

  .site-header .nav-panel .nav-links a {
    color: var(--ink);
  }

  .site-header .nav-panel .nav-links a:hover,
  .site-header .nav-panel .nav-links a[aria-current="page"] {
    color: var(--accent-text);
  }

  .nav-panel.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform 280ms cubic-bezier(0.16, 1, 0.3, 1), opacity 200ms ease;
  }

  .nav-links {
    display: grid;
    gap: 0;
  }

  .nav-links a {
    min-height: 54px;
    padding: 0 4px;
    border-bottom: 1px solid var(--rule-soft);
    border-radius: 0;
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--ink);
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    color: var(--accent-text);
    border-bottom-color: var(--rule-soft);
  }

  .nav-panel .nav-cta {
    width: 100%;
    margin-top: 10px;
  }

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

  .hero-brief div:nth-child(2) {
    border-right: 0;
  }

  .hero-brief div:nth-child(1),
  .hero-brief div:nth-child(2) {
    border-bottom: 1px solid rgba(246, 239, 227, 0.22);
  }

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

@media (max-width: 880px) {
  .wrap,
  .wrap-narrow {
    width: min(100% - 34px, var(--container));
  }

  .section-head.split,
  .intro-grid,
  .program,
  .profile-layout,
  .practice-detail,
  .faq-layout,
  .contact-grid,
  .cta-inner,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .home-practice .section-head.split {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .grid-3,
  .grid-2,
  .feature-list,
  .service-list,
  .fact-list,
  .field-row,
  .program-steps {
    grid-template-columns: 1fr;
  }

  .practice-card.featured {
    grid-column: auto;
  }

  .program-summary {
    padding-top: 28px;
    padding-left: 0;
    border-top: 1px solid rgba(246, 239, 227, 0.28);
    border-left: 0;
  }

  .profile-side,
  .practice-nav {
    position: static;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .copyright {
    white-space: normal;
  }
}

@media (max-width: 620px) {
  .nav {
    width: min(100% - 24px, 1240px);
  }

  .brand-lockup {
    width: clamp(178px, 58vw, 230px);
  }

  .brand-sub {
    display: none;
  }

  .hero {
    min-height: 600px;
  }

  .hero-content {
    padding-top: 48px;
    padding-bottom: 34px;
  }

  .hero-title {
    max-width: none;
    font-size: 3rem;
  }

  .hero-lede {
    margin-top: 16px;
    font-size: 1.08rem;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-lower {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 36px;
  }

  .hero-lower .hero-actions {
    flex-wrap: wrap;
    margin-top: 0;
  }

  .hero-brief {
    display: none;
  }

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

  .btn,
  .hero-actions .btn {
    width: 100%;
  }

  .mobile-only {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* =====================================================================
   CINEMATIC PRESENTATION LAYER
   Append-only overrides. The base system above is unchanged.
   Motion rules are gated on the .js class (set inline in each <head>)
   and on prefers-reduced-motion: no-preference, so content is always
   visible without JavaScript and for reduced-motion users.
   ===================================================================== */

:root {
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
  --ink-deep: #191713;
  --ink-raise: #272420;
}

/* ---- Film grain: one fixed, non-interactive layer over the page ---- */

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  opacity: 0.05;
}

@media print {
  body::after,
  .page-veil,
  .scroll-cue {
    display: none !important;
  }

  .js [data-reveal],
  .js .cine-item,
  .js .title-word,
  .js .reveal-line,
  [data-parallax] {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* ---- Header: transparent over the dark title card, glass on scroll ---- */

.site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background 360ms ease, border-color 360ms ease, box-shadow 360ms ease;
}

.site-header.is-scrolled {
  background: rgba(24, 22, 18, 0.96);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: rgba(246, 239, 227, 0.12);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.55);
}

/* While the menu is open the header must not carry a backdrop
   filter: a filtered ancestor becomes the containing block for the
   fixed menu panel, which pins and clips the panel inside the
   header bar instead of filling the screen. */
body.nav-open .site-header {
  background: var(--ink);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---- Home hero: taller title card with tonal depth ---- */

.hero {
  min-height: clamp(560px, 72vh, 820px);
  min-height: clamp(560px, 72svh, 820px);
  background: linear-gradient(180deg, var(--ink-raise) 0%, var(--ink) 55%, var(--ink-deep) 100%);
}

.hero::after {
  display: block;
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 85% at 15% 0%, rgba(246, 239, 227, 0.05), transparent 55%),
    radial-gradient(130% 90% at 88% 115%, rgba(0, 0, 0, 0.35), transparent 60%);
}

.hero-title {
  max-width: 22ch;
  font-size: clamp(3.4rem, 6.8vw, 6.6rem);
  letter-spacing: 0;
}

@media (max-width: 620px) {
  .hero-content {
    padding-top: 104px;
  }
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: calc(24px + var(--safe-bottom));
  z-index: 1;
  width: 1px;
  height: 58px;
  overflow: hidden;
  transition: opacity 400ms ease;
}

.js.has-scrolled .scroll-cue {
  animation: none;
  opacity: 0;
}

.scroll-cue::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--accent));
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue {
    display: none;
  }
}

/* ---- Sub-page title cards: dark ink openings matching the hero ---- */

.page-head {
  position: relative;
  overflow: hidden;
  padding: clamp(132px, 16vw, 190px) 0 clamp(60px, 8vw, 100px);
  background: linear-gradient(180deg, var(--ink-raise) 0%, var(--ink) 60%, var(--ink-deep) 100%);
  border-bottom: 1px solid rgba(246, 239, 227, 0.12);
  color: var(--paper);
}

.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(110% 85% at 15% 0%, rgba(246, 239, 227, 0.045), transparent 55%),
    radial-gradient(130% 90% at 88% 115%, rgba(0, 0, 0, 0.35), transparent 60%);
}

.page-head .wrap {
  position: relative;
  z-index: 1;
}

.page-head h1 {
  color: var(--paper);
  font-size: clamp(3rem, 7.2vw, 6.4rem);
}

.page-head .eyebrow {
  color: var(--accent);
}

.page-head .lede {
  color: rgba(246, 239, 227, 0.78);
}

.page-head .crumbs {
  color: rgba(246, 239, 227, 0.66);
}

.page-head .crumbs a {
  color: var(--accent);
}

.page-head .crumbs a:hover {
  color: var(--paper);
}

/* ---- Closing band: pages end dark, flowing into the ink footer ---- */

.cta-band {
  background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
  border-top: 1px solid rgba(246, 239, 227, 0.1);
  border-bottom: 1px solid rgba(246, 239, 227, 0.1);
}

.cta-inner p {
  color: rgba(246, 239, 227, 0.72);
}

/* ---- Home practice cards ---- */

.home-practice .practice-card {
  padding: 30px 26px 26px;
}

.home-practice .practice-card h3 {
  padding-right: 0;
}

.attorney-card {
  transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 300ms ease;
}

.attorney-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-text);
  box-shadow: var(--shadow);
}

/* ---- FAQ: editorial hairline list instead of boxed cards ---- */

.faq-list {
  gap: 0;
}

.faq-item {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  box-shadow: none;
}

.faq-item:last-child {
  border-bottom: 1px solid var(--rule);
}

.faq-item button {
  min-height: 76px;
  padding: 24px 6px;
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  transition: color 240ms ease;
}

.faq-item button:hover,
.faq-item.is-open button {
  color: var(--accent-text);
}

.faq-panel {
  transition: max-height 460ms var(--ease-soft);
}

.faq-panel-inner {
  padding: 0 6px 28px;
  max-width: 64ch;
}

/* ---- Contact form focus states in the accent color ---- */

.field input,
.field select,
.field textarea {
  transition: border-color 200ms ease, background 200ms ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent-text);
  outline: 3px solid rgba(168, 78, 50, 0.2);
}

/* ---- Mobile navigation: full-screen ink overlay ---- */

@media (max-width: 960px) {
  .nav-panel {
    inset: calc(77px + var(--safe-top)) 0 0 0;
    max-height: none;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 30px calc(28px + var(--safe-right)) calc(40px + var(--safe-bottom)) calc(28px + var(--safe-left));
    background: linear-gradient(180deg, var(--ink) 0%, var(--ink-deep) 100%);
    border-bottom: 0;
    box-shadow: none;
  }

  .nav-links {
    counter-reset: navi;
  }

  .nav-links li {
    counter-increment: navi;
  }

  .nav-links a,
  .site-header .nav-panel .nav-links a {
    min-height: 68px;
    color: var(--paper);
    font-size: 1.9rem;
    border-bottom: 1px solid rgba(246, 239, 227, 0.12);
  }

  .nav-links a::before {
    content: counter(navi, decimal-leading-zero);
    margin-right: 16px;
    font-family: var(--mono);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    color: var(--accent);
  }

  .nav-links a:hover,
  .nav-links a[aria-current="page"],
  .site-header .nav-panel .nav-links a:hover,
  .site-header .nav-panel .nav-links a[aria-current="page"] {
    color: var(--accent);
    border-bottom-color: rgba(246, 239, 227, 0.12);
  }

  .nav-panel .nav-cta {
    margin-top: auto;
  }
}

/* ---- Page veil: navigation dims through ink ---- */

.page-veil {
  position: fixed;
  inset: 0;
  z-index: 1600;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms var(--ease-soft);
}

.is-leaving .page-veil {
  opacity: 1;
  pointer-events: auto;
}

/* ---- Motion engine (JS + full-motion users only) ---- */

.title-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.14em;
  margin-bottom: -0.14em;
}

.title-word,
.reveal-line {
  display: inline-block;
}

.practice-article {
  position: relative;
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes cine-fade-rise {
    from {
      opacity: 0;
      transform: translateY(26px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes cine-word-rise {
    from {
      transform: translateY(118%);
    }
    to {
      transform: translateY(0);
    }
  }

  @keyframes cine-period-in {
    from {
      opacity: 0;
      transform: scale(0.3) translateY(0.08em);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes cine-rule-draw {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  @keyframes cine-reveal {
    from {
      opacity: 0;
      transform: translateY(30px);
    }
    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes cine-cue {
    0% {
      transform: translateY(-100%);
    }
    62% {
      transform: translateY(100%);
    }
    100% {
      transform: translateY(100%);
    }
  }

  /* Title-card entrance sequence (plays on load, pure CSS) */

  .js .cine-item {
    animation: cine-fade-rise 0.8s var(--ease-out) both;
    animation-delay: calc(0.1s + var(--ci, 0) * 0.13s);
  }

  .js .hero .eyebrow::before,
  .js .page-head .eyebrow::before {
    transform-origin: left center;
    animation: cine-rule-draw 0.8s var(--ease-out) both;
    animation-delay: 0.45s;
  }

  .js .title-word {
    animation: cine-word-rise 0.95s var(--ease-out) both;
    animation-delay: calc(0.24s + var(--wi, 0) * 0.075s);
  }

  .js .reveal-line {
    animation: cine-word-rise 0.9s var(--ease-out) both;
    animation-delay: 0.28s;
  }

  .js .hero-title .hero-period,
  .js .page-head h1 .hero-period {
    display: inline-block;
    animation: cine-period-in 0.5s var(--ease-out) both;
    animation-delay: 1.05s;
  }

  .js .scroll-cue {
    opacity: 0;
    animation: cine-fade-rise 0.8s var(--ease-out) both;
    animation-delay: 1.5s;
  }

  .js .scroll-cue::before {
    transform: translateY(-100%);
    animation: cine-cue 2.6s var(--ease-soft) infinite;
    animation-delay: 1.9s;
  }

  /* Scroll reveals. The 3.5s base delay is a no-JS/failed-JS safety
     net: if the observer never fires, content still fades in. */

  .js [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    animation: cine-reveal 0.95s var(--ease-out) both;
    animation-delay: 3.5s;
  }

  .js [data-reveal].is-inview {
    animation-delay: calc(var(--ri, 0) * 75ms);
  }

  .js [data-reveal].is-settled {
    animation: none;
    opacity: 1;
    transform: none;
  }

  /* Hairline rules draw in as practice articles reveal */

  .js .practice-article[data-reveal]:not(:first-child) {
    border-top-color: transparent;
  }

  .js .practice-article[data-reveal]:not(:first-child)::before {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--rule);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 1.2s var(--ease-out) 0.15s;
  }

  .js .practice-article[data-reveal].is-inview::before,
  .js .practice-article[data-reveal].is-settled::before {
    transform: scaleX(1);
  }

  /* Mobile menu: staggered link rise while the overlay opens */

  @media (max-width: 960px) {
    .js .nav-panel .nav-links li {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
    }

    .js .nav-panel .nav-cta {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 420ms var(--ease-out), transform 420ms var(--ease-out);
    }

    .js .nav-panel.is-open .nav-links li,
    .js .nav-panel.is-open .nav-cta {
      opacity: 1;
      transform: none;
    }

    .js .nav-panel.is-open .nav-links li:nth-child(1) { transition-delay: 40ms; }
    .js .nav-panel.is-open .nav-links li:nth-child(2) { transition-delay: 80ms; }
    .js .nav-panel.is-open .nav-links li:nth-child(3) { transition-delay: 120ms; }
    .js .nav-panel.is-open .nav-links li:nth-child(4) { transition-delay: 160ms; }
    .js .nav-panel.is-open .nav-links li:nth-child(5) { transition-delay: 200ms; }
    .js .nav-panel.is-open .nav-links li:nth-child(6) { transition-delay: 240ms; }
    .js .nav-panel.is-open .nav-cta { transition-delay: 300ms; }
  }
}
