
/* Layout: bright harbor-morning page. Cool mint-white ground, navy ink, one deep green accent.
   New York photography carries the mood (Liberty in the hero, a skyline band that opens to full
   width on scroll, a Top of the Rock CTA). The "route into New York" motif repeats: world map,
   case paths in each practice area, a route rail in the process, a borough map by the contact form.
   Single committed light look. */
/* Light tokens on :root; dark tokens follow the system setting unless the visitor picks a theme */
:root {
  --bg: #f3f7f5;
  --surface: #fbfcfb;
  --tint-g: #e3efe8;
  --tint-n: #e6ecf4;
  --ink: #0d1d36;
  --ink-2: #3e4e66;
  --muted: #5b6a7e;
  --dim: #b5c0cc;
  --line: rgba(13, 29, 54, 0.1);
  --line-2: rgba(13, 29, 54, 0.17);
  --line-3: rgba(13, 29, 54, 0.4);
  --green: #17684a;
  --green-hi: #1d7d5a;
  --on-green: #f7fbf9;
  --glass: rgba(243, 247, 245, 0.9);
  --shadow: 0 1px 2px rgba(13,29,54,.05), 0 6px 8px -6px rgba(13,29,54,.06);
  --photo-fb: var(--photo-fb);
  --placeholder: #7d8a9b;
  --err: #a63a23;
  --mark-bg: #0d1d36;
  --bird: #16325c;
  --mark-fg: #e3efe8;
  --map-ink: 13,29,54;
  --map-accent: 23,104,74;
  --map-bg: #fbfcfb;

  --f-sans: "Geist", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-io: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 14px;
  --r-input: 10px;
  --maxw: 1200px;
  --hdr: 68px;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #0a1220; --surface: #111c2d; --tint-g: #0e2620; --tint-n: #0f1a2b;
  --ink: #e9eff3; --ink-2: #b4c1ce; --muted: #8b99aa; --dim: #3b4a5e;
  --line: rgba(233, 239, 243, 0.1); --line-2: rgba(233, 239, 243, 0.17); --line-3: rgba(233, 239, 243, 0.4);
  --green: #56c596; --green-hi: #74d6ab; --on-green: #062218;
  --glass: rgba(10, 18, 32, 0.9); --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 16px -8px rgba(0,0,0,.4);
  --photo-fb: linear-gradient(160deg, #15263a 0%, #12302a 55%, #0f1a2b 100%);
  --placeholder: #7f8ea0; --err: #f2a48f; --mark-bg: #e9eff3; --bird: #dfe8f1; --mark-fg: #0a1220;
  --map-ink: 233,239,243; --map-accent: 86,197,150; --map-bg: #111c2d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.55; letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
h1, h2, h3, h4 { text-wrap: balance; margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--green); color: var(--on-green); }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 6px; }

.wrap {
  max-width: var(--maxw); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.ph { border-bottom: 1px dashed currentColor; }
.kicker { font-family: var(--f-mono); font-size: 13px; color: var(--green); letter-spacing: 0.02em; }
.lede { color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); max-width: 56ch; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: 999px; white-space: nowrap;
  font: 500 16px/1 var(--f-sans); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--green); color: var(--on-green); }
.btn-primary:hover { background: var(--green-hi); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--line-3); }
.btn-light { background: #f5f8fb; color: #0d1d36; }
.btn-light:hover { background: #fff; }
.btn .arrow { transition: transform 240ms var(--ease-out); }
.btn:hover .arrow { transform: translateX(3px); }

/* Photo frames: a designed fallback shows until the photo file is present */
.photo { position: relative; overflow: hidden; background: var(--photo-fb); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .alt-note { position: absolute; left: 14px; bottom: 12px; font: 400 12px/1.3 var(--f-mono); color: var(--ink-2); }
.photo.has-img .alt-note { display: none; }

/* Header */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; border-bottom: 1px solid transparent; transition: background-color 300ms ease, border-color 300ms ease; }
.site-header.scrolled { background: var(--glass); -webkit-backdrop-filter: saturate(170%) blur(18px); backdrop-filter: saturate(170%) blur(18px); border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { display: block; font-weight: 600; font-size: 17px; letter-spacing: -0.02em; line-height: 1.1; }
.brand-sub { display: block; font: 400 12px/1.2 var(--f-mono); color: var(--muted); letter-spacing: 0; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; color: var(--ink-2); font-size: 15px; transition: color 200ms ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }
.nav-phone { font: 500 14px/1 var(--f-mono); text-decoration: none; white-space: nowrap; }
.menu-btn { display: none; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; place-items: center; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { display: block; width: 16px; height: 1.5px; background: currentColor; position: relative; transition: transform 260ms var(--ease-out), background-color 200ms; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; } .menu-btn span::after { top: 5px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-5px) rotate(-45deg); }
.mobile-menu { display: none; padding-block: 8px 24px; }
.mobile-menu a { display: block; padding: 14px 0; font-size: 22px; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 20px; width: 100%; border-bottom: 0; font-size: 17px; }
@media (max-width: 960px) {
  .nav-links, .nav-phone, .nav-cta .btn { display: none; }
  .menu-btn { display: grid; }
  .menu-open .site-header { background: var(--bg); }
  .menu-open .mobile-menu { display: block; }
}

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 86px); letter-spacing: -0.04em; line-height: 1.02; }
.hero h1 .soft { color: var(--green); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); margin: 0; }
.hero-photo img { object-position: 48% 50%; transform: scale(1.06); will-change: transform; }
.hero-photo .badge { position: absolute; right: 14px; top: 14px; padding: 8px 12px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 500 12px/1 var(--f-mono); color: var(--ink); }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { aspect-ratio: 16 / 11; } .hero-photo img { object-position: 48% 28%; } }
.word { display: inline-block; }
.anim .word { opacity: 0; transform: translateY(0.4em); filter: blur(6px); animation: rise 900ms var(--ease-out) forwards; }
.anim .fade-in { opacity: 0; animation: fade 900ms var(--ease-out) forwards; }
.anim .hero-photo { clip-path: inset(100% 0 0 0 round var(--r)); animation: unveil 1400ms var(--ease-io) 250ms forwards; }
@keyframes rise { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes fade { to { opacity: 1; } }
@keyframes unveil { to { clip-path: inset(0 0 0 0 round var(--r)); } }

.journeys { position: relative; margin: clamp(36px, 5vw, 64px) 0 0; border-radius: var(--r); overflow: hidden; background: radial-gradient(110% 100% at 25% 30%, #e1efe7 0%, #e7edf5 60%, #edf2f4 100%); aspect-ratio: 2.5 / 1; max-width: 100%; }
.journeys canvas, .boroughs canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map-cap { position: absolute; left: 20px; right: 20px; bottom: 16px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font: 400 12px/1.4 var(--f-mono); color: var(--ink-2); pointer-events: none; margin: 0; }
@media (max-width: 640px) { .journeys { aspect-ratio: 1.1 / 1; } }

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: clamp(40px, 6vw, 72px); }
.facts div { display: grid; gap: 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.facts strong { font-weight: 500; }
.facts span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts div { padding-block: 14px; } }

/* Statement */
.statement { padding-block: clamp(96px, 14vw, 180px) clamp(56px, 8vw, 96px); }
.statement p { font-size: clamp(30px, 4.6vw, 58px); line-height: 1.14; letter-spacing: -0.03em; font-weight: 500; max-width: 23ch; }
.statement .w { color: var(--dim); transition: color 380ms ease; }
.statement .w.lit { color: var(--ink); }
.statement .w.lit.accent { color: var(--green); }

/* City band: opens to full width on scroll */
.city { position: relative; height: 170vh; }
.city-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); height: calc(100vh - var(--hdr) - env(safe-area-inset-top, 0px)); overflow: hidden; }
.city-frame { position: absolute; inset: 0; --c: 0; clip-path: inset(calc((1 - var(--c)) * 9%) calc((1 - var(--c)) * 12%) round calc((1 - var(--c)) * 18px)); }
.city-frame img { transform: scale(calc(1.18 - var(--c) * 0.18)); transform-origin: 50% 60%; }
.city-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,29,54,0) 40%, rgba(13,29,54,.62) 100%); }
.city-copy { position: absolute; left: 0; right: 0; bottom: clamp(28px, 6vw, 72px); z-index: 2; color: #f5f8fb; opacity: 0; }
.city-copy h2 { font-size: clamp(32px, 5vw, 64px); max-width: 16ch; }
.city-copy p { margin-top: 12px; font-size: clamp(16px, 1.6vw, 19px); max-width: 48ch; color: #dfe7ef; }
.city-copy .kicker { color: #bfe3cd; margin: 0 0 14px; }
@media (prefers-reduced-motion: reduce) {
  .city { height: auto; } .city-stage { position: relative; top: 0; height: 80vh; min-height: 480px; }
  .city-frame { clip-path: none; } .city-frame img { transform: none; } .city-copy { opacity: 1; }
}

section { scroll-margin-top: calc(var(--hdr) + 16px); }
.sec-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 720px; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 56px); }

/* Practice areas */
.practice { padding-block: clamp(96px, 12vw, 160px); }
.pa { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.pa-list { display: grid; gap: 2px; list-style: none; margin: 0; padding: 0; position: sticky; top: calc(var(--hdr) + 24px); }
.pa-tab { width: 100%; text-align: left; background: transparent; border: 0; color: var(--ink-2); font: 500 19px/1.3 var(--f-sans); letter-spacing: -0.015em; padding: 14px 16px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; transition: color 200ms ease, background-color 240ms ease; }
.pa-tab:hover { color: var(--ink); }
.pa-tab[aria-selected="true"] { color: var(--ink); background: var(--tint-g); }
.pa-tab .chev { opacity: 0; transform: translateX(-6px); transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out); color: var(--green); }
.pa-tab[aria-selected="true"] .chev { opacity: 1; transform: none; }
.pa-panel { background: var(--surface); border-radius: var(--r); padding: clamp(24px, 4vw, 48px); display: grid; gap: 24px; box-shadow: var(--shadow); }
.pa-panel.entering { animation: panelIn 520ms var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px) scale(0.99); filter: blur(4px); } }
.pa-panel h3 { font-size: clamp(28px, 3.4vw, 42px); }
.pa-panel > p { color: var(--ink-2); max-width: 58ch; }
.pa-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pa-cols h4 { margin: 0 0 10px; font: 500 13px/1.3 var(--f-mono); color: var(--green); letter-spacing: 0.02em; }
.pa-cols ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 16px; }
.pa-cols li { display: flex; gap: 10px; }
.pa-cols li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--green); margin-top: 0.62em; flex: none; opacity: .6; }
.pa-panel .btn { justify-self: start; }

/* Case path (route motif) */
.path { background: var(--tint-n); border-radius: 12px; padding: 16px 18px 10px; min-height: 120px; }
.path-title { font: 500 12px/1 var(--f-mono); color: var(--muted); margin-bottom: 4px; }
.path svg { width: 100%; height: auto; display: block; overflow: visible; }
.path .track { fill: none; stroke: var(--line-2); stroke-width: 2; }
.path .run { fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; }
.path .node { fill: var(--surface); stroke: var(--green); stroke-width: 2; transform-box: fill-box; transform-origin: center; }
.path .node.end { fill: var(--green); }
.path .lbl { font-family: var(--f-sans); font-weight: 500; fill: var(--ink); }
.path .sub { font-family: var(--f-mono); fill: var(--muted); }
.path .runner { fill: var(--green); }
.path.go .run { animation: draw 1600ms var(--ease-io) forwards; }
.path.go .node { animation: pop 500ms var(--ease-out) backwards; }
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes pop { from { transform: scale(0.4); opacity: 0; } }

@media (max-width: 880px) {
  .pa { grid-template-columns: 1fr; }
  .pa-list { position: static; display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .pa-list::-webkit-scrollbar { display: none; }
  .pa-list li { scroll-snap-align: start; flex: none; }
  .pa-tab { font-size: 15px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; background: var(--surface); }
  .pa-tab[aria-selected="true"] { background: var(--ink); color: var(--surface); border-color: var(--ink); }
  .pa-tab .chev { display: none; }
  .pa-cols { grid-template-columns: 1fr; }
}

/* Process: pinned, with a route rail */
.process { background: linear-gradient(180deg, var(--bg), var(--tint-n) 12%, var(--tint-n) 88%, var(--bg)); }
.proc-track { position: relative; height: 420vh; }
.proc-stage { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); height: calc(100vh - var(--hdr) - env(safe-area-inset-top, 0px)); display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.rail { position: relative; list-style: none; margin: 0; padding: 0 0 0 36px; }
.rail::before { content: ""; position: absolute; left: 9px; top: 26px; bottom: 26px; width: 2px; background: var(--line-2); border-radius: 2px; }
.rail-fill { position: absolute; left: 9px; top: 26px; width: 2px; height: calc(100% - 52px); background: var(--green); border-radius: 2px; transform-origin: top; transform: scaleY(0); }
.rail-dot { position: absolute; left: 4px; top: 21px; width: 12px; height: 12px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 6px color-mix(in oklab, var(--green) 15%, transparent); }
.rail li { position: relative; padding: 14px 0; color: var(--dim); font-size: 21px; font-weight: 500; letter-spacing: -0.015em; transition: color 400ms ease; }
.rail li::before { content: ""; position: absolute; left: -32px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--tint-n); border: 2px solid var(--line-2); transition: border-color 300ms, background-color 300ms; }
.rail li.on { color: var(--ink); }
.rail li.on::before { border-color: var(--green); background: var(--green); }
.proc-cards { position: relative; min-height: 380px; }
.proc-card { position: absolute; inset: 0; display: grid; align-content: center; gap: 18px; opacity: 0; transform: translateY(24px); filter: blur(6px); pointer-events: none; transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), filter 600ms var(--ease-out); }
.proc-card.on { opacity: 1; transform: none; filter: none; pointer-events: auto; }
.proc-card .big { font: 300 clamp(80px, 11vw, 150px)/0.9 var(--f-sans); letter-spacing: -0.05em; color: var(--green); }
.proc-card h3 { font-size: clamp(30px, 3.8vw, 48px); }
.proc-card p { color: var(--ink-2); font-size: 19px; max-width: 44ch; }
.proc-card .meta { font: 400 13px/1.5 var(--f-mono); color: var(--muted); }
@media (max-width: 880px), (prefers-reduced-motion: reduce) {
  .process { padding-bottom: clamp(64px, 10vw, 120px); }
  .proc-track { height: auto; }
  .proc-stage { position: static; height: auto; grid-template-columns: 1fr; }
  .rail-wrap { display: none; }
  .proc-cards { min-height: 0; display: grid; padding-left: 28px; margin-left: 7px; border-left: 2px solid color-mix(in oklab, var(--green) 25%, transparent); }
  .proc-card { position: relative; opacity: 1; transform: none; filter: none; padding-block: 28px; }
  .proc-card::before { content: ""; position: absolute; left: -37px; top: 44px; width: 14px; height: 14px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px var(--tint-n); }
  .proc-card .big { font-size: 56px; }
}

/* Attorney */
.attorney { padding-block: clamp(96px, 12vw, 160px); }
.att { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.portrait { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); display: grid; place-items: center; }
.portrait .initial { font: 300 clamp(110px, 15vw, 190px)/1 var(--f-sans); color: color-mix(in oklab, var(--green) 28%, transparent); letter-spacing: -0.06em; }
.att-copy { display: grid; gap: 22px; }
.att-copy h2 { font-size: clamp(32px, 4.4vw, 54px); }
.att-copy p { color: var(--ink-2); max-width: 54ch; }
.creds { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 32px; margin: 8px 0 0; }
.creds div { display: grid; gap: 2px; }
.creds dt { font: 400 13px/1.3 var(--f-mono); color: var(--green); }
.creds dd { margin: 0; }
@media (max-width: 860px) { .att { grid-template-columns: 1fr; } .portrait { max-width: 440px; } }

/* What to bring */
.bring { padding-block: clamp(80px, 10vw, 128px); background: var(--tint-g); }
.bring-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); }
.bring ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.bring li { display: grid; gap: 6px; padding-top: 14px; border-top: 1px solid color-mix(in oklab, var(--green) 20%, transparent); }
.bring li strong { font-weight: 500; font-size: 18px; }
.bring li span { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .bring-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .bring ol { grid-template-columns: 1fr; } }

/* FAQ */
.faq { padding-block: clamp(96px, 12vw, 160px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 0; display: flex; justify-content: space-between; gap: 24px; font-size: clamp(18px, 2vw, 22px); font-weight: 500; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq .plus { width: 28px; height: 28px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); position: relative; margin-top: 2px; transition: border-color 200ms, background-color 200ms; }
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); }
.faq .plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 300ms var(--ease-out); }
.faq details[open] .plus { border-color: var(--green); background: var(--green); }
.faq details[open] .plus::before, .faq details[open] .plus::after { background: var(--on-green); }
.faq details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq .ans { padding: 0 52px 26px 0; color: var(--ink-2); max-width: 64ch; }
.faq details[open] .ans { animation: fade 500ms var(--ease-out); }
.faq-photo { aspect-ratio: 3 / 4; border-radius: var(--r); position: sticky; top: calc(var(--hdr) + 24px); max-width: 100%; margin: 0; }
.faq-photo img { object-position: 52% 45%; }
@media (max-width: 860px) { .faq-grid { grid-template-columns: 1fr; } .faq-photo { display: none; } }

/* CTA band */
.cta { padding-block: 0 clamp(64px, 8vw, 96px); }
.cta-card { position: relative; border-radius: var(--r); overflow: hidden; min-height: clamp(380px, 46vw, 560px); display: grid; align-items: end; background: var(--ink); }
.cta-card .photo { position: absolute; inset: 0; }
.cta-card .photo img { transform: translateY(var(--py, 0px)) scale(1.12); will-change: transform; }
.cta-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,29,54,.78) 0%, rgba(13,29,54,.42) 55%, rgba(13,29,54,.05) 100%); pointer-events: none; }
.cta-copy { position: relative; z-index: 2; padding: clamp(24px, 5vw, 56px); display: grid; gap: 18px; color: #f5f8fb; max-width: 640px; }
.cta-copy h2 { font-size: clamp(32px, 4.6vw, 56px); }
.cta-copy p { color: #dce5ee; font-size: 18px; max-width: 44ch; }
.cta-copy .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.cta-copy .btn-ghost { color: #f5f8fb; border-color: rgba(245,248,251,.4); }

/* Contact */
.contact { padding-block: clamp(80px, 10vw, 128px); background: var(--tint-n); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.office { display: grid; gap: 26px; }
.office h2 { font-size: clamp(34px, 4.6vw, 58px); }
.office dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 24px; }
.office dt { font: 400 13px/1.3 var(--f-mono); color: var(--green); margin-bottom: 4px; }
.office dd { margin: 0; font-size: 17px; }
.office .wide { grid-column: 1 / -1; }
.office .phone-big { font: 500 clamp(24px, 3vw, 32px)/1.1 var(--f-mono); letter-spacing: -0.02em; text-decoration: none; }
.boroughs { position: relative; aspect-ratio: 1.45 / 1; border-radius: var(--r); overflow: hidden; background: var(--surface); max-width: 100%; }

form.consult { background: var(--surface); border-radius: var(--r); padding: clamp(22px, 4vw, 40px); display: grid; gap: 20px; box-shadow: var(--shadow); }
.row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 500; color: var(--ink-2); padding: 0; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; border-radius: var(--r-input); border: 1px solid var(--line-2); background: var(--bg); color: var(--ink); font: 400 16px/1.4 var(--f-sans); padding: 12px 14px; transition: border-color 200ms ease, background-color 200ms ease; }
.field textarea { min-height: 112px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--green); background: var(--surface); box-shadow: 0 0 0 3px color-mix(in oklab, var(--green) 14%, transparent); }
.field .err { color: var(--err); font-size: 13px; }
.field.invalid input { border-color: var(--err); }
fieldset.field { border: 0; margin: 0; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills label { position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); font-size: 15px; cursor: pointer; transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.pills span:active { transform: scale(0.97); }
.pills input:checked + span { background: var(--green); color: var(--on-green); border-color: var(--green); }
.pills input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.fine { font-size: 13px; color: var(--muted); line-height: 1.5; }
.sent { display: grid; gap: 12px; padding-block: 24px; animation: panelIn 520ms var(--ease-out); }
.sent h3 { font-size: 30px; }
.sent p { color: var(--ink-2); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .row2, .office dl { grid-template-columns: 1fr; } }

/* Footer */
footer { padding-block: 56px 120px; color: var(--ink-2); font-size: 14px; }
.foot { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.foot h4 { margin: 0 0 12px; font: 500 13px/1 var(--f-mono); color: var(--ink); letter-spacing: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot a { text-decoration: none; } .foot a:hover { color: var(--ink); }
.legal { padding-top: 24px; display: grid; gap: 10px; font-size: 13px; max-width: 92ch; color: var(--muted); }
.legal strong { color: var(--ink); font-weight: 500; }
@media (max-width: 760px) { .foot { grid-template-columns: 1fr; } }

/* Mobile action bar */
.actionbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: none; gap: 10px; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform 420ms var(--ease-out); }
.actionbar.show { transform: none; }
.actionbar .btn { flex: 1; font-size: 15px; padding: 0 14px; }
.actionbar .btn-ghost { flex: 0 0 auto; padding: 0 22px; background: var(--surface); }
@media (max-width: 960px) { .actionbar { display: flex; } }

.motion .rv { opacity: 0; transform: translateY(28px); transition: opacity 900ms var(--ease-out), transform 1000ms var(--ease-out); }
.motion .rv.in { opacity: 1; transform: none; }
.motion .rv-d1 { transition-delay: 90ms; } .motion .rv-d2 { transition-delay: 180ms; }

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

/* ===== Multi-page additions ===== */
.nav-links a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--green); padding-bottom: 4px; }
.mobile-menu a[aria-current="page"] { color: var(--green); }

/* Inner page hero */
.page-hero { padding-block: clamp(48px, 8vw, 104px) clamp(32px, 5vw, 64px); }
.page-hero .inner { display: grid; gap: 18px; max-width: 820px; }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); letter-spacing: -0.04em; line-height: 1.03; }
.page-hero h1 .soft { color: var(--green); }
.crumbs { font: 400 13px/1 var(--f-mono); color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs a { text-decoration: none; color: var(--muted); } .crumbs a:hover { color: var(--ink); }

/* Home: practice overview (links out to the Practice Areas page) */
.overview { padding-block: clamp(96px, 12vw, 150px) clamp(56px, 8vw, 96px); }
.ov-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
.ov-head h2 { font-size: clamp(32px, 4.6vw, 56px); max-width: 15ch; }
.ov-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); border-top: 1px solid var(--line); }
.ov-list li { border-bottom: 1px solid var(--line); }
.ov-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 22px 8px; text-decoration: none; border-radius: 10px; transition: background-color 260ms ease, padding 360ms var(--ease-out); }
.ov-list a:hover { background: var(--surface); padding-inline: 18px; }
.ov-list strong { font-size: clamp(19px, 2vw, 23px); font-weight: 500; letter-spacing: -0.02em; }
.ov-list small { grid-column: 1; font: 400 12.5px/1.4 var(--f-mono); color: var(--muted); }
.ov-list .go { grid-row: 1 / span 2; grid-column: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--green); transition: background-color 260ms ease, color 260ms ease, transform 360ms var(--ease-out); }
.ov-list a:hover .go { background: var(--green); color: var(--on-green); transform: translateX(2px); }
@media (max-width: 760px) { .ov-list { grid-template-columns: 1fr; } .ov-head { grid-template-columns: 1fr; } .ov-head .btn { justify-self: start; } }

/* Home: attorney teaser */
.teaser { padding-block: clamp(56px, 8vw, 104px) clamp(96px, 12vw, 150px); }
.teaser-grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.teaser .portrait img { object-position: 50% 18%; }
.teaser-copy { display: grid; gap: 22px; }
.teaser-copy .rule { display: flex; align-items: center; gap: 16px; }
.teaser-copy .rule::before { content: ""; width: 64px; height: 2px; background: var(--green); opacity: .55; flex: none; }
.teaser-copy h2 { font-size: clamp(34px, 4.8vw, 62px); letter-spacing: -0.035em; }
.teaser-copy h2 em { font-style: normal; color: var(--green); }
.teaser-copy p { color: var(--ink-2); max-width: 54ch; }
.lang-row { display: flex; flex-wrap: wrap; gap: 8px; }
.lang-row span { padding: 8px 14px; border-radius: 999px; background: var(--tint-g); font: 500 14px/1 var(--f-sans); color: var(--ink); }
@media (max-width: 860px) { .teaser-grid { grid-template-columns: 1fr; } .teaser .portrait { max-width: 420px; } }

/* About hero */
.about-hero { position: relative; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); background: linear-gradient(180deg, var(--bg) 0%, var(--tint-n) 100%); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.about-photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r); }
.about-photo img { object-position: 50% 15%; }
.anim .about-photo { clip-path: inset(100% 0 0 0 round var(--r)); animation: unveil 1400ms var(--ease-io) 200ms forwards; }
.about-info { display: grid; gap: 20px; }
.about-info h1 { font-size: clamp(44px, 6.4vw, 84px); letter-spacing: -0.04em; line-height: 1; }
.about-info .role { font: 500 13px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.contact-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 10px; }
.contact-lines li { display: flex; gap: 12px; align-items: baseline; }
.contact-lines .k { font: 400 12px/1 var(--f-mono); color: var(--muted); width: 84px; flex: none; }
.contact-lines a { text-decoration: none; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } .about-photo { max-width: 460px; aspect-ratio: 4 / 4.6; } }

/* About: bio */
.bio { padding-block: clamp(80px, 10vw, 128px); }
.bio-head { max-width: 820px; margin-bottom: clamp(32px, 5vw, 56px); display: grid; gap: 16px; }
.bio-head h2 { font-size: clamp(32px, 4.4vw, 54px); }
.bio-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); color: var(--ink-2); font-size: 18px; }
.bio-cols p + p { margin-top: 16px; }
@media (max-width: 760px) { .bio-cols { grid-template-columns: 1fr; } }

/* Marquee of practice terms */
.marquee { overflow: hidden; padding-block: 28px; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; gap: 40px; width: max-content; animation: slide 46s linear infinite; font: 500 clamp(15px, 1.6vw, 18px)/1 var(--f-mono); color: var(--green); letter-spacing: 0.06em; text-transform: uppercase; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 52s; color: var(--muted); margin-top: 16px; }
.marquee-row span { white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.marquee-row span::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .45; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee:hover .marquee-row { animation-play-state: paused; }

/* About: credentials + photo */
.creds-sec { padding-block: clamp(80px, 10vw, 128px); }
.creds-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.creds-big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; margin: 0; }
.creds-big div { padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.creds-big dt { font: 400 13px/1.3 var(--f-mono); color: var(--green); }
.creds-big dd { margin: 0; font-size: clamp(19px, 2vw, 23px); font-weight: 500; letter-spacing: -0.015em; }
.creds-photo { aspect-ratio: 3 / 4; border-radius: var(--r); max-width: 100%; margin: 0; }
.creds-photo img { object-position: 52% 45%; }
.own-words { padding: clamp(24px, 4vw, 40px); background: var(--surface); border-radius: var(--r); margin-top: 40px; display: grid; gap: 12px; }
.own-words p { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; letter-spacing: -0.02em; font-weight: 500; }
.own-words > span { font: 400 13px/1 var(--f-mono); color: var(--muted); }
@media (max-width: 860px) { .creds-grid { grid-template-columns: 1fr; } .creds-photo { display: none; } }
@media (max-width: 520px) { .creds-big { grid-template-columns: 1fr; } }

/* Contact page: FAQ sits below the contact block */
.contact-page { padding-top: 0; background: var(--bg); }
.faq-wide { padding-block: clamp(80px, 10vw, 128px); background: var(--tint-n); }

/* Footer with offices (Cho-style) */
.foot-office address { font-style: normal; line-height: 1.6; }
.foot-office .ph-line { margin-top: 8px; font-family: var(--f-mono); font-size: 13px; }

@media (prefers-reduced-motion: reduce) { .marquee-row { animation: none; flex-wrap: wrap; width: auto; } .marquee-row span:nth-child(n+10) { display: none; } }

/* ===== Round 3: header controls, hero, services, mobile app layout ===== */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:root { --sun: none; --moon: block; }
:root[data-theme="dark"] { --sun: block; --moon: none; }

.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--tint-n); gap: 2px; }
.lang a { min-width: 38px; height: 32px; display: grid; place-items: center; border-radius: 999px; font: 500 12.5px/1 var(--f-mono); text-decoration: none; color: var(--muted); transition: background-color 200ms ease, color 200ms ease; }
.lang a.on { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.lang a:not(.on):hover { color: var(--ink); }
.theme-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform 160ms var(--ease-out), border-color 200ms ease; }
.theme-btn:hover { border-color: var(--line-3); }
.theme-btn:active { transform: scale(0.94); }
.theme-btn svg { width: 19px; height: 19px; }
.theme-btn .i-sun { display: var(--sun); } .theme-btn .i-moon { display: var(--moon); }
html.theme-anim, html.theme-anim * { transition: background-color 420ms ease, color 420ms ease, border-color 420ms ease !important; }
.nav-cta { gap: 10px; }

/* Home hero: Daniyar first */
.pro-hero { padding-block: clamp(28px, 5vw, 72px) 0; }
.pro-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.pro-photo { margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r); max-width: 100%; }
.pro-photo img { object-position: 50% 16%; }
.anim .pro-photo { clip-path: inset(100% 0 0 0 round var(--r)); animation: unveil 1400ms var(--ease-io) 150ms forwards; }
.pro-badge { position: absolute; left: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); max-width: calc(100% - 28px); }
.pro-badge b { font: 300 40px/1 var(--f-sans); letter-spacing: -0.04em; color: var(--green); }
.pro-badge span { font-size: 13px; line-height: 1.3; color: var(--ink); max-width: 17ch; }
.pro-overlay { display: none; }
.pro-info { display: grid; gap: 18px; }
.pro-info h1 { font-size: clamp(46px, 6.6vw, 92px); letter-spacing: -0.045em; line-height: 0.98; }
.role { font: 500 13px/1 var(--f-mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.pro-lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.pro-lines li { display: flex; align-items: center; gap: 10px; min-width: 0; font-size: 15.5px; }
.pro-lines svg { width: 18px; height: 18px; flex: none; color: var(--green); }
.pro-lines a { text-decoration: none; } .pro-lines a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pro-lines span, .pro-lines a { min-width: 0; overflow-wrap: anywhere; }

/* Services directory */
.services { padding-block: clamp(88px, 11vw, 140px) clamp(40px, 6vw, 72px); }
.svc-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: 28px; }
.svc-head h2 { font-size: clamp(32px, 4.6vw, 56px); }
.svc-tools { display: grid; gap: 14px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 20; padding-block: 12px; background: var(--bg); }
.svc-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); max-width: 560px; transition: border-color 200ms ease, box-shadow 200ms ease; }
.svc-search:focus-within { border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in oklab, var(--green) 14%, transparent); }
.svc-search svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.svc-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 400 16px/1 var(--f-sans); height: 100%; }
.svc-search input::placeholder { color: var(--placeholder); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); font: 500 14.5px/1 var(--f-sans); cursor: pointer; white-space: nowrap; transition: background-color 220ms ease, color 220ms ease, border-color 220ms ease, transform 160ms var(--ease-out); }
.chip b { font: 500 11.5px/1 var(--f-mono); color: var(--muted); }
.chip:hover { border-color: var(--line-3); color: var(--ink); }
.chip:active { transform: scale(0.96); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.chip.on b { color: color-mix(in oklab, var(--bg) 70%, transparent); }
.svc-count { font: 400 13px/1 var(--f-mono); color: var(--muted); margin: 10px 0 18px; min-height: 13px; }
.svc-grid { columns: 2 380px; column-gap: clamp(20px, 3vw, 40px); }
.svc-cat { break-inside: avoid; margin-bottom: clamp(20px, 3vw, 32px); background: var(--surface); border-radius: var(--r); padding: 22px 22px 10px; box-shadow: var(--shadow); }
.svc-cat h3 { font-size: 20px; letter-spacing: -0.02em; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.svc-cat h3 span { font: 500 12px/1 var(--f-mono); color: var(--green); }
.svc-cat ul { list-style: none; margin: 0; padding: 0; }
.svc-cat li { border-top: 1px solid var(--line); }
.svc-cat li a { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; min-height: 48px; padding: 10px 6px; margin-inline: -6px; text-decoration: none; border-radius: 8px; transition: background-color 200ms ease; }
.svc-cat li a:hover { background: var(--tint-g); }
.svc-name { font-size: 15.5px; line-height: 1.35; }
.svc-code { font: 500 11.5px/1.3 var(--f-mono); color: var(--green); background: var(--tint-g); padding: 5px 8px; border-radius: 6px; text-align: right; max-width: 16ch; justify-self: end; }
.svc-go { color: var(--muted); opacity: 0; transform: translateX(-4px); transition: opacity 200ms ease, transform 260ms var(--ease-out); }
.svc-cat li a:hover .svc-go { opacity: 1; transform: none; color: var(--green); }
.svc-cat.hide, .svc-cat li.hide { display: none; }
.svc-cat.pop { animation: panelIn 420ms var(--ease-out); }
.svc-more { display: none; }
.svc-empty { padding: 40px 0; display: grid; gap: 16px; justify-items: start; }
.svc-empty p { font-size: 19px; color: var(--ink-2); }
mark { background: color-mix(in oklab, var(--green) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }

/* Inner page hero with photo */
.ph-grid { display: grid; gap: clamp(24px, 5vw, 64px); }
.page-hero.has-photo .ph-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; }
.ph-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); max-width: 100%; }
.ph-photo img { object-position: 50% 30%; }
.anim .ph-photo { clip-path: inset(0 0 100% 0 round var(--r)); animation: unveil 1300ms var(--ease-io) 300ms forwards; }

/* Bottom tab bar + sheet (phones and small tablets) */
.tabbar { display: none; }
.sheet[hidden] { display: none; }
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(4, 10, 20, 0.42); animation: fade 260ms ease; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; background: var(--surface); border-radius: 22px 22px 0 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(20px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); display: grid; gap: 12px; max-height: 88vh; overflow-y: auto; animation: sheetUp 420ms var(--ease-drawer, cubic-bezier(0.32, 0.72, 0, 1)); }
.sheet.closing .sheet-panel { animation: sheetDown 260ms ease-in forwards; }
.sheet.closing .sheet-backdrop { animation: fade 260ms ease reverse forwards; }
@keyframes sheetUp { from { transform: translateY(100%); } }
@keyframes sheetDown { to { transform: translateY(100%); } }
.sheet-grip { width: 40px; height: 5px; border-radius: 3px; background: var(--line-2); justify-self: center; margin-bottom: 4px; }
.sheet-links { display: grid; }
.sheet-links a { display: flex; justify-content: space-between; align-items: center; min-height: 56px; font-size: 20px; font-weight: 500; letter-spacing: -0.015em; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet-links a span { color: var(--muted); }
.sheet-links a[aria-current="page"] { color: var(--green); }
.sheet-row { display: flex; justify-content: space-between; align-items: center; padding-block: 6px; }
.sheet-cta { width: 100%; min-height: 54px; font-size: 17px; }

@media (max-width: 960px) {
  .nav-links, .nav-phone, .nav-cta .btn { display: none; }
  .actionbar { display: none !important; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
  .tabbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; padding: 6px max(8px, env(safe-area-inset-right, 0px)) calc(6px + env(safe-area-inset-bottom, 0px)) max(8px, env(safe-area-inset-left, 0px)); background: var(--glass); -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%); border-top: 1px solid var(--line); }
  .tabbar a, .tabbar button { display: grid; justify-items: center; gap: 3px; min-height: 54px; padding-top: 6px; background: none; border: 0; color: var(--muted); font: 500 11px/1.1 var(--f-sans); text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: color 200ms ease, transform 160ms var(--ease-out); }
  .tabbar a:active, .tabbar button:active { transform: scale(0.94); }
  .tabbar svg { width: 24px; height: 24px; }
  .tabbar a[aria-current="page"] { color: var(--green); }
  .tabbar .tab-call { color: var(--on-green); }
  .tabbar .tab-call svg { width: 54px; height: 54px; padding: 14px; border-radius: 50%; background: var(--green); margin-top: -26px; box-shadow: 0 6px 16px -6px color-mix(in oklab, var(--green) 70%, transparent), 0 0 0 5px var(--bg); }
  .tabbar .tab-call span { color: var(--green); font-weight: 600; }
  .faq-photo { display: none; }
}

@media (max-width: 760px) {
  :root { --hdr: 60px; }
  .nav { height: var(--hdr); gap: 10px; }
  .brand-mark { width: 32px; height: 32px; }
  .brand-name { font-size: 16px; }
  .lang a { min-width: 34px; height: 30px; }
  .theme-btn { width: 38px; height: 38px; }

  /* Hero becomes an app-style profile card */
  .pro-hero { padding-top: 8px; }
  .pro-grid { grid-template-columns: 1fr; gap: 20px; }
  .pro-photo { aspect-ratio: 4 / 4.4; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px)) + 8px); border-radius: 20px; }
  .pro-photo img { object-position: 50% 12%; }
  .pro-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(180deg, transparent, rgba(6, 14, 26, 0.78)); pointer-events: none; }
  .pro-overlay { display: grid; gap: 6px; position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; color: #f5f8fb; }
  .pro-ov-name { font-size: 34px; font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
  .pro-ov-role { font: 500 12px/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: #bfe3cd; }
  .pro-badge { left: auto; right: 12px; top: 12px; bottom: auto; padding: 8px 12px 8px 10px; }
  .pro-badge b { font-size: 28px; } .pro-badge span { font-size: 11.5px; max-width: 13ch; }
  .pro-info { gap: 16px; }
  .pro-info h1, .pro-info .role { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pro-info .kicker { order: -1; }
  .pro-lines { grid-template-columns: 1fr; gap: 0; background: var(--surface); border-radius: 16px; padding: 4px 16px; box-shadow: var(--shadow); }
  .pro-lines li { min-height: 52px; border-bottom: 1px solid var(--line); font-size: 16px; }
  .pro-lines li:last-child { border-bottom: 0; }
  .hero-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .hero-actions .btn { min-height: 54px; font-size: 17px; }

  /* Facts become swipeable cards */
  .facts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-block: 24px 4px; scrollbar-width: none; }
  .facts::-webkit-scrollbar { display: none; }
  .facts div { flex: 0 0 78%; scroll-snap-align: start; background: var(--surface); border-radius: 16px; border-top: 0; padding: 16px; box-shadow: var(--shadow); }

  /* Services: horizontal chips, compact categories */
  .services { padding-top: 64px; }
  .svc-tools { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); padding-block: 10px; border-bottom: 1px solid transparent; }
  .svc-tools.stuck { border-bottom-color: var(--line); background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
  .svc-search { height: 48px; max-width: none; }
  .chips { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
  .chips::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; min-height: 44px; }
  .svc-grid { columns: 1; }
  .svc-cat { padding: 18px 16px 8px; border-radius: 16px; margin-bottom: 14px; }
  .svc-cat li a { min-height: 52px; }
  .svc-go { opacity: 1; transform: none; }
  .svc-grid:not(.filtered) .svc-cat:not(.open) li:nth-child(n+4) { display: none; }
  .svc-grid:not(.filtered) .svc-more { display: flex; }
  .svc-more { width: 100%; min-height: 48px; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 8px; border: 0; border-radius: 10px; background: var(--tint-g); color: var(--green); font: 500 15px/1 var(--f-sans); cursor: pointer; }
  .svc-cat.open .svc-more .lbl-more, .svc-cat:not(.open) .svc-more .lbl-less { display: none; }

  /* Lighter scroll scenes on phones */
  .city { height: 135vh; }
  .city-copy h2 { font-size: 30px; }
  .page-hero.has-photo .ph-grid { grid-template-columns: 1fr; }
  .ph-photo { aspect-ratio: 16 / 10; }
  .page-hero { padding-block: 28px 24px; }
  .cta-card { min-height: 420px; border-radius: 18px; }
  .cta-copy .row { display: grid; } .cta-copy .btn { min-height: 52px; }
  .about-photo { margin-inline: auto; }
  .btn { min-height: 50px; }
  footer { padding-bottom: 40px; }
}
@media (max-width: 760px) { .boroughs .map-cap { display: none; } }
.brand-name, .brand-sub, .nav-links a { white-space: nowrap; }
@media (max-width: 1240px) { .nav-phone { display: none; } .nav-links { gap: 20px; } }
@media (max-width: 1080px) { .nav-links { gap: 14px; } .nav-links a { font-size: 14px; } }

/* ===== Services page: minimal list ===== */
.sv { padding-block: 8px clamp(80px, 10vw, 128px); }
.sv-grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sv-index, .sv-list { min-width: 0; }
.sv-index { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr) + 28px); }
.sv-index ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.sv-index a { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0 8px 16px; margin-left: -1px; border-left: 2px solid transparent; color: var(--muted); font-size: 14.5px; text-decoration: none; transition: color 200ms ease, border-color 300ms var(--ease-out); }
.sv-index a span { font: 400 12px/1.6 var(--f-mono); }
.sv-index a:hover { color: var(--ink); }
.sv-index a.on { color: var(--ink); border-left-color: var(--green); }
.sv-index a.on span { color: var(--green); }
.sv-list { display: grid; gap: clamp(48px, 6vw, 72px); max-width: 760px; }
.sv-group { scroll-margin-top: calc(var(--hdr) + 24px); }
.sv-group h2 { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -0.025em; }
.sv-group h2 small { font: 400 12px/1 var(--f-mono); color: var(--muted); letter-spacing: 0; }
.sv-group ul { list-style: none; margin: 0; padding: 0; }
.sv-group li { border-bottom: 1px solid var(--line); }
.sv-group li a { display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; align-items: baseline; gap: 20px; padding: 17px 0; text-decoration: none; transition: padding 360ms var(--ease-out); }
.sv-n { font-size: 17px; line-height: 1.4; color: var(--ink); }
.sv-c { font: 400 12.5px/1.4 var(--f-mono); color: var(--muted); text-align: right; transition: color 200ms ease; }
.sv-a { color: var(--green); opacity: 0; transform: translateX(-6px); transition: opacity 240ms ease, transform 300ms var(--ease-out); }
.sv-group li a:hover { padding-left: 10px; }
.sv-group li a:hover .sv-c { color: var(--green); }
.sv-group li a:hover .sv-a { opacity: 1; transform: none; }
.sv-foot { display: grid; gap: 16px; justify-items: start; padding-top: 8px; }
.sv-foot p { font-size: 19px; color: var(--ink-2); }

/* Home: slim link to the Services page */
.svc-band { padding-block: clamp(72px, 9vw, 120px) 0; }
.band-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.band-head > div { display: grid; gap: 14px; }
.band-head h2 { font-size: clamp(30px, 4.2vw, 50px); max-width: 18ch; }
.band-cats { display: flex; flex-wrap: wrap; gap: 10px; }
.band-cats a { padding: 12px 18px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-size: 15.5px; transition: background-color 220ms ease, color 220ms ease, transform 200ms var(--ease-out); }
.band-cats a:hover { background: var(--ink); color: var(--bg); }
.band-cats a:active { transform: scale(0.97); }

@media (max-width: 860px) {
  .sv-grid { grid-template-columns: 1fr; gap: 8px; }
  .sv-index { top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 20; background: var(--glass); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 10px max(16px, env(safe-area-inset-left, 0px)); border-bottom: 1px solid var(--line); }
  .sv-index ul { display: flex; gap: 8px; border: 0; overflow-x: auto; scrollbar-width: none; }
  .sv-index ul::-webkit-scrollbar { display: none; }
  .sv-index a { white-space: nowrap; border: 1px solid var(--line-2); border-radius: 999px; padding: 0 14px; min-height: 40px; align-items: center; margin: 0; gap: 8px; }
  .sv-index a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
  .sv-index a.on span { color: inherit; opacity: .7; }
  .sv-list { gap: 44px; padding-top: 20px; }
  .sv-group { scroll-margin-top: calc(var(--hdr) + 92px); }
  .sv-group li a { min-height: 56px; padding: 14px 0; gap: 14px; align-items: center; }
  .sv-n { font-size: 16.5px; }
  .sv-c { max-width: 12ch; }
  .sv-a { opacity: .6; transform: none; }
  .band-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding: 4px max(16px, env(safe-area-inset-left, 0px)) 12px; }
  .band-cats::-webkit-scrollbar { display: none; }
  .band-cats a { white-space: nowrap; }
  .band-head .btn { width: 100%; }
}

/* Contact: office photo instead of the map */
.office-photo { margin: 0; aspect-ratio: 16 / 11; border-radius: var(--r); max-width: 100%; }
.office-photo img { object-position: 50% 40%; transform: scale(var(--os, 1.08)); transition: transform 1600ms var(--ease-out); }
.office-photo.in img, .office-photo:hover img { --os: 1.02; }
.office-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 12px; background: var(--glass); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%); }
.office-photo figcaption span:last-child { display: grid; gap: 2px; font-size: 13px; color: var(--ink-2); line-height: 1.35; }
.office-photo figcaption b { font-size: 15px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.oc-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 0 color-mix(in oklab, var(--green) 45%, transparent); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
@media (max-width: 760px) { .office-photo { aspect-ratio: 4 / 3.2; } }

/* Bird logo */
.brand-mark { width: 44px; height: 44px; }
.brand-mark .bird { fill: var(--bird); transition: fill 420ms ease; }
.brand:hover .brand-mark { transform: translateY(-1px) rotate(-3deg); }
.brand-mark { transition: transform 500ms var(--ease-out); }
@media (max-width: 760px) { .brand-mark { width: 36px; height: 36px; } }
/* Phone polish: comfortable header targets, buttons that never overflow */
@media (max-width: 760px) {
  :root { --hdr: 64px; }
  .lang { padding: 3px; }
  .lang a { min-width: 42px; height: 40px; font-size: 13px; }
  .theme-btn { width: 44px; height: 44px; }
  .brand { min-height: 44px; }
  .btn { white-space: normal; text-align: center; line-height: 1.2; padding-block: 12px; }
  .cta-copy { max-width: 100%; }
  .cta-copy .btn { width: 100%; }
}

/* City band v2: a full-bleed photo section that drifts as you scroll */
.city { height: auto; }
.city-stage { position: relative; top: 0; height: clamp(520px, 86vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.city-frame { clip-path: none; }
.city-frame img { transform: scale(1.12); transform-origin: 50% 50%; will-change: transform; }
.city-frame::after { background: linear-gradient(180deg, rgba(10,18,32,.05) 0%, rgba(10,18,32,.1) 35%, rgba(10,18,32,.78) 100%); }
.city-copy { position: relative; opacity: 1; padding-bottom: clamp(40px, 7vw, 88px); }
.city-copy h2 { font-size: clamp(36px, 5.6vw, 76px); max-width: 15ch; }
.city + .cta, .city ~ .cta { padding-top: clamp(80px, 10vw, 128px); }

/* Contact hero: balanced two columns with the office photo */
.page-hero { padding-block: clamp(32px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-hero.has-photo .ph-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
.page-hero .office-photo { aspect-ratio: 4 / 3.3; }
.contact-page { padding-top: clamp(24px, 4vw, 48px); }
@media (max-width: 760px) {
  .city-stage { height: 78vh; min-height: 480px; }
  .city-copy h2 { font-size: 34px; }
  .page-hero .office-photo { aspect-ratio: 4 / 3.4; }
}
.city-copy .kicker { color: #d6f0e1; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.city-copy h2, .city-copy p { text-shadow: 0 2px 24px rgba(0,0,0,.25); }
@media (max-width: 760px) {
  .page-hero.has-photo .ph-grid { grid-template-columns: 1fr; }
  .page-hero .office-photo figcaption { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
}
.form-error { color: var(--err); font-size: 14px; margin-top: -6px; }

/* Dad's text: About intro, closing line, second degree, legal heading */
.about-intro { display: grid; gap: 14px; max-width: 62ch; }
.about-intro p:not(.lede) { color: var(--ink-2); font-size: 16.5px; }
.bio-cols p { font-size: 17px; }
.bio-close { margin-top: 24px !important; padding-top: 20px; border-top: 2px solid var(--green); color: var(--ink) !important; font-size: clamp(19px, 1.8vw, 22px) !important; line-height: 1.45; font-weight: 500; letter-spacing: -0.015em; }
.dd-2 { display: block; margin-top: 8px; font-size: 0.82em; font-weight: 400; color: var(--ink-2); }
.legal-h { letter-spacing: 0.08em; }
.foot-office address { font-size: 14px; }
.about-grid { align-items: start; }
.about-photo { position: sticky; top: calc(var(--hdr) + 24px); }
.creds-big { align-items: start; }
@media (max-width: 860px) { .about-photo { position: static; } }

/* FAQ v2: multi-paragraph answers and closing call to action */
.faq .ans { padding: 0 52px 26px 0; display: grid; gap: 12px; }
.faq .ans p { color: var(--ink-2); max-width: 66ch; }
.faq-close { margin-top: clamp(48px, 7vw, 88px); padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.faq-close h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 14px; }
.faq-close p { color: var(--ink-2); max-width: 60ch; }
.faq-close p + p { margin-top: 10px; }
.faq-close-act { display: grid; gap: 14px; justify-items: start; }
.faq-line { font: 400 13px/1.5 var(--f-mono); color: var(--muted) !important; }
@media (max-width: 760px) { .faq .ans { padding-right: 0; } .faq-close { grid-template-columns: 1fr; } .faq-close-act .btn { width: 100%; } }
/* Statement v2 + city band copy */
.statement p#statement { font-size: clamp(28px, 4vw, 52px); max-width: 26ch; }
.statement-sub { margin-top: clamp(28px, 4vw, 44px); max-width: 60ch; font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); line-height: 1.6; }
.city-copy h2 { font-size: clamp(32px, 4.4vw, 60px); max-width: 20ch; }
.city-copy p { max-width: 56ch; }
.city-copy p + p { margin-top: 10px; }
@media (max-width: 760px) { .city-copy h2 { font-size: 30px; } .city-copy p { font-size: 15.5px; } }
.statement .statement-sub { font-size: clamp(17px, 1.6vw, 20px); font-weight: 400; letter-spacing: -0.006em; line-height: 1.6; max-width: 60ch; color: var(--ink-2); }
.city-copy { width: 100%; }

/* ===== Services v3: 8 category sections ===== */
.cat-bar { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--hdr)); z-index: 25; background: var(--glass); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); border-block: 1px solid var(--line); }
.cat-bar-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 10px; scroll-behavior: smooth; }
.cat-bar-row::-webkit-scrollbar { display: none; }
.cat-bar a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; color: var(--ink-2); font-size: 14px; text-decoration: none; white-space: nowrap; transition: background-color 220ms ease, color 220ms ease; }
.cat-bar a:hover { color: var(--ink); background: var(--tint-n); }
.cat-bar a.on { background: var(--ink); color: var(--bg); }
.cats { padding-block: clamp(24px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.cat { padding-block: clamp(48px, 7vw, 96px); scroll-margin-top: calc(var(--hdr) + 64px); }
.cat + .cat { border-top: 1px solid var(--line); }
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.cat.flip .cat-photo { order: 2; }
.cat-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r); max-width: 100%; }
.cat-photo img { transform: scale(1.06); transition: transform 1600ms var(--ease-out); }
.cat-photo.in img { transform: scale(1); }
.cat-body { display: grid; gap: 16px; align-content: start; }
.cat-body h2 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -0.03em; }
.cat-tags { font-style: italic; color: var(--green); font-size: clamp(16px, 1.4vw, 18px); line-height: 1.5; }
.cat-text { color: var(--ink-2); font-size: 17px; max-width: 58ch; }
.cat-body .path { margin-top: 6px; }
.cat-link { justify-self: start; display: inline-flex; gap: 8px; align-items: center; min-height: 44px; color: var(--green); font-weight: 500; text-decoration: none; }
.cat-link:hover .arrow { transform: translateX(3px); }
.cat-link .arrow { transition: transform 240ms var(--ease-out); }
@media (max-width: 860px) {
  .cat-grid { grid-template-columns: 1fr; gap: 22px; }
  .cat.flip .cat-photo { order: 0; }
  .cat-photo { aspect-ratio: 16 / 10; }
  .cat { padding-block: 40px; scroll-margin-top: calc(var(--hdr) + 60px); }
  .cat-bar { margin-inline: 0; }
}

/* ===== Round: dad's Nov 3 texts ===== */
.pro-sub { font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; line-height: 1.25; font-weight: 600; color: var(--ink); max-width: 30ch; }
.pro-text { display: grid; gap: 12px; color: var(--ink-2); font-size: 16.5px; max-width: 60ch; }
.band-lede { color: var(--ink-2); font-size: clamp(16px, 1.5vw, 19px); max-width: 62ch; }
.band-head h2 { max-width: 22ch; }
.ph-more { display: grid; gap: 12px; color: var(--ink-2); max-width: 60ch; font-size: 16.5px; margin-top: 4px; }
.cat-tagline { font-size: clamp(18px, 1.7vw, 21px); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); line-height: 1.4; }
.cat-text { display: grid; gap: 14px; }
.cat-text p { color: var(--ink-2); font-size: 16.5px; max-width: 62ch; }
.cat-grid { align-items: start; }
.cat-photo { position: sticky; top: calc(var(--hdr) + 80px); }
.sv-close { padding-block: 0 clamp(64px, 9vw, 120px); }
.sv-close .faq-close { margin-top: 0; }
.dd-row { display: block; }
.dd-row + .dd-row { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
@media (max-width: 860px) { .cat-photo { position: static; } }
@media (max-width: 760px) { .pro-info .pro-sub { order: 0; } .pro-text { font-size: 16px; } }
/* Read more (phones only) */
.cat-more { display: none; }
@media (max-width: 760px) {
  .cat-text.collapsed p:nth-child(n+3) { display: none; }
  .cat-text.collapsed { position: relative; }
  .cat-text.collapsed p:nth-child(2) { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .cat-more { display: inline-flex; justify-self: start; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 15px/1 var(--f-sans); cursor: pointer; }
  .cat-more:active { transform: scale(0.97); }
}

/* Key sentence: quiet pull-line with an accent rule that draws in */
p.key-line.key-line { position: relative; padding: 4px 0 4px 22px; margin-block: 10px; color: var(--ink); font-size: 1.12em; font-weight: 500; line-height: 1.5; letter-spacing: -0.012em; }
.key-line::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: linear-gradient(var(--green), var(--navy, var(--ink))); transform: scaleY(0); transform-origin: top; transition: transform .9s cubic-bezier(.2,.7,.2,1) .15s; }
.key-line.in::before, .no-js .key-line::before { transform: scaleY(1); }
@media (prefers-reduced-motion: reduce) { .key-line::before { transform: none; transition: none; } }
@media (max-width: 760px) { .key-line { padding-left: 16px; font-size: 1.06em; } }

/* Social links */
.socials { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
footer .socials { margin-top: 18px; }
.soc { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: color .2s, border-color .2s, background .2s, transform .2s; }
.soc-l { padding: 0 16px 0 13px; font-size: 14.5px; }
.soc:hover { color: var(--green); border-color: var(--green); transform: translateY(-1px); }
.contact-lines .socials { gap: 8px; }
.contact-lines .soc-l { height: 38px; }

/* Site credit */
.legal .credit { margin-top: 14px; font-size: 11px; letter-spacing: .06em; opacity: .55; justify-self: start; touch-action: manipulation; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
