/* ============================================================
   INDEX.CSS — Le Clue Portfolio — Landing Page
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: #06090f;
  color: #F0F2F8;
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

/* ── NAV ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 22px 48px;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
  background: rgba(6,9,20,0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__links {
  margin-left: auto;
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav__link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav__link:hover, .nav__link.active { color: rgba(255,255,255,0.88); }

/* ── HERO SECTION ─────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: -5%;
  will-change: transform;
}

.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero__overlay-left {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(6,9,20,0.92) 0%,
    rgba(6,9,20,0.75) 28%,
    rgba(6,9,20,0.3)  55%,
    rgba(6,9,20,0.0)  75%
  );
}

.hero__overlay-tb {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,9,20,0.5) 0%, transparent 15%, transparent 75%, rgba(6,9,20,1) 100%);
}

.hero__overlay-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 80% at 60% 50%, transparent 40%, rgba(6,9,20,0.4) 100%),
    linear-gradient(to left, rgba(6,9,20,0.7) 0%, transparent 18%);
}

canvas#fx {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero__content {
  position: absolute;
  left: 48px;
  top: 50%;
  transform: translateY(-50%);
  max-width: 560px;
  padding-top: 40px;
}

.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 300;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.4s;
}

.hero__eyebrow-line {
  width: 28px; height: 1px;
  background: rgba(20,184,166,0.7);
  flex-shrink: 0;
}

.hero__heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.4rem, 4.5vw, 4rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.65s;
}

.hero__accent {
  display: block;
  width: 0;
  height: 3px;
  background: #F97316;
  border-radius: 2px;
  margin-top: 18px;
  margin-bottom: 20px;
  animation: expandLine 0.7s ease forwards 1.1s;
}

@keyframes expandLine {
  to { width: 52px; }
}

.hero__sub {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(0.875rem, 1.3vw, 1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.48);
  line-height: 1.72;
  max-width: 400px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 0.9s;
}

.hero__ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards 1.15s;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  background: rgba(20,184,166,0.9);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid rgba(20,184,166,0.5);
  backdrop-filter: blur(8px);
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
}

.btn-primary:hover {
  background: #0D9488;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(20,184,166,0.3);
}

.btn-primary .arrow { transition: transform 0.25s; }
.btn-primary:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 13px 26px;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.72);
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(8px);
  transition: all 0.25s;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.11);
  color: #fff;
  border-color: rgba(255,255,255,0.32);
  transform: translateY(-2px);
}

/* ── SCROLL INDICATOR ─────────────────────────────────────── */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 2s;
  cursor: pointer;
  transition: opacity 0.3s;
}

.scroll-indicator:hover { opacity: 0.8; }

.scroll-indicator__mouse {
  width: 22px; height: 34px;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}

.scroll-indicator__wheel {
  width: 2px; height: 6px;
  background: rgba(255,255,255,0.4);
  border-radius: 1px;
  animation: scrollWheel 1.8s ease infinite;
}

@keyframes scrollWheel {
  0%   { transform: translateY(0); opacity: 1; }
  80%  { transform: translateY(8px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

.scroll-indicator__text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ── SECTION SHARED ───────────────────────────────────────── */
.section {
  position: relative;
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #14B8A6;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: #14B8A6;
  flex-shrink: 0;
}

.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  color: #F0F2F8;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 48px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── DARK BG SECTIONS ─────────────────────────────────────── */
.bg-dark   { background: #06090f; }
.bg-deeper { background: #04060c; }
.bg-mid    { background: #080c14; }

/* Full bleed wrapper */
.section-wrap {
  position: relative;
}

/* Divider fade between hero and content */
.hero-fade {
  height: 120px;
  background: linear-gradient(to bottom, rgba(6,9,20,0) 0%, #06090f 100%);
  margin-top: -120px;
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* ── ABOUT SECTION ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-quote {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  border-left: 2px solid #F97316;
  padding-left: 24px;
  margin-bottom: 32px;
}

.about-body {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-body strong {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 20px;
}

.stat-card__value {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #2DD4BF;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── PORTFOLIO SECTION ────────────────────────────────────── */
.portfolio-featured {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 24px;
  transition: border-color 0.3s;
}

.portfolio-featured:hover {
  border-color: rgba(20,184,166,0.35);
}

.portfolio-featured__thumb {
  position: relative;
  overflow: hidden;
}

.portfolio-featured__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
  transition: transform 0.5s ease;
}

.portfolio-featured:hover .portfolio-featured__thumb img {
  transform: scale(1.03);
}

.portfolio-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 60%, rgba(10,14,26,0.8) 100%);
}

.portfolio-featured__info {
  background: #0a0e1a;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.portfolio-featured__label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: #F97316;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.portfolio-featured__title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #F0F2F8;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.portfolio-featured__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.75;
}

.portfolio-featured__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.06em;
}

.tag--teal {
  border-color: rgba(20,184,166,0.3);
  color: #14B8A6;
  background: rgba(20,184,166,0.06);
}

.portfolio-cta {
  text-align: center;
  margin-top: 40px;
}

/* ── Q&A SECTION ──────────────────────────────────────────── */
.qa-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
  max-width: 760px;
  margin: 0 auto;
}

.qa-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 36px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 140px;
  color: rgba(249,115,22,0.08);
  line-height: 1;
  pointer-events: none;
}

.qa-card__question {
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 2px solid rgba(249,115,22,0.4);
}

.qa-card__answer {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.8;
  font-weight: 300;
}

.qa-card__answer strong {
  color: rgba(255,255,255,0.88);
  font-weight: 500;
}

.qa-footer {
  text-align: center;
  margin-top: 40px;
}

/* ── CONTACT SECTION ──────────────────────────────────────── */
.contact-wrap {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-wrap .section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.contact-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 40px;
  line-height: 1.6;
}

.contact-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer__copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.08em;
}

.footer__copy span { color: rgba(20,184,166,0.6); }

.footer__links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer__link {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: rgba(255,255,255,0.2);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.footer__link:hover { color: rgba(255,255,255,0.6); }

/* ── ANIMATIONS ───────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .nav { padding: 18px 24px; }
  .nav.scrolled { padding: 12px 24px; }
  .section { padding: 72px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .portfolio-featured { grid-template-columns: 1fr; }
  .portfolio-featured__thumb { aspect-ratio: 16/8; }
  .qa-card { padding: 32px 28px; }
  .footer { padding: 24px; flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 640px) {
  .nav__links { display: none; }
  .hero__content { left: 24px; right: 24px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .contact-ctas { flex-direction: column; align-items: center; }
}
