/* ============================================
   BLUETIGER EXHIBIT — style.css
   ============================================ */

:root {
  --blue: #1A1AFF;
  --blue-deep: #000080;
  --blue-electric: #2222FF;
  --red: #E63A1E;
  --gold: #B8860B;
  --black: #080808;
  --off-white: #F0EDE8;
  --white: #FFFFFF;
  --gray: #6B6B6B;

  --font-en: 'Inter', sans-serif;
  --font-kr: 'Noto Sans KR', sans-serif;

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-en);
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  backdrop-filter: blur(12px);
  background: rgba(8,8,8,0.7);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-logo {
  font-family: var(--font-en);
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 0.12em;
  color: var(--blue);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.3);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg-text {
  position: absolute;
  bottom: -60px;
  right: -20px;
  font-size: clamp(140px, 22vw, 320px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(26,26,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.hero-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--blue);
  margin-bottom: 36px;
}

.hero-headline {
  font-size: clamp(64px, 10vw, 140px);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-headline .line-fed,
.hero-headline .line-grew {
  color: var(--blue);
  display: inline-block;
  font-style: italic;
}

.hero-headline .line-run-wrap {
  display: flex;
  align-items: baseline;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-headline .line-run {
  color: var(--red);
  position: relative;
}

.hero-headline .line-run::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineSlide 0.8s var(--ease-expo) 1.2s forwards;
}

@keyframes underlineSlide {
  to { transform: scaleX(1); }
}

.hero-sub {
  margin-top: 48px;
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

/* orb */
.hero-orb {
  position: absolute;
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(280px, 35vw, 520px);
  height: clamp(280px, 35vw, 520px);
  pointer-events: none;
}

.orb-inner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 35% 35%,
    #4444FF 0%,
    #1A1AFF 30%,
    #000080 60%,
    #2D0060 80%,
    #080808 100%
  );
  filter: blur(0px);
  animation: orbFloat 8s ease-in-out infinite;
  box-shadow:
    0 0 80px rgba(26,26,255,0.3),
    0 0 200px rgba(26,26,255,0.1),
    inset 0 0 60px rgba(100,100,255,0.2);
}

.orb-ring {
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  border: 1.5px solid rgba(184,134,11,0.3);
  animation: orbRing 12s linear infinite;
}

.orb-ring-2 {
  inset: -40px;
  border-color: rgba(26,26,255,0.15);
  animation-duration: 18s;
  animation-direction: reverse;
}

@keyframes orbFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.02); }
}

@keyframes orbRing {
  to { transform: rotate(360deg); }
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 60px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.25);
  writing-mode: horizontal-tb;
}

/* ---- PHASE BAR ---- */
.phase-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0 40px;
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.phase-bar-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 48px;
  cursor: pointer;
  transition: background 0.2s;
  position: relative;
}

.phase-bar-item:hover,
.phase-bar-item.active {
  background: rgba(26,26,255,0.08);
}

.phase-bar-item.active .phase-bar-name {
  color: var(--blue);
}

.phase-bar-num {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.1em;
}

.phase-bar-name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.phase-bar-desc {
  font-family: var(--font-kr);
  font-size: 12px;
  color: rgba(255,255,255,0.35);
}

.phase-divider {
  color: rgba(255,255,255,0.15);
  font-size: 20px;
  padding: 0 8px;
}

/* ---- PHASE SECTIONS ---- */
.phase-section {
  padding: 100px 60px;
  position: relative;
  overflow: hidden;
}

.phase-section + .phase-section {
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* phase header */
.phase-header {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  align-items: start;
  gap: 40px;
  margin-bottom: 72px;
}

.phase-index {
  font-size: clamp(80px, 10vw, 140px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255,255,255,0.04);
  align-self: center;
}

.phase-name {
  font-size: clamp(48px, 7vw, 96px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.phase-header--feed .phase-name { color: var(--white); }
.phase-header--grow .phase-name { color: var(--blue); }
.phase-header--run .phase-name { color: var(--red); }

.phase-course {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin: 12px 0 20px;
  text-transform: uppercase;
}

.phase-desc {
  font-family: var(--font-kr);
  font-size: 15px;
  line-height: 1.8;
  color: rgba(255,255,255,0.5);
  font-weight: 300;
}

.phase-slogan {
  font-family: var(--font-en);
  font-size: clamp(13px, 1.4vw, 18px);
  font-weight: 700;
  line-height: 1.5;
  color: rgba(255,255,255,0.2);
  text-align: right;
  align-self: center;
  font-style: italic;
}

/* ---- GALLERY GRIDS ---- */
.gallery-grid {
  display: grid;
  gap: 16px;
}

.gallery-grid--feed {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
}

.gallery-grid--grow {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-grid--run {
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
}

/* gallery cards */
.gallery-card {
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.4s var(--ease-expo), border-color 0.3s;
  cursor: pointer;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,26,255,0.3);
}

.card-lg { grid-column: span 2; }
.card-md { grid-column: span 1; }
.card-sm { grid-column: span 1; }
.card-full { grid-column: span 4; }

/* card media (placeholder gradient until real images added) */
.card-media {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--c1) 0%, var(--c2) 100%);
  position: relative;
  overflow: hidden;
}

.card-media--featured {
  aspect-ratio: 21/9;
}

.card-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0.05) 0%,
    transparent 60%
  );
}

.card-info {
  padding: 20px 24px 24px;
}

.card-info--featured {
  padding: 28px 32px 32px;
}

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}

.card-tag--featured { color: var(--blue); }

.card-title {
  font-size: 20px;
  font-weight: 700;
  margin: 8px 0 6px;
  letter-spacing: -0.01em;
}

.card-title--lg {
  font-size: clamp(24px, 3vw, 40px);
}

.card-author {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-weight: 400;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.card-meta span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.5);
}

/* ---- STICKERS ---- */
.phase-sticker-row {
  display: flex;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.sticker {
  display: inline-block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.15em;
  border-radius: 4px;
  transform: rotate(-1.5deg);
  text-transform: uppercase;
}

.sticker:nth-child(even) { transform: rotate(1.2deg); }
.sticker:nth-child(3n) { transform: rotate(-0.8deg); }

.sticker--blue { background: var(--blue); color: var(--white); }
.sticker--red { background: var(--red); color: var(--white); }
.sticker--dark { background: #111; color: var(--white); border: 1px solid rgba(255,255,255,0.15); }
.sticker--outline { background: transparent; color: var(--white); border: 2px solid var(--white); }

/* ---- MARQUEE (GROW) ---- */
.grow-marquee-wrap {
  margin-top: 60px;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
}

.grow-marquee {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 24s linear infinite;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.2);
  text-transform: uppercase;
  font-family: var(--font-kr);
}

.grow-marquee span:nth-child(odd) { color: rgba(26,26,255,0.4); }

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

/* ---- PORTFOLIO SPOTLIGHT ---- */
.portfolio-spotlight {
  margin-top: 80px;
  padding: 60px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.spotlight-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.2);
  margin-bottom: 40px;
}

.portfolio-cards {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.portfolio-card {
  flex: 1;
  min-width: 200px;
  padding: 32px;
  border-radius: 12px;
  position: relative;
}

.portfolio-card--1 {
  background: var(--red);
  transform: rotate(-1.5deg);
}

.portfolio-card--2 {
  background: var(--blue);
  transform: rotate(0.8deg);
}

.portfolio-card--3 {
  background: #111;
  border: 1px solid rgba(255,255,255,0.1);
  transform: rotate(-0.5deg);
}

.portfolio-card-tag {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 12px;
}

.portfolio-card-name {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---- CLOSING ---- */
.closing {
  padding: 160px 60px;
  position: relative;
  overflow: hidden;
  text-align: center;
  background: rgba(26,26,255,0.03);
  border-top: 1px solid rgba(26,26,255,0.1);
}

.closing-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(160px, 30vw, 400px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(26,26,255,0.04);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.closing-content {
  position: relative;
  z-index: 2;
}

.closing-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--blue);
  margin-bottom: 32px;
}

.closing-headline {
  font-size: clamp(56px, 9vw, 130px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 0;
}

.closing-headline-big {
  color: var(--red);
  font-style: italic;
}

.closing-sub {
  font-family: var(--font-kr);
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255,255,255,0.4);
  font-weight: 300;
  margin-top: 40px;
  margin-bottom: 48px;
}

.closing-cta {
  display: inline-block;
  padding: 18px 48px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 100px;
  transition: background 0.2s, transform 0.2s;
}

.closing-cta:hover {
  background: var(--blue-electric);
  transform: scale(1.04);
}

.closing-orb {
  position: absolute;
  bottom: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  pointer-events: none;
  opacity: 0.3;
}

.closing-orb .orb-inner {
  animation-delay: -4s;
}

/* ---- FOOTER ---- */
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 60px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-logo {
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.15em;
  color: var(--blue);
  margin-bottom: 6px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
}

.footer-right {
  display: flex;
  gap: 24px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.15);
}

/* ---- ANIMATIONS (on scroll) ---- */
.phase-section,
.gallery-card,
.phase-header {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-expo), transform 0.8s var(--ease-expo);
}

.phase-section.visible,
.phase-section.visible .gallery-card,
.phase-section.visible .phase-header {
  opacity: 1;
  transform: translateY(0);
}

.phase-section.visible .gallery-card:nth-child(2) { transition-delay: 0.08s; }
.phase-section.visible .gallery-card:nth-child(3) { transition-delay: 0.16s; }
.phase-section.visible .gallery-card:nth-child(4) { transition-delay: 0.24s; }
.phase-section.visible .gallery-card:nth-child(5) { transition-delay: 0.32s; }

/* ---- RESPONSIVE ---- */
@media (max-width: 960px) {
  .hero { padding: 120px 32px 80px; }
  .hero-orb { display: none; }

  .phase-bar {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .phase-bar-item { padding: 16px 32px; width: 100%; }
  .phase-divider { display: none; }

  .phase-section { padding: 72px 32px; }

  .phase-header {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .phase-index { display: none; }
  .phase-slogan { text-align: left; }

  .gallery-grid--feed,
  .gallery-grid--grow { grid-template-columns: 1fr 1fr; }

  .gallery-grid--run { grid-template-columns: 1fr 1fr; }
  .card-full { grid-column: span 2; }
  .card-lg { grid-column: span 2; }

  .portfolio-spotlight { padding: 40px 24px; }

  .footer { flex-direction: column; gap: 24px; text-align: center; }
  .footer-right { flex-direction: column; gap: 8px; align-items: center; }
}

@media (max-width: 600px) {
  .nav { padding: 16px 20px; }
  .nav-links { gap: 20px; }

  .hero { padding: 100px 20px 60px; }

  .phase-section { padding: 60px 20px; }

  .gallery-grid--feed,
  .gallery-grid--grow,
  .gallery-grid--run {
    grid-template-columns: 1fr;
  }

  .card-lg, .card-full, .card-md, .card-sm {
    grid-column: span 1;
  }

  .closing { padding: 100px 20px; }
  .footer { padding: 24px 20px; }
}
