/* OFF TASK - A24 meets streetwear */
:root {
  --bg-primary: #0d0d0d;
  --bg-secondary: #141414;
  --bg-card: #1a1a1a;
  --fg-primary: #e8e0d4;
  --fg-secondary: #a09888;
  --fg-dim: #5a5248;
  --accent: #c4a882;
  --accent-warm: #d4956a;
  --sticky-yellow: #e8d44d;
  --sticky-bg: #f5e77f;
  --cream: #f0e8dc;
  --font-main: 'Space Grotesk', sans-serif;
  --font-hand: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg-primary);
  color: var(--fg-primary);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 5rem 2rem 2rem;
  overflow: hidden;
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.brand-mark {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 10rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
  margin-bottom: 2rem;
}

.brand-prefix {
  color: var(--fg-primary);
  display: block;
}

.brand-suffix {
  color: var(--accent);
  display: block;
  position: relative;
}

.brand-suffix::after {
  content: '';
  position: absolute;
  bottom: 0.1em;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-warm);
  opacity: 0.4;
}

.hero-tagline {
  margin-bottom: 3rem;
}

.tagline-main {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  color: var(--fg-secondary);
  letter-spacing: 0.02em;
}

.tagline-turn {
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  font-weight: 400;
  color: var(--fg-primary);
  margin-top: 0.3rem;
}

.handwritten {
  font-family: var(--font-hand);
  font-size: 1.3em;
  color: var(--accent);
  font-weight: 600;
}

.hero-sticky-note {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.sticky {
  background: var(--sticky-bg);
  color: #1a1a1a;
  padding: 1rem 1.5rem;
  font-family: var(--font-hand);
  font-size: 1.2rem;
  font-weight: 500;
  transform: rotate(-2deg);
  box-shadow: 2px 3px 12px rgba(0,0,0,0.4);
  position: relative;
  line-height: 1.4;
}

.sticky.small {
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  transform: rotate(1.5deg);
}

.sticky-text { display: block; }

.browser-tabs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  overflow-x: auto;
  gap: 0;
  z-index: 2;
  background: var(--bg-secondary);
  border-top: 1px solid #2a2a2a;
}

.tab {
  padding: 0.6rem 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--fg-dim);
  white-space: nowrap;
  border-right: 1px solid #2a2a2a;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.tab.active {
  background: var(--bg-primary);
  color: var(--fg-primary);
  border-bottom: 2px solid var(--accent);
}

/* ---- MANIFESTO ---- */
.manifesto {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}

.manifesto::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-dim), transparent);
}

.manifesto-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.manifesto-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
  margin-bottom: 3rem;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.manifesto-headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg-primary);
}

.manifesto-right p {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.manifesto-highlight {
  color: var(--fg-primary) !important;
  font-weight: 400 !important;
  border-left: 2px solid var(--accent);
  padding-left: 1.2rem;
}

/* Glitch text */
.glitch {
  position: relative;
  display: inline-block;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
}

.glitch:hover::before {
  opacity: 0.8;
  color: var(--accent-warm);
  animation: glitch-1 0.3s infinite;
}

.glitch:hover::after {
  opacity: 0.8;
  color: var(--accent);
  animation: glitch-2 0.3s infinite;
}

@keyframes glitch-1 {
  0% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, 1px); }
  20% { clip-path: inset(60% 0 10% 0); transform: translate(2px, -1px); }
  40% { clip-path: inset(40% 0 30% 0); transform: translate(-1px, 2px); }
  60% { clip-path: inset(10% 0 70% 0); transform: translate(1px, -2px); }
  80% { clip-path: inset(50% 0 20% 0); transform: translate(-2px, 0); }
  100% { clip-path: inset(30% 0 40% 0); transform: translate(2px, 1px); }
}

@keyframes glitch-2 {
  0% { clip-path: inset(70% 0 10% 0); transform: translate(2px, -1px); }
  20% { clip-path: inset(10% 0 50% 0); transform: translate(-2px, 2px); }
  40% { clip-path: inset(50% 0 30% 0); transform: translate(1px, -1px); }
  60% { clip-path: inset(30% 0 50% 0); transform: translate(-1px, 1px); }
  80% { clip-path: inset(60% 0 20% 0); transform: translate(2px, 0); }
  100% { clip-path: inset(20% 0 60% 0); transform: translate(-2px, -1px); }
}

/* ---- IDENTITY ---- */
.identity {
  padding: 8rem 2rem;
  background: var(--bg-primary);
}

.identity-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.identity-label {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 3rem;
}

.identity-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.id-card {
  background: var(--bg-card);
  border: 1px solid #2a2a2a;
  padding: 2.5rem;
  transition: border-color 0.3s ease;
}

.id-card:hover {
  border-color: var(--accent);
}

.id-icon {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-weight: 700;
}

.id-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.8rem;
  letter-spacing: -0.01em;
}

.id-card p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  font-weight: 300;
  line-height: 1.6;
}

/* ---- PRODUCTS ---- */
.products {
  padding: 8rem 2rem;
  background: var(--bg-secondary);
  position: relative;
}

.products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--fg-dim), transparent);
}

.products-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.products-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

.products-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-top: 1rem;
  margin-bottom: 4rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-item {
  position: relative;
}

.product-swatch {
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 1.5rem;
  position: relative;
}

.product-swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%);
}

.product-category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.product-info p {
  font-size: 0.95rem;
  color: var(--fg-secondary);
  font-weight: 300;
  line-height: 1.6;
}

.product-note {
  display: flex;
  justify-content: flex-end;
  margin-top: 2rem;
}

/* ---- CLOSING ---- */
.closing {
  padding: 10rem 2rem 6rem;
  text-align: center;
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.closing-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.closing-headline {
  font-family: var(--font-hand);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}

.closing-sub {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-dim);
  letter-spacing: 0.1em;
}

.closing-glitch {
  margin-top: 4rem;
  overflow: hidden;
}

.glitch-line {
  display: block;
  font-family: var(--font-main);
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--fg-primary);
  white-space: nowrap;
  opacity: 0.15;
  line-height: 1.4;
}

.glitch-line.dim { opacity: 0.08; }
.glitch-line.dimmer { opacity: 0.03; }

/* ---- LANDING NAV ---- */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(13, 13, 13, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1a1a;
}

.landing-nav-brand {
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.landing-nav-cta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.1em;
  transition: letter-spacing 0.2s, color 0.2s;
}

.landing-nav-cta:hover {
  color: var(--fg-primary);
  letter-spacing: 0.15em;
}

/* ---- HERO CTA ---- */
.hero-cta-row {
  margin-top: 2.5rem;
}

.hero-shop-btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  background: var(--fg-primary);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: background 0.2s, transform 0.15s;
}

.hero-shop-btn:hover {
  background: var(--cream);
  transform: translateY(-2px);
}

/* ---- PRODUCT ITEM LINK ---- */
.product-item-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.25s ease;
}

.product-item-link:hover {
  transform: translateY(-2px);
}

.product-shop-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent);
  letter-spacing: 0.1em;
  transition: letter-spacing 0.2s;
}

.product-item-link:hover .product-shop-link {
  letter-spacing: 0.15em;
}

/* ---- FOOTER ---- */
.site-footer {
  padding: 2rem;
  border-top: 1px solid #1a1a1a;
  background: var(--bg-primary);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand {
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.footer-year {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  margin-left: 1rem;
}

.footer-line {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--fg-dim);
  letter-spacing: 0.05em;
}

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .manifesto-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .identity-cards {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .product-swatch {
    aspect-ratio: 16/9;
  }

  .hero {
    padding-bottom: 4rem;
  }

  .browser-tabs {
    display: none;
  }

  .manifesto,
  .identity,
  .products {
    padding: 5rem 1.5rem;
  }

  .closing {
    padding: 6rem 1.5rem 4rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-mark {
    font-size: 3.5rem;
  }

  .manifesto-headline {
    font-size: 1.6rem;
  }

  .products-title {
    font-size: 2rem;
  }
}