/* Brand tokens mirror Brand/brand.toml */
:root {
  --charcoal: #1a1a1a;
  --gold: #c9a84c;
  --walnut: #3E2723;
  --brass: #B8860B;
  --cream: #F5F5DC;
  --grey: #4a4a4a;
  --panel: #221f1b;                    /* charcoal warmed toward --walnut */
  --hairline: rgba(74, 74, 74, 0.35);  /* --grey at low alpha */
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--charcoal);
  color: rgba(245, 245, 220, 0.85);
  font-family: 'Inter', 'Open Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  color: var(--cream);
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
  text-wrap: balance;
}

a { color: var(--gold); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header.nav {
  border-bottom: 1px solid var(--hairline);
  position: sticky; top: 0; z-index: 10;
  background: rgba(26, 26, 26, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.nav__bar { display: flex; align-items: center; justify-content: space-between; padding: 18px 24px; max-width: 1100px; margin: 0 auto; }
.nav__logo { font-family: 'Playfair Display', serif; font-weight: 700; letter-spacing: 0.05em; color: var(--cream); font-size: 20px; display: inline-flex; align-items: center; gap: 10px; }
.nav__mark { width: 26px; height: 26px; }
.nav__links { display: flex; gap: 32px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav__links a { color: var(--cream); font-size: 15px; }
.nav__links a.current { color: var(--gold); }

.btn {
  display: inline-block; padding: 12px 26px; border-radius: 4px;
  font-size: 14px; letter-spacing: 0.03em;
  transition: background 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}
.btn--primary { background: var(--gold); color: var(--charcoal); font-weight: 600; }
.btn--primary:hover { background: #d9bc6a; text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(201, 168, 76, 0.18); }
.btn--outline { border: 1px solid var(--gold); color: var(--gold); }
.btn--outline:hover { background: rgba(201, 168, 76, 0.08); text-decoration: none; }

.nav__toggle { display: none; }
.nav__burger { display: none; }

@media (max-width: 767px) {
  .nav__links { position: fixed; inset: 0; top: 62px; background: var(--charcoal); flex-direction: column; justify-content: center; transform: translateY(-110%); transition: transform 250ms ease; }
  .nav__toggle:checked ~ .nav__links { transform: translateY(0); }
  .nav__burger { display: block; cursor: pointer; color: var(--cream); font-size: 24px; background: none; border: none; }
}

/* Hero */
.hero {
  padding: 120px 0 88px; text-align: center;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(201, 168, 76, 0.09), transparent 70%);
}
.hero h1 { font-size: clamp(42px, 7vw, 66px); color: var(--gold); }
.hero__subtitle { max-width: 620px; margin: 0 auto 36px; font-size: 19px; color: rgba(245, 245, 220, 0.72); }
.hero__ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Sections */
section { padding: 80px 0; }
.section-divider { border: none; border-top: 1px solid var(--hairline); margin: 0; }
.section__label { color: var(--gold); text-transform: uppercase; letter-spacing: 0.14em; font-size: 12.5px; margin-bottom: 14px; font-weight: 600; }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
@media (max-width: 991px) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--panel); border: 1px solid var(--hairline);
  padding: 32px; border-radius: 6px;
  transition: border-color 200ms ease-out, transform 200ms ease-out, box-shadow 200ms ease-out;
  display: flex; flex-direction: column; align-items: flex-start;
}
.product-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); }
.product-card h3 { font-size: 22px; }
.product-card p { font-size: 15px; opacity: 0.85; flex: 1; }

.product-card--large { background: var(--panel); border: 1px solid var(--hairline); padding: 40px; border-radius: 6px; margin-bottom: 24px; }
.product-card--large h2 { margin-bottom: 8px; }

.badge { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; border: 1px solid; margin-bottom: 14px; }
.badge--shipping-soon { border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, 0.08); }
.badge--in-dev { border-color: rgba(245, 245, 220, 0.6); color: var(--cream); }
.badge--concept { border-color: var(--grey); color: rgba(245, 245, 220, 0.55); }

/* Images */
img { max-width: 100%; display: block; border-radius: 6px; }
.figure-caption { font-size: 13px; color: rgba(245, 245, 220, 0.45); margin-top: 10px; }

/* Spec table */
.spec-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.spec-table td { padding: 12px 0; border-bottom: 1px solid var(--hairline); font-size: 15px; }
.spec-table td:first-child { color: var(--cream); width: 40%; }

/* FAQ */
details.faq-item { border-bottom: 1px solid var(--hairline); padding: 18px 0; }
details.faq-item summary { cursor: pointer; color: var(--cream); font-weight: 600; list-style: none; }
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::before { content: "+ "; color: var(--gold); }
details.faq-item[open] summary::before { content: "\2212 "; }
details.faq-item p { margin-top: 12px; font-size: 15px; opacity: 0.85; }

/* Contact page */
.contact-wrap { max-width: 640px; margin: 0 auto; }
.page-hero--center { text-align: center; }

form.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
form.contact-form label {
  display: flex; flex-direction: column; gap: 8px;
  font-size: 12.5px; color: rgba(245, 245, 220, 0.65);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600;
}
form.contact-form input, form.contact-form select, form.contact-form textarea {
  background: var(--panel); border: 1px solid var(--hairline); color: var(--cream);
  padding: 14px 16px; border-radius: 4px; font-size: 16px; font-family: inherit;
  transition: border-color 150ms ease, box-shadow 150ms ease;
  width: 100%;
}
form.contact-form input:focus, form.contact-form select:focus, form.contact-form textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
form.contact-form textarea { resize: vertical; min-height: 140px; }
form.contact-form button { border: none; cursor: pointer; width: 100%; padding: 15px; font-size: 15px; }
.contact-alt { text-align: center; margin-top: 32px; font-size: 15px; color: rgba(245, 245, 220, 0.6); }

.form-flash { display: none; padding: 14px 18px; margin-bottom: 28px; border: 1px solid var(--grey); border-radius: 4px; }
.form-flash--ok:target { display: block; border-color: var(--gold); color: var(--gold); background: rgba(201, 168, 76, 0.07); }
.form-flash--err:target { display: block; }
.hp { position: absolute !important; left: -9999px; } /* honeypot — hidden from humans, visible to bots */

/* Footer */
footer.footer { background: var(--charcoal); border-top: 1px solid var(--hairline); padding: 56px 0 28px; margin-top: 56px; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; font-size: 14px; }
@media (max-width: 991px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .footer__grid { grid-template-columns: 1fr; text-align: center; } }
.footer__grid a { color: rgba(245, 245, 220, 0.7); display: block; margin-bottom: 10px; }
.footer__legal { text-align: center; font-size: 12px; color: rgba(245, 245, 220, 0.4); margin-top: 36px; }
.footer__legal a { color: rgba(245, 245, 220, 0.4); text-decoration: underline; }

.page-hero { padding: 80px 0 40px; }
.page-hero h1 { font-size: clamp(32px, 5vw, 44px); }

.not-found { text-align: center; padding: 140px 0; }
.not-found h1 { font-size: 96px; color: var(--gold); margin-bottom: 0; }

/* Legal pages */
.legal-body { max-width: 680px; }
.legal-body h2 { font-size: 22px; margin-top: 1.8em; }
.legal-body p, .legal-body li { font-size: 15.5px; }
.legal-updated { font-size: 13px; color: rgba(245, 245, 220, 0.45); }
