/* ══════════════════════════════════════════
 *  global.css — foidslop
 *  Shared across every page on the site.
 *  Referenced as /css/global.css
 * ══════════════════════════════════════════ */

/* ── Variables ─────────────────────────── */
:root {
  --bg:      #050507;
  --text:    #FFFFFF;
  --muted:   #9A9794;
  --border:  rgba(255,255,255,0.12);
  --surface: #0A0A0D;
}

/* ── Reset ──────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
::selection { background: rgba(255,255,255,0.15); color: #fff; }

/* ── Scrollbar ──────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #222; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #444; }

/* ── Accessibility ──────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border-width: 0;
}
.sr-only.focusable:focus {
  position: fixed; top: 16px; left: 16px; z-index: 100;
  width: auto; height: auto; padding: 10px 18px; margin: 0;
  overflow: auto; clip: auto; white-space: normal;
  background: var(--text); color: var(--bg);
  font-size: 0.8rem; font-weight: 500; border-radius: 6px;
  text-decoration: none; outline: 2px solid var(--text); outline-offset: 2px;
}
a:focus-visible, button:focus-visible {
  outline: 2px solid rgba(255,255,255,0.4);
  outline-offset: 2px; border-radius: 2px;
}

/* ── Base ───────────────────────────────── */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: clip;
}
.bg-layer {
  position: fixed; inset: 0;
  background-size: cover; background-position: center;
  z-index: -1; filter: blur(14px) brightness(0.14); opacity: 0.6;
}

/* ── Animations ─────────────────────────── */
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp  { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes lineReveal { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes revealDown { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0% 0); } }

.anim-header  { animation: fadeIn 0.5s ease both; animation-delay: 0.05s; }
.anim-eyebrow { animation: fadeUp 0.5s ease both; animation-delay: 0.2s; }
.anim-cta     { animation: fadeUp 0.55s ease both; animation-delay: 0.95s; }
.anim-img     { animation: revealDown 0.9s cubic-bezier(0.22,1,0.36,1) both; animation-delay: 0.55s; }

/* ── Scroll reveals ─────────────────────── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1),
              transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-clip { clip-path: inset(0 0 100% 0); transition: clip-path 0.9s cubic-bezier(0.22,1,0.36,1); }
.reveal-clip.visible { clip-path: inset(0 0 0% 0); }

@media (prefers-reduced-motion: reduce) {
  .anim-header, .anim-eyebrow, .anim-cta, .anim-img, .h1-line-inner { animation: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .reveal-clip { clip-path: inset(0 0 0% 0) !important; transition: none !important; }
}

/* ── Header ─────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 40px;
  background: rgba(5,5,7,0.6);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  background: rgba(5,5,7,0.85);
}
.logo { height: 30px; width: auto; display: block; cursor: pointer; transition: opacity 0.2s ease; }
.logo:hover { opacity: 0.55; }
.header-right { display: flex; align-items: center; gap: 28px; }
.nav-link {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
  text-decoration: none; transition: color 0.2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.header-cta {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--bg); background: var(--text);
  text-decoration: none; padding: 9px 20px; transition: opacity 0.2s ease;
}
.header-cta:hover { opacity: 0.8; }

/* ── Footer ─────────────────────────────── */
footer { padding: 24px 40px; border-top: 1px solid var(--border); }
.footer-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.footer-copy {
  font-size: 0.68rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--muted);
}
.footer-links { display: flex; align-items: center; gap: 24px; }
.footer-links a {
  font-size: 0.68rem; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color 0.2s ease;
}
.footer-links a:hover, .footer-links a.active { color: var(--text); }
.footer-dot { width: 2px; height: 2px; border-radius: 50%; background: var(--border); flex-shrink: 0; }

/* ── Hamburger button (global) ──────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile nav dropdown (global) ──────── */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(5,5,7,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  flex-direction: column;
  padding: 8px 0 16px;
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.nav-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.nav-dropdown-link {
  display: block;
  padding: 14px 24px;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-dropdown-link:last-child { border-bottom: none; }
.nav-dropdown-link:hover, .nav-dropdown-link.active { color: var(--text); background: rgba(255,255,255,0.03); }
.nav-dropdown-shop { color: var(--text); }

/* ── Mobile global ──────────────────────── */
@media (max-width: 1024px) {
  .site-header { padding: 18px 24px; }
  .logo { height: 26px; }
  .header-right .nav-link { display: none; }
  .nav-hamburger { display: flex; }
  .nav-dropdown  { display: flex; }
  footer { padding: 20px 24px; }
  .footer-inner { justify-content: center; text-align: center; }
  .footer-copy { width: 100%; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (min-width: 1025px) {
  .nav-dropdown  { display: none !important; }
  .nav-hamburger { display: none !important; }
}

/* ── Cookie consent banner ──────────────── */
.cookie-consent {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  max-width: 560px;
  margin: 0 auto;
  background: rgba(10,10,13,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s cubic-bezier(0.22,1,0.36,1), transform 0.35s cubic-bezier(0.22,1,0.36,1);
  pointer-events: none;
}
.cookie-consent.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-consent-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 20px;
}

.cookie-consent-text {
  flex: 1;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  margin: 0;
}
.cookie-consent-mark {
  color: var(--muted);
  font-size: 0.7rem;
  margin-right: 6px;
}
.cookie-consent-text a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
  white-space: nowrap;
}
.cookie-consent-text a:hover { border-color: rgba(255,255,255,0.5); }

.cookie-consent-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-consent-btn {
  font-family: inherit;
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 16px;
  border: 1px solid var(--border);
  background: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.cookie-consent-btn:hover { color: var(--text); border-color: rgba(255,255,255,0.3); }
.cookie-consent-btn:focus-visible { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 2px; }
.cookie-consent-accept {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.cookie-consent-accept:hover { opacity: 0.85; color: var(--bg); border-color: var(--text); }

@media (max-width: 640px) {
  .cookie-consent {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 18px 18px 20px;
  }
  .cookie-consent-text { font-size: 0.76rem; }
  .cookie-consent-actions { gap: 8px; }
  .cookie-consent-btn { flex: 1; padding: 11px 14px; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent { transition: opacity 0.2s ease; transform: none; }
}
/* Global Print Styles */
@media print {
  body { background: #fff !important; color: #000 !important; }
  header.site-header, footer, .bg-layer, .scroll-section, .ticker, .hero-image, .nav-dropdown, script, style, noscript {
    display: none !important;
  }
  a { color: #000 !important; text-decoration: underline; }
  .hero, .split, .details, .keyword-section, .manifesto {
    display: block !important;
    padding: 20px 0 !important;
    border: none !important;
  }
}
