/* Callan Injury Law design system.
   Type: Source Serif 4 headings, Inter body.
   h1 64/1.06 (phone 40/1.1), h2 44/1.12 (phone 31/1.15), h3 22/1.3 (phone 20), body 18/1.65 (phone 17),
   small 14/1.5, button 16/1 weight 600, eyebrow 13 caps tracking .14em.
   Colour roles: page white, tinted band cream, dark band navy (white text, brass eyebrow).
   Brass is never text on a light background (3.1:1). Eyebrows on light use sage.
   Space: content 1200px, sides 24px phone / 40px desktop, sections 120px desktop / 72px phone,
   gaps 24px, card padding 32px (phone 24px), radius 12px, one shadow. */

:root {
  --navy: #14213D;
  --navy-2: #1B2B4D;
  --ink: #0F1A31;
  --brass: #B8875A;
  --brass-soft: #D9BC9A;
  --cream: #F7F3EC;
  --cream-2: #EFE8DC;
  --sage: #3E5C58;
  --text: #1E2638;
  --muted: #4E5668;
  --white: #FFFFFF;
  --line: rgba(20, 33, 61, .12);
  --line-dark: rgba(255, 255, 255, .14);
  --radius: 12px;
  --shadow: 0 1px 2px rgba(20, 33, 61, .05), 0 14px 34px -14px rgba(20, 33, 61, .22);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1200px;
  --side: 40px;
  --section: 120px;
  --gap: 24px;
  --pad: 32px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (max-width: 900px) {
  :root { --side: 24px; --section: 72px; --pad: 24px; --header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html, body { margin: 0; }
body {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
@media (max-width: 900px) { body { font-size: 17px; padding-bottom: 104px; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--sage); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }
.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 { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; color: #fff; }

/* Type */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); margin: 0; font-weight: 500; letter-spacing: -.012em; }
h1 { font-size: 64px; line-height: 1.06; letter-spacing: -.02em; }
h2 { font-size: 44px; line-height: 1.12; }
h3 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.005em; }
h4 { font-size: 18px; line-height: 1.35; font-weight: 600; }
@media (max-width: 900px) {
  h1 { font-size: 40px; line-height: 1.1; }
  h2 { font-size: 31px; line-height: 1.15; }
  h3 { font-size: 20px; }
}
.lead { font-size: 21px; line-height: 1.6; color: var(--muted); }
@media (max-width: 900px) { .lead { font-size: 18px; } }
.small { font-size: 14px; line-height: 1.5; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 13px; line-height: 1; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin: 0 0 20px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

/* Layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--side) * 2); margin: 0 auto; padding: 0 var(--side); }
.section { padding: var(--section) 0; position: relative; }
.band-cream { background: var(--cream); }
.band-navy { background: var(--navy); color: rgba(255, 255, 255, .86); }
.band-navy h1, .band-navy h2, .band-navy h3, .band-navy h4 { color: #fff; }
.band-navy .eyebrow { color: var(--brass); }
.band-navy .lead { color: rgba(255, 255, 255, .8); }
.band-navy a:not(.btn) { color: #fff; }
.band-navy a:not(.btn):hover { color: var(--brass-soft); }
.section-head { margin-bottom: 56px; }
.section-head h2 + p { margin-top: 20px; }
@media (max-width: 900px) { .section-head { margin-bottom: 36px; } }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split.even { grid-template-columns: 1fr 1fr; }
.split.center { align-items: center; }
@media (max-width: 900px) { .split, .split.even { grid-template-columns: 1fr; gap: 40px; } }
.stack > * + * { margin-top: 20px; }
.prose h2 { font-size: 34px; margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 32px 0 10px; }
.prose ul { padding-left: 22px; margin: 0 0 1em; }
.prose li { margin-bottom: 8px; }
@media (max-width: 900px) { .prose h2 { font-size: 27px; margin-top: 44px; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: var(--radius); border: 0;
  font-family: var(--sans); font-size: 16px; line-height: 1; font-weight: 600; letter-spacing: .005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 8px 20px -10px rgba(20, 33, 61, .6); }
.btn-primary:hover { background: var(--navy-2); color: #fff; }
.btn-secondary { background: var(--sage); color: #fff; }
.btn-secondary:hover { background: #34504c; color: #fff; }
.btn-brass { background: var(--brass); color: var(--navy); }
.btn-brass:hover { background: #c69568; color: var(--navy); }
.btn-light { background: var(--cream); color: var(--navy); }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row .btn { min-width: 220px; }
@media (max-width: 640px) {
  .btn-row { flex-direction: column; }
  .btn-row .btn { width: 100%; min-width: 0; }
}
.text-link { font-weight: 600; color: var(--navy); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.text-link svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.text-link:hover svg { transform: translateX(3px); }
.text-link span { border-bottom: 1px solid var(--brass); padding-bottom: 2px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); flex: none; }
.brand:hover { color: var(--navy); }
.brand svg, .brand-mark { width: 40px; height: 40px; object-fit: contain; display: block; flex: none; }
.brand-name { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -.01em; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--sage); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > ul { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav a.nav-link, .nav button.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 8px;
  font: 500 15px/1 var(--sans); color: var(--text); text-decoration: none; background: none; border: 0; cursor: pointer;
}
.nav a.nav-link:hover, .nav button.nav-link:hover, .has-sub:focus-within > .nav-link { color: var(--navy); background: var(--cream); }
.nav-link svg { width: 14px; height: 14px; }
.has-sub { position: relative; }
.nav-link svg { transition: transform .2s var(--ease); }
.has-sub > .nav-link[aria-expanded="true"] { color: var(--navy); background: var(--cream); }
.has-sub > .nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }
.sub {
  position: absolute; top: calc(100% + 12px); left: -12px; width: 360px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 2px 4px rgba(20, 33, 61, .05), 0 24px 48px -18px rgba(20, 33, 61, .32); padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s var(--ease), transform .18s var(--ease), visibility .18s;
}
.sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.sub ul { list-style: none; }
.sub li a { display: block; padding: 11px 14px; border-radius: 8px; text-decoration: none; line-height: 1.3; }
.sub li a strong { display: block; font-size: 15px; font-weight: 600; color: var(--navy); }
.sub li a span { display: block; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.sub li a:hover, .sub li a:focus-visible { background: var(--cream); }
.sub-all { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 0; padding: 14px 14px 8px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--sage); text-decoration: none; }
.sub-all svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.sub-all:hover { color: var(--navy); }
.sub-all:hover svg { transform: translateX(3px); }
.has-sub.open .sub, html:not(.js) .has-sub:hover .sub, html:not(.js) .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--navy); text-decoration: none; white-space: nowrap; padding: 10px 4px; }
.header-phone svg { width: 18px; height: 18px; }
.menu-toggle { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; align-items: center; justify-content: center; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .i-close { display: none; }
.menu-open .menu-toggle .i-open { display: none; }
.menu-open .menu-toggle .i-close { display: block; }
.nav-mobile-actions { display: none; }

@media (min-width: 901px) { .nav a.nav-link, .nav button.nav-link { white-space: nowrap; } }
@media (max-width: 1180px) and (min-width: 901px) {
  .site-header .wrap { gap: 20px; }
  .nav a.nav-link, .nav button.nav-link { padding: 10px 9px; font-size: 14.5px; }
  .header-actions { margin-left: 4px; }
}
@media (max-width: 1080px) and (min-width: 901px) {
  .header-phone span { display: none; }
  .brand-name { font-size: 19px; }
  .brand svg, .brand-mark { width: 36px; height: 36px; }
}
@media (max-width: 900px) {
  .brand svg, .brand-mark { width: 36px; height: 36px; }
  .brand-name { font-size: 19px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 49;
    display: flex; flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: #fff; padding: 12px var(--side) 140px; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a.nav-link, .nav button.nav-link { width: 100%; justify-content: space-between; padding: 15px 0; font-size: 18px; border-radius: 0; }
  .nav a.nav-link:hover, .nav button.nav-link:hover, .has-sub:focus-within > .nav-link { background: none; }
  .nav button.nav-link svg { width: 20px; height: 20px; color: var(--sage); }
  .has-sub > .nav-link[aria-expanded="true"] { background: none; }
  .sub {
    position: static; width: auto; box-shadow: none; border: 0; padding: 0; border-radius: 0; transform: none;
    display: grid; grid-template-rows: 0fr; opacity: 0; visibility: hidden;
    transition: grid-template-rows .28s var(--ease), opacity .2s var(--ease), visibility .28s;
  }
  .sub::before { display: none; }
  .sub-inner { overflow: hidden; min-height: 0; }
  .has-sub.open .sub, html:not(.js) .sub { grid-template-rows: 1fr; opacity: 1; visibility: visible; transform: none; }
  .sub ul { border-left: 1px solid var(--line); margin: 0 0 4px 2px; }
  .sub li a { padding: 9px 0 9px 18px; border-radius: 0; }
  .sub li a strong { font-size: 16px; font-weight: 500; color: var(--text); }
  .sub li a span { display: none; }
  .sub li a:hover, .sub li a:focus-visible { background: none; }
  .sub-all { margin: 0 0 12px 2px; padding: 9px 0 9px 18px; border-top: 0; border-left: 1px solid var(--line); font-size: 16px; justify-content: flex-start; }
  .header-actions { display: none; }
  .nav-mobile-actions { display: grid; gap: 12px; margin-top: auto; padding-top: 24px; }
  .nav-mobile-actions .btn { width: 100%; }
}

/* Hero */
.hero { background: var(--navy); color: rgba(255, 255, 255, .86); position: relative; overflow: hidden; padding: 112px 0 120px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(184, 135, 90, .5), transparent); }
.hero-motif { position: absolute; right: -120px; top: -40px; width: 760px; height: 760px; color: var(--brass); opacity: .16; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 7fr 5fr; gap: 72px; align-items: center; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--brass-soft); font-weight: 400; }
.hero .lead { color: rgba(255, 255, 255, .8); margin: 28px 0 40px; }
.hero .eyebrow { color: var(--brass); }
.hero-points { margin-top: 28px; font-size: 15px; color: rgba(255, 255, 255, .7); display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points svg { width: 16px; height: 16px; color: var(--brass); }
.hero-card {
  background: var(--cream); color: var(--text); border-radius: var(--radius); padding: 40px; position: relative;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .5);
}
.hero-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(184, 135, 90, .45); border-radius: 8px; pointer-events: none; }
.hero-card .mono { width: 72px; height: 72px; margin-bottom: 24px; }
.hero-card h2 { font-size: 28px; color: var(--navy); }
.hero-card .role { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--sage); margin: 10px 0 24px; }
.hero-card ul { list-style: none; border-top: 1px solid var(--line); }
.hero-card li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.5; }
.hero-card li svg { width: 20px; height: 20px; flex: none; color: var(--sage); margin-top: 1px; }
.hero-card .btn { width: 100%; margin-top: 24px; }
@media (max-width: 900px) {
  .hero { padding: 56px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; }
  .hero .lead { margin: 20px 0 28px; }
  .hero-motif { width: 520px; height: 520px; right: -260px; top: -80px; opacity: .12; }
  .hero-card { padding: 32px 28px; }
}

/* Page hero for inner pages */
.page-hero { background: var(--cream); padding: 96px 0 88px; position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero .hero-motif { color: var(--brass); opacity: .2; right: -200px; top: -200px; }
.page-hero .wrap { position: relative; }
.page-hero .lead { margin-top: 24px; color: var(--muted); }
.page-hero .btn-row { margin-top: 36px; }
@media (max-width: 900px) { .page-hero { padding: 56px 0 56px; } }

/* Trust row */
.trust { padding: 56px 0; border-bottom: 1px solid var(--line); }
.trust ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.trust li { border-top: 2px solid var(--brass); padding-top: 20px; }
.trust strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.trust span { display: block; font-size: 15px; color: var(--muted); margin-top: 6px; line-height: 1.5; }
@media (max-width: 900px) { .trust ul { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .trust strong { font-size: 19px; } }

/* Cards */
.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card {
  display: flex; flex-direction: column; height: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  padding: var(--pad); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.band-cream .card { border-color: rgba(20, 33, 61, .08); }
.section:not(.band-cream):not(.band-navy) .card.tint { background: var(--cream); box-shadow: none; }
a.card { text-decoration: none; color: inherit; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(20, 33, 61, .05), 0 24px 44px -18px rgba(20, 33, 61, .3); color: inherit; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 17px; }
.card .card-foot { margin-top: auto; padding-top: 24px; }
.icon-badge { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--cream); color: var(--navy); margin-bottom: 24px; flex: none; }
.band-cream .icon-badge { background: var(--cream); }
.icon-badge svg { width: 26px; height: 26px; }
.card-navy { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .84); }
.card-navy h3 { color: #fff; }
.card-navy p { color: rgba(255, 255, 255, .78); }
.card-navy .icon-badge { background: rgba(255, 255, 255, .08); color: var(--brass); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); counter-reset: step; position: relative; }
.steps li { position: relative; padding-top: 72px; }
.steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 0; left: 0; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff;
  font-family: var(--serif); font-size: 21px; font-weight: 600; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 24px; left: 56px; right: -16px; height: 1px; background: var(--brass); opacity: .55; }
.steps li:last-child::after { display: none; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 17px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps li { padding: 0 0 36px 72px; }
  .steps li::after { top: 56px; bottom: 8px; left: 24px; right: auto; width: 1px; height: auto; }
  .steps li:last-child { padding-bottom: 0; }
}

/* Attorney monogram card */
.portrait {
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--ink); position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; padding: 40px; color: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .55);
}
.portrait::before { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(184, 135, 90, .5); border-radius: 8px; pointer-events: none; }
.portrait .mono-xl { position: absolute; top: 48px; left: 40px; right: 40px; height: 46%; color: var(--brass); }
.portrait .p-name { font-family: var(--serif); font-size: 30px; line-height: 1.15; color: #fff; position: relative; }
.portrait .p-role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--brass); margin-top: 10px; position: relative; }
.portrait .p-line { font-size: 15px; color: rgba(255, 255, 255, .72); margin-top: 16px; position: relative; line-height: 1.55; }
.band-navy .portrait { background: var(--ink); border: 1px solid var(--line-dark); }
@media (max-width: 900px) { .portrait { aspect-ratio: auto; min-height: 420px; padding: 32px; } .portrait .mono-xl { top: 36px; left: 32px; right: 32px; height: 210px; } }

/* Fact cards in two columns */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; }
.fact { border: 1px solid var(--line-dark); border-radius: var(--radius); padding: 24px; background: rgba(255, 255, 255, .04); display: flex; flex-direction: column; }
.fact svg { width: 24px; height: 24px; color: var(--brass); margin-bottom: 16px; }
.fact h3 { font-size: 19px; margin-bottom: 8px; }
.fact p { font-size: 16px; color: rgba(255, 255, 255, .76); }
.section:not(.band-navy) .fact { border-color: var(--line); background: var(--cream); }
.section:not(.band-navy) .fact svg { color: var(--sage); }
.section:not(.band-navy) .fact p { color: var(--muted); }
@media (max-width: 640px) { .facts { grid-template-columns: 1fr; } }

/* Check list */
.checks { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); line-height: 1.5; }
.checks li svg { width: 22px; height: 22px; flex: none; color: var(--sage); margin-top: 1px; }
.checks.one { grid-template-columns: 1fr; }
@media (max-width: 640px) { .checks { grid-template-columns: 1fr; } }
.disclaimer { font-size: 15px; line-height: 1.5; color: var(--muted); display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; }
.disclaimer svg { width: 18px; height: 18px; flex: none; color: var(--sage); margin-top: 1px; }
.band-navy .disclaimer { color: rgba(255, 255, 255, .72); }
.band-navy .disclaimer svg { color: var(--brass); }
.section-head .disclaimer { margin-top: 18px; }

/* Testimonials */
.quote-card blockquote { margin: 0; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: var(--navy); }
.quote-card .qmark { width: 34px; height: 26px; color: var(--brass); margin-bottom: 20px; }
.quote-card figcaption { margin-top: auto; padding-top: 28px; font-size: 15px; color: var(--muted); border-top: 0; }
.quote-card figcaption strong { display: block; color: var(--navy); font-size: 16px; }
.quote-card { margin: 0; }
@media (max-width: 900px) { .quote-card blockquote { font-size: 19px; } }

/* Areas */
.areas { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.areas li { display: flex; align-items: center; gap: 12px; background: var(--cream); border: 1px solid rgba(20, 33, 61, .06); border-radius: var(--radius); padding: 18px 20px; font-weight: 500; color: var(--navy); }
.areas li svg { width: 20px; height: 20px; color: var(--sage); flex: none; }
.band-cream .areas li { background: #fff; }
@media (max-width: 640px) { .areas { grid-template-columns: 1fr 1fr; gap: 12px; } .areas li { padding: 16px; font-size: 16px; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 26px 0; font-family: var(--serif); font-size: 22px; line-height: 1.35; font-weight: 500; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: transform .25s var(--ease), background-color .2s; background: #fff; }
.faq summary .pm svg { width: 16px; height: 16px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--navy); color: #fff; border-color: var(--navy); }
.faq summary:hover { color: var(--sage); }
.faq .answer { padding: 0 64px 28px 0; color: var(--muted); }
.faq summary h3 { font: inherit; color: inherit; margin: 0; }
@media (max-width: 900px) { .faq summary { font-size: 19px; padding: 22px 0; } .faq .answer { padding-right: 0; } }

/* Callout */
.callout { border-left: 3px solid var(--brass); background: var(--cream); padding: 24px 28px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--text); }
.callout strong { color: var(--navy); }
.callout p { margin: 0; }
.band-cream .callout { background: #fff; }

/* Info label value pairs */
.pairs { list-style: none; border-top: 1px solid var(--line); }
.pairs li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.pairs li span:first-child { font-weight: 600; color: var(--navy); }
.pairs li span:last-child { color: var(--muted); text-align: right; }

/* Contact section and form */
.contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 72px; align-items: center; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-ways { list-style: none; margin-top: 36px; display: grid; gap: 12px; }
.contact-ways a, .contact-ways div { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .04); color: #fff; line-height: 1.35; }
.contact-ways a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.contact-ways svg { width: 22px; height: 22px; color: var(--brass); flex: none; }
.contact-ways small { display: block; font-size: 13px; color: rgba(255, 255, 255, .64); letter-spacing: .04em; margin-bottom: 2px; }
.form-card { background: #fff; color: var(--text); border-radius: var(--radius); padding: 40px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .45); scroll-margin-top: calc(var(--header-h) + 16px); }
.section:not(.band-navy) .form-card { border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h3 { font-size: 26px; color: var(--navy); }
.form-card .notice { font-size: 14px; line-height: 1.5; color: var(--muted); background: var(--cream); border-radius: 8px; padding: 12px 14px; margin: 16px 0 22px; }
.field { margin-bottom: 16px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field label .opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: 400 16px/1.4 var(--sans); color: var(--text); background: #fff;
  border: 1px solid rgba(20, 33, 61, .22); border-radius: 8px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(184, 135, 90, .3); }
.field .hint { font-size: 13px; color: var(--muted); margin-top: 6px; line-height: 1.45; display: flex; justify-content: space-between; gap: 12px; }
.field .err { display: none; font-size: 13px; color: #9B2C2C; margin-top: 6px; font-weight: 500; }
.field.invalid input, .field.invalid textarea { border-color: #9B2C2C; }
.field.invalid .err { display: block; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-foot { font-size: 13px; color: var(--muted); margin-top: 14px; text-align: center; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success svg { width: 52px; height: 52px; color: var(--sage); margin: 0 auto 18px; }
.form-success h3 { margin-bottom: 10px; }
.form-card.sent form { display: none; }
.form-card.sent .form-success { display: block; }
@media (max-width: 900px) {
  .form-card { padding: 24px 20px; }
  .form-card h3 { font-size: 22px; }
  .form-card .notice { margin: 12px 0 14px; font-size: 13px; }
  .field { margin-bottom: 12px; }
  .field input, .field textarea { padding: 11px 12px; }
  .field textarea { min-height: 76px; }
}
@media (max-width: 340px) { .field-row { grid-template-columns: 1fr; gap: 0; } }

/* Location card */
.map-card { border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.map-card .map-art { aspect-ratio: 16 / 10; position: relative; background: var(--ink); }
.map-card .map-art svg { width: 100%; height: 100%; }
.map-card .map-body { padding: 28px 32px 32px; }
.map-card .map-body p { color: rgba(255, 255, 255, .8); margin: 6px 0 20px; }
.map-card h3 { color: #fff; }

/* Footer */
.site-footer { background: var(--cream); color: var(--text); padding: 88px 0 40px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 48px; }
.site-footer h2 { font-family: var(--sans); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sage); margin-bottom: 18px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: var(--navy); text-decoration: none; }
.site-footer a:hover { color: var(--sage); text-decoration: underline; }
.site-footer address { font-style: normal; margin: 16px 0; color: var(--muted); }
.foot-phone { font-family: var(--serif); font-size: 24px; font-weight: 600; color: var(--navy); display: inline-block; margin-bottom: 4px; }
.foot-areas { color: var(--muted); margin-top: 16px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; color: var(--muted); }
.hours li span:first-child { color: var(--navy); font-weight: 500; }
.site-footer .btn { margin-top: 18px; }
.site-footer .btn:hover { text-decoration: none; }
.site-footer .btn-primary, .site-footer .btn-primary:hover { color: #fff; }
.foot-legal { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; gap: 14px; color: var(--muted); font-size: 14px; }
.foot-legal .ad { display: inline-flex; align-self: start; justify-self: start; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; font-size: 12px; color: var(--navy); border: 1px solid rgba(20, 33, 61, .3); border-radius: 6px; padding: 6px 10px; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 8px; }
.foot-bottom ul { display: flex; gap: 24px; }
.foot-bottom li { margin: 0; }
@media (max-width: 1000px) { .foot-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .site-footer { padding-top: 64px; } .foot-cols { grid-template-columns: 1fr; gap: 40px; } }

/* Chat button and popover (desktop corner, phone row) */
.fab-row { position: fixed; right: 28px; bottom: 28px; z-index: 90; display: flex; gap: 14px; }
.fab {
  width: 60px; height: 60px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: var(--navy); color: #fff; text-decoration: none; box-shadow: 0 10px 26px -8px rgba(20, 33, 61, .55);
  transition: transform .2s var(--ease), background-color .2s;
}
.fab:hover { transform: translateY(-2px); color: #fff; }
.fab svg { width: 24px; height: 24px; }
.fab-chat { background: var(--brass); color: var(--navy); }
.fab-chat:hover { color: var(--navy); background: #c69568; }
.fab-call, .fab-contact { display: none; }
.fab-blur { display: none; }
.chat-pop {
  position: fixed; right: 28px; bottom: 104px; z-index: 95; width: 340px; max-width: calc(100vw - 32px);
  background: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -20px rgba(20, 33, 61, .45); border: 1px solid var(--line);
  padding: 24px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.chat-pop.open { opacity: 1; visibility: visible; transform: none; }
.chat-pop .chat-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chat-pop .chat-head svg, .chat-pop .chat-head .brand-mark { width: 40px; height: 40px; flex: none; object-fit: contain; }
.chat-pop .chat-head strong { display: block; font-family: var(--serif); font-size: 18px; color: var(--navy); line-height: 1.2; }
.chat-pop .chat-head span { font-size: 13px; color: var(--sage); }
.chat-pop p { font-size: 16px; line-height: 1.5; color: var(--text); background: var(--cream); padding: 14px 16px; border-radius: 4px var(--radius) var(--radius) var(--radius); }
.chat-pop .chat-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.chat-pop .btn { min-height: 48px; padding: 0 12px; }
.chat-close { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; background: none; cursor: pointer; color: var(--muted); display: grid; place-items: center; }
.chat-close:hover { background: var(--cream); }
.chat-close svg { width: 18px; height: 18px; }
@media (max-width: 900px) {
  .fab-row { left: 0; right: 0; bottom: 0; padding: 0 28px calc(18px + env(safe-area-inset-bottom)); justify-content: space-between; gap: 0; }
  .fab-call, .fab-contact { display: grid; }
  .fab { width: 58px; height: 58px; }
  .fab-contact { background: var(--sage); }
  .fab-blur {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; height: 120px; z-index: 89; pointer-events: none;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    background: linear-gradient(to top, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
    -webkit-mask-image: linear-gradient(to top, #000 45%, transparent);
    mask-image: linear-gradient(to top, #000 45%, transparent);
  }
  .chat-pop { right: 16px; left: 16px; width: auto; max-width: none; bottom: calc(96px + env(safe-area-inset-bottom)); }
  .menu-open .chat-pop { display: none; }
}

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }

/* Scroll reveal. Only hidden when the script is running and motion is allowed. */
.reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal-on .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* Phone refinements */
.field .hint .count { white-space: nowrap; }
@media (max-width: 900px) {
  .eyebrow { font-size: 12px; letter-spacing: .12em; }
  .portrait { min-height: 0; padding-top: 270px; }
  .form-foot { display: none; }
  .form-card .notice { padding: 10px 12px; }
}
@media (max-width: 560px) {
  .trust ul { grid-template-columns: 1fr; gap: 24px; }
  .trust li { padding-top: 16px; }
}
@media (max-width: 900px) {
  /* A backdrop filter would trap the fixed menu panel inside the header, so the phone header is solid. */
  .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
}
.card.tint .icon-badge { background: #fff; }
.prose .eyebrow + h2 { margin-top: 0; }
.prose ul.checks { padding-left: 0; }
.prose ul.checks li { margin-bottom: 0; }
a[href^="tel:"] { white-space: nowrap; }
.portrait p { margin-bottom: 0; }

/* Practice area pages */
.sticky-col { position: sticky; top: calc(var(--header-h) + 40px); }
@media (max-width: 900px) { .sticky-col { position: static; } }
.col-h { margin-bottom: 14px; }
.text-link-light, .card-navy .text-link { color: #fff; }
.card-navy .text-link span { border-bottom-color: var(--brass); }
.grid-4 > .card { padding: 28px; }
.grid-4 .card p { font-size: 16px; }

/* Responsible parties, numbered, on the navy band */
.parties { list-style: none; counter-reset: party; border-top: 1px solid var(--line-dark); }
.parties li { counter-increment: party; position: relative; padding: 26px 0 26px 76px; border-bottom: 1px solid var(--line-dark); }
.parties li::before { content: "0" counter(party); position: absolute; left: 0; top: 24px; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--brass); font-weight: 400; }
.parties h3 { margin-bottom: 6px; }
.parties p { font-size: 17px; color: rgba(255, 255, 255, .76); }
@media (max-width: 900px) { .parties li { padding-left: 58px; } .parties li::before { font-size: 26px; } }

/* Vertical timeline */
.timeline { list-style: none; counter-reset: tl; position: relative; }
.timeline li { counter-increment: tl; position: relative; padding: 0 0 36px 76px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: counter(tl); position: absolute; left: 0; top: -4px; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--serif); font-size: 21px; font-weight: 600;
}
.timeline li::after { content: ""; position: absolute; left: 24px; top: 52px; bottom: 6px; width: 1px; background: var(--brass); opacity: .55; }
.timeline li:last-child::after { display: none; }
.timeline h3 { margin-bottom: 8px; }
.timeline p { color: var(--muted); font-size: 17px; }
.band-cream .timeline li::before { box-shadow: 0 0 0 6px var(--cream); }
@media (max-width: 900px) { .timeline li { padding-left: 68px; } }

/* Small road and place pills */
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.pills li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: var(--cream); border: 1px solid rgba(20, 33, 61, .08); font-size: 15px; font-weight: 500; color: var(--navy); line-height: 1.2; }
.pills svg { width: 16px; height: 16px; color: var(--sage); }
.areas.places { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .areas.places { grid-template-columns: 1fr; } }

/* Insurer pushback cards */
.pushback .pb-label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); margin-bottom: 12px; }
.pushback blockquote { margin: 0 0 4px; }
.pushback blockquote p { font-family: var(--serif); font-size: 24px; line-height: 1.35; color: var(--navy); }
.pushback figcaption { margin-top: auto; padding-top: 24px; border-top: 1px solid var(--line); }
.pushback figcaption p:last-child { font-size: 16px; color: var(--muted); }
.section:not(.band-cream):not(.band-navy) .pushback { background: var(--cream); box-shadow: none; }
.pushback blockquote { padding-bottom: 24px; }
@media (max-width: 900px) { .pushback blockquote p { font-size: 21px; } }

/* A plain definition, set large */
.definition { margin-top: 28px; padding-left: 24px; border-left: 3px solid var(--brass); font-family: var(--serif); font-size: 26px; line-height: 1.45; color: var(--navy); }
@media (max-width: 900px) { .definition { font-size: 22px; padding-left: 18px; } }

/* Numbered cards */
.num-card .num { font-family: var(--serif); font-size: 34px; line-height: 1; color: var(--brass); margin-bottom: 22px; }

/* Shared fault examples */
.fault-scale ul { list-style: none; margin-top: 8px; }
.fault-scale li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fault-scale li:last-child { border-bottom: 0; }
.fs-label { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 10px; }
.fs-bar { height: 10px; border-radius: 999px; background: var(--navy); overflow: hidden; }
.fs-bar span { display: block; height: 100%; background: var(--brass); }
.card .fs-result { font-size: 15px; color: var(--muted); margin-top: 10px; }
.card .fs-note { margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }

/* Areas we serve */
.towns .card h3 { margin-bottom: 10px; }
.pa-links { list-style: none; border-top: 1px solid var(--line); }
.pa-links a { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 500; color: var(--navy); }
.pa-links a:hover { color: var(--sage); }
.pa-links svg { width: 22px; height: 22px; color: var(--sage); flex: none; }
.pushback { margin: 0; }
.band-cream .card.tint .icon-badge { background: var(--cream); }
.fs-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.fs-legend .sw { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.fs-legend .sw-you { background: var(--brass); }
.fs-legend .sw-owner { background: var(--navy); }
.fs-legend .lg { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 1000px) and (min-width: 901px) {
  /* The Contact us button sits beside the menu, so the plain Contact link steps aside here to keep one line. */
  .nav > ul > li:last-child { display: none; }
}

/* Areas we serve dropdown: three tidy columns grouped by county */
.sub-wide { width: 680px; left: 50%; margin-left: -340px; padding: 12px 8px 8px; }
.sub-cols { display: grid; grid-template-columns: 1.8fr 1fr 1.1fr; gap: 4px 8px; }
.sub-col:first-child ul { display: grid; grid-template-columns: 1fr 1fr; }
.sub-group { margin: 0; padding: 6px 14px 6px; white-space: nowrap; font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); }
.sub-wide li a { padding: 9px 14px; }
@media (max-width: 1100px) and (min-width: 901px) { .sub-wide { left: auto; right: -140px; margin-left: 0; } }
@media (max-width: 900px) {
  .sub-wide { width: auto; margin-left: 0; padding: 0; }
  .sub-cols { display: block; }
  .sub-col:first-child ul { display: block; }
  .sub-group { padding: 12px 0 4px 18px; margin-left: 2px; border-left: 1px solid var(--line); font-size: 11.5px; }
  .sub-col ul { margin-bottom: 0; }
  .sub-wide li a { padding: 9px 0 9px 18px; }
}

/* Footer: areas served under the business details */
.site-footer h2.foot-sub { margin: 28px 0 12px; }
.foot-towns { columns: 2; column-gap: 20px; }
.foot-towns li { margin-bottom: 8px; break-inside: avoid; }

/* Town pages */
.more-pa { margin-top: 36px; color: var(--muted); font-size: 17px; }
.more-pa > a:not(.text-link) { color: var(--navy); }
.more-pa .text-link { margin-left: 6px; }
.quote-lg { padding: 44px; height: auto; }
.quote-lg blockquote p { font-size: 26px; line-height: 1.45; color: var(--navy); }
@media (max-width: 900px) { .quote-lg { padding: 28px; } .quote-lg blockquote p { font-size: 21px; } }
.town-links { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.town-links a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: var(--radius); background: var(--cream); border: 1px solid rgba(20, 33, 61, .06); text-decoration: none; color: var(--navy); font-weight: 500; transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.band-cream .town-links a { background: #fff; }
.town-links a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy); }
.town-links a span { flex: 1; }
.town-links svg { width: 20px; height: 20px; color: var(--sage); flex: none; }
.town-links a svg:last-child { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.town-links a:hover svg:last-child { transform: translateX(3px); }
.page-hero .pills { margin-top: 32px; }
.page-hero .pills li { background: rgba(255, 255, 255, .7); }

/* Areas overview: county groups */
.town-group + .town-group { margin-top: 72px; }
.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px 40px; flex-wrap: wrap; padding-bottom: 18px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.group-head h3 { font-size: 30px; font-weight: 500; }
.group-head p { margin: 0; max-width: 560px; color: var(--muted); font-size: 16px; }
.town-card h4 { font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
.card-navy h4 { color: #fff; font-size: 22px; line-height: 1.3; margin-bottom: 10px; }
@media (max-width: 900px) { .town-group + .town-group { margin-top: 52px; } .group-head h3 { font-size: 25px; } }

/* Home page town list, now links */
.areas-links li { padding: 0; }
.areas-links a { display: flex; align-items: center; gap: 12px; width: 100%; padding: 18px 20px; color: var(--navy); text-decoration: none; border-radius: var(--radius); }
.areas-links a:hover { color: var(--sage); }
@media (max-width: 640px) { .areas-links li { padding: 0; } .areas-links a { padding: 16px; } }

/* Photography.
   Every photo sits in a .media frame: radius 12px, the one shadow, a 1px inner hairline so light
   photos keep a crisp edge. .framed adds the brass hairline used on the hero card and portrait.
   Ratios: hero and section photos 5/4 or 4/3, card photos 16/10, the attorney portrait 3/4.
   object-position is set per photo with --pos so faces and subjects are never cropped.
   Text never sits on a photo. Captions sit below it, on the band colour. */
.media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--cream-2); box-shadow: 0 2px 4px rgba(20, 33, 61, .05), 0 30px 60px -32px rgba(20, 33, 61, .45); }
.media img { width: 100%; height: auto; aspect-ratio: var(--ar, 4 / 3); object-fit: cover; object-position: var(--pos, 50% 50%); }
.media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(20, 33, 61, .1); pointer-events: none; }
.media.framed::after { inset: 12px; border-radius: 6px; box-shadow: none; border: 1px solid rgba(255, 255, 255, .5); }
.band-navy .media, .hero .media { background: var(--ink); box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .6); }
.ar-54 { --ar: 5 / 4; }
.ar-43 { --ar: 4 / 3; }
.ar-1610 { --ar: 16 / 10; }
.ar-34 { --ar: 3 / 4; }

/* Home hero: the office photo beside the headline, with Nora's name card overlapping its corner */
.hero-visual { position: relative; padding: 0 0 36px 28px; }
.hero-visual .media img { --ar: 1 / 1; }
.hero-badge {
  position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 16px;
  background: var(--cream); color: var(--text); border-radius: var(--radius); padding: 16px 22px 16px 16px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, .55); max-width: calc(100% - 56px);
}
.hero-badge img { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; flex: none; box-shadow: 0 0 0 2px var(--cream), 0 0 0 3px rgba(184, 135, 90, .7); }
.hero-badge strong { display: block; font-family: var(--serif); font-size: 19px; font-weight: 600; color: var(--navy); line-height: 1.2; }
.hero-badge span { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); margin-top: 3px; }
.hero-badge span + span { margin-top: 0; }
@media (max-width: 900px) {
  .hero-visual { padding: 0; }
  .hero-visual .media img { --ar: 5 / 4; }
  .hero-badge { position: relative; left: auto; bottom: auto; margin: -36px 16px 0; max-width: none; }
  .hero-badge img { width: 52px; height: 52px; }
}

/* Attorney portrait with its caption below, on any band */
.attorney { margin: 0; }
.attorney .media img { --ar: 3 / 4; --pos: 50% 20%; }
.attorney figcaption { margin-top: 24px; padding-left: 18px; border-left: 2px solid var(--brass); }
.attorney .p-name { font-family: var(--serif); font-size: 26px; line-height: 1.2; color: var(--navy); margin: 0; }
.attorney .p-role { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--sage); margin: 8px 0 0; }
.attorney .p-line { font-size: 15px; line-height: 1.55; color: var(--muted); margin: 12px 0 0; }
.band-navy .attorney .p-name { color: #fff; }
.band-navy .attorney .p-role { color: var(--brass); }
.band-navy .attorney .p-line { color: rgba(255, 255, 255, .72); }
@media (max-width: 900px) { .attorney .media img { --ar: 4 / 5; } .attorney .p-name { font-size: 23px; } }

/* Inner page hero with a photo beside the text */
.page-hero .hero-split { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: center; }
.page-hero .hero-split .media img { --ar: 5 / 4; }
@media (max-width: 1100px) and (min-width: 901px) { .page-hero .hero-split { grid-template-columns: 1fr 1fr; gap: 48px; } }
@media (max-width: 900px) {
  .page-hero .hero-split { grid-template-columns: 1fr; gap: 40px; }
  .page-hero .hero-split .media img { --ar: 16 / 10; }
}

/* Section head beside a photo */
.head-media { display: grid; grid-template-columns: 6fr 5fr; gap: 72px; align-items: center; margin-bottom: 64px; }
.head-media .section-head { margin-bottom: 0; }
@media (max-width: 900px) { .head-media { grid-template-columns: 1fr; gap: 36px; margin-bottom: 44px; } }

/* Card with a photo across its top, bleeding to the card edges */
.card-photo { display: block; margin: calc(var(--pad) * -1) calc(var(--pad) * -1) 26px; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; overflow: hidden; background: var(--cream-2); }
.card-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--pos, 50% 50%); transition: transform .6s var(--ease); }
a.card:hover .card-photo img { transform: scale(1.03); }

/* Avatar in the place of an icon badge */
.avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: 50% 24%; margin-bottom: 24px; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(184, 135, 90, .7); }

/* Location card photo */
.map-card .map-photo img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: var(--pos, 50% 50%); }
@media (max-width: 1100px) and (min-width: 901px) {
  .hero-visual .media img { --ar: 4 / 5; }
  .page-hero .hero-split .btn-row { flex-direction: column; }
  .page-hero .hero-split .btn-row .btn { width: 100%; min-width: 0; }
}
