:root {
  --bg: #061812;
  --surface: #0b241b;
  --surface-2: #113428;
  --gold: #e2b963;
  --gold-bright: #f0ca75;
  --gold-dim: rgba(226, 185, 99, 0.30);
  --gold-soft: rgba(226, 185, 99, 0.16);
  --jade-bright: #49db9b;
  --stone: #faf7f0;
  --muted: #d5e2db;
  --font-display: 'Marcellus', Georgia, serif;
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--bg);
  color: var(--stone);
  font-family: var(--font-body);
  line-height: 1.72;
  padding: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Architectural Codex Frame */
.codex-frame {
  max-width: 1220px;
  margin: 0 auto;
  border: 1px solid var(--gold-dim);
  background:
    radial-gradient(920px circle at 50% 0%, rgba(21, 107, 72, 0.28), transparent 55%),
    var(--bg);
  position: relative;
}
.codex-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(226, 185, 99, 0.12);
  pointer-events: none;
}
.inner { padding: 0 clamp(18px, 4.5vw, 56px); position: relative; z-index: 2; }

/* Header & Navigation */
header {
  border-bottom: 1px solid var(--gold-dim);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #000;
  border: 1.5px solid var(--gold);
  overflow: hidden;
  flex-shrink: 0;
}
.brand-icon img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  color: var(--gold);
  display: block;
  line-height: 1.15;
}
.brand-sub {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
}
.nav { display: flex; flex-wrap: wrap; gap: 20px; font-size: 0.96rem; color: var(--muted); font-weight: 500; }
.nav a { padding: 6px 0; transition: color 0.18s; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); }

/* Mobile Quick-Nav Strip (Large legible pills, zero gray scrollbar) */
.mobile-nav {
  display: none;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--gold-dim);
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.mobile-nav::-webkit-scrollbar { display: none; }
.mobile-nav a {
  flex: 0 0 auto;
  padding: 10px 16px;
  border: 1px solid var(--gold-dim);
  background: var(--surface);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--stone);
  white-space: nowrap;
}
.mobile-nav a[aria-current="page"] { border-color: var(--gold); color: #061812; background: var(--gold); }

/* Buttons (Large WCAG 2.2 Touch Targets, ultra-readable sans) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1.5px solid var(--gold);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.18s;
}
.btn:active { transform: scale(0.98); }
.btn-gold { background: var(--gold); color: #05140f; }
.btn-gold:hover { background: var(--gold-bright); }
.btn-ghost { background: rgba(226, 185, 99, 0.06); color: var(--gold-bright); }
.btn-ghost:hover { background: rgba(226, 185, 99, 0.18); }

/* Breadcrumbs */
.breadcrumbs {
  padding: 18px 0 0;
  font-size: 0.88rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.breadcrumbs a:hover { color: var(--gold); }

/* High-Legibility Typography */
.kicker {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 10px;
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.6vw, 3.85rem);
  line-height: 1.12;
  font-weight: 400;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.18;
  font-weight: 400;
  margin-bottom: 14px;
}
h3 {
  font-family: var(--font-display);
  font-size: 1.42rem;
  line-height: 1.25;
  font-weight: 400;
  color: var(--stone);
}
.lead { color: var(--muted); max-width: 58ch; font-size: 1.08rem; line-height: 1.72; }
.gold { color: var(--gold); }

/* Hero Centered Monumental */
.hero {
  text-align: center;
  padding: 48px 0 58px;
  border-bottom: 1px solid var(--gold-dim);
}
.hero h1 { max-width: 19ch; margin: 0 auto 18px; }
.hero .lead { margin: 0 auto 28px; }
.emblem-wrap {
  width: 192px;
  height: 192px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  background: #000;
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(226, 185, 99, 0.08), 0 0 50px rgba(226, 185, 99, 0.22);
}
.emblem-wrap img { width: 100%; height: 100%; object-fit: cover; }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 38px; }

/* Subpage Hero Split */
.sub-hero {
  padding: 38px 0 52px;
  border-bottom: 1px solid var(--gold-dim);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}
.sub-hero-img {
  border: 1px solid var(--gold-dim);
  background: var(--surface);
  padding: 8px;
}
.sub-hero-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* 3-Panel Museum Triptych */
.triptych {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.triptych a {
  display: block;
  border: 1px solid var(--gold-dim);
  background: var(--surface);
  padding: 10px;
  transition: border-color 0.22s, transform 0.22s;
}
.triptych a:hover { border-color: var(--gold); transform: translateY(-3px); }
.triptych img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.triptych .cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gold-bright);
  padding: 10px 4px 2px;
}

/* Sections */
section { padding: 62px 0; border-bottom: 1px solid var(--gold-dim); }

/* Citation Capsule (Ultra readable highlight box) */
.capsule {
  background: var(--surface);
  border-left: 4px solid var(--gold);
  border-top: 1px solid var(--gold-soft);
  border-right: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  padding: 20px 24px;
  margin: 14px 0 26px;
  max-width: 68ch;
  font-size: 1.04rem;
  line-height: 1.75;
  color: var(--stone);
}

/* Interactive 4 Doors */
.doors-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  margin-top: 26px;
  align-items: start;
}
.door-buttons { display: grid; gap: 12px; }
.door-btn {
  text-align: left;
  padding: 18px 20px;
  background: var(--surface);
  border: 1.5px solid var(--gold-dim);
  color: var(--stone);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.18rem;
  transition: background 0.2s, border-color 0.2s;
}
.door-btn .num { font-family: var(--font-mono); font-size: 0.86rem; color: var(--gold); font-weight: 700; }
.door-btn.active {
  background: var(--surface-2);
  border-color: var(--gold);
  box-shadow: inset 4px 0 0 var(--gold);
}
.door-detail {
  background: var(--surface);
  border: 1.5px solid var(--gold);
  padding: 26px;
}
.door-visual {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  margin-bottom: 18px;
  border: 1px solid var(--gold-soft);
}
.door-detail .dir {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.door-detail h3 { font-size: 1.65rem; margin-bottom: 10px; }
.door-detail p { color: var(--muted); font-size: 1.03rem; margin-bottom: 20px; }

/* Grids & Photo Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.card {
  background: var(--surface);
  border: 1px solid var(--gold-dim);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--gold); }
.card.featured { border: 1.5px solid var(--gold); background: linear-gradient(155deg, #0e2e23, #0b1e17); }
.card-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 16px;
  border: 1px solid var(--gold-soft);
}
.card .date-code {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.card p { font-size: 1rem; color: var(--muted); line-height: 1.68; }
.card ul { padding-left: 20px; color: var(--muted); font-size: 0.98rem; line-height: 1.68; }
.card li { margin-bottom: 8px; }
.card li strong { color: var(--stone); }
.price {
  font-family: var(--font-body);
  font-size: 1.32rem;
  color: var(--gold-bright);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.card-actions { display: flex; flex-direction: column; gap: 10px; }

/* Live Quote + Kit Listo */
.quote-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  margin-top: 26px;
  align-items: stretch;
}
.quote-box {
  background: var(--surface);
  border: 1.5px solid var(--gold);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}
.q-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 15px 16px;
  background: rgba(3, 12, 9, 0.55);
  border: 1px solid var(--gold-dim);
  margin-bottom: 12px;
}
.q-field label { font-size: 1rem; font-weight: 600; color: var(--stone); }
select {
  background: var(--surface-2);
  color: var(--stone);
  border: 1.5px solid var(--gold-dim);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  min-width: 230px;
  max-width: 100%;
}
.q-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--gold-dim);
}
.q-total-label { font-size: 0.88rem; font-weight: 600; color: var(--muted); text-transform: uppercase; }
.q-total-val { font-family: var(--font-body); font-size: 1.9rem; color: var(--gold-bright); font-weight: 700; font-variant-numeric: tabular-nums; }

/* Interactive Prep Evaluator Chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 20px; }
.chip {
  min-height: 48px;
  padding: 10px 18px;
  background: var(--surface-2);
  border: 1.5px solid var(--gold-dim);
  color: var(--stone);
  font-size: 0.96rem;
  font-weight: 600;
  cursor: pointer;
}
.chip.active { background: var(--gold); border-color: var(--gold); color: #061812; font-weight: 700; }

/* Comparison / Data Table */
.table-wrap { overflow-x: auto; margin-top: 22px; }
table { width: 100%; border-collapse: collapse; font-size: 0.98rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--gold-dim); }
th { font-size: 0.86rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; background: var(--surface); }
td { color: var(--muted); }
td strong { color: var(--stone); }

/* Google Maps Trust Strip */
.maps-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  background: var(--surface);
  border: 1.5px solid var(--gold);
  padding: 22px 26px;
  margin-top: 24px;
}
.maps-stars {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold-bright);
  letter-spacing: 0.03em;
}

/* FAQ Accordion */
.faq-list { margin-top: 22px; border-top: 1px solid var(--gold-dim); }
details { border-bottom: 1px solid var(--gold-dim); padding: 18px 0; }
summary {
  font-family: var(--font-display);
  font-size: 1.3rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--stone);
}
summary::after { content: "+"; font-family: var(--font-mono); color: var(--gold); font-size: 1.3rem; }
details[open] summary::after { content: "−"; }
details p { margin-top: 12px; color: var(--muted); max-width: 68ch; font-size: 1.02rem; line-height: 1.72; }

/* Footer */
footer {
  padding: 36px 0;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: flex-end; align-items: center; font-weight: 600; }
.footer-links a:hover { color: var(--gold); }

/* Mobile Sticky Reserve Bar */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(6, 24, 18, 0.98);
  border-top: 1.5px solid var(--gold);
  padding: 10px 14px max(12px, env(safe-area-inset-bottom));
}

@media (max-width: 920px) {
  html { font-size: 17.5px; }
  .nav { display: none; }
  .mobile-nav { display: flex; }
  .sub-hero, .triptych, .doors-layout, .grid-3, .grid-2, .quote-layout, footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .q-field { flex-direction: column; align-items: stretch; }
  select { width: 100%; min-width: 0; }
  .mobile-bar { display: block; }
  body { padding: 8px 8px 88px; }
  .card { padding: 18px; }
  .btn { width: 100%; }
}
