/* Commonwealth Zoning Board — preview redesign. Palette from the current site. */
:root {
  --wine: #660420;
  --wine-deep: #510118;
  --wine-dark: #2c010c;
  --wine-mid: #8a1635;
  --gold: #c9a227;
  --gold-soft: #e8d48a;
  --gold-bright: #fae604;
  --cream: #f4eee3;
  --paper: #fffdf8;
  --sand: #e7dcc8;
  --ink: #1a1210;
  --muted: #5c514a;
  --line: rgba(81, 1, 24, 0.16);
  --ok: #1f6b3a;
  --danger: #9b1c1c;
  --shadow: 0 18px 40px rgba(44, 1, 12, 0.14);
  --radius: 14px;
  --header-h: 78px;
  --max: 1160px;
  --font-serif: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --font-sans: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--wine-mid); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.skip {
  position: absolute;
  left: 12px;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  background: var(--wine);
  color: #fff;
  z-index: 200;
  border-radius: 0 0 8px 8px;
}
.skip:focus,
.skip:focus-visible {
  width: auto;
  height: auto;
  padding: 8px 12px;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: nowrap;
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Preview ribbon */
.preview-banner {
  background: var(--wine-dark);
  color: var(--gold-soft);
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
  padding: 8px 16px;
  font-weight: 600;
}
.preview-banner strong { color: #fff; font-weight: 700; }
.preview-banner a { color: var(--gold-soft); }

/* Header */
.site-header {
  background: var(--wine-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 0 var(--gold);
}
.header-inner {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 0 24px;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  flex: 0 0 auto;
  min-width: 0;
}
.brand:hover { color: #fff; }
.brand-seal {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .01em;
  white-space: nowrap;
}
.brand-text span {
  font-size: .72rem;
  color: var(--gold-soft);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-form {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 0;
  border-radius: 999px;
  overflow: hidden;
}
.search-form input,
.search-form input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  padding: 7px 12px;
  width: 148px;
  font: inherit;
  font-size: 14px;
  outline: none;
}
.search-form input::placeholder { color: #6a5f58; }
.search-form button {
  background: var(--wine);
  border: 0;
  border-radius: 0;
  color: #fff;
  padding: 7px 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 650;
  border-radius: 999px;
  padding: 10px 18px;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-gold { background: var(--gold); color: var(--wine-dark); }
.btn-gold:hover { background: var(--gold-soft); color: var(--wine-dark); }
.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-mid); color: #fff; }
.btn-ghost {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); color: inherit; }
.btn-paper {
  background: var(--paper);
  color: var(--wine);
  border: 1px solid var(--line);
}
.btn-sm { padding: 8px 14px; font-size: 14px; }
.header-tools .btn { white-space: nowrap; }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.nav-wrap { flex: 1 1 auto; }
.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}
.nav > li { position: relative; }
.nav > li > a,
.nav > li > button.nav-parent {
  display: block;
  color: #f4eee3;
  text-decoration: none;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 14.5px;
  font-weight: 600;
  padding: 10px 11px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.nav > li > a:hover,
.nav > li > button.nav-parent:hover,
.nav > li:focus-within > a,
.nav > li:focus-within > button.nav-parent,
.nav > li.active > a,
.nav > li.active > button.nav-parent {
  background: rgba(255,255,255,.1);
  color: #fff;
}
.nav .dropdown {
  display: none;
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  min-width: 280px;
  background: #fff;
  color: var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  z-index: 60;
  border: 1px solid var(--line);
}
.nav > li:hover > .dropdown,
.nav > li:focus-within > .dropdown,
.nav > li.open > .dropdown { display: block; }
.nav .dropdown a {
  display: block;
  padding: 8px 12px;
  color: var(--ink);
  text-decoration: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
}
.nav .dropdown a:hover { background: var(--cream); color: var(--wine); }
.nav .dropdown .drop-label {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 12px 2px;
  font-weight: 700;
}

/* Hero */
.hero {
  background: var(--wine-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 56px 24px 56px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: end;
  position: relative;
  z-index: 1;
}
.kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 700;
  margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  line-height: 1.05;
  margin: 0 0 16px;
  letter-spacing: -.02em;
}
.hero .lede {
  font-size: 1.15rem;
  color: #f4eee3;
  max-width: 38em;
  margin: 0 0 24px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo-wrap {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: stretch;
  margin: 0;
  max-width: 340px;
  width: 100%;
  justify-self: end;
  background: var(--cream);
  padding: 22px 22px 16px;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .32);
  border-top: 3px solid var(--gold);
}
.hero-logo {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: 0;
  padding: 8px;
}
.hero-logo-caption {
  margin: 12px 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--gold);
  text-align: center;
  color: var(--wine);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
}
.hero-photo-band {
  position: relative;
  margin-top: -28px;
}
.hero-photo-band::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gold);
  z-index: 2;
}
.hero-photo {
  width: 100%;
  display: block;
  height: auto;
  aspect-ratio: 901 / 188;
  object-fit: cover;
  object-position: center;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
}
.chip.open { background: rgba(31, 107, 58, .35); border-color: rgba(200, 255, 210, .3); }
.chip.closed { background: rgba(155, 28, 28, .35); }

/* Layout */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-wine { background: var(--wine); color: #fff; }
.section-wine a { color: var(--gold-soft); }
.section-paper { background: var(--paper); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--wine-dark); color: #fff; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
  margin: 0 0 8px;
}
.section-wine .eyebrow, .section-dark .eyebrow { color: var(--gold-soft); }
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 550;
  line-height: 1.15;
  letter-spacing: -.015em;
  margin: 0 0 12px;
}
h1 { font-size: clamp(2rem, 4vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.35rem; }
.subhead { color: var(--muted); margin: 0 0 28px; max-width: 44em; font-size: 1.05rem; }
.page-hero {
  background:
    linear-gradient(180deg, var(--wine-dark) 0%, var(--wine) 100%);
  color: #fff;
  padding: 48px 0 40px;
  position: relative;
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero .subhead { color: #f0e6d6; }
.page-hero .crumb {
  font-size: 13px;
  color: var(--gold-soft);
  margin: 0 0 14px;
  font-weight: 600;
}
.page-hero .crumb a { color: var(--gold-soft); }
.page-hero .crumb span { opacity: .7; margin: 0 6px; }

/* Cards / grids */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.card h3 { margin: 0; }
.card p { margin: 0; color: var(--muted); }
.card a.stretched { color: inherit; text-decoration: none; }
.card a.stretched:hover { color: var(--wine); }
.card-link {
  margin-top: auto;
  font-weight: 700;
  color: var(--wine);
  text-decoration: none;
  font-size: 15px;
}
.card:hover { border-color: var(--wine-mid); box-shadow: var(--shadow); }
.tile-photo {
  border-radius: 10px;
  overflow: hidden;
  margin: -6px -6px 8px;
  background: #ddd;
  aspect-ratio: 4 / 3;
}
.tile-photo img { width: 100%; height: 100%; object-fit: cover; }
.notice-card time {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--wine);
  font-weight: 700;
}

/* Mission / prose */
.prose { max-width: 46em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose h2, .prose h3 { margin-top: 1.4em; }
.split {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 40px;
  align-items: start;
}
.logo-panel {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  text-align: center;
  border: 1px solid var(--line);
}
.logo-panel img { margin: 0 auto; width: min(280px, 100%); }

/* Hours / contact cards */
.contact-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.contact-card h3 { margin-bottom: 6px; }
.contact-card address { font-style: normal; margin: 0 0 12px; }
.hours-row { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hours-row:last-child { border-bottom: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table.data {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}
table.data th, table.data td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data th {
  background: var(--wine-dark);
  color: #fff;
  font-weight: 650;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: #faf6ee; }

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 0;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  float: right;
  color: var(--wine);
  font-weight: 500;
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--muted); }

/* Forms — general + apply engine */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
label.field, .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 650;
  min-width: 0;
}
.hint { font-weight: 500; color: var(--muted); font-size: 13px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="date"],
input[type="number"], input[type="url"], input[type="search"], select, textarea {
  font: inherit;
  font-weight: 500;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #cfc3b3;
  background: #fff;
  color: var(--ink);
  width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
.checks { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 500; }
.checks label { display: flex; align-items: center; gap: 6px; font-weight: 550; }
.label-line { display: block; font-weight: 650; }
.req { color: var(--danger); }
.error-msg { color: var(--danger); font-size: 13px; font-weight: 650; display: none; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--danger); }
.field.invalid .error-msg { display: block; }

.stepper {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.stepper li {
  counter-increment: step;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.stepper li::before {
  content: counter(step);
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  color: var(--ink);
  font-size: 12px;
}
.stepper li.done::before { background: var(--ok); color: #fff; }
.stepper li.current { color: var(--wine); }
.stepper li.current::before { background: var(--wine); color: #fff; }
.form-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.sig-pad-wrap {
  border: 1px solid #cfc3b3;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.sig-pad-wrap canvas { display: block; width: 100%; height: 160px; touch-action: none; cursor: crosshair; }
.sig-tools { display: flex; gap: 8px; margin-top: 8px; }
.callout {
  background: #fff8e6;
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  border-radius: 0 10px 10px 0;
  margin: 0 0 20px;
}
.callout.preview-note {
  background: #f3ece0;
  border-left-color: var(--wine);
}
.checklist-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  font-size: 15px;
}
.checklist-head {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--wine);
}

/* Filters / docs */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.filter-btn {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 6px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  color: var(--ink);
}
.filter-btn[aria-pressed="true"], .filter-btn.active {
  background: var(--wine);
  color: #fff;
  border-color: var(--wine);
}
.doc-list { display: flex; flex-direction: column; gap: 8px; }
.doc-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
}
.doc-row .tag {
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--wine);
  background: var(--cream);
  padding: 3px 8px;
  border-radius: 999px;
}

/* Staff lists */
.people-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.person {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
}
.person strong { display: block; }
.person span { color: var(--muted); font-size: 14px; }

/* Guide */
.guide-options { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.guide-option {
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
.guide-option:hover, .guide-option:focus { border-color: var(--wine); background: #fff; }
.guide-result { margin-top: 24px; }

/* Calendar */
.cal { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.cal th { background: var(--wine-dark); color: #fff; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding: 10px; }
.cal td { border: 1px solid var(--line); height: 88px; vertical-align: top; padding: 8px; width: 14.28%; }
.cal td .d { font-weight: 700; }
.cal td.today { background: #fff6d6; }
.cal td.muted { color: #bbb; background: #fafafa; }
.cal .event {
  display: block;
  margin-top: 4px;
  background: var(--wine);
  color: #fff;
  font-size: 12px;
  padding: 3px 6px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 650;
}
.cal-nav { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; gap: 12px; }
.cal-nav h2 { margin: 0; }

/* Map preview */
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ddd;
}
.map-frame img { width: 100%; height: auto; display: block; }

/* Footer */
.site-footer {
  background: var(--wine-dark);
  color: #f0e6d6;
  padding: 48px 0 24px;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 28px;
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 0 24px 28px;
}
.site-footer a { color: var(--gold-soft); }
.site-footer h3 { font-size: 1rem; color: #fff; margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.footer-brand img {
  width: 72px; height: 72px; background: transparent; border-radius: 0; padding: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  max-width: calc(var(--max) + 80px);
  margin: 0 auto;
  padding: 16px 24px 0;
  font-size: 13px;
  color: rgba(255,255,255,.65);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Mobile bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--wine-dark);
  border-top: 2px solid var(--gold);
  z-index: 40;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  justify-content: space-around;
  gap: 6px;
}
.mobile-bar a {
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  flex: 1;
  padding: 8px 4px;
  border-radius: 8px;
}
.mobile-bar a:hover { background: rgba(255,255,255,.08); color: #fff; }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stat { border-top: 2px solid var(--gold); padding-top: 10px; }
.stat b { display: block; font-family: var(--font-serif); font-size: 1.6rem; font-weight: 550; }
.stat span { font-size: 14px; color: #f0e6d6; }

/* Review / print */
.review-block { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.review-block h3 { font-size: 1.1rem; margin-bottom: 8px; }
.review-row { display: grid; grid-template-columns: 220px 1fr; gap: 10px; padding: 4px 0; border-bottom: 1px dotted var(--line); font-size: 15px; }
.review-row dt { color: var(--muted); font-weight: 650; }
.review-row dd { margin: 0; }
.sig-preview { max-width: 320px; border: 1px solid var(--line); background: #fff; }

@media (max-width: 980px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3, .people-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid, .split, .footer-grid { grid-template-columns: 1fr; }
  .hero-logo-wrap { justify-self: start; max-width: 280px; margin-top: 8px; }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-areas:
      "brand toggle tools"
      "nav nav nav";
    align-items: center;
    padding: 10px 16px;
    gap: 8px 10px;
  }
  .brand { grid-area: brand; margin: 0; gap: 8px; min-width: 0; }
  .brand-seal { width: 48px; height: 48px; flex-basis: 48px; }
  .nav-toggle { grid-area: toggle; display: inline-flex; margin: 0; }
  .header-tools { grid-area: tools; margin: 0; }
  .header-tools .search-form { display: none; }
  .kicker { text-wrap: balance; }
  .nav-wrap {
    display: none;
    grid-area: nav;
    padding: 8px 0 12px;
  }
  .nav-wrap.open { display: block; }
  .nav { flex-direction: column; align-items: stretch; }
  .nav .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 10px;
    min-width: 0;
    background: transparent;
  }
  .nav > li.open > .dropdown { display: block; }
  .nav .dropdown a { color: #fff; }
  .nav .dropdown a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .nav .dropdown .drop-label { color: var(--gold-soft); }
  .brand-text strong { font-size: .95rem; white-space: normal; }
  .review-row { grid-template-columns: 1fr; }
  .checklist-item, .checklist-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2, .people-grid, .form-grid, .guide-options, .stat-row { grid-template-columns: 1fr; }
  .doc-row { grid-template-columns: 1fr; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .hero { padding-top: 0; }
  .hero-grid { padding: 28px 16px 36px; }
  .hero-logo-wrap { display: none; }
  .hero-photo-band { margin-top: -20px; }
  .hero-photo {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    object-position: center 58%;
  }
  .hero-meta { margin-top: 16px; }
  .hero .lede { margin-bottom: 18px; }
  .brand-text strong { font-size: .86rem; white-space: normal; line-height: 1.2; }
  .brand-text span { font-size: .6rem; letter-spacing: .04em; white-space: normal; }
  .nav-toggle { padding: 7px 10px; }
  .header-tools .btn { padding: 7px 11px; font-size: 13px; }
  .kicker { letter-spacing: .1em; font-size: 11px; }
  .section { padding: 44px 0; }
  .wrap { padding: 0 16px; }
  .cal td { height: 64px; font-size: 13px; }
}
@media print {
  .preview-banner, .site-header, .site-footer, .mobile-bar, .form-nav, .nav-toggle, .skip, .no-print { display: none !important; }
  body { background: #fff; color: #000; padding: 0; font-size: 12pt; }
  .wrap { max-width: none; }
  a { color: #000; text-decoration: none; }
  .card, .review-block { box-shadow: none; break-inside: avoid; }
}
