/* ==========================================================================
   Shin & Company, PC — site styles
   Midnight navy + warm ivory, with a coral (West) to cobalt (East) gradient.
   Instrument Serif for display, Geist for text, Geist Mono for labels.
   ========================================================================== */

:root {
  --ink: #0f1a2b;
  --ink-2: #1c2940;
  --paper: #f7f4ee;
  --paper-2: #efe9df;
  --line: #ddd5c8;
  --line-dark: #2e3b52;
  --muted: #586174;
  --on-ink-muted: #aab3c5;

  --coral: #f2734b;     /* West */
  --cobalt: #3b5bdb;    /* East */
  --cobalt-ink: #2f49c4;
  --cobalt-light: #9db0ff;
  --grad: linear-gradient(90deg, var(--coral), var(--cobalt));

  --display: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --header-h: 76px;
  --side: clamp(20px, 4vw, 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

[hidden] { display: none !important; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.01em;
}

h1 em, h2 em, h3 em, .statement em { font-style: italic; }

p { margin: 0 0 1em; }

[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

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

.container { width: min(1240px, 100% - 2 * var(--side)); margin-inline: auto; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px; top: 0;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  font: 500 14px/1 var(--sans);
}
.skip-link:focus { left: 12px; top: 12px; }

/* Content still to be supplied by the firm. Search the HTML for class="tbd". */
.tbd {
  background: #fff1a8;
  color: var(--ink);
  outline: 1px dashed #b38f00;
  outline-offset: 1px;
  padding: 0 .2em;
}

/* ---------- Type helpers ---------- */

.eyebrow {
  display: block;
  margin: 0 0 18px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow .idx { color: var(--coral); margin-right: 8px; }

.rule { width: 96px; height: 3px; background: var(--grad); border: 0; margin: 0; }

.statement {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1.14;
  letter-spacing: -.01em;
}

.lede { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--muted); }

.prose { max-width: 68ch; }
.prose p, .prose li { font-size: 18px; line-height: 1.7; }
.prose .lede { color: var(--ink); font-size: clamp(20px, 1.8vw, 24px); line-height: 1.5; }
.prose h2 { margin: 1.6em 0 .5em; font-size: clamp(32px, 3vw, 42px); }
.prose h2:first-child { margin-top: 0; }

.text-link {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--coral);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.text-link:hover { color: var(--cobalt-ink); text-decoration-color: var(--cobalt); }

.bullets { margin: 0 0 1.2em; padding: 0; list-style: none; }
.bullets li { position: relative; margin: 0 0 10px; padding-left: 24px; }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: 500 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.btn .arr { flex: none; transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

.btn--light { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--coral); border-color: var(--coral); color: var(--ink); }

.btn--ghost { background: transparent; border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
}

/* The frosted background lives on a pseudo-element: a backdrop-filter on the
   header itself would trap the fixed mobile menu inside the header's box. */
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(247, 244, 238, .9);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; }
.brand-mark {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--coral) 50%, var(--cobalt) 50%);
  transition: transform .5s var(--ease);
}
.brand:hover .brand-mark { transform: rotate(180deg); }
.brand-name { font-family: var(--display); font-size: 27px; line-height: 1; letter-spacing: -.005em; white-space: nowrap; }
.brand-pc { margin-left: 2px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; }

.primary-nav { display: flex; align-items: center; gap: 34px; }

.nav-list { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; }
.nav-list a {
  position: relative;
  padding: 6px 0;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); }

.nav-cta { padding: 11px 18px; font-size: 14px; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .bars,
.menu-toggle .bars::before,
.menu-toggle .bars::after {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before,
.menu-toggle .bars::after { content: ""; position: absolute; left: 0; }
.menu-toggle .bars::before { top: -7px; }
.menu-toggle .bars::after { top: 7px; }
.menu-toggle[aria-expanded="true"] .bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  overflow-y: auto;
  padding: 16px var(--side) 40px;
  background: var(--ink);
  color: var(--paper);
}
.mobile-menu ul { margin: 0 0 32px; padding: 0; list-style: none; }
.mobile-menu li { border-bottom: 1px solid var(--line-dark); }
.mobile-menu a:not(.btn) {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 18px 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 38px;
  line-height: 1;
  text-decoration: none;
}
.mobile-menu .idx { color: var(--coral); font-family: var(--mono); font-size: 12px; }
.mobile-menu a[aria-current="page"] { font-style: italic; }

/* ---------- Home: split hero ---------- */

.split-hero {
  position: relative;
  display: flex;
  height: calc(100svh - var(--header-h));
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--ink);
}

.city {
  position: relative;
  flex: 1 1 0;
  margin: 0;
  overflow: hidden;
  transition: flex-grow .8s var(--ease);
}
.city + .city { border-left: 1px solid rgba(247, 244, 238, .35); }

.city img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.78) contrast(1.04);
  transform: scale(1.05);
  transition: transform 1.4s var(--ease), filter .8s ease;
}

.city--west img { object-position: 50% 40%; }
.city--east img { object-position: 52% 40%; }

@media (hover: hover) and (min-width: 801px) {
  .split-hero .city:hover { flex-grow: 1.4; }
  .city:hover img { filter: saturate(1) contrast(1.04); transform: scale(1); }
}

.city figcaption {
  position: absolute;
  top: 24px;
  left: clamp(18px, 2.4vw, 32px);
  right: 18px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(15, 26, 43, .5);
}
.city figcaption .city-name { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; white-space: nowrap; }
.city figcaption .city-name::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--dot); }
.city--west { --dot: var(--coral); }
.city--east { --dot: var(--cobalt-light); }
.city figcaption .city-time { display: block; margin: 4px 0 2px; padding-left: 18px; font-size: 17px; letter-spacing: .04em; }
.city figcaption .city-meta { display: block; padding-left: 18px; opacity: .78; }
.city figcaption .soon {
  margin-left: 0;
  padding: 1px 7px;
  border: 1px solid rgba(247, 244, 238, .6);
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: .08em;
}

.intro-note { max-width: 62ch; margin: 28px 0 0; }

.split-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg,
    rgba(15, 26, 43, .55) 0%,
    rgba(15, 26, 43, 0) 24%,
    rgba(15, 26, 43, .2) 52%,
    rgba(15, 26, 43, .86) 100%);
  pointer-events: none;
}

.split-hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding-bottom: clamp(32px, 7vh, 80px);
  color: var(--paper);
  pointer-events: none;
}
.split-hero__content a { pointer-events: auto; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px 56px;
}

.split-hero h1 { font-size: clamp(46px, 6.6vw, 108px); line-height: .96; letter-spacing: -.02em; }
.hero-side p { margin-bottom: 22px; color: rgba(247, 244, 238, .85); font-size: 17px; line-height: 1.55; }

/* ---------- Sections ---------- */

.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding: clamp(56px, 7vw, 96px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--paper-2 { background: var(--paper-2); }

.section-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) minmax(0, 3fr);
  gap: 32px clamp(32px, 6vw, 96px);
}

.section--ink .eyebrow { color: var(--on-ink-muted); }

.section-title { font-size: clamp(40px, 5vw, 72px); }

.more { margin: 32px 0 0; }

/* Numbered practice rows */
.rows { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.rows li { border-bottom: 1px solid var(--line); }
.row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.3fr) minmax(0, 1fr) 28px;
  align-items: center;
  gap: 24px;
  padding: 26px 8px;
  text-decoration: none;
  transition: background-color .25s ease, padding .35s var(--ease);
}
.row-num { color: var(--coral); font-family: var(--mono); font-size: 13px; }
.row-name { font-family: var(--display); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.05; }
.row-desc { color: var(--muted); font-size: 15px; line-height: 1.5; }
.row .arr { justify-self: end; transition: transform .3s var(--ease), color .2s ease; }
.row:hover { padding-left: 20px; background: var(--paper-2); }
.row:hover .arr { transform: translateX(4px); color: var(--cobalt); }

/* Three-up principles */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: 48px; }
.trio--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
/* The About page's main column is narrower, so its four items sit in a 2x2 grid */
.trio--light.trio--four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
.trio-item { padding-top: 22px; border-top: 1px solid var(--line-dark); position: relative; }
.trio-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 48px; height: 2px; background: var(--grad); }
.trio-item .eyebrow { color: var(--on-ink-muted); }
/* Keep the 01-04 numbers at the site's 12px label size (the body-text rule below would otherwise enlarge them) */
.trio-item p.eyebrow { margin: 0 0 10px; font-size: 12px; line-height: 1.4; }
.trio-item h3 { margin-bottom: 12px; font-size: clamp(28px, 2.4vw, 36px); }
.trio-item p { margin: 0; color: var(--on-ink-muted); font-size: 16px; line-height: 1.6; }

.section--paper-2 .trio-item,
.trio--light .trio-item { border-top-color: var(--line); }
.trio--light .trio-item .eyebrow,
.trio--light .trio-item p { color: var(--muted); }

/* Closing call to action */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
}
.cta h2 { font-size: clamp(44px, 6vw, 92px); line-height: .98; }

/* ---------- Inner pages ---------- */

.page-head { padding: clamp(56px, 8vw, 120px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  align-items: end;
  gap: 24px clamp(32px, 6vw, 96px);
}
.page-head h1 { font-size: clamp(56px, 8.4vw, 132px); line-height: .94; letter-spacing: -.02em; }
.page-head .lede { margin: 0 0 22px; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(56px, 7vw, 96px) 0 clamp(72px, 9vw, 128px);
}
.layout--index { grid-template-columns: 240px minmax(0, 1fr); }

.aside-sticky { position: sticky; top: calc(var(--header-h) + 32px); align-self: start; }

.toc { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { border-top: 1px solid var(--line); }
.toc li:last-child { border-bottom: 1px solid var(--line); }
.toc a {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
  transition: color .2s ease;
}
.toc a span { flex: none; color: var(--coral); font-family: var(--mono); font-size: 12px; padding-top: 2px; }
.toc a:hover { color: var(--cobalt-ink); }

.card { position: relative; margin-bottom: 20px; padding: 28px; background: var(--paper-2); }
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.card:last-child { margin-bottom: 0; }
.card h2,
.card h3 { margin-bottom: 14px; font-size: 28px; }
.card p { font-size: 16px; line-height: 1.6; }
.card--ink { background: var(--ink); color: var(--paper); }
.card--ink p { color: var(--on-ink-muted); }

.fine-print { margin: 24px 0 0; color: var(--muted); font-size: 15px; line-height: 1.55; }

.prose + .trio { margin-top: 20px; }
.trio + .prose { margin-top: clamp(48px, 6vw, 72px); }

.facts { margin: 0; }
.facts div { padding: 12px 0; border-top: 1px solid var(--line); }
.facts div:first-child { border-top: 0; padding-top: 0; }
.facts dt { margin-bottom: 2px; color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.facts dd { margin: 0; font-size: 16px; line-height: 1.5; }
.facts .detail { color: var(--muted); font-size: 15px; }

.link-list { margin: 0; padding: 0; list-style: none; }
.link-list li { border-top: 1px solid var(--line); }
.link-list li:first-child { border-top: 0; }
.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  font-size: 16px;
  line-height: 1.35;
  text-decoration: none;
}
.link-list a .arr { flex: none; transition: transform .25s var(--ease); }
.link-list a:hover { color: var(--cobalt-ink); }
.link-list a:hover .arr { transform: translateX(3px); }

/* Practice areas */
.practice { padding: 0 0 56px; margin-bottom: 56px; border-bottom: 1px solid var(--line); }
.practice:last-child { margin-bottom: 0; border-bottom: 0; padding-bottom: 0; }
.practice h2 { margin-bottom: 18px; font-size: clamp(36px, 4vw, 58px); }
.practice > p:not(.eyebrow) { max-width: 64ch; font-size: 18px; line-height: 1.7; }
.practice .bullets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 32px; margin-top: 24px; }
.practice .bullets li { font-size: 16px; line-height: 1.55; }

/* Twin photo band (LA | NY) */
.twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: clamp(240px, 32vw, 460px);
  background: var(--ink);
}
.twin figure { position: relative; margin: 0; overflow: hidden; }
.twin figure + figure { border-left: 1px solid rgba(247, 244, 238, .35); }
.twin img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); }
.twin figcaption {
  position: absolute;
  left: 20px;
  bottom: 16px;
  color: var(--paper);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(15, 26, 43, .6);
}

/* Biography */
.bio-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: end;
  padding: clamp(48px, 6vw, 88px) 0 clamp(48px, 6vw, 72px);
  border-bottom: 1px solid var(--line);
}
/* Text-only bio header (no portrait): name on the left, contact details on the right */
.bio-head--text { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.bio-head--text .lede { max-width: 46ch; }
.bio-head--text .contact-rows { margin-top: 0; }

/* Bio header with photo: portrait | name and summary | contact details */
.bio-head--photo { grid-template-columns: minmax(180px, 250px) minmax(0, 1.25fr) minmax(0, 1fr); }
.bio-head--photo .lede { max-width: 46ch; }
.bio-head--photo .contact-rows { margin-top: 0; }
.bio-head--photo .portrait { aspect-ratio: 300 / 461; }
.bio-head--photo .portrait img { object-position: 50% 50%; }

@media (min-width: 801px) and (max-width: 1024px) {
  .bio-head--photo { grid-template-columns: 200px minmax(0, 1fr); }
  .bio-head--photo > div:last-child { grid-column: 1 / -1; }
}

.portrait { position: relative; margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; }
.portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); }

.bio-head h1 { margin-bottom: 18px; font-size: clamp(48px, 6.4vw, 100px); line-height: .96; letter-spacing: -.02em; }

.contact-rows { margin: 28px 0; border-top: 1px solid var(--line); }
.contact-rows div { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-rows dt { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; line-height: 2; text-transform: uppercase; }
.contact-rows dd { margin: 0; font-size: 16px; overflow-wrap: anywhere; }
.contact-rows a { text-decoration: none; }
.contact-rows a:hover { color: var(--cobalt-ink); }

.pull-quote {
  margin: 48px 0;
  padding: 4px 0 4px 28px;
  border-left: 3px solid var(--coral);
  border-image: linear-gradient(180deg, var(--coral), var(--cobalt)) 1;
}
.pull-quote p { margin: 0 0 12px; font-family: var(--display); font-size: clamp(28px, 2.8vw, 40px); font-style: italic; line-height: 1.2; }
.pull-quote footer { color: var(--muted); font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* Representative matters, grouped by industry */
.matter-groups { columns: 2; column-gap: clamp(32px, 5vw, 80px); margin-top: 48px; }
.matter-group { break-inside: avoid; margin-bottom: 36px; padding-top: 16px; border-top: 1px solid var(--ink); }
.matter-group h3 { margin-bottom: 14px; font-size: clamp(24px, 2vw, 30px); }
.matter-group .bullets { margin: 0; }
.matter-group .bullets li { font-size: 15.5px; line-height: 1.55; }

/* Contact form */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.field { display: grid; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.field .req { color: var(--coral); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font: 18px/1.4 var(--sans);
  transition: border-color .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: 0; border-bottom-color: var(--cobalt); box-shadow: 0 1px 0 0 var(--cobalt); }
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none' stroke='%230f1a2b' stroke-width='1.6'%3E%3Cpath d='m1 1 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
}

.check { display: flex; gap: 14px; align-items: flex-start; color: var(--muted); font-size: 15px; line-height: 1.55; }
.check input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); }

.form-actions { margin: 32px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 20px; padding: 14px 16px; border-left: 3px solid var(--cobalt); background: var(--paper-2); font-size: 15.5px; }

/* ---------- Footer ---------- */

.site-footer { position: relative; padding: 72px 0 28px; background: var(--ink); color: var(--paper); }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-grid .brand { color: var(--paper); }
.footer-grid .brand-pc { color: var(--on-ink-muted); }
.footer-tagline { max-width: 30ch; margin: 20px 0 0; color: var(--on-ink-muted); font-family: var(--display); font-size: 24px; line-height: 1.25; }

.footer-col h2 { margin: 0 0 16px; color: var(--on-ink-muted); font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a,
.footer-col address { color: var(--paper); font-size: 15px; font-style: normal; line-height: 1.6; text-decoration: none; }
.footer-col a:hover { color: var(--coral); }
.footer-col address + address { margin-top: 16px; }
.footer-col p { margin: 16px 0 0; }
.site-footer .office-label { margin-bottom: 4px; color: var(--on-ink-muted); }
.site-footer .office-label--east { --dot: var(--cobalt-light); }

/* City label with a coast-colored dot: coral for LA, cobalt for NY */
.office-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.office-label::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.office-label--west { --dot: var(--coral); }
.office-label--east { --dot: var(--cobalt); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  color: var(--on-ink-muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-bottom p { margin: 0; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .trio--four { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .primary-nav { display: none; }
  .menu-toggle { display: block; }

  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-side { max-width: 520px; }

  .section-grid { grid-template-columns: minmax(0, 1fr); }
  .row { grid-template-columns: 48px minmax(0, 1fr) 24px; }
  .row-desc { display: none; }

  .layout,
  .layout--index { grid-template-columns: minmax(0, 1fr); }
  .aside-sticky { position: static; }

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

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

@media (min-width: 1025px) {
  .mobile-menu { display: none; }
}

@media (max-width: 800px) {
  :root { --header-h: 64px; }

  .brand-name { font-size: 24px; }

  /* Photos become a side-by-side band; the text moves below onto navy */
  .split-hero { display: grid; grid-template-columns: 1fr 1fr; height: auto; min-height: 0; max-height: none; }
  .split-hero::after { display: none; }
  .city { height: 46svh; min-height: 300px; }
  .city::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 26, 43, .6) 0%, rgba(15, 26, 43, 0) 32%, rgba(15, 26, 43, 0) 72%, rgba(15, 26, 43, .4) 100%);
  }
  .city figcaption { top: 16px; font-size: 10.5px; }
  .city figcaption .city-meta { display: none; }
  .city figcaption .city-time { font-size: 13px; }
  .split-hero__content { grid-column: 1 / -1; position: static; padding: 32px 0 44px; background: var(--ink); }
  .split-hero h1 { font-size: clamp(40px, 11vw, 60px); }
  .hero-side p { font-size: 16px; }

  .trio,
  .trio--four,
  .trio--light.trio--four { grid-template-columns: minmax(0, 1fr); }
  .cta { grid-template-columns: minmax(0, 1fr); }

  .bio-head { grid-template-columns: minmax(0, 1fr); }
  .portrait { max-width: 360px; }
  /* Phones: small photo beside the title and name; summary and contact details run full width below */
  .bio-head.bio-head--photo {
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: 1fr auto auto auto auto;
    gap: 0 18px;
  }
  .bio-head--photo > div:first-of-type { display: contents; }
  .bio-head--photo .portrait { grid-column: 1; grid-row: 1 / span 2; max-width: none; }
  .bio-head--photo .eyebrow { grid-column: 2; grid-row: 1; align-self: end; margin-bottom: 8px; }
  .bio-head--photo h1 { grid-column: 2; grid-row: 2; align-self: end; margin: 0; font-size: clamp(30px, 8.4vw, 44px); }
  .bio-head--photo .lede { grid-column: 1 / -1; grid-row: 3; margin: 22px 0 18px; }
  .bio-head--photo .rule { grid-column: 1 / -1; grid-row: 4; }
  .bio-head--photo > div:last-child { grid-column: 1 / -1; grid-row: 5; margin-top: 28px; }

  .practice .bullets { grid-template-columns: minmax(0, 1fr); }
  .matter-groups { columns: 1; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }

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

@media (max-width: 480px) {
  .city { height: 42svh; min-height: 280px; }
  .split-hero__content .btn-row { flex-direction: column; align-items: stretch; }
  .split-hero__content .btn { justify-content: space-between; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .city img { transform: none; }
}

@media print {
  .site-header, .site-footer, .menu-toggle, .aside-sticky { display: none; }
  .layout, .layout--index { grid-template-columns: 1fr; }
}
