/*
Theme Name: Le Rêve
Theme URI: https://lereve-hoodies.com
Author: Le Rêve
Description: Black & orange streetwear theme for the Le Rêve hoodie brand. Pages: Home (front page), Product, Support.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: lereve
*/

:root {
  --bg: oklch(0.15 0.006 55);
  --bg2: oklch(0.19 0.006 55);
  --line: oklch(0.3 0.01 55 / 0.6);
  --text: oklch(0.96 0.004 55);
  --muted: oklch(0.75 0.01 55);
  --dim: oklch(0.55 0.01 55);
  --orange: oklch(0.68 0.19 45);
  --orange-hover: oklch(0.78 0.17 50);
  --ink: oklch(0.12 0.01 55);
  --display: 'Bebas Neue', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); overflow-x: hidden; }
::selection { background: var(--orange); color: var(--bg); }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hover); }
img { max-width: 100%; display: block; }

/* ---------- Nav ---------- */
.lr-nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 40px;
  background: oklch(0.13 0.005 55 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.lr-logo { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-size: 30px; letter-spacing: 2px; color: var(--text); }
.lr-logo:hover { color: var(--text); }
.lr-logo-diamond { width: 10px; height: 10px; background: var(--orange); display: inline-block; transform: rotate(45deg); }
.lr-nav-links { display: flex; align-items: center; gap: 36px; }
.lr-nav-links a { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dim); padding-bottom: 4px; border-bottom: 2px solid transparent; }
.lr-nav-links a:hover { color: var(--text); }
.lr-nav-links a.active { color: var(--text); border-bottom-color: var(--orange); }

/* ---------- Buttons ---------- */
.lr-btn { display: inline-block; font-family: var(--mono); font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase; border: none; padding: 16px 32px; cursor: pointer; font-weight: 600; }
.lr-btn-orange { background: var(--orange); color: var(--ink); }
.lr-btn-orange:hover { background: var(--orange-hover); color: var(--ink); }
.lr-btn-ghost { background: transparent; color: var(--text); border: 1px solid oklch(0.5 0.01 55); }
.lr-btn-ghost:hover { border-color: var(--text); color: var(--text); }
.lr-btn-dark { background: var(--ink); color: var(--text); }
.lr-btn-dark:hover { background: oklch(0.2 0.01 55); color: var(--text); }

/* ---------- Hero ---------- */
.lr-hero { position: relative; height: 88vh; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; }
.lr-hero img.lr-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; filter: grayscale(0.1) contrast(1.05); }
.lr-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, oklch(0.1 0.01 55 / 0.25) 0%, oklch(0.1 0.01 55 / 0.55) 55%, oklch(0.1 0.01 55 / 0.94) 100%); }
.lr-hero-badge { position: absolute; top: 28px; right: 40px; font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: var(--orange); border: 1px solid oklch(0.68 0.19 45 / 0.6); padding: 6px 12px; transform: rotate(2deg); }
.lr-hero-content { position: relative; z-index: 2; padding: 0 40px 64px; max-width: 900px; }
.lr-kicker { font-family: var(--mono); font-size: 13px; letter-spacing: 4px; color: var(--orange); margin-bottom: 14px; text-transform: uppercase; }
.lr-hero h1 { font-family: var(--display); font-size: clamp(56px, 10vw, 140px); line-height: 0.9; letter-spacing: 1px; margin: 0; color: var(--text); }
.lr-hero h1 .accent { color: var(--orange); }
.lr-hero p { max-width: 480px; margin: 22px 0 30px; font-size: 17px; line-height: 1.6; color: oklch(0.82 0.01 55); }
.lr-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Marquee ---------- */
@keyframes lr-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lr-marquee { background: var(--orange); overflow: hidden; padding: 12px 0; border-top: 1px solid var(--bg); border-bottom: 1px solid var(--bg); }
.lr-marquee-track { display: flex; white-space: nowrap; animation: lr-marquee 22s linear infinite; width: max-content; }
.lr-marquee-track span { font-family: var(--display); font-size: 26px; letter-spacing: 2px; color: var(--ink); padding: 0 28px; }

/* ---------- Story ---------- */
.lr-story { display: grid; grid-template-columns: 1.1fr 1fr; max-width: 1400px; margin: 0 auto; }
.lr-story-copy { padding: 100px 60px; display: flex; flex-direction: column; justify-content: center; }
.lr-eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: 3px; color: var(--orange); text-transform: uppercase; margin-bottom: 18px; }
.lr-story h2 { font-family: var(--display); font-size: clamp(36px, 5vw, 58px); line-height: 1; margin: 0 0 24px; letter-spacing: 1px; }
.lr-story p { font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 460px; margin: 0 0 16px; }
.lr-story-img { position: relative; min-height: 480px; }
.lr-story-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lr-arrow-link { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); width: fit-content; border-bottom: 1px solid var(--orange); margin-top: 16px; }
.lr-arrow-link:hover { color: var(--orange); }

/* ---------- Lookbook ---------- */
.lr-lookbook { padding: 80px 40px 100px; max-width: 1400px; margin: 0 auto; }
.lr-lookbook-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 36px; flex-wrap: wrap; gap: 12px; }
.lr-lookbook-head h2 { font-family: var(--display); font-size: clamp(32px, 4.5vw, 52px); margin: 0; letter-spacing: 1px; }
.lr-lookbook-note { font-family: var(--mono); font-size: 12px; letter-spacing: 2px; color: oklch(0.6 0.01 55); text-transform: uppercase; }
.lr-lookbook-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.lr-look { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: block; }
.lr-look img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.lr-look:hover img { transform: scale(1.04); }
.lr-look-label { position: absolute; left: 0; bottom: 0; right: 0; padding: 20px; background: linear-gradient(0deg, oklch(0.1 0.01 55 / 0.85), transparent); }
.lr-look-label span { font-family: var(--display); font-size: 30px; letter-spacing: 1px; color: var(--text); }

/* ---------- CTA banner ---------- */
.lr-cta { background: var(--orange); padding: 70px 40px; text-align: center; }
.lr-cta h2 { font-family: var(--display); font-size: clamp(36px, 6vw, 64px); margin: 0 0 20px; letter-spacing: 1px; color: var(--ink); }

/* ---------- Product page ---------- */
.lr-product { max-width: 1400px; margin: 0 auto; padding: 56px 40px 100px; }
.lr-breadcrumb { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; color: oklch(0.6 0.01 55); text-transform: uppercase; margin-bottom: 36px; }
.lr-product-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; }
.lr-gallery-main { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg2); border: 1px solid var(--line); }
.lr-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.lr-tag { position: absolute; top: 16px; left: 16px; font-family: var(--mono); font-size: 11px; letter-spacing: 2px; color: var(--orange); border: 1px solid oklch(0.68 0.19 45 / 0.6); padding: 5px 10px; text-transform: uppercase; }
.lr-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.lr-thumb { cursor: pointer; width: 96px; height: 96px; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; }
.lr-thumb.active { border-color: var(--orange); }
.lr-thumb img { width: 100%; height: 100%; object-fit: cover; }
.lr-product h1 { font-family: var(--display); font-size: clamp(40px, 5vw, 64px); margin: 0 0 8px; letter-spacing: 1px; line-height: 0.95; }
.lr-preorder { font-family: var(--mono); font-size: 13px; letter-spacing: 1.5px; color: var(--orange); text-transform: uppercase; margin: 0 0 24px; }
.lr-product-desc { font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 480px; margin: 0 0 32px; }
.lr-field-label { font-family: var(--mono); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: oklch(0.6 0.01 55); margin-bottom: 10px; }
.lr-swatches { display: flex; gap: 12px; margin-bottom: 28px; }
.lr-swatch { cursor: pointer; width: 38px; height: 38px; border-radius: 50%; border: 2px solid oklch(0.4 0.01 55); padding: 0; }
.lr-swatch.active { border-color: var(--orange); }
.lr-swatch-black { background: #111; }
.lr-swatch-green { background: #2f5a3d; }
.lr-sizes { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 32px; }
.lr-size { cursor: pointer; min-width: 48px; text-align: center; padding: 11px 6px; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; background: transparent; color: oklch(0.9 0.004 55); border: 1px solid oklch(0.4 0.01 55); }
.lr-size.active { background: var(--orange); color: var(--ink); border-color: var(--orange); }
.lr-buy-row { display: flex; gap: 14px; align-items: center; margin-bottom: 36px; }
.lr-qty { display: flex; align-items: center; border: 1px solid oklch(0.4 0.01 55); }
.lr-qty button { width: 40px; height: 48px; background: transparent; border: none; color: var(--text); font-size: 18px; cursor: pointer; }
.lr-qty span { width: 40px; text-align: center; font-family: var(--mono); font-size: 15px; }
.lr-buy-row .lr-btn { flex: 1; }
.lr-accordion { border-top: 1px solid var(--line); }
.lr-acc-item { border-bottom: 1px solid var(--line); }
.lr-acc-head { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 16px 2px; font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; width: 100%; background: none; border: none; color: var(--text); text-align: left; }
.lr-acc-head .icon { color: var(--orange); }
.lr-acc-body { padding: 0 2px 18px; font-size: 14.5px; line-height: 1.7; color: var(--muted); display: none; }
.lr-acc-item.open .lr-acc-body { display: block; }

/* ---------- Support page ---------- */
.lr-support { max-width: 1000px; margin: 0 auto; padding: 70px 40px 110px; }
.lr-support h1 { font-family: var(--display); font-size: clamp(44px, 7vw, 80px); margin: 0 0 48px; letter-spacing: 1px; line-height: 0.95; }
.lr-faq { margin-bottom: 56px; }
.lr-faq-item { border-bottom: 1px solid var(--line); }
.lr-faq-q { cursor: pointer; display: flex; justify-content: space-between; align-items: center; padding: 22px 4px; gap: 20px; width: 100%; background: none; border: none; color: var(--text); text-align: left; }
.lr-faq-q span.q { font-family: var(--sans); font-size: 18px; font-weight: 600; }
.lr-faq-q span.icon { font-family: var(--mono); color: var(--orange); font-size: 20px; flex-shrink: 0; }
.lr-faq-a { padding: 0 4px 24px; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 640px; display: none; }
.lr-faq-item.open .lr-faq-a { display: block; }
.lr-contact { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: var(--bg2); border: 1px solid var(--line); padding: 40px; }
.lr-contact h2 { font-family: var(--display); font-size: 30px; margin: 0 0 14px; letter-spacing: 1px; }
.lr-contact p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0 0 18px; }
.lr-contact-email { font-family: var(--mono); font-size: 14px; color: var(--text); }
.lr-contact-form { display: flex; flex-direction: column; gap: 12px; }
.lr-contact-form input, .lr-contact-form textarea { background: var(--bg); border: 1px solid oklch(0.4 0.01 55); color: var(--text); padding: 13px 14px; font-family: var(--sans); font-size: 14px; }
.lr-contact-form textarea { resize: vertical; }

/* ---------- Footer ---------- */
.lr-footer { border-top: 1px solid var(--line); padding: 36px 40px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.lr-footer-logo { font-family: var(--display); font-size: 22px; letter-spacing: 1.5px; color: oklch(0.7 0.01 55); }
.lr-footer-copy { font-family: var(--mono); font-size: 12px; letter-spacing: 1px; color: oklch(0.5 0.01 55); }

/* ---------- Grain overlay ---------- */
.lr-grain { position: fixed; inset: 0; z-index: 60; pointer-events: none; mix-blend-mode: overlay; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .lr-story, .lr-product-grid, .lr-contact { grid-template-columns: 1fr; }
  .lr-story-copy { padding: 60px 24px; }
  .lr-product-grid { gap: 36px; }
  .lr-nav { padding: 14px 20px; }
  .lr-hero-content, .lr-lookbook, .lr-product, .lr-support { padding-left: 20px; padding-right: 20px; }
}
