/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0a;
  --off-black: #111111;
  --dark: #1a1a1a;
  --mid: #2e2e2e;
  --muted: #888;
  --light: #c8c4bc;
  --white: #f5f3ef;
  --accent: #b8a98a;
  --font-ko: 'Noto Serif KR', serif;
  --font-en: 'Cormorant Garamond', serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-ko);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.4rem 3rem;
  background: linear-gradient(to bottom, rgba(10,10,10,0.9) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-home {
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--muted);
  transition: color 0.3s;
}

.nav-home:hover { color: var(--accent); }

.nav-name {
  font-family: var(--font-en);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--light);
  transition: color 0.3s;
}

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

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(20%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.1) 0%,
    rgba(10,10,10,0.0) 40%,
    rgba(10,10,10,0.7) 75%,
    rgba(10,10,10,0.95) 100%
  );
}

.hero-text {
  position: relative;
  z-index: 2;
  padding: 0 3rem 6rem;
}

.hero-label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  letter-spacing: 0.35em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.hero-name {
  font-family: var(--font-ko);
  font-size: clamp(3.5rem, 9vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
}

.hero-name-en {
  font-family: var(--font-en);
  font-size: clamp(1rem, 2.5vw, 1.6rem);
  font-weight: 300;
  font-style: italic;
  color: var(--light);
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

/* Scroll arrow */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  z-index: 2;
  width: 28px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 14px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 6px;
}

.scroll-down span {
  display: block;
  width: 4px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.2; transform: translateY(14px); }
}

/* ── SECTION TITLE ── */
.section-title {
  font-family: var(--font-en);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 3rem;
}
.section-title.center { text-align: center; }

.section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 1px;
  background: var(--accent);
  margin-top: 0.75rem;
}
.section-title.center::after { margin: 0.75rem auto 0; }

/* ── ABOUT ── */
.about {
  padding: 8rem 0;
  background: var(--off-black);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.about-photo-col {
  position: sticky;
  top: 6rem;
}

.about-photo {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(15%);
}

.about-info-col {
  padding-top: 0.5rem;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.9rem;
  vertical-align: top;
  line-height: 1.6;
}

.info-table th {
  width: 6rem;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.05em;
  padding-right: 1.5rem;
  white-space: nowrap;
}

.info-table td { color: var(--light); }
.info-table a:hover { color: var(--accent); }

/* ── FILMOGRAPHY ── */
.filmography {
  padding: 8rem 0;
  background: var(--black);
}

.filmo-block { margin-bottom: 4rem; }

.filmo-category {
  font-family: var(--font-en);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(184,169,138,0.2);
}

.filmo-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.filmo-item {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.2s, padding-left 0.2s;
}

.filmo-item:hover {
  background: rgba(255,255,255,0.02);
  padding-left: 0.5rem;
}

.filmo-year {
  font-family: var(--font-en);
  font-size: 0.85rem;
  color: var(--muted);
  min-width: 3rem;
  letter-spacing: 0.05em;
}

.filmo-title {
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.filmo-platform {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  background: #e50914;
  color: #fff;
  padding: 0.1rem 0.45rem;
  border-radius: 2px;
  font-family: var(--font-en);
  font-weight: 600;
  text-transform: uppercase;
}

.filmo-type-tag {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  background: rgba(255,255,255,0.08);
  color: var(--muted);
  padding: 0.1rem 0.5rem;
  border-radius: 2px;
  font-family: var(--font-en);
}

.filmo-role {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filmo-type {
  font-size: 0.65rem;
  border: 1px solid rgba(184,169,138,0.35);
  color: var(--accent);
  padding: 0.05rem 0.45rem;
  border-radius: 2px;
  letter-spacing: 0.08em;
}

/* ── GALLERY ── */
.gallery {
  padding: 8rem 0;
  background: var(--off-black);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--dark);
}

.gallery-item.main {
  grid-row: span 2;
  aspect-ratio: unset;
}

.gallery-item.wide { aspect-ratio: 16/9; }

.gallery-item img {
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(20%);
}

.gallery-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.7rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  font-size: 0.75rem;
  color: var(--light);
  letter-spacing: 0.05em;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover .gallery-caption { opacity: 1; }

/* ── CONTACT ── */
.contact {
  padding: 8rem 0;
  background: var(--black);
}

.contact-inner { text-align: center; }

.contact-sub {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 3rem;
  letter-spacing: 0.03em;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--light);
  letter-spacing: 0.05em;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: color 0.3s, border-color 0.3s;
}

.contact-link:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-icon { font-size: 1rem; }

/* ── FOOTER ── */
.footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-home {
  color: var(--muted);
  transition: color 0.3s;
}

.footer-home:hover { color: var(--accent); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .nav { padding: 1.2rem 1.5rem; }
  .nav-links { gap: 1.5rem; }
  .hero-text { padding: 0 1.5rem 4rem; }
  .scroll-down { right: 1.5rem; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-photo-col { position: static; }
  .about-photo { aspect-ratio: 3/4; }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.main { grid-column: span 2; aspect-ratio: 3/4; }
  .gallery-item.wide { grid-column: span 2; }

  .contact-links { flex-direction: column; align-items: center; gap: 1.5rem; }

  .container { padding: 0 1.25rem; }
  .about, .filmography, .gallery, .contact { padding: 5rem 0; }

  .footer { flex-direction: column; gap: 0.75rem; text-align: center; }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero-name { font-size: 3rem; }
}
