/* Orsetti & Curti, PLLC — site styles
   Brand colors are taken from the firm's logo. */

:root {
  --navy-950: #16223b;
  --navy-900: #1c2b4a;
  --navy: #263961;
  --blue-700: #2a4a79;
  --blue-500: #5b81b8;
  --sky: #51afeb;
  --sky-300: #8fcdf3;
  --sky-50: #f0f8fe;

  --ink: #1b2333;
  --body: #3b4557;
  --muted: #637087;
  --line: #dfe6ef;
  --bg: #ffffff;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 2px rgb(22 34 59 / .06), 0 2px 8px rgb(22 34 59 / .05);
  --shadow: 0 2px 4px rgb(22 34 59 / .05), 0 12px 32px rgb(22 34 59 / .09);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

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

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-serif); color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem); }
h3, .h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul { padding-left: 1.2em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 760px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: .9rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--font-sans);
  padding: .85em 1.35em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { font-size: 1.0625rem; padding: 1em 1.6em; }
.btn-sm { font-size: .9rem; padding: .6em 1em; }
.btn-block { width: 100%; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue-700); color: #fff; box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--sky); color: var(--navy-950); }
.btn-accent:hover { background: var(--sky-300); color: var(--navy-950); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-ghost-light { border-color: rgb(255 255 255 / .55); color: #fff; background: transparent; }
.btn-ghost-light:hover { border-color: #fff; background: rgb(255 255 255 / .1); color: #fff; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / .96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 52px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav ul a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: .975rem; padding: 6px 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { color: var(--blue-700); }
.site-nav ul a[aria-current="page"] { border-bottom-color: var(--sky); color: var(--navy); }
.header-call { font-size: .95rem; padding: .7em 1.1em; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--radius-sm); cursor: pointer; position: relative; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  position: absolute; left: 11px; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; content: ""; transition: transform .25s, opacity .2s;
}
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { left: 0; top: -7px; }
.nav-toggle-bars::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .site-nav ul { gap: 18px; }
  .header-call { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand img { height: 38px; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 16px;
    background: #fff; padding: 12px var(--gutter) 24px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-nav ul a[aria-current="page"] { border-bottom-color: var(--line); color: var(--blue-700); font-weight: 600; }
  .header-call { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 85% -10%, rgb(81 175 235 / .22), transparent 60%), linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%);
  color: #dce6f3;
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--sky-300); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(32px, 5vw, 72px); }
.lead { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); line-height: 1.6; max-width: 40rem; }
.lead-dark { font-size: 1.125rem; color: var(--body); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-trust {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 28px 0 0;
  border-top: 1px solid rgb(255 255 255 / .14);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px clamp(20px, 3vw, 40px);
}
.hero-trust li { text-wrap: pretty; position: relative; padding-left: 32px; font-size: .95rem; line-height: 1.45; color: #aebcd0; }
.hero-trust strong { display: block; color: #fff; font-weight: 600; font-size: 1rem; margin-bottom: 2px; }
.hero-trust li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2316223b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
@media (max-width: 680px) { .hero-trust { grid-template-columns: 1fr; gap: 16px; } }
.hero-people { position: relative; aspect-ratio: 1 / 1; max-width: 480px; justify-self: end; width: 100%; }
.hero-photo { position: absolute; width: 58%; border-radius: var(--radius); overflow: hidden; box-shadow: 0 24px 60px rgb(0 0 0 / .35); z-index: 2; }
.hero-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.hero-photo-a { left: 0; top: 0; }
.hero-photo-b { right: 0; bottom: 0; }
.hero-square { position: absolute; border-radius: 10px; z-index: 1; }
.hero-square-1 { width: 46%; aspect-ratio: 1; right: 4%; top: 6%; background: var(--blue-500); opacity: .5; }
.hero-square-2 { width: 40%; aspect-ratio: 1; left: 6%; bottom: 2%; background: var(--blue-700); opacity: .8; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-people { max-width: 420px; justify-self: center; aspect-ratio: 1.25 / 1; }
  .hero-photo { width: 48%; }
  .hero-actions .btn { flex: 1 1 220px; }
}
@media (max-width: 600px) { .hero-people { display: none; } }

.page-hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-950) 100%);
  color: #dce6f3;
  padding: clamp(44px, 6vw, 80px) 0 clamp(40px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -60px; top: -40px; width: 260px; height: 260px; border-radius: 22px;
  background: var(--blue-500); opacity: .18; transform: rotate(8deg);
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .eyebrow { color: var(--sky-300); }
.page-hero-sm { padding: 40px 0; }
.chip-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; position: relative; z-index: 1; }
.chip-nav a { color: #fff; text-decoration: none; font-size: .9rem; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid rgb(255 255 255 / .3); }
.chip-nav a:hover { background: rgb(255 255 255 / .1); border-color: #fff; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--sky-50); }
.section-navy { background: var(--navy); color: #dce6f3; }
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: var(--sky-300); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section-head h2:last-child { margin-bottom: 0; }
.section-head-split { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 16px clamp(32px, 5vw, 72px); align-items: end; }
.section-head-split > div:last-child p { color: var(--muted); font-size: 1.0625rem; margin-bottom: 10px; }
.section-head-split > div:last-child > :last-child { margin-bottom: 0; }
.section-navy .section-head-split > div:last-child p { color: #c3d2e6; }
.section-navy .link-arrow { color: var(--sky-300); }
.section-head .link-arrow { text-decoration: none; display: inline-block; }
.section-head .link-arrow:hover::after { margin-left: 4px; }
@media (max-width: 860px) { .section-head-split { grid-template-columns: 1fr; } }
.section-head p:last-child { font-size: 1.125rem; }
.section-cta { margin: 36px 0 0; }

.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 5vw, 72px); align-items: start; }
.split h2 { margin: 0; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.4em; }

/* ---------- Cards ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.practice-card { position: relative; padding: 28px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.practice-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c9d6e6; }
.practice-card h3 { margin: 18px 0 8px; font-size: 1.25rem; }
.practice-card h3 a { color: var(--ink); text-decoration: none; }
.practice-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.practice-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.icon { width: 48px; height: 48px; padding: 11px; border-radius: 12px; background: var(--sky-50); stroke: var(--blue-700); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.practice-card:hover .icon { background: var(--navy); stroke: var(--sky); }

/* Partners */
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.partner-card {
  display: grid; grid-template-columns: minmax(150px, 38%) 1fr; align-items: stretch;
  border-radius: var(--radius); border: 1px solid var(--line); background: #fff; overflow: hidden;
  color: var(--body); text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.partner-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--body); }
.partner-card picture { position: relative; min-height: 260px; }
.partner-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.partner-card > div { padding: clamp(20px, 2.5vw, 32px); display: flex; flex-direction: column; justify-content: center; }
.partner-card h3 { margin-bottom: 4px; }
.partner-card p { font-size: 1rem; margin-bottom: 14px; }
.partner-card .role { margin-bottom: 2px !important; }
.focus { font-weight: 600; color: var(--ink); font-size: .95rem !important; margin-bottom: 12px !important; }
.role { color: var(--blue-500); font-weight: 600; font-size: .9rem !important; letter-spacing: .02em; margin-bottom: 12px !important; }
.link-arrow { font-weight: 600; color: var(--blue-700); }
.link-arrow::after { content: " →"; transition: margin .2s; }
.partner-card:hover .link-arrow::after { margin-left: 4px; }
@media (max-width: 960px) { .partner-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .partner-card { grid-template-columns: 120px 1fr; } .partner-card picture { min-height: 180px; } .partner-card > div { padding: 16px; } .partner-card p:not(.role):not(.focus) { display: none; } .partner-card .focus { margin-bottom: 8px !important; } }

/* Quotes */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; } }
.quote { margin: 0; padding: 28px; border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .12); display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 18px; font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.55; color: #fff; flex: 1; }
.quote blockquote p { margin: 0; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 3.25rem; line-height: .8; color: var(--sky); height: 28px; }
.quote figcaption { font-weight: 600; font-size: .95rem; color: var(--sky-300); }
.quote figcaption::before { content: "— "; }
.quote-light { background: #fff; border-color: var(--line); box-shadow: var(--shadow-sm); break-inside: avoid; margin-bottom: 20px; }
.quote-light blockquote { color: var(--ink); }
.quote-light figcaption { color: var(--blue-700); }
.masonry { columns: 3 300px; column-gap: 20px; }

/* ---------- Practice areas page ---------- */
.practice-list { padding-block: clamp(32px, 5vw, 64px); }
.practice {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(20px, 5vw, 64px);
  padding: clamp(32px, 4vw, 48px) 0; border-top: 1px solid var(--line);
}
.practice:first-child { border-top: 0; }
.practice h2 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); margin-bottom: .4em; }
.practice h2::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 2px; background: var(--sky); margin-bottom: 18px; }
.practice > header { align-self: start; }
@media (min-width: 861px) { .practice > header { position: sticky; top: calc(var(--header-h) + 24px); } }
.tags { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: .85rem; font-weight: 500; color: var(--blue-700); background: var(--sky-50); border: 1px solid #d6e7f5; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
@media (max-width: 860px) { .practice { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- People ---------- */
.people { padding-block: clamp(40px, 6vw, 80px); }
.person { display: grid; grid-template-columns: 260px 1fr; gap: clamp(24px, 5vw, 56px); padding: clamp(32px, 5vw, 56px) 0; border-top: 1px solid var(--line); }
.person:first-child { border-top: 0; padding-top: 0; }
@media (min-width: 861px) { .person-media { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.person-media img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow-sm); }
.person-media .badge { width: 140px; aspect-ratio: auto; box-shadow: none; border-radius: 4px; margin-top: 16px; }
.person-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.person h2 { margin-bottom: 4px; }
.creds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px 32px; margin: 28px 0 0; padding: 20px 24px; border-radius: var(--radius); background: var(--sky-50); font-size: .95rem; }
.creds dt { font-weight: 700; color: var(--navy); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 6px; }
.creds dd { margin: 0; }
.recognition { margin-top: 28px; }
.recognition-title { font: 700 .78rem/1 var(--font-sans); text-transform: uppercase; letter-spacing: .1em; color: var(--navy); margin: 0 0 14px; }
.badge-list { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.badge-list a { display: block; border-radius: 6px; transition: transform .2s; }
.badge-list a:hover { transform: translateY(-2px); }
.badge-list img, .badge-list svg { display: block; height: 92px; width: auto; }
.recognition .link-arrow { text-decoration: none; }
.recognition .small { margin: 0; }
@media (max-width: 520px) {
  .badge-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .badge-list img, .badge-list svg { width: 100%; height: auto; max-height: 84px; }
}
.more summary { cursor: pointer; font-weight: 600; color: var(--blue-700); list-style: none; display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 8px; }
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: "+"; font-size: 1.2em; line-height: 1; }
.more[open] summary::after { content: "−"; }
.more[open] summary { margin-bottom: 16px; }
.monogram {
  aspect-ratio: 4 / 5; border-radius: var(--radius); display: grid; place-items: center;
  font: 600 3.25rem/1 var(--font-serif); color: var(--blue-700); letter-spacing: .04em;
  background: linear-gradient(160deg, var(--sky-50), #dcebf8); border: 1px solid #d6e7f5;
}
.monogram-sm { font-size: 2rem; }
.people-subhead { margin: clamp(40px, 6vw, 72px) 0 24px; padding-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); }
.staff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.staff { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; align-items: start; }
.staff img, .staff .monogram { border-radius: 10px; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.staff h3 { margin-bottom: 2px; }
.staff p { font-size: .98rem; }
.staff-actions { margin: 0; font-weight: 600; }
@media (max-width: 860px) {
  .person { grid-template-columns: 1fr; }
  .person-media { display: grid; grid-template-columns: 140px 1fr; gap: 16px; align-items: end; }
  .person-media .badge { grid-column: 2; width: 110px; margin: 0; align-self: end; }
  .person-media .person-actions { margin: 0; flex-direction: column; align-items: flex-start; }
  .staff-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .staff { grid-template-columns: 88px 1fr; padding: 18px; gap: 14px; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-grid > .form-card:first-child { order: 0; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.form-card { padding: clamp(22px, 3vw, 36px); }
.contact-list { margin: 28px 0 0; display: grid; gap: 18px; }
.contact-list-inline { grid-template-columns: auto 1fr; gap: 18px 40px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 520px) { .contact-list-inline { grid-template-columns: 1fr; } }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 52px; min-height: 36px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--sky-50); color: var(--navy); font: 600 1rem/1 var(--font-serif); border: 1px solid #cfe3f4; }
.steps strong { display: block; color: var(--ink); }
.steps span { color: var(--muted); font-size: .975rem; }
.contact-list dt { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue-500); }
.contact-list dd { margin: 2px 0 0; color: var(--ink); }
.contact-list a { font-weight: 600; }
.call-card { display: block; padding: 24px 28px; border-radius: var(--radius); background: var(--navy); color: #c3d2e6; text-decoration: none; transition: background-color .2s; }
.call-card:hover { background: var(--blue-700); color: #c3d2e6; }
.call-card strong { display: block; font: 600 clamp(1.6rem, 1.2rem + 1.5vw, 2.1rem)/1.2 var(--font-serif); color: #fff; margin-top: 4px; }
.contact-grid-page { grid-template-columns: 1.15fr .85fr; }
@media (max-width: 900px) { .contact-grid-page { grid-template-columns: 1fr; } }
.contact-side { display: flex; flex-direction: column; gap: 4px; }
.contact-side .contact-list { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
@media (max-width: 420px) { .contact-side .contact-list { grid-template-columns: 1fr; } }
.form-title { margin-bottom: 20px; }
.map-wrap { margin-top: 24px; }
.map { width: 100%; height: 300px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow-sm); background: var(--sky-50); }

.contact-form { display: grid; gap: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #c8d3e1; border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgb(81 175 235 / .3); }
.field [aria-invalid="true"] { border-color: #c2410c; }
.field-hint { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-success { color: #15803d; }
.form-status.is-error { color: #b42318; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--blue-700), var(--navy)); color: #dce6f3; padding: clamp(44px, 6vw, 72px) 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem); margin-bottom: .25em; }
.cta-band p { margin: 0; font-size: 1.1rem; }
.cta-band-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aebcd0; font-size: .95rem; padding-top: clamp(48px, 6vw, 72px); }
.site-footer a { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 18px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; padding-bottom: 40px; }
.footer-grid p { margin-bottom: 12px; }
.footer-brand img { width: 260px; margin-bottom: 18px; }
.footer-brand p { max-width: 30ch; }
.footer-heading { font: 700 .75rem/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--sky-300); margin: 0 0 10px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { border-top: 1px solid rgb(255 255 255 / .1); padding-block: 24px 32px; font-size: .8rem; line-height: 1.6; color: #8494ab; }
.footer-legal strong { color: #c3d2e6; }
.footer-legal p { text-wrap: pretty; }
.footer-legal a { color: #c3d2e6; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand { grid-column: 1 / -1; display: flex; align-items: center; gap: 28px; } .footer-brand img { margin: 0; } .footer-brand p { margin: 0; max-width: none; } }
@media (max-width: 700px) { .footer-brand { display: block; } .footer-brand img { margin-bottom: 18px; } }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 28px; } .footer-links { grid-template-columns: 1fr 1fr; column-gap: 24px; } }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta { display: none; }
@media (max-width: 767px) {
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgb(255 255 255 / .97); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgb(22 34 59 / .08);
  }
  .mobile-cta .btn { padding: .85em .5em; font-size: .975rem; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media print {
  .site-header, .mobile-cta, .cta-band, .contact-form, .map-wrap { display: none !important; }
  .hero, .page-hero, .section-navy { background: none !important; color: #000; }
  .hero h1, .page-hero h1, .section-navy h2, .quote blockquote { color: #000; }
}

/* Compact practice cards on phones: icon beside the text */
@media (max-width: 600px) {
  .practice-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; padding: 18px; }
  .practice-card .icon { width: 44px; height: 44px; padding: 10px; grid-row: span 2; }
  .practice-card h3 { margin: 0 0 4px; font-size: 1.15rem; }
  .practice-card p { font-size: .95rem; }
  .card-grid { gap: 12px; }
}
.contact-side .contact-list > div:first-child { grid-column: 1 / -1; }
.nowrap { white-space: nowrap; }

/* Where we practice (practice areas page) */
.section-sm { padding: clamp(32px, 4vw, 48px) 0 0; }
.where-title { margin-bottom: 16px; }
.where-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.where-grid li { padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--sky-50); }
.where-grid strong { display: block; font: 600 1.15rem/1.3 var(--font-serif); color: var(--ink); margin-bottom: 4px; }
.where-grid span { color: var(--muted); font-size: .975rem; }
@media (max-width: 760px) { .where-grid { grid-template-columns: 1fr; gap: 10px; } }

/* Profile without a photo: text spans the full width */
@media (min-width: 861px) { .person-text-only .person-body { grid-column: 2; } }
.person-text-only .person-actions { margin: 4px 0 18px; }
