/* Haze House — temporary brand | responsive static storefront */
:root {
  --bg: #0c0b0a;
  --bg-elevated: #161412;
  --bg-card: #1c1916;
  --border: #342e28;
  --text: #f2ebe3;
  --muted: #b8afa4;
  --accent: #c4a574;
  --accent-hot: #efd3a8;
  --danger: #e07a67;
  --warning-bg: #241d13;
  --radius: 12px;
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--bg); color: var(--text); font-family: var(--font); line-height: 1.6; }
body.age-blocked { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--accent-hot); text-decoration-thickness: .08em; text-underline-offset: .16em; }
a:hover { text-decoration: none; }
button, input, select { font: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid var(--accent-hot); outline-offset: 3px; }
.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.eyebrow { margin: 0 0 .65rem; color: var(--accent); font-size: .75rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }

/* Age gate */
#age-gate { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 1rem; background: rgba(8,7,6,.97); }
#age-gate[hidden] { display: none; }
.age-card { width: min(100%, 430px); max-height: calc(100dvh - 2rem); overflow-y: auto; padding: 2rem 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-elevated); box-shadow: 0 24px 60px rgba(0,0,0,.55); text-align: center; }
.age-card .brand-mark { margin: 0 0 .75rem; color: var(--accent); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; }
.age-card h1 { margin: 0 0 .75rem; font-size: clamp(1.5rem, 6vw, 1.85rem); line-height: 1.2; }
.age-card p { margin: 0 0 1.5rem; color: var(--muted); }
.age-actions { display: grid; gap: .75rem; }
.age-actions .btn { width: 100%; }
.age-denied { display: none; margin-top: 1rem !important; margin-bottom: 0 !important; color: var(--danger) !important; font-size: .9rem; }
.age-denied.show { display: block; }
body.age-blocked main, body.age-blocked .site-header, body.age-blocked .site-footer { visibility: hidden; pointer-events: none; }

/* Header and navigation */
.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border); background: rgba(12,11,10,.94); backdrop-filter: blur(12px); }
.nav-row { position: relative; display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 1rem; }
.logo { flex: 0 0 auto; color: var(--text); font-size: 1.15rem; font-weight: 800; letter-spacing: .02em; text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; flex-wrap: wrap; gap: .35rem 1rem; margin: 0; padding: 0; list-style: none; font-size: .9rem; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-hot); }
.nav-toggle { display: none; padding: .45rem .75rem; border: 1px solid var(--border); border-radius: 8px; background: var(--bg-card); color: var(--text); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 44px; padding: .65rem 1.2rem; border: 1px solid transparent; border-radius: 8px; font-weight: 700; font-size: .93rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s, transform .15s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #1a140c; }
.btn-primary:hover { background: var(--accent-hot); }
.btn-ghost { border-color: var(--border); background: transparent; color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sm { min-height: 40px; padding: .5rem .85rem; font-size: .82rem; }

/* Home */
.hero { padding: clamp(3.25rem, 8vw, 5.5rem) 0 3rem; background: radial-gradient(ellipse 80% 65% at 50% -10%, rgba(196,165,116,.15), transparent 70%); text-align: center; }
.hero h1 { max-width: 800px; margin: 0 auto 1rem; font-size: clamp(2rem, 6vw, 3.5rem); line-height: 1.08; letter-spacing: -.025em; }
.lede { max-width: 650px; margin: 0 auto 1.75rem; color: var(--muted); font-size: clamp(1rem, 2vw, 1.12rem); }
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.launch-warning { max-width: 700px; margin: 1.5rem auto 0; padding: .8rem 1rem; border: 1px solid #5c482c; border-radius: 8px; background: var(--warning-bg); color: #e5cfad; font-size: .86rem; }
.launch-warning-wide { max-width: none; margin: 0 0 1.5rem; }
.placeholder-email { overflow-wrap: anywhere; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
.section { padding: 3rem 0; }
.section-tight { padding-top: 1rem; }
.section-title { margin: 0 0 .45rem; font-size: clamp(1.4rem, 3vw, 1.75rem); }
.section-sub { max-width: 620px; margin: 0 0 1.75rem; color: var(--muted); }
.section-action { margin: 1.75rem 0 0; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.feature-card { padding: 1.3rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.feature-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .92rem; }

/* Page headings and prose */
.page-hero { margin-bottom: 2rem; padding: 2.75rem 0 1.5rem; border-bottom: 1px solid var(--border); background: linear-gradient(180deg, rgba(196,165,116,.04), transparent); }
.page-hero h1 { margin: 0 0 .5rem; font-size: clamp(1.8rem, 5vw, 2.5rem); line-height: 1.15; }
.page-hero p:not(.eyebrow) { max-width: 720px; margin: 0; color: var(--muted); }
.prose { max-width: 740px; padding-bottom: 3rem; }
.prose-wide { max-width: 850px; }
.prose h2 { margin: 2rem 0 .7rem; font-size: 1.25rem; line-height: 1.3; }
.prose p, .prose li, .prose-wide p { color: var(--muted); }
.prose ul { padding-left: 1.3rem; }
.prose strong, .prose-wide strong { color: var(--text); }
.draft-label { display: inline-block; margin: 0 !important; padding: .35rem .6rem; border: 1px solid var(--border); border-radius: 6px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.callout { margin: 1.75rem 0; padding: 1rem 1.15rem; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 0 var(--radius) var(--radius) 0; background: var(--bg-card); }
.callout p { margin: 0; font-size: .92rem; }

/* Catalog */
.catalog-tools { margin-bottom: 1.5rem; }
.search-field { display: grid; max-width: 430px; gap: .4rem; margin-bottom: 1rem; color: var(--text); font-size: .84rem; font-weight: 700; }
.search-field input, .order-form input, .order-form select { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid var(--border); border-radius: 8px; background: #13110f; color: var(--text); }
.search-field input::placeholder, .order-form input::placeholder { color: #81796f; }
.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter-btn { min-height: 40px; padding: .4rem .85rem; border: 1px solid var(--border); border-radius: 999px; background: var(--bg-card); color: var(--muted); cursor: pointer; }
.filter-btn:hover, .filter-btn.active { border-color: var(--accent); background: rgba(196,165,116,.09); color: var(--accent-hot); }
.results-status { margin: .85rem 0 0; color: var(--muted); font-size: .85rem; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; }
.product-card { display: flex; overflow: hidden; flex-direction: column; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.product-card[hidden] { display: none; }
.product-visual { display: flex; align-items: center; justify-content: center; aspect-ratio: 4/3; border-bottom: 1px solid var(--border); background: linear-gradient(135deg, #2a2218, #181411 52%, #252018); color: var(--accent); font-size: 2.5rem; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 1.1rem 1.15rem 1.25rem; }
.product-cat { margin: 0 0 .3rem !important; color: var(--accent) !important; font-size: .7rem !important; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-body h2 { margin: 0 0 .45rem; font-size: 1.08rem; line-height: 1.35; }
.product-body > p { flex: 1; margin: 0 0 1rem; color: var(--muted); font-size: .88rem; }
.product-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: .75rem; }
.price-label { display: block; color: var(--muted); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.price { display: block; color: var(--text); font-size: 1.1rem; font-weight: 800; }
.empty-state { padding: 2.5rem 1rem; border: 1px dashed var(--border); border-radius: var(--radius); text-align: center; }
.empty-state[hidden] { display: none; }
.empty-state h2 { margin: 0 0 .35rem; }
.empty-state p { margin: 0 0 1rem; color: var(--muted); }

/* Order form and FAQ */
.order-section { border-block: 1px solid var(--border); background: var(--bg-elevated); }
.order-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.order-layout h2 { margin: 0 0 .65rem; font-size: clamp(1.4rem, 3vw, 1.85rem); }
.order-layout > div > p:not(.eyebrow) { color: var(--muted); }
.inline-warning { padding: .8rem; border: 1px solid #5c482c; border-radius: 8px; background: var(--warning-bg); font-size: .85rem; }
.order-form { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-card); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid label { display: grid; align-content: start; gap: .35rem; color: var(--text); font-size: .82rem; font-weight: 700; }
.form-grid label:nth-child(2) { grid-column: 1 / -1; }
.check-label { display: flex; gap: .65rem; margin: 1rem 0; color: var(--muted); font-size: .86rem; }
.check-label input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--accent); }
.form-help { margin: .75rem 0 0; color: var(--muted); font-size: .78rem; }
.faq-section h2 { margin: 0 0 1rem; }
.faq-list { display: grid; gap: .75rem; }
.faq-list details { border: 1px solid var(--border); border-radius: 10px; background: var(--bg-card); }
.faq-list summary { padding: 1rem 1.1rem; color: var(--text); font-weight: 700; cursor: pointer; }
.faq-list details p { margin: 0; padding: 0 1.1rem 1rem; font-size: .92rem; }

/* Footer */
.site-footer { margin-top: 2rem; padding: 2rem 0 2.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 2.5rem; }
.footer-brand strong { display: block; margin-bottom: .3rem; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1.15rem; margin: 0; padding: 0; list-style: none; }
.footer-links a { color: var(--muted); }
.footer-email-warning { margin-top: 1.25rem; padding: .8rem 1rem; border: 1px solid #5c482c; border-radius: 8px; background: var(--warning-bg); color: #e5cfad; }
.footer-legal { margin-top: 1.25rem; padding-top: 1.1rem; border-top: 1px solid var(--border); font-size: .78rem; }
.badge-21 { display: inline-block; margin-right: .5rem; padding: .12rem .4rem; border: 1px solid var(--accent); border-radius: 4px; color: var(--accent); font-size: .68rem; font-weight: 800; letter-spacing: .08em; vertical-align: middle; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .order-layout { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  #primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; padding: .65rem 1rem 1rem; border-bottom: 1px solid var(--border); background: rgba(12,11,10,.99); box-shadow: 0 12px 20px rgba(0,0,0,.3); }
  #primary-nav.open { display: block; }
  .nav-links { display: grid; gap: .25rem; }
  .nav-links a { display: block; min-height: 44px; padding: .65rem .75rem; border-radius: 7px; }
  .nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--bg-card); }
  .grid-3 { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 1.25rem), var(--max)); }
  .hero { padding-top: 2.75rem; }
  .hero-cta { display: grid; }
  .product-grid { grid-template-columns: 1fr; }
  .product-meta { align-items: stretch; flex-direction: column; }
  .product-meta .btn { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid label:nth-child(2) { grid-column: auto; }
  .order-form { padding: 1rem; }
}

@media (max-height: 520px) {
  #age-gate { align-items: flex-start; }
  .age-card { padding-block: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
