:root {
  --bg: #050505;
  --bg-soft: #0c0c0c;
  --bg-card: #111111;
  --ink: #f4f1ec;
  --muted: #8c877e;
  --dim: #5c5852;
  --line: rgba(244, 241, 236, 0.1);
  --accent: #ff5a1f;
  --accent-2: #ff8a4a;
  --gold: #c9a36a;
  --nav-h: 72px;
  --max: 1280px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Noto Sans SC", "PingFang SC", "Hiragino Sans GB", sans-serif;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection {
  background: rgba(255, 90, 31, 0.35);
  color: #fff;
}

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--accent);
}

h1,
h2,
h3,
.display {
  font-family: "Manrope", "Noto Sans SC", sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.display {
  font-size: clamp(40px, 7vw, 92px);
}

.lead {
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 36em;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), border-color 0.4s, backdrop-filter 0.4s;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(5, 5, 5, 0.72);
  backdrop-filter: blur(22px);
  border-bottom-color: var(--line);
}

.nav {
  width: min(1440px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 36px;
  width: auto;
  filter: brightness(1.55) contrast(1.05);
}

.logo span {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  font-weight: 600;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}

.nav-links a,
.nav-dropdown > button {
  font-size: 14px;
  color: rgba(244, 241, 236, 0.82);
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.is-active,
.nav-dropdown > button:hover {
  color: #fff;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown > button::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 148px;
  padding: 10px 0;
  background: #141414;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s var(--ease);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 18px;
  font-size: 13px;
  color: var(--muted);
}

.nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: 0.25s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: #ff6d38;
}

.btn-ghost {
  border-color: rgba(244, 241, 236, 0.28);
  color: var(--ink);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.5px;
  background: #fff;
  transition: 0.25s;
}

.menu-toggle span {
  top: 19px;
}

.menu-toggle::before {
  top: 13px;
}

.menu-toggle::after {
  top: 25px;
}

.site-header.is-open .menu-toggle span {
  opacity: 0;
}

.site-header.is-open .menu-toggle::before {
  top: 19px;
  transform: rotate(45deg);
}

.site-header.is-open .menu-toggle::after {
  top: 19px;
  transform: rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) 0 80px;
}

.hero-media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: 78% 42%;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.35) 42%, rgba(5, 5, 5, 0.12) 70%, rgba(5, 5, 5, 0.55) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, transparent 30%, rgba(5, 5, 5, 0.88) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-copy h1 {
  margin: 16px 0 18px;
}

.hero-copy .lead {
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.scroll-hint {
  position: absolute;
  right: 40px;
  bottom: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--dim);
  font-size: 11px;
  letter-spacing: 0.22em;
  writing-mode: vertical-rl;
}

.scroll-hint i {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: drip 1.8s infinite;
}

@keyframes drip {
  0% { transform: scaleY(0.3); opacity: 0; transform-origin: top; }
  40% { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; transform-origin: top; }
}

/* Sections */
.section {
  padding: 120px 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: 64px;
}

.section-head h2 {
  font-size: clamp(32px, 4.6vw, 56px);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.split.reverse .split-visual {
  order: -1;
}

.split-copy h2,
.split-copy h3 {
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 14px 0 18px;
}

.split-visual {
  position: relative;
  background: radial-gradient(circle at 50% 40%, #1a1a1a 0%, #080808 70%);
  min-height: 460px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.split-visual img {
  width: min(92%, 560px);
  filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.45));
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: "Manrope", sans-serif;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.04em;
}

.stat span {
  color: var(--muted);
  font-size: 13px;
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  position: relative;
  min-height: 560px;
  background: #0a0a0a;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.product-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.05) 30%, rgba(5, 5, 5, 0.88) 100%);
}

.product-card:hover img {
  transform: scale(1.06);
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card h3 {
  font-size: 28px;
  margin: 8px 0 6px;
}

.product-card p {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 18px;
}

/* Philosophy / manifesto */
.manifesto {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(255, 90, 31, 0.08), transparent 45%),
    var(--bg);
}

.quote {
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.35;
  max-width: 16em;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: 72px;
  border: 1px solid var(--line);
}

.pillar {
  background: var(--bg);
  padding: 36px 32px 40px;
}

.pillar em {
  display: block;
  font-style: normal;
  color: var(--accent-2);
  font-size: 13px;
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}

.pillar h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.pillar p {
  color: var(--muted);
  font-size: 14px;
}

/* Feature mosaic */
.mosaic {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 18px;
}

.mosaic-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #0a0a0a;
  border: 1px solid var(--line);
}

.mosaic-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mosaic-card figcaption {
  position: absolute;
  left: 28px;
  bottom: 28px;
  right: 28px;
}

.mosaic-card h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.mosaic-card p {
  color: rgba(244, 241, 236, 0.72);
  font-size: 14px;
}

.mosaic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75));
}

.mosaic-card figcaption {
  z-index: 1;
}

.stack {
  display: grid;
  gap: 18px;
}

/* Specs */
.specs {
  background: var(--bg-soft);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 18px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.spec-table th {
  width: 28%;
  color: var(--muted);
  font-weight: 400;
}

.color-dots {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.color-dots i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.swatch-black { background: #1a1a1a; }
.swatch-gold { background: #c9a36a; }
.swatch-silver { background: #c8ccd0; }

/* CTA band */
.cta-band {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}

.cta-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85);
}

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 100%);
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-size: clamp(32px, 4vw, 52px);
  margin: 12px 0 16px;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
}

.about-facts {
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.about-facts li {
  background: var(--bg);
  padding: 22px 24px;
}

.about-facts strong {
  display: block;
  font-size: 22px;
  font-family: "Manrope", sans-serif;
}

.about-facts span {
  color: var(--muted);
  font-size: 13px;
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
}

.contact-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-list small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.16em;
  margin-bottom: 6px;
}

.form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 13px;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #0d0d0d;
  padding: 14px 14px;
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(255, 90, 31, 0.7);
}

.form-note {
  color: var(--muted);
  font-size: 13px;
}

.form-success {
  display: none;
  padding: 18px;
  border: 1px solid rgba(255, 90, 31, 0.4);
  color: var(--accent-2);
}

.form.is-sent .form-success {
  display: block;
}

.form.is-sent .form-body {
  display: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
  background: #070707;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line);
}

.footer-brand p {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
  max-width: 28em;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-cols h4,
.footer-contact h4 {
  font-size: 13px;
  letter-spacing: 0.16em;
  margin-bottom: 16px;
  color: #fff;
}

.footer-cols a,
.footer-contact p,
.footer-contact a {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-cols a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  color: var(--dim);
  font-size: 12px;
}

.footer-bottom a:hover {
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Utility */
.page-hero {
  min-height: 72vh;
}

.page-hero.page-hero--short {
  min-height: 52vh;
}

.actions-row {
  margin-top: 28px;
}

.about-title {
  font-size: clamp(32px, 4vw, 48px);
  margin: 12px 0 20px;
}

.copy-gap {
  margin-top: 18px;
}

.section--flush {
  padding-top: 0;
}

.section--soft {
  background: var(--bg-soft);
}

.boxed-note {
  border: 1px solid var(--line);
}

.page-hero .hero-media::after {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.28) 48%, rgba(5, 5, 5, 0.2) 100%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.15) 0%, transparent 36%, rgba(5, 5, 5, 0.9) 100%);
}

.hero--scene .hero-media img {
  object-fit: cover;
  object-position: center 45%;
}

/* Responsive */
@media (max-width: 980px) {
  .hero-media img {
    object-position: center 30%;
    opacity: 0.72;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.2) 0%, rgba(5, 5, 5, 0.55) 48%, rgba(5, 5, 5, 0.94) 100%);
  }
  .menu-toggle {
    display: block;
  }

  .nav {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-links,
  .nav-cta .btn {
    display: none;
  }

  .site-header.is-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: var(--nav-h) 0 0;
    background: rgba(5, 5, 5, 0.96);
    padding: 28px 28px 40px;
    gap: 22px;
    justify-content: flex-start;
  }

  .site-header.is-open .nav-cta .btn {
    display: inline-flex;
    position: fixed;
    left: 28px;
    right: 28px;
    bottom: 28px;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: 0;
    padding: 8px 0 0 12px;
  }

  .split,
  .split.reverse,
  .product-grid,
  .pillars,
  .mosaic,
  .about-grid,
  .contact-layout,
  .footer-top,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .split.reverse .split-visual {
    order: 0;
  }

  .product-card {
    min-height: 420px;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
  }

  .scroll-hint {
    display: none;
  }

  .hero {
    align-items: flex-end;
    min-height: 92vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 32px);
  }

  .section {
    padding: 80px 0;
  }

  .footer-cols,
  .footer-bottom {
    grid-template-columns: 1fr;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
