/* ══════════════════════════════════════════
 *  home.css — foidslop
 *  Homepage (index.html) only styles.
 *  Requires global.css to be loaded first.
 * ══════════════════════════════════════════ */

/* ── Hero ───────────────────────────────── */
.hero { min-height: 100vh; display: grid; grid-template-columns: 420px 1fr; border-bottom: 1px solid var(--border); }
.hero-copy { display: flex; flex-direction: column; justify-content: flex-end; padding: 0 40px 60px; border-right: 1px solid var(--border); }
.hero-top { display: flex; flex-direction: column; gap: 24px; margin-bottom: auto; padding-top: 120px; }
.hero-eyebrow { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.hero-eyebrow::before { content: '✦'; font-size: 0.5rem; color: var(--muted); }

h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(5.5rem, 9vw, 10rem); font-weight: 400; line-height: 0.88; letter-spacing: 0.005em; color: var(--text); text-transform: uppercase; }
.h1-line { display: block; overflow: hidden; padding-bottom: 0.06em; }
.h1-line-inner { display: block; animation: lineReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; }
.h1-line:nth-child(1) .h1-line-inner { animation-delay: 0.32s; }
.h1-line:nth-child(2) .h1-line-inner { animation-delay: 0.46s; }
.h1-line:nth-child(3) .h1-line-inner { animation-delay: 0.60s; }
.h1-line-inner em { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,0.35); }

.hero-bottom { display: flex; flex-direction: column; gap: 18px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 280px; }

.btn-shop { display: inline-flex; align-items: center; gap: 10px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bg); background: var(--text); text-decoration: none; padding: 12px 24px; align-self: flex-start; transition: opacity 0.2s ease, gap 0.25s ease; }
.btn-shop:hover { opacity: 0.82; gap: 16px; }
.btn-shop svg { width: 12px; height: 12px; flex-shrink: 0; }

.hero-image { position: relative; overflow: hidden; }
.hero-image a { display: block; width: 100%; height: 100%; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1), filter 0.4s ease; }
.hero-image:hover img { transform: scale(1.04); filter: brightness(1.08); }
.hero-image-label { position: absolute; bottom: 28px; right: 28px; font-size: 0.65rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); background: rgba(5,5,7,0.7); backdrop-filter: blur(10px); padding: 8px 14px; opacity: 0; transform: translateY(8px); transition: opacity 0.3s ease, transform 0.3s ease; pointer-events: none; }
.hero-image:hover .hero-image-label { opacity: 1; transform: translateY(0); }

.hero-top-overlay { display: none; }
.hero-bottom-mobile { display: none; }

/* ── Scroll section ─────────────────────── */
.scroll-section { border-bottom: 1px solid var(--border); }
.scroll-header { display: flex; align-items: center; justify-content: space-between; padding: 32px 40px 20px; }
.scroll-title { font-size: 0.68rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
/* Replace the old .scroll-hint CSS with this */
.scroll-nav { display: flex; gap: 8px; }
.scroll-nav-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
}
.scroll-nav-btn:hover { color: var(--text); border-color: var(--text); }
.scroll-nav-btn svg { width: 12px; height: 12px; }

/* Hide navigation buttons on mobile, let them swipe natively */
@media (max-width: 768px) {
  .scroll-nav { display: none; }
}
.scroll-track { display: flex; gap: 16px; padding: 0 40px 32px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.scroll-track::-webkit-scrollbar { display: none; }
.scroll-card { flex: 0 0 300px; scroll-snap-align: start; position: relative; overflow: hidden; border: 1px solid var(--border); transition: border-color 0.3s ease; }
.scroll-card:hover { border-color: rgba(255,255,255,0.15); }
.scroll-card a { display: block; text-decoration: none; }
.scroll-card-img { aspect-ratio: 3/4; overflow: hidden; }
.scroll-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.22,1,0.36,1); }
.scroll-card:hover .scroll-card-img img { transform: scale(1.06); }
.scroll-card-info { padding: 16px; border-top: 1px solid var(--border); }
.scroll-card-name { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); margin-bottom: 4px; }
.scroll-card-price { font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }

.scroll-card-cta { aspect-ratio: 3/4; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 24px; overflow: hidden; box-sizing: border-box; }
.scroll-card-cta .cta-text { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.4rem, 8vw, 3.2rem); font-weight: 400; line-height: 0.9; letter-spacing: 0.01em; color: var(--text); text-transform: uppercase; text-align: left; }
.scroll-card-cta .cta-text em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,0.3); display: block; }
.scroll-card-cta-info { width: calc(100% + 48px); margin: 16px -24px -24px; padding: 16px 24px; border-top: 1px solid var(--border); box-sizing: border-box; }

/* ── Manifesto ───────────────────────────── */
.manifesto { padding: 120px 40px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: center; min-height: 50vh; }
.manifesto-text { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 400; line-height: 0.95; letter-spacing: 0.005em; text-transform: uppercase; text-align: center; color: var(--text); max-width: 900px; }
.manifesto-text em { font-style: normal; color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,0.2); }

/* ── Split section ──────────────────────── */
.split { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--border); }
.split-image { position: relative; overflow: hidden; }
.split-image img { display: block; width: 100%; height: auto; transition: transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.split-image:hover img { transform: scale(1.04); }
.split-content { display: flex; flex-direction: column; justify-content: center; padding: 60px 56px; border-left: 1px solid var(--border); }
.split-eyebrow { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.split-eyebrow::before { content: '✦'; font-size: 0.5rem; }
.split-heading { font-family: 'Bebas Neue', sans-serif; font-size: clamp(2.2rem, 4vw, 3.8rem); font-weight: 400; line-height: 0.95; letter-spacing: 0.005em; text-transform: uppercase; color: var(--text); margin-bottom: 24px; }
.split-desc { font-size: 0.88rem; color: rgba(255,255,255,0.65); line-height: 1.75; max-width: 380px; margin-bottom: 32px; }
.split-link { display: inline-flex; align-items: center; gap: 10px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; padding-bottom: 2px; border-bottom: 1px solid rgba(255,255,255,0.2); transition: border-color 0.2s ease, gap 0.2s ease; align-self: flex-start; }
.split-link:hover { border-color: var(--text); gap: 16px; }
.split-link svg { width: 12px; height: 12px; flex-shrink: 0; }

/* ── Details grid ───────────────────────── */
.details { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.detail-item { padding: 48px 40px; border-right: 1px solid var(--border); }
.detail-item:last-child { border-right: none; }
.detail-number { font-family: 'Bebas Neue', sans-serif; font-size: 2.4rem; color: rgba(255,255,255,0.13); margin-bottom: 16px; line-height: 1; }
.detail-title { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.detail-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.65; }

/* ── Ticker ──────────────────────────────── */
.ticker { border-bottom: 1px solid var(--border); overflow: hidden; padding: 14px 0; white-space: nowrap; }
.ticker-inner { display: inline-flex; gap: 0; animation: marquee 20s linear infinite; }
.ticker:hover .ticker-inner { animation-play-state: paused; }
.ticker-item { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding: 0 40px; display: inline-flex; align-items: center; gap: 40px; flex-shrink: 0; }
.ticker-item::after { content: '✦'; font-size: 0.45rem; opacity: 0.4; }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1024px) {
  .hero { display: flex; flex-direction: column; min-height: unset; }
  .hero-copy { display: none !important; width: 0 !important; height: 0 !important; padding: 0 !important; margin: 0 !important; border: none !important; overflow: hidden !important; }
  .hero-image { flex: 0 0 85vh; position: relative; width: 100%; margin-top: 90px; overflow: hidden; }
  .hero-image a { display: block; width: 100%; height: 100%; object-fit: cover; }
  .hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .hero-top-overlay { display: flex !important; flex-direction: column !important; align-items: flex-start !important; gap: 10px !important; position: absolute; top: 110px; left: 24px; z-index: 10; pointer-events: none; text-align: left !important; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .hero-top-overlay .hero-eyebrow { color: rgba(255,255,255,0.6) !important; opacity: 1 !important; transform: none !important; visibility: visible !important; justify-content: flex-start !important; }
  .hero-top-overlay h1 { font-size: clamp(4rem, 18vw, 7rem); color: #FFFFFF !important; opacity: 1 !important; transform: none !important; }
  .hero-top-overlay .h1-line-inner { animation: none !important; transform: none !important; opacity: 1 !important; }
  .hero-bottom-mobile { display: flex !important; position: relative; flex-direction: column; gap: 18px; padding: 28px 24px 36px; border-top: 1px solid var(--border); background: var(--bg); width: 100%; opacity: 1 !important; transform: none !important; visibility: visible !important; }
  .hero-bottom-mobile .hero-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.7; max-width: 100%; text-align: center; }
  .hero-bottom-mobile .btn-shop { align-self: stretch; justify-content: center; }
  .split { grid-template-columns: 1fr; }
  .split-content { border-left: none; border-top: 1px solid var(--border); padding: 40px 32px; }
  .details { grid-template-columns: 1fr; }
  .detail-item { border-right: none; border-bottom: 1px solid var(--border); padding: 36px 32px; }
  .detail-item:last-child { border-bottom: none; }
}

@media (max-width: 768px) {
  .scroll-header { padding: 24px 24px 16px; }
  .scroll-track { padding: 0 24px 24px; gap: 12px; }
  .scroll-card { flex: 0 0 80vw; }
  .manifesto { padding: 56px 24px; min-height: unset; }
  .split-image img { max-height: 60vh; object-fit: cover; }
  .split-content { padding: 32px 24px; }
  .detail-item { padding: 24px; }
  .detail-number { font-size: 1.6rem; margin-bottom: 10px; }
}

@media (max-width: 480px) {
  .scroll-card { flex: 0 0 82vw; }
  .manifesto-text { font-size: clamp(2.2rem, 12vw, 3.5rem); }
}

/* ── SOTD desktop teaser ────────────────── */
.hero-sotd {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 14px;
  align-items: center;
  text-decoration: none;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 24px;
  transition: opacity 0.2s ease;
}
.hero-sotd:hover { opacity: 0.75; }
.hero-sotd:hover .hero-sotd-overlay { opacity: 1; }
.hero-sotd:hover .hero-sotd-image img { transform: scale(1.07); }

.hero-sotd-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1; /* Changed from 3/4 to match your square images */
  flex-shrink: 0;
}
.hero-sotd-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s cubic-bezier(0.22,1,0.36,1);
}
.hero-sotd-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5,5,7,0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  font-size: 0.6rem; /* Bumped up from 0.5rem for readability */
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 500;
  text-align: center;
  padding: 4px;
}

.hero-sotd-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.hero-sotd-eyebrow {
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-sotd-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-sotd-desc {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── SOTD mobile banner ─────────────────── */
.hero-sotd-banner {
  display: none; /* shown only on mobile */
  align-items: center;
  gap: 14px;
  text-decoration: none;
  width: 100%;
  padding: 16px 24px;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease;
}
.hero-sotd-banner:hover { background: rgba(255,255,255,0.04); }

.hero-sotd-banner-image {
  width: 52px;
  height: 52px; /* Changed from 64px to make it a perfect 1:1 square */
  flex-shrink: 0;
  overflow: hidden;
}
.hero-sotd-banner-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-sotd-banner-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}
/* reuses .hero-sotd-eyebrow, .hero-sotd-name, .hero-sotd-desc */
.hero-sotd-banner-arrow {
  font-size: 1rem;
  color: var(--muted);
  flex-shrink: 0;
}

/* ── Keyword section ────────────────────── */
.keyword-section {
  padding: 40px 40px;
  border-bottom: 1px solid var(--border);
}
.keyword-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 760px;
}
.keyword-text strong { color: rgba(255,255,255,0.5); font-weight: 500; }
.keyword-text a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.keyword-text a:hover { color: var(--text); border-color: rgba(255,255,255,0.4); }

@media (max-width: 768px) {
  .keyword-section { padding: 28px 24px; }
}

/* ── Show/hide per breakpoint ───────────── */
@media (max-width: 1024px) {
  /* mobile banner visible, desktop sotd hidden */
  .hero-sotd        { display: none !important; }
  .hero-sotd-banner { display: flex; }
}

@media (min-width: 1025px) {
  .hero-sotd-banner { display: none !important; }
}
