/* Layout: a land-office sheet. A navy title band that ends in a dusk landscape, then white
   sheets on cool paper: a tile index of the 50 states, parcel cards with a dashed "source"
   stub, a ledger of price sources, and a ruled inquiry form. One look, light, by choice. */
:root {
  --ink: #132238;
  --ink-soft: #3f506a;
  --ink-mute: #5f6f86;
  --paper: #f3f6f9;
  --sheet: #ffffff;
  --rule: #d5dce7;
  --rule-strong: #aebccf;
  --grid: #e4eaf2;
  --navy: #0e2a4b;
  --on-navy: #dce6f2;
  --on-navy-mute: #a9bcd3;
  --blue: #1f4e80;
  --blue-wash: #e6eef8;
  --buff: #e6b450;
  --buff-edge: #c4912a;
  --buff-ink: #6a4a08;
  --land: #2c6a48;
  --land-wash: #e1efe6;
  --ok: #1d6540;
  --ok-wash: #e2f1e7;
  --bad: #a2281d;
  --bad-wash: #fbe9e6;
  --info-wash: #fdf4dc;

  --display: "Besley", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Public Sans", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  --t-small: 0.8125rem;
  --t-base: 1rem;
  --t-lead: 1.125rem;
  --t-h3: 1.1875rem;
  --t-h2: clamp(1.6rem, 1.2rem + 1.7vw, 2.25rem);
  --t-h1: clamp(2.1rem, 1.25rem + 3.7vw, 3.55rem);

  --radius: 6px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 var(--t-base)/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}

/* paints the phone status-bar band above the sticky header */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 60;
  background: var(--sheet);
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  text-wrap: balance;
}
p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { border: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
a { color: var(--blue); text-underline-offset: 0.18em; }
a:hover { color: var(--navy); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg { display: block; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 100;
  padding: 0.6rem 0.9rem;
  background: var(--sheet);
  color: var(--ink);
  border: 2px solid var(--blue);
  border-radius: var(--radius);
  font-weight: 700;
}
.skip:focus { top: 0.75rem; }

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.btn--buff { background: var(--buff); border-color: var(--buff-edge); color: var(--ink); }
.btn--buff:hover { background: #efc368; color: var(--ink); }
.btn--blue { background: var(--blue); border-color: var(--blue); color: #ffffff; }
.btn--blue:hover { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.btn--line { background: var(--sheet); border-color: var(--rule-strong); color: var(--ink); }
.btn--line:hover { border-color: var(--blue); background: var(--blue-wash); color: var(--ink); }
.btn--sm { min-height: 2.5rem; padding: 0.4rem 0.85rem; font-size: 0.9375rem; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.linkbtn {
  padding: 0;
  border: 0;
  background: none;
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.linkbtn:hover { color: var(--navy); }

.ext { font-size: 0.85em; margin-left: 0.15em; }

/* ---------- utility bar + header ---------- */
.utility { background: var(--navy); color: var(--on-navy); font-size: var(--t-small); }
.utility__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem 1.25rem;
  padding-block: 0.45rem;
}
.utility__contact { display: flex; flex-wrap: wrap; gap: 0.2rem 1.25rem; }
.utility a { color: #ffffff; font-weight: 600; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
.utility a:focus-visible, .hero a:focus-visible, .footer a:focus-visible { outline-color: var(--buff); }

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--sheet);
  border-bottom: 1px solid var(--rule);
}
.site-header__in { position: relative; display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }

.brand { display: flex; align-items: center; gap: 0.7rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { flex: none; width: 2.5rem; height: 2.5rem; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.2rem; line-height: 1; letter-spacing: -0.01em; }
.brand__sub {
  display: block;
  margin-top: 0.28rem;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 0.15rem; }
.nav__link {
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav__link:hover { background: var(--blue-wash); color: var(--ink); }
.nav__cta { margin-left: 0.6rem; }
.nav-toggle { display: none; margin-left: auto; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0.5rem var(--gutter) 1rem;
    background: var(--sheet);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 14px 24px -18px rgb(14 42 75 / 0.45);
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 0.8rem 0.25rem; border-bottom: 1px solid var(--rule); border-radius: 0; font-size: 1rem; }
  .nav__cta { margin: 0.9rem 0 0; }
}
@media (max-width: 560px) {
  .utility__tag { display: none; }
  .utility__in { justify-content: center; }
}

/* ---------- hero ---------- */
.hero { background: var(--navy); color: #ffffff; }
.hero__in {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 4.5rem);
  padding-block: clamp(2.25rem, 5vw, 4rem) clamp(1.25rem, 3vw, 2.25rem);
}
.hero__eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--buff);
}
.hero__title { max-width: 17ch; margin-top: 0.85rem; font-size: var(--t-h1); line-height: 1.04; }
.hero__lead { max-width: 54ch; margin-top: 1.1rem; font-size: var(--t-lead); line-height: 1.55; color: var(--on-navy); }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.75rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--on-navy-mute);
}
.hero__facts strong { color: #ffffff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero__scene { position: relative; height: clamp(140px, 19vw, 270px); overflow: hidden; }
.hero__scene svg { width: 100%; height: 100%; }
.hero__scene::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 36%;
  background: linear-gradient(var(--navy), rgb(14 42 75 / 0));
  pointer-events: none;
}

/* ---------- finder (hero search) ---------- */
.finder {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.9rem;
  padding: 1.25rem 1.25rem 1.35rem;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -24px rgb(0 0 0 / 0.6);
}
.finder__title { font-size: 1.3rem; }
.finder__go { margin-top: 0.2rem; }
@media (max-width: 1040px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); }
  .finder { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__title, .finder__type, .finder__go { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .finder { grid-template-columns: minmax(0, 1fr); padding: 1rem; }
}

/* ---------- form controls ---------- */
.field { min-width: 0; }
.field__label, .field legend {
  display: block;
  margin-bottom: 0.3rem;
  font-size: var(--t-small);
  font-weight: 700;
  color: var(--ink-soft);
}
.field__opt { font-weight: 400; color: var(--ink-mute); }
.field__input {
  display: block;
  width: 100%;
  min-height: 2.75rem;
  padding: 0.55rem 0.7rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  line-height: 1.3;
}
textarea.field__input { min-height: 8.5rem; line-height: 1.5; resize: vertical; }
.field__input:hover { border-color: var(--blue); }
.field__input:focus-visible { outline-offset: 1px; }
.field__input[aria-invalid="true"] { border-color: var(--bad); background: var(--bad-wash); }
.field__error { margin-top: 0.3rem; font-size: var(--t-small); font-weight: 600; color: var(--bad); }

.seg { display: flex; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--sheet); overflow: hidden; }
.seg__opt { position: relative; flex: 1 1 auto; display: flex; min-width: 0; }
.seg__opt + .seg__opt { border-left: 1px solid var(--rule-strong); }
.seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg__opt span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(2.75rem - 2px);
  padding: 0.4rem 0.9rem;
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.15;
  text-align: center;
  color: var(--ink-soft);
}
.seg__opt input:hover + span { background: var(--blue-wash); }
.seg__opt input:checked + span { background: var(--navy); color: #ffffff; }
.seg__opt input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: -3px; }
@media (max-width: 400px) { .seg__opt span { padding-inline: 0.5rem; font-size: 0.875rem; } }

/* ---------- sections ---------- */
.section { padding-block: clamp(3rem, 7vw, 5.25rem); scroll-margin-top: 4.5rem; }
.section--sheet { background: var(--sheet); border-block: 1px solid var(--rule); }
.section__head { display: grid; gap: 0.65rem; max-width: 64ch; margin-bottom: 1.75rem; }
.section__title { font-size: var(--t-h2); }
.section__intro { color: var(--ink-soft); }

/* ---------- browse by state ---------- */
.states {
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
}
.states__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.states__copy { display: grid; gap: 1rem; justify-items: start; }
.states__readout {
  width: 100%;
  min-height: 6.25rem;
  padding: 0.9rem 1rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
}
.states__readout-name { font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.states__readout-count { margin-top: 0.2rem; color: var(--ink-soft); }
.states__readout-action { margin-top: 0.45rem; }

.tilemap { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(2px, 0.55vw, 6px); width: 100%; max-width: 660px; justify-self: end; }
.tile {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 0;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 4px;
  color: var(--ink);
  font-weight: 700;
  font-size: clamp(0.62rem, 1.35vw, 0.875rem);
  line-height: 1;
  transition: background-color 0.12s, border-color 0.12s, color 0.12s;
}
.tile__count { margin-top: 0.22em; font-weight: 600; font-size: 0.78em; color: var(--ink-mute); font-variant-numeric: tabular-nums; }
.tile:hover { background: var(--blue-wash); border-color: var(--blue); }
.tile[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.tile[aria-pressed="true"] .tile__count { color: var(--buff); }
.tile--none { background: transparent; border-style: dashed; color: var(--ink-mute); }
@media (max-width: 760px) {
  .states__grid { grid-template-columns: minmax(0, 1fr); }
  .tilemap { justify-self: center; }
  .states__readout { min-height: 0; }
}
@media (max-width: 520px) { .tile__count { display: none; } }

/* ---------- listings ---------- */
.filters {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: end;
  gap: 0.85rem;
}
@media (max-width: 1040px) {
  .filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters__type { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .filters { grid-template-columns: minmax(0, 1fr); } }

.resultbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  margin-top: 1.4rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--rule);
}
.resultbar__count { font-weight: 700; }
.resultbar__note { color: var(--ink-mute); font-size: var(--t-small); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18.25rem), 1fr)); gap: 1.25rem; margin-top: 1.4rem; }

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: var(--blue); box-shadow: 0 14px 28px -22px rgb(14 42 75 / 0.6); }
.card__art { position: relative; aspect-ratio: 16 / 9; max-width: 100%; background: var(--blue-wash); border-bottom: 1px solid var(--rule); }
.card__art svg { width: 100%; height: 100%; }
.card__tags { position: absolute; top: 0.6rem; left: 0.6rem; right: 0.6rem; display: flex; justify-content: space-between; gap: 0.5rem; pointer-events: none; }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.18rem 0.5rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--ink);
}
.tag::before { content: ""; width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--blue); }
.tag--land::before { background: var(--land); border-radius: 1px; }
.tag--plain::before { display: none; }

.card__body { flex: 1; display: flex; flex-direction: column; gap: 0.3rem; padding: 0.95rem 1rem 1rem; }
.card__price { font-family: var(--display); font-weight: 700; font-size: 1.55rem; line-height: 1.1; letter-spacing: -0.01em; }
.card__title { margin-top: 0.1rem; font-family: var(--body); font-size: 1.0625rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; text-wrap: pretty; }
.card__open { padding: 0; border: 0; background: none; font: inherit; color: var(--ink); text-align: left; }
.card__open:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 0.18em; }
.card__where { color: var(--ink-soft); font-size: 0.9375rem; }
.facts { display: flex; flex-wrap: wrap; gap: 0.1rem 0; margin-top: 0.25rem; font-size: 0.9375rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.facts li + li::before { content: "·"; margin-inline: 0.5rem; color: var(--ink-mute); }
.card__source {
  margin-top: auto;
  padding-top: 0.75rem;
  font-size: var(--t-small);
  line-height: 1.45;
  color: var(--ink-soft);
  overflow-wrap: anywhere;
}
.card__source-rule { margin-top: 0.75rem; border: 0; border-top: 1px dashed var(--rule-strong); }
.card__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.card__actions .btn { flex: 1 1 auto; }

.more { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; margin-top: 2rem; }

.empty { margin-top: 1.4rem; padding: 2rem 1.25rem; background: var(--paper); border: 1px dashed var(--rule-strong); border-radius: var(--radius); text-align: center; }
.empty__title { font-family: var(--display); font-weight: 600; font-size: 1.3rem; }
.empty__text { max-width: 46ch; margin: 0.5rem auto 1rem; color: var(--ink-soft); }
.empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; }

/* ---------- how it works ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 1.25rem 2.5rem; counter-reset: step; }
.step { position: relative; padding-top: 1rem; border-top: 2px solid var(--ink); counter-increment: step; }
.step::before {
  content: counter(step);
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--blue);
}
.step__title { font-size: var(--t-h3); }
.step__text { margin-top: 0.4rem; color: var(--ink-soft); }

/* ---------- price sources ledger ---------- */
.sources__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.sources__copy { display: grid; gap: 0.9rem; }
.sources__copy p { color: var(--ink-soft); max-width: 58ch; }
.ledger { border-top: 2px solid var(--ink); }
.ledger__row { display: flex; align-items: baseline; gap: 0.6rem; padding: 0.6rem 0; border-bottom: 1px solid var(--rule); }
.ledger__name { font-weight: 700; overflow-wrap: anywhere; }
.ledger__name a { color: var(--ink); }
.ledger__name a:hover { color: var(--blue); }
.ledger__dots { flex: 1; min-width: 1rem; border-bottom: 1px dotted var(--rule-strong); transform: translateY(-0.25em); }
.ledger__count { flex: none; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.ledger__more summary { padding: 0.7rem 0; font-weight: 700; color: var(--blue); cursor: pointer; }
.ledger__more summary:hover { color: var(--navy); }
.ledger--more { border-top: 1px solid var(--rule); }
.ledger__foot { margin-top: 0.75rem; font-size: var(--t-small); color: var(--ink-mute); }
@media (max-width: 760px) { .sources__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.about__text { display: grid; gap: 1rem; max-width: 62ch; }
.about__text p { color: var(--ink-soft); font-size: var(--t-lead); line-height: 1.6; }
.about__list { display: grid; gap: 0.75rem; padding: 1.25rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); }
.about__list li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: 0.6rem; }
.about__list svg { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; color: var(--blue); }
.about__list strong { display: block; }
.about__list span { color: var(--ink-soft); font-size: 0.9375rem; }
@media (max-width: 760px) { .about__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.contact__copy { display: grid; gap: 1.1rem; }
.contact__copy > p { color: var(--ink-soft); max-width: 46ch; }
.reach { display: grid; gap: 0.75rem; margin-top: 0.4rem; }
.reach__item { display: grid; gap: 0.15rem; padding: 0.9rem 1rem; background: var(--sheet); border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.reach__label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.reach__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.3rem 0.75rem; }
.reach__value { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; min-width: 0; user-select: all; }
a.reach__value:hover { color: var(--blue); text-decoration: underline; }
.copybtn {
  flex: none;
  min-height: 2rem;
  padding: 0.2rem 0.6rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-size: var(--t-small);
  font-weight: 700;
  color: var(--ink-soft);
}
.copybtn:hover { border-color: var(--blue); color: var(--ink); }

.inquiry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1.1rem, 3vw, 1.75rem);
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px -28px rgb(14 42 75 / 0.55);
}
.inquiry__full { grid-column: 1 / -1; }
.inquiry__radios { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
.inquiry__radios label { display: inline-flex; align-items: center; gap: 0.45rem; min-height: 2rem; }
.inquiry__radios input { width: 1.1rem; height: 1.1rem; margin: 0; accent-color: var(--blue); }
.inquiry__note { font-size: var(--t-small); color: var(--ink-mute); }
.inquiry__send { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 760px) { .contact__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .inquiry { grid-template-columns: minmax(0, 1fr); } }

.attached {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.2rem 0.75rem;
  padding: 0.75rem 0.9rem;
  background: var(--blue-wash);
  border: 1px solid var(--blue);
  border-radius: var(--radius);
}
.attached__label { grid-column: 1 / -1; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue); }
.attached__what { font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.attached__meta { grid-column: 1; font-size: var(--t-small); color: var(--ink-soft); }

.notice { display: grid; gap: 0.5rem; padding: 0.9rem 1rem; border: 1px solid var(--rule-strong); border-radius: var(--radius); background: var(--paper); }
.notice__title { font-weight: 700; }
.notice--ok { background: var(--ok-wash); border-color: var(--ok); }
.notice--ok .notice__title { color: var(--ok); }
.notice--bad { background: var(--bad-wash); border-color: var(--bad); }
.notice--bad .notice__title { color: var(--bad); }
.notice--info { background: var(--info-wash); border-color: var(--buff-edge); }
.notice--info .notice__title { color: var(--buff-ink); }
.notice__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.25rem; }
.notice a { overflow-wrap: anywhere; }

/* ---------- listing detail dialog ---------- */
.detail {
  width: min(46rem, calc(100% - 1.5rem));
  max-width: none;
  max-height: calc(100% - 1.5rem);
  padding: 0;
  background: var(--sheet);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
  box-shadow: 0 30px 60px -20px rgb(14 42 75 / 0.6);
  overflow: auto;
  overscroll-behavior: contain;
}
.detail::backdrop { background: rgb(14 42 75 / 0.6); }
.detail__close {
  position: sticky;
  top: 0.6rem;
  z-index: 2;
  float: right;
  margin: 0.6rem 0.6rem -3.2rem 0;
  min-height: 2.5rem;
  padding: 0.3rem 0.8rem;
  background: var(--sheet);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  font-weight: 700;
}
.detail__close:hover { border-color: var(--blue); background: var(--blue-wash); }
.detail__art { position: relative; aspect-ratio: 16 / 6.6; max-width: 100%; background: var(--blue-wash); border-bottom: 1px solid var(--rule); overflow: hidden; }
.detail__art svg { width: 100%; height: 100%; }
.detail__artnote {
  position: absolute;
  left: 0.6rem;
  top: 0.6rem;
  padding: 0.15rem 0.5rem;
  background: rgb(255 255 255 / 0.9);
  border-radius: 3px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.detail__body { display: grid; gap: 1.1rem; padding: clamp(1rem, 3vw, 1.75rem); }
.detail__kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; font-size: var(--t-small); font-weight: 700; color: var(--ink-mute); letter-spacing: 0.04em; }
.detail__title { font-size: clamp(1.35rem, 1.1rem + 1.2vw, 1.8rem); }
.detail__where { margin-top: 0.3rem; color: var(--ink-soft); }
.detail__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.3rem); line-height: 1.1; }
.detail__price span { font-family: var(--body); font-weight: 600; font-size: 0.9375rem; color: var(--ink-mute); }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 9.5rem), 1fr)); gap: 0; border-block: 1px solid var(--rule); overflow: hidden; }
.specs__item { margin-bottom: -1px; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--rule); }
.specs dt { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.specs dd { font-weight: 600; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.chips li { padding: 0.2rem 0.6rem; background: var(--paper); border: 1px solid var(--rule); border-radius: 999px; font-size: 0.9375rem; }
.sourcebox { display: grid; gap: 0.6rem; padding: 1rem; background: var(--paper); border: 1px dashed var(--rule-strong); border-radius: var(--radius); }
.sourcebox__title { font-family: var(--body); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.sourcebox__text { color: var(--ink-soft); }
.sourcebox__text strong { color: var(--ink); }
.sourcebox__url { font-size: var(--t-small); color: var(--ink-mute); overflow-wrap: anywhere; }
.detail__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.detail__actions .btn { flex: 1 1 12rem; }
.is-locked { overflow: hidden; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: var(--on-navy); font-size: 0.9375rem; }
.footer a { color: #ffffff; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 1fr); gap: 2rem clamp(1.5rem, 5vw, 4rem); padding-block: clamp(2.5rem, 6vw, 3.75rem) 2rem; }
.footer__brand { display: grid; gap: 0.75rem; justify-items: start; }
.footer__name { font-family: var(--display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; color: #ffffff; }
.footer__blurb { max-width: 40ch; color: var(--on-navy-mute); }
.footer__head { margin-bottom: 0.6rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--buff); }
.footer__links { display: grid; gap: 0.35rem; }
.footer__links a { text-decoration: none; overflow-wrap: anywhere; }
.footer__links a:hover { text-decoration: underline; }
.footer__legal { display: grid; gap: 0.7rem; padding-block: 1.5rem 2.25rem; border-top: 1px solid rgb(255 255 255 / 0.16); font-size: var(--t-small); line-height: 1.55; color: var(--on-navy-mute); }
.footer__legal p { max-width: 96ch; }
@media (max-width: 760px) { .footer__top { grid-template-columns: minmax(0, 1fr); } }

.noscript { margin: 1rem auto; max-width: 60ch; padding: 1rem; background: var(--info-wash); border: 1px solid var(--buff-edge); border-radius: var(--radius); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
