/* LG Property Maintenance
   Type: Besley (Clarendon revival) for display, Public Sans for text.
   Layout: a "record" margin column beside a wide content column, like a recorded deed. */

@font-face {
  font-family: "Besley";
  src: url("fonts/besley.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Besley";
  src: url("fonts/besley-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/public-sans-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --paper: #f7f5f0;
  --paper-deep: #eeeae1;
  --ink: #1c2b39;
  --ink-soft: #33424f;
  --rust: #b5502f;
  --rust-deep: #9a4125; /* rust darkened for text on paper (AA) */
  --brass: #8a7654;
  --slate: #56636d;
  --rule: #cfc8b9;
  --rule-strong: #1c2b39;

  --display: "Besley", "Clarendon", "Rockwell", Georgia, serif;
  --text: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4vw, 3rem);
  --margin-col: 12.5rem;
  --measure: 38rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }

a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--rust-deep); }

:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 1rem;
  z-index: 10;
}
.skip:focus { top: 1rem; color: var(--paper); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.012em;
}
h1 {
  font-size: clamp(2.35rem, 7.2vw, 4.9rem);
  font-weight: 800;
  line-height: 1.0;
  letter-spacing: -0.022em;
}
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.3rem; font-weight: 600; line-height: 1.2; }
h4 { font-size: 1.05rem; font-weight: 600; }

p { margin: 0 0 1em; max-width: var(--measure); }

.lede {
  font-size: clamp(1.1rem, 1.7vw, 1.28rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

em.mark, .mark {
  font-style: normal;
  color: var(--rust);
}

.small { font-size: 0.9rem; }
.muted { color: var(--slate); }

/* Placeholder content the owner must fill in. Deliberately visible. */
.tbd {
  background: #f3e3c9;
  box-shadow: inset 0 -1px 0 var(--brass);
  padding: 0 0.2em;
  font-style: normal;
}

/* ---------- Frame ---------- */

.sheet {
  width: 100%;
  max-width: 78rem;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* A record section: margin note + body, separated from the previous one by a hairline */
.record {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem 3rem;
  padding: clamp(2.75rem, 6vw, 5rem) 0;
  border-top: 1px solid var(--rule);
}
.record:first-child { border-top: 0; }
.record > .note {
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--slate);
}
.record > .note p { margin-bottom: 0.4em; }
.record > .note strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
}
@media (min-width: 60rem) {
  .record { grid-template-columns: var(--margin-col) minmax(0, 1fr); }
  .record > .note { padding-top: 0.55rem; }
}

/* ---------- Masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--rule-strong);
}
.masthead .sheet {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}
.wordmark:hover { color: var(--ink); }
.wordmark .seal {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1.5px solid var(--ink);
  outline: 1px solid var(--ink);
  outline-offset: 2px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  flex: none;
}
.wordmark .name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1.1;
}
.wordmark .name span {
  display: block;
  font-family: var(--text);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--slate);
  margin-top: 0.15rem;
}

.nav-toggle {
  font: 600 0.95rem/1 var(--text);
  color: var(--ink);
  background: none;
  border: 1px solid var(--ink);
  padding: 0.6rem 0.85rem;
  cursor: pointer;
}
.site-nav { display: none; }
.site-nav.open {
  display: block;
  position: absolute;
  left: 0; right: 0;
  top: 4.75rem;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-strong);
  z-index: 5;
  padding: 0.5rem var(--gutter) 1.25rem;
}
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li a {
  display: block;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none;
  font-weight: 500;
}
.site-nav a[aria-current="page"] { color: var(--rust-deep); }
.site-nav .nav-phone { font-weight: 700; }
.masthead { position: relative; }

@media (min-width: 64rem) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.open {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    background: none;
  }
  .site-nav ul { display: flex; align-items: center; gap: 1.6rem; }
  .site-nav li a {
    padding: 0.35rem 0;
    border: 0;
    font-size: 0.95rem;
  }
  .site-nav a[aria-current="page"] {
    color: var(--ink);
    box-shadow: inset 0 -2px 0 var(--rust);
  }
  .site-nav .nav-phone {
    padding-left: 1.6rem;
    border-left: 1px solid var(--rule);
  }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font: 600 1rem/1.2 var(--text);
  color: var(--paper);
  background: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 0.95rem 1.4rem;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #0f1a24; color: var(--paper); }
.btn-plain {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-decoration-thickness: 2px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

/* ---------- Home hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(2.5rem, 5vw, 4rem);
}
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 34rem; margin-top: 1.5rem; }
@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); align-items: end; }
}

.plat { width: 100%; margin: 0; }
.plat figcaption {
  font-size: 0.8rem;
  color: var(--slate);
  border-top: 1px solid var(--rule);
  padding-top: 0.5rem;
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.plat svg text {
  font-family: var(--text);
  fill: var(--brass);
}
.plat svg text.lot { font-family: var(--display); font-style: italic; }

/* The one motion moment: the survey lines draw once on first load. */
@media (prefers-reduced-motion: no-preference) {
  .js .plat .draw {
    stroke-dasharray: var(--len, 1200);
    stroke-dashoffset: var(--len, 1200);
    animation: survey 1.6s cubic-bezier(.55,.05,.3,1) forwards;
    animation-delay: var(--d, 0s);
  }
  .js .plat .ink-in {
    opacity: 0;
    animation: ink 0.5s ease-out forwards;
    animation-delay: var(--d, 1.4s);
  }
}
@keyframes survey { to { stroke-dashoffset: 0; } }
@keyframes ink { to { opacity: 1; } }

/* Terms strip: three plain facts, set like the recital block of a contract */
.terms {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin: 0;
}
.terms div {
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
}
.terms div:first-child { border-top: 0; }
.terms dt { font-size: 0.875rem; color: var(--slate); }
.terms dd {
  margin: 0.2rem 0 0;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.15;
}
@media (min-width: 48rem) {
  .terms { grid-template-columns: repeat(3, 1fr); }
  .terms div { border-top: 0; border-left: 1px solid var(--rule); padding: 1.25rem 1.5rem; }
  .terms div:first-child { border-left: 0; padding-left: 0; }
}

/* ---------- Exhibits (photo slots) ---------- */

.exhibit { margin: 0; }
.exhibit .frame {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, transparent 0 11px, rgba(138,118,84,.14) 11px 12px),
    var(--paper-deep);
  border: 1px solid var(--rule);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
}
.exhibit .frame img { width: 100%; height: 100%; object-fit: cover; }
.exhibit .frame.has-photo { padding: 0; background: none; }
.exhibit .brief {
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--ink-soft);
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 0.7rem 0.85rem;
  max-width: 26rem;
}
.exhibit .brief b { font-weight: 600; color: var(--brass); }
.exhibit figcaption {
  font-size: 0.85rem;
  color: var(--slate);
  margin-top: 0.6rem;
}
.exhibit figcaption b { font-family: var(--display); font-style: italic; font-weight: 600; color: var(--ink); }
.exhibit.tall .frame { aspect-ratio: 4 / 5; }
.exhibit.wide .frame { aspect-ratio: 16 / 9; }

/* ---------- Steps (the only numbered treatment on the site) ---------- */

.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps > li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  gap: 0 1.25rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--rule);
}
.steps > li:last-child { border-bottom: 1px solid var(--rule); }
.steps > li::before {
  content: counter(step);
  font-family: var(--display);
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 0.9;
  color: var(--ink);
}
.steps h3 { margin-bottom: 0.35rem; }
.steps p { margin-bottom: 0.5em; }
.steps .when { font-size: 0.875rem; color: var(--brass); font-weight: 600; margin-bottom: 0.35rem; }
@media (min-width: 48rem) {
  .steps.compact { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .steps.compact > li:nth-last-child(2) { border-bottom: 1px solid var(--rule); }
}

/* ---------- Case ledger ---------- */

.ledger-wrap { overflow-x: auto; }
table.ledger {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 40rem;
}
.ledger caption {
  text-align: left;
  font-size: 0.85rem;
  color: var(--slate);
  caption-side: bottom;
  padding-top: 0.75rem;
}
.ledger th {
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--slate);
  padding: 0 1rem 0.6rem 0;
  border-bottom: 2px solid var(--ink);
  vertical-align: bottom;
}
.ledger td {
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.ledger td:first-child { font-family: var(--display); font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.ledger td:first-child span { display: block; font-family: var(--text); font-weight: 400; font-size: 0.85rem; color: var(--slate); margin-top: 0.2rem; }
.ledger .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-right: 0; }
.ledger td.num { font-family: var(--display); font-size: 1.35rem; font-weight: 700; }

/* ---------- Quotes ---------- */

.quote { margin: 0; padding: 0; }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  line-height: 1.3;
  max-width: 34rem;
}
.quote blockquote p { max-width: none; margin: 0; }
.quote figcaption { margin-top: 1rem; font-size: 0.9rem; color: var(--slate); }
.quote figcaption strong { color: var(--ink); font-weight: 600; }
.quotes { display: grid; gap: 3rem; }
@media (min-width: 56rem) {
  .quotes { grid-template-columns: 1fr 1fr; }
  .quotes .quote + .quote { border-left: 1px solid var(--rule); padding-left: 3rem; }
}

/* ---------- Generic content helpers ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
@media (min-width: 56rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4rem; }
  .split.lean { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
}

.pagehead { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(1.5rem, 3vw, 2.5rem); }
.pagehead h1 { max-width: 16ch; }
.pagehead .lede { margin-top: 1.25rem; max-width: 36rem; }

.facts { margin: 0; }
.facts div { display: grid; grid-template-columns: 1fr; padding: 0.85rem 0; border-top: 1px solid var(--rule); }
.facts div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-weight: 600; }
.facts dd { margin: 0.15rem 0 0; color: var(--ink-soft); }
@media (min-width: 40rem) {
  .facts div { grid-template-columns: 11rem minmax(0, 1fr); gap: 1.5rem; }
  .facts dd { margin: 0; }
}

.prose h2 { margin-top: 2.25rem; font-size: clamp(1.4rem, 2.4vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.2rem; max-width: var(--measure); }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--brass); }

.panel {
  background: var(--paper-deep);
  border-left: 3px solid var(--ink);
  padding: 1.25rem 1.5rem;
  max-width: 42rem;
}
.panel p:last-child { margin-bottom: 0; }

/* ---------- Areas ---------- */

.county { padding: 2rem 0; border-top: 1px solid var(--rule); }
.county:first-of-type { border-top: 2px solid var(--ink); }
.county h3 { font-size: 1.7rem; font-weight: 700; margin-bottom: 0.2rem; }
.county .places { color: var(--slate); font-size: 0.95rem; margin-bottom: 1rem; max-width: 44rem; }
.county .knows { margin: 0; padding-left: 1.1rem; }
.county .knows li { margin-bottom: 0.5em; max-width: 40rem; }
.county .knows li::marker { color: var(--brass); }
@media (min-width: 56rem) {
  .county { display: grid; grid-template-columns: 16rem minmax(0, 1fr); gap: 2.5rem; }
}

/* ---------- FAQ ---------- */

.faq { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.2rem 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.12rem, 1.8vw, 1.3rem);
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--text);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--brass);
  flex: none;
}
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 0 1.4rem; max-width: 42rem; }
.faq h2 { margin-top: 3rem; font-size: 1.1rem; font-family: var(--text); font-weight: 600; color: var(--slate); letter-spacing: 0; }
.faq h2:first-child { margin-top: 0; }

/* ---------- Form ---------- */

.lead-form {
  background: var(--paper-deep);
  border: 1px solid var(--rule);
  border-top: 3px solid var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.lead-form fieldset { border: 0; margin: 0 0 1.25rem; padding: 0; }
.lead-form legend {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0;
  margin-bottom: 0.75rem;
}
.fields { display: grid; gap: 1rem; }
@media (min-width: 36rem) {
  .fields.two { grid-template-columns: 1fr 1fr; }
  .fields .span { grid-column: 1 / -1; }
}
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.3rem;
}
.field .opt { font-weight: 400; color: var(--slate); }
.field input,
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem/1.4 var(--text);
  color: var(--ink);
  background: #fffdf9;
  border: 1px solid #9aa2a8;
  border-radius: 0;
  padding: 0.75rem 0.8rem;
  min-height: 3rem;
}
.field textarea { min-height: 6.5rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(-45deg, transparent 50%, var(--ink) 50%);
  background-position: calc(100% - 1.15rem) 50%, calc(100% - 0.8rem) 50%;
  background-size: 0.35rem 0.35rem;
  background-repeat: no-repeat;
  padding-right: 2.2rem;
}
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--rust);
  outline-offset: 0;
  border-color: var(--rust);
}
.field input[aria-invalid="true"],
.field select[aria-invalid="true"] { border-color: var(--rust); }
.field .err { display: block; color: var(--rust-deep); font-size: 0.85rem; margin-top: 0.3rem; }
.field .err:empty { display: none; }

.consent {
  display: grid;
  grid-template-columns: 1.4rem minmax(0, 1fr);
  gap: 0.75rem;
  align-items: start;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  margin-top: 0.5rem;
}
.consent input { width: 1.2rem; height: 1.2rem; margin: 0.15rem 0 0; accent-color: var(--ink); }
.consent label { display: block; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-foot .small { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { border-left: 3px solid var(--ink); padding: 0.75rem 1rem; background: var(--paper); font-weight: 400; }
.form-status.bad { color: var(--rust-deep); }

/* ---------- Contact block ---------- */

.addr { font-style: normal; line-height: 1.7; }
.addr strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; display: block; margin-bottom: 0.25rem; }
.contact-lines { margin: 1.5rem 0 0; }
.contact-lines div { padding: 0.75rem 0; border-top: 1px solid var(--rule); }
.contact-lines dt { font-size: 0.85rem; color: var(--slate); }
.contact-lines dd { margin: 0.1rem 0 0; font-size: 1.15rem; font-weight: 600; }

/* ---------- Footer ---------- */

.colophon {
  margin-top: clamp(3rem, 6vw, 5rem);
  border-top: 3px double var(--ink);
  padding: 2.5rem 0 2rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.colophon .grid { display: grid; gap: 2rem; }
@media (min-width: 52rem) {
  .colophon .grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 3rem; }
}
.colophon h2 { font-size: 1rem; font-family: var(--text); font-weight: 600; margin-bottom: 0.6rem; letter-spacing: 0; }
.colophon ul { list-style: none; margin: 0; padding: 0; }
.colophon li { margin-bottom: 0.35rem; }
.colophon .fine {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule);
  font-size: 0.8rem;
  color: var(--slate);
}
.colophon .fine p { max-width: 60rem; }

@media print {
  .masthead nav, .nav-toggle, .lead-form, .colophon .grid { display: none; }
}

.ledger tbody th {
  text-align: left;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink);
  padding: 1rem 1rem 1rem 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  white-space: nowrap;
}
.ledger td b { font-weight: 600; }

/* Ledgers stack into labelled rows on small screens */
@media (max-width: 47.99rem) {
  table.ledger { min-width: 0; }
  .ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ledger, .ledger tbody, .ledger tr, .ledger th, .ledger td { display: block; width: 100%; }
  .ledger tr { border-top: 1px solid var(--rule); padding: 0.9rem 0; }
  .ledger tbody tr:first-child { border-top: 2px solid var(--ink); }
  .ledger tbody th, .ledger td { border: 0; padding: 0.15rem 0; white-space: normal; }
  .ledger tbody th { font-size: 1.15rem; margin-bottom: 0.25rem; }
  .ledger td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--text);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--slate);
  }
  .ledger td + td { margin-top: 0.4rem; }
  .ledger.cases td:first-child::before { display: none; }
  .ledger.cases td:first-child { font-size: 1.15rem; }
  .ledger .num, .ledger td.num { text-align: left; font-size: 1.1rem; }
  .ledger caption { display: block; }
}
@media (max-width: 30rem) {
  .wordmark .name span { display: none; }
  .wordmark .seal { width: 2.3rem; height: 2.3rem; font-size: 0.95rem; }
}

/* On narrow screens the margin note follows the section it annotates, so it never reads as a label over the heading. */
@media (max-width: 59.99rem) {
  .record > .note { order: 2; border-top: 1px solid var(--rule); padding-top: 1rem; margin-top: 1.25rem; }
}
@media (max-width: 59.99rem) {
  .record > .note:empty { display: none; }
}
