/* JDR HARMONY — BLACK / YELLOW HIGH-END AUDIO THEME */

:root {
  --nav-height: 118px;
  --bg: #050505;
  --panel: #0d0d0d;
  --text: #f2f2ee;
  --muted: #969696;
  --yellow: #ffd500;
  --line: rgba(255,255,255,.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
}

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

.nav {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  min-height: var(--nav-height);
  padding: 14px 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,5,5,.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,213,0,.15);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
  padding-top: 8px;
}

.brand-main {
  color: var(--yellow);
  font-family: "Scriptina Pro", cursive;
  font-size: clamp(30px, 2.35vw, 46px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: .13em;
  line-height: 1.08;
  white-space: nowrap;
  display: inline-block;
  padding-left: .06em;
}

.brand-sub {
  margin-top: 9px;
  color: #999;
  font-size: 8px;
  letter-spacing: .48em;
}

.nav nav {
  display: flex;
  gap: 28px;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.nav nav a {
  color: #bbb;
  transition: .25s ease;
}

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

.hero {
  min-height: 100vh;
  padding: 160px 6vw 70px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 6vw;
  overflow: hidden;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto -15vw -30vw auto;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(255,213,0,.07), transparent 62%);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 22px;
  color: var(--yellow);
  font-size: 11px;
  letter-spacing: .34em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 30px;
  font-size: clamp(56px, 7.2vw, 122px);
  line-height: .82;
  letter-spacing: -.055em;
  font-weight: 800;
  text-transform: uppercase;
}

h1 span {
  display: block;
}

h1 span:nth-child(2) {
  color: var(--yellow);
}

.hero-text {
  max-width: 640px;
  color: #aaa;
  font-size: clamp(16px, 1.4vw, 22px);
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: .25s ease;
}

.btn.primary {
  background: var(--yellow);
  color: #090909;
}

.btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255,213,0,.12);
}

.btn.ghost:hover {
  background: var(--yellow);
  color: #090909;
}

.speaker-art {
  min-height: 600px;
  position: relative;
  display: grid;
  place-items: center;
}

.driver {
  width: min(34vw, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 42%, #252525 0 10%, #0f0f0f 11% 29%, #252525 30% 31%, #070707 32% 55%, #333 56% 57%, #0a0a0a 58%);
  border: 1px solid #343434;
  box-shadow:
    inset 0 0 40px #000,
    0 0 0 8px #0d0d0d,
    0 0 0 9px rgba(255,213,0,.18),
    0 32px 80px rgba(0,0,0,.65);
  position: relative;
  z-index: 3;
}

.driver-inner {
  position: absolute;
  inset: 32%;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #3b3b3b, #0c0c0c 70%);
  border: 1px solid rgba(255,255,255,.08);
}

.ribbon {
  position: absolute;
  top: 5%;
  width: 42px;
  height: 180px;
  border: 1px solid var(--yellow);
  background:
    repeating-linear-gradient(90deg, #171717 0 4px, #282828 4px 5px);
  box-shadow: 0 0 30px rgba(255,213,0,.08);
  z-index: 4;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,213,0,.16);
}

.ring-1 {
  width: min(44vw, 560px);
  aspect-ratio: 1;
}

.ring-2 {
  width: min(55vw, 700px);
  aspect-ratio: 1;
  border-color: rgba(255,255,255,.06);
}

.glow {
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,213,0,.16), transparent 66%);
  filter: blur(30px);
}

.statement {
  padding: 7vw 10vw;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement p {
  max-width: 1300px;
  margin: 0 auto;
  color: var(--yellow);
  font-size: clamp(28px, 4.2vw, 70px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -.03em;
}

.section {
  min-height: 80vh;
  padding: 110px 6vw;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 25px;
  border-bottom: 1px solid var(--line);
}

.section-number {
  color: #555;
  font-size: 11px;
  letter-spacing: .25em;
  padding-top: 9px;
}

.section-content {
  max-width: 1450px;
}

.split {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 8vw;
}

h2 {
  max-width: 1000px;
  font-size: clamp(45px, 6vw, 96px);
  line-height: .98;
  letter-spacing: -.045em;
}

.copy {
  max-width: 720px;
  color: #aaa;
  font-size: 18px;
}

.dark-panel {
  background: var(--panel);
}

 .cards {
  margin-top: 70px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 520px;
  background: #0b0b0b;
  overflow: hidden;
  transition: .3s ease;
}

.card:hover {
  background: #111;
}

.card-image-wrap {
  height: 430px;
  position: relative;
  overflow: hidden;
  background: #080808;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 18px;
  filter: saturate(.96) contrast(1.03);
  transition: transform .55s ease, filter .4s ease;
}

.card:hover .card-image {
  transform: scale(1.035);
  filter: saturate(1) contrast(1.06);
}

.card-image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,5,5,.64), transparent 46%);
  pointer-events: none;
}

.card-index {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 20px;
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .28em;
}

.card-copy {
  padding: 28px 32px 34px;
}

.card h3,
.features h3 {
  margin-top: 0;
  font-size: 28px;
}

.card p,
.features p {
  color: #888;
  max-width: 520px;
}

.features {
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: var(--line);
}

.features > div {
  padding: 36px;
  background: var(--bg);
  min-height: 320px;
}

.contact {
  padding: 140px 6vw;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.contact p:not(.eyebrow) {
  color: #888;
  font-size: 18px;
  margin-bottom: 32px;
}

.socials {
  margin-top: 40px;
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.socials a:hover { color: var(--yellow); }

footer {
  padding: 28px 6vw;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #666;
  border-top: 1px solid var(--line);
  font-size: 9px;
  letter-spacing: .22em;
}

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

  .hero {
    grid-template-columns: 1fr;
    padding-top: 135px;
  }

  .speaker-art {
    min-height: 430px;
  }

  .driver {
    width: min(72vw, 380px);
  }

  .ring-1 { width: min(90vw, 500px); }
  .ring-2 { width: min(105vw, 600px); }

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

  .section-number { margin-bottom: 30px; }

  .split,
  .cards,
  .features {
    grid-template-columns: 1fr;
  }

  .card h3 { margin-top: 45px; }

  footer {
    flex-direction: column;
  }
}

@media (min-width: 1350px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.model-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.model-link .card-image {
  width: 100%;
  height: 100%;
}

/* Fixed navigation anchor offset */
html {
  scroll-padding-top: var(--nav-height);
}

#about,
#designs,
#philosophy,
#contact {
  scroll-margin-top: 0;
}


/* Keep Instagram button text visible on hover/focus */
#contact a[href*="instagram.com"],
#contact a[href*="instagram.com"]:hover,
#contact a[href*="instagram.com"]:focus,
#contact a[href*="instagram.com"]:active {
  color: inherit !important;
  opacity: 1 !important;
  text-indent: 0 !important;
  font-size: inherit !important;
  visibility: visible !important;
}

#contact a[href*="instagram.com"]::before,
#contact a[href*="instagram.com"]::after {
  pointer-events: none;
}

/* Instagram button text stays black in all states */
#contact a[href*="instagram.com"],
#contact a[href*="instagram.com"]:visited,
#contact a[href*="instagram.com"]:hover,
#contact a[href*="instagram.com"]:focus,
#contact a[href*="instagram.com"]:active {
  color: #000 !important;
}


/* Header music toggle */
.music-toggle{
  appearance:none;
  -webkit-appearance:none;
  border:0;
  background:transparent;
  padding:6px;
  margin:0 8px 0 0;
  width:34px;
  height:34px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  color:var(--yellow, #f3c219);
  vertical-align:middle;
  flex:0 0 auto;
}
.music-toggle svg{
  width:22px;
  height:22px;
  overflow:visible;
}
.music-toggle svg path:first-child{
  fill:currentColor;
  stroke:none;
}
.music-toggle .sound-wave{
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
}
.music-toggle:hover,
.music-toggle:focus-visible{
  opacity:.78;
  outline:none;
}
.music-toggle.is-playing{
  opacity:1;
}

/* Align music icon bottom with nav text bottom */
.music-toggle{
  position: relative;
  top: -9px;
}


/* Seamless model detail overlay: keeps the main page/audio alive */
.model-overlay{
  position:fixed;
  inset:0;
  z-index:9999;
  background:#000;
  display:none;
  visibility:hidden;
}
.model-overlay.is-open{
  display:block;
  visibility:visible;
}

.model-overlay-frame{
  display:block;
  width:100%;
  height:100%;
  border:0;
  background:#000;
}


/* Prevent model-detail flash while iframe loads */
.model-overlay{
  overflow:hidden;
}
.model-overlay-loader{
  position:absolute;
  inset:0;
  z-index:2;
  background:#000;
  display:none;
}
.model-overlay-frame{
  position:relative;
  z-index:1;
  visibility:hidden;
  opacity:0;
  transition:none !important;
}
.model-overlay.is-open .model-overlay-frame{
  transition:none !important;
}
