/* Duncan Family Law · site styles
   Composed phone-first: every rule below is the 390px column.
   The desktop face grows from it in the media queries at the end. */

@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-400-italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-500.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-400.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans-600.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --paper: #F4EFE6;
  --paper-2: #EBE4D7;
  --paper-3: #E2D9C9;
  --ink: #1F2B2E;
  --ink-2: #4C575A;
  --ink-3: #6E7779;
  --rule: #CFC5B4;
  --river: #2F5A54;
  --river-deep: #1E3B37;
  --slot: #8A5426;
  --slot-bg: rgba(138, 84, 38, 0.08);
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: 1.5rem;
  --bar-h: 4.75rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.1875rem;          /* 19px: a letter, read at night */
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--river); }
:focus-visible { outline: 2px solid var(--river); outline-offset: 3px; border-radius: 2px; }
p { margin: 0 0 1.05em; }
strong { font-weight: 500; }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: .6rem 1rem; font-family: var(--sans); z-index: 100; }
.skip:focus { left: .5rem; top: .5rem; }

.wrap { width: 100%; max-width: 76rem; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Slots: the client's details, held and clearly marked ---------- */
.slot {
  font-family: var(--sans);
  font-size: 0.82em;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--slot);
  background: var(--slot-bg);
  border-bottom: 1.5px dotted var(--slot);
  padding: 0.05em 0.35em 0.1em;
  border-radius: 3px 3px 0 0;
  white-space: nowrap;
}
.slot.slot-long { white-space: normal; }
.slot-filled { /* once the client fills a slot it reads as ordinary text */ }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; gap: 1rem; }
.mark { text-decoration: none; display: block; line-height: 1.15; }
.mark:hover { color: var(--ink); }
.mark-name { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; letter-spacing: -0.005em; display: block; }
.mark-line { font-family: var(--sans); font-size: 0.75rem; color: var(--ink-2); display: block; margin-top: 0.15rem; }
.mark-line .ml-a, .mark-line .ml-b { display: block; }
.mark-line .ml-dot { display: none; }
@media (min-width: 600px) { .mark-line .ml-a, .mark-line .ml-b { display: inline; } .mark-line .ml-dot { display: inline; } }
.site-nav a, .header-actions a, .btn { white-space: nowrap; }

.menu-btn {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  background: transparent; border: 1px solid var(--rule); border-radius: 999px;
  padding: 0.55rem 1.05rem; min-height: 2.75rem; cursor: pointer;
}
.site-nav { display: none; }
.header-actions { display: none; }

/* phone menu panel */
.menu-panel {
  position: fixed; inset: 0; background: var(--paper); z-index: 60;
  display: flex; flex-direction: column; padding: 0 var(--pad) calc(var(--bar-h) + 1.5rem);
  overflow-y: auto;
}
.menu-panel[hidden] { display: none; }
.menu-panel-top { display: flex; align-items: center; justify-content: space-between; min-height: 4.25rem; border-bottom: 1px solid var(--rule); }
.menu-panel ul { list-style: none; margin: 1rem 0 0; padding: 0; }
.menu-panel li a {
  display: block; text-decoration: none; font-size: 1.75rem; line-height: 1.2;
  padding: 0.85rem 0; border-bottom: 1px solid var(--rule);
}
.menu-panel li a[aria-current="page"] { color: var(--river); }
.menu-panel .menu-foot { margin-top: auto; padding-top: 2rem; font-family: var(--sans); font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Buttons ---------- */
.btns { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.75rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.005em;
  min-height: 3.25rem; padding: 0 1.5rem; border-radius: 999px; text-decoration: none;
  border: 1.5px solid var(--ink); transition: background .15s ease, color .15s ease;
}
.btn-call { background: var(--ink); color: var(--paper); }
.btn-call:hover { background: var(--river-deep); border-color: var(--river-deep); color: var(--paper); }
.btn-write { background: transparent; color: var(--ink); }
.btn-write:hover { background: var(--paper-2); color: var(--ink); }
.on-dark .btn-call { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.on-dark .btn-call:hover { background: #fff; color: var(--ink); }
.on-dark .btn-write { color: var(--paper); border-color: rgba(244,239,230,.7); }
.on-dark .btn-write:hover { background: rgba(244,239,230,.1); color: var(--paper); }

/* opening buttons: on a phone the thumb bar carries the same two actions,
   so the opening pair steps aside to give the headline its air */
.btns-open { display: none; }

/* ---------- Thumb bar (phones) ---------- */
.thumb-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  background: rgba(244, 239, 230, 0.96);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-top: 1px solid var(--rule);
  padding: 0.7rem var(--pad) calc(0.7rem + env(safe-area-inset-bottom, 0px));
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem;
}
.thumb-bar .btn { width: 100%; padding: 0 0.5rem; min-height: 3.25rem; font-size: 1.0625rem; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; letter-spacing: -0.012em; }
h1 { font-size: 2.125rem; line-height: 1.1; }
h2 { font-size: 1.75rem; line-height: 1.18; margin-bottom: 1.1rem; }
h3 { font-size: 1.3125rem; line-height: 1.3; font-weight: 500; margin-bottom: 0.5rem; }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--ink); margin-top: 1.1rem; }
.label { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--river); letter-spacing: 0.02em; display: block; margin-bottom: 0.6rem; }
.muted { color: var(--ink-2); }
.phone-br { display: inline; }

ul.plain, ol.plain { margin: 0 0 1.2em; padding: 0; list-style: none; }
.list { margin: 0 0 1.2em; padding: 0; list-style: none; }
.list li { position: relative; padding-left: 1.35rem; margin-bottom: 0.7rem; }
.list li::before { content: ""; position: absolute; left: 0.1rem; top: 0.72em; width: 0.45rem; height: 1px; background: var(--ink-2); }

/* ---------- Sections ---------- */
.section { padding: 3.25rem 0; }
.section + .section { border-top: 1px solid var(--rule); }
.band { background: var(--paper-2); }
.band + .section, .section + .band { border-top: 0; }

/* page opening */
.opening { padding: 2.5rem 0 2.25rem; }
.opening .lead { max-width: 38rem; }
.on-page { margin: 2rem 0 0; padding: 1rem 0 0; border-top: 1px solid var(--rule); font-family: var(--sans); font-size: 0.9375rem; }
.on-page span { display: block; color: var(--ink-3); font-size: 0.8125rem; margin-bottom: 0.4rem; }
.on-page ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.4rem 0.5rem; }
.on-page a { display: inline-block; text-decoration: none; padding: 0.45rem 0.8rem; border: 1px solid var(--rule); border-radius: 999px; color: var(--ink); }
.on-page a:hover { border-color: var(--river); color: var(--river); }

/* ---------- Home ---------- */
.hero { padding: 2.5rem 0 0; }
.hero h1 { font-size: 2.125rem; line-height: 1.08; letter-spacing: -0.02em; }
.hero .lead { margin-top: 1.25rem; }
.hero-figure { margin: 2rem calc(var(--pad) * -1) 0; }
.hero-figure img { width: 100%; height: auto; aspect-ratio: 4 / 3.6; object-fit: cover; object-position: 62% 78%; }

.served-intro { color: var(--ink-2); max-width: 36rem; }
.three { list-style: none; margin: 2rem 0 0; padding: 0; counter-reset: three; }
.three li { padding: 1.5rem 0; border-top: 1px solid var(--rule); }
.three li:last-child { padding-bottom: 0.25rem; }
.three .num { font-family: var(--serif); font-size: 2.5rem; line-height: 1; color: var(--river); display: block; margin-bottom: 0.75rem; font-style: italic; }
.three h3 { font-size: 1.375rem; }
.three p { margin: 0; }
.more { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-top: 2rem; display: inline-block; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.more .arr { display: inline-block; transition: transform .15s ease; margin-left: 0.25rem; }
.more:hover .arr { transform: translateX(3px); }

.work { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.work li { border-top: 1px solid var(--rule); }
.work li:last-child { border-bottom: 1px solid var(--rule); }
.work a { display: grid; grid-template-columns: 1fr auto; gap: 0.25rem 1rem; padding: 1.4rem 0; text-decoration: none; }
.work h3 { margin: 0; font-size: 1.5rem; font-weight: 400; }
.work p { grid-column: 1 / 2; margin: 0.35rem 0 0; color: var(--ink-2); font-size: 1.0625rem; line-height: 1.5; }
.work .go { grid-column: 2; grid-row: 1; align-self: center; font-family: var(--sans); font-size: 1.25rem; color: var(--river); transition: transform .15s ease; }
.work a:hover .go { transform: translateX(4px); }
.work a:hover h3 { color: var(--river); }

.facts { list-style: none; margin: 2.25rem 0 0; padding: 0; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.45; color: var(--ink); }
.facts li { padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.facts li:last-child { border-bottom: 1px solid var(--rule); }

.word { padding: 3.5rem 0; }
.word blockquote { margin: 0; }
.word blockquote p { font-size: 1.5rem; line-height: 1.45; font-style: italic; letter-spacing: -0.005em; }
.word .sig { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; margin: 1.5rem 0 0; display: flex; align-items: center; gap: 0.75rem; }
.word .sig::before { content: ""; width: 2rem; height: 1px; background: var(--ink); }

.honest p { max-width: 38rem; }

/* closing: the one dark ground on the page */
.closing { background: var(--river-deep); color: var(--paper); padding: 3.5rem 0 3.75rem; }
.closing h2 { color: var(--paper); font-size: 2rem; }
.closing p { color: rgba(244, 239, 230, 0.9); max-width: 36rem; }
.closing .slot { color: #F1CFA6; background: rgba(241, 207, 166, 0.1); border-bottom-color: #F1CFA6; }
.closing .after { margin-top: 2rem; font-family: var(--sans); font-size: 0.9375rem; }
.closing .after a { color: var(--paper); }

/* ---------- Practice pages ---------- */
.rail { display: none; }
.practice-body .q { padding: 3rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 1.5rem; }
.practice-body .q:first-child { border-top: 0; padding-top: 0.5rem; }
.practice-body .q > p, .practice-body .q > ul { max-width: 38rem; }
.steps { list-style: none; margin: 1.75rem 0 0; padding: 0; }
.steps li { position: relative; padding: 0 0 1.75rem 1.75rem; border-left: 1px solid var(--rule); margin-left: 0.4rem; }
.steps li:last-child { padding-bottom: 0.25rem; }
.steps li::before { content: ""; position: absolute; left: -0.4rem; top: 0.45rem; width: 0.8rem; height: 0.8rem; border-radius: 50%; background: var(--paper); border: 1.5px solid var(--river); }
.steps .label { margin-bottom: 0.2rem; }
.steps h3 { margin-bottom: 0.4rem; }
.steps p { margin: 0; max-width: 36rem; }
.where { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.where li { background: var(--paper-2); border-radius: 6px; padding: 1.1rem 1.15rem; margin-bottom: 0.65rem; font-size: 1.0625rem; line-height: 1.55; }
.where li strong { display: block; font-weight: 500; font-size: 1.1875rem; margin-bottom: 0.25rem; }
.routes { margin-top: 1.5rem; }
.route { padding: 1.25rem 0; border-top: 1px solid var(--rule); }

.route h3 { margin-bottom: 0.4rem; }
.route p { margin: 0; max-width: 36rem; }

.quiet-box { background: var(--paper-2); border-radius: 8px; padding: 1.6rem 1.35rem 1.1rem; margin: 0.5rem 0 0; }
.quiet-box h3 { font-size: 1.3125rem; margin-bottom: 1rem; }
.quiet-box .list { font-size: 1.0625rem; line-height: 1.5; }

.next-links { padding: 1.75rem 0 0; font-family: var(--sans); font-size: 0.9375rem; }
.next-links a { color: var(--paper); }

/* ---------- About ---------- */
.about-figure { margin: 0 calc(var(--pad) * -1); }
.about-figure img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.record { list-style: none; margin: 0; padding: 0; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; }
.record li { padding: 0.9rem 0; border-top: 1px solid var(--rule); }
.record li:last-child { border-bottom: 1px solid var(--rule); }

.about-grid { display: flex; flex-direction: column; }
.about-side { order: 2; padding: 0.5rem 0 3rem; }
.prose { order: 1; }
.about-sec { padding: 2.75rem 0; border-top: 1px solid var(--rule); }
.about-sec:first-child { padding-top: 0.5rem; border-top: 0; }
.about-sec p { max-width: 38rem; }
.record-h { font-family: var(--sans); font-size: 0.8125rem; font-weight: 600; color: var(--river); letter-spacing: 0.02em; margin-bottom: 0.75rem; }
.outside { padding: 0 0 3.5rem; }
.outside-words { padding-top: 2rem; }
.outside-words p { max-width: 38rem; }

/* ---------- Contact ---------- */
.ways { display: grid; gap: 0; margin-top: 0.5rem; }
.way { padding: 1.6rem 0; border-top: 1px solid var(--rule); scroll-margin-top: 1rem; }
.way:last-child { border-bottom: 1px solid var(--rule); }
.way .label { color: var(--ink-3); font-weight: 600; }
.way-call .big { font-family: var(--serif); font-size: 2.25rem; line-height: 1.15; text-decoration: none; display: inline-block; letter-spacing: -0.01em; }
.way-call .big .slot { font-size: 0.55em; padding: 0.2em 0.5em 0.25em; vertical-align: middle; }
.way-call p { margin: 0.65rem 0 0; }
.way p { margin: 0.3rem 0 0; }
.way-email a { font-size: 1.25rem; }

.help-spacer { display: none !important; }
#write { scroll-margin-top: 0.5rem; }
.safety .quick-exit { margin-top: 0.5rem; }
.write-note { background: var(--paper-2); border-left: 2px solid var(--river); padding: 1.15rem 1.15rem 0.2rem; margin: 1.5rem 0 2rem; border-radius: 0 6px 6px 0; }

form.write { font-family: var(--sans); }
.field { margin-bottom: 1.5rem; border: 0; padding: 0; }
.field label, .field legend { display: block; font-size: 1rem; font-weight: 600; color: var(--ink); margin-bottom: 0.4rem; line-height: 1.35; padding: 0; }
.field .help { display: block; font-size: 0.9rem; color: var(--ink-2); margin: -0.1rem 0 0.55rem; line-height: 1.45; font-weight: 400; }
.field .opt { font-weight: 400; color: var(--ink-3); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"], .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #FBF8F3; border: 1px solid #BDB2A0; border-radius: 6px;
  padding: 0.8rem 0.9rem; min-height: 3.1rem; -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 6.5rem; resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--river); outline-offset: 1px; border-color: var(--river); }
.choices { display: grid; gap: 0.5rem; }
.choices.two { grid-template-columns: 1fr 1fr; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice span { display: flex; align-items: center; gap: 0.7rem; min-height: 3.1rem; padding: 0.6rem 0.9rem; border: 1px solid #BDB2A0; border-radius: 6px; background: #FBF8F3; font-size: 1.0625rem; cursor: pointer; }
.choice span::before { content: ""; flex: none; width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1.5px solid var(--ink-2); background: #fff; }
.choice input:checked + span { border-color: var(--river); background: #EEF2EE; }
.choice input:checked + span::before { border: 5px solid var(--river); }
.choice input:focus-visible + span { outline: 2px solid var(--river); outline-offset: 2px; }
.req { color: var(--river); font-weight: 400; }
.send { width: 100%; margin-top: 0.5rem; cursor: pointer; font-size: 1.0625rem; }
.form-state { border-radius: 8px; padding: 1.4rem 1.3rem; font-family: var(--serif); font-size: 1.1875rem; line-height: 1.55; margin-top: 1rem; }
.form-state p { margin: 0; }
.form-state.ok { background: #E6EDE8; border: 1px solid #B7CABF; }
.form-state.fail { background: #F3E5D6; border: 1px solid #DDBE9C; }
.form-state[hidden] { display: none; }
.form-state:focus { outline: none; }

.after-list { list-style: none; margin: 1.5rem 0 0; padding: 0; }
.after-list li { display: grid; grid-template-columns: 2.25rem 1fr; padding: 1.15rem 0; border-top: 1px solid var(--rule); }
.after-list li:last-child { border-bottom: 1px solid var(--rule); }
.after-list .n { font-style: italic; color: var(--river); font-size: 1.5rem; line-height: 1.25; }
.after-list p { margin: 0; }

.safety { background: var(--paper-3); }
.safety p { max-width: 38rem; font-size: 1.1875rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 3rem 0 2rem; font-family: var(--sans); font-size: 0.9375rem; line-height: 1.6; color: var(--ink); }
.site-footer .f-name { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; margin: 0; }
.site-footer address { font-style: normal; margin: 0.25rem 0 1.25rem; }
.site-footer p { margin: 0 0 0.35rem; }
.f-links { list-style: none; margin: 1.75rem 0; padding: 1.25rem 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.f-links a { text-decoration: none; }
.f-links a:hover { text-decoration: underline; }
.f-safety { color: var(--ink); }
.f-safety p { margin-bottom: 0.9rem; }
.quick-exit {
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--ink);
  background: transparent; border: 1px solid var(--ink-2); border-radius: 999px;
  padding: 0.55rem 1.05rem; min-height: 2.75rem; cursor: pointer;
}
.quick-exit:hover { background: var(--ink); color: var(--paper); }
a.quick-exit { display: inline-flex; align-items: center; text-decoration: none; }
.opening h1 { font-size: 2.5rem; line-height: 1.08; letter-spacing: -0.02em; }
.split-head:empty { display: none; }

/* ======================================================================
   The desktop face: grown from the column above, never the reverse.
   ====================================================================== */
@media (min-width: 600px) {
  :root { --pad: 2rem; }
  .hero h1 { font-size: 2.75rem; }
  .phone-br { display: none; }
  .hero-figure { margin-left: 0; margin-right: 0; }
  .hero-figure img { border-radius: 4px; }
  .about-figure { margin: 0; }
  .about-figure img { border-radius: 4px; }
}

@media (min-width: 960px) {
  :root { --pad: 3rem; }
  body { font-size: 1.25rem; padding-bottom: 0; }
  .thumb-bar { display: none; }
  .btns-open { display: flex; }

  /* header grows into a navigation row */
  .site-header { position: sticky; top: 0; background: rgba(244, 239, 230, 0.96); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  .site-header .wrap { min-height: 5rem; }
  .menu-btn { display: none; }
  .site-nav { display: block; }
  .site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.6rem; font-family: var(--sans); font-size: 0.9375rem; }
  .site-nav a { text-decoration: none; padding: 0.35rem 0; border-bottom: 1px solid transparent; }
  .site-nav a:hover { border-bottom-color: var(--rule); color: var(--ink); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--ink); }
  .header-actions { display: flex; align-items: center; gap: 1.1rem; font-family: var(--sans); font-size: 0.9375rem; }
  .header-actions .tel { font-weight: 600; text-decoration: none; }
  .header-actions .btn { min-height: 2.6rem; padding: 0 1.15rem; font-size: 0.9375rem; }

  h1 { font-size: 4rem; line-height: 1.04; letter-spacing: -0.022em; }
  h2 { font-size: 2.375rem; }
  .lead { font-size: 1.5rem; line-height: 1.5; }
  .section { padding: 5.5rem 0; }

  /* home hero: words and the desk, side by side */
  .hero { padding: 4.5rem 0 5.5rem; }
  .hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 5rem; align-items: center; }
  .hero h1 { font-size: clamp(3.5rem, 1.5rem + 3.2vw, 5rem); }
  .hero .lead { max-width: 33rem; font-size: 1.4375rem; }
  .hero-figure { margin: 0; }
  .hero-figure img { aspect-ratio: 4 / 5; object-position: 50% 50%; max-height: 78vh; }

  .split { display: grid; grid-template-columns: 22rem 1fr; gap: 5rem; align-items: start; }
  .split > .split-head h2 { position: sticky; top: 7rem; }
  .three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; margin-top: 3rem; }
  .three li { padding: 1.75rem 0 0; }
  .work { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; margin-top: 2.5rem; }
  .work li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
  .work a { padding: 2rem 0; }
  .work h3 { font-size: 1.875rem; }
  .facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
  .facts li, .facts li:last-child { border-bottom: 0; padding: 1rem 0 0; }
  .word { padding: 6rem 0; }
  .word blockquote { max-width: 52rem; margin: 0 auto; }
  .word blockquote p { font-size: 2.125rem; line-height: 1.38; }
  .honest p { font-size: 1.25rem; }
  .closing { padding: 6rem 0; }
  .closing .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .closing h2 { font-size: 3.25rem; margin: 0; }
  .closing .btns { margin-top: 1.5rem; }

  /* practice pages: a reading column with the four questions held in a rail */
  .opening { padding: 5rem 0 4rem; }
  .opening .lead { max-width: 46rem; }
  .practice { display: grid; }
  .practice { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 5rem; padding-bottom: 5rem; }
  .practice-body { max-width: 44rem; }
  .practice-body .q { padding: 4.5rem 0; scroll-margin-top: 6.5rem; }
  .practice-body .q:first-child { padding-top: 0; }
  .rail { position: relative; display: block; }
  .rail nav { position: sticky; top: 7.5rem; font-family: var(--sans); font-size: 0.9375rem; }
  .rail span { display: block; color: var(--ink-3); font-size: 0.8125rem; margin-bottom: 0.75rem; }
  .rail ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
  .rail a { display: block; text-decoration: none; padding: 0.55rem 0 0.55rem 1.1rem; margin-left: -1px; border-left: 2px solid transparent; color: var(--ink-2); }
  .rail a:hover { color: var(--ink); }
  .rail a.is-here { color: var(--ink); border-left-color: var(--river); font-weight: 600; }
  .rail .rail-call { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
  .rail .rail-call a { padding: 0; border: 0; margin: 0; color: var(--ink); font-weight: 600; }
  .on-page { display: none; }
  .where { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
  .where li { margin: 0; padding: 1.35rem 1.5rem; }
  .quiet-box { padding: 2.25rem 2.25rem 1.5rem; }

  /* about */
  .about-grid { display: grid; grid-template-columns: 17rem minmax(0, 1fr); gap: 5rem; padding-bottom: 5rem; }
  .about-side { order: 0; padding: 0; }
  .about-record { position: sticky; top: 7.5rem; }
  .about-grid .prose { max-width: 44rem; }
  .about-sec { padding: 4rem 0; }
  .about-sec:first-child { padding-top: 0; }
  .outside { padding: 0 0 6rem; }
  .outside .wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; align-items: end; }
  .outside-words { padding: 0 0 1rem; }

  /* contact */
  .ways { grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; }
  .way, .way:last-child { border-bottom: 0; padding-top: 1.75rem; }
  .way-call .big { font-size: 3.25rem; }
  .write-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 5rem; align-items: start; }
  .write-grid .write-side { position: sticky; top: 7rem; }
  .write-note { margin-bottom: 0; }
  .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .help-spacer { display: block !important; }
  #write { scroll-margin-top: 5.5rem; }
  .send { width: auto; padding: 0 2.5rem; }
  .after-list { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .after-list li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }

  .site-footer { padding: 4rem 0 3rem; }
  .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; gap: 3rem; align-items: start; }
  .f-links { flex-direction: column; margin: 0; padding: 0; border: 0; gap: 0.45rem; }
}

@media (min-width: 960px) {
  .opening h1 { font-size: clamp(3.5rem, 1.25rem + 3.6vw, 5rem); }
  .split-head:empty { display: block; }
}
@media (min-width: 960px) and (max-width: 1399px) {
  .mark-line { display: none; }
  .site-nav ul { gap: 1.35rem; }
}
@media (min-width: 960px) and (max-width: 1179px) {
  .mark-line { display: none; }
  .site-nav ul { gap: 1.1rem; font-size: 0.875rem; }
  .header-actions .tel { display: none; }
}

@media (min-width: 1400px) {
  .wrap { max-width: 82rem; }
  .practice { grid-template-columns: 17rem minmax(0, 1fr); gap: 7rem; }
}
