/* ============================================
   FURPAREL — Urban Outdoors
   slate grey / matte black / olive green / safety orange
   ============================================ */

:root {
  --black: #14161a;
  --black-2: #1c1f24;
  --slate: #4a525c;
  --slate-light: #7a8794;
  --slate-mist: #eef1f3;
  --olive: #5c6b3f;
  --olive-deep: #46512f;
  --orange: #ff5a1f;
  --orange-deep: #d6440f;
  --silver: #c7ced4;
  --cream: #f6f4ef;
  --white: #ffffff;

  --font-display: "Montserrat", sans-serif;
  --font-body: "Inter", sans-serif;

  --container: 1180px;
  --radius: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

a { color: inherit; text-decoration: none; }

/* subtle grain texture overlay for that "outdoor gear" analog feel */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 239, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 22, 26, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--black);
  text-transform: lowercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
}

.header-nav a:hover { color: var(--black); }

.nav-cta {
  background: var(--black);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--orange); color: var(--white) !important; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--black);
  color: var(--cream);
  padding: 120px 0 96px;
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 900px 500px at 85% -10%, rgba(92, 107, 63, 0.35), transparent 60%),
    radial-gradient(ellipse 700px 400px at -10% 110%, rgba(255, 90, 31, 0.18), transparent 60%);
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
  display: inline-block;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
  color: var(--white);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: var(--silver);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  display: inline-block;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(246, 244, 239, 0.35);
}
.btn-ghost:hover { border-color: var(--cream); transform: translateY(-1px); }

.hero-meta {
  font-size: 13px;
  color: var(--slate-light);
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  display: inline-block;
  box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.2);
}

/* ---------- marquee ---------- */

.marquee {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 14px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  gap: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  animation: scroll-left 32s linear infinite;
}

.marquee-track span { opacity: 0.85; }

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- halloween ---------- */

.halloween {
  background: var(--cream);
  padding: 110px 0;
}

.halloween-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.eyebrow-alt { color: var(--olive-deep); }

.halloween-copy h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
  color: var(--black);
}

.halloween-copy p {
  font-size: 16px;
  color: var(--slate);
  max-width: 480px;
  margin-bottom: 28px;
}

.halloween-facts {
  list-style: none;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.halloween-facts li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 15px;
  color: var(--black);
  font-weight: 500;
}

.fact-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  color: var(--orange);
  min-width: 22px;
}

.halloween-visual {
  position: relative;
  height: 420px;
}

.visual-card {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(20, 22, 26, 0.28);
}

.card-1 {
  width: 62%;
  height: 320px;
  top: 0;
  left: 0;
  z-index: 2;
}

.card-2 {
  width: 52%;
  height: 260px;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.visual-fill {
  width: 100%;
  height: 100%;
  background:
    linear-gradient(135deg, var(--slate) 0%, var(--black) 100%);
}

.card-2 .visual-fill {
  background: linear-gradient(135deg, var(--olive) 0%, var(--olive-deep) 100%);
}

.visual-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 3;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--cream);
  background: rgba(20, 22, 26, 0.4);
  padding: 6px 12px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
}

/* ---------- rotation ---------- */

.rotation {
  background: var(--black);
  color: var(--cream);
  padding: 110px 0;
}

.eyebrow-center { text-align: center; display: block; }

.rotation-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  text-align: center;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--white);
}

.rotation-sub {
  text-align: center;
  color: var(--silver);
  max-width: 560px;
  margin: 0 auto 64px;
  font-size: 16px;
}

.rotation-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.rotation-card {
  background: var(--black-2);
  border: 1px solid rgba(246, 244, 239, 0.08);
  border-radius: var(--radius);
  padding: 24px 20px 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.rotation-card:hover {
  transform: translateY(-4px);
  border-color: rgba(246, 244, 239, 0.22);
}

.rotation-card.is-active {
  border-color: var(--orange);
  background: linear-gradient(160deg, var(--black-2) 0%, rgba(255, 90, 31, 0.08) 100%);
}

.rotation-swatch {
  width: 100%;
  height: 96px;
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.swatch-orange { background: linear-gradient(135deg, var(--orange) 0%, var(--orange-deep) 100%); }
.swatch-olive { background: linear-gradient(135deg, var(--olive) 0%, var(--olive-deep) 100%); }
.swatch-slate { background: linear-gradient(135deg, var(--slate-light) 0%, var(--slate) 100%); }
.swatch-silver { background: linear-gradient(135deg, var(--silver) 0%, var(--slate-light) 100%); }
.swatch-orange-2 { background: linear-gradient(135deg, var(--orange-deep) 0%, var(--olive-deep) 100%); }

.rotation-season {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 8px;
}

.rotation-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--white);
}

.rotation-card p {
  font-size: 13px;
  color: var(--slate-light);
  line-height: 1.5;
}

/* ---------- shop / product grid ---------- */

.shop-season {
  padding: 90px 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(20, 22, 26, 0.06);
}

.shop-season[data-season="fall"],
.shop-season[data-season="summer"] {
  background: var(--slate-mist);
}

.shop-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--black);
  text-transform: lowercase;
}

.shop-sub {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 36px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20, 22, 26, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(20, 22, 26, 0.18);
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--slate-mist);
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 14px 2px;
  color: var(--black);
}

.product-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange-deep);
  padding: 0 14px 14px;
}

/* ---------- shop / product grid ---------- */

.shop-season {
  padding: 90px 0;
  background: var(--cream);
  border-bottom: 1px solid rgba(20, 22, 26, 0.08);
}

.shop-season[data-season="fall"],
.shop-season[data-season="summer"] {
  background: #eee9df;
}

.shop-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 38px);
  text-transform: lowercase;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--black);
}

.shop-sub {
  font-size: 15px;
  color: var(--slate);
  margin-bottom: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(20, 22, 26, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -12px rgba(20, 22, 26, 0.18);
}

.product-img {
  aspect-ratio: 1 / 1;
  background: var(--slate-mist);
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  padding: 14px 14px 2px;
  color: var(--black);
}

.product-price {
  font-size: 13px;
  color: var(--orange-deep);
  font-weight: 700;
  padding: 0 14px 16px;
}

/* ---------- promise ---------- */

.promise {
  background: var(--cream);
  padding: 96px 0;
  border-bottom: 1px solid rgba(20, 22, 26, 0.08);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.promise-item h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  text-transform: lowercase;
  margin-bottom: 12px;
  color: var(--olive-deep);
}

.promise-item p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

/* ---------- preorder ---------- */

.preorder {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 110px 0;
}

.preorder-inner { text-align: center; max-width: 560px; margin: 0 auto; }

.preorder-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 42px);
  margin-bottom: 18px;
  color: var(--white);
}

.preorder-sub {
  font-size: 16px;
  color: rgba(246, 244, 239, 0.8);
  margin-bottom: 36px;
}

.preorder-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.preorder-form input {
  flex: 1;
  min-width: 240px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(246, 244, 239, 0.25);
  background: rgba(20, 22, 26, 0.2);
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
}

.preorder-form input::placeholder { color: rgba(246, 244, 239, 0.5); }
.preorder-form input:focus { outline: 2px solid var(--orange); outline-offset: 2px; }

.preorder-status {
  margin-top: 16px;
  font-size: 14px;
  color: var(--orange);
  min-height: 20px;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--black);
  color: var(--slate-light);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.wordmark-small { font-size: 16px; color: var(--cream); }

.footer-note { font-size: 13px; color: var(--slate-light); }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .header-nav { gap: 18px; font-size: 13px; }
  .halloween-grid { grid-template-columns: 1fr; }
  .halloween-visual { height: 320px; margin-top: 24px; }
  .rotation-grid { grid-template-columns: repeat(2, 1fr); }
  .promise-grid { grid-template-columns: 1fr; gap: 32px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 560px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 96px 0 72px; }
  .header-nav a:not(.nav-cta) { display: none; }
  .rotation-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Cart bar + add-to-cart --- */
#cart-bar{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);display:none;align-items:center;gap:18px;background:#16181c;border:1px solid rgba(255,255,255,.14);border-radius:999px;padding:10px 12px 10px 22px;z-index:60;box-shadow:0 12px 40px rgba(0,0,0,.45)}
#cart-count{font-family:'Inter',sans-serif;font-size:.9rem;color:#e8e6e1;white-space:nowrap}
#cart-bar .btn{padding:10px 22px;border-radius:999px}
.btn-cart{margin-top:10px;width:100%;padding:9px 0;font-family:'Montserrat',sans-serif;font-weight:600;font-size:.78rem;letter-spacing:.06em;text-transform:lowercase;background:transparent;border:1px solid rgba(255,255,255,.22);color:#e8e6e1;border-radius:8px;cursor:pointer;transition:all .15s ease}
.btn-cart:hover{background:#ff6a2b;border-color:#ff6a2b;color:#101114}
