/* Wave Sound — dark pro-audio theme */
:root {
  --bg: #0b0b0d;
  --bg-alt: #111114;
  --panel: #16161a;
  --border: #26262c;
  --text: #f4f4f6;
  --muted: #a9a9b3;
  --accent: #ff7a2f;
  --accent-dark: #e0631a;
  --radius: 12px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.accent { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); }
/* Black lockup artwork sits on a white pill so it stays legible on the dark theme */
.brand-pill {
  display: inline-flex; align-items: center;
  background: #ffffff; border-radius: 999px;
  padding: 6px 18px;
}
.brand-lockup { height: 40px; width: auto; }
/* Orange badge accent in the About/Factory section */
.section-badge { height: 52px; width: auto; margin: 4px 0 22px; }
/* Footer badge on a light pill */
.footer-pill {
  display: inline-flex; align-items: center;
  background: #ffffff; border-radius: 999px;
  padding: 4px 14px;
}
.footer-badge { height: 28px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; font-weight: 500; transition: color 0.2s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.nav-cta {
  color: #fff !important;
  background: var(--accent);
  padding: 9px 20px; border-radius: 999px;
}
.nav-cta:hover { background: var(--accent-dark); }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/factory-line-curtain.jpg") center 40% / cover no-repeat;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8,8,10,0.95) 20%, rgba(8,8,10,0.82) 55%, rgba(8,8,10,0.68) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 90px 20px; width: 100%; }
.hero-kicker { color: var(--accent); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.8rem); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 20px; }
.hero-sub { color: var(--muted); font-size: 1.1rem; max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 1rem;
  padding: 13px 30px; border-radius: 999px; transition: transform 0.15s, background 0.2s, border-color 0.2s;
  cursor: pointer; border: 1px solid transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-outline { background: transparent; color: var(--text); border-color: #4a4a52; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-kicker { color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.section h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 14px; }
.section-lead { color: var(--muted); max-width: 720px; font-size: 1.05rem; margin-bottom: 48px; }
.inline-link { color: var(--accent); }

/* ---------- Products ---------- */
.product {
  display: grid; grid-template-columns: 1fr; gap: 32px;
  background: var(--panel); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-bottom: 32px;
  opacity: 0; transform: translateY(24px); transition: opacity 0.6s, transform 0.6s;
}
.product.visible { opacity: 1; transform: none; }
.product-media img { border-radius: 8px; width: 100%; }
.product-media.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.product-info h3 { font-size: 1.9rem; font-weight: 800; margin-bottom: 6px; }
.product-tagline { color: var(--muted); margin-bottom: 20px; }
.product-wide p { color: var(--muted); margin-bottom: 20px; }

.product-highlights { list-style: none; display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.product-highlights li {
  background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 16px; font-size: 0.9rem; color: var(--muted);
}
.product-highlights strong { color: var(--accent); font-size: 1.05rem; }

.specs { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 0.92rem; }
.specs th, .specs td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.specs th { color: var(--muted); font-weight: 600; white-space: nowrap; width: 38%; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }

/* ---------- Applications ---------- */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 36px; }
.app-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px; font-weight: 600; font-size: 1.02rem;
  display: flex; align-items: center; gap: 12px;
  opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s, border-color 0.2s;
}
.app-card.visible { opacity: 1; transform: none; }
.app-card:hover { border-color: var(--accent); }
.app-icon { color: var(--accent); font-size: 0.7rem; }
.app-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.app-photos img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

/* ---------- Factory ---------- */
.factory-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 36px; }
.factory-stat {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 20px;
  opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s;
}
.factory-stat.visible { opacity: 1; transform: none; }
.factory-stat strong { display: block; color: var(--accent); font-size: 1.7rem; font-weight: 800; margin-bottom: 4px; }
.factory-stat span { color: var(--muted); font-size: 0.92rem; }
.workshop-heading { font-size: 1.35rem; font-weight: 800; margin: 40px 0 6px; }
.about-heading { font-size: 1.35rem; font-weight: 800; margin: 36px 0 10px; }
.about-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.about-list li { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px 14px 46px; position: relative; }
.about-list li::before { content: "▸"; position: absolute; left: 18px; top: 13px; color: var(--accent); font-weight: 800; }
.about-list-check li::before { content: "✓"; }
.about-cta { margin-top: 48px; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px 28px; text-align: center; }
.about-cta p { font-size: 1.08rem; max-width: 760px; margin: 0 auto 22px; }

/* ---------- Product categories ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 28px 0 10px; }
.cat-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 22px; }
.cat-card h3 { color: var(--accent); font-size: 1.15rem; margin: 0 0 12px; }
.cat-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--muted); }
.cat-card li { padding-left: 18px; position: relative; }
.cat-card li::before { content: "–"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.cat-note { color: var(--muted); margin-bottom: 44px; }
.series-heading { font-size: 1.5rem; font-weight: 800; margin: 0 0 6px; }

/* ---------- Spec chips + toggle ---------- */
.spec-chips { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 8px; }
.spec-chips li { border: 1px solid var(--accent); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; }
.spec-chips strong { color: var(--accent); }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.spec-sheet[hidden] { display: none; }
.spec-sheet { margin-bottom: 20px; }
.spec-sheet img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); margin-bottom: 16px; }

/* ---------- Applications ---------- */
.app-feature { display: grid; grid-template-columns: 1fr; gap: 20px; margin-bottom: 22px; }
.app-feature figure { margin: 0; }
.app-feature img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); }
.app-feature figcaption { padding-top: 10px; }
.app-feature figcaption strong { display: block; font-size: 1.05rem; }
.app-feature figcaption span { color: var(--muted); font-size: 0.92rem; }
.app-more { color: var(--muted); margin-bottom: 0; }
.app-more strong { color: var(--text); font-weight: 600; }

/* ---------- Process steps ---------- */
.process-steps { list-style: none; padding: 0; margin: 20px 0 8px; display: grid; grid-template-columns: 1fr; gap: 10px; counter-reset: step; }
.process-steps li { counter-increment: step; background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 16px 16px 60px; position: relative; }
.process-steps li::before { content: counter(step); position: absolute; left: 16px; top: 15px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 800; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; }
.process-steps strong { display: block; margin-bottom: 4px; }
.process-steps span { color: var(--muted); font-size: 0.9rem; }

/* ---------- Contact CTAs ---------- */
.contact-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 36px; }

@media (min-width: 860px) {
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .app-feature { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
}
.workshop-lead { color: var(--muted); margin-bottom: 20px; }
.workshop-videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.workshop-videos video {
  width: 100%; aspect-ratio: 9/16; border-radius: var(--radius);
  border: 1px solid var(--border); background: #000;
  opacity: 0; transform: translateY(18px); transition: opacity 0.5s, transform 0.5s;
}
.workshop-videos video.visible { opacity: 1; transform: none; }
.workshop-videos figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }
.factory-photos { display: grid; grid-template-columns: 1fr; gap: 20px; }
.factory-photos figure.wide { grid-column: 1 / -1; }
.factory-photos figure.wide img { aspect-ratio: 21/9; }
.factory-photos figure img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.factory-photos figcaption { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.contact-row {
  display: flex; flex-direction: column; gap: 2px;
  padding: 16px 0; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text);
}
a.contact-row:hover .contact-value { color: var(--accent); }
.contact-label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.contact-value { font-size: 1.05rem; font-weight: 600; }

.inquiry-form { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.inquiry-form h3 { margin-bottom: 20px; font-size: 1.25rem; }
.inquiry-form label { display: block; margin-bottom: 16px; }
.inquiry-form label span { display: block; font-size: 0.85rem; color: var(--muted); margin-bottom: 6px; }
.inquiry-form input, .inquiry-form textarea {
  width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); padding: 12px 14px; font-size: 1rem; font-family: inherit; resize: vertical;
}
.inquiry-form input:focus, .inquiry-form textarea:focus { outline: none; border-color: var(--accent); }
.form-note { color: var(--muted); font-size: 0.85rem; margin-top: 14px; }
.form-status { font-size: 0.92rem; margin-top: 14px; min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }
#sendBtn:disabled { opacity: 0.6; cursor: wait; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.footer-social { display: flex; align-items: center; gap: 12px; }
.footer-social-label { color: var(--muted); font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 50%; color: var(--muted); transition: color 0.2s, border-color 0.2s, transform 0.2s; }
.social-icon:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.social-icon svg { width: 18px; height: 18px; }
.footer-copy { color: var(--muted); font-size: 0.9rem; }

/* ---------- Responsive ---------- */
@media (min-width: 720px) {
  .product { grid-template-columns: 5fr 6fr; align-items: start; }
  .product-reverse .product-media { order: 2; }
  .product-wide { grid-template-columns: 1fr; }
  .app-grid { grid-template-columns: repeat(4, 1fr); }
  .factory-photos { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; align-items: center; }
}

@media (max-width: 719px) {
  .workshop-videos { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
  .nav-toggle { display: block; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 320px; }
  .main-nav a { padding: 16px 24px; border-top: 1px solid var(--border); }
  .nav-cta { margin: 12px 24px 20px; text-align: center; }
  .section { padding: 60px 0; }
  .hero { min-height: 78vh; }
}
