/* Fonts: self-hosted (no Google Fonts requests, GDPR friendly) */
/* source-sans-3-cyrillic-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* source-sans-3-latin-ext-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* source-sans-3-latin-wght-normal */
@font-face {
  font-family: 'Source Sans 3 Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url(../fonts/source-sans-3-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* cormorant-garamond-cyrillic-wght-normal */
@font-face {
  font-family: 'Cormorant Garamond Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-cyrillic-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
/* cormorant-garamond-latin-ext-wght-normal */
@font-face {
  font-family: 'Cormorant Garamond Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
/* cormorant-garamond-latin-wght-normal */
@font-face {
  font-family: 'Cormorant Garamond Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url(../fonts/cormorant-garamond-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

/* MM Halley & Son Solicitors: site styles
   Brand colours sampled from the M.M. Halley logo. */

:root {
  --navy: #003964;
  --navy-deep: #00264a;
  --navy-ink: #0d2a47;
  --gold: #ae9964;
  --gold-soft: #d8c9a3;
  --gold-ink: #77633a;          /* gold dark enough for text on white (5:1) */
  --ink: #1d2733;
  --muted: #55606d;
  --line: #dce1e7;
  --mist: #eef2f6;
  --paper: #fff;
  --serif: "Cormorant Garamond Variable", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --sans: "Source Sans 3 Variable", "Source Sans 3", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
  --narrow: 760px;
  --gap: clamp(1.25rem, 3vw, 2.5rem);
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.65; color: var(--ink); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--gold-ink); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { line-height: 1.2; margin: 1.6em 0 .5em; color: var(--navy-ink); }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
h4, h5, h6 { font-size: 1.0625rem; font-weight: 600; }
p, ul, ol, dl, blockquote, figure, table { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li + li { margin-top: .35em; }
address { font-style: normal; }
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, var(--narrow)); }

.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; color: #fff; }

/* ------------------------------------------------ buttons */
.btn, .link-btn { font: inherit; cursor: pointer; }
.btn {
  display: inline-block; padding: .72em 1.4em; border: 1px solid var(--navy); border-radius: var(--radius);
  background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; line-height: 1.2;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy-deep); }
.btn-gold:hover { background: var(--gold-soft); border-color: var(--gold-soft); color: var(--navy-deep); }
.btns { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; text-underline-offset: .18em; }

/* ------------------------------------------------ top bar + header */
.topbar { background: var(--navy-deep); color: #e3e9f0; font-size: .875rem; }
.topbar-in { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; }
.topbar p { margin: 0; display: flex; gap: 1.25rem; flex-wrap: wrap; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gold-soft); text-decoration: underline; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand img { width: 200px; }
@media (min-width: 960px) { .brand img { width: 260px; } }

.nav-toggle { display: none; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.menu > li { position: relative; margin: 0; }
.menu > li > a:not(.btn) { display: block; padding: .6rem .8rem; color: var(--ink); font-weight: 600; text-decoration: none; }
.menu > li > a:not(.btn):hover, .menu > li > a[aria-current="page"]:not(.btn) { color: var(--navy); box-shadow: inset 0 -2px var(--gold); }
.menu-cta { margin-left: .6rem !important; }
.sub-toggle { display: none; }
.sub {
  list-style: none; margin: 0; padding: .5rem 0; position: absolute; left: 0; top: 100%; min-width: 320px;
  background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold); box-shadow: 0 18px 40px -20px rgba(0, 38, 74, .35);
  visibility: hidden; opacity: 0; transform: translateY(4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub { visibility: visible; opacity: 1; transform: none; }
.sub li { margin: 0; }
.sub a { display: block; padding: .45rem 1.1rem; color: var(--ink); text-decoration: none; font-size: .975rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--mist); color: var(--navy); }
.sub a span { color: var(--muted); font-size: .875rem; }

@media (max-width: 1080px) {
  .header-in { min-height: 72px; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .55rem; background: none; border: 1px solid var(--line);
    border-radius: var(--radius); padding: .55rem .8rem; font: inherit; font-weight: 600; color: var(--navy); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(88vw, 380px); top: var(--nav-top, 0); background: #fff; overflow-y: auto;
    border-left: 1px solid var(--line); box-shadow: -20px 0 40px -24px rgba(0, 38, 74, .4); transform: translateX(100%); transition: transform .2s; visibility: hidden; }
  .nav-open .site-nav { transform: none; visibility: visible; }
  .menu { flex-direction: column; align-items: stretch; padding: 1rem 0 2rem; gap: 0; }
  .menu > li { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .menu > li > a:not(.btn) { flex: 1; padding: .9rem 1.25rem; }
  .menu > li > a:not(.btn):hover, .menu > li > a[aria-current="page"]:not(.btn) { box-shadow: inset 3px 0 var(--gold); }
  .sub-toggle { display: block; width: 52px; height: 48px; background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; position: relative; }
  .sub-toggle::after { content: ""; position: absolute; left: 50%; top: 45%; width: 8px; height: 8px; border: solid var(--navy); border-width: 0 2px 2px 0; transform: translate(-50%, -50%) rotate(45deg); transition: transform .15s; }
  .sub-toggle[aria-expanded="true"]::after { transform: translate(-50%, -20%) rotate(-135deg); }
  .sub { position: static; min-width: 0; width: 100%; border: 0; box-shadow: none; padding: 0 0 .6rem; display: none; visibility: visible; opacity: 1; transform: none; background: var(--mist); }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { padding: .55rem 1.25rem .55rem 2rem; }
  .menu-cta { border-bottom: 0 !important; margin: 1.25rem 1.25rem 0 !important; }
  .menu-cta .btn { width: 100%; text-align: center; }
}
@media (max-width: 560px) { .topbar-contact a[href^="mailto"] { display: none; } }

/* ------------------------------------------------ hero */
.hero { background: var(--navy); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero.has-img::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(0, 38, 74, .94) 0%, rgba(0, 57, 100, .82) 45%, rgba(0, 57, 100, .45) 100%); }
.hero-in { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); max-width: var(--wrap); }
.hero h1 { color: #fff; margin: .2em 0 0; max-width: 20ch; }
.hero .rule { display: block; width: min(280px, 60%); height: 1px; background: var(--gold); margin: 1.1rem 0 1.25rem; }
.hero-sub { color: #e8edf3; font-family: var(--sans); font-size: 1.15rem; font-weight: 400; line-height: 1.55; max-width: 62ch; margin: 0 0 .9em; }
h2.hero-sub { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; color: #fff; }
.page-home .hero-in { padding-top: clamp(3rem, 9vw, 7rem); padding-bottom: clamp(3rem, 8vw, 6rem); }
.page-home .hero h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; font-size: .9rem; }
.crumbs li { margin: 0; color: inherit; opacity: .9; }
.crumbs li + li::before { content: "/"; margin-right: .35rem; opacity: .6; }
.crumbs a { color: inherit; }
.hero .crumbs { color: #d5dee8; }

/* ------------------------------------------------ content */
.content { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4.5rem); }
.content > :first-child, .band > :first-child, .panel > :first-child, .cols > div > :first-child { margin-top: 0; }
.content > p, .content > ul, .content > ol, .content > h2, .content > h3, .content > h4, .content > blockquote, .content > .faq, .prose { max-width: 72ch; }
.content figure img { border-radius: var(--radius); }
.cols { display: grid; gap: var(--gap); margin: 0 0 2rem; align-items: start; }
@media (min-width: 760px) {
  .cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) { .cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.cols + .cols { margin-top: clamp(1.5rem, 4vw, 3rem); }
.panel { background: var(--mist); border-left: 3px solid var(--gold); padding: clamp(1.25rem, 3vw, 2rem); margin: 0 0 1.25rem; max-width: 72ch; }
.panel h3 { margin-top: 0; font-family: var(--serif); font-size: 1.5rem; }
.band { background: var(--navy); color: #e8edf3; padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 4vw, 3rem); margin: clamp(1.5rem, 4vw, 3rem) 0; border-radius: var(--radius); }
.band h2, .band h3, .band h4 { color: #fff; }
.band a:not(.btn) { color: #fff; }
.band .btn { background: transparent; border-color: var(--gold); color: #fff; }
.band .btn:hover { background: var(--gold); color: var(--navy-deep); }
.band figure img { margin-inline: auto; }
.band .cols-4 > div, .band .cols-3 > div { text-align: center; }
.band .cols-4 figure img, .band .cols-3 figure img { width: 72px; height: 72px; object-fit: contain; }
.band .cols-4 h3, .band .cols-3 h3 { font-size: 1.1rem; margin: .8rem 0 .2rem; }
.band .cols-4 .btns, .band .cols-3 .btns { justify-content: center; margin-top: .6rem; }
.band .cols-4 .btn, .band .cols-3 .btn { padding: .45em 1em; font-size: .9rem; }
.page-home .band, .page-service .band { margin-inline: calc(50% - 50vw); border-radius: 0; padding-inline: max(1.25rem, calc(50vw - var(--wrap) / 2)); }

blockquote, .quote { border-left: 3px solid var(--gold); padding: .2rem 0 .2rem 1.25rem; margin-left: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--navy-ink); }
.band blockquote, .band .quote { color: #fff; }
.table-wrap { overflow-x: auto; margin: 0 0 1.5rem; }
table { border-collapse: collapse; width: 100%; font-size: .975rem; }
th, td { border: 1px solid var(--line); padding: .6rem .75rem; text-align: left; vertical-align: top; }
th { background: var(--mist); }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin: 0 0 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2.5rem 1rem 0; font-weight: 600; color: var(--navy-ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .75rem; font-size: 1.5rem; line-height: 1; color: var(--gold-ink); }
.faq details[open] summary::after { content: "−"; }
.faq-a { padding: 0 0 1rem; }
.faq-a > :last-child { margin-bottom: 0; }

/* video + map with consent placeholders */
.video, .map { position: relative; margin: 0 0 1.5rem; }
.video iframe, .map iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; display: block; background: var(--mist); }
.map iframe { aspect-ratio: 4 / 3; }
.video iframe:not([src]), .map iframe:not([src]) { display: none; }
.consent-note { background: var(--mist); padding: 1rem 1.25rem; font-size: .95rem; border-radius: var(--radius); color: var(--ink); }
.band .consent-note a { color: var(--navy); }

/* ------------------------------------------------ person pages */
.page-person .cols-2 { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); }
@media (max-width: 759px) { .page-person .cols-2 { grid-template-columns: 1fr; } .page-person .cols-2 figure img { max-width: 240px; } }
.page-person .content figure img { box-shadow: 10px 10px 0 var(--gold-soft); }

/* our people grid */
.people { list-style: none; padding: 0; margin: 0; display: grid; gap: clamp(1.25rem, 3vw, 2.25rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.person { margin: 0; }
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: var(--radius); background: var(--mist); }
.person h2 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; margin: .8rem 0 .1rem; }
.person h2 a { text-decoration: none; color: var(--navy-ink); }
.person h2 a:hover { color: var(--gold-ink); text-decoration: underline; }
.person p { margin: 0; color: var(--muted); font-size: .975rem; }

/* ------------------------------------------------ blog */
.cat-nav ul { list-style: none; padding: 0; margin: 0 0 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.cat-nav li { margin: 0; }
.cat-nav a { display: block; padding: .4rem .9rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .95rem; color: var(--ink); }
.cat-nav a:hover { border-color: var(--navy); color: var(--navy); }
.cat-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cards { display: grid; gap: clamp(1.25rem, 3vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { display: flex; flex-direction: column; border-top: 3px solid var(--navy); background: #fff; }
.card-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card-body { padding: 1rem 0 0; }
.card-meta, .post-meta { display: flex; gap: .9rem; flex-wrap: wrap; font-size: .875rem; color: var(--muted); margin: 0 0 .4rem; }
.card-meta a, .post-meta a { color: var(--gold-ink); font-weight: 600; text-decoration: none; }
.card h2, .card h3 { font-family: var(--sans); font-size: 1.15rem; font-weight: 600; line-height: 1.35; margin: 0 0 .5rem; }
.card h2 a, .card h3 a { text-decoration: none; color: var(--navy-ink); }
.card h2 a:hover, .card h3 a:hover { text-decoration: underline; color: var(--navy); }
.card p { font-size: .975rem; color: var(--muted); margin: 0; }

.post-head { background: var(--mist); padding: clamp(1.75rem, 5vw, 3rem) 0 clamp(1.5rem, 4vw, 2.5rem); border-bottom: 1px solid var(--line); }
.post-head .crumbs { margin-bottom: 1.25rem; color: var(--muted); }
.post-head h1 { margin: .2em 0 0; font-size: clamp(2rem, 4.4vw, 3rem); }
.post-feature { width: 100%; margin: clamp(1.5rem, 4vw, 2.5rem) 0 0; border-radius: var(--radius); }
.post .content { padding-bottom: 1.5rem; }
.prose h2 { margin-top: 1.8em; }
.post-help { border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 1.25rem 1.5rem; margin: 0 0 clamp(2rem, 5vw, 3.5rem); }
.post-help h2 { margin: 0 0 .3rem; font-size: 1.5rem; }
.post-help p { margin: 0; }
.related { background: var(--mist); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.related h2 { margin-top: 0; }
.related .card { background: transparent; }

/* ------------------------------------------------ CTA */
.cta { background: var(--navy-deep); color: #e3e9f0; border-top: 1px solid var(--gold); }
.cta-in { display: grid; gap: 1.5rem; padding: clamp(2rem, 5vw, 3.5rem) 0; align-items: center; }
@media (min-width: 860px) { .cta-in { grid-template-columns: 1.4fr 1fr; } .cta-actions { justify-content: flex-end; } }
.cta h2 { color: #fff; margin: 0 0 .4rem; }
.cta p { margin: 0; max-width: 60ch; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.cta-phone { color: #fff; font-weight: 600; font-size: 1.15rem; text-decoration: none; }
.cta-phone:hover { color: var(--gold-soft); text-decoration: underline; }

/* ------------------------------------------------ footer */
.site-footer { background: var(--navy); color: #d9e1ea; font-size: .975rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--gold-soft); }
.footer-grid { display: grid; gap: 2rem; padding: clamp(2.5rem, 6vw, 4rem) 0; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.1fr 1fr 1.2fr .8fr; } }
.footer-h { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--gold-soft); margin: 0 0 .9rem; letter-spacing: .02em; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li + li { margin-top: .35rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.lqs { width: 110px; margin-bottom: 1rem; }
.footer-note { font-size: .9rem; color: #c3cfdc; max-width: 34ch; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .15); font-size: .875rem; }
.footer-legal-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding: 1.1rem 0; }
.footer-legal p { margin: 0; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 0; margin: 0; }
.footer-legal li { margin: 0; }
.footer-legal .link-btn { color: #fff; }

/* ------------------------------------------------ contact */
.contact-list { display: grid; grid-template-columns: max-content 1fr; gap: .5rem 1.25rem; margin: 1.5rem 0 2rem; }
.contact-list dt { font-weight: 600; color: var(--navy-ink); }
.contact-list dd { margin: 0; }
.contact-form { background: var(--mist); padding: clamp(1.25rem, 4vw, 2.25rem); border-top: 3px solid var(--gold); }
.contact-form h2 { margin-top: 0; }
.form-row { display: grid; gap: .35rem; margin-bottom: 1rem; }
.form-row label { font-weight: 600; font-size: .975rem; }
.form-row .opt { font-weight: 400; color: var(--muted); }
.form-row input, .form-row select, .form-row textarea { font: inherit; padding: .65rem .75rem; border: 1px solid #b9c3cf; border-radius: var(--radius); background: #fff; width: 100%; color: var(--ink); }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 3px solid var(--gold); outline-offset: 0; border-color: var(--navy); }
.form-row.check { grid-template-columns: auto 1fr; align-items: start; gap: .6rem; }
.form-row.check input { width: 1.15rem; height: 1.15rem; margin-top: .25rem; }
.form-row.check label { font-weight: 400; }
.form-note { font-size: .9rem; color: var(--muted); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* legal pages */
.updated { color: var(--muted); font-size: .95rem; }
.svc-links { columns: 2 240px; }

@media print {
  .topbar, .site-header, .cta, .site-footer, .related, .post-help { display: none; }
  .hero { background: none; color: #000; } .hero h1 { color: #000; } .hero-bg, .hero::before { display: none; }
}

/* fixes */
.band.has-img { position: relative; isolation: isolate; overflow: hidden; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; border-radius: 0 !important; }
.band.has-img::before { content: ""; position: absolute; inset: 0; background: rgba(0, 38, 74, .85); z-index: -1; }
.cover-img img { width: 100%; }
.content > .band:last-child { margin-bottom: 0; }
.content:has(> .band:last-child) { padding-bottom: 0; }
.content > .band:first-child { margin-top: 0; }
.content:has(> .band:first-child) { padding-top: 0; }
.content > .people, .content > .cards { max-width: none; }
