/* ═══════════════════════════════════════════════
   LOVR x POWER — Maddi Carroll Proposal
   Industrial Editorial. Raw. Cinematic.
   ═══════════════════════════════════════════════ */

@font-face {
  font-family: 'GT Sectra';
  src: url('assets/fonts/GT-Sectra-Medium.woff2') format('woff2'),
       url('assets/fonts/GT-Sectra-Medium.woff') format('woff'),
       url('assets/fonts/GT-Sectra-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Sectra Display';
  src: url('assets/fonts/GT-Sectra-Display-Bold-Italic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'GT Pressura';
  src: url('assets/fonts/GT-Pressura-Standard-Regular.woff2') format('woff2'),
       url('assets/fonts/GT-Pressura-Standard-Regular.woff') format('woff'),
       url('assets/fonts/GT-Pressura-Standard-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Pressura Mono';
  src: url('assets/fonts/GT-Pressura-Mono-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bordeaux: #4A0D1A;
  --bordeaux-90: rgba(74, 13, 26, 0.9);
  --bordeaux-50: rgba(74, 13, 26, 0.5);
  --ecru: #F5F0E8;
  --ecru-dark: #E8E0D4;
  --white: #FAFAF7;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: 'GT Pressura', Helvetica, sans-serif;
  background: var(--ecru);
  color: var(--bordeaux);
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; height: 100vh; }

.mono-sm {
  font-family: 'GT Pressura Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ═══════ PRESCROLLER / GATE ═══════ */

.prescroller {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
.prescroller__bg {
  position: absolute;
  inset: 0;
  background: var(--bordeaux);
}
.prescroller.is-leaving {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.prescroller.is-gone { display: none; }

.prescroller__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}
.prescroller__logo-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeUp 1.2s var(--ease) 0.3s both;
}
.prescroller__logo {
  width: 140px;
  height: auto;
  filter: brightness(0) invert(1);
}
.prescroller__x {
  font-family: 'GT Sectra', serif;
  font-size: 1rem;
  color: var(--ecru);
  opacity: 0.4;
}
.prescroller__client {
  font-family: 'GT Pressura Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--ecru);
  opacity: 0.7;
}
.prescroller__form {
  position: relative;
  width: 160px;
  animation: fadeUp 1.2s var(--ease) 0.8s both;
}
.prescroller__input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  font-family: 'GT Pressura Mono', monospace;
  font-size: 0.75rem;
  color: var(--ecru);
  text-align: center;
  outline: none;
  letter-spacing: 0.25em;
  caret-color: var(--ecru);
}
.prescroller__line {
  width: 100%;
  height: 1px;
  background: rgba(245, 240, 232, 0.2);
}
.prescroller__footer {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  display: flex;
  justify-content: space-between;
  color: var(--ecru);
  opacity: 0.3;
  z-index: 1;
  animation: fadeUp 1.2s var(--ease) 1.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Gate shake on wrong password */
.prescroller__form.shake {
  animation: shake 0.4s ease;
}
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-8px); }
  75% { transform: translateX(8px); }
}

/* ═══════ SITE (hidden until unlocked) ═══════ */

.site { opacity: 0; transition: opacity 0.6s var(--ease); }
.site.is-visible { opacity: 1; }

/* ═══════ HERO ═══════ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  padding: 3rem;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 8s var(--ease);
}
.hero.is-active .hero__img { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(74, 13, 26, 0.85) 0%,
    rgba(74, 13, 26, 0.4) 40%,
    rgba(74, 13, 26, 0.2) 100%
  );
}
.hero__grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 2;
  color: var(--ecru);
  max-width: 800px;
}
.hero__eyebrow {
  display: block;
  margin-bottom: 1rem;
  opacity: 0.6;
}
.hero__name {
  font-family: 'GT Sectra', serif;
  font-size: clamp(3.5rem, 10vw, 8rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.hero__hook {
  font-family: 'GT Pressura', sans-serif;
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  line-height: 1.6;
  opacity: 0.7;
  max-width: 400px;
}
.hero__scroll-cue {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--ecru);
  opacity: 0.3;
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero__collab {
  position: absolute;
  top: 3rem;
  right: 3rem;
  z-index: 2;
  color: var(--ecru);
  opacity: 0.4;
}

/* ═══════ STAT BREAK ═══════ */

.stat-break {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ecru);
  text-align: center;
  padding: 4rem 2rem;
}
.stat-break__inner { max-width: 600px; }
.stat-break__number {
  font-family: 'GT Sectra', serif;
  font-size: clamp(5rem, 15vw, 12rem);
  line-height: 1;
  display: block;
  color: var(--bordeaux);
}
.stat-break__unit {
  font-family: 'GT Pressura Mono', monospace;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  display: block;
  margin-top: 0.5rem;
  opacity: 0.5;
}
.stat-break__caption {
  font-family: 'GT Pressura', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  margin-top: 2rem;
  opacity: 0.6;
}

/* ═══════ FULL BLEED ═══════ */

.full-bleed {
  position: relative;
  height: 100vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.full-bleed--short { height: 60vh; }
.full-bleed__img {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
}
.full-bleed__overlay {
  position: absolute;
  inset: 0;
  background: var(--bordeaux-50);
}
.full-bleed__overlay--light {
  background: rgba(74, 13, 26, 0.2);
}
.full-bleed__text {
  position: relative;
  z-index: 2;
  color: var(--ecru);
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}
.full-bleed__text h2 {
  font-family: 'GT Sectra', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-top: 1rem;
}
.highlight-num {
  font-family: 'GT Sectra Display', serif;
  font-style: italic;
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-top: 1.5rem;
}

/* ═══════ SPLIT ═══════ */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}
.split__image {
  position: relative;
  overflow: hidden;
}
.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  padding-right: 6rem;
}
.split__text h2 {
  font-family: 'GT Sectra', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  margin-top: 1rem;
}
.split__text p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-top: 1.5rem;
  opacity: 0.7;
}
.split__stat-row {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
}
.split__stat-num {
  font-family: 'GT Sectra', serif;
  font-size: 3rem;
  display: block;
  line-height: 1;
}
.split__stat-label {
  font-size: 0.75rem;
  opacity: 0.5;
  margin-top: 0.5rem;
  display: block;
  max-width: 160px;
  line-height: 1.4;
}

/* ═══════ DARK SECTION ═══════ */

.dark-section {
  background: var(--bordeaux);
  color: var(--ecru);
  padding: 8rem 4rem;
}
.dark-section__inner { max-width: 1100px; margin: 0 auto; }
.dark-section h2 {
  font-family: 'GT Sectra', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-top: 1rem;
}
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}
.pillar { opacity: 0.9; }
.pillar__num {
  font-family: 'GT Pressura Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  opacity: 0.4;
  display: block;
  margin-bottom: 1rem;
}
.pillar h3 {
  font-family: 'GT Sectra', serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.pillar p {
  font-size: 0.875rem;
  line-height: 1.7;
  opacity: 0.6;
}

/* ═══════ TIMELINE ═══════ */

.timeline-section {
  padding: 8rem 4rem;
  background: var(--ecru);
}
.timeline-section__inner { max-width: 800px; margin: 0 auto; }
.timeline-section h2 {
  font-family: 'GT Sectra', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-top: 1rem;
  margin-bottom: 4rem;
}
.timeline {
  position: relative;
  padding-left: 3rem;
}
.timeline__line {
  position: absolute;
  left: 6px;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--bordeaux);
  opacity: 0.1;
}
.timeline__item {
  position: relative;
  padding-bottom: 3rem;
  padding-left: 2rem;
}
.timeline__dot {
  position: absolute;
  left: -2.45rem;
  top: 0.35rem;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid var(--bordeaux);
  background: var(--ecru);
  transition: background 0.4s var(--ease);
}
.timeline__item.is-active .timeline__dot {
  background: var(--bordeaux);
}
.timeline__date {
  font-family: 'GT Pressura Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  opacity: 0.4;
}
.timeline__content h4 {
  font-family: 'GT Sectra', serif;
  font-size: 1.25rem;
  margin-top: 0.25rem;
}
.timeline__content p {
  font-size: 0.875rem;
  opacity: 0.5;
  margin-top: 0.25rem;
}

/* ═══════ DELIVERABLES ═══════ */

.deliverables-section {
  padding: 8rem 4rem;
  background: var(--ecru-dark);
}
.deliverables-section__inner { max-width: 1100px; margin: 0 auto; }
.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 3rem;
  background: rgba(74, 13, 26, 0.08);
}
.del-card {
  background: var(--ecru-dark);
  padding: 2rem;
  transition: background 0.3s var(--ease);
}
.del-card:hover { background: var(--ecru); }
.del-card h4 {
  font-family: 'GT Sectra', serif;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.del-card p {
  font-size: 0.8125rem;
  opacity: 0.5;
  line-height: 1.5;
}

/* ═══════ CLOSE ═══════ */

.close {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bordeaux);
  color: var(--ecru);
  text-align: center;
  padding: 4rem 2rem;
}
.close__inner { max-width: 500px; }
.close__logo {
  width: 80px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  margin-bottom: 3rem;
}
.close__line {
  font-family: 'GT Sectra', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.1;
}
.close__contact {
  margin-top: 3rem;
  opacity: 0.5;
  font-size: 0.875rem;
  line-height: 1.8;
}
.close__footer {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
  opacity: 0.2;
}

/* ═══════ RESPONSIVE ═══════ */

@media (max-width: 768px) {
  .hero { padding: 2rem; }
  .hero__name { font-size: 3rem; }
  .hero__collab { display: none; }
  .split { grid-template-columns: 1fr; }
  .split__image { height: 50vh; }
  .split__text { padding: 2rem; }
  .split__stat-row { flex-direction: column; gap: 2rem; }
  .pillars { grid-template-columns: 1fr; }
  .dark-section { padding: 4rem 2rem; }
  .timeline-section { padding: 4rem 2rem; }
  .deliverables-grid { grid-template-columns: repeat(2, 1fr); }
  .deliverables-section { padding: 4rem 2rem; }
  .prescroller__footer { display: none; }
}
@media (max-width: 480px) {
  .deliverables-grid { grid-template-columns: 1fr; }
}