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

:root {
  --bg: #050506;
  --bg-alt: #0c0d10;
  --card: #111217;
  --card-alt: #151720;
  --border-subtle: #242632;
  --accent: #f5f5f5;
  --accent-soft: rgba(245, 245, 245, 0.08);
  --accent-red: #777777;
  --text-main: #f4f4f6;
  --text-muted: #9a9eaa;
  --text-soft: #7b7f8b;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.6);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shell: min(1120px, 100% - 3rem);
  --nav-height: 72px;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #181920 0, var(--bg) 52%);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(14px);
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 6, 0.9),
    rgba(5, 5, 6, 0.75),
    transparent
  );
  border-bottom: 1px solid rgba(77, 81, 96, 0.28);
}

.site-header > .shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
}

.brand-mark {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 2px;
}

.brand-main {
  letter-spacing: 0.15em;
  font-weight: 600;
  font-size: 0.98rem;
  text-transform: uppercase;
}

.brand-sub {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-size: 0.63rem;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-red));
  transition: width 160ms ease-out;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.site-nav a.active {
  color: var(--text-main);
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  position: relative;
  padding-bottom: 6rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3.5rem;
  align-items: center;
  padding-top: 3.5rem;
}

.label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero-copy h1 {
  font-size: clamp(2.6rem, 4vw, 3.4rem);
  line-height: 1.04;
  margin-bottom: 1.1rem;
}

.lede,
.hero-copy .lede {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 34rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  color: var(--text-main);
  transition: background 160ms ease-out, color 160ms ease-out,
    border-color 160ms ease-out, transform 80ms ease-out,
    box-shadow 160ms ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-red));
  border-color: transparent;
  color: #020203;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

.btn.ghost {
  background: rgba(15, 16, 20, 0.9);
  backdrop-filter: blur(6px);
}

.btn.ghost:hover {
  border-color: var(--accent);
}

.btn.full-width {
  width: 100%;
}

.hero-footnote {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.hero-visual {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, #1a1b23 0, #090a0d 60%);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  border: 1px solid rgba(87, 91, 108, 0.65);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top right,
    rgba(73, 255, 115, 0.25),
    transparent 52%
  );
  opacity: 0.65;
  pointer-events: none;
}

.hero-logo-lockup {
  padding: 1.4rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(3, 3, 5, 0.8);
  border: 1px solid rgba(118, 123, 140, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-lockup img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero-panel {
  position: relative;
  z-index: 1;
  padding: 1.3rem 1.1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(10, 11, 15, 0.96);
  border: 1px solid rgba(87, 91, 108, 0.6);
}

.panel-tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.5rem;
}

.panel-head {
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}

.panel-body {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2.6rem;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(118, 123, 140, 0.5);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-decoration: none;
}

.scroll-indicator span {
  width: 2px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  margin-top: 6px;
  animation: scroll 1100ms ease-in-out infinite;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(11px);
    opacity: 0;
  }
}

.section {
  padding-block: 4.5rem;
}

.section-alt {
  background: radial-gradient(circle at top, #191b24 0, #050506 52%);
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: 1.6rem;
  margin-bottom: 0.3rem;
}

.section-lede {
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.grid {
  display: grid;
  gap: 1.9rem;
}

.lookbook-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border-radius: var(--radius-md);
  padding: 1.6rem 1.5rem;
  background: radial-gradient(circle at top, var(--card-alt) 0, var(--card) 52%);
  border: 1px solid rgba(72, 76, 93, 0.7);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.55rem;
}

.card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.piece-label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.8rem;
}

.spec-list {
  list-style: none;
  margin-top: 0.9rem;
  margin-bottom: 0.7rem;
  font-size: 0.82rem;
  color: var(--text-soft);
}

.spec-list li + li {
  margin-top: 0.25rem;
}

.text-link {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.text-link:hover {
  text-decoration: underline;
}

.system-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.1fr);
  gap: 3.2rem;
  align-items: flex-start;
}

.system-grid h2 {
  font-size: 1.72rem;
  margin-bottom: 0.4rem;
}

.system-grid > div > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.pillars {
  display: grid;
  gap: 1rem;
}

.pillars article {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-sm);
  background: rgba(5, 6, 10, 0.95);
  border: 1px solid rgba(76, 80, 96, 0.8);
}

.pillars h3 {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.pillars p {
  font-size: 0.84rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.8rem;
  align-items: center;
}

.cta-grid h2 {
  font-size: 1.5rem;
  margin-bottom: 0.45rem;
}

.cta-grid p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.cta-actions {
  display: grid;
  gap: 0.8rem;
}

.page {
  padding-top: 3.25rem;
}

.page .section {
  padding-top: 3rem;
}

.narrow {
  max-width: 46rem;
}

.copy-block {
  margin-top: 2.6rem;
}

.copy-block h2 {
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
}

.copy-block p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.7;
}

.copy-block p + p {
  margin-top: 0.9rem;
}

.copy-grid {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.copy-grid h3 {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.copy-grid p {
  font-size: 0.88rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.shop-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.7rem;
  align-items: flex-start;
  margin-bottom: 2.8rem;
}

.shop-intro .lede {
  margin-top: 0.75rem;
}

.shop-note {
  font-size: 0.78rem;
  color: var(--text-soft);
  padding: 1rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(8, 9, 12, 0.96);
  border: 1px dashed rgba(100, 105, 122, 0.85);
}

.shop-note code {
  font-size: 0.78rem;
  background: rgba(34, 36, 44, 0.9);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.product-tag {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 0.7rem;
}

.product h2 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
}

.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.product-price {
  margin-top: 0.9rem;
  font-weight: 600;
  font-size: 0.94rem;
}

.cart-shell {
  max-width: 880px;
}

.cart {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 1.9rem;
}

.cart-header h2 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.cart-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-items {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 9, 12, 0.98);
  border: 1px solid rgba(65, 69, 86, 0.88);
  min-height: 120px;
}

.cart-empty {
  font-size: 0.86rem;
  color: var(--text-soft);
}

.cart-item {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) auto auto;
  gap: 0.9rem;
  align-items: center;
  font-size: 0.86rem;
  padding-block: 0.35rem;
}

.cart-item + .cart-item {
  border-top: 1px solid rgba(50, 53, 70, 0.9);
  margin-top: 0.35rem;
  padding-top: 0.7rem;
}

.cart-item-title {
  font-weight: 500;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--text-soft);
}

.cart-qty-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 15, 20, 0.98);
  border-radius: 999px;
  border: 1px solid rgba(72, 76, 93, 0.9);
  padding: 0.12rem 0.4rem;
}

.cart-qty-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  width: 18px;
  height: 18px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.76rem;
}

.cart-qty-btn:hover {
  background: rgba(79, 83, 102, 0.6);
}

.cart-qty-count {
  min-width: 1.4rem;
  text-align: center;
  font-size: 0.78rem;
}

.cart-summary {
  padding: 1.2rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(8, 9, 12, 0.98);
  border: 1px solid rgba(65, 69, 86, 0.88);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
}

.cart-note {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.cart-note code {
  font-size: 0.78rem;
  background: rgba(34, 36, 44, 0.9);
  padding: 0.15rem 0.35rem;
  border-radius: 4px;
}

.site-footer {
  border-top: 1px solid rgba(54, 57, 70, 0.9);
  padding-block: 1.5rem;
  margin-top: 1.5rem;
  background: linear-gradient(
    to top,
    rgba(5, 5, 6, 1),
    rgba(5, 5, 6, 0.92),
    transparent
  );
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
}

.footer-brand {
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.footer-sub {
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-soft);
}

.footer-meta {
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-soft);
}

.footer-small {
  margin-top: 0.25rem;
  font-size: 0.7rem;
}

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    order: -1;
    justify-content: flex-start;
  }

  .system-grid,
  .cta-grid,
  .shop-intro,
  .cart {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .site-header > .shell {
    gap: 1rem;
  }

  .site-nav {
    gap: 1rem;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: min(100% - 1.8rem, 720px);
  }

  .hero {
    padding-bottom: 4.5rem;
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .lookbook-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .footer-meta {
    text-align: left;
  }

  .site-nav {
    font-size: 0.78rem;
  }
}

.brand-mark, .brand-main { color: #ffffff !important; }
