:root {
  --navy: #16233a;
  --navy-2: #22324e;
  --brass: #a2762a;
  --brass-ink: #86601f;
  --brass-soft: #f4ecdd;
  --mist: #eef1f5;
  --white: #ffffff;
  --text: #4a5568;
  --muted: #6b7686;
  --line: #d9dee6;
  --max: 1160px;
  --serif: "Spectral", Georgia, serif;
  --sans: "Work Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brass-ink); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brass); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--serif); color: var(--navy); font-weight: 600; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -0.01em; }
h3 { font-size: 1.3rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; max-width: 34em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; font-weight: 500; color: var(--muted); margin-top: 4px; letter-spacing: .02em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--brass-ink); }
.nav-links a[aria-current="page"] { color: var(--brass-ink); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav-links .nav-call { border: 1.5px solid var(--navy); border-radius: 999px; padding: 8px 18px; }
.nav-links .nav-call:hover { background: var(--navy); color: var(--white); }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--navy); cursor: pointer; }

/* Buttons */
.btn { display: inline-block; font: 600 15px/1 var(--sans); padding: 16px 26px; border-radius: 2px; text-decoration: none; cursor: pointer; border: 1.5px solid var(--navy); }
.btn-solid { background: var(--navy); color: var(--white); }
.btn-solid:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: var(--navy); }
.btn-line:hover { background: var(--mist); }
.btn-brass { background: var(--brass); border-color: var(--brass); color: var(--white); }
.btn-brass:hover { background: var(--brass-ink); border-color: var(--brass-ink); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Hero */
.hero { padding: 84px 0 92px; background: var(--mist); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.since { display: inline-block; font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: var(--brass-ink); margin-bottom: 16px; }

/* Custody record */
.record { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--brass); padding: 30px 32px 26px; box-shadow: 0 24px 48px -28px rgba(22,35,58,.35); }
.record-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px dashed var(--line); padding-bottom: 14px; margin-bottom: 22px; }
.record-head strong { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); }
.record-head span { font-size: 13px; color: var(--muted); }
.trace { list-style: none; margin: 0; padding: 0; position: relative; }
.trace::before { content: ""; position: absolute; left: 11px; top: 14px; bottom: 14px; width: 2px; background: var(--brass); transform-origin: top; animation: draw 1.4s ease-out .3s both; }
.trace li { position: relative; padding: 0 0 18px 42px; }
.trace li:last-child { padding-bottom: 0; }
.trace li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--brass); }
.trace li.us::before { background: var(--brass); box-shadow: 0 0 0 5px var(--brass-soft); }
.trace b { display: block; color: var(--navy); font-weight: 600; font-size: 16px; }
.trace span { font-size: 14.5px; color: var(--muted); }
.record-foot { margin: 22px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 13.5px; color: var(--muted); }
@keyframes draw { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .trace::before { animation: none; } }

/* Facts */
.facts { border-bottom: 1px solid var(--line); }
.facts dl { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.facts dl > div { padding: 30px 24px 32px 0; }
.facts dl > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.facts dd { margin: 4px 0 0; font-size: 15px; color: var(--muted); }

/* Sections */
.block { padding: 96px 0; }
.block-mist { background: var(--mist); }
.page-top { padding: 72px 0 64px; background: var(--mist); }
.page-top h1 { max-width: 15em; }
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: start; }
.split-even { grid-template-columns: 1fr 1fr; }
.sticky { position: sticky; top: 120px; }

/* Ruled rows */
.rows { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--navy); }
.rows li { display: grid; grid-template-columns: 220px 1fr; gap: 28px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.rows h3 { margin: 0; font-size: 1.2rem; }
.rows p { margin: 0; }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; counter-reset: t; }
.timeline li { counter-increment: t; display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding-bottom: 32px; position: relative; }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 21px; top: 46px; bottom: 6px; width: 1px; background: var(--line); }
.timeline li::before { content: counter(t); width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); display: grid; place-items: center; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--navy); background: var(--white); }
.timeline h3 { font-size: 1.15rem; margin: 8px 0 4px; }
.timeline p { margin: 0; }

/* Quote-style statement */
.statement { font-family: var(--serif); font-size: clamp(1.4rem, 2.4vw, 1.85rem); line-height: 1.45; color: var(--navy); max-width: 30em; margin: 0; }
.prose p { max-width: 36em; }

/* Checklist */
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { padding: 14px 0 14px 34px; border-bottom: 1px solid var(--line); position: relative; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 14px; height: 8px; border-left: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: rotate(-45deg); }

/* Contact band */
.band { background: var(--navy); color: #c3cad6; padding: 80px 0; }
.band h2 { color: var(--white); }
.band-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: end; }
.band p { margin: 0; max-width: 30em; }
.band-contact { border-left: 1px solid rgba(255,255,255,.18); padding-left: 40px; }
.band-contact a.phone { display: block; font-family: var(--serif); font-size: clamp(1.8rem, 3.4vw, 2.4rem); color: var(--white); text-decoration: none; line-height: 1.2; }
.band-contact a.phone:hover { color: #e6c88e; }
.band-contact a.mail { color: #e6c88e; display: inline-block; margin: 6px 0 22px; }

/* Forms */
.form { display: grid; gap: 20px; }
.form .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label { display: block; font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form .opt { font-weight: 400; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 16px var(--sans); color: var(--navy); padding: 13px 14px; border: 1px solid #c7ceda; border-radius: 2px; background: var(--white); }
.form textarea { min-height: 160px; resize: vertical; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--brass); outline-offset: 0; border-color: var(--brass); }
.form .hp { display: none; }
.details { margin: 0; }
.details div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.details div:first-child { border-top: 2px solid var(--navy); }
.details dt { font-size: 14px; color: var(--muted); }
.details dd { margin: 2px 0 0; font-family: var(--serif); font-size: 1.25rem; color: var(--navy); }
.details dd a { color: var(--navy); text-decoration: none; }
.details dd a:hover { color: var(--brass-ink); }

/* Footer */
.site-footer { padding: 56px 0 32px; font-size: 15px; border-top: 1px solid var(--line); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot h4 { font: 600 14px var(--sans); color: var(--navy); margin: 0 0 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 6px; }
.foot a { color: var(--text); text-decoration: none; }
.foot a:hover { color: var(--brass-ink); }
.fine { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .split, .split-even, .band-grid { grid-template-columns: 1fr; gap: 44px; }
  .sticky { position: static; }
  .facts dl { grid-template-columns: 1fr 1fr; }
  .facts dl > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts dl > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band-contact { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding-top: 32px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .foot > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 780px) {
  .wrap { padding: 0 20px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 78px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--white); border-bottom: 1px solid var(--line); padding: 6px 20px 20px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-links .nav-call { margin-top: 14px; text-align: center; border-bottom: 1.5px solid var(--navy); }
  .hero { padding: 52px 0 60px; }
  .block { padding: 64px 0; }
  .page-top { padding: 52px 0 44px; }
  .record { padding: 24px 22px 20px; }
  .facts dl { grid-template-columns: 1fr; }
  .facts dl > div, .facts dl > div + div { padding: 20px 0; border-left: 0; }
  .facts dl > div + div { border-top: 1px solid var(--line); }
  .rows li { grid-template-columns: 1fr; gap: 6px; }
  .form .pair { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}

/* Location photo */
.photo { margin: 0; max-width: 632px; }
.photo img { width: 100%; height: auto; display: block; }
.photo figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.place { align-items: center; }
.details + .photo, p + .photo { margin-top: 28px; }
