:root {
  --bg: #05070a;
  --bg-soft: #0d1218;
  --panel: rgba(15, 20, 28, 0.78);
  --panel-strong: rgba(12, 18, 26, 0.96);
  --text: #f6f1e8;
  --muted: #aaafb7;
  --muted-strong: #c7ccd4;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(214, 176, 121, 0.34);
  --gold: #d6b079;
  --gold-strong: #f0cca0;
  --blue: #7596b8;
  --red: #7e4f4f;
  --shadow: 0 24px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --max-width: 1220px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Noto Sans SC", sans-serif;
  background:
    radial-gradient(circle at top center, rgba(214, 176, 121, 0.12), transparent 28%),
    linear-gradient(180deg, #07090d 0%, #080b10 36%, #05070a 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(circle at center, black 26%, transparent 88%);
  pointer-events: none;
}

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

button,
input,
textarea {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.ambient {
  position: fixed;
  border-radius: 999px;
  filter: blur(110px);
  opacity: 0.28;
  z-index: -1;
  pointer-events: none;
}

.ambient-gold {
  top: 80px;
  right: -40px;
  width: 320px;
  height: 320px;
  background: rgba(214, 176, 121, 0.26);
}

.ambient-blue {
  top: 380px;
  left: -120px;
  width: 360px;
  height: 360px;
  background: rgba(117, 150, 184, 0.16);
}

.ambient-red {
  bottom: 140px;
  right: 10%;
  width: 260px;
  height: 260px;
  background: rgba(126, 79, 79, 0.12);
}

.section {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 40px), var(--max-width));
  margin: 20px auto 0;
  padding: 14px 18px;
  background: rgba(10, 14, 19, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(120deg, rgba(214, 176, 121, 0.14), rgba(214, 176, 121, 0.02));
  border: 1px solid rgba(214, 176, 121, 0.3);
  color: var(--gold-strong);
  font-family: "Manrope", sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-weight: 600;
  letter-spacing: 0.08em;
}

.brand-copy small {
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topnav {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topnav a {
  transition: color 180ms ease;
}

.topnav a:hover {
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 0 auto;
  background: currentColor;
}

.menu-toggle span + span {
  margin-top: 6px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 108px);
  padding: 92px 0 32px;
}

.hero-copy {
  display: grid;
  align-content: center;
  max-width: 520px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.manifesto h2,
.section-heading h2,
.platform-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 7.2em;
  font-size: clamp(2.7rem, 4.8vw, 4.6rem);
}

.hero-subtitle,
.manifesto p,
.section-heading,
.strength-card p,
.product-card p,
.platform-card p,
.scene-panel p,
.process-card p,
  .contact-copy p {
  color: var(--muted);
}

.hero-subtitle {
  margin: 18px 0 0;
  color: var(--muted-strong);
  font-size: 0.98rem;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #d8b17c 0%, #f0cca0 100%);
  color: #20150d;
  box-shadow: 0 18px 34px rgba(214, 176, 121, 0.2);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.hero-facts {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.hero-facts div,
.scene-tags span,
.product-points span,
.contact-meta span {
  background: rgba(255, 255, 255, 0.03);
}

.hero-facts div {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.hero-facts strong {
  color: var(--text);
  font-family: "Manrope", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
}

.hero-facts span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.scene-tags span,
.product-points span,
.contact-meta span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: var(--muted-strong);
}

.hero-stage {
  position: relative;
}

.control-wall {
  position: relative;
  min-height: 680px;
  padding: 40px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    radial-gradient(circle at top left, rgba(214, 176, 121, 0.12), transparent 28%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 44px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.control-wall::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 34px;
}

.device-stack {
  position: absolute;
  inset: 90px 58px 58px 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-content: center;
}

.device-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 240px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.24);
}

.device-card-main {
  grid-row: span 2;
  min-height: 498px;
}

.device-card-accent {
  background:
    linear-gradient(180deg, rgba(214, 176, 121, 0.14), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
}

.device-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-family: "Manrope", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.switch-face,
.socket-face,
.dial-face {
  display: grid;
  place-items: center;
  margin: auto 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(250, 248, 244, 1), rgba(228, 231, 235, 0.9));
}

.switch-face {
  height: 280px;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px;
}

.switch-face span {
  display: block;
  height: 100%;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #d6dce4, #fbfbfc 56%, #c7ced7 100%);
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.65), inset 0 -10px 16px rgba(161, 170, 183, 0.22);
}

.socket-face,
.dial-face {
  height: 138px;
  place-items: center;
}

.socket-face span {
  position: relative;
  display: block;
  width: 82px;
  height: 82px;
  border: 6px solid #bec4cb;
  border-radius: 50%;
}

.socket-face span::before,
.socket-face span::after {
  content: "";
  position: absolute;
  top: 26px;
  width: 10px;
  height: 18px;
  background: #bec4cb;
  border-radius: 8px;
}

.socket-face span::before {
  left: 20px;
}

.socket-face span::after {
  right: 20px;
}

.dial-face span {
  display: inline-grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 1px solid rgba(32, 21, 13, 0.2);
  color: #20150d;
  font-family: "Manrope", sans-serif;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.device-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.8;
}

.control-badge {
  position: absolute;
  display: grid;
  gap: 8px;
  max-width: 240px;
  padding: 16px 18px;
  background: rgba(9, 13, 18, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
}

.control-badge strong,
.strip-card strong,
.system-grid strong {
  font-family: "Manrope", sans-serif;
}

.control-badge span,
.strip-card span,
.system-grid span {
  color: var(--muted);
}

.badge-top {
  top: 26px;
  left: 26px;
}

.badge-side {
  right: 26px;
  bottom: 26px;
}

.hero-strip {
  padding: 28px 0 0;
}

.strip-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
}

.strip-card > div {
  padding: 24px 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.strip-card > div:last-child {
  border-right: 0;
}

.strip-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.signature,
.products,
.scenes,
.platform,
.process,
.contact {
  padding: 108px 0 0;
}

.signature-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 24px;
}

.manifesto,
.strength-card,
.product-card,
.scene-stage,
.platform-board,
.process-card,
.contact-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)),
    rgba(8, 12, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.manifesto {
  min-height: 100%;
  padding: 38px;
  border-radius: 36px;
}

.manifesto h2 {
  max-width: 12em;
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.manifesto p:last-child {
  max-width: 42rem;
  margin: 24px 0 0;
  line-height: 1.95;
}

.strength-column {
  display: grid;
  gap: 18px;
}

.strength-card {
  padding: 24px 26px;
  border-radius: 24px;
}

.strength-card span,
.process-card span {
  display: inline-block;
  margin-bottom: 20px;
  color: var(--gold);
  font-family: "Manrope", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.strength-card h3,
.product-card h3,
.scene-panel h3,
.platform-card h3,
.process-card h3 {
  margin: 0 0 10px;
}

.strength-card p,
.product-card p,
.scene-panel p,
.platform-card p,
.process-card p {
  margin: 0;
  line-height: 1.85;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
  color: var(--muted);
}

.section-heading h2,
.platform-copy h2,
.contact-copy h2 {
  color: var(--text);
  font-size: clamp(2rem, 3.1vw, 3.25rem);
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  padding: 28px;
  border-radius: 30px;
}

.product-card-accent {
  background:
    linear-gradient(180deg, rgba(214, 176, 121, 0.12), rgba(255, 255, 255, 0.03)),
    rgba(8, 12, 17, 0.78);
}

.product-card-wide {
  grid-column: span 3;
}

.product-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
}

.product-code,
.product-tag,
.scene-kicker {
  font-family: "Manrope", sans-serif;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.product-code {
  color: var(--gold);
  font-weight: 700;
}

.product-tag {
  color: var(--muted);
  font-size: 0.78rem;
}

.product-points,
.scene-tags,
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.command-line {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--gold-strong);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 26px;
}

.system-grid div {
  padding: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
}

.system-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.scene-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.scene-tabs {
  display: grid;
  gap: 14px;
}

.scene-tab {
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.scene-tab:hover,
.scene-tab.is-active {
  color: var(--text);
  border-color: rgba(214, 176, 121, 0.34);
  background: rgba(214, 176, 121, 0.08);
  transform: translateX(6px);
}

.scene-stage {
  min-height: 360px;
  padding: 34px;
  border-radius: 34px;
}

.scene-panel {
  display: none;
  max-width: 760px;
}

.scene-panel.is-active {
  display: block;
}

.scene-kicker {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-size: 0.8rem;
}

.platform-board {
  padding: 36px;
  border-radius: 38px;
}

.platform-copy {
  max-width: 860px;
  margin-bottom: 28px;
}

.platform-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.platform-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
}

.process-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-card {
  padding: 26px;
  border-radius: 24px;
}

.contact {
  padding-bottom: 92px;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.95fr);
  gap: 26px;
  padding: 34px;
  border-radius: 38px;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-copy p {
  line-height: 1.95;
}

.contact-panel {
  display: grid;
  gap: 16px;
  align-content: center;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(214, 176, 121, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
}

.contact-item {
  display: grid;
  gap: 8px;
  padding: 18px 18px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
}

.contact-label {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.contact-item strong {
  color: var(--text);
  font-size: 1.2rem;
  line-height: 1.5;
  word-break: break-word;
}

.contact-note {
  padding: 4px 4px 0;
  color: var(--muted);
  line-height: 1.8;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p,
.footer span {
  margin: 22px 0 0;
}

.footer p {
  color: var(--text);
  letter-spacing: 0.08em;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero,
  .signature-shell,
  .scene-layout,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .product-showcase,
  .platform-grid,
  .process-line {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-card-wide {
    grid-column: span 2;
  }

  .strip-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .strip-card > div:nth-child(2) {
    border-right: 0;
  }

  .strip-card > div:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .device-stack {
    position: relative;
    inset: auto;
    margin-top: 70px;
  }

  .control-wall {
    min-height: auto;
    padding-bottom: 38px;
  }
}

@media (max-width: 820px) {
  .topbar {
    width: min(calc(100% - 24px), var(--max-width));
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 28px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .topnav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 18px;
    background: rgba(10, 14, 19, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
  }

  .topnav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-copy {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
  }

  .product-showcase,
  .platform-grid,
  .process-line,
  .system-grid,
  .strip-card {
    grid-template-columns: 1fr;
  }

  .product-card-wide {
    grid-column: span 1;
  }

  .strip-card > div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .strip-card > div:last-child {
    border-bottom: 0;
  }

  .device-stack {
    grid-template-columns: 1fr;
  }

  .device-card-main {
    grid-row: span 1;
    min-height: 320px;
  }

  .switch-face {
    height: 190px;
  }

  .badge-side,
  .badge-top {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
  }

  .control-wall {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 30px;
  }

  .control-wall::before {
    inset: 12px;
    border-radius: 22px;
  }

  .manifesto,
  .scene-stage,
  .platform-board,
  .contact-card {
    border-radius: 28px;
  }

  .contact-card {
    padding: 24px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .section {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .brand-copy small {
    display: none;
  }

  .signature,
  .products,
  .scenes,
  .platform,
  .process,
  .contact {
    padding-top: 82px;
  }

  .contact {
    padding-bottom: 72px;
  }

  .control-wall,
  .manifesto,
  .product-card,
  .scene-stage,
  .platform-board,
  .process-card,
  .contact-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .scene-tab,
  .button {
    transition: none;
  }
}
