:root {
  --bg-primary: #090C14;
  --bg-secondary: #101624;
  --bg-card: #151D2F;
  --bg-elevated: #1C2740;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --accent-amber: #F59E0B;
  --accent-amber-hover: #D97706;
  --accent-cyan: #06B6D4;
  --accent-blue: #3B82F6;
  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-highlight: rgba(245, 158, 11, 0.45);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 18px 40px -12px rgba(0, 0, 0, 0.65);
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background:
    radial-gradient(circle at 15% 10%, rgba(6, 182, 212, 0.10), transparent 40%),
    radial-gradient(circle at 85% 22%, rgba(245, 158, 11, 0.11), transparent 42%),
    var(--bg-primary);
  min-height: 100vh;
}

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

a {
  color: var(--accent-amber);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #FBBF24;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 12, 20, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding: 0.85rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  min-height: 48px;
}

.brand-logo {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--accent-cyan);
  font-weight: 600;
  letter-spacing: 0.08em;
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  min-height: 48px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.btn-primary, .btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.75rem 1.35rem;
  font-size: 0.96rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  text-align: center;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-amber), #EA580C);
  color: #090C14;
  box-shadow: 0 8px 24px -6px rgba(245, 158, 11, 0.45);
}

.btn-primary:hover {
  color: #090C14;
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -6px rgba(245, 158, 11, 0.65);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.08);
}

/* Hero Section + Unique Graphic Console */
.hero-section {
  padding: 2.75rem 0 4rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.25rem;
  align-items: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.4rem 0.9rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  border-radius: 999px;
  color: #67E8F9;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 10px #22D3EE;
}

.hero-title {
  font-size: clamp(1.85rem, 4.2vw, 3.1rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.hero-title .highlight {
  background: linear-gradient(90deg, #FBBF24, #38BDF8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.14rem);
  color: var(--text-secondary);
  margin-bottom: 1.65rem;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.85rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--border-subtle);
}

.metric-box {
  background: rgba(21, 29, 47, 0.65);
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.metric-val {
  display: block;
  font-family: var(--font-mono);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 800;
  color: var(--accent-amber);
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Unique Interactive Graphic Element: Acoustic & Multi-Cam Studio Visualizer */
.studio-console-card {
  background: linear-gradient(165deg, #131B2E 0%, #0B101C 100%);
  border: 1px solid rgba(56, 189, 248, 0.28);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow-card), 0 0 50px -15px rgba(6, 182, 212, 0.25);
  position: relative;
}

.console-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.console-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.rec-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.65rem;
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #FCA5A5;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  border-radius: 6px;
}

.rec-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #EF4444;
  animation: pulseRec 1.6s infinite;
}

@keyframes pulseRec {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.console-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.console-freq-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
}

.console-svg-stage {
  width: 100%;
  background: #070A12;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  margin-bottom: 1rem;
}

.console-svg-stage svg {
  width: 100%;
  height: auto;
  display: block;
}

.preset-switcher {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.preset-btn {
  min-height: 48px;
  padding: 0.6rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}

.preset-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.preset-btn.active {
  background: rgba(245, 158, 11, 0.15);
  border-color: var(--accent-amber);
  color: #FDE68A;
  box-shadow: inset 0 0 12px rgba(245, 158, 11, 0.2);
}

.preset-code {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  opacity: 0.8;
}

.telemetry-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
  background: rgba(15, 23, 42, 0.85);
  padding: 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.telemetry-item {
  display: flex;
  flex-direction: column;
}

.telemetry-label {
  font-size: 0.73rem;
  color: var(--text-muted);
}

.telemetry-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.telemetry-desc {
  grid-column: 1 / -1;
  font-size: 0.84rem;
  color: #93C5FD;
  padding-top: 0.45rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.2);
}

/* Section Layout */
.section {
  padding: 4.25rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-alt {
  background: rgba(16, 22, 36, 0.65);
}

.section-header {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
}

.service-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #0D1320;
}

.service-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(9, 12, 20, 0.86);
  border: 1px solid var(--border-highlight);
  color: var(--accent-amber);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
}

.service-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
}

.service-text {
  color: var(--text-secondary);
  font-size: 0.94rem;
  margin-bottom: 1.15rem;
}

.spec-list {
  list-style: none;
  margin-top: auto;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  display: grid;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.spec-list li::before {
  content: "▸ ";
  color: var(--accent-cyan);
  font-weight: 700;
}

/* Equipment & Spec Table */
.spec-showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: start;
}

.table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.92rem;
}

.spec-table th, .spec-table td {
  padding: 0.95rem 1.1rem;
  border-bottom: 1px solid var(--border-subtle);
}

.spec-table th {
  background: rgba(28, 39, 64, 0.7);
  color: var(--accent-amber);
  font-weight: 700;
  white-space: nowrap;
}

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

/* Interactive Studio Production Estimator */
.estimator-box {
  background: linear-gradient(145deg, #151E32, #0E1422);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
}

.estimator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.calc-group {
  margin-bottom: 1.15rem;
}

.calc-label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.55rem;
  color: var(--text-primary);
}

.calc-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
  gap: 0.55rem;
}

.calc-btn {
  min-height: 48px;
  padding: 0.6rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.18s ease;
}

.calc-btn:hover {
  border-color: var(--accent-cyan);
  color: var(--text-primary);
}

.calc-btn.selected {
  background: rgba(6, 182, 212, 0.18);
  border-color: var(--accent-cyan);
  color: #67E8F9;
}

.estimator-result {
  background: #090D16;
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-md);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-display {
  font-family: var(--font-mono);
  font-size: clamp(1.75rem, 3.5vw, 2.45rem);
  font-weight: 800;
  color: var(--accent-amber);
  margin: 0.35rem 0 0.75rem;
}

.result-breakdown {
  list-style: none;
  display: grid;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

/* Workflow Steps */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  position: relative;
}

.step-num {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--accent-amber);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  display: inline-block;
  margin-bottom: 0.65rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}

/* Open FAQ Cards (<details open>) */
.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.35rem;
}

.faq-item summary {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  min-height: 48px;
  display: flex;
  align-items: center;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-answer {
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.94rem;
}

/* Contact & Booking Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  padding: 1.65rem;
  box-shadow: var(--shadow-card);
}

.form-group {
  margin-bottom: 1.15rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.95rem;
  font-size: 16px;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: #0B0F1A;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.2);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.checkbox-wrap input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-top: 0.15rem;
  accent-color: var(--accent-amber);
  flex-shrink: 0;
}

.form-success-box {
  padding: 1.5rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.45);
  border-radius: var(--radius-md);
  color: #D1FAE5;
}

/* Footer */
.site-footer {
  background: #06080E;
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 2rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.35rem;
}

.footer-links a {
  color: var(--text-secondary);
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: var(--accent-amber);
}

.footer-bottom {
  padding-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 960px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.35rem;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.75);
}

.cookie-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  flex: 1 1 320px;
}

.cookie-actions {
  display: flex;
  gap: 0.65rem;
}

/* Legal Page Content */
.legal-article {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
}

.legal-article h1 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.legal-article h2 {
  font-size: 1.18rem;
  margin: 1.65rem 0 0.65rem;
  color: var(--accent-amber);
}

.legal-article p, .legal-article ul {
  margin-bottom: 0.95rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}

.legal-article ul {
  padding-left: 1.35rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .estimator-grid {
    grid-template-columns: 1.35fr 0.65fr;
  }
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
  }
  .spec-showcase-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}