/* ==========================================================================
   PANTHER — v3 StyleSheet
   Clean, professional, works WITHOUT JavaScript
   ========================================================================== */

:root {
  --bg: #0a0a0a;
  --bg2: #0f0f0f;
  --card: #141414;
  --border: #1e1e1e;
  --border2: #2a2a2a;
  --text: #fafafa;
  --muted: #a3a3a3;
  --dim: #525252;
  --white: #ffffff;
  --font-d: 'Syne', system-ui, sans-serif;
  --font-b: 'Space Grotesk', system-ui, sans-serif;
  --mono: ui-monospace, monospace;
  --max: 1200px;
  --pad: 1.5rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
body { font-family: var(--font-b); color: var(--text); background: var(--bg); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; }
::selection { background: rgba(255,255,255,0.12); }

.container { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header--left { text-align: left; margin-bottom: 2rem; }
.section-eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dim); margin-bottom: 1rem; }
.section-title { font-family: var(--font-d); font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; }
.section-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); color: var(--muted); margin-top: 0.75rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.875rem 2rem; font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.03em; text-transform: uppercase; border-radius: 2px; transition: all 250ms cubic-bezier(0.4,0,0.2,1); white-space: nowrap; }
.btn--primary { background: var(--white); color: var(--bg); }
.btn--primary:hover { background: #e5e5e5; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(255,255,255,0.1); }
.btn--outline { border: 1px solid var(--border2); color: var(--text); }
.btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.04); }
.btn--sm { padding: 0.625rem 1.25rem; font-size: 0.75rem; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 1rem var(--pad); background: rgba(10,10,10,0.7); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: all 250ms; }
.nav.scrolled { background: rgba(10,10,10,0.95); border-bottom: 1px solid var(--border); }
.nav__inner { max-width: var(--max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 44px; }
.nav__logo { font-family: var(--font-d); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.08em; }
.nav__links { display: flex; gap: 2rem; }
.nav__link { font-size: 0.8125rem; font-weight: 500; color: var(--muted); transition: color 150ms; position: relative; }
.nav__link::after { content:''; position: absolute; bottom: -4px; left: 0; width: 0; height: 1px; background: var(--white); transition: width 250ms; }
.nav__link:hover { color: var(--text); }
.nav__link:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--text); transition: all 250ms; border-radius: 1px; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 6rem var(--pad); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.hero__bg-overlay { position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 40%, transparent 0%, rgba(10,10,10,0.9) 100%); }
.hero__content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero__eyebrow { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.2em; color: var(--dim); margin-bottom: 1.5rem; }
.hero__title { font-family: var(--font-d); font-size: clamp(3rem, 10vw, 7rem); font-weight: 800; line-height: 1.0; letter-spacing: -0.04em; text-transform: uppercase; }
.hero__line { display: block; }
.hero__subtitle { font-size: clamp(1rem, 2vw, 1.375rem); color: var(--muted); margin-top: 1.5rem; max-width: 500px; margin-left: auto; margin-right: auto; line-height: 1.7; }
.hero__cta { margin-top: 3rem; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: var(--dim); font-size: 0.6875rem; letter-spacing: 0.15em; text-transform: uppercase; }

/* Animation classes — JS adds .is-visible, CSS handles the rest */
.reveal-text { opacity: 0; transform: translateY(40px); }
.scroll-reveal { opacity: 0; transform: translateY(60px); }
.is-visible { opacity: 1 !important; transform: translateY(0) !important; transition: opacity 800ms cubic-bezier(0.16,1,0.3,1), transform 800ms cubic-bezier(0.16,1,0.3,1); }

/* MARQUEE */
.marquee { overflow: hidden; white-space: nowrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.25rem 0; background: var(--bg2); }
.marquee__track { display: inline-flex; gap: 1.5rem; animation: scroll-x 28s linear infinite; }
.marquee__track span { font-family: var(--font-d); font-size: 1.125rem; font-weight: 700; letter-spacing: 0.05em; color: var(--dim); text-transform: uppercase; }
.marquee__track .dot { color: var(--border2); }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SHOP */
.shop { padding: 6rem var(--pad); }
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; max-width: var(--max); margin: 0 auto; }
.product { transition: opacity 800ms, transform 800ms; }
.product__media { position: relative; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--card); }
.product__img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms cubic-bezier(0.25,0.46,0.45,0.94); }
.product:hover .product__img { transform: scale(1.05); }
.product__badge { position: absolute; top: 1rem; left: 1rem; background: var(--white); color: var(--bg); font-size: 0.625rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; padding: 4px 10px; border-radius: 2px; z-index: 2; }
.product__badge--hot { background: #ef4444; color: white; }
.product__overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.55); opacity: 0; transition: opacity 250ms; }
.product__overlay span { padding: 0.5rem 1.5rem; background: var(--white); color: var(--bg); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; border-radius: 2px; }
.product:hover .product__overlay { opacity: 1; }
.product__info { padding-top: 1.5rem; }
.product__cat { font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 0.25rem; }
.product__name { font-family: var(--font-d); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.product__colors { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.swatch { width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--border2); }
.swatch--black { background: #1a1a1a; }
.swatch--white { background: #f5f5f5; }
.product__bottom { display: flex; align-items: center; justify-content: space-between; }
.product__price { font-size: 1.125rem; font-weight: 500; color: var(--muted); }
.product__price .cur { font-size: 0.875rem; color: var(--dim); }

.features { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; max-width: var(--max); margin: 4rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.feature { display: flex; gap: 1rem; }
.feature__icon { width: 32px; height: 32px; flex-shrink: 0; color: var(--muted); }
.feature h4 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.feature p { font-size: 0.8125rem; color: var(--dim); }
.feature-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; max-width: var(--max); margin: 4rem auto 0; padding-top: 2.5rem; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-bottom: 2.5rem; }

/* LOOKBOOK */
.lookbook { padding: 6rem 0; background: var(--bg2); }
.lookbook .section-header { max-width: var(--max); margin-left: auto; margin-right: auto; padding: 0 var(--pad); }
.lookbook__grid { display: grid; grid-template-columns: repeat(4,1fr); grid-auto-rows: 220px; gap: 4px; max-width: 1400px; margin: 0 auto; padding: 0 var(--pad); }
.lookbook__item { overflow: hidden; border-radius: 2px; }
.lookbook__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 800ms; }
.lookbook__item:hover img { transform: scale(1.05); }
.lookbook__item--tall { grid-row: span 2; }
.lookbook__item--wide { grid-column: span 2; }

/* STORY */
.story { padding: 6rem var(--pad); }
.story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: var(--max); margin: 0 auto; }
.story__pillars { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }
.pillar { padding: 1.5rem; background: var(--card); border: 1px solid var(--border); border-radius: 4px; transition: all 250ms; }
.pillar:hover { border-color: var(--border2); transform: translateY(-3px); }
.pillar__num { font-family: var(--mono); font-size: 0.75rem; font-weight: 600; color: var(--dim); display: block; margin-bottom: 0.5rem; }
.pillar__title { font-family: var(--font-d); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }
.pillar__desc { font-size: 0.875rem; color: var(--dim); line-height: 1.7; }
.story__media { position: relative; }
.story__visual { position: sticky; top: 100px; height: 600px; overflow: hidden; border-radius: 4px; }
.story__img { width: 100%; height: 100%; object-fit: cover; position: absolute; }
.story__img--top { z-index: 2; clip-path: polygon(0 0, 100% 0, 100% 55%, 0 55%); }
.story__img--bottom { z-index: 1; clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%); opacity: 0.5; }

/* AFFILIATE */
.affiliate { padding: 6rem var(--pad); background: var(--bg2); border-top: 1px solid var(--border); }
.affiliate__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; max-width: var(--max); margin: 0 auto; }
.affiliate__stats { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.stat { display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-d); font-size: 2.5rem; font-weight: 700; line-height: 1; }
.stat__label { font-size: 0.8125rem; color: var(--dim); margin-top: 0.25rem; }
.affiliate__benefits { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }
.affiliate__benefits li { display: flex; align-items: center; gap: 0.75rem; font-size: 0.875rem; color: var(--muted); }
.affiliate__benefits li::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: var(--white); flex-shrink: 0; }
.affiliate__cta { margin-top: 2rem; }
.affiliate__visual { position: relative; }
.affiliate__card { position: sticky; top: 100px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.card__header { padding: 1rem 1.5rem; background: var(--bg); border-bottom: 1px solid var(--border); font-size: 0.625rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.15em; color: var(--dim); }
.card__body { padding: 3rem 1.5rem; text-align: center; }
.card__code { font-family: var(--mono); font-size: 2rem; font-weight: 700; letter-spacing: 0.05em; color: var(--white); margin-bottom: 1rem; }
.card__desc { font-size: 0.875rem; color: var(--dim); line-height: 1.8; }
.card__footer { display: flex; padding: 1.5rem; background: var(--bg); border-top: 1px solid var(--border); }
.card__metric { flex: 1; text-align: center; }
.card__metric:first-child { border-right: 1px solid var(--border); }
.card__metric-num { display: block; font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; }
.card__metric-label { display: block; font-size: 0.75rem; color: var(--dim); margin-top: 0.25rem; }

/* NEWSLETTER */
.newsletter { padding: 6rem var(--pad); text-align: center; }
.newsletter .container { max-width: 600px; }
.newsletter__form { display: flex; gap: 0.5rem; margin-top: 2rem; }
.newsletter__input { flex: 1; padding: 0.875rem 1rem; background: var(--card); border: 1px solid var(--border2); border-radius: 2px; color: var(--text); font-family: var(--font-b); font-size: 0.875rem; }
.newsletter__input:focus { outline: none; border-color: var(--white); }
.newsletter__input::placeholder { color: var(--dim); }
.newsletter__success { margin-top: 1rem; color: var(--muted); font-size: 0.875rem; }

/* FOOTER */
.footer { padding: 5rem var(--pad) 2rem; background: var(--bg2); border-top: 1px solid var(--border); }
.footer__grid { display: grid; grid-template-columns: 2fr repeat(3,1fr); gap: 3rem; max-width: var(--max); margin: 0 auto; margin-bottom: 3rem; }
.footer__logo { font-family: var(--font-d); font-size: 1.5rem; font-weight: 700; letter-spacing: 0.05em; display: inline-block; margin-bottom: 0.75rem; }
.footer__tag { color: var(--dim); font-size: 0.875rem; margin-bottom: 1.25rem; }
.footer__social { display: flex; gap: 0.75rem; }
.footer__social-link { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); border-radius: 50%; color: var(--dim); transition: all 250ms; }
.footer__social-link:hover { border-color: var(--white); color: var(--white); transform: translateY(-2px); }
.footer__social-link svg { width: 18px; height: 18px; }
.footer__col h4 { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); margin-bottom: 1rem; }
.footer__col a { display: block; font-size: 0.875rem; color: var(--muted); margin-bottom: 0.5rem; transition: color 150ms; }
.footer__col a:hover { color: var(--text); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 1.5rem; border-top: 1px solid var(--border); max-width: var(--max); margin: 0 auto; }
.footer__bottom p { font-size: 0.75rem; color: var(--dim); }
.footer__legal { display: flex; gap: 1.5rem; }
.footer__legal a { font-size: 0.75rem; color: var(--dim); transition: color 150ms; }
.footer__legal a:hover { color: var(--text); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .story__grid, .affiliate__grid { grid-template-columns: 1fr; gap: 3rem; }
  .story__visual { position: relative; top: 0; height: 400px; margin-bottom: 2rem; }
  .affiliate__card { position: relative; top: 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .lookbook__grid { grid-template-columns: repeat(2,1fr); grid-auto-rows: 200px; }
  .feature-strip { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 768px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: rgba(10,10,10,0.98); flex-direction: column; padding: 1rem var(--pad); gap: 1rem; border-bottom: 1px solid var(--border); }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .product-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; text-align: center; }
  .footer__social { justify-content: center; }
  .footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }
  .newsletter__form { flex-direction: column; }
  .lookbook__grid { grid-template-columns: 1fr; grid-auto-rows: 250px; }
  .lookbook__item--wide, .lookbook__item--tall { grid-column: span 1; grid-row: span 1; }
  .affiliate__stats { flex-wrap: wrap; }
}
@media (max-width: 480px) { :root { --pad: 1rem; } }