/* ============================================================
   ROZENFELD — Steven Rozenfeld PLLC
   Design system: dusk-navy alpine palette, engraved Cinzel
   wordmark, Cormorant display, signal-red "meridian" line
   lifted from the firm's physical signage.
   ============================================================ */

:root {
  /* Surfaces */
  --ink: #0a1322;
  --navy: #101f36;
  --navy-2: #162945;
  --navy-raised: #172b48;
  --steel: #3e5678;
  --mist: #a9bacf;
  --limestone: #edeae1;
  --paper: #f7f5ee;

  /* Text */
  --text: #24344c;
  --muted: #5c6d85;
  --head-dark: #0f1d33;
  --text-on-dark: #dfe6ef;

  /* Accent — the signage line */
  --signal: #e8442f;
  --signal-glow: #ff5a43;
  --crimson: #a8271b;

  /* Lines */
  --line: rgba(15, 29, 51, 0.14);
  --line-dark: rgba(169, 186, 207, 0.16);

  /* Type */
  --f-engraved: "Cinzel", "Trajan Pro", serif;
  --f-display: "Cormorant Garamond", Georgia, serif;
  --f-body: "Source Sans 3", "Source Sans Pro", -apple-system, Segoe UI, sans-serif;

  --nav-h: 84px;
  --radius: 3px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--crimson); text-decoration: none; }
a:hover { text-decoration: none; }

h1, h2, h3 { font-family: var(--f-display); font-weight: 500; color: var(--head-dark); margin: 0 0 0.5em; line-height: 1.12; }
h4, h5 { font-family: var(--f-body); color: var(--head-dark); margin: 0 0 0.4em; }
p { margin: 0 0 1.1em; }

::selection { background: rgba(232, 68, 47, 0.22); }

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

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 300;
  background: var(--ink); color: #fff; padding: 10px 18px; font-weight: 600;
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(1180px, 92vw); margin: 0 auto; }
.container--narrow { width: min(860px, 92vw); margin: 0 auto; }

/* ---------- Shared marks ---------- */
.eyebrow {
  font-family: var(--f-engraved);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--crimson);
  display: block;
  margin-bottom: 1.1rem;
}
.on-dark .eyebrow, .eyebrow--light { color: var(--signal-glow); }

/* The meridian — the red signage line, reused as a rule */
.meridian {
  width: 72px; height: 2px; border: 0; margin: 1.6rem 0;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(232, 68, 47, 0.55);
  transform-origin: left center;
}
.meridian--center { margin-left: auto; margin-right: auto; transform-origin: center; }
.reveal.is-visible .meridian, .meridian.is-visible { animation: draw-line 1s cubic-bezier(.22,.9,.3,1) both; }
@keyframes draw-line { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  padding: 15px 34px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .2s ease, box-shadow .25s ease;
}
.btn:active { transform: translateY(1px); }

.btn--solid { background: var(--crimson); color: #fff; }
.btn--solid:hover { background: #8f1f14; box-shadow: 0 6px 22px rgba(168, 39, 27, 0.35); }

.btn--signal { background: var(--signal); color: #fff; }
.btn--signal:hover { background: #cf3320; box-shadow: 0 0 26px rgba(232, 68, 47, 0.45); }

.btn--ghost-light { border-color: rgba(223, 230, 239, 0.55); color: var(--text-on-dark); background: transparent; }
.btn--ghost-light:hover { border-color: var(--signal-glow); color: #fff; background: rgba(232, 68, 47, 0.08); }

.btn--ghost-dark { border-color: rgba(15, 29, 51, 0.35); color: var(--head-dark); background: transparent; }
.btn--ghost-dark:hover { border-color: var(--crimson); color: var(--crimson); }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .35s ease, box-shadow .35s ease, height .35s ease;
  background: transparent;
}
.nav.is-scrolled { height: 70px; }
/* Blurred bar background lives on a ::before layer, NOT on .nav itself —
   a filter on .nav would become the containing block for the fixed mobile
   menu and un-hide it on scroll. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: transparent;
  transition: background .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
}
.nav.is-scrolled::before {
  background: rgba(10, 19, 34, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(169, 186, 207, 0.14), 0 12px 30px rgba(4, 9, 18, 0.35);
}
.nav__inner {
  width: min(1320px, 94vw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.brand {
  display: flex; flex-direction: column; line-height: 1;
  color: #fff;
}
.brand__word {
  font-family: var(--f-engraved);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.3em;
  color: #f4f1e9;
  margin-right: -0.3em;
}
.brand__word span { color: var(--signal-glow); }
.brand__sub {
  font-family: var(--f-body);
  font-size: 0.6rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--mist);
  margin-top: 6px;
}
.nav__links { display: flex; align-items: center; gap: 2.1rem; list-style: none; margin: 0; padding: 0; }
.nav__links a:not(.btn) {
  color: var(--text-on-dark);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  position: relative;
  padding: 6px 0;
}
.nav__links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--signal); transform: scaleX(0); transform-origin: left center;
  transition: transform .3s ease;
  box-shadow: 0 0 8px rgba(232, 68, 47, 0.6);
}
.nav__links a:not(.btn):hover::after,
.nav__links a:not(.btn)[aria-current="page"]::after { transform: scaleX(1); }
.nav__links .btn { padding: 11px 22px; font-size: 0.85rem; }

.nav__toggle {
  display: none;
  background: none; border: 0; cursor: pointer; padding: 10px;
}
.nav__toggle span {
  display: block; width: 26px; height: 2px; background: #f4f1e9; margin: 6px 0;
  transition: transform .3s ease, opacity .3s ease;
}
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  background: var(--ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__parallax {
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(125% 95% at 50% 40%, rgba(10,19,34,0) 0%, rgba(10,19,34,0.30) 52%, rgba(7,12,22,0.82) 100%),
    linear-gradient(180deg, rgba(6,11,20,0.62) 0%, rgba(9,15,28,0.26) 42%, rgba(6,11,20,0.92) 100%),
    linear-gradient(0deg, rgba(232,68,47,0.16) 0%, rgba(232,68,47,0) 16%);
}

.hero__content {
  text-align: center;
  padding: calc(var(--nav-h) + 4vh) 6vw 16vh;
  max-width: 980px;
}
.hero__kicker {
  font-family: var(--f-engraved);
  font-weight: 600;
  font-size: clamp(0.68rem, 1.1vw, 0.8rem);
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--mist);
  margin: 0 0 2rem;
}
.hero__title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2.5rem, 6vw, 4.7rem);
  line-height: 1.08;
  color: #f4f1e9;
  margin: 0 auto 1.4rem;
  text-wrap: balance;
}
.hero__title em { font-style: italic; color: #fff; }
.hero__line {
  width: 110px; height: 2px; margin: 2rem auto;
  background: var(--signal-glow);
  box-shadow: 0 0 14px rgba(255, 90, 67, 0.9), 0 0 34px rgba(255, 90, 67, 0.5);
  animation: draw-line 1.4s .5s cubic-bezier(.22,.9,.3,1) both;
  transform-origin: center;
}
.hero__sub {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  color: var(--mist);
  max-width: 620px;
  margin: 0 auto 2.6rem;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
  color: var(--mist); font-size: 0.7rem; letter-spacing: 0.35em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  z-index: 2;
}
.hero__scroll::after {
  content: ""; width: 1px; height: 42px;
  background: linear-gradient(var(--signal-glow), transparent);
  animation: drop 2.4s ease-in-out infinite;
}
@keyframes drop { 0%,100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(8px); opacity: .4; } }

/* Load-in choreography */
.rise { opacity: 0; transform: translateY(26px); animation: rise .9s cubic-bezier(.2,.7,.3,1) forwards; }
.rise.d1 { animation-delay: .15s; }
.rise.d2 { animation-delay: .3s; }
.rise.d3 { animation-delay: .55s; }
.rise.d4 { animation-delay: .75s; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }


/* ---------- Subpage hero ---------- */
.page-hero {
  position: relative;
  background: var(--ink);
  padding: calc(var(--nav-h) + 9vh) 0 0;
  overflow: hidden;
  isolation: isolate;
}
.page-hero__art { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.page-hero__parallax {
  position: absolute; inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center 42%;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.page-hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7,12,22,0.72) 0%, rgba(9,15,28,0.48) 55%, rgba(9,14,25,0.93) 100%),
    linear-gradient(0deg, rgba(232,68,47,0.14) 0%, rgba(232,68,47,0) 22%);
}
.page-hero__content { padding-bottom: 11vh; }
.page-hero .eyebrow { color: var(--signal-glow); }
.page-hero h1 {
  color: #f4f1e9;
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 18ch;
}
.page-hero p.lede {
  color: var(--mist);
  font-size: 1.15rem;
  max-width: 58ch;
  margin-top: 1.2rem;
}

/* ---------- Ridge separators ---------- */
.ridge-sep { display: block; width: 100%; height: auto; margin-bottom: -1px; }
.ridge-sep--flush { margin-top: -1px; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section--light { background: var(--limestone); }
.section--paper { background: var(--paper); }
.section--dark { background: var(--navy); color: var(--text-on-dark); }
.section--ink { background: var(--ink); color: var(--text-on-dark); }
.section--dark h2, .section--ink h2, .section--dark h3, .section--ink h3 { color: #f4f1e9; }
.section--dark p, .section--ink p { color: var(--mist); }

.section-head { max-width: 720px; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .meridian { margin-left: auto; margin-right: auto; }

/* Contour etching (topographic texture on light sections) */
.contours {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0;
  color: var(--steel);
  opacity: 0.6;
}
.contours svg { position: absolute; top: -60px; right: -80px; width: 520px; height: 520px; }
.section > .container, .section > .container--narrow { position: relative; z-index: 1; }

/* ---------- Profile / pillars ---------- */
.lede-grid {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.lede-grid .statement {
  font-family: var(--f-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.4;
  color: var(--head-dark);
}
.lede-grid .statement strong { font-weight: 600; }

.pillars { display: grid; gap: 0; border-top: 1px solid var(--line); }
.pillar { padding: 1.6rem 0 1.5rem; border-bottom: 1px solid var(--line); }
.pillar h3 { font-size: 1.45rem; margin-bottom: 0.3rem; }
.pillar p { color: var(--muted); margin: 0; font-size: 1rem; }
.pillar__label {
  font-family: var(--f-engraved); font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.3em; color: var(--crimson); text-transform: uppercase;
  display: inline-block; margin-bottom: 0.55rem;
}

/* ---------- Practice grid (home) ---------- */
.practice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.practice-card {
  position: relative;
  display: flex; flex-direction: column;
  background: rgba(223, 230, 239, 0.04);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem 1.7rem;
  color: var(--text-on-dark);
  transition: border-color .3s ease, background-color .3s ease, transform .3s ease;
  overflow: hidden;
}
.practice-card::before {
  content: ""; position: absolute; top: 0; left: 0; height: 2px; width: 100%;
  background: var(--signal);
  box-shadow: 0 0 12px rgba(232, 68, 47, 0.7);
  transform: scaleX(0); transform-origin: left center;
  transition: transform .45s cubic-bezier(.22,.9,.3,1);
}
.practice-card:hover { border-color: rgba(232, 68, 47, 0.45); background: rgba(223, 230, 239, 0.07); transform: translateY(-4px); }
.practice-card:hover::before { transform: scaleX(1); }
.practice-card h3 { font-size: 1.42rem; color: #f4f1e9; margin-bottom: 0.55rem; }
.practice-card p { font-size: 0.97rem; color: var(--mist); flex: 1; margin-bottom: 1.4rem; }
.practice-card .go {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--signal-glow);
}
.practice-card .go::after { content: " →"; transition: margin-left .25s ease; }
.practice-card:hover .go::after { margin-left: 6px; }

/* ---------- Attorney split (home) ---------- */
.attorney-split {
  display: grid; grid-template-columns: minmax(300px, 430px) 1fr;
  gap: clamp(2.4rem, 6vw, 5.5rem); align-items: center;
}
.portrait {
  position: relative;
}
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -18px rgba(10, 19, 34, 0.45);
}
.portrait::after {
  content: "";
  position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(168, 39, 27, 0.45);
  border-radius: var(--radius);
  z-index: -1;
}
.portrait__tag {
  position: absolute; left: 0; bottom: -14px;
  background: var(--ink); color: #f4f1e9;
  font-family: var(--f-engraved); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.28em;
  padding: 10px 18px; text-transform: uppercase;
  border-left: 2px solid var(--signal);
}
.attorney-copy h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
.attorney-copy .role { color: var(--crimson); font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.82rem; margin-bottom: 1.3rem; }
.cred-row { display: flex; flex-wrap: wrap; gap: 2.4rem; margin: 1.8rem 0 2.2rem; }
.cred-row div { border-left: 2px solid var(--signal); padding-left: 1rem; }
.cred-row .k { font-family: var(--f-engraved); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 4px; }
.cred-row .v { font-weight: 600; color: var(--head-dark); font-size: 0.98rem; }

/* ---------- Quote band ---------- */
.quote-band { text-align: center; }
.quote-band blockquote {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  line-height: 1.35;
  color: #f4f1e9;
  max-width: 21ch;
  margin: 0 auto;
}
.quote-band blockquote strong { color: var(--signal-glow); font-weight: 500; }
.quote-band figcaption {
  margin-top: 2rem;
  font-family: var(--f-engraved); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--mist);
}

/* ---------- Contact band ---------- */
.contact-band { text-align: center; }
.contact-band h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); color: #f4f1e9; max-width: 22ch; margin: 0 auto 1rem; }
.contact-band .email-line {
  font-family: var(--f-display); font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--mist); margin: 1.6rem 0 2.4rem;
}
.contact-band .email-line a { color: #f4f1e9; border-bottom: 1px solid var(--signal); padding-bottom: 3px; transition: color .25s ease; }
.contact-band .email-line a:hover { color: var(--signal-glow); }

/* ---------- Practice detail page ---------- */
.practice-layout {
  display: grid; grid-template-columns: 240px 1fr; gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: start;
}
.trail-index {
  position: sticky; top: 110px;
  border-left: 1px solid var(--line);
}
.trail-index a {
  display: block; position: relative;
  padding: 0.62rem 0 0.62rem 1.4rem;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--muted);
  transition: color .25s ease;
}
.trail-index a::before {
  content: ""; position: absolute; left: -1px; top: 50%; transform: translateY(-50%) scaleY(0);
  width: 2px; height: 70%;
  background: var(--signal); box-shadow: 0 0 8px rgba(232,68,47,.6);
  transition: transform .3s ease;
}
.trail-index a:hover { color: var(--head-dark); }
.trail-index a.is-active { color: var(--crimson); }
.trail-index a.is-active::before { transform: translateY(-50%) scaleY(1); }
.trail-index__label {
  font-family: var(--f-engraved); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--head-dark);
  padding: 0 0 0.8rem 1.4rem; display: block;
}

.practice-block { padding: 3.2rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.practice-block:first-of-type { padding-top: 0.6rem; }
.practice-block:last-of-type { border-bottom: 0; }
.practice-block h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
.practice-block > p.intro { max-width: 62ch; }
.svc-list { list-style: none; margin: 1.8rem 0 0; padding: 0; display: grid; gap: 1.3rem; }
.svc-list li {
  padding-left: 1.5rem; position: relative;
}
.svc-list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 14px; height: 2px; background: var(--signal);
}
.svc-list .svc-k { font-weight: 600; color: var(--head-dark); }
.svc-list .svc-v { color: var(--muted); }

/* ---------- Attorney page ---------- */
.bio-layout {
  display: grid; grid-template-columns: minmax(300px, 400px) 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start;
}
.bio-layout .portrait { position: sticky; top: 120px; }
.bio-copy h2 { font-size: 1.7rem; margin-top: 2.6rem; }
.bio-copy h2:first-of-type { margin-top: 0; }
.fact-list { list-style: none; margin: 0.6rem 0 0; padding: 0; }
.fact-list li {
  padding: 0.7rem 0 0.7rem 1.5rem; border-bottom: 1px solid var(--line); position: relative;
  color: var(--text); font-weight: 500;
}
.fact-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 14px; height: 2px; background: var(--signal);
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.8rem; }
.chip {
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.03em;
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; color: var(--head-dark);
  transition: border-color .25s ease, color .25s ease;
}
a.chip:hover { border-color: var(--crimson); color: var(--crimson); }

/* ---------- Careers ---------- */
.careers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.6rem; }
.tenet {
  border-top: 2px solid var(--signal);
  background: var(--paper);
  padding: 1.8rem 1.6rem;
  border-radius: var(--radius);
  box-shadow: 0 14px 34px -22px rgba(10, 19, 34, 0.35);
}
.tenet h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.tenet p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--signal);
  background: var(--paper);
  padding: 1.4rem 1.7rem;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
}

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.form-aside h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.form-aside .contact-line { margin: 1.6rem 0; }
.form-aside .contact-line .k {
  font-family: var(--f-engraved); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 5px;
}
.form-aside .contact-line a { font-family: var(--f-display); font-size: 1.35rem; color: var(--head-dark); border-bottom: 1px solid var(--signal); }
.form-aside .contact-line a:hover { color: var(--crimson); }

form.inquiry { display: grid; gap: 1.15rem; }
.field { display: grid; gap: 0.45rem; }
.field label { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--head-dark); }
.field input, .field select, .field textarea {
  font-family: var(--f-body); font-size: 1rem; color: var(--head-dark);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 15px;
  transition: border-color .25s ease, box-shadow .25s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--crimson);
  box-shadow: 0 0 0 3px rgba(168, 39, 27, 0.14);
}
.field textarea { min-height: 150px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.form-note { font-size: 0.85rem; color: var(--muted); }
.form-status { font-weight: 600; color: var(--crimson); min-height: 1.4em; }

/* ---------- Privacy ---------- */
.legal-copy h2 { font-size: 1.55rem; margin-top: 2.8rem; }
.legal-copy h2:first-of-type { margin-top: 0; }
.legal-copy p { color: var(--text); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--mist); position: relative; }
.footer__inner { padding: 4.5rem 0 2.6rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid var(--line-dark);
}
.footer .brand__word { font-size: 1.15rem; }
.footer__tagline { margin-top: 1.1rem; font-size: 0.95rem; max-width: 34ch; color: #7e91aa; }
.footer h4 {
  font-family: var(--f-engraved); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.3em;
  text-transform: uppercase; color: #f4f1e9; margin-bottom: 1.1rem;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.footer a { color: var(--mist); font-size: 0.95rem; transition: color .25s ease; }
.footer a:hover { color: var(--signal-glow); }
.footer__legal { padding-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; justify-content: space-between; font-size: 0.82rem; color: #6a7d97; }
.footer__legal p { margin: 0; }
.footer__disclaimer { font-size: 0.8rem; color: #5c6f8b; margin-top: 1.4rem; max-width: 90ch; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rise, .hero__line, .reveal, .meridian { animation: none !important; transition: none !important; opacity: 1 !important; transform: none !important; }
  .hero__scroll::after { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .practice-grid { grid-template-columns: repeat(2, 1fr); }
  .careers-grid { grid-template-columns: 1fr; }
  .practice-layout { grid-template-columns: 1fr; }
  .trail-index { position: static; display: flex; flex-wrap: wrap; gap: 0.2rem 1.4rem; border-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 1rem; }
  .trail-index__label { display: none; }
  .trail-index a { padding: 0.4rem 0; }
  .trail-index a::before { display: none; }
}

@media (max-width: 880px) {
  .nav__links {
    position: fixed; inset: 0; padding-top: calc(var(--nav-h) + 3vh);
    background: #0a1322;
    flex-direction: column; justify-content: flex-start; gap: 1.4rem;
    transform: translateY(-100%);
    visibility: hidden; overflow-y: auto;
    transition: transform .4s cubic-bezier(.22,.9,.3,1), visibility 0s linear .4s;
    z-index: -1;
  }
  .nav__links.is-open {
    transform: translateY(0); visibility: visible;
    transition: transform .4s cubic-bezier(.22,.9,.3,1), visibility 0s;
  }
  .nav__links a:not(.btn) { font-size: 1.25rem; }
  .nav__toggle { display: block; }

  .lede-grid, .attorney-split, .bio-layout, .form-layout { grid-template-columns: 1fr; }
  .bio-layout .portrait { position: static; max-width: 420px; }
  .attorney-split .portrait { max-width: 420px; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .field-row { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .practice-grid { grid-template-columns: 1fr; }
  .hero__cta .btn { width: 100%; }
  .cred-row { gap: 1.4rem; }
}

/* Parallax: disable fixed attachment where it's janky */
@media (max-width: 880px) {
  .hero__parallax, .page-hero__parallax { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__parallax, .page-hero__parallax { background-attachment: scroll; }
}
