/* ==========================================================
   Seong-Bin Oh — Conductor Landing Page
   Classic × Modern | Deep navy, ink black, warm gold
   ========================================================== */

:root {
  --ink: #0b0d12;
  --navy: #10141f;
  --navy-2: #161b28;
  --navy-3: #1c2233;
  --gold: #c9a768;
  --gold-light: #e6d3a3;
  --cream: #f6f1e7;
  --off-white: #f9f7f2;
  --grey-text: #a9adb8;
  --grey-text-2: #55575e;
  --line: rgba(201, 167, 104, 0.25);

  --font-pretendard: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, Arial, sans-serif;
  --font-display: var(--font-pretendard);
  --font-serif: var(--font-pretendard);
  --font-sans: var(--font-pretendard);
  --font-classic-tag: "Jost", "Helvetica Neue", Arial, sans-serif;

  --container: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--off-white);
  color: var(--navy);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

section { position: relative; }

.section-tag {
  font-family: var(--font-sans);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 1.15rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}

/* "Profile / Biography" label keeps the original classic tag font */
.biography .section-tag {
  font-family: var(--font-classic-tag);
  letter-spacing: 0.28em;
  font-weight: 500;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  letter-spacing: 0.01em;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
  padding: 0 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s ease, transform .7s ease;
}
.section-head.in-view { opacity: 1; transform: translateY(0); }
.section-head.light .section-title { color: var(--off-white); }
.section-head.light .section-tag { color: var(--gold-light); }

/* ---------- Progress line ---------- */
.progress-line {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 1000;
  transition: width .1s linear;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 22px 0;
  transition: background .4s ease, padding .4s ease, box-shadow .4s ease;
}

.site-header.scrolled {
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.35);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--off-white);
  letter-spacing: 0.02em;
}
.brand-name.small { font-size: 1.1rem; color: var(--off-white); }
.brand-role {
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.82;
  position: relative;
  padding: 6px 0;
  transition: opacity .3s, color .3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}
.main-nav a:hover { opacity: 1; color: var(--gold-light); }
.main-nav a:hover::after { width: 100%; }

.lang-switch {
  display: flex;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 4px;
}
.lang-btn {
  border: none;
  background: transparent;
  color: var(--grey-text);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 6px 13px;
  border-radius: 20px;
  cursor: pointer;
  transition: all .3s ease;
}
.lang-btn:hover { color: var(--off-white); }
.lang-btn.active {
  background: linear-gradient(135deg, var(--gold), #a9834a);
  color: var(--ink);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--off-white);
  transition: all .3s ease;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--off-white);
  text-align: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: saturate(0.9) brightness(0.75);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,13,18,0.55) 0%, rgba(11,13,18,0.45) 40%, rgba(11,13,18,0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 6.2rem);
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin-bottom: 20px;
  animation: fadeUp 1.1s ease both .1s;
}
.hero-kr {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 0.32em;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-top: 14px;
}

.hero-sub {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.6vw, 1.4rem);
  color: var(--cream);
  font-style: italic;
  margin-bottom: 40px;
  animation: fadeUp 1.2s ease both .2s;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 1.3s ease both .3s;
}

.btn {
  display: inline-block;
  padding: 15px 34px;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .35s ease;
  border: 1px solid transparent;
  font-weight: 500;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #a9834a);
  color: var(--ink);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(201,167,104,0.35);
}
.btn-outline {
  border-color: rgba(246,241,231,0.5);
  color: var(--off-white);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-2px);
}

.scroll-cue {
  position: absolute;
  bottom: 34px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(246,241,231,0.5);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}

@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  70% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   BIOGRAPHY
   ============================================================ */
.biography {
  background: var(--off-white);
  padding: 120px 24px 100px;
}

.bio-lang-switch {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.lang-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9d2c1;
  background: var(--off-white);
  color: var(--grey-text-2);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all .3s ease;
}
.lang-pill .flag-emoji { font-size: 1.05rem; line-height: 1; }
.lang-pill:hover { border-color: var(--gold); color: var(--navy); }
.lang-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--off-white);
}

.bio-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 70px;
  align-items: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s ease, transform .8s ease;
}
.bio-wrap.in-view { opacity: 1; transform: translateY(0); }

.bio-portrait {
  position: sticky;
  top: 130px;
  text-align: center;
}
.portrait-frame {
  border: 1px solid var(--gold);
  padding: 16px;
  position: relative;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(201,167,104,0.35);
  pointer-events: none;
}
.portrait-frame img {
  width: 100%;
  filter: grayscale(0.1) contrast(1.02);
}
.signature-img {
  width: 190px;
  margin: 26px auto 0;
  opacity: 0.85;
}

.bio-text {
  font-family: var(--font-serif);
  font-size: 1.14rem;
  color: #33363f;
}
.bio-text p {
  margin-bottom: 22px;
  text-align: justify;
}
.bio-text p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.4rem;
  float: left;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--gold);
  font-weight: 700;
}

/* ============================================================
   REPERTOIRE
   ============================================================ */
.repertoire {
  background: var(--navy);
  padding: 120px 24px;
  position: relative;
}
.repertoire::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 10%, rgba(201,167,104,0.08), transparent 45%),
    radial-gradient(circle at 85% 90%, rgba(201,167,104,0.06), transparent 45%);
  pointer-events: none;
}

.rep-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.rep-card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  padding: 40px 32px;
  border-radius: 4px;
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
  opacity: 0;
  transform: translateY(24px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.rep-card.in-view { opacity: 1; transform: translateY(0); }
.rep-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.rep-icon {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-bottom: 24px;
}

.rep-card h3 {
  font-family: var(--font-display);
  font-size: 1.28rem;
  color: var(--off-white);
  margin-bottom: 14px;
  font-weight: 600;
  text-align: center;
}
.rep-card p {
  color: var(--grey-text);
  font-size: 0.95rem;
  line-height: 1.75;
  text-align: left;
  width: 100%;
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  background: var(--off-white);
  padding: 120px 24px;
}
.gallery-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 3px;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity .6s ease, transform .6s ease;
  position: relative;
}
.gallery-item.in-view { opacity: 1; transform: scale(1); }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease, filter .6s ease;
  filter: grayscale(0.15);
}
.gallery-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0);
}
.gallery-item.span-2 {
  grid-column: span 2;
}

/* ============================================================
   SCHEDULE
   ============================================================ */
.schedule {
  background: var(--ink);
  padding: 120px 24px;
  position: relative;
}
.schedule::after {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--gold));
}

.schedule-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.schedule-card {
  background: var(--navy-2);
  border: 1px solid var(--line);
  padding: 46px 36px;
  text-align: center;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease, border-color .4s ease;
}
.schedule-card.in-view { opacity: 1; transform: translateY(0); }
.schedule-card:hover { border-color: var(--gold); }

.schedule-season {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--off-white);
  margin-bottom: 18px;
  font-weight: 600;
}
.schedule-status {
  color: var(--grey-text);
  font-size: 0.95rem;
  margin-bottom: 24px;
  min-height: 48px;
}
.schedule-badge {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 30px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: linear-gradient(180deg, var(--ink) 0%, var(--navy-3) 100%);
  padding: 130px 24px 110px;
  text-align: center;
}
.contact-inner {
  max-width: 640px;
  margin: 0 auto;
}
.contact .section-title { color: var(--off-white); }
.contact-desc {
  color: var(--grey-text);
  margin: 20px auto 50px;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  max-width: 520px;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.contact-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 96px;
  padding: 22px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--off-white);
  transition: all .35s ease;
  background: rgba(255,255,255,0.02);
}
.contact-icon i {
  font-size: 1.5rem;
  color: var(--gold-light);
  transition: transform .35s ease;
}
.contact-icon span {
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--grey-text);
}
.contact-icon:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(201,167,104,0.08);
  box-shadow: 0 16px 30px rgba(0,0,0,0.35);
}
.contact-icon:hover i { transform: scale(1.15); color: var(--gold); }
.contact-icon:hover span { color: var(--off-white); }

.contact-email-text {
  color: var(--grey-text);
  font-size: 0.9rem;
  letter-spacing: 0.03em;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  border-top: 1px solid var(--line);
  padding: 30px 24px;
  text-align: center;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}
.footer-inner p {
  color: var(--grey-text-2);
  font-size: 0.8rem;
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: all .35s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.3);
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover { background: var(--gold-light); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .rep-grid { grid-template-columns: repeat(2, 1fr); }
  .bio-wrap { grid-template-columns: 280px 1fr; gap: 44px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 190px; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 260px;
    background: rgba(11,13,18,0.98);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    transform: translateX(100%);
    transition: transform .4s ease;
    z-index: 850;
  }
  .main-nav.open { transform: translateX(0); }
  .menu-toggle { display: flex; }
  .lang-switch { order: 3; }
}

@media (max-width: 720px) {
  .bio-wrap { grid-template-columns: 1fr; }
  .bio-portrait { position: static; max-width: 260px; margin: 0 auto 20px; }
  .rep-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item.span-2 { grid-column: span 2; }
  .schedule-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(2.4rem, 12vw, 3.4rem); }
  .contact-icon { width: 84px; padding: 18px 6px; }
}

@media (max-width: 480px) {
  .header-inner { padding: 0 18px; }
  .brand-name { font-size: 1.1rem; }
  .hero-actions { flex-direction: column; width: 100%; }
  .btn { width: 100%; text-align: center; }
  .contact-icons { gap: 14px; }
}
