/*
Theme Name: Seltz
Theme URI: http://seltz.dev.kubeitalia.it
Description: Tema cinematico per la rivista indipendente Seltz
Version: 1.0.0
Author: Seltz Team
Text Domain: seltz
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 8.0
License: GPL-2.0-or-later
*/

/* ============================================================
   PALETTE 2: NOTTE VULCANICA
   ============================================================ */
:root {
  --color-bg: #111111;
  --color-bg-alt: #1A1A1A;
  --color-surface: #222222;
  --color-text: #F2F0EB;
  --color-text-secondary: #A8A6A0;
  --color-text-muted: #6B6964;
  --color-accent: #F28C38;
  --color-accent-hover: #E07A28;
  --color-accent-secondary: #D4573A;
  --color-accent-subtle: rgba(242, 140, 56, 0.12);
  --color-border: #333330;
  --light-bg: #F5F3EE;
  --light-surface: #FFFFFF;
  --light-bg-alt: #EBE8E2;
  --light-text: #1A1A18;
  --light-text-secondary: #5A5A58;
  --light-text-muted: #8A8A88;
  --light-accent: #E07A28;
  --light-border: #D4D4D0;
  --font-display: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'SF Mono', 'Fira Code', monospace;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
  cursor: none;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; cursor: none; }
button, input, textarea, select { cursor: none; font-family: inherit; }
img { display: block; max-width: 100%; }
::selection { background: var(--color-accent); color: var(--color-bg); }

/* NOISE OVERLAY */
.noise-overlay {
  position: fixed; inset: 0; z-index: 99999; pointer-events: none;
  opacity: 0.035; filter: url(#noise);
}

/* SCROLL PROGRESS */
.scroll-progress {
  position: fixed; top: 0; left: 0; width: 100%; height: 3px;
  z-index: 100000; pointer-events: none;
}
.scroll-progress-bar {
  height: 100%; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left; will-change: transform;
}

/* CUSTOM CURSOR */
.custom-cursor {
  position: fixed; top: 0; left: 0; width: 40px; height: 40px;
  border: 2px solid var(--color-text); border-radius: 50%;
  pointer-events: none; z-index: 999999; mix-blend-mode: difference;
  transition: width 0.3s cubic-bezier(0.25,1,0.5,1), height 0.3s cubic-bezier(0.25,1,0.5,1), border-width 0.3s;
  will-change: transform;
}
.custom-cursor.expanded { width: 80px; height: 80px; border-width: 1px; }
@media (max-width: 1024px) { .custom-cursor { display: none; } body, a, button, input, textarea, select { cursor: auto; } }

/* PRELOADER */
.preloader {
  position: fixed; inset: 0; z-index: 999998; background: var(--color-bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; cursor: pointer;
  clip-path: circle(150% at 50% 50%);
}
.preloader.done {
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 1s cubic-bezier(0.77, 0, 0.175, 1);
  pointer-events: none;
}
.preloader-line {
  width: 0; height: 2px; background: var(--color-accent);
  position: absolute; top: 50%; left: 10%; transform: translateY(-50%);
}
.preloader-line.animate { animation: drawLine 1.5s cubic-bezier(0.25, 1, 0.5, 1) forwards; }
@keyframes drawLine { to { width: 80%; } }
.preloader-title {
  display: flex; gap: 0.05em; font-family: var(--font-display);
  font-size: 12vw; font-weight: 900; letter-spacing: -0.02em;
  position: relative; z-index: 2;
}
.preloader-title .letter { display: inline-block; transform: scale(0); opacity: 0; }
.preloader-title .letter.pop { animation: springPop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.preloader-title .letter:last-child { color: var(--color-accent); }
@keyframes springPop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
.preloader-skip {
  position: absolute; bottom: 10vh;
  font-family: var(--font-body); font-size: 0.75rem;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-text-muted); opacity: 0; transition: opacity 0.5s 0.5s;
}
.preloader.show-skip .preloader-skip { opacity: 1; }

/* NAV LOGO */
.nav-logo {
  position: fixed; top: 1.5rem; left: 1.5rem;
  z-index: 100001; pointer-events: auto;
  mix-blend-mode: difference;
  transition: opacity 0.4s ease;
}
.nav-logo img {
  height: 28px; width: auto;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-logo-text {
  font-family: var(--font-display); font-weight: 900; font-size: 22px;
  color: #fff; letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .nav-logo { top: 1.1rem; left: 1rem; }
  .nav-logo img { height: 22px; }
}

/* HAMBURGER */
.hamburger {
  position: fixed; top: 1.5rem; right: calc(1.5rem + 104px);
  width: 44px; height: 44px;
  background: transparent; border: none;
  z-index: 100001; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; padding: 0;
  mix-blend-mode: difference;
}
.hamburger-line {
  width: 28px; height: 2px; background: #fff;
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),
              opacity 0.3s ease, width 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  transform-origin: center;
}
.hamburger-line:nth-child(1) { width: 28px; }
.hamburger-line:nth-child(2) { width: 20px; align-self: flex-end; }
.hamburger-line:nth-child(3) { width: 28px; }
.hamburger.open .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 768px) {
  .hamburger { top: 1rem; right: calc(1rem + 88px); width: 40px; height: 40px; }
}

/* SOUND TOGGLE */
.sound-toggle {
  position: fixed; top: 1.5rem; right: calc(1.5rem + 52px);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  z-index: 99997; cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.sound-toggle:hover { transform: scale(1.1); }
.sound-toggle svg { width: 18px; height: 18px; }
.sound-toggle .icon-muted { display: none; }
.sound-toggle.muted .icon-sound { display: none; }
.sound-toggle.muted .icon-muted { display: block; }
@media (max-width: 768px) {
  .sound-toggle { top: 1rem; right: calc(1rem + 48px); width: 40px; height: 40px; }
}

/* THEME TOGGLE */
.theme-toggle {
  position: fixed; top: 1.5rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text);
  display: flex; align-items: center; justify-content: center;
  z-index: 99997; cursor: pointer;
  transition: background 0.4s ease, border-color 0.4s ease, color 0.4s ease, transform 0.3s ease;
}
.theme-toggle:hover { transform: scale(1.1); }
.theme-toggle svg { width: 20px; height: 20px; transition: transform 0.4s ease; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
@media (max-width: 768px) {
  .theme-toggle { top: 1rem; right: 1rem; width: 40px; height: 40px; }
}

/* FULLSCREEN CINEMATIC MENU */
.menu-overlay {
  position: fixed; inset: 0; z-index: 100000;
  pointer-events: none; visibility: hidden;
}
.menu-overlay.open { pointer-events: auto; visibility: visible; }
.menu-curtain {
  position: absolute; top: 0; width: 25%; height: 100%;
  background: var(--color-bg);
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.175, 1);
}
.menu-curtain:nth-child(1) { left: 0; transition-delay: 0s; }
.menu-curtain:nth-child(2) { left: 25%; transition-delay: 0.05s; }
.menu-curtain:nth-child(3) { left: 50%; transition-delay: 0.1s; }
.menu-curtain:nth-child(4) { left: 75%; transition-delay: 0.15s; }
.menu-overlay.open .menu-curtain { transform: scaleY(1); }
.menu-overlay.closing .menu-curtain { transform: scaleY(0); transform-origin: bottom; }
.menu-overlay.closing .menu-curtain:nth-child(1) { transition-delay: 0.15s; }
.menu-overlay.closing .menu-curtain:nth-child(2) { transition-delay: 0.1s; }
.menu-overlay.closing .menu-curtain:nth-child(3) { transition-delay: 0.05s; }
.menu-overlay.closing .menu-curtain:nth-child(4) { transition-delay: 0s; }
.menu-content {
  position: relative; z-index: 2; height: 100%; display: flex;
  opacity: 0; transition: opacity 0.4s ease 0.5s;
}
.menu-overlay.open .menu-content { opacity: 1; }
.menu-overlay.closing .menu-content { opacity: 0; transition-delay: 0s; }
.menu-left {
  flex: 1; display: flex; flex-direction: column;
  justify-content: center; padding: 8vh 12vw; position: relative;
}
.menu-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 4vh;
}
.menu-label::before {
  content: ''; display: inline-block;
  width: 2rem; height: 1px; background: var(--color-accent);
  vertical-align: middle; margin-right: 0.75rem;
}
.menu-links { list-style: none; }
.menu-link-item { overflow: hidden; border-bottom: 1px solid var(--color-border); }
.menu-link-item:first-child { border-top: 1px solid var(--color-border); }
.menu-link {
  display: flex; align-items: center; gap: 2rem;
  padding: 2vh 0; text-decoration: none; color: var(--color-text);
  transform: translateY(120%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), color 0.3s ease;
  will-change: transform;
}
.menu-overlay.open .menu-link { transform: translateY(0); }
.menu-link-item:nth-child(1) .menu-link { transition-delay: 0.4s; }
.menu-link-item:nth-child(2) .menu-link { transition-delay: 0.45s; }
.menu-link-item:nth-child(3) .menu-link { transition-delay: 0.5s; }
.menu-link-item:nth-child(4) .menu-link { transition-delay: 0.55s; }
.menu-link-item:nth-child(5) .menu-link { transition-delay: 0.6s; }
.menu-link-item:nth-child(6) .menu-link { transition-delay: 0.65s; }
.menu-link-item:nth-child(7) .menu-link { transition-delay: 0.7s; }
.menu-overlay.closing .menu-link {
  transform: translateY(-120%);
  transition-delay: 0s !important; transition-duration: 0.4s;
}
.menu-link:hover { color: var(--color-accent); }
.menu-link:hover .menu-link-num { color: var(--color-accent); }
.menu-link:hover .menu-link-arrow { opacity: 1; transform: translateX(0); }
.menu-link-num {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--color-text-muted); transition: color 0.3s; min-width: 30px;
}
.menu-link-text {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900; line-height: 1.1; letter-spacing: -0.01em;
}
.menu-link-arrow {
  font-family: var(--font-body); font-size: 1.5rem;
  opacity: 0; transform: translateX(-10px);
  transition: opacity 0.3s, transform 0.3s; margin-left: auto;
}
.menu-footer {
  position: absolute; bottom: 4vh; left: 8vw; right: 8vw;
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transition: opacity 0.5s ease 0.7s;
}
.menu-overlay.open .menu-footer { opacity: 1; }
.menu-overlay.closing .menu-footer { opacity: 0; transition-delay: 0s; }
.menu-footer-item {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--color-text-muted);
}
.menu-footer-item a { color: var(--color-accent); transition: opacity 0.3s; }
.menu-footer-item a:hover { opacity: 0.7; }
.menu-bg-letter {
  position: absolute; top: 50%; right: -5%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 40vw;
  font-weight: 900; color: var(--color-accent);
  opacity: 0.04; pointer-events: none; line-height: 1;
}

/* PAGE TRANSITION OVERLAY */
.page-transition {
  position: fixed; inset: 0; z-index: 999999;
  pointer-events: none; display: flex;
}
.page-transition-panel {
  flex: 1; height: 100%; background: var(--color-accent);
  transform: scaleY(0); transform-origin: bottom; will-change: transform;
}
.page-transition.entering .page-transition-panel {
  animation: panelRise 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.page-transition.entering .page-transition-panel:nth-child(1) { animation-delay: 0s; }
.page-transition.entering .page-transition-panel:nth-child(2) { animation-delay: 0.06s; }
.page-transition.entering .page-transition-panel:nth-child(3) { animation-delay: 0.12s; }
.page-transition.entering .page-transition-panel:nth-child(4) { animation-delay: 0.18s; }
.page-transition.entering .page-transition-panel:nth-child(5) { animation-delay: 0.24s; }
@keyframes panelRise {
  0% { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}
.page-transition.exiting .page-transition-panel {
  transform: scaleY(1);
  animation: panelFall 0.5s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}
.page-transition.exiting .page-transition-panel:nth-child(1) { animation-delay: 0.15s; }
.page-transition.exiting .page-transition-panel:nth-child(2) { animation-delay: 0.1s; }
.page-transition.exiting .page-transition-panel:nth-child(3) { animation-delay: 0.05s; }
.page-transition.exiting .page-transition-panel:nth-child(4) { animation-delay: 0s; }
.page-transition.exiting .page-transition-panel:nth-child(5) { animation-delay: 0s; }
@keyframes panelFall {
  0% { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}
.page-transition-label {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900; color: var(--color-bg);
  opacity: 0; z-index: 2; transition: opacity 0.3s ease; white-space: nowrap;
}
.page-transition.entering .page-transition-label { animation: labelFadeIn 0.4s ease 0.35s forwards; }
@keyframes labelFadeIn {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.page-transition.exiting .page-transition-label { animation: labelFadeOut 0.2s ease forwards; }
@keyframes labelFadeOut {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, -60%); }
}

/* SPOTLIGHT */
.spotlight {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0; transition: opacity 0.5s ease;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%),
    rgba(242,140,56,0.06) 0%, transparent 60%);
}
.spotlight.active { opacity: 1; }

/* CURSOR LABEL */
.cursor-label {
  position: fixed; pointer-events: none; z-index: 1000000;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent); font-weight: 700;
  opacity: 0; transform: translate(30px, -10px);
  transition: opacity 0.25s ease; white-space: nowrap;
}
.cursor-label.visible { opacity: 1; }

/* SCROLL TO TOP */
.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); color: var(--color-bg);
  border: none; font-size: 20px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999; cursor: pointer;
  opacity: 0; transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s ease;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(242, 140, 56, 0.3);
}
.scroll-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.scroll-top:hover {
  background: var(--color-accent-hover);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(242, 140, 56, 0.4);
}
.scroll-top svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 768px) {
  .scroll-top { bottom: 1.5rem; right: 1rem; width: 44px; height: 44px; }
}

/* REVEAL SYSTEM */
[data-reveal="fade-up"] {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.25,1,0.5,1), transform 0.7s cubic-bezier(0.25,1,0.5,1);
}
[data-reveal="fade-up"].is-visible { opacity: 1; transform: translateY(0); }

/* FOOTER */
.footer {
  background: var(--color-bg); padding: 10vh 8vw 5vh;
  position: relative; overflow: hidden;
}
.footer-watermark {
  position: absolute; bottom: -3vh; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-size: clamp(8rem, 15vw, 12rem);
  font-weight: 900; color: var(--color-bg-alt); pointer-events: none;
  white-space: nowrap; letter-spacing: -0.03em;
  transition: transform 0.4s ease-out;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem;
  position: relative; z-index: 2; margin-bottom: 8vh;
}
.footer-col-title {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent);
  margin-bottom: 1.5rem;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.75rem; }
.footer-col a {
  font-size: 0.9rem; color: var(--color-text-muted); position: relative;
  transition: color 0.3s;
}
.footer-col a::after {
  content: ''; position: absolute; bottom: -2px; left: 0;
  width: 0; height: 1px; background: var(--color-accent);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.footer-col a:hover { color: var(--color-text); }
.footer-col a:hover::after { width: 100%; }
.footer-line {
  height: 1px; background: var(--color-accent); margin-bottom: 3vh;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.footer-line.is-visible { transform: scaleX(1); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.75rem; color: var(--color-text-muted);
}
.footer-motto { font-family: var(--font-display); font-style: italic; color: var(--color-text-secondary); }

/* HOMEPAGE: HERO */
.hero {
  position: relative; height: 100vh; background: var(--color-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-noise { position: absolute; inset: 0; filter: url(#noise); opacity: 0.04; pointer-events: none; }
.hero-canvas { position: absolute; inset: 0; pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-title {
  font-family: var(--font-display); font-size: 25vw; font-weight: 900;
  line-height: 0.85; letter-spacing: -0.03em; display: flex; justify-content: center;
}
.hero-title .letter {
  display: inline-block; clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.hero-title .letter.visible { clip-path: inset(0); }
.hero-title .letter:last-child { color: var(--color-accent); }
.hero-title .letter:last-child.visible {
  text-shadow: 0 0 40px rgba(242, 140, 56, 0.4);
  animation: zGlow 3s ease-in-out infinite;
}
@keyframes zGlow {
  0%, 100% { text-shadow: 0 0 30px rgba(242, 140, 56, 0.3), 0 0 60px rgba(242, 140, 56, 0.1); }
  50% { text-shadow: 0 0 50px rgba(242, 140, 56, 0.5), 0 0 100px rgba(242, 140, 56, 0.2); }
}
.hero-subtitle {
  font-family: var(--font-body); font-size: clamp(1rem, 2vw, 1.5rem);
  letter-spacing: 0.2em; text-transform: uppercase; margin-top: 2rem;
  color: var(--color-text-secondary); min-height: 1.5em;
}
.hero-subtitle .cursor-blink { animation: blink 0.8s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-tagline {
  font-family: var(--font-body); font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  color: var(--color-text-muted); max-width: 500px; margin: 1.5rem auto 0; line-height: 1.6;
  opacity: 0; transform: translateY(15px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-tagline.visible { opacity: 1; transform: translateY(0); }
.hero-line {
  width: 2px; height: 0; background: var(--color-accent); margin: 3rem auto 0;
  transition: height 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.hero-line.visible { height: 15vh; }
.scroll-indicator {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator span { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-text-muted); }
.scroll-indicator-arrow { width: 1px; height: 30px; background: var(--color-accent); position: relative; }
.scroll-indicator-arrow::after {
  content: ''; position: absolute; bottom: 0; left: -4px;
  width: 9px; height: 9px; border-right: 1px solid var(--color-accent); border-bottom: 1px solid var(--color-accent);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
  50% { transform: translateX(-50%) translateY(10px); opacity: 0.5; }
}

/* MANIFESTO */
.manifesto {
  position: relative; min-height: 200vh; padding: 15vh 8vw;
  overflow: hidden; transition: background 0.01s linear;
  background: var(--color-bg);
}
.manifesto-bg-letter {
  position: absolute; top: 10%; left: -5%;
  font-family: var(--font-display); font-size: clamp(300px, 50vw, 800px);
  font-weight: 900; color: var(--color-accent); opacity: 0.06;
  line-height: 1; pointer-events: none; z-index: 0; will-change: transform;
}
.manifesto-words { position: relative; z-index: 1; max-width: 1100px; margin: 0 auto; }
.manifesto-line { margin-bottom: clamp(40px, 6vh, 80px); overflow: visible; }
.manifesto-word {
  font-family: var(--font-display); font-size: clamp(28px, 4.5vw, 72px);
  font-weight: 700; line-height: 1.3; display: inline-block;
  margin-right: 0.25em; opacity: 0; filter: blur(20px);
  will-change: opacity, filter, transform; transition: none;
}
.manifesto-word.visible { opacity: 1; filter: blur(0); }
.manifesto-small {
  font-family: var(--font-body); font-size: clamp(16px, 1.8vw, 24px);
  line-height: 1.8; font-weight: 300; max-width: 700px;
  margin-top: clamp(60px, 10vh, 120px);
}
.manifesto-small .manifesto-word { font-size: inherit; font-family: inherit; font-weight: inherit; }

/* CATEGORIES */
.categorie { background: var(--light-bg); padding: 10vh 0; position: relative; }
.categorie-header {
  padding: 0 8vw 5vh; font-family: var(--font-mono); font-size: 0.7rem;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--light-text-muted);
}
.cat-row {
  display: grid; grid-template-columns: 100px 1fr 250px;
  align-items: center; padding: 2.5vh 8vw;
  border-top: 1px solid var(--light-border); position: relative;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  overflow: hidden; color: var(--light-text);
}
.cat-row::before {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-hover));
  clip-path: inset(100% 0 0 0);
  transition: clip-path 0.6s cubic-bezier(0.77, 0, 0.175, 1);
}
.cat-row:hover::before { clip-path: inset(0); }
.cat-row:hover { color: #fff; }
.cat-row:hover .cat-name { letter-spacing: 0.15em; }
.categorie:has(.cat-row:hover) .cat-row:not(:hover) { opacity: 0.2; transform: scaleY(0.95); }
.cat-row:last-child { border-bottom: 1px solid var(--light-border); }
.cat-num {
  font-family: var(--font-mono); font-weight: 700; font-size: 0.85rem;
  color: var(--color-accent); position: relative; z-index: 1; transition: color 0.5s;
}
.cat-row:hover .cat-num { color: #fff; }
.cat-name {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 900; position: relative; z-index: 1;
  transition: letter-spacing 0.5s cubic-bezier(0.25, 1, 0.5, 1); letter-spacing: -0.01em;
}
.cat-desc {
  font-size: 0.85rem; color: var(--light-text-muted); line-height: 1.5;
  position: relative; z-index: 1; transition: color 0.5s;
}
.cat-row:hover .cat-desc { color: rgba(255,255,255,0.8); }
.cat-row.reveal-row {
  opacity: 0; transform: translateX(100px);
  transition: opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.7s cubic-bezier(0.25, 1, 0.5, 1),
              color 0.5s, letter-spacing 0.5s;
}
.cat-row.reveal-row.is-visible { opacity: 1; transform: translateX(0); }

/* MARQUEE */
.marquee-section {
  padding: 4vw 0; overflow: hidden;
  border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border);
  background: var(--color-bg); position: relative;
}
.marquee-track {
  display: flex; white-space: nowrap; will-change: transform;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-track--top {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(36px, 5vw, 72px); line-height: 1;
  padding: 1.5vw 0; color: var(--color-text);
}
.marquee-track--bottom {
  font-family: var(--font-mono); font-size: clamp(14px, 1.5vw, 22px);
  letter-spacing: .3em; text-transform: uppercase;
  padding: 1vw 0; color: var(--color-accent);
  animation-direction: reverse;
}
.marquee-item { flex-shrink: 0; padding: 0 3vw; }
.marquee-sep { display: inline-block; margin: 0 2vw; opacity: .3; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* HORIZONTAL SCROLL */
.horizontal-section { background: var(--light-bg); position: relative; }
.horizontal-outer { height: 350vh; position: relative; }
.horizontal-sticky {
  position: sticky; top: 0; height: 100vh;
  overflow: hidden; display: flex; flex-direction: column;
}
.horizontal-header {
  padding: 3vh 8vw; display: flex; align-items: center; justify-content: space-between;
}
.horizontal-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 900; color: var(--light-text);
}
.horizontal-counter { font-family: var(--font-mono); font-size: 0.8rem; color: var(--light-text-muted); letter-spacing: 0.1em; }
.horizontal-viewport { flex: 1; overflow: hidden; position: relative; }
.horizontal-track { display: flex; gap: 3vw; height: 100%; padding: 0 8vw; }
.h-card {
  flex: 0 0 70vw; display: grid; grid-template-columns: 1.2fr 1fr;
  background: var(--light-surface); overflow: hidden;
  box-shadow: 0 10px 60px rgba(0,0,0,0.06);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  perspective: 1000px;
}
.h-card:hover { transform: translateY(-5px); }
.h-card-image { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.h-card-text { padding: 3rem; display: flex; flex-direction: column; justify-content: center; }
.h-card-num {
  font-family: var(--font-display); font-size: clamp(4rem, 8vw, 6rem);
  font-weight: 900; color: var(--color-accent); opacity: 0.15; line-height: 1;
}
.h-card-title {
  font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 900; color: var(--light-text); margin: 1rem 0; line-height: 1.2;
}
.h-card-excerpt { font-size: 0.9rem; color: var(--light-text-secondary); line-height: 1.6; }
.horizontal-progress { height: 3px; background: var(--light-border); margin: 0 8vw 2vh; }
.horizontal-progress-bar { height: 100%; background: var(--color-accent); width: 0%; transition: width 0.1s linear; }

/* QUOTE SECTION */
.quote-section {
  background: var(--light-bg); padding: 15vh 8vw; position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 80vh; overflow: hidden;
}
.quote-mark {
  position: absolute; font-family: var(--font-display);
  font-size: clamp(15rem, 30vw, 25rem); font-weight: 900;
  color: var(--color-accent); opacity: 0.06; pointer-events: none; line-height: 0.8;
}
.quote-mark-left { top: -5vh; left: -2vw; }
.quote-mark-right { bottom: -15vh; right: -2vw; transform: rotate(180deg); }
.quote-content { position: relative; z-index: 2; max-width: 800px; text-align: center; }
.quote-text {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.3rem, 3vw, 2.8rem); line-height: 1.5; color: var(--light-text);
}
.quote-text .word {
  display: inline-block; opacity: 0; transform: translateY(15px);
  filter: blur(3px); margin-right: 0.2em;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.quote-text .word.is-visible {
  opacity: 1; transform: translateY(0); filter: blur(0);
  animation: typeShake 0.15s ease-out;
}
@keyframes typeShake {
  0% { transform: rotate(0.5deg) translateY(2px); }
  50% { transform: rotate(-0.5deg) translateY(-1px); }
  100% { transform: rotate(0) translateY(0); }
}
.quote-author {
  margin-top: 2rem; font-family: var(--font-body);
  font-size: 0.85rem; color: var(--light-text-muted); letter-spacing: 0.1em; text-transform: uppercase;
  opacity: 0; transition: opacity 0.8s ease 1s;
}
.quote-author.is-visible { opacity: 1; }

/* NUMBERS */
.numbers {
  background: var(--color-bg); color: var(--color-text);
  padding: 10vw 3rem; overflow: hidden;
}
.numbers .section-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 2rem; padding-left: 3rem;
}
.numbers .section-label::before {
  content: ''; display: inline-block;
  width: 2rem; height: 1px; background: var(--color-accent);
  vertical-align: middle; margin-right: .5rem;
}
.numbers-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.number-item { position: relative; }
.number-big {
  font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 18vw, 280px);
  line-height: .9; -webkit-text-stroke: 2px var(--color-text); color: transparent;
  position: relative; overflow: hidden;
}
.number-big-fill {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 18vw, 280px);
  line-height: .9; color: var(--color-accent);
  clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.22,1,.36,1); will-change: clip-path;
}
.number-big-fill.filled { clip-path: inset(0 0 0 0); }
.number-desc {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--color-text-muted); margin-top: 1.5rem;
}

/* CTA */
.cta { display: grid; grid-template-columns: 1fr 1fr; min-height: 60vh; }
.cta-left {
  background: var(--color-accent); color: var(--color-bg);
  padding: 6vw 3rem; display: flex; flex-direction: column;
  justify-content: center; position: relative; overflow: hidden;
}
.cta-left::before {
  content: 'S'; position: absolute; top: -10%; right: -10%;
  font-family: var(--font-display); font-size: clamp(200px, 30vw, 400px);
  font-weight: 900; color: rgba(0,0,0,0.08); line-height: 1; pointer-events: none;
}
.cta-right {
  background: var(--light-bg); padding: 6vw 3rem;
  display: flex; flex-direction: column; justify-content: center;
  border-top: 2px solid var(--light-border);
}
.cta-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(28px, 4vw, 64px); line-height: 1.05; margin-bottom: 1.5rem;
}
.cta-desc { font-family: var(--font-body); font-size: 16px; line-height: 1.6; max-width: 400px; opacity: 0.85; }
.cta-form { margin-top: 2rem; }
.cta-input {
  width: 100%; padding: 16px; border: 3px solid var(--light-text);
  background: transparent; font-family: var(--font-mono); font-size: 14px;
  color: var(--light-text); outline: none; margin-bottom: 1rem; transition: border-color 0.3s;
}
.cta-input::placeholder { color: var(--light-text-muted); }
.cta-input:focus { border-color: var(--color-accent); }
.cta-button {
  padding: 16px 40px; border: 3px solid var(--light-text);
  background: var(--light-text); color: var(--light-bg);
  font-family: var(--font-mono); font-size: 14px;
  letter-spacing: .2em; text-transform: uppercase;
  transition: background .3s, color .3s, border-color .3s;
}
.cta-button:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }

/* GRADIENTS */
.grad-1 { background: linear-gradient(135deg, #2A2218, #4a3520, #6b4f2f); }
.grad-2 { background: linear-gradient(135deg, #2b1a0e, #4a2c17, #6b3a1f); }
.grad-3 { background: linear-gradient(135deg, #1b2838, #2a4858, #436878); }
.grad-4 { background: linear-gradient(135deg, #1a0a00, #3d1b00, #5c3a1a); }
.grad-5 { background: linear-gradient(135deg, #0e2b1a, #174a2c, #1f6b3a); }

/* ARTICLE SINGLE: HERO */
.single-hero {
  position: relative; width: 100%; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background-size: cover; background-position: center;
  overflow: hidden; padding: 2rem;
}
.single-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,14,26,0.85), rgba(26,16,64,0.7), rgba(26,42,74,0.8));
}
.single-hero-category {
  position: absolute; top: clamp(5rem, 10vh, 7rem); left: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--color-bg);
  background: var(--color-accent); padding: 6px 14px; z-index: 2;
}
.single-hero-reading {
  position: absolute; top: clamp(5rem, 10vh, 7rem); right: clamp(2rem, 5vw, 4rem);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--color-text-muted); z-index: 2;
}
.single-hero-title {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15;
  text-align: center; max-width: 900px; color: var(--color-text);
}
.single-hero-subtitle {
  position: relative; z-index: 2;
  font-family: var(--font-display); font-weight: 400; font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem); color: var(--color-text-secondary);
  text-align: center; max-width: 700px; margin-top: 1.5rem;
}
.single-hero-author {
  position: absolute; bottom: clamp(4rem, 8vh, 6rem); left: 50%;
  transform: translateX(-50%); z-index: 2; text-align: center;
}
.single-hero-author-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 0.95rem; color: var(--color-text);
}
.single-hero-author-date {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; color: var(--color-text-muted); margin-top: 0.3rem;
}

/* ARTICLE BODY */
.article-body { background: var(--color-bg-alt); padding: clamp(3rem, 8vh, 6rem) 2rem; }
.article-content {
  max-width: 720px; margin: 0 auto;
  font-family: var(--font-body); font-size: 1.125rem; line-height: 1.85; color: var(--color-text);
}
.article-content p { margin-bottom: 1.75rem; }
.article-content p.drop-cap::first-letter {
  font-family: var(--font-display); font-weight: 900;
  font-size: 5rem; float: left; line-height: 0.8;
  color: var(--color-accent); padding-right: 0.6rem; padding-top: 0.1rem;
}
.article-content h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.5rem; color: var(--color-text);
  margin: 3rem 0 1.5rem; line-height: 1.3;
  position: relative; padding-left: 1.5rem;
}
.article-content h2::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--color-accent);
}
.article-content strong, .article-content b {
  font-weight: 700; background: var(--color-accent); color: #FAFAFA; padding: 2px 6px;
}
.article-content em { font-style: italic; color: var(--color-accent); }
.article-content img { width: 100%; height: auto; margin: 2rem 0; border-radius: 4px; }
.article-content blockquote,
.pull-quote {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.6rem; line-height: 1.5;
  color: var(--color-text); border-left: 3px solid var(--color-accent);
  padding: 2rem 0 2rem 2rem; margin: 4rem 0;
}

/* AUDIO PLAYER */
.audio-player {
  max-width: 720px; margin: 0 auto 3rem;
  background: var(--color-bg); border-radius: 12px;
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.audio-play-btn {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--color-accent); border: none;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: background 0.3s, transform 0.2s;
}
.audio-play-btn:hover { background: var(--color-accent-hover); transform: scale(1.08); }
.audio-play-btn svg { width: 20px; height: 20px; fill: #fff; }
.audio-play-btn .icon-pause { display: none; }
.audio-play-btn.playing .icon-play { display: none; }
.audio-play-btn.playing .icon-pause { display: block; }
.audio-info { flex: 1; min-width: 0; }
.audio-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 4px;
}
.audio-title {
  font-family: var(--font-body); font-size: 0.85rem;
  color: var(--color-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.audio-progress {
  height: 3px; background: var(--color-border); border-radius: 2px; margin-top: 8px; overflow: hidden;
}
.audio-progress-fill { height: 100%; background: var(--color-accent); width: 0%; border-radius: 2px; }
.audio-time {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted); white-space: nowrap; flex-shrink: 0;
}

/* COMMENTS */
.comments-section { background: var(--color-bg-alt); padding: clamp(3rem, 6vh, 5rem) 2rem; }
.comments-inner { max-width: 720px; margin: 0 auto; }
.comments-title {
  font-family: var(--font-display); font-weight: 900; font-size: 1.5rem;
  color: var(--color-text); margin-bottom: 2rem;
}
.comment-form { margin-bottom: 3rem; }
.comment-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.comment-input, .comment-textarea {
  width: 100%; padding: 12px 16px; background: transparent;
  border: 1px solid var(--color-border); font-family: var(--font-body);
  font-size: 0.9rem; color: var(--color-text); border-radius: 4px; transition: border-color 0.3s;
}
.comment-input:focus, .comment-textarea:focus { outline: none; border-color: var(--color-accent); }
.comment-input::placeholder, .comment-textarea::placeholder { color: var(--color-text-muted); }
.comment-textarea { min-height: 100px; resize: vertical; }
.comment-submit {
  padding: 12px 32px; background: var(--color-accent); color: #fff; border: none;
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 4px; transition: background 0.3s, transform 0.2s;
}
.comment-submit:hover { background: var(--color-accent-hover); transform: translateY(-1px); }
.comment-list { list-style: none; }
.comment-item { padding: 1.5rem 0; border-top: 1px solid var(--color-border); }
.comment-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; }
.comment-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--color-accent); display: flex;
  align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: 0.85rem; color: #fff; flex-shrink: 0;
}
.comment-meta { flex: 1; }
.comment-author { font-family: var(--font-body); font-weight: 600; font-size: 0.9rem; color: var(--color-text); }
.comment-date { font-family: var(--font-mono); font-size: 10px; color: var(--color-text-muted); }
.comment-body { font-size: 0.95rem; line-height: 1.7; color: var(--color-text-secondary); }

/* AUTHOR BIO */
.author-bio { background: var(--color-bg-alt); padding: clamp(3rem, 6vh, 5rem) 2rem; }
.author-bio-inner {
  max-width: 720px; margin: 0 auto; display: flex; gap: 2rem; align-items: center;
}
.author-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-surface); border: 2px solid var(--color-accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.5rem; color: var(--color-accent); flex-shrink: 0; overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-info { flex: 1; }
.author-name { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: var(--color-text); }
.author-role { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--color-accent); margin-top: 0.2rem; }
.author-text { font-family: var(--font-body); font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; margin-top: 0.6rem; }

/* RELATED ARTICLES */
.related { background: var(--color-bg); padding: clamp(3rem, 8vh, 6rem) 2rem; }
.related-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--color-accent); text-align: center; margin-bottom: 3rem;
}
.related-label::before, .related-label::after {
  content: ''; display: inline-block; width: 2rem; height: 1px;
  background: var(--color-accent); vertical-align: middle;
}
.related-label::before { margin-right: 1rem; }
.related-label::after { margin-left: 1rem; }
.related-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.related-card {
  background: var(--color-surface); border-radius: 6px;
  overflow: hidden; border: 1px solid var(--color-border);
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}
.related-card:hover {
  transform: translateY(-6px); border-color: var(--color-accent);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.related-card-image { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.related-card-image img { width: 100%; height: 100%; object-fit: cover; }
.related-card-tag {
  position: absolute; bottom: 0.75rem; left: 0.75rem;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--color-accent); color: var(--color-bg); padding: 4px 10px;
}
.related-card-body { padding: 1.25rem; }
.related-card-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; line-height: 1.35; color: var(--color-text);
}

/* CHI SIAMO PAGE */
.page-hero {
  position: relative; height: 100vh; min-height: 600px;
  background: var(--color-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  overflow: hidden;
}
.page-hero-bg-letter {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-weight: 900; font-size: 60vw; line-height: 1;
  color: var(--color-accent); opacity: 0.04; pointer-events: none;
}
.page-hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(4rem, 15vw, 14rem); line-height: 0.9; letter-spacing: -0.03em;
  position: relative; z-index: 2;
}
.page-hero-subtitle {
  font-family: var(--font-body); font-size: clamp(0.9rem, 2vw, 1.3rem);
  letter-spacing: 0.15em; text-transform: uppercase; margin-top: 2rem;
  color: var(--color-text-secondary); position: relative; z-index: 2;
}
.page-hero-subtitle em { font-style: normal; color: var(--color-accent); }

/* VALUES SECTION */
.values { background: var(--light-bg); color: var(--light-text); padding: 10rem 3rem; }
.section-label {
  font-family: var(--font-mono); font-size: 0.75rem;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 4rem;
}
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; max-width: 1000px; margin: 0 auto; }
.value-card {
  position: relative; padding: 2.5rem;
  border: 1px solid rgba(26,26,24,0.1); border-radius: 4px;
  background: rgba(255,255,255,0.6); overflow: hidden;
}
.value-card::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 4px; height: 0; background: var(--color-accent);
  transition: height 0.4s cubic-bezier(0.25,1,0.5,1);
}
.value-card:hover::before { height: 100%; }
.value-card:hover { border-color: rgba(242,140,56,0.3); }
.value-number { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-accent); letter-spacing: 0.1em; margin-bottom: 1rem; }
.value-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.5rem, 2.5vw, 2rem); margin-bottom: 0.75rem; }
.value-desc { font-family: var(--font-body); font-size: 1rem; line-height: 1.6; color: rgba(26,26,24,0.7); }

/* TEAM SECTION */
.team { background: var(--color-bg); padding: 10rem 3rem; }
.team .section-label, .team .section-title { text-align: center; }
.team .section-title { color: var(--color-text); margin-bottom: 5rem; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; max-width: 1100px; margin: 0 auto; }
.team-member { text-align: center; }
.member-avatar {
  width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 1.5rem;
  background: conic-gradient(from 0deg, var(--color-accent) 0%, var(--color-accent-secondary) 25%, var(--color-surface) 50%, var(--color-accent) 75%, var(--color-accent-secondary) 100%);
  position: relative; transition: transform 0.4s cubic-bezier(0.25,1,0.5,1); overflow: hidden;
}
.member-avatar::after {
  content: ''; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-radius: 50%; background: var(--color-bg);
}
.member-avatar img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.team-member:hover .member-avatar { transform: scale(1.08); }
.member-name { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-bottom: 0.3rem; transition: color 0.3s; }
.team-member:hover .member-name { color: var(--color-accent); }
.member-role { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 1rem; }
.member-bio { font-size: 0.9rem; line-height: 1.6; color: var(--color-text-secondary); max-width: 280px; margin: 0 auto; }

/* TIMELINE */
.timeline-section { background: var(--light-bg); color: var(--light-text); padding: 10rem 3rem; overflow: hidden; }
.timeline-section .section-label, .timeline-section .section-title { text-align: center; }
.timeline-wrapper { position: relative; max-width: 800px; margin: 0 auto; }
.timeline-line {
  position: absolute; top: 0; left: 50%; width: 2px; height: 100%;
  background: rgba(242,140,56,0.2); transform: translateX(-50%);
}
.timeline-line-fill { width: 100%; height: 0; background: var(--color-accent); transition: height 0.1s linear; }
.timeline-event { position: relative; display: flex; margin-bottom: 5rem; }
.timeline-event:nth-child(odd) { flex-direction: row; padding-right: calc(50% + 3rem); text-align: right; }
.timeline-event:nth-child(even) { flex-direction: row-reverse; padding-left: calc(50% + 3rem); text-align: left; }
.timeline-dot {
  position: absolute; top: 0.5rem; left: 50%; width: 14px; height: 14px;
  background: var(--color-accent); border: 3px solid var(--light-bg);
  border-radius: 50%; transform: translateX(-50%); z-index: 2;
}
.timeline-date { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.5rem; }
.timeline-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.2rem, 2vw, 1.6rem); margin-bottom: 0.5rem; }
.timeline-desc { font-size: 0.95rem; line-height: 1.6; color: rgba(26,26,24,0.65); }

/* CTA SECTION (Chi Siamo) */
.cta-section { background: var(--color-bg-alt); padding: 10rem 3rem; text-align: center; overflow: hidden; }
.cta-section .cta-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin-bottom: 3rem;
}
.cta-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 1.1rem 2.5rem; font-family: var(--font-mono); font-size: 0.8rem;
  letter-spacing: 0.1em; text-transform: uppercase; border-radius: 0;
  transition: all 0.3s cubic-bezier(0.25,1,0.5,1); position: relative;
}
.btn-primary { background: var(--color-accent); color: var(--color-bg); border: 2px solid var(--color-accent); }
.btn-primary:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); transform: translateY(-2px); box-shadow: 0 10px 30px rgba(242,140,56,0.3); }
.btn-ghost { background: transparent; color: var(--color-text); border: 2px solid var(--color-border); }
.btn-ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }

/* CONTACT SPLIT */
.contact-split { display: flex; min-height: 100vh; }
.contact-info {
  width: 45%; background: var(--color-bg-alt); padding: 6rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact-info::after { content: ''; position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: var(--color-border); }
.contact-form-side {
  width: 55%; background: var(--light-bg); padding: 6rem 5rem;
  display: flex; flex-direction: column; justify-content: center; color: var(--light-text);
}
.info-group { margin-bottom: 3rem; }
.info-label { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-accent); margin-bottom: 0.75rem; }
.info-value { font-family: var(--font-display); font-size: clamp(1.2rem, 2vw, 1.8rem); font-weight: 400; font-style: italic; }
.info-value a { transition: color 0.3s; }
.info-value a:hover { color: var(--color-accent); }
.social-links { display: flex; gap: 1.5rem; margin-top: 3rem; padding-top: 3rem; border-top: 1px solid var(--color-border); }
.social-link {
  font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-text-secondary); transition: color 0.3s;
}
.social-link:hover { color: var(--color-accent); }
.info-address { margin-top: 3rem; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-text-muted); }

/* FORM STYLES */
.form-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 4vw, 3.5rem); color: var(--light-text); margin-bottom: 0.5rem; line-height: 1.1; }
.form-subtitle { font-size: 1rem; color: #6B6964; margin-bottom: 3rem; }
.form-group { position: relative; margin-bottom: 2.5rem; }
.form-group label {
  position: absolute; top: 1rem; left: 0;
  font-family: var(--font-body); font-size: 1rem; color: #999;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 1rem 0 0.75rem; background: transparent; border: none;
  border-bottom: 2px solid #D5D3CE; font-family: var(--font-body); font-size: 1rem;
  color: var(--light-text); outline: none; transition: border-color 0.3s;
  -webkit-appearance: none; appearance: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-bottom-color: var(--color-accent); }
.form-group input:focus ~ label, .form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label, .form-group textarea:not(:placeholder-shown) ~ label {
  top: -0.6rem; font-size: 0.7rem; font-family: var(--font-mono);
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-accent);
}
.form-group .focus-line {
  position: absolute; bottom: 0; left: 0; width: 100%; height: 2px;
  background: var(--color-accent); transform: scaleX(0); transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.form-group input:focus ~ .focus-line, .form-group textarea:focus ~ .focus-line { transform: scaleX(1); }
.submit-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 1.2rem 3rem; background: var(--color-accent); color: #fff;
  font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.15em;
  text-transform: uppercase; border: none; border-radius: 0; overflow: hidden;
  transition: background 0.3s, box-shadow 0.3s, transform 0.2s; min-width: 220px;
}
.submit-btn:hover { background: var(--color-accent-hover); box-shadow: 0 0 40px rgba(242,140,56,0.3); transform: translateY(-2px); }

/* FAQ */
.faq-section { background: var(--color-bg); padding: 8rem 3rem; }
.faq-title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 1rem; text-align: center; }
.faq-subtitle { font-family: var(--font-body); color: var(--color-text-secondary); text-align: center; margin-bottom: 4rem; font-size: 1.1rem; }
.faq-wrapper { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-question {
  width: 100%; padding: 1.8rem 0; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--color-text);
  font-family: var(--font-display); font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700; text-align: left; transition: color 0.3s;
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon { position: relative; width: 24px; height: 24px; flex-shrink: 0; margin-left: 2rem; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--color-accent); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); }
.faq-icon::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-icon::after { width: 2px; height: 100%; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .faq-icon::after { transform: translateX(-50%) rotate(90deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.25, 1, 0.5, 1); }
.faq-answer-inner { padding: 0 0 2rem; color: var(--color-text-secondary); font-size: 1rem; line-height: 1.8; }
.faq-item.open .faq-answer { max-height: 500px; }

/* MAP */
.map-section {
  position: relative; padding: 8rem 3rem; background: var(--color-bg-alt); overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 60vh;
}
.map-bg-text {
  position: absolute; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(6rem, 18vw, 20rem); color: rgba(242,140,56,0.03);
  white-space: nowrap; top: 50%; left: 50%; transform: translate(-50%, -50%); pointer-events: none;
}
.map-content { position: relative; z-index: 2; text-align: center; }
.map-location-stack { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.map-location-stack span { font-family: var(--font-display); font-weight: 900; line-height: 1; display: block; }
.map-location-stack .loc-city { font-size: clamp(3rem, 10vw, 9rem); color: var(--color-text); letter-spacing: -0.03em; }
.map-location-stack .loc-region { font-size: clamp(1.5rem, 5vw, 4rem); color: var(--color-text-secondary); }
.map-location-stack .loc-country { font-size: clamp(1rem, 3vw, 2rem); color: var(--color-text-muted); letter-spacing: 0.1em; text-transform: uppercase; font-family: var(--font-mono); font-weight: 400; }
.map-pin { position: relative; margin: 3rem auto 0; width: 20px; height: 20px; }
.map-pin-dot { width: 12px; height: 12px; background: var(--color-accent); border-radius: 50%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 2; }
.map-pin-pulse {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 12px; height: 12px; border-radius: 50%; background: var(--color-accent);
  animation: pinPulse 2s ease-out infinite;
}
@keyframes pinPulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  100% { transform: translate(-50%, -50%) scale(5); opacity: 0; }
}
.map-coords { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.2em; color: var(--color-text-muted); }

/* ARCHIVE */
.archive-hero {
  height: 50vh; min-height: 400px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; position: relative; overflow: hidden; background: var(--color-bg);
}
.archive-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(242,140,56,0.06) 0%, transparent 70%);
}
.archive-hero-title {
  font-family: var(--font-display); font-size: clamp(4rem, 12vw, 10rem); font-weight: 900;
  letter-spacing: -0.02em; line-height: 1; position: relative;
}
.archive-hero-subtitle {
  font-family: var(--font-body); font-size: clamp(0.9rem, 1.5vw, 1.15rem);
  color: var(--color-text-secondary); margin-top: 1rem; letter-spacing: 0.04em;
}
.filter-bar {
  position: sticky; top: 0; z-index: 9999;
  background: rgba(17,17,17,0.95); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border); padding: 1rem 3rem;
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  overflow-x: auto; -ms-overflow-style: none; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 0.55rem 1.3rem; border-radius: 100px; border: 1px solid var(--color-border);
  background: transparent; color: var(--color-text-secondary);
  font-family: var(--font-body); font-size: 0.85rem; font-weight: 500;
  white-space: nowrap; transition: all 0.35s cubic-bezier(0.25,1,0.5,1);
}
.filter-pill:hover { border-color: var(--color-accent); color: var(--color-text); }
.filter-pill.active { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); font-weight: 600; }
.articles-section { max-width: 1320px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.article-card {
  background: var(--color-surface); border-radius: 12px; overflow: hidden;
  border: 1px solid var(--color-border);
  transition: transform 0.5s cubic-bezier(0.25,1,0.5,1), box-shadow 0.4s, border-color 0.4s;
}
.article-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(0,0,0,0.3); border-color: rgba(242,140,56,0.2); }
.card-image { width: 100%; height: 220px; overflow: hidden; position: relative; }
.card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.25,1,0.5,1); }
.article-card:hover .card-image img { transform: scale(1.05); }
.card-accent-line { height: 3px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s cubic-bezier(0.25,1,0.5,1); }
.article-card:hover .card-accent-line { transform: scaleX(1); }
.card-body { padding: 1.4rem 1.5rem 1.5rem; }
.card-category { display: inline-block; font-family: var(--font-mono); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-accent); margin-bottom: 0.7rem; }
.card-title { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.6rem; transition: color 0.3s; }
.article-card:hover .card-title { color: var(--color-accent); }
.card-excerpt { font-size: 0.9rem; color: var(--color-text-secondary); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 1rem; }
.card-meta { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 0.72rem; color: var(--color-text-muted); }
.load-more-wrap { text-align: center; padding: 3rem 0 2rem; }
.load-more-btn {
  display: inline-block; padding: 0.9rem 2.5rem;
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 600;
  color: var(--color-text); border: 2px solid var(--color-border);
  border-radius: 100px; background: transparent;
  transition: all 0.4s cubic-bezier(0.25,1,0.5,1); position: relative; overflow: hidden;
}
.load-more-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* SEARCH + 404 */
.search-hero, .error-hero {
  min-height: 50vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; background: var(--color-bg); padding: 6rem 2rem;
}
.search-hero-title, .error-hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 4rem); margin-bottom: 1rem;
}
.search-form { display: flex; gap: 1rem; max-width: 600px; margin: 2rem auto; }
.search-form input {
  flex: 1; padding: 14px 20px; background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); font-family: var(--font-body); font-size: 1rem; border-radius: 4px;
}
.search-form input:focus { outline: none; border-color: var(--color-accent); }
.search-form button {
  padding: 14px 30px; background: var(--color-accent); color: #fff; border: none;
  font-family: var(--font-mono); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase;
  border-radius: 4px; transition: background 0.3s;
}
.search-form button:hover { background: var(--color-accent-hover); }
.error-code {
  font-family: var(--font-display); font-size: clamp(8rem, 20vw, 15rem); font-weight: 900;
  color: var(--color-accent); opacity: 0.15; line-height: 1;
}

/* PAGINATION */
.pagination { display: flex; justify-content: center; gap: 0.5rem; padding: 3rem 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--color-border);
  font-family: var(--font-mono); font-size: 0.85rem; color: var(--color-text);
  transition: all 0.3s;
}
.pagination a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.pagination .current { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-bg); }

/* KONAMI */
html.konami-mode { animation: konamiHue 0.5s linear infinite; }
@keyframes konamiHue { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }
html.konami-mode .scroll-progress-bar, html.konami-mode .noise-overlay, html.konami-mode .footer-watermark { animation: konamiHue 0.3s linear infinite; }
html.konami-mode .hero-title { animation: konamiShake 0.15s ease infinite; }
html.konami-mode .marquee-track { animation-duration: 2s !important; }
@keyframes konamiShake {
  0% { transform: translate(-2px, 1px) rotate(-1deg); }
  25% { transform: translate(2px, -1px) rotate(1deg); }
  50% { transform: translate(-1px, 2px) rotate(-0.5deg); }
  75% { transform: translate(1px, -2px) rotate(0.5deg); }
  100% { transform: translate(-2px, 1px) rotate(-1deg); }
}
.confetti-piece { position: fixed; z-index: 1000000; pointer-events: none; will-change: transform; }
@keyframes confettiFall {
  0% { opacity: 1; transform: translateY(-10vh) rotate(0) scale(1); }
  50% { opacity: 1; transform: translateY(50vh) rotate(360deg) scale(1.2); }
  100% { opacity: 0; transform: translateY(110vh) rotate(720deg) scale(0.5); }
}
@keyframes confettiSpin { 0% { transform: rotateX(0) rotateY(0); } 100% { transform: rotateX(360deg) rotateY(360deg); } }
.konami-flash { position: fixed; inset: 0; z-index: 999999; background: var(--color-accent); pointer-events: none; animation: konamiFlash 0.6s ease forwards; }
@keyframes konamiFlash { 0% { opacity: 0.8; } 100% { opacity: 0; } }
.konami-bigtext {
  position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0);
  font-family: var(--font-display); font-size: 30vw; font-weight: 900; color: var(--color-accent);
  z-index: 999998; pointer-events: none; animation: konamiBigText 2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  text-shadow: 0 0 100px rgba(242,140,56,0.5); mix-blend-mode: screen;
}
@keyframes konamiBigText {
  0% { transform: translate(-50%, -50%) scale(0) rotate(-10deg); opacity: 0; }
  30% { transform: translate(-50%, -50%) scale(1.3) rotate(3deg); opacity: 1; }
  60% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(3) rotate(5deg); opacity: 0; }
}

/* LIGHT MODE OVERRIDES */
html.light-mode {
  --color-bg: #F5F3EE;
  --color-bg-alt: #EBE8E2;
  --color-surface: #FFFFFF;
  --color-text: #1A1A18;
  --color-text-secondary: #5A5A58;
  --color-text-muted: #8A8A88;
  --color-accent: #E07A28;
  --color-accent-hover: #C86A1E;
  --color-accent-secondary: #B84A2A;
  --color-border: #D4D4D0;
}
html.light-mode .theme-toggle .icon-sun { display: block; }
html.light-mode .theme-toggle .icon-moon { display: none; }
html.light-mode .theme-toggle svg { transform: rotate(180deg); }
html.light-mode .hero { background: #F5F3EE; }
html.light-mode .hero-title .letter { color: #1A1A18; }
html.light-mode .hero-title .letter:last-child { color: var(--color-accent); }
html.light-mode .preloader { background: #F5F3EE; }
html.light-mode .manifesto { background: #F5F3EE; }
html.light-mode .numbers { background: #1A1A18; color: #F2F0EB; }
html.light-mode .numbers .section-label { color: #F28C38; }
html.light-mode .numbers .number-big { -webkit-text-stroke-color: #F2F0EB; }
html.light-mode .numbers .number-big-fill { color: #F28C38; }
html.light-mode .numbers .number-desc { color: #8A8A88; }
html.light-mode .footer { background: #1A1A18; color: #F2F0EB; }
html.light-mode .footer-watermark { color: #222222; }
html.light-mode .footer-col a { color: #8A8A88; }
html.light-mode .footer-col a:hover { color: #F2F0EB; }
html.light-mode .footer-col-title { color: #F28C38; }
html.light-mode .footer-bottom { color: #6B6964; }
html.light-mode .footer-motto { color: #A8A6A0; }
html.light-mode .noise-overlay { opacity: 0.02; }
html.light-mode .marquee-section { background: var(--light-bg); border-color: var(--light-border); }
html.light-mode .marquee-track--top { color: var(--light-text); }
html.light-mode .spotlight { display: none; }
html.light-mode .menu-curtain { background: #F5F3EE; }
html.light-mode .menu-link { color: #1A1A18; }
html.light-mode .menu-link:hover { color: var(--color-accent); }
html.light-mode .menu-link-item { border-color: #D4D4D0; }
html.light-mode .page-transition-panel { background: #1A1A18; }
html.light-mode .page-transition-label { color: #F5F3EE; }
html.light-mode .scroll-top { background: #1A1A18; color: #F5F3EE; box-shadow: 0 4px 20px rgba(0,0,0,0.15); }
html.light-mode .scroll-top:hover { background: var(--color-accent); color: #fff; }
html.light-mode .sound-toggle { background: #FFFFFF; border-color: #D4D4D0; color: #1A1A18; }
html.light-mode .filter-bar { background: rgba(245,243,238,0.95); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .cat-row { grid-template-columns: 60px 1fr; }
  .cat-desc { display: none; }
  .h-card { grid-template-columns: 1fr; }
  .h-card-image { min-height: 200px; }
  .numbers-grid { grid-template-columns: 1fr; gap: 4rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .contact-split { flex-direction: column; }
  .contact-info { width: 100%; padding: 4rem 2rem; }
  .contact-info::after { display: none; }
  .contact-form-side { width: 100%; padding: 4rem 2rem; }
}
@media (max-width: 768px) {
  .hero-title { font-size: 30vw; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta { grid-template-columns: 1fr; }
  .horizontal-outer { height: auto; }
  .horizontal-sticky { position: relative; height: auto; }
  .horizontal-track { flex-direction: column; padding: 2rem 8vw; gap: 2rem; }
  .h-card { flex: none; width: 100%; }
  .horizontal-progress { display: none; }
  .scroll-indicator { display: none; }
  .spotlight { display: none !important; }
  .cursor-label { display: none !important; }
  .manifesto { min-height: auto; padding: 8vh 6vw; }
  .manifesto-word { font-size: clamp(24px, 7.5vw, 52px); filter: none !important; opacity: 0; transition: opacity 0.6s ease !important; }
  .manifesto-word.visible { opacity: 1; }
  .values { padding: 6rem 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
  .team { padding: 6rem 1.5rem; }
  .team-grid { grid-template-columns: 1fr; }
  .timeline-section { padding: 6rem 1.5rem; }
  .timeline-line { left: 1.5rem; }
  .timeline-event:nth-child(odd), .timeline-event:nth-child(even) {
    flex-direction: row; padding-right: 0; padding-left: 4rem; text-align: left;
  }
  .timeline-dot { left: 1.5rem; }
  .related-grid { grid-template-columns: 1fr; max-width: 500px; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .author-bio-inner { flex-direction: column; text-align: center; }
  .comment-form-row { grid-template-columns: 1fr; }
  .search-form { flex-direction: column; }
}
@media (max-width: 375px) {
  .hero-title { font-size: 28vw; }
  .cat-name { font-size: clamp(1.3rem, 7vw, 2.2rem); }
  .manifesto-word { font-size: clamp(20px, 7vw, 40px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--color-bg); }
::-webkit-scrollbar-thumb { background: var(--color-surface); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-accent); }

/* WORDPRESS SPECIFIC */
.wp-block-image img { border-radius: 4px; }
.alignwide { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100vw; margin-left: calc(-50vw + 50%); }
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px); position: absolute !important;
  height: 1px; width: 1px; overflow: hidden;
}

/* ============================================================
   SELTZ CONTENT — auto-styling for editor output
   Bold = highlight accent | Italic = accent | Blockquote = pull quote
   First p = drop-cap | H2 = accent bar | Images = full-width
   ============================================================ */
.seltz-content > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 900;
  font-size: 5rem; float: left; line-height: 0.8;
  color: var(--color-accent); padding-right: 0.6rem; padding-top: 0.1rem;
}
.seltz-content blockquote {
  position: relative;
}
.seltz-content blockquote::before {
  content: '\201C'; position: absolute; top: -0.5em; left: 0.5rem;
  font-family: var(--font-display); font-size: 6rem; font-weight: 900;
  color: var(--color-accent); opacity: 0.15; line-height: 1; pointer-events: none;
}
.seltz-content blockquote p { font-size: inherit; line-height: inherit; margin-bottom: 0; }
.seltz-content hr {
  border: none; height: 1px; max-width: 200px; margin: 3rem auto;
  background: var(--color-accent);
}
.seltz-content figure { margin: 3rem 0; }
.seltz-content figcaption {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted); margin-top: 0.5rem; letter-spacing: 0.02em;
}
.seltz-content .wp-block-gallery { margin: 3rem 0; }
.seltz-content ul, .seltz-content ol {
  margin: 1.5rem 0; padding-left: 1.5rem;
}
.seltz-content li { margin-bottom: 0.5rem; }
.seltz-content a {
  color: var(--color-accent); text-decoration: underline;
  text-underline-offset: 3px; transition: opacity 0.3s;
}
.seltz-content a:hover { opacity: 0.7; }

/* Transcript label */
.transcript-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   VIDEO HERO
   ============================================================ */
.video-hero {
  background: var(--color-bg); padding: 0;
}
.video-wrapper {
  max-width: 1100px; margin: 0 auto; padding: 6rem 2rem 3rem;
}
.video-container {
  position: relative; aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0a0a1a, #1a1a2e, #0a0a1a);
  border-radius: 8px; overflow: hidden; cursor: pointer;
}
.video-container video {
  width: 100%; height: 100%; object-fit: cover;
}
.video-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a1a3e 50%, #0a0a1a 100%);
  animation: videoShimmer 8s ease-in-out infinite;
}
@keyframes videoShimmer {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.video-play-btn {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px; cursor: pointer;
  transition: transform 0.3s, opacity 0.3s;
  filter: drop-shadow(0 0 20px rgba(242,140,56,0.3));
}
.video-play-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.video-play-btn.hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(0.8); }
.video-play-btn.glow circle { stroke: var(--color-accent); filter: drop-shadow(0 0 30px var(--color-accent)); }
.video-controls {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 1rem; background: linear-gradient(transparent, rgba(0,0,0,0.8));
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; transition: opacity 0.3s;
}
.video-controls.visible { opacity: 1; }
.video-container:hover .video-controls { opacity: 1; }
.video-progress-bar {
  flex: 1; height: 3px; background: rgba(255,255,255,0.2);
  border-radius: 2px; cursor: pointer;
}
.video-progress-fill {
  height: 100%; background: var(--color-accent); width: 0%;
  border-radius: 2px; transition: width 0.1s;
}
.video-timer {
  font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.6);
  white-space: nowrap;
}
.video-meta { margin-top: 1.5rem; }
.video-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--color-accent); color: var(--color-bg);
  padding: 4px 12px; margin-bottom: 0.75rem;
}
.video-title {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 900; line-height: 1.2; margin-bottom: 0.5rem;
}
.video-subtitle {
  font-family: var(--font-display); font-style: italic;
  font-size: 1rem; color: var(--color-text-secondary); margin-bottom: 0.75rem;
}
.video-info {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--color-text-muted); display: flex; gap: 0.5rem;
}

/* ============================================================
   GALLERY HERO
   ============================================================ */
.gallery-hero {
  position: relative; min-height: 100vh;
  background-size: cover; background-position: center;
  background-color: var(--color-bg);
  display: flex; align-items: flex-end;
}
.gallery-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.85) 100%);
}
.gallery-hero-content {
  position: relative; z-index: 2;
  padding: 4rem 8vw; max-width: 900px;
}
.gallery-hero-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase;
  background: var(--color-accent); color: var(--color-bg);
  padding: 4px 12px; margin-bottom: 1rem;
}
.gallery-hero-count {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-secondary); margin-left: 1rem;
}
.gallery-hero-title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.15; margin-bottom: 1rem;
}
.gallery-hero-credit {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--color-text-muted); letter-spacing: 0.05em;
}

/* ============================================================
   GALLERY MASONRY GRID
   ============================================================ */
.gallery-grid-section {
  background: var(--color-bg); padding: clamp(3rem, 8vh, 6rem) 2rem;
}
.gallery-grid-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: 1.5rem; color: var(--color-text);
  text-align: center; margin-bottom: 3rem;
}
.gallery-masonry {
  max-width: 1200px; margin: 0 auto;
  columns: 3; column-gap: 1rem;
}
.masonry-item {
  break-inside: avoid; margin-bottom: 1rem;
  cursor: pointer; position: relative; overflow: hidden;
  border-radius: 4px;
}
.masonry-item img {
  width: 100%; display: block;
  transition: transform 0.6s cubic-bezier(0.25,1,0.5,1);
}
.masonry-item:hover img { transform: scale(1.05); }
.masonry-caption {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--color-text-muted); padding: 0.5rem 0;
  letter-spacing: 0.02em;
}
@media (max-width: 1024px) { .gallery-masonry { columns: 2; } }
@media (max-width: 600px) { .gallery-masonry { columns: 1; } }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200000;
  background: rgba(0,0,0,0.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-img {
  max-width: 90vw; max-height: 80vh;
  object-fit: contain; border-radius: 4px;
  transform: scale(0.8); transition: transform 0.4s cubic-bezier(0.25,1,0.5,1);
}
.lightbox.active .lightbox-img { transform: scale(1); }
.lightbox-close {
  position: absolute; top: 2rem; right: 2rem;
  font-size: 2rem; color: #fff; background: none; border: none;
  cursor: pointer; z-index: 3; opacity: 0.7; transition: opacity 0.3s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 3rem; color: #fff; background: none; border: none;
  cursor: pointer; z-index: 3; opacity: 0.5; transition: opacity 0.3s;
  padding: 1rem;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-counter {
  position: absolute; top: 2rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5);
}
.lightbox-caption {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.6);
  text-align: center; max-width: 600px;
}
.photographer-bio .author-bio-label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-accent); margin-bottom: 0.25rem;
}
