/* ---------------------------------------------------------------------------
   brittanybagby.com design tokens and base styles
   Palette and type carry over from the resume so the brand stays consistent.
   --------------------------------------------------------------------------- */

:root {
  --ink: #1d2233;
  --body: #353b4b;
  --muted: #5f667a;
  --navy: #333366;
  --navy-2: #45457e;
  --navy-deep: #262650;
  --accent: #a51c30;
  --accent-deep: #85162a;
  --accent-soft: #f6e6e9;
  --surface: #ffffff;
  --surface-2: #eef0f3;
  --surface-3: #e3e6ec;
  --rule: #d4d8df;
  --on-navy: #ffffff;
  --on-navy-muted: #c9cbe3;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1180px;
  --gutter: 24px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 10px 30px rgba(29, 34, 51, 0.10);
  --shadow-sm: 0 2px 8px rgba(29, 34, 51, 0.08);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--body);
  background: var(--surface);
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
ul, ol { padding-left: 1.25em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; color: var(--ink); line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }
p { margin: 0 0 1em; }
strong { color: var(--ink); font-weight: 600; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2rem 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 14px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 8px; color: #fff; }

/* Layout ------------------------------------------------------------------ */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.band { padding: clamp(56px, 8vw, 96px) 0; }
.band--tight { padding: clamp(40px, 5vw, 64px) 0; }
.band--navy { background: var(--navy); color: var(--on-navy-muted); }
.band--navy h1, .band--navy h2, .band--navy h3, .band--navy h4, .band--navy strong { color: var(--on-navy); }
.band--navy a { color: var(--on-navy); }
.band--navy a:hover { color: #fff; }
.band--soft { background: var(--surface-2); }
.band--accent { background: var(--accent); color: #fff; }
.band--accent h2, .band--accent h3, .band--accent strong { color: #fff; }
.band-head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.band-head p { font-size: 1.1rem; color: var(--muted); }
.band--navy .band-head p { color: var(--on-navy-muted); }
.eyebrow { display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.9rem; }
.band--navy .eyebrow { color: #e9b7bf; }
.lede { font-size: 1.2rem; line-height: 1.55; color: var(--body); }
.band--navy .lede { color: var(--on-navy-muted); }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose ul li, .prose ol li { margin-bottom: 0.4em; }
.prose blockquote { margin: 1.5rem 0; padding: 0.25rem 0 0.25rem 1.25rem; border-left: 4px solid var(--accent); color: var(--ink); font-style: italic; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }

/* Buttons ----------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 0.5em; padding: 0.8em 1.4em; border-radius: 999px; font-weight: 600; font-size: 0.98rem; line-height: 1; text-decoration: none; border: 2px solid transparent; transition: background 0.15s, color 0.15s, border-color 0.15s, transform 0.15s; cursor: pointer; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--navy:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.band--navy .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.band--navy .btn--ghost:hover { background: #fff; color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Cards ------------------------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; height: 100%; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--navy-2); }
.card h3, .card h4 { margin-bottom: 0.4em; }
.card p { color: var(--muted); margin-bottom: 0.8em; }
.card .card-link { margin-top: auto; font-weight: 600; text-decoration: none; }
.card .card-link::after { content: " \2192"; }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { color: inherit; }
.band--navy .card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.band--navy .card p { color: var(--on-navy-muted); }
.icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px; flex: none; }
.icon svg { width: 26px; height: 26px; }
.band--navy .icon { background: rgba(255,255,255,0.12); color: #fff; }

/* Hero -------------------------------------------------------------------- */
.hero { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-2) 100%); color: var(--on-navy-muted); position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(165,28,48,0.35) 0%, rgba(165,28,48,0) 70%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 820px; }
.hero .lede { color: var(--on-navy-muted); max-width: 680px; }
.hero .eyebrow { color: #e9b7bf; }
.hero--page { padding: clamp(48px, 7vw, 84px) 0 clamp(40px, 6vw, 64px); }
.hero--home { padding: clamp(64px, 10vw, 128px) 0; }
.crumbs { font-size: 0.85rem; color: var(--on-navy-muted); margin-bottom: 1.2rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.5em; }
.crumbs li + li::before { content: "/"; margin-right: 0.5em; opacity: 0.6; }
.crumbs a { color: var(--on-navy-muted); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }

/* Misc blocks ------------------------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { position: relative; padding-left: 2em; margin-bottom: 0.7em; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 0.35em; width: 1.1em; height: 1.1em; border-radius: 50%; background: var(--accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='11' fill='white' stroke='none'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23a51c30'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='11' fill='white' stroke='none'/%3E%3Cpath d='M7 12.5l3 3 7-7' stroke='%23a51c30'/%3E%3C/svg%3E") center/contain no-repeat; }
.checklist li::before { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 1.5rem; list-style: none; }
.chips li { border: 1px solid var(--rule); border-radius: 999px; padding: 6px 12px; font-size: 0.88rem; color: var(--ink); background: var(--surface); }
.band--navy .chips li { border-color: rgba(255,255,255,0.25); color: #fff; background: rgba(255,255,255,0.06); }
.aside-box { background: var(--surface-2); border-radius: var(--radius); padding: 28px; }
.aside-box h3 { font-size: 1.25rem; }
.aside-box ul { padding-left: 1.1em; margin: 0; }
.aside-box li { margin-bottom: 0.4em; }
.aside-box--navy { background: var(--navy); color: var(--on-navy-muted); }
.aside-box--navy h3, .aside-box--navy strong { color: #fff; }
.aside-box--navy a { color: #fff; }
.table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.table th, .table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.table th { font-weight: 600; color: var(--ink); }
.timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--rule); }
.timeline li { position: relative; padding: 0 0 2rem 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 0.45em; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); }
.timeline .when { font-size: 0.85rem; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }
.timeline h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.15rem; margin: 0.2em 0 0.1em; }
.timeline .where { color: var(--muted); margin-bottom: 0.6em; }
.timeline ul { margin: 0; }
.faq details { border-top: 1px solid var(--rule); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4em; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0.8em 0 0; color: var(--body); }
.brand-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; align-items: center; }
.brand-row .brand { font-family: var(--font-display); font-size: 1.35rem; color: var(--ink); opacity: 0.75; white-space: nowrap; }
.band--navy .brand-row .brand { color: #fff; }
.quote-card { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius); padding: 28px; height: 100%; display: flex; flex-direction: column; gap: 14px; }
.quote-card .mark { font-family: var(--font-display); font-size: 3rem; line-height: 0.6; color: var(--accent); }
.quote-card blockquote { margin: 0; font-size: 1.02rem; color: var(--ink); flex: 1; }
.quote-card .who { display: flex; align-items: center; gap: 12px; }
.quote-card .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.9rem; flex: none; letter-spacing: 0.03em; }
.quote-card .avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.quote-card .name { font-weight: 600; color: var(--ink); line-height: 1.3; }
.quote-card .role { font-size: 0.85rem; color: var(--muted); line-height: 1.35; }
.quote-card .rel { font-size: 0.78rem; color: var(--accent); font-weight: 600; margin-top: 2px; }
.band--navy .quote-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.band--navy .quote-card blockquote, .band--navy .quote-card .name { color: #fff; }
.band--navy .quote-card .role { color: var(--on-navy-muted); }
.band--navy .quote-card .avatar { background: #fff; color: var(--navy); }
.cta-band { text-align: center; }
.cta-band h2 { max-width: 700px; margin-left: auto; margin-right: auto; }
.cta-band p { max-width: 600px; margin: 0 auto 1.6rem; }
.cta-band .btn-row { justify-content: center; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-display); font-size: 2.6rem; color: var(--accent); line-height: 1; }
.band--navy .stat .num { color: #fff; }
.stat .lbl { color: var(--muted); font-size: 0.95rem; margin-top: 6px; }
.band--navy .stat .lbl { color: var(--on-navy-muted); }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.form input, .form textarea, .form select { font: inherit; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius-sm); background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--navy); outline: 2px solid rgba(51,51,102,0.2); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form .row { grid-template-columns: 1fr; } }
.form .honey { position: absolute; left: -9999px; }
.notice { background: var(--accent-soft); border-left: 4px solid var(--accent); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: var(--ink); }
.meta-line { color: var(--muted); font-size: 0.9rem; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }

/* Header and navigation --------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--surface); border-bottom: 1px solid var(--rule); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 24px; }
.logo { display: flex; flex-direction: row; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); line-height: 1.05; flex: none; }
.logo-photo { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; box-shadow: 0 0 0 2px var(--surface), 0 0 0 3px var(--rule); }
.logo-text { display: flex; flex-direction: column; min-width: 0; }
.logo:hover { color: var(--ink); }
.logo .name { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; }
.logo .tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-top: 3px; }
.nav { display: flex; align-items: center; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav > ul > li { position: static; }
.nav .top { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; font: inherit; font-weight: 600; font-size: 0.95rem; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; border-radius: var(--radius-sm); line-height: 1.2; }
.nav .top:hover, .nav .top[aria-expanded="true"] { color: var(--accent); background: var(--surface-2); }
.nav .top[aria-current="page"], .nav .top.is-active { color: var(--accent); }
.nav .top .caret { width: 14px; height: 14px; transition: transform 0.15s; }
.nav .top[aria-expanded="true"] .caret { transform: rotate(180deg); }
.nav .cta { margin-left: 10px; }
.nav .cta .btn { padding: 0.7em 1.2em; font-size: 0.92rem; }
.menu-toggle { display: none; align-items: center; gap: 8px; font: inherit; font-weight: 600; background: none; border: 1px solid var(--rule); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.site-header.is-open .menu-toggle .icon-open { display: none; }
.site-header.is-open .menu-toggle .icon-close { display: block; }

.panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); display: none; }
.panel.is-open { display: block; }
.panel .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 230px; gap: 24px; padding-top: 30px; padding-bottom: 32px; }
.panel .col h3 { font-family: var(--font-body); font-weight: 700; font-size: 0.95rem; margin: 0 0 2px; letter-spacing: 0; }
.panel .col h3 a { color: var(--ink); text-decoration: none; }
.panel .col h3 a:hover { color: var(--accent); }
.panel .col .descr { font-size: 0.82rem; color: var(--muted); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--accent-soft); line-height: 1.4; }
.panel .col ul { list-style: none; padding: 0; margin: 0; }
.panel .col li a { display: flex; gap: 10px; align-items: center; padding: 7px 0; font-size: 0.92rem; color: var(--body); text-decoration: none; line-height: 1.3; }
.panel .col li a:hover { color: var(--accent); }
.panel .col li a svg { width: 18px; height: 18px; color: var(--navy-2); flex: none; }
.panel .col li a:hover svg { color: var(--accent); }
.panel .col li a[aria-current="page"] { color: var(--accent); font-weight: 600; }
.panel .promo { background: var(--navy); color: var(--on-navy-muted); border-radius: var(--radius); padding: 24px; align-self: start; }
.panel .promo h3 { color: #fff; font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; margin-bottom: 8px; }
.panel .promo p { font-size: 0.9rem; margin-bottom: 16px; }
.panel .promo .btn { font-size: 0.9rem; padding: 0.7em 1.2em; }

.dropdown { position: relative !important; }
.dropdown .menu { position: absolute; top: 100%; left: 0; min-width: 230px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: none; list-style: none; margin: 6px 0 0; }
.dropdown .menu.is-open { display: block; }
.dropdown .menu a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; font-size: 0.93rem; }
.dropdown .menu a:hover { background: var(--surface-2); color: var(--accent); }
.dropdown .menu a[aria-current="page"] { color: var(--accent); font-weight: 600; }

@media (max-width: 1240px) {
  .panel .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .panel .promo { display: none; }
}
@media (max-width: 1040px) {
  .nav .top { padding: 10px 10px; font-size: 0.9rem; }
  .panel .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--rule); box-shadow: var(--shadow); max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .site-header.is-open .nav { display: block; }
  .nav > ul { display: block; padding: 8px var(--gutter) 20px; }
  .nav > ul > li { border-bottom: 1px solid var(--rule); }
  .nav > ul > li:last-child { border-bottom: 0; }
  .nav .top { display: flex; width: 100%; justify-content: space-between; padding: 14px 0; border-radius: 0; font-size: 1.02rem; }
  .nav .top:hover, .nav .top[aria-expanded="true"] { background: none; }
  .nav .cta { margin: 16px 0 0; }
  .nav .cta .btn { width: 100%; justify-content: center; }
  .panel, .dropdown .menu { position: static; box-shadow: none; border: 0; margin: 0; padding: 0 0 12px; }
  .panel .wrap { display: block; padding: 0; }
  .panel .col { margin-bottom: 18px; }
  .panel .promo { display: none; }
  .dropdown .menu a { padding: 10px 12px; }
}

/* Footer ------------------------------------------------------------------ */
.site-footer { background: var(--navy-deep); color: var(--on-navy-muted); padding: 56px 0 28px; font-size: 0.93rem; }
.site-footer a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.14); }
@media (max-width: 900px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-family: var(--font-body); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer .brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; margin-bottom: 6px; display: block; }
.site-footer .brand:hover { text-decoration: none; }
.site-footer .blurb { max-width: 360px; }
.site-footer .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; font-size: 0.85rem; }
.site-footer .social { display: inline-flex; align-items: center; gap: 8px; }
.site-footer .social svg { width: 20px; height: 20px; }

/* Numbered steps and small extras ---------------------------------------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 1.5rem; }
.steps li { counter-increment: s; position: relative; padding-left: 60px; margin-bottom: 1.3rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1rem; }
.steps h3 { font-family: var(--font-body); font-weight: 600; font-size: 1.1rem; margin: 0.35em 0 0.25em; }
.steps p { margin: 0; color: var(--body); }
.band--navy .steps li::before { background: #fff; color: var(--navy); }
.band--navy .steps p { color: var(--on-navy-muted); }
.service-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.service-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 500; background: var(--surface); }
.service-list a:hover { border-color: var(--navy-2); color: var(--accent); }
.service-list svg { width: 20px; height: 20px; color: var(--navy-2); flex: none; }
.avatar-ph { width: 100%; max-width: 360px; aspect-ratio: 1; border-radius: var(--radius); background: linear-gradient(135deg, var(--navy-deep), var(--navy-2)); display: flex; align-items: center; justify-content: center; color: #fff; font-family: var(--font-display); font-size: 6rem; }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0 0 1.5rem; }
.kv dt { font-weight: 600; color: var(--ink); }
.kv dd { margin: 0; }
.band--navy .quote-card .rel, .panel .promo .rel { color: #e9b7bf; }
.band--navy .quote-card .mark { color: #e9b7bf; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.7); }
.hero .btn--ghost:hover { background: #fff; color: var(--navy); border-color: #fff; }
.logo { min-width: 0; }
.site-header .bar { gap: 12px; }
@media (max-width: 560px) {
  .logo-photo { width: 38px; height: 38px; }
  .logo { gap: 10px; }
  .logo .name { font-size: 1.3rem; }
  .logo .tag { font-size: 0.52rem; letter-spacing: 0.12em; }
  .menu-toggle { padding: 8px 10px; }
}
@media (max-width: 400px) {
  .logo .tag { display: none; }
}
[hidden] { display: none !important; }

.panel .col h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Secondary button on the crimson band: solid white so it reads. */
.band--accent .btn--ghost { background: #fff; color: var(--accent); border-color: #fff; }
.band--accent .btn--ghost:hover { background: var(--accent-soft); color: var(--accent-deep); border-color: var(--accent-soft); }

.headshot { width: 100%; max-width: 360px; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Split hero on the home page: copy left, portrait bleeding to the right edge and fading into the navy. */
.hero--split { overflow: hidden; }
.hero--split.hero--home { padding: 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px; min-height: 620px; }
.hero-copy { padding: 56px 0; align-self: center; }
.hero-portrait { position: relative; }
.hero-portrait picture { position: absolute; top: 0; bottom: 0; left: 0; right: calc(-1 * ((100vw - min(100vw, 1228px)) / 2 + 64px)); display: block;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 22%, #000 50%); mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.4) 22%, #000 50%); }
.hero-portrait picture::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(51,51,102,0.55) 0%, rgba(51,51,102,0.2) 45%, rgba(51,51,102,0) 75%); pointer-events: none; }
.hero-portrait img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 12%; }
@media (max-width: 1100px) { .hero-grid { min-height: 560px; } }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .hero-copy { padding: clamp(48px, 10vw, 80px) 0 12px; }
  .hero-portrait { height: 440px; }
  .hero-portrait picture { left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter)); -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 16%); mask-image: linear-gradient(to bottom, transparent 0%, #000 16%); }
  .hero-portrait picture::after { background: linear-gradient(to bottom, rgba(51,51,102,0.45) 0%, rgba(51,51,102,0) 35%); }
  .hero-portrait img { object-position: 50% 0%; }
}

/* Split hero on category and service pages: shorter, image shares the home treatment. */
.hero--page.hero--split { padding: 0; }
.hero--page.hero--split .hero-grid { min-height: 520px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
.hero--page.hero--split .hero-copy { padding: 48px 0 56px; }
.hero--page .hero-figure img { object-position: 50% 50%; }
@media (max-width: 1100px) { .hero--page.hero--split .hero-grid { min-height: 460px; } }
@media (max-width: 900px) {
  .hero--page.hero--split .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 0; }
  .hero--page.hero--split .hero-copy { padding: clamp(40px, 8vw, 64px) 0 8px; }
  .hero--page .hero-portrait { height: 280px; }
}
