/* Mulligan Valley Compute design system.
   Extracted from the MVP site (~/VSCode/MVP/index.html, style block) on 2026-11-04.
   Tokens and component class names are unchanged. New catalog components are at the end. */

:root {
  --navy: #0E1E3A;
  --cream: #F5F0E6;
  --tan: #B8805A;
  --tan-ink: #8A5A36; /* tan for small text on cream, 5.1:1 contrast */
  --text: #1A1A1A;
  --border: #D4CBB8;
  --muted: rgba(26, 26, 26, 0.62);
  --cream-muted: rgba(245, 240, 230, 0.82);

  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container: 1120px;
  --container-narrow: 820px;
  --container-prose: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  overflow-x: hidden;
}

a { color: inherit; }
img { max-width: 100%; display: block; }

::selection { background: var(--navy); color: var(--cream); }

/* ========== HEADER (navy, cream logo) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 240ms ease, padding 240ms ease, box-shadow 240ms ease;
}
.site-header.is-scrolled {
  border-bottom-color: rgba(184, 128, 90, 0.28);
  box-shadow: 0 6px 24px -12px rgba(0, 0, 0, 0.45);
}

.site-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  transition: padding 240ms ease;
}
.site-header.is-scrolled .site-header-inner { padding-top: 14px; padding-bottom: 14px; }

.logo { display: block; flex: 0 0 auto; }
.logo img {
  height: 56px;
  width: auto;
  transition: height 240ms ease;
  display: block;
}
.site-header.is-scrolled .logo img { height: 44px; }
@media (max-width: 720px) {
  .logo img { height: 44px; }
  .site-header.is-scrolled .logo img { height: 38px; }
}

.site-nav { display: flex; gap: 36px; align-items: center; }
.site-nav a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream);
  position: relative;
  padding: 6px 0;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--tan);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 240ms ease;
}
.site-nav a:hover::after, .site-nav a:focus-visible::after { transform: scaleX(1); }
.site-nav a.is-email { color: var(--tan); }
@media (min-width: 821px) and (max-width: 1180px) { .site-nav a.is-email { display: none; } }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
  color: var(--cream);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  margin: 5px 0;
  transition: transform 240ms ease, opacity 240ms ease;
}

@media (max-width: 820px) {
  .site-nav {
    position: fixed;
    inset: 64px 0 0 0;
    background: var(--navy);
    flex-direction: column;
    gap: 24px;
    padding: 48px 32px;
    transform: translateY(-120%);
    transition: transform 320ms ease;
    z-index: 49;
  }
  .site-nav.is-open { transform: translateY(0); }
  .site-nav a { font-size: 14px; color: var(--cream); }
  .nav-toggle { display: block; z-index: 51; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
}

/* ========== SECTIONS ========== */
section {
  padding: 120px 32px;
  position: relative;
}
@media (max-width: 720px) { section { padding: 72px 24px; } }

.container         { max-width: var(--container);         margin: 0 auto; }
.container-narrow  { max-width: var(--container-narrow);  margin: 0 auto; }
.container-prose   { max-width: var(--container-prose);   margin: 0 auto; }

/* Eyebrow / Kicker */
.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tan-ink);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--tan);
}

/* Display headings */
.display-xl {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.display-lg {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--navy);
}
.display-md {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  color: var(--navy);
}

.prose {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.72;
  color: var(--text);
}
.prose + .prose { margin-top: 22px; }

/* ========== HERO ========== */
.hero {
  padding: 0;
  background: var(--navy);
  min-height: 64vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 140px 32px 120px;
}
@media (max-width: 720px) {
  .hero { min-height: 86vh; }
  .hero-inner { padding: 120px 24px 96px; }
}
.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream-muted);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--tan);
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5.6vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  color: var(--cream);
  max-width: 960px;
  margin-bottom: 36px;
}
.hero p {
  font-family: var(--sans);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
  color: var(--cream-muted);
  max-width: 720px;
}


/* ========== MID-BREAK IMAGE ========== */
.image-break {
  padding: 0;
  height: clamp(280px, 36vw, 520px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ========== HOW WE ENGAGE ========== */
#engage .section-head, .section-head-narrow { max-width: var(--container-narrow); margin: 0 auto 72px; }
#engage .display-lg, .section-head-narrow .display-lg { margin-bottom: 0; }

.engagements { max-width: 920px; margin: 0 auto; }
.engagement {
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 24px;
  align-items: baseline;
}
.engagement:last-child { border-bottom: 1px solid var(--border); }
.engagement-number {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  color: var(--tan);
  letter-spacing: 0.02em;
}
.engagement h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.25;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.engagement p {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.68;
  color: var(--text);
}
p.engagement-recents {
  margin-top: 18px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--muted);
}
.engagement-recents .recents-label {
  display: block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 6px;
}
@media (max-width: 640px) {
  .engagement {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .engagement-number { font-size: 16px; }
}

.engagement p a {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--tan);
  text-underline-offset: 3px;
}
.engagement p a:hover { color: var(--tan); }

/* ========== SECTORS (navy inverse) ========== */
#sectors, .section-inverse {
  background: var(--navy);
  color: var(--cream);
}
#sectors .eyebrow, .section-inverse .eyebrow { color: var(--tan); }
#sectors .display-lg, .section-inverse .display-lg { color: var(--cream); margin-bottom: 32px; }
#sectors .prose, .section-inverse .prose {
  color: var(--cream-muted);
  max-width: var(--container-prose);
  margin-bottom: 72px;
}
.sector-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.sector-grid figure {
  margin: 0;
  position: relative;
}
.sector-grid img {
  width: 100%;
  height: clamp(260px, 28vw, 360px);
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}
.sector-grid figcaption {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  background: rgba(14, 30, 58, 0.86);
  padding: 8px 12px;
  border-left: 1px solid var(--tan);
}
@media (max-width: 720px) {
  .sector-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ========== ABOUT ========== */
#about .section-head { margin-bottom: 48px; }
#about .about-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  color: var(--muted);
  margin-top: 8px;
}
#about .prose { font-size: 18px; line-height: 1.78; }
#about .prose + .prose { margin-top: 26px; }
.on-record {
  margin-top: 48px;
  padding-left: 28px;
  border-left: 1px solid var(--tan);
}
.on-record-label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--tan);
  margin-bottom: 14px;
}
.on-record blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 16px;
  quotes: none;
}
.on-record cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  display: block;
}
.on-record-note {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}
.on-record-note a { text-decoration: underline; }

.about-meta {
  margin-top: 36px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--muted);
}
.about-meta span + span::before { content: "·"; margin: 0 12px; color: var(--border); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid var(--navy);
  background: transparent;
  transition: background 220ms ease, color 220ms ease;
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--navy);
  color: var(--cream);
}
.btn-outline .arrow { transition: transform 220ms ease; }
.btn-outline:hover .arrow { transform: translateX(3px); }

/* ========== TESTIMONIALS ========== */
#testimonials {
  border-top: 1px solid var(--border);
  padding-top: 100px;
  padding-bottom: 100px;
}
.testimonials-head {
  text-align: center;
  margin-bottom: 72px;
}
.testimonials-head .eyebrow { justify-content: center; }
.testimonials-head .eyebrow::before { display: none; }
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  max-width: var(--container);
  margin: 0 auto;
}
.testimonial {
  position: relative;
  padding-left: 28px;
  border-left: 1px solid var(--tan);
}
.testimonial blockquote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.6;
  color: var(--navy);
  margin-bottom: 24px;
  quotes: none;
}
.testimonial cite {
  font-family: var(--sans);
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.6;
  display: block;
}
.testimonial cite .role {
  display: block;
  font-weight: 400;
  color: var(--muted);
  margin-top: 4px;
}
@media (max-width: 820px) {
  .testimonials-grid { grid-template-columns: 1fr; gap: 56px; }
}

/* ========== CONTACT ========== */
#contact {
  background: var(--navy);
  color: var(--cream);
  text-align: center;
  padding-top: 130px;
  padding-bottom: 130px;
}
#contact .display-lg { color: var(--cream); margin-bottom: 36px; }
#contact .prose {
  color: var(--cream-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 56px;
}
.email-display {
  display: inline-block;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 36px);
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.005em;
  border-bottom: 1px solid transparent;
  padding-bottom: 6px;
  transition: border-color 220ms ease, color 220ms ease;
}
.email-display:hover, .email-display:focus-visible {
  border-bottom-color: var(--tan);
  color: var(--tan);
}

/* ========== FOOTER ========== */
.site-footer {
  background: var(--navy);
  color: var(--cream-muted);
  padding: 36px 32px 32px;
  border-top: 1px solid rgba(184, 128, 90, 0.24);
}
.site-footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.02em;
}
.footer-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
}
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  align-items: center;
  padding-bottom: 18px;
  margin-bottom: 4px;
}
.footer-legal a,
.footer-legal button.footer-cookie-prefs {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--cream-muted);
  text-decoration: none;
  border: 0;
  border-bottom: 1px solid transparent;
  background: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--sans);
  transition: border-color 220ms ease, color 220ms ease;
}
.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal button.footer-cookie-prefs:hover,
.footer-legal button.footer-cookie-prefs:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--tan);
}
@media (max-width: 640px) {
  .footer-legal { justify-content: center; }
}
.contact-disclosure {
  margin: 28px auto 0;
  max-width: 52ch;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(245, 240, 230, 0.58);
  font-family: var(--sans);
}
.footer-disclaimer {
  padding-top: 20px;
  border-top: 1px solid rgba(184, 128, 90, 0.16);
  font-size: 11.5px;
  line-height: 1.6;
  color: rgba(245, 240, 230, 0.56);
  max-width: 820px;
}
.site-footer a {
  color: var(--cream-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 220ms ease, color 220ms ease;
}
.site-footer a:hover, .site-footer a:focus-visible {
  color: var(--cream);
  border-bottom-color: var(--tan);
}
@media (max-width: 640px) {
  .footer-primary { flex-direction: column; gap: 10px; text-align: center; }
  .footer-disclaimer { text-align: center; }
}

/* ========== FADE-IN ON SCROLL ========== */
.fade-in {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Focus visibility */
:focus-visible {
  outline: 2px solid var(--tan);
  outline-offset: 3px;
}
  

/* ========== CATALOG COMPONENTS (new, built from the MVP tokens) ========== */
main { display: block; }
.section-tight { padding-top: 72px; padding-bottom: 72px; }
.section-rule { border-top: 1px solid var(--border); }
.section-inverse { color: var(--cream); }
.section-inverse .btn-outline { color: var(--cream); border-color: var(--cream); }
.section-inverse .btn-outline:hover, .section-inverse .btn-outline:focus-visible { background: var(--cream); color: var(--navy); }
.section-inverse .engagement { border-color: rgba(245, 240, 230, 0.2); }
.section-inverse .engagement h3 { color: var(--cream); }
.section-inverse .engagement p { color: var(--cream-muted); }
.section-head-row { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.section-head-row .btn-outline { margin-top: 0; }
.text-link { color: var(--navy); text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 3px; }
.text-link:hover { color: var(--tan-ink); }
.section-inverse .text-link { color: var(--cream); }
.muted { color: var(--muted); }
.small { font-size: 14.5px; line-height: 1.6; }
.page-head { padding-top: 96px; padding-bottom: 48px; }
.page-head .display-xl { margin-bottom: 24px; }
.page-head .prose { max-width: var(--container-prose); }
.block { margin-top: 56px; }
.block h2 { margin-bottom: 18px; }
.block .prose { max-width: var(--container-prose); }

/* Primary action, same metrics as .btn-outline */
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 44px;
  padding: 14px 26px;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cream);
  text-decoration: none;
  border: 1px solid var(--navy);
  background: var(--navy);
  cursor: pointer;
  transition: background 220ms ease, color 220ms ease;
}
.btn-solid:hover, .btn-solid:focus-visible { background: transparent; color: var(--navy); }
.btn-solid .arrow { transition: transform 220ms ease; }
.btn-solid:hover .arrow { transform: translateX(3px); }
button.btn-outline { cursor: pointer; }

/* Spec sheet: two-column definition list */
.spec-sheet {
  display: grid;
  grid-template-columns: minmax(160px, 34%) 1fr;
  border-top: 1px solid var(--border);
  max-width: var(--container-narrow);
}
.spec-sheet dt, .spec-sheet dd { padding: 14px 0; border-bottom: 1px solid var(--border); }
.spec-sheet dt {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tan-ink);
  padding-right: 24px;
  padding-top: 17px;
}
.spec-sheet dd {
  font-family: var(--sans);
  font-size: 17px;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 640px) {
  .spec-sheet { grid-template-columns: 1fr; }
  .spec-sheet dt { border-bottom: 0; padding-bottom: 0; }
  .spec-sheet dd { padding-top: 4px; }
}
.spec-source { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.spec-source a { color: var(--muted); }

/* Status badge */
.status-badge {
  display: inline-block;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--cream);
  border: 1px solid var(--navy);
  padding: 5px 10px;
  line-height: 1.3;
}
.status-badge.is-reserved { border-color: var(--tan); }
.status-badge.is-sold { color: var(--muted); border-color: var(--border); }

/* Certificate badge */
.cert-badge {
  display: inline-block;
  border: 1px solid var(--tan);
  padding: 10px 14px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.cert-badge .cert-name {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--tan-ink);
}
.cert-badge a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--tan); text-underline-offset: 3px; }
.badge-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 20px; }

/* Listing grid and card (same grid as .sector-grid) */
.listing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: var(--container);
  margin: 0 auto;
  list-style: none;
}
@media (max-width: 720px) { .listing-grid { grid-template-columns: 1fr; gap: 16px; } }
.listing-card {
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.listing-card[hidden] { display: none; }
.listing-card img, .listing-card .photo-pending {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
}
.photo-pending {
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.listing-card-body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.listing-card .eyebrow { margin-bottom: 4px; }
.listing-card h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; line-height: 1.3; color: var(--navy); }
.listing-card h2 a { text-decoration: none; }
.listing-card h2 a:hover { color: var(--tan-ink); }
.listing-card .condition { font-size: 15px; color: var(--muted); }
.listing-card .price { font-family: var(--serif); font-size: 19px; color: var(--navy); font-variant-numeric: tabular-nums; }
.listing-card .badge-row { margin-top: auto; padding-top: 8px; }

/* Inventory filters */
.filters { display: flex; flex-wrap: wrap; gap: 28px; margin-bottom: 40px; border: 0; }
.filters fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.filters legend { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tan-ink); margin-bottom: 8px; width: 100%; }
.filters button {
  font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--navy); background: transparent; border: 1px solid var(--border); padding: 7px 12px; cursor: pointer;
}
.filters button[aria-pressed="true"] { border-color: var(--navy); background: var(--navy); color: var(--cream); }
.filter-empty { color: var(--muted); }

/* Listing page */
.listing-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .listing-layout { grid-template-columns: 1fr; gap: 32px; } }
.listing-title { margin-top: 0; }
.listing-price { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 30px); color: var(--navy); margin-top: 24px; font-variant-numeric: tabular-nums; }
.gallery-main img, .gallery-main .photo-pending { width: 100%; aspect-ratio: 3 / 2; height: auto; object-fit: cover; border: 1px solid var(--border); }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; list-style: none; }
.gallery-thumbs button { border: 1px solid var(--border); background: none; padding: 0; cursor: pointer; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--tan); }
.gallery-thumbs img { width: 96px; height: 64px; object-fit: cover; }

/* Data tables (certificate test summary) */
.data-table { width: 100%; max-width: var(--container-narrow); border-collapse: collapse; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; font-size: 15.5px; }
.data-table thead th { font-size: 11px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tan-ink); border-top: 1px solid var(--border); }
.data-table td { color: var(--navy); }
.table-wrap { overflow-x: auto; }

/* Reserve form */
.reserve { max-width: var(--container-narrow); }
.reserve-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
@media (max-width: 640px) { .reserve-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label, .field .label {
  font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--navy);
}
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--text); background: var(--cream);
  border: 1px solid var(--border); border-radius: 0; padding: 11px 12px; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy); }
.field textarea { min-height: 120px; resize: vertical; }
.field .hint { font-size: 13px; color: var(--muted); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reserve-aside { margin-top: 20px; font-size: 15px; color: var(--muted); }

/* Signatory statement uses .on-record; verify page facts reuse .spec-sheet */
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; word-break: break-all; }
.disclosure-line { font-size: 14px; color: var(--muted); border-left: 1px solid var(--tan); padding-left: 16px; margin-top: 32px; max-width: var(--container-prose); }
.wordmark {
  font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: 0.01em;
  color: var(--cream); text-decoration: none; display: block; line-height: 1.1;
}
.wordmark small {
  display: block; font-family: var(--sans); font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.24em; text-transform: uppercase; color: var(--tan-ink); margin-top: 6px;
}
.skip-link { position: absolute; left: -10000px; top: 0; background: var(--cream); color: var(--navy); padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 12px; top: 12px; }

/* Legal pages (from the MVP legal.css, without its duplicate header and footer) */
.legal-page {
  padding: 120px 32px 160px;
}
@media (max-width: 720px) {
  .legal-page { padding: 72px 24px 100px; }
}
.legal-wrap { max-width: var(--container-prose); margin: 0 auto; }
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 4.8vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 18px;
}
.legal-meta {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 56px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.legal-wrap h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 24px);
  line-height: 1.3;
  color: var(--navy);
  margin-top: 48px;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p,
.legal-wrap li {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.72;
  color: var(--text);
}
.legal-wrap p { margin-bottom: 16px; }
.legal-wrap ul {
  margin: 0 0 16px 1.25em;
  padding: 0;
}
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap p a,
.legal-wrap li a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--tan);
  padding-bottom: 1px;
  transition: color 220ms ease;
}
.legal-wrap p a:hover,
.legal-wrap p a:focus-visible,
.legal-wrap li a:hover,
.legal-wrap li a:focus-visible { color: var(--tan-ink); }
.legal-wrap .placeholder { background: rgba(184, 128, 90, 0.18); padding: 0 4px; }
.legal-wrap h3 { font-family: var(--serif); font-weight: 500; font-size: 19px; color: var(--navy); margin: 28px 0 10px; }
