:root {
  --bg-deep: #0f0e0c;
  --bg-surface: #1a1815;
  --bg-elevated: #242119;
  --fg-primary: #f2ece4;
  --fg-secondary: #a89f93;
  --fg-muted: #6b6359;
  --accent: #c4943a;
  --accent-glow: rgba(196, 148, 58, 0.15);
  --accent-soft: #d4a94e;
  --warm-highlight: #e8d5b5;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --max-width: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-deep);
  color: var(--fg-primary);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-muted), transparent);
}

.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-tag {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--fg-primary);
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.25rem;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.7;
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: var(--space-2xl) var(--space-md);
  position: relative;
}

.manifesto-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.manifesto-statement {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--warm-highlight);
}

.manifesto-body {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  line-height: 1.8;
}

.manifesto-body p + p {
  margin-top: var(--space-sm);
}

/* ---- PILLARS ---- */
.pillars {
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg-surface);
  position: relative;
}

.pillars::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-muted), transparent);
}

.pillars-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.pillars-label {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pillars-label::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.pillar {
  padding: var(--space-lg) var(--space-md);
  background: var(--bg-elevated);
  border: 1px solid rgba(168, 159, 147, 0.08);
  border-radius: 4px;
  transition: border-color 0.3s;
}

.pillar:hover {
  border-color: var(--accent);
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(196, 148, 58, 0.2);
  margin-bottom: var(--space-sm);
}

.pillar h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: var(--space-sm);
}

.pillar p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* ---- PRODUCTS ---- */
.products {
  padding: var(--space-2xl) var(--space-md);
  position: relative;
}

.products-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.products-header {
  margin-bottom: var(--space-xl);
}

.products-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fg-primary);
  margin-bottom: var(--space-xs);
}

.products-header p {
  color: var(--fg-secondary);
  font-size: 1.1rem;
}

.products-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-sm);
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid rgba(168, 159, 147, 0.06);
  border-radius: 4px;
  padding: var(--space-lg) var(--space-sm);
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.product-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-sm);
  display: block;
}

.product-card h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 0.4rem;
}

.product-card p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ---- CLOSING ---- */
.closing {
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  position: relative;
}

.closing::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.closing-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.closing h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--fg-primary);
  margin-bottom: var(--space-md);
  line-height: 1.15;
}

.closing p {
  font-size: 1.15rem;
  color: var(--fg-secondary);
  line-height: 1.8;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border-top: 1px solid rgba(168, 159, 147, 0.08);
}

.site-footer p {
  font-size: 0.8rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .manifesto-inner {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .pillars-grid {
    grid-template-columns: 1fr;
  }
  .products-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: var(--space-lg) var(--space-sm); min-height: 90vh; }
  .manifesto, .pillars, .products, .closing {
    padding: var(--space-xl) var(--space-sm);
  }
  .products-list {
    grid-template-columns: 1fr;
  }
  .pillar {
    padding: var(--space-md) var(--space-sm);
  }
}
/* ---- NAVIGATION ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(15, 14, 12, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(168, 159, 147, 0.08);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--fg-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: var(--space-md);
  margin-left: auto;
}

.nav-link {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--fg-primary);
}

.nav-cta {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent);
  text-decoration: none;
  border: 1px solid rgba(196, 148, 58, 0.4);
  padding: 0.45rem 1.1rem;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}

.nav-cta:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

/* Push content below fixed nav */
.hero {
  padding-top: calc(var(--space-xl) + 64px);
}

/* ---- CATALOG PAGE ---- */
.catalog-page {
  min-height: 100vh;
  padding-top: 64px;
}

.catalog-header {
  padding: var(--space-xl) var(--space-md) var(--space-lg);
  background: var(--bg-surface);
  border-bottom: 1px solid rgba(168, 159, 147, 0.08);
}

.catalog-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.catalog-tag {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-tag::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.catalog-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--fg-primary);
  margin-bottom: 0.5rem;
}

.catalog-subtitle {
  color: var(--fg-secondary);
  font-size: 1.05rem;
}

.catalog-body {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-lg);
  align-items: start;
}

/* ---- SIDEBAR ---- */
.catalog-sidebar {
  position: sticky;
  top: 80px;
}

.sidebar-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-sm);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-link {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 3px;
  color: var(--fg-secondary);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, color 0.2s;
  border: 1px solid transparent;
}

.sidebar-link:hover {
  background: var(--bg-elevated);
  color: var(--fg-primary);
}

.sidebar-link.active {
  background: var(--bg-elevated);
  color: var(--accent);
  border-color: rgba(196, 148, 58, 0.2);
}

/* ---- PRODUCT CARDS (catalog) ---- */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-sm);
}

.product-card-lg {
  background: var(--bg-surface);
  border: 1px solid rgba(168, 159, 147, 0.08);
  border-radius: 4px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.product-card-lg:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.product-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: var(--space-md);
  text-decoration: none;
  color: inherit;
}

.product-card-icon {
  font-size: 2.2rem;
  margin-bottom: var(--space-sm);
  color: var(--accent);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
}

.product-card-body {
  flex: 1;
}

.product-card-cat {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.35rem;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fg-primary);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}

.product-card-tagline {
  font-size: 0.88rem;
  color: var(--accent-soft);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

.product-card-footer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-sm);
  padding-top: var(--space-sm);
  border-top: 1px solid rgba(168, 159, 147, 0.06);
}

.product-price {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--fg-primary);
}

.product-volume {
  font-size: 0.78rem;
  color: var(--fg-muted);
  flex: 1;
}

.product-card-arrow {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
}

.catalog-empty {
  text-align: center;
  padding: var(--space-xl);
  color: var(--fg-secondary);
}

.catalog-empty p {
  margin-bottom: var(--space-sm);
}

/* ---- PRODUCT DETAIL PAGE ---- */
.product-page {
  min-height: 100vh;
  padding-top: 64px;
}

.product-page-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-lg) var(--space-md);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--space-lg);
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.breadcrumb a {
  color: var(--fg-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb-sep {
  color: var(--fg-muted);
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-xl);
  align-items: start;
  margin-bottom: var(--space-2xl);
}

/* Visual panel */
.product-visual {
  background: var(--bg-surface);
  border: 1px solid rgba(168, 159, 147, 0.08);
  border-radius: 6px;
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 380px;
  position: relative;
  text-align: center;
}

.product-visual-icon {
  font-size: 5rem;
  color: var(--accent);
  margin-bottom: var(--space-md);
}

.product-visual-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--accent);
  color: var(--bg-deep);
  padding: 0.3rem 0.85rem;
  border-radius: 2px;
  margin-bottom: var(--space-sm);
}

.product-visual-volume {
  font-size: 0.85rem;
  color: var(--fg-muted);
  letter-spacing: 0.05em;
}

/* Info panel */
.product-info-cat {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.product-info-name {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--fg-primary);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.product-info-tagline {
  font-size: 1.05rem;
  color: var(--accent-soft);
  font-style: italic;
  margin-bottom: var(--space-md);
}

.product-info-price {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--fg-primary);
  margin-bottom: var(--space-md);
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  padding: 0.85rem 1.75rem;
  border-radius: 3px;
  text-decoration: none;
  margin-bottom: var(--space-lg);
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-soft);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(196, 148, 58, 0.4);
  color: var(--accent);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.7rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-outline:hover {
  background: var(--accent-glow);
  border-color: var(--accent);
}

.product-description {
  font-size: 1rem;
  color: var(--fg-secondary);
  line-height: 1.8;
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(168, 159, 147, 0.08);
}

.product-detail-block {
  margin-bottom: var(--space-md);
}

.product-detail-block h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.product-detail-block p {
  font-size: 0.9rem;
  color: var(--fg-secondary);
  line-height: 1.7;
}

/* Related products */
.related-products {
  border-top: 1px solid rgba(168, 159, 147, 0.08);
  padding-top: var(--space-lg);
}

.related-label {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: var(--space-md);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.related-card {
  background: var(--bg-surface);
  border: 1px solid rgba(168, 159, 147, 0.08);
  border-radius: 4px;
  padding: var(--space-md) var(--space-sm);
  text-align: center;
  text-decoration: none;
  transition: border-color 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.related-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related-card-icon {
  font-size: 1.8rem;
  color: var(--accent);
}

.related-card-name {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg-primary);
  line-height: 1.3;
}

.related-card-price {
  font-size: 0.95rem;
  color: var(--accent-soft);
  font-weight: 600;
}

/* ---- 404 / ERROR ---- */
.error-page {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-xl) var(--space-md);
  gap: var(--space-sm);
}

.error-icon {
  font-size: 3rem;
  color: var(--fg-muted);
}

.error-page h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--fg-primary);
}

.error-page p {
  color: var(--fg-secondary);
  margin-bottom: var(--space-sm);
}

/* ---- RESPONSIVE — INNER PAGES ---- */
@media (max-width: 900px) {
  .catalog-body {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .catalog-sidebar {
    position: static;
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
    align-items: center;
  }

  .sidebar-label {
    margin-bottom: 0;
  }

  .sidebar-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.35rem;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .product-visual {
    min-height: 220px;
  }

  .related-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- HERO ACTIONS ---- */
.hero-actions {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  margin-top: var(--space-lg);
  flex-wrap: wrap;
}

.btn-ghost {
  display: inline-block;
  color: var(--fg-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.85rem 1.4rem;
  border: 1px solid rgba(168, 159, 147, 0.2);
  border-radius: 3px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--fg-primary);
  border-color: rgba(168, 159, 147, 0.5);
}

/* ---- PRODUCTS CTA ---- */
.products-cta {
  margin-top: var(--space-lg);
  text-align: center;
}

/* ---- PRODUCT CARD LINK ---- */
.product-card {
  text-decoration: none;
  color: inherit;
  display: block;
}
