/* === Quacktory × The Harmonic State === */
/* Cinematic dark, particle field, asymmetric split */

:root {
  --bg: #0A0E14;
  --fg: #FFFFFF;
  --accent: #0F62FE;
  --muted: #C9CCD1;
  --ink: #000000;
  --surface: #0A1A33;
  --particle: #3FA9FF;
  --particle-deep: #1A6BD6;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.55;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; text-align: left; }

.skip {
  position: absolute; left: -9999px;
  background: var(--accent); color: var(--fg);
  padding: 8px 16px;
}
.skip:focus { left: 8px; top: 8px; z-index: 99; }

.kicker {
  font-size: 11px; letter-spacing: 0.28em;
  color: var(--muted);
  text-transform: uppercase;
}

/* ===== TOP ===== */
.top {
  position: absolute; top: 0; left: 0; right: 0;
  z-index: 5;
  display: flex; justify-content: space-between; align-items: center;
  padding: 28px 36px;
}
.top__brand {
  font-size: 14px; letter-spacing: 0.24em;
  font-weight: 500;
  text-decoration: none;
  color: var(--fg);
}
.top__sound {
  display: inline-flex; gap: 3px; align-items: flex-end;
  width: 28px; height: 18px;
}
.top__sound span {
  display: block; width: 3px;
  background: var(--fg);
  height: 60%;
}
.top__sound span:nth-child(2) { height: 100%; }
.top__sound span:nth-child(3) { height: 50%; }
.top__sound span:nth-child(4) { height: 80%; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 18vh 8vw 12vh;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: center;
  border-bottom: 1px solid var(--surface);
  overflow: hidden;
}

.field {
  position: absolute; inset: 0;
  z-index: 0;
  pointer-events: none;
}
.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--particle);
  box-shadow: 0 0 10px var(--particle);
  opacity: 0.6;
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.2); }
}
.dot.d1  { left: 8%;  top: 30%; width: 4px;  height: 4px;  animation-delay: 0.0s; }
.dot.d2  { left: 14%; top: 48%; width: 3px;  height: 3px;  animation-delay: 0.3s; background: var(--particle-deep); }
.dot.d3  { left: 22%; top: 22%; width: 5px;  height: 5px;  animation-delay: 0.6s; }
.dot.d4  { left: 30%; top: 60%; width: 2px;  height: 2px;  animation-delay: 0.9s; background: var(--particle-deep); }
.dot.d5  { left: 36%; top: 35%; width: 6px;  height: 6px;  animation-delay: 1.2s; }
.dot.d6  { left: 42%; top: 72%; width: 3px;  height: 3px;  animation-delay: 1.5s; background: var(--particle-deep); }
.dot.d7  { left: 48%; top: 18%; width: 4px;  height: 4px;  animation-delay: 1.8s; }
.dot.d8  { left: 54%; top: 50%; width: 7px;  height: 7px;  animation-delay: 2.1s; }
.dot.d9  { left: 60%; top: 28%; width: 3px;  height: 3px;  animation-delay: 2.4s; background: var(--particle-deep); }
.dot.d10 { left: 64%; top: 64%; width: 4px;  height: 4px;  animation-delay: 2.7s; }
.dot.d11 { left: 70%; top: 40%; width: 5px;  height: 5px;  animation-delay: 3.0s; }
.dot.d12 { left: 76%; top: 76%; width: 2px;  height: 2px;  animation-delay: 3.3s; background: var(--particle-deep); }
.dot.d13 { left: 82%; top: 22%; width: 6px;  height: 6px;  animation-delay: 3.6s; }
.dot.d14 { left: 88%; top: 58%; width: 3px;  height: 3px;  animation-delay: 3.9s; background: var(--particle-deep); }
.dot.d15 { left: 94%; top: 36%; width: 4px;  height: 4px;  animation-delay: 0.4s; }
.dot.d16 { left: 12%; top: 70%; width: 4px;  height: 4px;  animation-delay: 0.7s; }
.dot.d17 { left: 26%; top: 14%; width: 3px;  height: 3px;  animation-delay: 1.0s; background: var(--particle-deep); }
.dot.d18 { left: 38%; top: 84%; width: 5px;  height: 5px;  animation-delay: 1.3s; }
.dot.d19 { left: 50%; top: 8%;  width: 2px;  height: 2px;  animation-delay: 1.6s; background: var(--particle-deep); }
.dot.d20 { left: 58%; top: 92%; width: 3px;  height: 3px;  animation-delay: 1.9s; }
.dot.d21 { left: 66%; top: 12%; width: 4px;  height: 4px;  animation-delay: 2.2s; }
.dot.d22 { left: 72%; top: 56%; width: 5px;  height: 5px;  animation-delay: 2.5s; background: var(--particle-deep); }
.dot.d23 { left: 84%; top: 88%; width: 3px;  height: 3px;  animation-delay: 2.8s; }
.dot.d24 { left: 92%; top: 14%; width: 4px;  height: 4px;  animation-delay: 3.1s; background: var(--particle-deep); }
.dot.d25 { left: 18%; top: 90%; width: 3px;  height: 3px;  animation-delay: 3.4s; }
.dot.d26 { left: 44%; top: 46%; width: 4px;  height: 4px;  animation-delay: 3.7s; }
.dot.d27 { left: 6%;  top: 54%; width: 3px;  height: 3px;  animation-delay: 0.2s; background: var(--particle-deep); }
.dot.d28 { left: 78%; top: 4%;  width: 5px;  height: 5px;  animation-delay: 0.5s; }
.dot.d29 { left: 4%;  top: 8%;  width: 3px;  height: 3px;  animation-delay: 0.8s; }
.dot.d30 { left: 96%; top: 80%; width: 4px;  height: 4px;  animation-delay: 1.1s; background: var(--particle-deep); }

.hero__h { position: relative; z-index: 2; }
.display {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(40px, 6.5vw, 96px);
  line-height: 1.05; letter-spacing: -0.005em;
  color: var(--fg);
}
.display span { display: block; }

.hero__col {
  position: relative; z-index: 2;
  max-width: 36ch;
  padding-left: 24px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.body {
  font-size: 14px; line-height: 1.7;
  color: var(--muted);
}
.body em { font-style: italic; color: var(--fg); font-weight: 500; }

.cta {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--fg);
  font-size: 13px; letter-spacing: 0.18em;
  font-weight: 500;
  border-radius: 2px;
  transition: background .2s;
}
.cta:hover, .cta:focus-visible {
  background: #0050e6; outline: 0;
}

/* ===== SCALE (taxonomy) ===== */
.scale {
  padding: 90px 8vw 80px;
  border-bottom: 1px solid var(--surface);
}
.scale__head { max-width: 720px; margin-bottom: 40px; }
.scale__title {
  margin-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05; letter-spacing: 0;
}
.scale__legend {
  margin-top: 14px;
  font-size: 13px; letter-spacing: 0.02em;
  color: var(--muted);
}
.scale__list {
  list-style: none;
}
.scale-row {
  border-top: 1px solid rgba(255,255,255,0.08);
}
.scale-row:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.scale-row__btn {
  width: 100%;
  display: grid;
  grid-template-columns: 6px 1fr 1fr 1.4fr;
  gap: 24px;
  align-items: baseline;
  padding: 24px 8px;
  position: relative;
  transition: background .2s, padding .2s;
}
.scale-row__btn:hover, .scale-row__btn:focus-visible {
  background: rgba(15,98,254,0.06);
  padding-left: 24px; outline: 0;
}
.scale-row__btn:hover .scale-row__bar,
.scale-row__btn:focus-visible .scale-row__bar { background: var(--accent); }

.scale-row__bar {
  width: 4px; height: 28px;
  background: var(--muted);
  opacity: 0.6;
  transition: background .2s, height .2s;
  align-self: center;
}
.scale-row[data-sku="micro"]     .scale-row__bar { height: 6px; }
.scale-row[data-sku="classic"]   .scale-row__bar { height: 14px; }
.scale-row[data-sku="designer"]  .scale-row__bar { height: 18px; }
.scale-row[data-sku="mega"]      .scale-row__bar { height: 30px; }
.scale-row[data-sku="architect"] .scale-row__bar { height: 48px; }

.scale-row__label {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px; letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scale-row__size {
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 22px;
}
.scale-row__hint {
  font-size: 12px; letter-spacing: 0.04em;
  color: var(--muted);
  font-style: italic;
}
.scale-row__aud {
  grid-column: 2 / -1;
  font-size: 12px; letter-spacing: 0.02em;
  color: var(--muted);
  margin-top: 4px;
}

/* ===== PRODUCTION ===== */
.prod {
  padding: 80px 8vw;
  border-bottom: 1px solid var(--surface);
}
.prod__head { max-width: 720px; margin-bottom: 36px; }
.prod__title {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}
.prod__list {
  list-style: none;
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.prod__list li {
  padding: 28px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  border-right: 1px solid rgba(255,255,255,0.08);
}
.prod__list li:nth-child(2n) { border-right: 0; }
.prod__list h3 {
  font-size: 11px; letter-spacing: 0.22em;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.prod__list p {
  font-size: 13px; line-height: 1.65;
  color: var(--muted);
}

/* ===== B2B ===== */
.b2b {
  padding: 80px 8vw;
  border-bottom: 1px solid var(--surface);
}
.b2b__head { max-width: 720px; margin-bottom: 32px; }
.b2b__title {
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.1;
}
.b2b__lede {
  margin-top: 18px;
  font-size: 14px; line-height: 1.7;
  max-width: 62ch;
  color: var(--muted);
}
.b2b__rows {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
  margin-bottom: 32px;
}
.b2b__rows > div {
  padding: 22px 16px;
  border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-direction: column; gap: 6px;
}
.b2b__rows > div:last-child { border-right: 0; }
.b2b__rows span {
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--accent);
}
.b2b__rows b {
  font-weight: 500;
  font-size: 18px;
}
.b2b__form {
  display: grid; grid-template-columns: 1fr 1fr 1fr auto;
  gap: 14px; align-items: end;
}
.b2b__form label {
  display: flex; flex-direction: column;
  font-size: 10px; letter-spacing: 0.22em;
  color: var(--accent); gap: 6px;
}
.b2b__form input, .b2b__form select {
  background: transparent; color: var(--fg);
  border: 0; border-bottom: 1px solid rgba(255,255,255,0.15);
  padding: 8px 0;
  font: inherit; font-size: 14px; border-radius: 0;
}
.b2b__form input:focus, .b2b__form select:focus { outline: 0; border-color: var(--accent); }
.b2b__form button {
  padding: 12px 24px;
  background: var(--accent); color: var(--fg);
  font-size: 12px; letter-spacing: 0.18em;
  font-weight: 500;
  border-radius: 2px;
}
.b2b__form button:hover { background: #0050e6; }

/* ===== FOOTER ===== */
.foot {
  padding: 40px 8vw 24px;
}
.foot__row {
  display: flex; gap: 12px; align-items: center;
  font-size: 11px; letter-spacing: 0.2em;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
  color: var(--muted);
}
.foot__cols {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  font-size: 12px;
}
.foot__cols p { margin-top: 4px; color: var(--muted); }
.foot__h {
  font-size: 10px !important; letter-spacing: 0.24em;
  color: var(--accent) !important;
  margin-bottom: 6px;
}

/* ===== MODAL ===== */
.modal[hidden] { display: none; }
.modal { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); }
.modal__card {
  position: relative; width: min(560px, 92vw);
  background: var(--bg); color: var(--fg);
  border: 1px solid var(--accent);
  padding: 32px;
}
.modal__close {
  position: absolute; top: 12px; right: 14px;
  font-size: 16px; width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.modal__close:hover { background: var(--accent); }
.modal__eyebrow {
  font-size: 10px; letter-spacing: 0.28em;
  color: var(--accent);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--accent);
}
.modal__title {
  margin-top: 10px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 56px; line-height: 1;
}
.modal__size {
  margin-top: 4px;
  font-family: "Cormorant Garamond", serif;
  font-weight: 300;
  font-size: 22px; color: var(--accent);
}
.modal__body {
  font-size: 13px; line-height: 1.7;
  margin-top: 16px; max-width: 50ch;
  color: var(--muted);
}
.modal__spec {
  margin-top: 16px; padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6px 18px; font-size: 11px; letter-spacing: 0.14em;
}
.modal__spec dt { color: var(--accent); }
.modal__spec dd { text-align: right; }
.modal__share {
  margin-top: 22px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; justify-content: flex-end;
}
.share {
  font-size: 12px; letter-spacing: 0.18em;
  padding: 10px 18px;
  border: 1px solid var(--accent);
  display: inline-flex; gap: 8px; align-items: baseline;
  border-radius: 2px;
}
.share:hover { background: var(--accent); }
.share__num, .share__cap { font-weight: 500; font-size: 14px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 16vh 6vw 10vh;
    gap: 24px;
  }
  .hero__col {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 18px;
  }
  .display { font-size: clamp(34px, 9vw, 56px); }
  .scale-row__btn {
    grid-template-columns: 6px 1fr 1fr;
    gap: 12px;
  }
  .scale-row__size, .scale-row__hint { grid-column: auto; }
  .scale-row__hint { font-size: 11px; }
  .scale-row__aud { grid-column: 2 / -1; }
  .prod__list { grid-template-columns: 1fr; }
  .prod__list li { border-right: 0; }
  .b2b__rows { grid-template-columns: 1fr 1fr; }
  .b2b__rows > div:nth-child(2n) { border-right: 0; }
  .b2b__form { grid-template-columns: 1fr; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .scale-row__btn {
    grid-template-columns: 6px 1fr;
  }
  .scale-row__size, .scale-row__hint, .scale-row__aud { grid-column: 2 / -1; }
  .b2b__rows { grid-template-columns: 1fr; }
  .b2b__rows > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .foot__cols { grid-template-columns: 1fr; }
  .modal__title { font-size: 40px; }
}
