/* ================================================
   INTEREST PAGE — SWISS GRID: KINETIC TYPOGRAPHY
   + MODULAR GRID + SCROLL-DRIVEN SIZE CHANGES
   Palette: #FFC2D9  #FF99BE  #C2E1FC  #96CBFC  #4E8BC4
   ================================================ */

/* ===== Reset ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Times New Roman', Times, serif;
  overflow-x: hidden;
  color: #2a2a2a;
  background: #FFC2D9;
  transition: background-color 1s ease;
  min-height: 100vh;
}

/* ===== Grid Overlay (Swiss-style visible columns) ===== */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.3;
  transition: opacity 0.8s ease;
}

.grid-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 1px solid #4E8BC4;
  opacity: 0.08;
  transition: border-color 1s ease;
}

/* ===== Mouse Glow ===== */
.mouse-glow {
  position: fixed;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,153,190,0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  mix-blend-mode: screen;
}

/* ===== Navigation ===== */
.navbar {
  position: fixed;
  top: 30px;
  right: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  z-index: 1000;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-list li a {
  text-decoration: none;
  color: #4E8BC4;
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #4E8BC4;
  transition: width 0.3s ease;
}

.nav-list li a:hover { color: #FF99BE; }
.nav-list li a:hover::after { width: 100%; background: #FF99BE; }

.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 28px;
  color: #4E8BC4;
  z-index: 1001;
}

/* =======================================================
   HERO — Kinetic Typography
   The word "Interests" starts huge, then shrinks on scroll
   ======================================================= */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 6px;
  color: #4E8BC4;
  border: 1px solid #4E8BC4;
  padding: 8px 20px;
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.hero-title-wrap {
  overflow: visible;
  line-height: 1;
}

.hero-title {
  font-size: clamp(80px, 18vw, 150px);
  font-weight: bold;
  letter-spacing: -0.02em;
  color: #000000;
  line-height: 0.9;
  will-change: transform, opacity;
  transition: transform 0.05s linear, opacity 0.15s ease;
}

.hero-counter {
  margin-top: 24px;
  font-size: 14px;
  letter-spacing: 4px;
  color: #4E8BC4;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.6s forwards;
}

/* Scroll Cue */
.scroll-cue {
  position: absolute;
  bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
  z-index: 2;
}

.scroll-cue span {
  font-size: 10px;
  letter-spacing: 4px;
  color: #4E8BC4;
  text-transform: uppercase;
}

.scroll-arrow {
  width: 1px;
  height: 50px;
  background: #4E8BC4;
  position: relative;
  animation: arrowPulse 2s ease infinite;
}

@keyframes arrowPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}

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

/* =======================================================
   INTEREST SECTIONS
   ======================================================= */
.interest-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 100px 80px;
  z-index: 2;
}

/* Inner grid: two-column asymmetric */
.section-inner {
  display: grid;
  max-width: 1200px;
  width: 100%;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.layout-left {
  grid-template-columns: 1.3fr 1fr;
}

.layout-right {
  grid-template-columns: 1fr 1.3fr;
}

/* ===== Media / Image ===== */
.section-media {
  position: relative;
}

.media-frame {
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.15);
  transition: transform 0.25s ease;
  will-change: transform;
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.1s linear;
  will-change: transform;
}

/* ===== Content ===== */
.section-content {
  padding: 20px 0;
}

.content-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.meta-num {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 3px;
  color: #4E8BC4;
}

.meta-line {
  flex: 0 0 40px;
  height: 1px;
  background: #4E8BC4;
  opacity: 0.4;
}

.meta-label {
  font-size: 10px;
  letter-spacing: 4px;
  color: #4E8BC4;
  text-transform: uppercase;
}

.content-title {
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: bold;
  color: #2a2a2a;
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.content-body {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3a3a3a;
  max-width: 460px;
}

/* ===== Big Background Number — parallax + scale on scroll ===== */
.section-big-num {
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-size: clamp(200px, 28vw, 400px);
  font-weight: bold;
  color: #2a2a2a;
  opacity: 0.05;
  line-height: 1;
  letter-spacing: -10px;
  pointer-events: none;
  z-index: 1;
  will-change: transform, opacity;
  transition: transform 0.05s linear, opacity 0.15s ease;
}

.section-big-num.right {
  left: auto;
  right: -20px;
  text-align: right;
}

/* =======================================================
   SCROLL REVEAL ANIMATIONS
   ======================================================= */
.reveal-slide-right {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.88);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* =======================================================
   DOT NAVIGATION
   ======================================================= */
.dot-nav {
  position: fixed;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 999;
}

.dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid #4E8BC4;
  transition: all 0.35s ease;
  position: relative;
  cursor: pointer;
  text-decoration: none;
}

.dot span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #4E8BC4;
  transform: scale(0);
  transition: transform 0.35s ease;
}

.dot.active span {
  transform: scale(1);
  background: #FF99BE;
}

.dot.active {
  border-color: #FF99BE;
  transform: scale(1.5);
}

.dot::before {
  content: attr(data-label);
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 9px;
  letter-spacing: 3px;
  color: #4E8BC4;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  text-transform: uppercase;
}

.dot:hover::before { opacity: 1; }

/* =======================================================
   FOOTER
   ======================================================= */
.site-footer {
  text-align: center;
  padding: 60px 20px 50px;
  color: #4E8BC4;
  font-size: 13px;
  letter-spacing: 1.5px;
  position: relative;
  z-index: 2;
}

.footer-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, #FF99BE, #4E8BC4);
  margin: 0 auto 24px;
  border-radius: 2px;
}

.footer-name { font-weight: bold; color: #FF99BE; }

.footer-year {
  margin-top: 6px;
  font-size: 12px;
  opacity: 0.6;
  letter-spacing: 1px;
}

/* =======================================================
   RESPONSIVE — TABLET
   ======================================================= */
@media (max-width: 1024px) {
  .interest-section { padding: 80px 40px; }

  .layout-left,
  .layout-right {
    gap: 40px;
  }

  .content-title { font-size: clamp(30px, 4vw, 50px); }
  .section-big-num { font-size: clamp(160px, 22vw, 300px); }
}

/* =======================================================
   RESPONSIVE — MOBILE
   ======================================================= */
@media (max-width: 768px) {
  .navbar { top: 20px; right: 20px; }

  .menu-toggle {
    display: block;
    position: fixed;
  }

  .nav-list {
    position: fixed;
    top: 70px; right: 20px;
    flex-direction: column;
    background: rgba(42,42,42,0.95);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 20px;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }

  .nav-list.active {
    display: flex;
    animation: slideIn 0.3s ease;
  }

  @keyframes slideIn {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav-list li a { color: white; font-size: 16px; }

  .mouse-glow { display: none; }
  .dot-nav { display: none; }
  .grid-overlay { display: none; }

  .hero { height: 85vh; }
  .hero-title { font-size: clamp(50px, 14vw, 120px); }
  .hero-eyebrow { font-size: 9px; letter-spacing: 4px; }

  .interest-section {
    min-height: auto;
    padding: 50px 20px;
  }

  .layout-left,
  .layout-right {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Image always comes first on mobile */
  .layout-right .section-content { order: 2; }
  .layout-right .section-media { order: 1; }

  .content-title { font-size: 32px; }
  .content-body { font-size: 14.5px; max-width: 100%; }

  .section-big-num {
    font-size: 120px;
    bottom: -10px;
    opacity: 0.04 !important;
  }

  /* Swap reveal directions to up on mobile */
  .reveal-slide-right,
  .reveal-slide-left {
    transform: translateY(40px) translateX(0) !important;
  }

  .reveal-slide-right.visible,
  .reveal-slide-left.visible {
    transform: translateY(0) translateX(0) !important;
  }
}

/* =======================================================
   RESPONSIVE — SMALL MOBILE
   ======================================================= */
@media (max-width: 480px) {
  .navbar { top: 15px; right: 15px; }
  .hero-title { font-size: clamp(40px, 12vw, 80px); }
  .interest-section { padding: 40px 16px; }
  .content-title { font-size: 26px; }
  .content-body { font-size: 13.5px; }
  .section-big-num { font-size: 90px; }
}