/* ============================================================
   Carney Reserve — shared styles
   Dark luxury theme · serif display · warm gold accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

:root {
  --bg:        #0c0a08;
  --bg-2:      #141009;
  --panel:     #1a150e;
  --line:      #2a2218;
  --gold:      #c6a25f;
  --gold-soft: #d8bd8a;
  --cream:     #f1e9db;
  --muted:     #a99e8c;
  --muted-2:   #837a6b;
  --maroon:    #3a1414;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans:  "Jost", "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow .dash { color: var(--muted-2); margin-right: 14px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.05; }

.italic { font-style: italic; color: var(--gold-soft); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,10,8,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 22px 32px;
  max-width: 1320px; margin: 0 auto;
}
.nav-left, .nav-right {
  display: flex; gap: 34px; align-items: center;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted);
}
.nav-right { justify-content: flex-end; }
.nav a:hover { color: var(--gold); transition: color .25s; }
.brand { text-align: center; }
.brand .name {
  font-family: var(--serif);
  font-size: 30px; letter-spacing: 0.34em;
  color: var(--cream); padding-left: 0.34em;
}
.brand .loc {
  font-family: var(--serif); font-style: italic;
  font-size: 13px; letter-spacing: 0.18em; color: var(--gold);
  margin-top: 2px;
}
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1fr; min-height: 78vh; }
.hero-left {
  background: linear-gradient(160deg, var(--maroon) 0%, var(--bg) 62%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center;
  padding: 70px 60px;
}
.hero-left h1 { font-size: clamp(54px, 7vw, 104px); margin: 26px 0 30px; }
.hero-left p { color: var(--muted); max-width: 36em; font-size: 20px; margin-left: auto; margin-right: auto; }
.hero-right {
  position: relative;
  background:
    radial-gradient(120% 120% at 60% 30%, #b98b4e 0%, #7c5a31 45%, #2c2013 100%);
}
.hero-right .marble {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(8px 3px at 30% 28%, rgba(255,250,240,.85), transparent 60%),
    radial-gradient(14px 4px at 62% 22%, rgba(255,250,240,.7), transparent 60%),
    radial-gradient(6px 5px at 78% 42%, rgba(255,250,240,.85), transparent 60%),
    radial-gradient(10px 3px at 40% 55%, rgba(255,250,240,.6), transparent 60%),
    radial-gradient(5px 8px at 30% 70%, rgba(255,250,240,.8), transparent 60%),
    radial-gradient(12px 4px at 68% 78%, rgba(255,250,240,.65), transparent 60%),
    radial-gradient(7px 3px at 82% 64%, rgba(255,250,240,.7), transparent 60%);
}
.lot-tag {
  position: absolute; top: 34px; left: 34px;
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--cream);
  background: rgba(20,16,9,0.55); border: 1px solid rgba(241,233,219,.25);
  padding: 10px 16px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans);
  font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  padding: 15px 30px; border: 1px solid var(--gold); color: var(--gold);
  transition: all .25s; cursor: pointer; background: transparent;
}
.btn:hover { background: var(--gold); color: var(--bg); }
.btn-fill { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.btn-fill:hover { background: var(--gold-soft); border-color: var(--gold-soft); }

/* ---------- Generic sections ---------- */
section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 56px); margin-top: 14px; }
.lead { color: var(--muted); font-size: 21px; max-width: 40em; margin: 0 auto; }

.alt { background: var(--bg-2); }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.pillar h3 { font-size: 27px; color: var(--cream); margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 18px; }
.pillar .num {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em;
  color: var(--gold); display: block; margin-bottom: 18px;
}

/* ---------- Lot cards ---------- */
.lot-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.lot-card {
  background: var(--panel); border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: border-color .3s, transform .3s;
}
.lot-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.lot-card .media { aspect-ratio: 16/10; overflow: hidden; background: #221a10; }
.lot-card .media img { width: 100%; height: 100%; object-fit: cover; }
.lot-card .body { padding: 28px 30px 32px; }
.lot-card .status {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
}
.lot-card .status.sold { color: var(--muted-2); }
.lot-card h3 { font-size: 30px; margin: 10px 0 6px; }
.lot-card .sub { color: var(--muted); font-size: 17px; }
.lot-card .specs {
  display: flex; gap: 26px; margin: 22px 0 26px;
  border-top: 1px solid var(--line); padding-top: 20px;
}
.lot-card .specs div .k {
  font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-2); display: block;
}
.lot-card .specs div .v { font-size: 22px; color: var(--cream); }

/* ---------- Spec / data tables ---------- */
.data-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.data-block h3 {
  font-family: var(--sans); font-size: 12px; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 18px;
  border-bottom: 1px solid var(--line); padding-bottom: 12px;
}
table.specs-tbl { width: 100%; border-collapse: collapse; }
table.specs-tbl td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 18px; }
table.specs-tbl td.k { color: var(--muted); width: 58%; }
table.specs-tbl td.v { color: var(--cream); text-align: right; }

/* ---------- Grade summary band ---------- */
.grade-band {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--gold);
}
.grade-band .cell {
  padding: 34px 20px; text-align: center; border-right: 1px solid var(--line);
}
.grade-band .cell:last-child { border-right: none; }
.grade-band .cell .k {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 10px;
}
.grade-band .cell .v { font-size: 40px; color: var(--cream); }

/* ---------- Lot detail hero ---------- */
.lot-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.lot-hero .media { background: #1a130b; }
.lot-hero .media img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.lot-hero .info { padding: 70px 60px; display: flex; flex-direction: column; justify-content: center; }
.lot-hero .info h1 { font-size: clamp(44px, 5vw, 72px); margin: 16px 0 8px; }
.lot-hero .info .sub { color: var(--muted); font-size: 21px; margin-bottom: 30px; }

/* ---------- Pedigree ---------- */
.pedigree { color: var(--muted); font-size: 18px; line-height: 1.8; max-width: 62em; }
.pedigree b { color: var(--gold-soft); font-weight: 500; }

/* ---------- Inquiry form ---------- */
.inquiry { max-width: 720px; margin: 0 auto; }
.inquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { margin-bottom: 22px; }
.field label {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%; background: var(--panel); border: 1px solid var(--line);
  color: var(--cream); font-family: var(--serif); font-size: 18px;
  padding: 14px 16px; outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--maroon), var(--bg)); text-align: center; }
.cta-band h2 { font-size: clamp(38px, 5vw, 64px); margin-bottom: 24px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 48px; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; align-items: start; }
.foot-brand .name { font-size: 26px; letter-spacing: 0.3em; padding-left: 0.3em; }
.foot-brand .loc { font-style: italic; color: var(--gold); font-size: 15px; }
.site-footer h4 {
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 16px;
}
.site-footer a, .site-footer p { color: var(--muted); font-size: 16px; display: block; margin-bottom: 8px; }
.site-footer a:hover { color: var(--cream); }
.legal {
  margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line);
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.08em; color: var(--muted-2);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}

/* ---------- Carney Marble Index ---------- */
.cmi-panel { border: 1px solid var(--gold); background: var(--panel); padding: 40px 44px; }
.cmi-top { display: flex; align-items: center; gap: 30px; border-bottom: 1px solid var(--line); padding-bottom: 28px; margin-bottom: 26px; }
.cmi-score { font-family: var(--serif); font-size: 86px; line-height: .85; color: var(--gold-soft); }
.cmi-score small { font-size: 22px; color: var(--muted-2); }
.cmi-tier h3 { font-size: 30px; color: var(--cream); margin: 6px 0 8px; }
.cmi-tier p { color: var(--muted); font-size: 17px; max-width: 32em; }
.cmi-row { display: grid; grid-template-columns: 1fr 160px 70px; align-items: center; gap: 22px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.cmi-row:last-child { border-bottom: none; }
.cmi-row .m { color: var(--cream); font-size: 18px; }
.cmi-row .s { font-family: var(--sans); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); display: block; }
.cmi-track { height: 4px; background: var(--line); }
.cmi-fill { height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-soft)); }
.cmi-val { text-align: right; font-size: 20px; color: var(--cream); }
.cmi-val small { font-size: 13px; color: var(--muted-2); }

.formula { border: 1px solid var(--line); background: var(--bg-2); padding: 40px; text-align: center; max-width: 900px; margin: 0 auto; }
.formula .lab { margin-bottom: 18px; }
.formula code { font-family: var(--sans); font-weight: 400; font-size: clamp(15px, 2.3vw, 23px); color: var(--gold-soft); letter-spacing: 0.02em; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 52px; }
.metric .wt { font-family: var(--serif); font-size: 42px; color: var(--gold-soft); line-height: 1; }
.metric h3 { font-family: var(--serif); font-weight: 500; font-size: 25px; color: var(--cream); margin: 10px 0 2px; }
.metric .code { font-family: var(--sans); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.metric p { color: var(--muted); font-size: 16px; margin-top: 12px; }
.metric .bar { height: 3px; background: var(--line); margin-top: 16px; }
.metric .bar span { display: block; height: 100%; background: var(--gold); }

.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.tier-card { border: 1px solid var(--line); background: var(--panel); padding: 32px 26px; position: relative; }
.tier-card.top { border-color: var(--gold); }
.tier-badge { position: absolute; top: -11px; left: 24px; background: var(--gold); color: var(--bg); font-family: var(--sans); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; padding: 5px 12px; }
.tier-num { font-family: var(--serif); font-size: 52px; color: var(--cream); line-height: 1; }
.tier-num small { font-size: 19px; color: var(--muted-2); }
.tier-card .nm { font-family: var(--sans); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); display: block; margin: 14px 0 14px; }
.tier-card .ds { color: var(--muted); font-size: 16px; }
.tier-rows { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 14px; }
.tier-rows div { display: flex; justify-content: space-between; font-family: var(--sans); font-size: 12px; letter-spacing: 0.03em; padding: 6px 0; color: var(--muted); }
.tier-rows div b { color: var(--gold-soft); font-weight: 500; }

.compare { width: 100%; border-collapse: collapse; max-width: 980px; margin: 0 auto; }
.compare th, .compare td { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 17px; text-align: left; }
.compare th { font-family: var(--sans); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.compare th.hl, .compare td.hl { color: var(--gold); background: rgba(198,162,95,0.06); }
.compare td:first-child { color: var(--muted); font-style: italic; }

.cmi-line { display: flex; align-items: baseline; gap: 10px; margin: 16px 0 4px; }
.cmi-line .n { font-family: var(--serif); font-size: 32px; color: var(--gold-soft); line-height: 1; }
.cmi-line .n small { font-size: 14px; color: var(--muted-2); }
.cmi-line .t { font-family: var(--sans); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.cmi-line .t.sold { color: var(--muted-2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .metric-grid, .tier-grid { grid-template-columns: 1fr 1fr; }
  .cmi-top { flex-direction: column; align-items: flex-start; gap: 14px; }
  .compare { font-size: 15px; }
  body { font-size: 18px; }
  .nav { grid-template-columns: 1fr auto; }
  .nav-left { display: none; }
  .nav-right { display: none; }
  .hero-grid, .lot-hero, .data-2col, .foot-grid { grid-template-columns: 1fr; }
  .hero-right { min-height: 320px; }
  .hero-left { padding: 56px 28px; }
  .pillars, .lot-grid { grid-template-columns: 1fr; }
  .grade-band { grid-template-columns: repeat(2, 1fr); }
  .grade-band .cell:nth-child(2) { border-right: none; }
  .lot-hero .info { padding: 48px 28px; }
  .inquiry .row { grid-template-columns: 1fr; }
}
