/* Sochia Designs — extracted from sochiadesigns.com design system */

:root {
  --bg: rgb(3, 3, 6);
  --bg-panel: rgba(255, 255, 255, 0.02);
  --border: rgb(32, 33, 41);
  --text: rgb(231, 228, 223);
  --text-muted: rgba(231, 228, 223, 0.6);
  --gold: rgb(208, 166, 108);
  --gold-soft: rgba(208, 166, 108, 0.7);
  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(3, 3, 6, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand svg, .brand img {
  width: 38px;
  height: 38px;
  color: var(--text);
}
.brand-text {
  font-family: var(--font-serif);
  letter-spacing: 2px;
  line-height: 1.1;
}
.brand-text .top { font-size: 18px; display: block; }
.brand-text .sub { font-size: 10px; letter-spacing: 3px; color: var(--text-muted); display: block; }

nav.main-nav { display: flex; gap: 32px; }
nav.main-nav a {
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color .2s;
}
nav.main-nav a:hover, nav.main-nav a.active { color: var(--gold); }

/* Hero */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
}
.hero .sigil-big {
  width: 90px;
  height: 90px;
  margin: 0 auto 28px;
  color: var(--text);
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 96px);
  letter-spacing: 2.4px;
  line-height: 1.05;
  margin: 0 0 24px;
}
.hero h1 em { font-style: italic; color: var(--text); display: block; }
.hero p.lede {
  max-width: 560px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}
.btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid var(--border);
  transition: all .2s;
}
.btn-primary { background: var(--gold); color: #0b0b0d; border-color: var(--gold); }
.btn-primary:hover { opacity: .88; }
.btn-secondary { background: transparent; color: var(--text); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold); }

/* Section heading */
.section-heading { text-align: center; margin-bottom: 48px; }
.section-heading h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 44px);
  margin: 0;
}
.section-heading .eyebrow { margin-bottom: 12px; }
.section-note {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  margin-top: -30px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

section { padding: 60px 0; }
section.divider-top { border-top: 1px solid var(--border); }

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

.card {
  border: 1px solid var(--border);
  background: var(--bg-panel);
  display: flex;
  flex-direction: column;
}
.card .thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #0a0a0d;
}
.card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.card:hover .thumb img { transform: scale(1.05); }
.card .info { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .type {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.card .title { font-size: 16px; color: var(--text); }
.card .price { color: var(--gold); font-size: 14px; margin-bottom: 10px; }
.card .shop-btn {
  margin-top: auto;
  border: 1px solid var(--border);
  padding: 10px 14px;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  transition: all .2s;
}
.card .shop-btn:hover { border-color: var(--gold); color: var(--gold); }

/* Search box (shop page) */
.search-box {
  max-width: 480px;
  margin: 0 auto 40px;
  position: relative;
}
.search-box input {
  width: 100%;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 16px 14px 40px;
  font-size: 14px;
  font-family: var(--font-sans);
}
.search-box input::placeholder { color: var(--text-muted); }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); }

.empty-state, .error-note {
  text-align: center;
  color: var(--text-muted);
  padding: 40px 0;
  font-size: 14px;
}
.error-note { color: #d08c6c; }

/* About page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .portrait {
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #0a0a0d;
}
.about-grid .portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 20px;
}
.about-copy p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }

.value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 700px) { .value-grid { grid-template-columns: 1fr; } }
.value-card { border: 1px solid var(--border); padding: 28px; }
.value-card .rule { width: 28px; height: 1px; background: var(--gold); margin-bottom: 16px; }
.value-card h3 { font-family: var(--font-serif); font-size: 20px; margin: 0 0 10px; font-weight: 500; }
.value-card p { color: var(--text-muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* Terms */
.legal h1 { font-family: var(--font-serif); font-size: clamp(28px, 4vw, 38px); margin: 8px 0 8px; }
.legal .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 40px; }
.legal h2 { font-family: var(--font-serif); font-size: 22px; margin-top: 36px; }
.legal p { color: var(--text-muted); line-height: 1.7; }

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.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; } }
.footer-grid .brand { margin-bottom: 14px; }
.footer-grid p { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 320px; }
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 16px;
}
.footer-col a { display: block; color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom em { font-style: italic; }
