/* The Law Office of James B. Gross — upstatenyattorney.com
   Layout system, type scale and components carried over from the approved tpmlawny.com
   rebuild (deployment 5d122a44), re-skinned in James's identity from his original site:
   Inter; dark slate #1F2A2E; teal #37A9CC / #22B1E6 / #63A7BA; light #F5F9FA / #FAFAFC;
   gold -> green -> teal gradient (#D1C238 -> #87D649 -> #37A9CC) used sparingly for emphasis. */

:root {
  --slate-950: #141c1f;
  --slate-900: #1f2a2e;
  --slate-800: #2a383d;
  --slate-700: #3a4b51;
  --teal: #37a9cc;
  --teal-bright: #22b1e6;
  --teal-600: #187490;
  --teal-700: #145f76;
  --teal-300: #8fd3e8;
  --steel: #63a7ba;
  --gold: #d1c238;
  --green: #87d649;
  --grad: linear-gradient(90deg, #d1c238 0%, #87d649 50%, #37a9cc 100%);
  --text: #4a5a60;
  --heading: #1f2a2e;
  --grey: #5f6e74;
  --line: #dbe4e7;
  --mist: #f5f9fa;
  --white: #ffffff;
  --on-teal: #0f191c;
  --radius: 14px;
  --shadow: 0 18px 40px -22px rgba(20, 28, 31, .45);
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font: 400 17px/1.75 var(--font);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-700); }
h1, h2, h3, h4 { font-family: var(--font); color: var(--heading); line-height: 1.18; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.022em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.28rem; letter-spacing: -.012em; }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: .45em; }
strong { color: var(--heading); font-weight: 700; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--teal); color: var(--on-teal); padding: 10px 16px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--teal-600); outline-offset: 3px; }
.site-header :focus-visible, .hero :focus-visible, .page-hero :focus-visible, .why-band :focus-visible, .process :focus-visible,
.quotes :focus-visible, .side-card--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--teal-300); }

.container { width: min(var(--max), 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.center { text-align: center; }
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--mist { background: var(--mist); }

.eyebrow {
  display: inline-block;
  font: 700 .76rem/1.3 var(--font);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 18px;
}
.rule { width: 64px; height: 3px; background: var(--teal); border: 0; margin: 0 0 22px; }
.center .rule, .rule.center { margin-inline: auto; }
.lede { font-size: 1.18rem; line-height: 1.7; color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px;
  font: 800 .8rem/1 var(--font); letter-spacing: .12em; text-transform: uppercase;
  border-radius: 999px; border: 2px solid var(--teal);
  background: var(--teal); color: var(--on-teal); text-decoration: none;
  transition: background .2s, border-color .2s, color .2s, transform .2s;
  cursor: pointer;
}
.btn:hover { background: var(--teal-bright); border-color: var(--teal-bright); color: var(--on-teal); transform: translateY(-1px); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--slate-900); }
.btn--outline { background: transparent; color: var(--slate-900); border-color: var(--slate-900); }
.btn--outline:hover { background: var(--slate-900); color: #fff; border-color: var(--slate-900); }
.btn svg { width: 18px; height: 18px; }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }
.link-more {
  font: 800 .78rem/1 var(--font); letter-spacing: .13em; text-transform: uppercase;
  color: var(--teal-600); text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.link-more::after { content: "\203A"; font-size: 1.25rem; line-height: 0; transition: transform .2s; }
.link-more:hover::after { transform: translateX(4px); }

/* Header */
.topbar { height: 4px; background: var(--grad); }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--slate-900);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: box-shadow .25s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(0,0,0,.7); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand-mark { width: 48px; height: 48px; flex-shrink: 0; }
.brand-divider { width: 1px; height: 38px; background: rgba(255,255,255,.22); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-kicker {
  font: 600 .62rem/1 var(--font); letter-spacing: .24em; text-transform: uppercase; color: var(--teal-300);
  margin-bottom: 7px;
}
.brand-name { font: 800 1.16rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; color: #fff; white-space: nowrap; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav-list { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; position: relative; }
.nav-list a, .nav-list button.sub-toggle {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px;
  font: 700 .76rem/1 var(--font); letter-spacing: .11em; text-transform: uppercase;
  color: #d5e0e3; text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: 6px;
}
.nav-list a:hover, .nav-list a[aria-current="page"], .nav-list button.sub-toggle:hover { color: #fff; }
.nav-list a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }
.sub-toggle svg { width: 10px; height: 10px; transition: transform .2s; }
.has-sub:hover .sub-toggle svg, .has-sub.open .sub-toggle svg { transform: rotate(180deg); }
.subnav {
  position: absolute; top: 100%; left: 0; min-width: 270px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border-radius: 10px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s;
}
.has-sub:hover .subnav, .has-sub.open .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { color: var(--slate-900); display: block; padding: 12px 14px; letter-spacing: .02em; text-transform: none; font-size: .95rem; font-weight: 600; border-radius: 6px; }
.subnav a:hover { background: var(--mist); color: var(--teal-600); }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 10px; padding: 12px 18px;
  font: 700 .88rem/1 var(--font); letter-spacing: .02em; color: #fff; text-decoration: none;
  border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; white-space: nowrap;
}
.nav-phone:hover { background: var(--teal); border-color: var(--teal); color: var(--on-teal); }
.nav-phone svg { width: 16px; height: 16px; color: var(--teal-300); }
.nav-phone:hover svg { color: var(--on-teal); }
.menu-btn { display: none; background: none; border: 1.5px solid rgba(255,255,255,.3); border-radius: 8px; width: 46px; height: 46px; color: #fff; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }
.nav-list .sub-toggle[data-current] { color: #fff; box-shadow: inset 0 -2px 0 var(--teal); border-radius: 0; }

/* Hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--slate-950); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 85% at 84% 38%, rgba(55,169,204,.30) 0%, rgba(55,169,204,0) 62%),
    radial-gradient(50% 70% at 0% 100%, rgba(99,167,186,.14) 0%, rgba(99,167,186,0) 60%),
    linear-gradient(160deg, #1f2a2e 0%, #141c1f 100%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 5vw, 80px); align-items: center; min-height: min(84vh, 760px); }
.hero-inner { padding: 88px 0 104px; max-width: 640px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero h1 em { font-style: normal; color: var(--teal); background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lede { color: #d3dfe2; margin-bottom: 34px; max-width: 580px; }
.hero .eyebrow { color: var(--teal-300); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); font-size: .92rem; color: #c3d1d5; }
.hero-badges > span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--teal-300); flex-shrink: 0; }
.hero-photo { margin: 0; justify-self: end; width: min(100%, 430px); position: relative; }
.hero-photo::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 24px; background: var(--grad); opacity: .9; z-index: 0; }
.hero-photo picture, .hero-photo img { position: relative; z-index: 1; border-radius: 22px; }
.hero-photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 40px 70px -40px rgba(0,0,0,.8); }

/* "So, Why Fight?" band (the stats-band slot of the approved layout) */
.why-band { background: var(--slate-900); color: #fff; border-top: 1px solid rgba(255,255,255,.06); }
.why-label { margin: 0; padding: 40px 0 0; text-align: center; font: 800 .8rem/1.4 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--teal-300); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.why-item { padding: 30px 30px 40px; text-align: center; }
.why-item + .why-item { border-left: 1px solid rgba(255,255,255,.12); }
.why-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(55,169,204,.14); color: var(--teal-300); margin-bottom: 18px; }
.why-icon svg { width: 26px; height: 26px; }
.why-item h3 { color: #fff; font-size: 1.12rem; letter-spacing: .02em; margin-bottom: 14px; }
.why-item h3::after { content: ""; display: block; width: 56px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--grad); }
.why-item p { margin: 0 auto; max-width: 320px; color: #c3d1d5; font-size: .98rem; line-height: 1.65; }
.stats-note { text-align: center; font-size: .78rem; color: #8fa3a9; padding: 0 0 22px; margin: 0; }

/* Intro */
.intro p { font-size: 1.16rem; line-height: 1.85; }

/* Practice cards */
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.practice-grid--flush { margin-top: 0; }
.practice-card {
  background: #fff; border-radius: var(--radius); padding: 40px 34px 36px; text-align: left;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.practice-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.practice-icon { width: 58px; height: 58px; border-radius: 14px; background: rgba(55,169,204,.12); color: var(--teal-600); display: grid; place-items: center; margin-bottom: 24px; }
.practice-icon svg { width: 30px; height: 30px; }
.practice-card .h3 { font-size: 1.35rem; margin-bottom: 14px; }
.practice-card p { font-size: 1rem; flex: 1; }
.practice-card ul { list-style: none; padding: 0; margin: 0 0 24px; font-size: .95rem; }
.practice-card li { padding-left: 22px; position: relative; margin-bottom: 6px; }
.practice-card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--teal); }

/* Split / attorney */
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.attorney-card { position: relative; isolation: isolate; border-radius: 22px; overflow: hidden; color: #fff; background: var(--slate-900); padding: 52px 44px; min-height: 460px; display: flex; flex-direction: column; justify-content: space-between; }
.attorney-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 88% 0%, rgba(55,169,204,.24) 0%, rgba(55,169,204,0) 70%), linear-gradient(160deg, #2a383d 0%, #141c1f 100%); }
.attorney-card .monogram { width: 120px; height: 120px; }
.attorney-body::before { content: ""; display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--grad); margin: 28px 0 18px; }
.attorney-card .name { font: 800 1.6rem/1.2 var(--font); letter-spacing: -.01em; margin: 0 0 6px; color: #fff; }
.attorney-card .title { color: var(--teal-300); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .76rem; margin: 0; }
.attorney-card dl { margin: 24px 0 0; display: grid; gap: 12px; }
.attorney-card dt { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: #9fb4ba; }
.attorney-card dd { margin: 2px 0 0; font-weight: 700; color: #fff; }
.checklist { list-style: none; padding: 0; margin: 26px 0 32px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--heading); font-weight: 600; }
.checklist svg { width: 22px; height: 22px; color: var(--teal-600); flex-shrink: 0; margin-top: 3px; }

/* Process */
.process { background: var(--slate-900); color: #c9d6da; position: relative; overflow: hidden; }
.process h2, .process h3 { color: #fff; }
.process .eyebrow { color: var(--teal-300); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 54px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.step { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09); border-radius: var(--radius); padding: 30px 26px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font: 800 .8rem/1 var(--font); letter-spacing: .16em; color: var(--teal-300); margin-bottom: 18px;
}
.step h3 { font-size: 1.12rem; }
.step p { font-size: .96rem; margin: 0; }
.process-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 44px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.1); }
.process-foot p { margin: 0; max-width: 680px; }
.process strong { color: #fff; }

/* Testimonials */
.quotes { position: relative; isolation: isolate; color: #fff; background: var(--slate-950); }
.quotes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 80% at 50% 0%, rgba(55,169,204,.16) 0%, rgba(55,169,204,0) 70%); }
.quote-wrap { max-width: 900px; margin-inline: auto; text-align: center; }
.quote-wrap .eyebrow { color: var(--teal-300); margin-bottom: 26px; }
.quote-mark { font: 400 6rem/0.6 Georgia, serif; color: var(--teal); height: 44px; display: block; }
.stars { display: inline-block; color: var(--gold); letter-spacing: .18em; font-size: 1.05rem; line-height: 1; margin: 6px 0 18px; }
.quote-slide blockquote { margin: 0; font: 400 clamp(1.08rem, 1.7vw, 1.3rem)/1.8 var(--font); color: #e3ecee; }
.quote-slide blockquote p { margin: 0; }
.quote-slide figcaption { margin-top: 26px; font: 800 .8rem/1.5 var(--font); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-300); }
.quote-slide figcaption span { color: #9fb4ba; font-weight: 700; }
.quote-slide { margin: 0; }
.quote-slide[hidden] { display: none; }
.quote-nav { display: flex; justify-content: center; gap: 12px; margin-top: 34px; }
.quote-nav button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--teal-300); background: transparent; padding: 0; cursor: pointer; font-size: 0; color: transparent; }
.quote-nav button[aria-current="true"] { background: var(--teal-300); }
.quote-note { margin: 26px auto 0; max-width: 620px; font-size: .8rem; line-height: 1.6; color: #8fa3a9; }
.quote-note a { color: var(--teal-300); font-weight: 700; }
.no-js .quote-slide[hidden] { display: block; margin-top: 40px; }
.no-js .quote-nav { display: none; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 760px; margin-inline: auto; }
.cta-band p { max-width: 640px; margin: 0 auto 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* Page hero (interior) */
.page-hero { position: relative; isolation: isolate; color: #fff; background: var(--slate-900); padding: clamp(64px, 9vw, 104px) 0 clamp(56px, 7vw, 84px); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(55% 120% at 92% 10%, rgba(55,169,204,.26) 0%, rgba(55,169,204,0) 60%), linear-gradient(120deg, #1f2a2e 0%, #172024 100%); }
.page-hero h1 { color: #fff; margin-bottom: 14px; max-width: 840px; }
.page-hero p { color: #c9d6da; font-size: 1.15rem; max-width: 720px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 22px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }
.crumbs li { margin: 0; color: var(--teal-300); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #6f878e; }
.crumbs a { color: #c9d6da; text-decoration: none; }
.crumbs a:hover { color: #fff; }

/* Interior layout */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.prose { min-width: 0; }
.prose h2 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.15rem; margin-top: 1.3em; margin-bottom: .35em; }
.prose ul li::marker, .prose ol li::marker { color: var(--teal-600); font-weight: 800; }
.prose .callout { background: var(--mist); border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0; padding: 22px 26px; margin: 28px 0; }
.prose .callout p:last-child { margin: 0; }
.step-list { padding-left: 1.4em; margin: 0 0 1.2em; }
.step-list li { margin-bottom: .7em; padding-left: .3em; }
.sidebar { position: sticky; top: 112px; display: grid; gap: 22px; }
.side-card { border-radius: var(--radius); padding: 32px 28px; background: var(--mist); }
.side-card h3 { font-size: 1.12rem; }
.side-card--dark { background: var(--slate-900); color: #c9d6da; }
.side-card--dark h3 { color: #fff; }
.side-card .btn { width: 100%; margin-top: 8px; padding: 0 18px; }
.side-links { list-style: none; padding: 0; margin: 0; }
.side-links li { margin: 0; border-top: 1px solid var(--line); }
.side-links li:first-child { border-top: 0; }
.side-links a { display: flex; justify-content: space-between; padding: 13px 0; color: var(--heading); font-weight: 700; text-decoration: none; }
.side-links a:hover, .side-links a[aria-current="page"] { color: var(--teal-600); }
.contact-lines { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 12px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.contact-lines svg { width: 20px; height: 20px; color: var(--teal-300); flex-shrink: 0; margin-top: 4px; }
.contact-lines a { color: #fff; text-decoration: none; font-weight: 700; word-break: break-word; }
.contact-lines a:hover { color: var(--teal-300); }
.headshot { margin: 0; border-radius: var(--radius); overflow: hidden; background: #e9eef0; box-shadow: var(--shadow); }
.headshot img { width: 100%; height: auto; display: block; }

/* Data tables (fee-table styling from the approved layout) */
.table-wrap { overflow-x: auto; margin: 10px 0 24px; }
.data-table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.data-table th, .data-table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--slate-900); color: #fff; font: 800 .72rem/1.4 var(--font); letter-spacing: .13em; text-transform: uppercase; }
.data-table thead th:first-child { border-radius: 10px 0 0 0; }
.data-table thead th:last-child { border-radius: 0 10px 0 0; }
.data-table tbody th { font-weight: 600; color: var(--heading); }
.data-table td { font-weight: 700; color: var(--heading); }
.data-table tbody tr:nth-child(even) { background: #fafcfc; }

/* Facts (labeled fact block) */
.facts { margin: 6px 0 24px; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts dt { font: 800 .72rem/1.9 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.facts dd { margin: 0; font-weight: 600; color: var(--heading); }
.facts dd a { color: var(--heading); text-decoration: none; }
.facts dd a:hover { color: var(--teal-600); text-decoration: underline; }

/* Reviews page */
.review-note { font-size: .9rem; color: var(--grey); margin: 0 0 6px; }
.review-list { display: grid; gap: 0; margin: 10px 0 26px; border-top: 1px solid var(--line); }
.review { margin: 0; padding: 26px 0; border-bottom: 1px solid var(--line); }
.review .stars { margin: 0 0 12px; color: #8c7d0c; }
.review blockquote { margin: 0; font-size: 1.06rem; color: var(--heading); }
.review blockquote p { margin: 0; }
.review figcaption { margin-top: 14px; font: 800 .76rem/1.5 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-600); }
.review figcaption span { color: var(--grey); }

/* FAQ */
.faq-group + .faq-group { margin-top: 56px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative;
  font: 700 1.08rem/1.45 var(--font); color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px; margin-top: -9px;
  border-right: 2.5px solid var(--teal-600); border-bottom: 2.5px solid var(--teal-600); transform: rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq .answer { padding: 0 0 22px; max-width: 760px; }
.faq .answer p:last-child { margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; margin: 0; }
.info-icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(55,169,204,.12); color: var(--teal-600); display: grid; place-items: center; flex-shrink: 0; }
.info-icon svg { width: 22px; height: 22px; }
.info-list .k { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; color: var(--grey); }
.info-list .v { font-weight: 700; color: var(--heading); font-size: 1.06rem; word-break: break-word; }
.info-list a.v { text-decoration: none; }
.info-list a.v:hover { color: var(--teal-600); }
.info-list .link-more { margin-top: 8px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow); }
.h-form { font-size: 1.45rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font: 800 .72rem/1.3 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--heading); }
.field label .opt { color: var(--grey); font-weight: 600; letter-spacing: .04em; text-transform: none; }
.field input, .field select, .field textarea {
  font: 400 1rem/1.5 var(--font); color: var(--heading); background: #fbfcfc;
  border: 1.5px solid #7f9298; border-radius: 10px; padding: 13px 15px; width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-600); box-shadow: 0 0 0 3px rgba(24,116,144,.35); background: #fff; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-top: 20px; min-height: 65px; }
.btn-submit { margin-top: 20px; }
.form-status { margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-weight: 700; display: none; }
.form-status.ok { display: block; background: #e6f5ec; color: #1d6b43; }
.form-status.err { display: block; background: #fdeeee; color: #a12a2a; }
.form-status a { color: inherit; }
.form-note { font-size: .82rem; color: var(--grey); margin: 16px 0 0; }
.form-note--nojs { color: var(--heading); font-weight: 700; }

/* Footer */
.site-footer { background: var(--slate-950); color: #9fb4ba; font-size: .95rem; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 72px 0 52px; }
.site-footer h2 { font: 800 .74rem/1.4 var(--font); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #c9d6da; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .brand:hover { text-decoration: none; }
.footer-brand p { margin: 22px 0 0; max-width: 340px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 26px 0 34px; display: flex; flex-wrap: wrap; gap: 14px 30px; justify-content: space-between; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.adv { color: #c9d6da; }
.adv strong { color: #fff; }

/* 404 / form results */
.notfound { min-height: 56vh; display: grid; place-items: center; text-align: center; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; }
}

/* Responsive */
@media (min-width: 1024px) and (max-width: 1239px) {
  .header-inner { gap: 16px; }
  .brand { gap: 10px; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-name { font-size: 1rem; letter-spacing: .04em; }
  .nav-list a, .nav-list button.sub-toggle { padding: 10px 7px; letter-spacing: .06em; font-size: .7rem; }
  .nav-phone { margin-left: 4px; padding: 10px 13px; font-size: .8rem; }
}
@media (min-width: 1024px) {
  .subnav a:focus-visible { outline-color: var(--teal-600); }
}
@media (max-width: 1023px) {
  .menu-btn { display: inline-flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--slate-900); padding: 12px 24px 28px; border-top: 1px solid rgba(255,255,255,.08);
    max-height: calc(100vh - 88px); overflow-y: auto;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .2s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; box-shadow: 0 30px 40px -20px rgba(0,0,0,.6); }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a, .nav-list button.sub-toggle { width: 100%; justify-content: space-between; padding: 16px 4px; font-size: .88rem; border-bottom: 1px solid rgba(255,255,255,.07); border-radius: 0; }
  .nav-list a[aria-current="page"] { box-shadow: none; color: var(--teal-300); }
  .nav-list .sub-toggle[data-current] { box-shadow: none; color: var(--teal-300); }
  .subnav { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 0 14px; min-width: 0; display: none; }
  .has-sub.open .subnav { display: block; }
  .has-sub:hover .subnav { display: none; }
  .has-sub.open:hover .subnav { display: block; }
  .subnav a { color: #c9d6da; padding: 12px 4px; }
  .subnav a:hover { background: transparent; color: #fff; }
  .nav-phone { margin: 20px 0 0; justify-content: center; padding: 16px; }
  /* JavaScript off: show the menu inline instead of a dead hamburger */
  .no-js .menu-btn { display: none; }
  .no-js .header-inner { flex-wrap: wrap; }
  .no-js .nav { position: static; width: 100%; opacity: 1; visibility: visible; transform: none; max-height: none; padding: 0 0 16px; box-shadow: none; }
  .no-js .subnav, .no-js .has-sub:hover .subnav { display: block; }
}
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps--3 { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  .split, .layout, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .practice-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .attorney-card { max-width: 520px; min-height: 0; }
  .headshot { max-width: 320px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .7fr); }
  .why-grid { grid-template-columns: 1fr; }
  .why-item + .why-item { border-left: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .steps--3 { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .container, .narrow { width: calc(100% - 32px); }
  .header-inner { min-height: 72px; }
  .nav { max-height: calc(100vh - 76px); }
  .brand { gap: 10px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-divider { height: 30px; }
  .brand-kicker { font-size: .54rem; letter-spacing: .18em; margin-bottom: 6px; }
  .brand-name { font-size: .98rem; letter-spacing: .04em; }
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero-inner { padding: 56px 0 36px; }
  .hero-photo { justify-self: center; width: min(62%, 240px); margin: 0 0 52px; }
  .hero-photo::before { inset: 12px -12px -12px 12px; }
  .hero-actions .btn { width: 100%; }
  .why-label { padding-top: 32px; }
  .why-item { padding: 22px 8px 24px; }
  .why-icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
  .why-icon svg { width: 20px; height: 20px; }
  .why-item h3::after { margin-top: 10px; }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; padding-top: 56px; gap: 34px; }
  .attorney-card { padding: 40px 28px; }
  .cta-actions .btn { width: 100%; }
  .facts > div { grid-template-columns: 1fr; gap: 2px; }
  .data-table th, .data-table td { padding: 12px 12px; }
  .review { padding: 22px 0; }
  .data-table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
  .data-table--stack, .data-table--stack tbody, .data-table--stack tr, .data-table--stack th, .data-table--stack td { display: block; width: 100%; }
  .data-table--stack tr { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 12px 0; margin: 0; background: none !important; }
  .data-table--stack tbody th { background: none; color: var(--heading); border-radius: 0; margin: 0; padding: 2px 0 6px; font-weight: 800; }
  .data-table--stack td { border: 0; padding: 4px 0; display: flex; justify-content: space-between; gap: 16px; text-align: right; }
  .data-table--stack td::before { content: attr(data-label); font: 800 .7rem/1.9 var(--font); letter-spacing: .13em; text-transform: uppercase; color: var(--grey); text-align: left; }
}
@media (max-width: 380px) {
  .brand-divider { display: none; }
  .brand-name { font-size: .9rem; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .site-header, .topbar, .menu-btn, .quote-nav, .cta-actions, .form-card, .cf-turnstile { display: none !important; }
  .hero, .page-hero, .why-band, .process, .quotes, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .process h2, .process h3, .why-item h3 { color: #000 !important; -webkit-text-fill-color: #000 !important; }
}
