/* /css/global.css - CRAZY STUNNING ARTISTIC EDITORIAL */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&family=Inter:wght@300;400;500;700;900&display=swap');

:root {
  --bg-color: #070707; /* Deepest black/charcoal */
  --text-main: #EFEFEF;
  --text-dim: #888888;
  --accent-1: #FF2E00; /* Neon Vermillion */
  --accent-2: #D1FF27; /* Acid Yellow */
  --accent-3: #0044FF; /* Electric Blue */
  --nav-height: 100px;
}

/* Base Styles */
body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--accent-2);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 14px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
  border-left: 1px solid var(--text-dim);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-1);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-main);
}

/* Background Noise Texture */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

/* Typography Overhaul */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: 0.95;
  color: var(--text-main);
}

.display-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(80px, 15vw, 250px);
  font-weight: 300;
  font-style: italic;
  letter-spacing: -0.04em;
  text-transform: lowercase;
  white-space: nowrap;
  mix-blend-mode: difference;
  z-index: 10;
  position: relative;
}

h2.section-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(50px, 8vw, 120px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 3rem;
  color: var(--text-main);
}

h2.section-title span {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--accent-1);
  text-transform: lowercase;
}

h3.article-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.text-link {
  border-bottom: 2px solid var(--accent-2);
  color: var(--accent-2);
}

.text-link:hover {
  background-color: var(--accent-2);
  color: #000;
}

.caption-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent-1);
  margin-bottom: 1rem;
  display: block;
}

/* Marquee Tape */
.marquee-wrapper {
  background: var(--accent-2);
  color: #000;
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  transform: rotate(-2deg);
  width: 110vw;
  margin-left: -5vw;
  position: relative;
  z-index: 50;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.marquee-content {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-block;
  animation: marquee 15s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 5vw;
  box-sizing: border-box;
}

.section {
  padding: 12rem 0;
  position: relative;
}

/* Artistic Image Handling */
.img-wrap {
  overflow: hidden;
  position: relative;
  width: 100%;
  background: #111;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.2);
  opacity: 0.6;
  mix-blend-mode: luminosity;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-wrap:hover img {
  transform: scale(1.08) rotate(1deg);
  filter: grayscale(0%) contrast(1.1);
  opacity: 1;
  mix-blend-mode: normal;
  /* Crazy Glitch effect snapshot */
  animation: jitter 0.2s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes jitter {
  0% { transform: translate(0) scale(1.08); filter: sepia(100%) saturate(300%) hue-rotate(90deg); }
  20% { transform: translate(-5px, 5px) scale(1.08); filter: invert(100%); }
  40% { transform: translate(-5px, -5px) scale(1.08); filter: sepia(100%) saturate(300%) hue-rotate(180deg); }
  60% { transform: translate(5px, 5px) scale(1.08); filter: invert(0); }
  80% { transform: translate(5px, -5px) scale(1.08); filter: sepia(100%) saturate(300%) hue-rotate(270deg); }
  100% { transform: translate(0) scale(1.08); filter: grayscale(0%) contrast(1.1); }
}

/* Scroll Marquee (Bound to Scroll) */
.scroll-marquee-container {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  padding: 6rem 0;
  margin-top: 15rem;
  margin-bottom: 10rem;
  border-top: 2px solid #000;
  border-bottom: 2px solid #000;
  background-color: var(--accent-1);
}
.scroll-marquee-inner {
  white-space: nowrap;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(80px, 15vw, 300px);
  color: #000;
  line-height: 0.8;
  text-transform: uppercase;
  will-change: transform;
}

/* Brutalist Block Shadows */
.hard-shadow {
  box-shadow: 20px 20px 0px var(--accent-3);
  border: 1px solid var(--text-dim);
  transition: all 0.4s ease;
}

.hard-shadow:hover {
  box-shadow: 10px 10px 0px var(--accent-1);
  transform: translate(10px, 10px);
}

/* Wild Navigation */
.global-nav {
  position: fixed;
  top: 0; left: 0; width: 100%;
  height: var(--nav-height);
  padding: 0 3vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  z-index: 1000;
  mix-blend-mode: difference;
}

.nav-logo a {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.logo-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-style: italic;
  color: var(--accent-2);
}

.nav-links {
  display: flex;
  gap: 4rem;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-main);
}

.nav-link:hover {
  color: var(--accent-1);
  transform: skewX(-15deg);
}

/* Huge Hero */
.hero-full {
  position: relative;
  width: 100%;
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-full .hero-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(0.4) contrast(1.5);
  z-index: 1;
}

.hero-full::after {
  content: ''; position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at center, transparent 0%, #070707 100%);
  z-index: 2;
}

.hero-text {
  position: relative;
  z-index: 10;
  text-align: center;
  mix-blend-mode: difference;
}

.hero-text p {
  font-family: 'Inter', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5em;
  margin-top: -2rem;
  color: var(--accent-2);
}

/* Overlapping Asymmetric Grids */
.asymmetric-grid {
  display: grid;
  grid-template-columns: 6fr 4fr;
  gap: 8rem;
  margin-top: 10rem;
}

.asymmetric-item.tall .img-wrap {
  aspect-ratio: 3/4;
}

.asymmetric-col-right {
  display: flex;
  flex-direction: column;
  gap: 10rem;
  margin-top: 15rem;
}

.asymmetric-col-right .img-wrap {
  aspect-ratio: 1;
}

.asymmetric-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 6vw, 96px);
  font-style: italic;
  line-height: 0.9;
  margin-top: -2rem;
  margin-left: -1rem;
  position: relative;
  z-index: 5;
  text-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

@media (min-width: 900px) {
  .asymmetric-title {
    margin-top: -4rem;
    margin-left: -4rem;
  }
}

.asymmetric-item:hover .asymmetric-title {
  color: var(--accent-1);
}

/* Feature Spread */
.featured-spread {
  padding: 15rem 5vw;
  background-color: var(--accent-3);
  color: #000;
  margin: 10rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  border-top: 5px solid var(--accent-2);
  border-bottom: 5px solid var(--accent-2);
}

.featured-spread .img-wrap img {
  filter: none; opacity: 1; mix-blend-mode: normal;
}

.featured-text h2 {
  color: #fff;
  font-size: clamp(60px, 8vw, 110px);
  line-height: 0.85;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
}

.featured-text p {
  color: #000;
  font-weight: 500;
  font-size: 24px;
}

.featured-text a {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 1.5rem 3rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 50px;
}

.featured-text a:hover {
  background: var(--accent-2);
  color: #000;
  transform: scale(1.05);
}

/* Crazy Story Grid */
.story-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.story-card {
  border: 1px solid var(--text-dim);
  padding: 2rem;
  transition: background 0.3s;
}

.story-card:hover {
  background: var(--text-main);
  color: var(--bg-color);
}

.story-card:hover h3, .story-card:hover p {
  color: var(--bg-color);
}

.story-card .img-wrap {
  aspect-ratio: 16/9;
  margin-bottom: 2rem;
}

/* Article Body */
.article-body {
  max-width: 800px;
  margin: 0 auto;
  font-size: 22px;
}

.article-body h2 {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  margin-top: 8rem;
  margin-bottom: 2rem;
  font-size: 42px;
  color: var(--accent-2);
}

.article-body p {
  line-height: 1.8;
  color: #CCC;
}

.pull-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(40px, 6vw, 80px);
  color: var(--accent-1);
  line-height: 1.1;
  text-align: left;
  border-left: 10px solid var(--accent-1);
  padding-left: 3rem;
  margin: 5rem 0;
  width: 100%;
  box-sizing: border-box;
}

.full-bleed-image {
  margin: 8rem calc(-50vw + 50%);
  width: 100vw;
  height: 90vh;
  object-fit: cover;
  filter: grayscale(100%);
}

.editorial-callout {
  background: var(--accent-1);
  color: #000;
  padding: 4rem;
  transform: rotate(2deg);
  margin: 8rem 0;
}

.editorial-callout h3, .editorial-callout p {
  color: #000;
}

/* Footer (Brutalist) */
.global-footer {
  background: var(--accent-2);
  color: #000;
  padding: 10rem 5vw 2rem;
  clip-path: polygon(0 10%, 100% 0, 100% 100%, 0% 100%);
  margin-top: 10rem;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 5rem;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(50px, 8vw, 100px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 800px;
}

.footer-column .caption-label {
  color: #000;
  border-bottom: 2px solid #000;
  padding-bottom: 5px;
  margin-bottom: 2rem;
}

.footer-column a {
  color: #333;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
}

.footer-column a:hover {
  color: var(--accent-1);
  transform: translateX(10px);
}

@media (max-width: 1024px) {
  .asymmetric-grid { grid-template-columns: 1fr; gap: 4rem; margin-top: 5rem; }
  .asymmetric-col-right { margin-top: 0; gap: 4rem; }
  .asymmetric-title { margin-left: 0; margin-top: -2rem; }
  .featured-spread { grid-template-columns: 1fr; }
  .hero-full { height: 90vh; }
}

/* Intersection Reveal Elements */
.reveal-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
