/* ===== CNTRLD CHAOS THEME CSS ===== */

/* --- RESET & BASE --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #F5F5F0;
  --fg: #111111;
  --accent: #FF3B30;
  --muted: #999999;
  --surface: #FFFFFF;
  --border: rgba(17,17,17,0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Grain texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 1.0;
  text-transform: uppercase;
}

/* --- NAV --- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 48px;
  border-bottom: 1px solid var(--border);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
}

.main-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  background: var(--bg);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.15em;
  color: var(--fg);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 48px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 80px 48px 120px;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  position: relative;
  z-index: 2;
}

.hero-overline {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(72px, 10vw, 140px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 40px;
}

.hl-control {
  display: block;
  color: var(--fg);
}

.hl-for {
  display: block;
  font-size: 0.55em;
  color: var(--muted);
  letter-spacing: 0.3em;
  margin-top: -4px;
  margin-bottom: -4px;
}

.hl-chaos {
  display: block;
  color: var(--accent);
}

.hl-made {
  display: block;
  font-size: 0.58em;
  color: var(--fg);
  margin-top: 8px;
}

.hl-mess {
  display: block;
  color: var(--fg);
}

.hero-sub {
  font-size: 15px;
  color: var(--muted);
  max-width: 340px;
  line-height: 1.7;
  font-weight: 300;
}

/* Runner visual */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 500px;
}

.runner-figure {
  position: relative;
  width: 280px;
  height: 400px;
}

.runner-silhouette {
  position: absolute;
  inset: 0;
}

.runner-head {
  position: absolute;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--fg);
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.runner-torso {
  position: absolute;
  width: 80px;
  height: 120px;
  background: var(--fg);
  top: 40px;
  left: 50%;
  transform: translateX(-50%) skewX(-6deg);
  border-radius: 4px 4px 0 0;
}

.runner-arm {
  position: absolute;
  width: 90px;
  height: 18px;
  background: var(--fg);
  top: 55px;
  border-radius: 9px;
}

.runner-arm--back {
  left: 20px;
  transform: rotate(20deg);
}

.runner-arm--front {
  right: 20px;
  transform: rotate(-30deg);
}

.runner-leg {
  position: absolute;
  width: 18px;
  height: 160px;
  background: var(--fg);
  top: 155px;
  border-radius: 9px;
}

.runner-leg--back {
  left: 108px;
  transform: rotate(15deg);
  transform-origin: top center;
}

.runner-leg--front {
  right: 108px;
  transform: rotate(-15deg);
  transform-origin: top center;
}

.ground-line {
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--fg);
}

.motion-lines {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.motion-line {
  width: 48px;
  height: 2px;
  background: var(--accent);
  opacity: 0.6;
}

.motion-line:nth-child(2) {
  width: 32px;
  opacity: 0.4;
}

.motion-line:nth-child(3) {
  width: 20px;
  opacity: 0.25;
}

.hero-badge {
  position: absolute;
  bottom: 50px;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.badge-season {
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
  text-transform: uppercase;
}

.badge-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.15em;
  color: var(--fg);
}

.hero-gradient-line {
  position: absolute;
  bottom: 80px;
  left: 48px;
  right: 48px;
  height: 1px;
  background: var(--border);
}

/* --- MANIFESTO --- */
.manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.manifesto-inner {
  padding: 100px 80px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
}

.manifesto-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: var(--border);
  line-height: 1;
}

.manifesto-text h2 {
  font-size: clamp(28px, 3vw, 44px);
  color: var(--fg);
  line-height: 1.1;
}

.manifesto-text h2 em {
  font-style: normal;
  color: var(--accent);
}

.manifesto-body {
  margin-top: 16px;
}

.manifesto-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  max-width: 380px;
}

.manifesto-visual {
  background: var(--fg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.grid-graphic {
  position: relative;
  width: 300px;
  height: 300px;
}

.grid-line {
  position: absolute;
  background: rgba(255,255,255,0.08);
}

.grid-line--h1 { top: 33%; left: 0; right: 0; height: 1px; }
.grid-line--h2 { top: 66%; left: 0; right: 0; height: 1px; }
.grid-line--h3 { bottom: 0; left: 0; right: 0; height: 1px; }
.grid-line--v1 { left: 33%; top: 0; bottom: 0; width: 1px; }
.grid-line--v2 { left: 66%; top: 0; bottom: 0; width: 1px; }
.grid-line--v3 { right: 0; top: 0; bottom: 0; width: 1px; }

.grid-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  top: 33%;
  left: 66%;
  transform: translate(-50%, -50%);
}

/* --- PRODUCT --- */
.product {
  padding: 120px 48px;
  background: var(--bg);
}

.product-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.product-title {
  font-size: clamp(48px, 7vw, 96px);
  color: var(--fg);
  margin-bottom: 12px;
}

.product-subtitle {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.product-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.product-shirt-wrap {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.shirt-body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.12));
}

.shirt-sleeve {
  width: 80px;
  height: 200px;
  background: var(--fg);
  border-radius: 8px;
  flex-shrink: 0;
}

.shirt-sleeve--left {
  transform: rotate(-8deg) translateY(10px);
  transform-origin: top center;
}

.shirt-sleeve--right {
  transform: rotate(8deg) translateY(10px);
  transform-origin: top center;
}

.shirt-torso-main {
  width: 220px;
  height: 320px;
  background: var(--fg);
  border-radius: 4px 4px 8px 8px;
  position: relative;
}

.shirt-collar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 20px;
  background: var(--bg);
  border-radius: 0 0 30px 30px;
}

.shirt-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.shirt-label span:first-child {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
}

.shirt-label span:last-child {
  font-size: 9px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
}

.fabric-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.fabric-texture {
  width: 200px;
  height: 60px;
  background: repeating-linear-gradient(
    90deg,
    rgba(17,17,17,0.04) 0px,
    rgba(17,17,17,0.04) 1px,
    transparent 1px,
    transparent 6px
  ),
  repeating-linear-gradient(
    0deg,
    rgba(17,17,17,0.04) 0px,
    rgba(17,17,17,0.04) 1px,
    transparent 1px,
    transparent 6px
  );
  border: 1px solid var(--border);
}

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

.product-details {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-name-block h3 {
  font-size: 40px;
  color: var(--fg);
  margin-bottom: 8px;
}

.product-status {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.spec-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  align-items: baseline;
}

.spec-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.spec-value {
  font-size: 14px;
  color: var(--fg);
  line-height: 1.5;
}

.product-colors {
  display: flex;
  gap: 12px;
  align-items: center;
}

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
}

.color-swatch--black {
  background: #111111;
}

.color-swatch--white {
  background: #F5F5F0;
  border-color: var(--border);
}

.color-swatch--grey {
  background: #C8C4BC;
}

.color-swatch.active {
  border-color: var(--fg);
  transform: scale(1.15);
}

/* --- DIFFERENCE --- */
.difference {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 100px 48px;
}

.difference-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.diff-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.diff-icon {
  color: var(--accent);
  width: 40px;
  height: 40px;
}

.diff-col h3 {
  font-size: 28px;
  color: var(--fg);
}

.diff-col p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
}

/* --- CLOSING --- */
.closing {
  background: var(--fg);
  color: var(--surface);
  padding: 120px 48px;
}

.closing-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.closing-quote {
  position: relative;
}

.quote-mark {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 120px;
  color: var(--accent);
  line-height: 0.7;
  margin-bottom: 24px;
  opacity: 0.6;
}

.closing-quote blockquote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 4vw, 52px);
  color: var(--surface);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.quote-attr {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 24px;
}

.closing-tagline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.tagline-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tagline-label {
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
}

.tagline-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  letter-spacing: 0.1em;
  color: var(--surface);
  line-height: 0.9;
}

.tagline-line {
  width: 60px;
  height: 2px;
  background: var(--accent);
}

.tagline-copy {
  font-size: 16px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  font-weight: 300;
  max-width: 320px;
}

/* --- FOOTER --- */
footer {
  background: var(--fg);
  color: rgba(255,255,255,0.5);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-inner {
  padding: 60px 48px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 0.15em;
  color: var(--surface);
  display: block;
  margin-bottom: 12px;
}

.footer-tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 0.15em;
  color: var(--surface);
  margin-bottom: 8px;
  font-weight: normal;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--surface);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
}

.footer-copy, .footer-note {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .topbar { padding: 10px 24px; }
  .main-nav { padding: 20px 24px; }
  .hero { padding: 60px 24px 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 300px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-visual { min-height: 240px; }
  .manifesto-inner { padding: 60px 24px; }
  .product { padding: 80px 24px; }
  .product-card { grid-template-columns: 1fr; gap: 40px; }
  .difference-inner { grid-template-columns: 1fr; gap: 48px; }
  .closing { padding: 80px 24px; }
  .closing-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
  .nav-links { display: none; }
}