:root {
  --ink: #16130f;
  --ink-soft: #2a251d;
  --cream: #faf6ec;
  --cream-2: #f1e9d6;
  --paper: #fffdf8;
  --gold: #a9843f;
  --gold-light: #d8b978;
  --gold-line: rgba(169, 132, 63, 0.35);
  --muted: #6f6656;
  --danger: #9a3324;
  --ok: #3c6b3f;
  --radius: 2px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --body: "EB Garamond", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  margin: 0 0 0.5em;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gold-line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  max-width: 1160px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}
.brand img { height: 40px; width: auto; }

.nav {
  display: flex;
  gap: 30px;
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav a {
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav a:hover, .nav a.active { border-color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gold-line);
  padding: 8px 10px;
  font-family: var(--sans);
  cursor: pointer;
}

@media (max-width: 760px) {
  .nav { display: none; flex-direction: column; gap: 14px; padding: 18px 28px 22px; }
  .nav.open { display: flex; }
  .nav-toggle { display: inline-block; }
  .site-header .bar { flex-wrap: wrap; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}
.btn:hover { background: transparent; color: var(--ink); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
}
.btn-gold:hover { background: transparent; color: var(--gold); }

.btn-sm { padding: 9px 18px; font-size: 0.72rem; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 120px 28px 100px;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(216, 185, 120, 0.16), transparent 60%),
    var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.hero img.hero-mark { height: 96px; width: auto; margin: 0 auto 28px; opacity: 0.95; }
.hero h1 { color: var(--cream); max-width: 800px; margin-left: auto; margin-right: auto; }
.hero .lede {
  max-width: 560px;
  margin: 18px auto 34px;
  color: var(--cream-2);
  font-size: 1.15rem;
}
.hero .cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-divider { width: 1px; height: 60px; background: linear-gradient(var(--gold), transparent); margin: 36px auto 0; }

/* ---------- sections ---------- */
section { padding: 90px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-alt { background: var(--cream-2); }

.divider {
  width: 70px;
  height: 1px;
  background: var(--gold);
  margin: 18px auto;
}

/* ---------- pillars / promise ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
@media (max-width: 800px) { .pillars { grid-template-columns: 1fr; } }
.pillar { text-align: center; padding: 10px; }
.pillar .num {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 10px;
}

/* ---------- product grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--gold-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22, 19, 15, 0.1); }
.card .thumb {
  aspect-ratio: 1 / 1;
  background: var(--cream-2) center/cover no-repeat;
  position: relative;
}
.card .badge {
  position: absolute; top: 12px; left: 12px;
  font-family: var(--sans); font-size: 0.65rem; letter-spacing: 0.1em; text-transform: uppercase;
  background: var(--ink); color: var(--cream); padding: 5px 10px;
}
.card .badge.sold { background: var(--danger); }
.card .badge.reserved { background: var(--muted); }
.card .body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-size: 1.15rem; margin-bottom: 4px; }
.card .ref { font-family: var(--sans); font-size: 0.75rem; color: var(--muted); margin-bottom: 10px; }
.card .price { margin-top: auto; font-family: var(--sans); font-weight: 600; letter-spacing: 0.03em; }
.card .stock-low { color: var(--danger); font-family: var(--sans); font-size: 0.72rem; margin-top: 4px; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  font-family: var(--sans);
}

/* ---------- product detail ---------- */
.product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 860px) { .product-layout { grid-template-columns: 1fr; } }

.gallery-main {
  aspect-ratio: 1/1;
  background: var(--cream-2) center/cover no-repeat;
  border: 1px solid var(--gold-line);
  margin-bottom: 14px;
}
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 70px; height: 70px; object-fit: cover; border: 1px solid var(--gold-line);
  cursor: pointer; opacity: 0.7;
}
.gallery-thumbs img.active { opacity: 1; border-color: var(--gold); }

.product-info .ref { font-family: var(--sans); color: var(--muted); letter-spacing: 0.05em; margin-bottom: 6px; }
.product-info .price { font-family: var(--serif); font-size: 1.7rem; margin: 10px 0 18px; }
.product-info .status-line { font-family: var(--sans); font-size: 0.85rem; margin-bottom: 24px; }
.status-line.available { color: var(--ok); }
.status-line.sold { color: var(--danger); }
.status-line.reserved { color: var(--muted); }

.spec-table { width: 100%; border-collapse: collapse; margin: 24px 0; font-family: var(--sans); font-size: 0.92rem; }
.spec-table tr { border-bottom: 1px solid var(--gold-line); }
.spec-table td { padding: 10px 0; }
.spec-table td:first-child { color: var(--muted); width: 40%; }

/* ---------- contact form ---------- */
.contact-box {
  background: var(--paper);
  border: 1px solid var(--gold-line);
  padding: 28px;
  margin-top: 30px;
}
.contact-box h3 { margin-bottom: 6px; }
.contact-box .hint { color: var(--muted); font-family: var(--sans); font-size: 0.88rem; margin-bottom: 20px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gold-line);
  background: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.honeypot-field { position: absolute; left: -9999px; }

.form-msg { font-family: var(--sans); font-size: 0.88rem; margin-top: 14px; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

/* ---------- about / founders ---------- */
.founders { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 50px; }
@media (max-width: 760px) { .founders { grid-template-columns: 1fr; } }
.founder-card { border: 1px solid var(--gold-line); background: var(--paper); padding: 32px; }
.founder-card .role { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--cream-2);
  padding: 60px 0 30px;
  font-family: var(--sans);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-light); font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--cream-2); opacity: 0.85; }
.site-footer a:hover { opacity: 1; color: var(--gold-light); }
.site-footer .brand img { height: 34px; }
.site-footer .fine { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; border-top: 1px solid rgba(216,185,120,0.18); font-size: 0.78rem; opacity: 0.65; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }

/* ---------- misc ---------- */
.skeleton { background: linear-gradient(90deg, var(--cream-2) 25%, #fff 37%, var(--cream-2) 63%); background-size: 400% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.tag { font-family: var(--sans); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid var(--gold-line); padding: 6px 12px; color: var(--muted); }

.breadcrumb { font-family: var(--sans); font-size: 0.8rem; color: var(--muted); margin-bottom: 30px; }
.breadcrumb a:hover { color: var(--gold); }
