/* Ian Seitel. Big-firm layout: white header, navy hero with the form in it,
   grey rounded panels, gold buttons. */
:root {
  --navy: #0f2340;
  --navy-deep: #0a1830;
  --gold: #f6c22b;
  --gold-deep: #e2ac0f;
  --ink: #121a26;
  --muted: #4c5866;
  --line: #dde3ea;
  --grey: #f1f4f7;
  --white: #ffffff;
  --marker: #fff0a0;
  --on-navy: #c9d3e0;
  --radius: 0;
  --ease: cubic-bezier(.16, 1, .3, 1);
  /* Spacing scale: every section uses one of these */
  --section-y: 136px;
  --section-y-tight: 120px;
  --section-y-loose: 160px;
  /* Heading sizes */
  --h2: clamp(28px, 2.9vw, 38px);
  --h2-lg: clamp(30px, 3.2vw, 44px);
  --display: "Public Sans", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.65 var(--body); }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.1; margin: 0; letter-spacing: -.02em; }
h2 { font-size: var(--h2); }
h3 { font-size: 24px; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.lead { font-size: 18px; line-height: 1.6; }
.wrap { width: min(1120px, 100% - 96px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 30; background: var(--white); padding: 10px 16px; }

/* Buttons */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: 0; border: 2px solid transparent; font: 700 17px/1.2 var(--body); text-decoration: none; cursor: pointer; transition: background-color .2s cubic-bezier(.2,.7,.2,1), transform .15s cubic-bezier(.2,.7,.2,1); }
.btn:active, .t-arrow:active, .faq-item summary:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd24d; }
.btn-navy:hover { background: #1a345c; }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-block { width: 100%; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Check lists */
.checks { display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks svg, .roles svg { width: 22px; height: 22px; flex: none; margin-top: 3px; padding: 3px; border-radius: 0; background: var(--gold); color: var(--ink); }

/* Header */
.top { background: var(--white); position: sticky; top: 0; z-index: 20; transition: box-shadow .5s var(--ease), transform .6s var(--ease); }
.top.tucked { transform: translateY(-100%); }
.top.scrolled { box-shadow: 0 10px 30px rgba(10,24,48,.08); /* taste-skill-ignore: sticky header lifts once the page scrolls */ }
.top .wrap { width: min(1240px, 100% - 64px); }
.top-row { display: flex; align-items: center; gap: 32px; min-height: 92px; transition: min-height .5s var(--ease); }
.top.scrolled .top-row { min-height: 72px; }
.wordmark { text-decoration: none; display: flex; align-items: center; gap: 12px; line-height: 1; flex: none; }
.wm-text { display: grid; }
.wordmark b { font: 600 27px/1.1 var(--display); color: var(--navy); }
.wm-text span { font-size: 14px; color: var(--muted); margin-top: 4px; }
#site-nav { display: flex; gap: 26px; margin-inline: auto; }
#site-nav a { white-space: nowrap; text-decoration: none; font-weight: 600; font-size: 16px; color: var(--ink); padding: 6px 0; border-bottom: 3px solid transparent; }
#site-nav a:hover, #site-nav a[aria-current] { border-bottom-color: var(--gold); }
/* Practice Areas dropdown */
#site-nav { align-items: center; }
.nav-drop { position: relative; }
.nav-drop-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; border-bottom: 3px solid transparent; background: none; font: 600 16px var(--body); color: var(--ink); cursor: pointer; white-space: nowrap; }
.nav-drop-btn svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.nav-drop-btn:hover, .nav-drop-btn.is-current { border-bottom-color: var(--gold); }
.nav-drop:hover .nav-drop-btn svg, .nav-drop.open .nav-drop-btn svg { transform: rotate(180deg); }
.nav-menu { position: absolute; top: 100%; left: -22px; z-index: 30; display: none; min-width: 230px; padding: 14px 0 0; }
.nav-menu::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--white); box-shadow: 0 16px 32px rgba(15, 35, 64, .14); /* taste-skill-ignore: dropdown menu needs to lift off the page */ }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu, .nav-drop.open .nav-menu { display: block; }
#site-nav .nav-menu a { position: relative; display: block; padding: 13px 22px; border-bottom: 0; font-weight: 600; }
#site-nav .nav-menu a:hover { background: var(--grey); }
#site-nav .nav-menu a[aria-current] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 3px; text-underline-offset: 6px; }
.top-right { display: flex; align-items: center; gap: 18px; flex: none; }
.menu-btn { display: none; font: 700 16px var(--body); background: var(--grey); border: 0; border-radius: 0; padding: 12px 16px; color: var(--ink); cursor: pointer; }

/* Home hero (three versions: a, b, c) */
.hero { background: var(--navy); color: var(--white); padding: 72px 0 88px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(34px, 3.1vw, 46px); line-height: 1.1; }
.hero .lead { color: var(--on-navy); margin-top: 22px; max-width: 44ch; font-size: 17px; }
.hero .checks { margin: 32px 0 34px; font-weight: 600; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; max-width: 600px; }
.hero .checks li { flex-direction: column; gap: 10px; padding: 0 20px; font-size: 16px; line-height: 1.35; box-shadow: -1px 0 0 rgba(255,255,255,.18); /* taste-skill-ignore: divider between side-by-side facts */ }
.hero .checks li:first-child { padding-left: 0; box-shadow: none; } /* taste-skill-ignore: deliberate (divider, button outline, or the eyebrow Shae asked for) */
.byline { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.byline img { width: 56px; height: 56px; object-fit: cover; object-position: 50% 12%; }
.byline span { display: grid; font-size: 15px; color: var(--on-navy); line-height: 1.3; }
.byline b { font: 600 19px/1.2 var(--display); color: var(--white); }
.hero-c { min-height: calc(100svh - 92px); padding: 48px 0; display: grid; align-items: center; }
.hero-bg { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; opacity: .22; filter: grayscale(1); }
.hero-c .wrap { position: relative; }

/* Call card: the white panel beside hero and closing copy */
.form-card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 30px; display: grid; gap: 18px; }
.form-head { display: grid; gap: 6px; }
.form-head p { color: var(--muted); font-size: 17px; }
.form-title { font-size: 30px; }
.call-card { padding: 40px 44px; gap: 24px; max-width: 520px; justify-self: end; width: 100%; }
.call-number { font: 700 clamp(34px, 3.4vw, 46px)/1 var(--display); letter-spacing: -0.02em; color: var(--navy); text-decoration: none; font-variant-numeric: tabular-nums; }
.call-number:hover { color: var(--gold-deep); }
.bar { display: block; height: 22px; flex: 0 0 calc(var(--w) * 72%); min-width: 28px; background: #d9dfe6; transform-origin: left; }

/* Practice areas */
.practice { background: var(--navy); color: var(--white); padding: 64px 0; }
.practice .section-head p { color: var(--on-navy); }
.practice .practice-card { background: #16294a; }
.practice .practice-body p { color: var(--on-navy); }
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 44px; }
.section-head p { font-size: 18px; color: var(--muted); }
.practice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.practice-card { background: var(--white); overflow: hidden; display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; }
.practice-img { overflow: hidden; }
.practice-img img { width: 100%; aspect-ratio: 5 / 2; object-fit: cover; }
.hero-fig img[src*='fender'] { aspect-ratio: 16 / 9; object-position: 50% 25%; }
.practice-card .btn { transition: background-color .2s ease, transform .14s var(--ease); }
.practice-body { padding: 32px 40px 36px; display: flex; flex-direction: column; gap: 16px; }
.practice-body h3 { font-size: 30px; }
.practice-body .btn { align-self: flex-start; margin-top: auto; }
.practice-body .checks { margin-bottom: 10px; }
.exp2-stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.exp2-stats li { padding: 0 16px; display: grid; gap: 6px; align-content: start; justify-items: center; text-align: center; }
.exp2-stats b { font: 600 clamp(36px, 3.4vw, 46px)/1 var(--display); color: var(--navy); }
.exp2-stats span:not([data-count]) { color: var(--muted); font-size: 15px; line-height: 1.4; max-width: 24ch; }

.exp2-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }
.exp2-link svg { width: 28px; height: 28px; padding: 6px; background: var(--navy); color: var(--white); transition: transform .25s var(--ease); }
.exp2-link:hover svg { transform: translate(3px, -3px); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.seg { flex: 0 0 calc(var(--w) * 100%); display: grid; align-content: center; padding: 0 18px; color: var(--white); overflow: hidden; white-space: nowrap; transform-origin: left; }
.seg b { font-size: 16px; }
.seg small { font-size: 14px; opacity: .8; }
.career-scale { position: relative; height: 34px; margin-top: 10px; }
.career-scale span { position: absolute; left: calc(var(--x) * 100%); top: 0; padding-top: 12px; font-size: 14px; color: var(--muted); transform: translateX(-50%); }
.career-scale span::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 8px; background: #b8c2cd; }
.career-scale span:first-child { transform: none; }
.career-scale span:first-child::before { left: 0; }
.exp3-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.exp3-facts li { color: var(--muted); font-size: 17px; line-height: 1.5; }
.exp3-facts b { color: var(--navy); }

/* About V2: tall portrait beside a short overview */
.about2 { display: grid; grid-template-columns: 410px 1fr; gap: 80px; align-items: center; }
.about2 > img { width: 100%; aspect-ratio: 4 / 5; max-height: 620px; object-fit: cover; object-position: 50% 12%; }
.about2-copy { display: grid; gap: 22px; justify-items: start; max-width: 620px; }
.about2-copy .checks { font-weight: 600; }

/* Introduction under the hero: who Ian is and what he does, at a glance */
.intro { padding: var(--section-y-loose) 0; }
.intro .wrap { max-width: 1040px; }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px; margin-top: 64px; }
.pillars li { display: grid; gap: 10px; align-content: start; justify-items: center; text-align: center; }
.pillars li::before { content: ""; width: 44px; height: 4px; background: var(--gold); margin-bottom: 10px; }
.pillars h3 { font-size: clamp(20px, 1.8vw, 24px); }
.pillars p { color: var(--muted); font-size: 15px; max-width: 32ch; }

/* Ways Ian can help */
.ways { padding: 108px 0; }
.ways-title { text-align: center; font-size: var(--h2); margin-bottom: 40px; }
.help-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.help-card { background: var(--grey); padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; transition: background-color .2s ease; }
.help-card:hover { background: #e8edf2; }
.help-icon { width: 40px; height: 40px; color: var(--navy); margin-bottom: 2px; }
.help-icon svg { width: 100%; height: 100%; }
.help-card h3 { font-size: 22px; }
.help-card p { color: var(--muted); font-size: 16px; }
.help-link { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--navy); }
.help-link i { flex: none; }
.help-link i, .matters-box-links i { display: grid; place-items: center; width: 28px; height: 28px; background: var(--navy); color: var(--white); transition: transform .25s var(--ease); }
.help-link svg, .matters-box-links svg { width: 16px; height: 16px; }
.help-card:hover .help-link i, .matters-box-links a:hover i { transform: translate(3px, -3px); }
.matters-box { background: var(--grey); margin-top: 16px; padding: 18px 28px 22px; }
.matters-box-links { display: flex; gap: 24px; flex-wrap: wrap; }
.matters-box-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; }
.matters-box .checks { grid-template-columns: repeat(3, 1fr); gap: 10px 24px; font-weight: 600; font-size: 16px; }

/* About on home */
.experience { padding: 40px 0; background: var(--grey); }
.story { position: relative; overflow: hidden; }
.story { padding: var(--section-y) 0; }
.story-line { position: relative; display: grid; gap: 22px; padding-left: 40px; width: 100%; }
.story-line::before, .story-line::after { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.story-line::after { background: var(--gold); transform-origin: top; transform: scaleY(var(--p, 1)); }
.story-line li { position: relative; }
.story-line li::before { content: ""; position: absolute; left: -40px; top: 6px; width: 16px; height: 16px; background: var(--white); border: 2px solid var(--line); z-index: 1; transition: background-color .5s var(--ease), border-color .5s var(--ease); }
.story-line li.lit::before { background: var(--gold); border-color: var(--gold); }
.story-line p { font-size: 17px; max-width: 52ch; }

/* Leadership roles */
.roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; width: 100%; }
.roles li { display: flex; gap: 14px; background: var(--grey); border-radius: 0; padding: 18px 20px; }
.sec-grey .roles li { background: var(--white); }
.roles b { display: block; font-weight: 700; }
.roles span { display: block; color: var(--muted); font-size: 16px; line-height: 1.45; }

/* Testimonial */
.testimonial { background: var(--navy-deep); color: var(--white); padding: 96px 0; }
.testimonial-head { text-align: center; display: grid; gap: 8px; justify-items: center; margin-bottom: 56px; }
.testimonial-head .lead { color: var(--on-navy); } /* taste-skill-ignore: deliberate (divider, button outline, or the eyebrow Shae asked for) */
/* Testimonials: an endless loop that drifts slowly and stops while you read or watch */
.t-marquee { overflow: hidden; }
.t-loop { display: flex; width: max-content; animation: t-drift var(--loop, 70s) linear infinite; }
.t-set { display: flex; gap: 40px; padding-right: 40px; align-items: flex-start; }
.t-marquee:hover .t-loop, .t-marquee:focus-within .t-loop, .t-marquee.holding .t-loop { animation-play-state: paused; }
@keyframes t-drift { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .t-marquee { overflow-x: auto; }
  .t-loop { animation: none; }
  .t-set[aria-hidden] { display: none; }

}
.t-card { margin: 0; flex: none; min-height: 360px; }
/* Arrows to click through the testimonials */
.t-nav { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.t-arrow { width: 48px; height: 48px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.35); background: transparent; color: var(--white); cursor: pointer; transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease); }
.t-arrow:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.t-arrow:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.t-arrow i { display: grid; width: 20px; height: 20px; }
.t-arrow svg { width: 100%; height: 100%; }
.t-arrow .flip { transform: rotate(180deg); }
.t-marquee.manual { overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.t-marquee.manual .t-loop { animation: none; }
.t-video { height: 360px; }
.t-video { position: relative; width: 203px; background: #000; overflow: hidden; }
.t-video .play { left: 14px; top: auto; bottom: 14px; width: 44px; height: 44px; margin: 0; }
.t-video .play svg { width: 18px; height: 18px; margin-left: 2px; }
.t-video:hover .play { transform: scale(1.08); }
.t-video video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.t-video .t-name { position: absolute; left: 70px; right: 14px; bottom: 25px; margin: 0; font: 700 16px/1.2 var(--body); color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.7); pointer-events: none; }
.t-video.playing .t-name { opacity: 0; }
.t-quote { width: min(460px, 82vw); background: var(--white); color: var(--ink); padding: 28px 30px 24px; display: flex; flex-direction: column; }
.t-mark { width: 32px; height: 27px; color: var(--gold); margin-bottom: 14px; flex: none; }
.t-mark svg { width: 100%; height: 100%; }
.t-quote blockquote { margin: 0; font-size: 17px; line-height: 1.6; }
.t-quote .clamp { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.t-quote.open .clamp { display: block; }
.more { align-self: flex-start; margin-top: 12px; padding: 0; border: 0; background: none; font: 700 16px var(--body); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.more[hidden] { display: none; }
.t-quote figcaption { margin-top: auto; padding-top: 26px; display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.t-quote figcaption > span:first-child { display: grid; font-size: 15px; color: var(--muted); }
.t-quote figcaption b { font-size: 18px; color: var(--ink); }
.stars { display: flex; gap: 3px; color: var(--gold); }
.stars svg { width: 20px; height: 20px; }
.play { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px; border: 0; background: var(--gold); color: var(--ink); cursor: pointer; display: grid; place-items: center; transition: transform .5s var(--ease); }
.play svg { width: 34px; height: 34px; margin-left: 4px; }
[data-video].playing .play { display: none; }
.who { font-weight: 700; }

/* Final call to action: river photograph behind navy, phrase and form */
.final-cta { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 144px 0; }
.final-cta .wrap { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
#final { font-size: var(--h2-lg); line-height: 1.1; }
.final-cta .lead { color: var(--on-navy); margin: 20px 0 30px; max-width: 40ch; }

/* Inner pages: photo hero, then full-width sections alternating white and grey */
.page-hero.hero-c { min-height: 0; padding: 120px 0 112px; }
.page-hero .hero-bg { opacity: .32; }
.page-hero-grid { display: grid; grid-template-columns: 1fr; gap: 64px; align-items: center; }
.page-hero-grid .hero-copy { max-width: 680px; }
.page-hero-grid.has-fig { grid-template-columns: 1.2fr .8fr; }
.page-hero h1 { font-size: clamp(36px, 3.8vw, 52px); line-height: 1.08; }
.page-hero .lead { color: var(--on-navy); margin: 22px 0 32px; max-width: 52ch; }
.page-hero-slim { background: var(--navy); color: var(--white); padding: var(--section-y-tight) 0 72px; }
.page-hero-slim .lead { margin-bottom: 0; color: var(--on-navy); }
.hero-fig { margin: 0; }
.stat-card { justify-self: end; width: 100%; max-width: 440px; }
.stat-card .stat-big { margin: 0; font: 700 clamp(34px, 3.4vw, 46px)/1.05 var(--display); letter-spacing: -0.02em; color: var(--navy); }
.hero-fig img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.hero-fig.is-portrait { max-width: 380px; justify-self: end; width: 100%; }
.hero-fig.is-portrait img { aspect-ratio: 4 / 5; object-position: 50% 10%; }
.sec { padding: var(--section-y) 0; }
.sec-grey { background: var(--grey); }
.sec > .wrap > h2 { margin-bottom: 44px; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.split p + p { margin-top: 16px; }
.split .lead { color: var(--ink); }
.split p:not(.lead) { color: var(--muted); }
.band { margin: 0; overflow: hidden; }
.band img { width: 100%; aspect-ratio: 21 / 8; object-fit: cover; }
.matters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.matters li { background: var(--white); padding: 32px 30px; }
.sec:not(.sec-grey) .matters li { background: var(--grey); }
.matters h3 { color: var(--navy); margin-bottom: 10px; }
.matters p { font-size: 17px; }
.story-line.long { gap: 32px; padding-left: 52px; }
.story-line.long li::before { left: -52px; top: 2px; }
.story-line.long .when { font: 700 14px/1.2 var(--body); color: var(--navy); letter-spacing: .02em; margin-bottom: 6px; }
.story-line.long h3 { font-size: 21px; margin-bottom: 8px; }
.story-line.long p { font-size: 16px; line-height: 1.55; color: var(--muted); max-width: 64ch; }
.contact-rows + h2 { margin-top: 24px; }
.contact-rows { display: grid; gap: 2px; background: var(--line); border-radius: 0; overflow: hidden; }
.contact-rows > div { background: var(--white); padding: 16px 20px; display: grid; gap: 2px; }
.contact-rows > div > span { font-size: 14px; color: var(--muted); font-weight: 600; }
.contact-rows a { font-weight: 600; text-decoration: none; }

/* Legal pages */
.legal-body { max-width: 760px; }
.sec > .legal-body > h2 { font-size: 26px; margin: 48px 0 12px; }
.legal-body p { margin: 0 0 12px; }
.legal-body .actions { margin-top: 32px; }

/* Contact page hero */
.contact-hero .contact-rows { background: rgba(255,255,255,.14); margin-top: 28px; }
.contact-hero .contact-rows > div { background: rgba(10,24,48,.55); color: var(--white); }
.contact-hero .contact-rows > div > span { color: var(--on-navy); }
.contact-hero .actions { margin-top: 24px; }

/* FAQ, above the footer on every page */
.faq { background: var(--grey); padding: 96px 0; }
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq-head { display: grid; gap: 16px; justify-items: start; position: sticky; top: 120px; }
.faq-head p { color: var(--muted); }
.faq-list { display: grid; gap: 2px; }
.faq-item { background: var(--white); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 26px; font-weight: 700; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; background: var(--grey); color: var(--navy); transition: transform .25s var(--ease), background-color .4s var(--ease); }
.faq-item summary svg { width: 16px; height: 16px; }
.faq-item[open] summary i { transform: rotate(45deg); background: var(--gold); }
.faq-item p { padding: 0 26px 24px; color: var(--muted); max-width: 64ch; }

.float-call { position: fixed; right: 24px; bottom: 24px; z-index: 25; transition: opacity .4s var(--ease), transform .5s var(--ease); box-shadow: 0 12px 30px rgba(10,24,48,.25); /* taste-skill-ignore: floating call button sits over content */ }

.float-call.away { opacity: 0; transform: translateY(16px); pointer-events: none; }

/* Footer */
.site-footer { background: var(--navy-deep); color: var(--on-navy); padding: 88px 0 48px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px; }
.foot-grid > div:first-child { display: grid; gap: 16px; align-content: start; }
.foot-name { font: 600 27px/1.1 var(--display); color: var(--white); }
.site-footer h2 { font-size: 20px; color: var(--white); margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.imprint { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 14px; }
.imprint a { text-decoration: underline; }
.mobile-bar { display: none; }

/* Tablet */
@media (max-width: 1180px) {
  .hero-grid { gap: 40px; }
  .story-grid { grid-template-columns: 240px 1fr 1fr; gap: 36px; }
  .stats { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 1060px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero h1 { max-width: 20ch; }
  .pillars { grid-template-columns: repeat(2, 1fr); }

}
@media (max-width: 1220px) {
  #site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; gap: 0; padding: 8px 32px 20px; box-shadow: 0 12px 24px rgba(15,35,64,.12); /* taste-skill-ignore: dropdown menu needs to lift off the page */ }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 12px 0; border-bottom: 0; }
  #site-nav { align-items: stretch; }
  .nav-drop-btn { padding: 12px 0; border-bottom: 0; pointer-events: none; color: var(--muted); }
  .nav-drop-btn svg { display: none; }
  .nav-menu, .nav-drop:hover .nav-menu { position: static; display: block; min-width: 0; padding: 0 0 4px 16px; }
  .nav-menu::before { display: none; }
  #site-nav .nav-menu a { padding: 10px 0; }
  #site-nav .nav-menu a:hover { background: none; }
  .js .menu-btn { display: block; }
  .top-right { margin-left: auto; }

}
@media (max-width: 900px) {
  .matters { grid-template-columns: 1fr 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .matters-box .checks { grid-template-columns: 1fr 1fr; }
  .final-cta .wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
  .pillars { grid-template-columns: 1fr; gap: 32px; margin-top: 44px; }
  .about2 { grid-template-columns: 1fr; gap: 32px; }
  .about2 > img { max-width: 340px; }
  .exp2-stats { grid-template-columns: 1fr 1fr; gap: 32px 0; }
  .exp3-facts { grid-template-columns: 1fr; gap: 12px; }
  .practice-grid, .split, .section-head { grid-template-columns: 1fr; }
  .section-head { gap: 14px; }
  .hero-fig.is-portrait { justify-self: start; max-width: 320px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: 1 / -1; }

}

/* Phone */
@media (max-width: 760px) {
  :root { --section-y: 80px; --section-y-tight: 72px; --section-y-loose: 88px; }
  .cta-band { padding: 96px 0; }
  .practice, .ways, .testimonial, .final-cta, .about-lead, .sec:has(.versus), .sec:has(.pros), .sec:has(.pcards) { padding: var(--section-y) 0; }
  .page-hero.hero-c { padding: 56px 0; }
  .page-hero-grid.has-fig { grid-template-columns: 1fr; }
  .stat-card { justify-self: start; }
  .hero-fig.is-portrait { justify-self: start; max-width: 280px; }
  body { font-size: 17px; padding-bottom: 76px; }
  .wrap { width: calc(100% - 32px); }
  .top-row { min-height: 72px; gap: 12px; }
  .wordmark b { font-size: 28px; }
  .wordmark span { font-size: 13px; }
  .top-cta { display: none; }
  #site-nav { padding-inline: 16px; }
  .hero { padding: 40px 0 48px; }
  .hero-grid { gap: 32px; }
  .hero-c { min-height: calc(100svh - 72px); padding: 40px 0 48px; }
  .hero .checks li { padding: 0 12px; font-size: 15px; }
  .call-card { padding: 28px 24px; justify-self: stretch; max-width: none; }
  .story-line.long { gap: 36px; padding-left: 40px; }
  .story-line.long li::before { left: -40px; }
    .lead { font-size: 18px; }
  .form-card { padding: 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .stats, .exp3 { padding: 28px 22px; }
  .seg-pros b, .seg-pros small { display: none; }
  .career-scale span:nth-child(even) { display: none; }
  .experience { padding-top: 48px; }
  .bar { flex-basis: calc(var(--w) * 60%); }
  .bar-row b { font-size: 28px; }
  .bar-top .bar-row b { font-size: 34px; }
  .t-card { min-height: 360px; }
  .t-video { height: 360px; width: 203px; }
  .t-quote { padding: 30px 24px 26px; }
  .t-quote blockquote { font-size: 16px; }
    .help-card, .matters-box { padding: 26px 22px; }
  .matters-box .checks { grid-template-columns: 1fr; }
  .practice-body { padding: 24px; }
  .practice-body h3 { font-size: 30px; }
  .matters { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 36px; }
  .hero h1 { font-size: 32px; }
  .band img { aspect-ratio: 4 / 3; }
  .foot-grid { grid-template-columns: 1fr; }
  .float-call { display: none; }
  .mobile-bar { display: grid; grid-template-columns: 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding: 10px 12px; background: var(--white); box-shadow: 0 -6px 18px rgba(15,35,64,.12); /* taste-skill-ignore: fixed call bar sits over content */ }
  .mobile-bar .btn { min-height: 50px; padding: 10px 12px; font-size: 16px; }
}

/* Motion (GSAP). Starting states only apply when the motion class is set, so the page
   reads fine without script or with reduced motion. */
.motion h1.wsplit .w { display: inline-block; perspective: 600px; vertical-align: top; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.motion h1.wsplit .w > span { display: inline-block; transform-origin: 50% 100%; opacity: 0; transform: translateY(100%) rotateX(-80deg); will-change: transform; }
.wsplit .w, .wsplit .w > span { display: inline-block; }
.motion .reveal { opacity: 0; transform: translateY(30px); filter: blur(10px); }
.motion .t-loop { animation: none; }
.story-line { --p: 1; }
.motion .story-line { --p: 0; }
.progress { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); transform-origin: left; transform: scaleX(0); pointer-events: none; }
.roll { display: inline-grid; overflow: hidden; height: 1.25em; line-height: 1.25; vertical-align: top; }
.roll > span { display: block; transition: transform .35s var(--ease); }
a:hover > .roll > span, button:hover > .roll > span, .practice-card:hover .roll > span, .help-card:hover .roll > span { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) {
  .btn, .top, .top-row { transition: none; }
  .story-line li::before { background: var(--gold); border-color: var(--gold); }

}
.vtoggle { position: absolute; top: 16px; right: 16px; z-index: 5; display: flex; align-items: center; gap: 2px; background: rgba(10,24,48,.92); padding: 4px; font: 600 13px/1 var(--body); color: var(--on-navy); }
.vtoggle span { padding: 0 10px 0 8px; }
.vtoggle button { font: inherit; color: var(--white); background: transparent; border: 0; padding: 8px 10px; cursor: pointer; }
.vtoggle button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.legal-body p { max-width: 68ch; }
.legal-body .legal-date { color: var(--muted); font-size: 15px; }
.btn .btn-num { font-weight: 600; opacity: .8; margin-left: 4px; }
.hero .rating { margin: 0; font-size: 15px; font-weight: 600; color: var(--on-navy); align-self: center; }
/* Finger-sized tap targets on touch screens */
@media (pointer: coarse), (max-width: 760px) {
  .more, .contact-rows a, .matters-box-links a, .call-number { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Mid-page call to action: photograph behind navy, one line, the call button */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: var(--white); padding: 168px 0; text-align: center; }
.cta-band .wrap { position: relative; display: grid; justify-items: center; gap: 20px; }
.cta-band h2 { font-size: var(--h2-lg); }
.cta-band .lead { color: var(--on-navy); max-width: 46ch; margin: 0 0 20px; }
/* Focus rings: gold on navy, navy on light sections so they are always visible */
.sec :focus-visible, .intro :focus-visible, .ways :focus-visible, .story :focus-visible, .faq :focus-visible, .top :focus-visible, .legal-body :focus-visible { outline-color: var(--navy); }
/* Hover motion only where there is a real pointer; taps on phones don't trigger it */
@media (hover: none) {
  a:hover > .roll > span, button:hover > .roll > span, .practice-card:hover .roll > span, .help-card:hover .roll > span { transform: none; }
  .help-card:hover .help-link i, .matters-box-links a:hover i, .exp2-link:hover svg, .t-video:hover .play { transform: none; }
}

/* Practice pages: photo feature, prosecutor years, photo cards, versus, credentials */
.feature { padding: 100px 0; background: var(--navy-deep); color: #fff; }
.feature-grid { display: grid; justify-items: center; gap: 22px; max-width: 800px; text-align: center; }
.feature-copy { display: grid; gap: 18px; justify-items: center; }
.feature h2 { font-size: var(--h2-lg); color: #fff; text-wrap: balance; }
.feature .lead { font-size: 18px; line-height: 1.6; color: #fff; max-width: 62ch; }

.pros { display: grid; grid-template-columns: 1.15fr .85fr; gap: 72px; align-items: center; }
.pros-copy > p + p, .feature-copy > p + p, .about2-copy .lead + .lead { margin-top: 0; }
.pros-copy > p + p { margin-top: 16px; }
.pros-copy .lead { color: var(--ink); }
.pros-copy h2 { margin-bottom: 20px; }
.pros-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.pcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.pcard { display: flex; flex-direction: column; background: var(--white); }
.pcard-img { overflow: hidden; aspect-ratio: 16 / 10; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.05); }
.pcard-body { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 28px; }
.pcard-body h3 { font-size: 22px; }
.pcard-body p { color: var(--muted); font-size: 16px; line-height: 1.55; }
.sec:has(.pros) { padding: 118px 0; }
.sec:has(.pcards) { padding: 92px 0; }

.creds { display: grid; grid-template-columns: 340px 1fr; gap: 72px; align-items: center; }
.creds img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 15%; }
.creds h2 { margin-bottom: 32px; }
.creds .roles { grid-template-columns: 1fr 1fr; }

@media (max-width: 1060px) {
  .pros, .creds { grid-template-columns: 1fr; gap: 44px; }
  .pros-img { aspect-ratio: 16 / 9; }
  .creds img { max-width: 300px; }
  .pcards { grid-template-columns: 1fr 1fr; }

}
@media (max-width: 760px) {
  .feature .lead { font-size: 17px; }
  .feature { padding: 64px 0; }
  .pcards, .creds .roles { grid-template-columns: 1fr; }

}

/* Message form: home page (after the FAQ) and contact page */
.message { padding: 104px 0; background: var(--white); }
.message-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
.message-copy { display: grid; gap: 18px; position: sticky; top: 120px; }
.message-copy .lead { color: var(--muted); }
.msg-form { display: grid; gap: 14px; padding: 36px 40px; background: var(--grey); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; font-weight: 700; font-size: 15px; color: var(--ink); }
.field small { font-weight: 500; color: var(--muted); font-size: 14px; }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #c3ccd6; border-radius: 0; background: var(--white); font: 500 17px/1.4 var(--body); color: var(--ink); transition: border-color .2s var(--ease); }
.field textarea { resize: vertical; min-height: 96px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%230f2340' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--navy); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--navy); outline-offset: 1px; border-color: var(--navy); }
.msg-form .btn { margin-top: 6px; }
.msg-form .btn[disabled] { opacity: .6; cursor: progress; }
.msg-status:empty { display: none; }
.msg-status { font-weight: 600; color: var(--navy); }
.msg-form.sent > :not(.msg-status) { display: none; }
.msg-form.sent .msg-status { font-size: 20px; line-height: 1.5; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
@media (max-width: 900px) {
  .message-grid { grid-template-columns: 1fr; gap: 36px; }
  .message-copy { position: static; }

}
@media (max-width: 760px) {
  .msg-form { padding: 26px 20px; }
  .field-row { grid-template-columns: 1fr; }

}

.pcards-2 { grid-template-columns: 1fr 1fr; }
.pcard-body h2 { font-size: 26px; }
.about2-copy .lead + .lead { margin-top: 0; }
.creds .roles span { color: var(--ink); font-size: 17px; }
@media (max-width: 760px) { .pcards-2 { grid-template-columns: 1fr; } 
}
.page-hero-grid.has-fig:has(.call-card) { grid-template-columns: 1fr 460px; }
.page-hero-grid .call-card { justify-self: end; }
.call-number { white-space: nowrap; }
@media (max-width: 1060px) { .page-hero-grid.has-fig:has(.call-card) { grid-template-columns: 1fr; } .page-hero-grid .call-card { justify-self: start; } 
}

/* Case pages: question and answer blocks */
.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.qa-item { display: grid; gap: 10px; align-content: start; padding-top: 22px; border-top: 2px solid var(--navy); }
.qa-item h3 { font-size: 22px; }
.qa-item p { color: var(--muted); }
.pcard-body .help-link { margin-top: auto; padding-top: 12px; }
.pcards-5 { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pcards-5 .pcard-img { aspect-ratio: 4 / 3; }
.pcards-5 .pcard-body { padding: 20px 18px 22px; gap: 8px; }
.pcards-5 .pcard-body h3 { font-size: 19px; }
.pcards-5 .pcard-body p { font-size: 15px; line-height: 1.5; }
.sec:has(.pcards-5) { padding: 84px 0; }
.wrap:has(> .pcards-5) { width: min(1240px, 100% - 96px); }
@media (max-width: 1220px) { .pcards-5 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 1060px) { .pcards-5 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .qa { grid-template-columns: 1fr; gap: 28px; } .pcards-5 { grid-template-columns: 1fr; } }

/* Ian's portrait at the top of the home hero call card */
.card-who { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.card-who img { width: 72px; height: 72px; object-fit: cover; object-position: 50% 12%; }
.card-who span { display: grid; gap: 2px; font-size: 15px; color: var(--muted); line-height: 1.3; }
.card-who b { font: 700 21px/1.2 var(--display); letter-spacing: -0.02em; color: var(--navy); }

.pcards-4 { grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcards-4 .pcard-img { aspect-ratio: 4 / 3; }
.pcards-4 .pcard-body { padding: 22px 20px 24px; }
.pcards-4 .pcard-body p { font-size: 15.5px; }
.qa-item a { color: var(--navy); font-weight: 700; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 1220px) { .help-grid, .pcards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .help-grid, .pcards-4 { grid-template-columns: 1fr; } }

/* Logo (header navy, footer white) */
.wordmark .logo { display: block; height: 46px; width: auto; }
.top.scrolled .wordmark .logo { height: 40px; }
.foot-name .logo { display: block; height: 44px; width: auto; }
.page-hero .lead b { color: var(--white); font-weight: 700; }
@media (max-width: 760px) { .wordmark .logo, .top.scrolled .wordmark .logo { height: 34px; } }
.faq:has(.faq-item:nth-child(9)) { padding: 60px 0; }
.pros-copy .actions { margin-top: 32px; }

/* Text beside a photo with a call button: wider, shorter photo so the copy and image balance */
.pros:has(.actions) .pros-img { aspect-ratio: 3 / 2; }
.sec:has(.pros .actions) { padding: 100px 0; }
