:root {
  --navy: #1a3a5c;
  --blue: #2563eb;
  --ink: #1a1a1a;
  --muted: #5a5a5a;
  --line: #e5e7eb;
  --bg: #f6f8fb;
  --card: #ffffff;
  --selling: #1d4ed8;
  --soon: #6d28d9;
  --registering: #b45309;
  --soldout: #475569;
  --ready: #15803d;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px; line-height: 1.5; font-variant-numeric: lining-nums;
}
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-inline: 16px; }
.hero { background: var(--navy); color: #fff; padding-block: 28px 26px; }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #bfdbfe; }
h1 { margin: 0 0 10px; font-size: clamp(26px, 5vw, 40px); line-height: 1.15; font-weight: 700; color: #fff; }
.lede { margin: 0; font-size: 17px; color: #e2e8f0; }

.filters {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end;
  margin-block: 20px 8px;
}
.field { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1 1 180px; max-width: 260px; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
select {
  font: inherit; font-size: 16px; padding: 10px 12px; min-height: 44px; width: 100%;
  border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: var(--ink);
}
.btn-reset {
  font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 10px 16px; cursor: pointer;
  border: 1px solid var(--navy); border-radius: 8px; background: #fff; color: var(--navy);
}
.btn-reset:hover { background: var(--navy); color: #fff; }
select:focus-visible, .btn-reset:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.count { margin: 8px 0 14px; color: var(--muted); font-size: 14px; font-weight: 600; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 16px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
}
.card-body { padding: 18px; display: flex; flex-direction: column; gap: 12px; flex: 1; min-width: 0; }
/* Cover photo: the same 16:10 box on every card. The placeholder is a navy panel with the project name. */
.cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: #e2e8f0; }
.placeholder {
  display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 22px; line-height: 1.25; overflow-wrap: anywhere;
}
.card-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.card h2 { margin: 0; font-size: 20px; line-height: 1.25; font-weight: 700; color: var(--navy); overflow-wrap: anywhere; }
.meta { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.badge {
  flex: none; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; color: #fff; white-space: nowrap;
}
.s-selling { background: var(--selling); }
.s-coming { background: var(--soon); }
.s-registering { background: var(--registering); }
.s-ready { background: var(--ready); }
.s-soldout { background: var(--soldout); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: #eef2f7; color: var(--navy); }
dl { margin: 0; display: grid; gap: 8px; }
.row { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: baseline; padding-top: 8px; border-top: 1px solid var(--line); }
dt { font-size: 13px; font-weight: 700; color: var(--navy); }
dd { margin: 0; font-size: 15px; overflow-wrap: anywhere; }
.ask-val { color: var(--muted); font-style: italic; }
.note { margin: 0; font-size: 12.5px; color: var(--muted); }
.verified { margin: 0; font-size: 12.5px; color: var(--muted); font-weight: 600; }
.review, .guide-btn {
  align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; border-radius: 8px; text-decoration: none;
}
.review:hover, .guide-btn:hover { background: #12304d; }
/* Pre-Sale Guide button: same shape as .review. Light variant on the navy header. */
.guide-row { margin: 16px 0 0; }
main .guide-row { margin: 0 0 24px; }
.guide-btn-light { background: #fff; color: var(--navy); }
.guide-btn-light:hover { background: #e2e8f0; }
.hero a:focus-visible { outline-color: #fff; }
.empty { padding: 28px 0; color: var(--muted); font-weight: 600; }
.ask { margin: 26px 0 10px; font-size: 16px; }
.ask a { color: var(--blue); font-weight: 700; text-decoration: none; }
.foot { padding-block: 10px 40px; }

@media (max-width: 480px) {
  .hero { padding-block: 22px 20px; }
  .field { max-width: none; flex-basis: 100%; }
  .btn-reset { width: 100%; }
  .guide-btn { width: 100%; justify-content: center; }
  .row { grid-template-columns: 96px 1fr; }
  .card-body { padding: 16px; }
}
