/* ============================================================
   AION Private Equity — Style System
   Ink Navy + Champagne Gold | Institutional PE Aesthetic
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --color-ink: #0A101C;
  --color-panel: #121A2A;
  --color-gold: #C9A25F;
  --color-gold-bright: #D9B77A;
  --color-white: #FFFFFF;
  --color-offwhite: #F6F7F9;
  --color-slate: #8A93A3;
  --color-graphite: #39424F;
  --color-border-dark: rgba(255, 255, 255, 0.08);
  --color-border-light: rgba(10, 16, 28, 0.08);

  /* Typography */
  --font-kr: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Cinzel', 'Times New Roman', serif;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --section-padding: 110px 24px;
  --max-width: 1160px;

  /* Motion */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --duration: 0.7s;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-kr);
  font-weight: var(--fw-regular);
  color: var(--color-ink);
  background-color: var(--color-white);
  line-height: 1.7;
  font-size: 16px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

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

:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* --- Utility --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.mobile-br {
  display: none;
}

/* Diamond motif — from the logo apex */
.dia {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--color-gold);
  transform: rotate(45deg);
}

/* Section label */
.section-label {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 40px;
}

.sub-heading {
  font-size: 15px;
  font-weight: var(--fw-semibold);
  color: var(--color-graphite);
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

/* --- Scroll Animation --- */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-group > .fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in-group > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in-group > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in-group > .fade-in:nth-child(4) { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
}


/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s var(--ease);
}

/* 메뉴 하단 골드 그라데이션 라인 */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(201, 162, 95, 0.55) 18%,
    var(--color-gold-bright) 50%,
    rgba(201, 162, 95, 0.55) 82%,
    transparent 100%);
}

.nav.scrolled {
  background: var(--color-ink);
}

.nav__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo img {
  height: 40px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav__links a {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.25s var(--ease);
}

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

.nav__cta {
  color: var(--color-ink) !important;
  background: var(--color-gold);
  padding: 10px 26px;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.nav__cta:hover {
  background: var(--color-gold-bright);
  transform: translateY(-1px);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  margin: 5px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.nav__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-ink);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(7, 11, 20, 0.62) 0%,
    rgba(7, 11, 20, 0.28) 42%,
    rgba(7, 11, 20, 0.66) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 24px;
  max-width: 880px;
}

.hero__overline {
  font-family: var(--font-display);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__tagline {
  font-size: clamp(38px, 5.4vw, 66px);
  font-weight: var(--fw-bold);
  color: var(--color-white);
  line-height: 1.22;
  letter-spacing: -0.015em;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: clamp(16px, 1.9vw, 19px);
  font-weight: var(--fw-light);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  margin-bottom: 52px;
}

.hero__cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  border: 1px solid rgba(201, 162, 95, 0.6);
  padding: 15px 44px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.2s var(--ease);
}

.hero__cta:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-ink);
  transform: translateY(-2px);
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero__scroll .dia {
  width: 7px;
  height: 7px;
  animation: drift 2.6s var(--ease) infinite;
}

@keyframes drift {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.9; }
  50%      { transform: rotate(45deg) translate(6px, 6px); opacity: 0.35; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__scroll .dia { animation: none; }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--color-offwhite);
  padding: var(--section-padding);
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: start;
}

.about__lead {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: var(--fw-semibold);
  line-height: 1.45;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}

.about__body p {
  font-size: 16px;
  color: var(--color-graphite);
  margin-bottom: 20px;
  line-height: 1.85;
}

.about__body p:last-child {
  margin-bottom: 0;
}


/* ============================================================
   VISUAL BAND
   ============================================================ */
.band {
  height: clamp(260px, 36vw, 420px);
  overflow: hidden;
}

.band img,
.band picture {
  width: 100%;
  height: 100%;
}

.band img {
  object-fit: cover;
  object-position: center 30%;
}


/* ============================================================
   PEOPLE
   ============================================================ */
.people {
  position: relative;
  background: var(--color-ink);
  padding: var(--section-padding);
  overflow: hidden;
}

/* 로고 팩 엠보싱 렌더(17)를 배경 텍스처로 사용 */
.people__bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/people-bg.webp?v=1');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.people__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    var(--color-ink) 0%,
    rgba(10, 16, 28, 0.42) 30%,
    rgba(10, 16, 28, 0.42) 70%,
    var(--color-ink) 100%);
}

.people .container {
  position: relative;
  z-index: 1;
}

.section-label--dark {
  color: var(--color-gold);
}

.people__lead {
  font-size: clamp(20px, 2.3vw, 26px);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1.5;
  max-width: 640px;
}

.people__note {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-slate);
}

/* 프로필 카드 (인선 확정 시 활성화) */
.people__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}

.person-card {
  background: var(--color-panel);
  border: 1px solid var(--color-border-dark);
  padding: 32px 28px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.person-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.person-card__photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  margin-bottom: 24px;
}

.person-card__name {
  font-size: 19px;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.person-card__title {
  font-size: 14px;
  color: var(--color-gold);
  margin: 4px 0 16px;
}

.person-card__career {
  list-style: none;
}

.person-card__career li {
  font-size: 14px;
  color: var(--color-slate);
  line-height: 1.8;
}


/* ============================================================
   INVESTMENTS
   ============================================================ */
.investments {
  background: var(--color-white);
  padding: var(--section-padding);
}

.philosophy {
  max-width: 720px;
}

.philosophy__lead {
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: var(--fw-bold);
  color: var(--color-ink);
  line-height: 1.35;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
}

.philosophy__body {
  font-size: 17px;
  color: var(--color-graphite);
  line-height: 1.85;
}

.areas {
  margin-top: 88px;
}

.areas__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.area-card {
  background: var(--color-ink);
  border: 1px solid rgba(201, 162, 95, 0.22);
  padding: 40px 32px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.area-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
}

.area-card__en {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.area-card__title {
  font-size: 20px;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 14px;
}

.area-card__desc {
  font-size: 14.5px;
  color: var(--color-slate);
  line-height: 1.75;
}

.strategy {
  margin-top: 88px;
}

.strategy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.strategy-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-top: 2px solid rgba(201, 162, 95, 0.45);
  padding: 36px 28px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease),
              box-shadow 0.3s var(--ease);
}

.strategy-card:hover {
  border-color: var(--color-gold);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(10, 16, 28, 0.07);
}

.strategy-card .dia {
  width: 7px;
  height: 7px;
  margin-bottom: 22px;
}

.strategy-card__title {
  font-size: 18px;
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  line-height: 1.4;
  margin-bottom: 14px;
}

.strategy-card__desc {
  font-size: 14.5px;
  color: var(--color-graphite);
  line-height: 1.75;
}


/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-ink);
  padding: var(--section-padding);
}

.contact__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact__seal {
  width: min(280px, 64vw);
  margin: 0 auto 40px;
  border: 1px solid rgba(201, 162, 95, 0.3);
  padding: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.contact__seal img {
  width: 100%;
}

.contact__sub {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  line-height: 1.45;
  margin-bottom: 40px;
}

.contact__tel {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: var(--fw-semibold);
  color: var(--color-ink);
  background: var(--color-gold);
  padding: 16px 44px;
  letter-spacing: 0.06em;
  transition: background 0.25s var(--ease), transform 0.2s var(--ease);
}

.contact__tel:hover {
  background: var(--color-gold-bright);
  transform: translateY(-2px);
}

.contact__info {
  margin-top: 36px;
}

.contact__info p {
  font-size: 15px;
  color: var(--color-slate);
  line-height: 1.9;
}

.contact__map {
  display: inline-block;
  margin-top: 20px;
  font-size: 14px;
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  letter-spacing: 0.03em;
  transition: opacity 0.25s var(--ease);
}

.contact__map:hover {
  opacity: 0.7;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #070B14;
  border-top: 1px solid var(--color-border-dark);
  padding: 64px 24px 40px;
}

.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__brand {
  text-align: center;
  margin-bottom: 40px;
}

.footer__brand img {
  height: 58px;
  width: auto;
  margin: 0 auto 14px;
}

.footer__slogan {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  color: var(--color-gold);
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.footer__meta {
  text-align: center;
  margin-bottom: 36px;
}

.footer__meta p {
  font-size: 13px;
  color: var(--color-slate);
  line-height: 1.9;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--color-border-dark);
}

.footer__copy {
  font-size: 13px;
  color: var(--color-slate);
}

.footer__link {
  font-size: 13px;
  color: var(--color-slate);
  transition: color 0.25s var(--ease);
}

.footer__link:hover {
  color: var(--color-white);
}


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .areas__grid {
    grid-template-columns: 1fr;
  }

  .strategy__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .people__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-padding: 76px 20px;
  }

  .mobile-br {
    display: block;
  }

  /* Nav mobile */
  .nav {
    background: var(--color-ink);
    border-bottom-color: var(--color-border-dark);
  }

  .nav__links {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    height: calc(100dvh - 68px);
    background: var(--color-ink);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }

  .nav__links.open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links a {
    font-size: 19px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__inner {
    height: 68px;
  }

  .nav__logo img {
    height: 34px;
  }

  /* About */
  .about__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about__lead {
    font-size: 20px;
  }

  /* Areas */
  .areas {
    margin-top: 64px;
  }

  .people__grid {
    grid-template-columns: 1fr;
  }

  /* Strategy */
  .strategy {
    margin-top: 64px;
  }

  .strategy__grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Footer */
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}


/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero__sub {
    margin-bottom: 44px;
  }

  .hero__cta {
    width: 100%;
    text-align: center;
    padding: 15px 24px;
  }

  .contact__tel {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
  }

  .footer__brand img {
    height: 48px;
  }
}
