@font-face { font-family: 'Signika'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/signika-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Signika'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/signika-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Signika'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/signika-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Signika'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/signika-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Signika'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/signika-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Cascadia Code'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cascadia-code-latin-700-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #fdf8ea;
  --fg-light-base-body: #2a2310;
  --fg-light-base-heading: #2a2310;
  --fg-light-base-muted: #5c5030;
  --fg-light-base-link: #765a00;
  --fg-light-base-inverse: #2a2310;
  --bg-light-card: #ffffff;
  --fg-light-card-body: #2a2310;
  --fg-light-card-heading: #2a2310;
  --fg-light-card-muted: #5c5030;
  --fg-light-card-link: #765a00;
  --fg-light-card-inverse: #2a2310;
  --bg-light-elevated: #f5e6b8;
  --fg-light-elevated-body: #2a2310;
  --fg-light-elevated-heading: #2a2310;
  --fg-light-elevated-muted: #5c5030;
  --fg-light-elevated-link: #765a00;
  --fg-light-elevated-inverse: #2a2310;
  --brand-light-accent: #765a00;
  --brand-light-accent-hover: #5a4400;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #765a00;
  --border-light-default: #857547;
  --border-light-subtle: #e3d6ad;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Arlington Heights Podiatry Reviews: neighborhood guide */

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

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

body.guide {
  margin: 0;
  font-family: 'Signika', 'Trebuchet MS', 'Segoe UI', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4 {
  font-family: 'Signika', 'Trebuchet MS', sans-serif;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.01em; }

h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); margin: 2.5rem 0 0.7rem; }

h3 { font-size: 1.3rem; margin: 1.75rem 0 0.5rem; }

p { margin: 0 0 1.1rem; }

ul, ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }

li { margin-bottom: 0.35rem; }

strong { font-weight: 600; }

a { color: var(--fg-link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }

a:hover { color: var(--brand-light-accent-hover); text-decoration-thickness: 2px; }

a:focus-visible, summary:focus-visible, button:focus-visible {
  outline: 3px solid var(--brand-light-accent);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.6rem 1rem;
  background: var(--bg-light-card);
}

.skip-link:focus { top: 0.75rem; }

/* the detail face: numbers, places, breadcrumbs, data */
.breadcrumbs, table, .seal, .seal-core, .big-seal-name, .rail-note, .filed-caption {
  font-family: 'Cascadia Code', ui-monospace, Menlo, Consolas, monospace;
}

/* ---------- Frame: side rail beside the page ---------- */

.frame {
  flex: 1 0 auto;
  display: grid;
  grid-template-columns: 16.5rem minmax(0, 1fr);
}

.site-header {
  border-right: 1px solid var(--border-light-subtle);
  padding: 1.5rem 1.25rem 2rem;
}

.brand { display: inline-flex; text-decoration: none; }

.brand .site-logo { display: block; width: 13.5rem; height: auto; }

.rail-nav { margin-top: 2rem; }

.rail-nav .site-nav > ul { list-style: none; margin: 0; padding: 0 0 0 0.6rem; border-left: 2px dotted var(--border-light-default); }

.rail-nav .site-nav li { margin: 0; position: relative; }

.rail-nav .site-nav > ul > li > a,
.rail-nav .site-nav-group > summary {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.35rem 0 0.35rem 0.4rem;
  font-weight: 500;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--fg-heading);
  cursor: pointer;
}

/* pin-marker bullets */
.rail-nav .site-nav > ul > li > a::before,
.rail-nav .site-nav-group > summary::before {
  content: "";
  flex: none;
  width: 0.8rem;
  height: 0.8rem;
  margin-left: -1.15rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--bg-light-elevated);
  border: 2px solid var(--brand-light-accent);
}

.rail-nav .site-nav > ul > li > a:hover,
.rail-nav .site-nav-group > summary:hover { color: var(--fg-link); text-decoration: underline; }

.rail-nav .site-nav > ul > li > a:hover::before,
.rail-nav .site-nav > ul > li > a[aria-current="page"]::before { background: var(--brand-light-accent); }

.rail-nav .site-nav > ul > li > a[aria-current="page"] { color: var(--fg-link); }

.rail-nav .site-nav-group > summary { list-style: none; }

.rail-nav .site-nav-group > summary::-webkit-details-marker { display: none; }

.rail-nav .site-nav-group > ul { list-style: none; margin: 0 0 0.5rem; padding: 0 0 0 0.5rem; }

.rail-nav .site-nav-group > ul a { display: block; padding: 0.4rem 0; font-size: 0.98rem; }

.rail-note { margin: 2rem 0 0; font-size: 0.8rem; line-height: 1.55; }

.rail-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.menu-toggle { display: none; }

.site-menu { position: relative; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.3rem 0.9rem;
  border: 2px solid var(--brand-light-accent);
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--fg-heading);
  cursor: pointer;
  list-style: none;
}

.site-menu > summary::-webkit-details-marker { display: none; }

.site-menu .menu-icon {
  position: relative;
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-light-accent);
}

.site-menu[open] .menu-icon { border-radius: 50%; }

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  z-index: 50;
  width: min(20rem, calc(100vw - 2rem));
  max-height: 75vh;
  overflow-y: auto;
  margin: 0;
  padding: 0.5rem 1rem;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-default);
  border-radius: 6px;
}

.site-menu ul ul { list-style: none; margin: 0 0 0.4rem; padding-left: 0.9rem; border-left: 2px dotted var(--border-light-default); }

.site-menu li { margin: 0; }

.site-menu li + li { border-top: 1px solid var(--border-light-subtle); }

.site-menu a { display: block; padding: 0.6rem 0.1rem; text-decoration: none; }

.site-menu a:hover { text-decoration: underline; }

@media (max-width: 63.99rem) {
  .frame { grid-template-columns: minmax(0, 1fr); }
  .site-header { border-right: 0; border-bottom: 1px solid var(--border-light-subtle); padding: 0.75rem 1rem; }
  .brand .site-logo { width: 11rem; }
  .rail-nav, .rail-note { display: none; }
  .menu-toggle { display: flex; }
}

/* ---------- Page frame ---------- */

.page { width: 100%; max-width: 64rem; padding: 1.75rem clamp(1rem, 4vw, 3.5rem) 4.5rem; }

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.6rem;
  font-size: 0.82rem;
}

.breadcrumbs li { margin: 0; }

.breadcrumbs li + li::before { content: "\203A"; margin-right: 0.6rem; color: var(--fg-muted); }

.photo-hero, .photo-inline { margin: 0 0 2rem; }

.photo-hero img, .photo-inline img { display: block; width: 100%; height: auto; border-radius: 6px; }

.front-title, .ranked-title, .verdict-title, .facing-title, .foreword-title, .desk-title, .after-title {
  max-width: 48rem;
  margin-bottom: 1.75rem;
}

/* ---------- Tables ---------- */

.table-scroll { overflow-x: auto; margin: 0 0 1.75rem; }

table { border-collapse: collapse; width: 100%; font-size: 0.88rem; font-variant-numeric: tabular-nums; }

.table-scroll table { min-width: 34rem; }

th, td { text-align: left; vertical-align: top; padding: 0.6rem 0.7rem; border-bottom: 1px solid var(--border-light-subtle); }

thead th { font-weight: 600; border-bottom: 2px solid var(--brand-light-accent); }

/* ---------- Seals ---------- */

.seal {
  flex: none;
  display: inline-grid;
  place-items: center;
  align-content: center;
  width: 5.25rem;
  height: 5.25rem;
  border-radius: 50%;
  border: 3px double var(--brand-light-accent);
  box-shadow: inset 0 0 0 4px var(--bg-light-card), inset 0 0 0 5px var(--brand-light-accent);
  transform: rotate(-8deg);
  text-decoration: none;
}

.seal-ring { font-size: 0.66rem; line-height: 1; }

.seal-core { font-size: 1.2rem; font-weight: 700; line-height: 1.15; }

/* ---------- Home: cover, then directory tiles ---------- */

.front-cover { max-width: 46rem; margin-bottom: 2.25rem; }

.front-title { margin-bottom: 1.1rem; }

.front-lines .display-line { margin: 0 0 0.6rem; font-size: 1.15rem; line-height: 1.5; color: var(--fg-muted); }

.tiles {
  list-style: none;
  margin: 0 0 3rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr));
  gap: 1.1rem;
}

.tile {
  position: relative;
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  gap: 0.3rem 1.1rem;
  align-items: start;
  padding: 1.25rem;
  border: 1px solid var(--border-light-default);
  border-radius: 6px;
}

.tile .seal { grid-row: 1 / span 2; }

.tile-name {
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.2;
  text-decoration: none;
}

/* the whole tile is the link target */
.tile-name::after { content: ""; position: absolute; inset: 0; border-radius: 6px; }

.tile:hover { border-color: var(--brand-light-accent); }

.tile:hover .tile-name { text-decoration: underline; }

.tile-pin { position: relative; margin: 0; padding-left: 1.2rem; font-size: 0.95rem; }

.tile-pin::before {
  content: "";
  position: absolute;
  left: 0.1rem;
  top: 0.38rem;
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-light-accent);
}

.front-body { max-width: 44rem; }

.front-body > .photo-hero img { aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Ranked list: one column, large seal numerals ---------- */

.ranked { max-width: 46rem; }

.ranked-body > .photo-hero img { aspect-ratio: 21 / 9; object-fit: cover; }

.ranked-body > ol { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }

/* li stays a list item so counter(list-item) honours the list's start number */
.ranked-body > ol > li {
  position: relative;
  display: list-item;
  min-height: 3.75rem;
  margin: 0 0 0.75rem;
  padding: 0.95rem 0 0 5.25rem;
  font-size: 1.2rem;
  font-weight: 500;
}

.ranked-body > ol > li::before {
  content: counter(list-item);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  border: 3px double var(--brand-light-accent);
  font-family: 'Cascadia Code', ui-monospace, monospace;
  font-weight: 700;
  font-size: 1.45rem;
  color: var(--fg-link);
  background: var(--bg-light-elevated);
  transform: rotate(-6deg);
}

.ranked-filed { margin-top: 3rem; padding-top: 1.5rem; border-top: 2px dotted var(--border-light-default); }

.filed-caption { margin: 0 0 0.75rem; font-size: 0.9rem; color: var(--fg-muted); }

.ranked-filed ul { list-style: none; margin: 0; padding: 0; }

.ranked-filed li { position: relative; margin: 0; padding-left: 1.5rem; }

.ranked-filed li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.95rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-light-accent);
}

.ranked-filed a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; }

/* ---------- Provider review: stepped stages on a pinned path ---------- */

.verdict { max-width: 48rem; }

.verdict-steps { position: relative; padding-left: 2.5rem; }

.verdict-steps::before {
  content: "";
  position: absolute;
  left: 0.55rem;
  top: 0.5rem;
  bottom: 0.5rem;
  border-left: 2px dotted var(--border-light-default);
}

.verdict-steps > p:first-child, .verdict-steps > .photo-hero + p { font-size: 1.22rem; line-height: 1.55; }

.verdict-steps > h2 { position: relative; }

.verdict-steps > h2::before {
  content: "";
  position: absolute;
  left: -2.45rem;
  top: 0.1em;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-light-accent);
  box-shadow: 0 0 0 4px var(--bg-light-base);
}

/* each stage steps in a little further */
.verdict-steps > h2:nth-of-type(2), .verdict-steps > h2:nth-of-type(2) ~ * { margin-left: 1rem; }
.verdict-steps > h2:nth-of-type(3), .verdict-steps > h2:nth-of-type(3) ~ * { margin-left: 2rem; }
.verdict-steps > h2:nth-of-type(n+4), .verdict-steps > h2:nth-of-type(n+4) ~ * { margin-left: 3rem; }

.verdict-steps > h2:nth-of-type(2)::before { left: -3.45rem; }
.verdict-steps > h2:nth-of-type(3)::before { left: -4.45rem; }
.verdict-steps > h2:nth-of-type(n+4)::before { left: -5.45rem; }

.verdict-steps ul { padding-left: 1.2rem; }

@media (max-width: 47.99rem) {
  .verdict-steps > h2:nth-of-type(n+2), .verdict-steps > h2:nth-of-type(n+2) ~ * { margin-left: 0; }
  .verdict-steps > h2:nth-of-type(n+2)::before { left: -2.45rem; }
}

/* ---------- Comparison: facing entries, row by row ---------- */

.facing-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0 1.5rem;
  align-items: stretch;
}

.facing-body > * { grid-column: 1 / -1; max-width: 46rem; }

.facing-body > .table-scroll { max-width: none; }

.facing-body > .photo-hero img, .facing-body > .photo-inline img { aspect-ratio: 21 / 9; object-fit: cover; }

/* paragraphs between the section heading and the next heading face each other */
.facing-body > h2 ~ p {
  grid-column: auto;
  position: relative;
  margin: 0 0 1.5rem;
  padding: 1.1rem 1.2rem 1.1rem 3.25rem;
  background: var(--bg-light-card);
  border: 1px solid var(--border-light-subtle);
  border-radius: 6px;
}

.facing-body > h2 ~ p::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  top: 1.1rem;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  border: 3px double var(--brand-light-accent);
  transform: rotate(-8deg);
}

/* a section with a single paragraph has nothing to face, so it reads as plain prose */
.facing-body > h2 + p:has(+ h2),
.facing-body > h2 + p:last-child {
  grid-column: 1 / -1;
  padding: 0;
  background: none;
  border: 0;
}

.facing-body > h2 + p:has(+ h2)::before,
.facing-body > h2 + p:last-child::before { content: none; }

.facing-body > p:first-child, .facing-body > .photo-hero + p { font-size: 1.2rem; line-height: 1.55; }

.facing-body > h2 ~ p > strong:first-child { display: block; margin-bottom: 0.35rem; font-size: 1.1rem; }

@media (max-width: 47.99rem) {
  .facing-body { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- About: guidebook foreword ---------- */

.foreword { max-width: 40rem; }

.foreword-title { padding-bottom: 1.25rem; border-bottom: 2px dotted var(--border-light-default); }

.foreword-body > p:first-child, .foreword-body > .photo-hero + p { font-size: 1.28rem; line-height: 1.55; }

.foreword-body > .photo-hero img { aspect-ratio: 3 / 2; object-fit: cover; }

.foreword-body > h2 { font-size: 1.4rem; }

/* ---------- Contact: locality map beside the form ---------- */

.desk-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 2.5rem;
  align-items: start;
}

.locality {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border-light-default);
  border-radius: 6px;
  background-image:
    linear-gradient(28deg, transparent 47%, var(--bg-light-card) 47%, var(--bg-light-card) 53%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 2.4rem, var(--border-light-subtle) 2.4rem 2.55rem),
    repeating-linear-gradient(90deg, transparent 0 2.4rem, var(--border-light-subtle) 2.4rem 2.55rem);
}

.locality-pin {
  position: absolute;
  left: 50%;
  top: 44%;
  width: 2.4rem;
  height: 2.4rem;
  margin: -1.2rem 0 0 -1.2rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-light-accent);
  box-shadow: 0 0 0 6px var(--bg-light-card);
}

.locality-pin::after {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border-radius: 50%;
  background: var(--bg-light-card);
}

.desk-intro > p:first-child { font-size: 1.15rem; }

.desk-form {
  display: grid;
  gap: 0.4rem;
  margin-top: 1.5rem;
  padding: 1.5rem;
  border: 1px solid var(--border-light-default);
  border-radius: 6px;
}

.desk-form label { font-weight: 600; margin-top: 0.55rem; }

.desk-form label:first-child { margin-top: 0; }

.desk-form input, .desk-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  font: inherit;
  color: inherit;
  background: var(--bg-light-base);
  border: 1px solid var(--border-light-default);
  border-radius: 4px;
}

.desk-form textarea { resize: vertical; }

.desk-form input:focus-visible, .desk-form textarea:focus-visible { outline: 3px solid var(--brand-light-accent); outline-offset: 1px; }

.desk-submit {
  justify-self: start;
  min-height: 48px;
  margin-top: 0.9rem;
  padding: 0 1.75rem;
  font: inherit;
  font-weight: 600;
  color: var(--brand-light-on-accent);
  background: var(--brand-light-accent);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
}

.desk-submit:hover { background: var(--brand-light-accent-hover); }

@media (max-width: 47.99rem) {
  .desk-columns { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .locality { aspect-ratio: 3 / 1; }
}

/* ---------- Thank you: seal beside the next reads ---------- */

.after {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
  gap: 2.5rem;
  align-items: start;
}

.after-seal {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: 6px;
}

.big-seal {
  position: relative;
  display: grid;
  place-items: center;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px double var(--brand-light-accent);
  box-shadow: inset 0 0 0 8px var(--bg-light-elevated), inset 0 0 0 10px var(--brand-light-accent);
  transform: rotate(-10deg);
  text-align: center;
}

.seal, .big-seal, .big-seal-name { text-decoration: none; }

.big-seal-name { max-width: 70%; margin-top: 3rem; font-size: 0.85rem; font-weight: 700; line-height: 1.35; }

.big-seal-pin {
  position: absolute;
  top: 24%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin-left: -1rem;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--brand-light-accent);
}

.after-body > p:first-child { font-size: 1.15rem; }

@media (max-width: 47.99rem) {
  .after { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .after-seal { aspect-ratio: 3 / 1; }
  .big-seal { width: auto; height: 86%; }
  .big-seal-name { display: none; }
  .big-seal-pin { top: 30%; }
}

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

.site-footer { border-top: 1px solid var(--border-light-subtle); }

.footer-row {
  max-width: 80rem;
  padding: 1.75rem clamp(1rem, 4vw, 3.5rem) 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.3rem 2rem;
  align-items: start;
}

.footer-name { margin: 0; font-weight: 700; font-size: 1.2rem; }

.footer-line { margin: 0; grid-column: 1; font-size: 0.95rem; }

.footer-links { grid-column: 2; grid-row: 1 / span 2; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1.5rem; }

.footer-links li { margin: 0; }

.footer-links a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 47.99rem) {
  .footer-row { grid-template-columns: minmax(0, 1fr); }
  .footer-links { grid-column: 1; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
