:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f2eee9;
  --ink: #181b1e;
  --ink-muted: #5a6169;
  --border: #e5dfd7;
  --accent: #e0621e;
  --accent-dark: #bf4e12;
  --accent-soft: #fdf1ea;
  --teal: #2c5f63;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 8px 30px rgba(24, 27, 30, 0.06);
  --shadow-lg: 0 20px 50px rgba(24, 27, 30, 0.12);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  text-transform: uppercase;
  display: block;
  line-height: 1;
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Hero */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

.hero h1 span {
  color: var(--accent);
}

.hero-lead {
  font-size: 1.06rem;
  color: var(--ink-muted);
  margin: 0 0 28px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.hero-badge strong {
  display: block;
  font-size: 1.15rem;
  color: var(--ink);
}

.hero-badge span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* Hero visual panel */
.hero-visual {
  background: var(--ink);
  color: #fff;
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224, 98, 30, 0.45), transparent 70%);
}

.visual-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  position: relative;
}

.acoustic-bars {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  height: 150px;
  align-items: end;
  margin-bottom: 22px;
  position: relative;
}

.acoustic-bar {
  background: linear-gradient(180deg, var(--accent) 0%, #994013 100%);
  border-radius: 6px 6px 2px 2px;
  opacity: 0.92;
}

.visual-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  position: relative;
}

.visual-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
}

.visual-card small {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  margin-bottom: 4px;
}

.visual-card strong {
  font-size: 0.96rem;
}

/* Sections */
.section {
  padding: 76px 0;
}

.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-head {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(1.65rem, 3vw, 2.3rem);
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

/* Catalog Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.tab-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.product-thumb {
  height: 170px;
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  border-bottom: 1px solid var(--border);
}

.sku-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(24, 27, 30, 0.86);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 6px;
}

.cat-pill {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-body h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.product-body p {
  margin: 0 0 14px;
  font-size: 0.89rem;
  color: var(--ink-muted);
  flex: 1;
}

.spec-list {
  list-style: none;
  padding: 12px 0;
  margin: 0 0 14px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--ink-muted);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 3px 0;
}

.spec-list strong {
  color: var(--ink);
  font-weight: 600;
}

/* Performance Matrix */
.matrix-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.matrix-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.matrix-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
}

.matrix-item h4 {
  margin: 0 0 4px;
  font-size: 0.94rem;
}

.matrix-item p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
}

/* Tables */
.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 32px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

th, td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

th {
  background: var(--surface-alt);
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

tr:last-child td {
  border-bottom: none;
}

.nrc-highlight {
  color: var(--accent-dark);
  font-weight: 800;
}

/* Swatches */
.swatch-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.swatch-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.swatch-selected {
  font-size: 0.88rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
  gap: 10px;
}

.swatch {
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 4px;
  background: var(--surface);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s ease;
}

.swatch:hover, .swatch.active {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.swatch-chip {
  height: 40px;
  border-radius: 5px;
  margin-bottom: 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.swatch span {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--ink-muted);
}

/* Factory & Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1.1;
  color: var(--accent);
  margin-bottom: 6px;
}

.stat-card span {
  font-size: 0.88rem;
  color: var(--ink-muted);
  font-weight: 600;
}

.factory-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: start;
}

.cert-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cert-badge {
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
}

.pillar-card {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 28px;
}

.pillar-card h3 {
  margin: 0 0 18px;
  color: #fff;
}

.pillar-item {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pillar-item:first-of-type {
  border-top: none;
  padding-top: 0;
}

.pillar-item small {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 4px;
}

.pillar-item p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

/* Wholesale & Policies */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.info-card h3 {
  margin: 0 0 14px;
  font-size: 1.2rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  padding: 8px 0 8px 26px;
  position: relative;
  color: var(--ink-muted);
  font-size: 0.93rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 800;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
}

.contact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.contact-item {
  margin-bottom: 18px;
}

.contact-item small {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  font-weight: 700;
}

.contact-item a, .contact-item strong {
  font-size: 1rem;
  color: var(--ink);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
}

.form-field input, .form-field select, .form-field textarea {
  padding: 11px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--ink);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 2px solid rgba(224, 98, 30, 0.25);
  border-color: var(--accent);
}

.form-note {
  margin-top: 12px;
  font-size: 0.84rem;
  color: var(--teal);
  font-weight: 600;
  min-height: 20px;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.76);
  padding: 48px 0 32px;
  font-size: 0.88rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a:hover {
  color: #fff;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(24, 27, 30, 0.62);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  background: var(--surface);
  border-radius: 16px;
  max-width: 620px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  margin-bottom: 16px;
}

.modal-close {
  border: none;
  background: var(--surface-alt);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

@media (max-width: 960px) {
  .hero-grid, .factory-grid, .two-col, .contact-grid {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .matrix-grid, .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .product-grid, .hero-badges, .form-grid {
    grid-template-columns: 1fr;
  }
  .hero-badges {
    grid-template-columns: repeat(2, 1fr);
  }
}
