@import url("https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700&family=Noto+Sans+KR:wght@400;500;600;700&display=swap");

:root {
  --background: #f2f3f4;
  --surface: #e6e8ea;
  --text: #151515;
  --muted: #70757a;
  --line: #c6c9cc;
  --accent: #202832;
  --green: #4f6b45;
  --max-width: 1240px;
  --side-padding: clamp(22px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; }

body {
  margin: 0;
  color: var(--text);
  background: var(--background);
  font-family: "Archivo", "Noto Sans KR", sans-serif;
  line-height: 1.6;
}

body.menu-open { overflow: hidden; }

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

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

button {
  color: inherit;
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  padding: 22px var(--side-padding);
  background: rgba(242, 243, 244, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.site-logo {
  position: relative;
  z-index: 102;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.main-menu {
  display: flex;
  gap: clamp(28px, 5vw, 70px);
}

.menu-group { position: relative; }

.menu-title {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.submenu {
  position: absolute;
  top: 30px;
  left: -16px;
  display: grid;
  gap: 8px;
  min-width: 170px;
  padding: 16px;
  background: var(--background);
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.submenu a {
  color: var(--muted);
  font-size: 0.84rem;
}

.submenu a:hover,
.submenu a:focus-visible {
  color: var(--text);
}

.menu-group:hover .submenu,
.menu-group:focus-within .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.menu-button { display: none; }

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 0;
}

.hero-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.hero-logo {
  display: block;
  width: clamp(140px, 18vw, 240px);
  height: auto;
  margin: 0 auto;
}

.page-main {
  min-height: calc(100vh - 120px);
}

.page-section {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 135px var(--side-padding) 120px;
}

.page-heading {
  margin-bottom: clamp(44px, 6vw, 72px);
}

.page-heading h1 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.35rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
}

.card-meta {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-layout,
.company-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: clamp(35px, 8vw, 120px);
  align-items: center;
}

.profile-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--line);
}

.profile-role {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  text-transform: lowercase;
}

.profile-role span {
  color: var(--muted);
  font-size: 0.72em;
}

.profile-download {
  display: inline-block;
  margin-top: 34px;
  padding-bottom: 5px;
  color: var(--green);
  border-bottom: 1px solid currentColor;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.profile-download:hover { opacity: 0.7; }

.notice-grid.single {
  display: grid;
  grid-template-columns: minmax(280px, 520px);
}

.notice-card {
  padding-top: 16px;
  border-top: 1px solid var(--text);
}

.notice-poster {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
}

.card-copy { padding-top: 18px; }

.card-copy h2 {
  margin: 6px 0 0;
  font-size: clamp(0.98rem, 1.3vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.contact-links {
  display: grid;
  max-width: 850px;
}

.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.contact-name {
  font-size: clamp(1.2rem, 2.1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.contact-detail {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.2vw, 1.05rem);
}

.contact-arrow { font-size: 0.85rem; }

.album-grid,
.book-grid,
.video-grid {
  display: grid;
  gap: clamp(22px, 3.5vw, 44px);
}

.album-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.book-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.album-cover,
.book-cover,
.video-thumb,
.company-image {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  transition: transform 220ms ease, filter 220ms ease;
}

.album-cover { aspect-ratio: 1 / 1; }
.book-cover { aspect-ratio: 2 / 3; }
.video-thumb { aspect-ratio: 16 / 9; }
.company-image { aspect-ratio: 4 / 3; }

.work-card:hover img,
.video-card:hover img {
  transform: translateY(-6px);
  filter: contrast(1.03);
}

.work-info { padding-top: 14px; }

.work-info h2,
.video-title h2,
.column-item h2 {
  margin: 0 0 5px;
  font-size: clamp(0.98rem, 1.25vw, 1.15rem);
  font-weight: 500;
  letter-spacing: -0.025em;
}

.work-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.video-title {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 14px;
}

.more-link {
  display: inline-block;
  margin-top: 48px;
  padding-bottom: 5px;
  border-bottom: 1px solid var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.column-list {
  border-top: 1px solid var(--text);
}

.column-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.column-item > span {
  flex: none;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
}

.company-copy p {
  margin: 0;
  font-family: "Noto Sans KR", sans-serif;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.9;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  padding: 40px var(--side-padding);
  color: rgba(242, 243, 244, 0.72);
  background: var(--accent);
  font-size: 0.75rem;
}

.site-footer p { margin: 0 0 5px; }

@media (max-width: 900px) {
  .site-header { align-items: center; }

  .menu-button {
    position: relative;
    z-index: 102;
    display: grid;
    gap: 6px;
    width: 36px;
    padding: 8px 0;
    background: none;
    border: 0;
    cursor: pointer;
  }

  .menu-button span {
    display: block;
    width: 100%;
    height: 1px;
    background: var(--text);
  }

  .main-menu {
    position: fixed;
    inset: 0;
    z-index: 101;
    display: grid;
    align-content: start;
    gap: 30px;
    padding: 120px var(--side-padding) 50px;
    background: var(--background);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
  }

  .main-menu.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .menu-title {
    font-size: clamp(1.7rem, 7vw, 2.7rem);
    letter-spacing: -0.045em;
  }

  .submenu {
    position: static;
    display: grid;
    gap: 10px;
    min-width: auto;
    padding: 12px 0 0 18px;
    background: transparent;
    border: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .profile-layout,
  .company-layout {
    grid-template-columns: 1fr;
  }

  .album-grid,
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 620px) {
  .page-section {
    padding-top: 112px;
    padding-bottom: 90px;
  }

  .hero-logo {
    width: clamp(130px, 42vw, 210px);
  }

  .album-grid,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

  .book-grid .work-info h2 {
    font-size: 0.95rem;
  }

  .book-grid .work-info p {
    font-size: 0.72rem;
  }

  .contact-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .site-footer {
    flex-direction: column;
  }
}

/* Company page subtitles */
.page-subtitle {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* Video thumbnail links */
.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #222;
  border: 1px solid var(--line);
}

.video-thumb-wrap .video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding-left: 3px;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  font-size: 1rem;
}

.video-card:hover .video-play {
  background: rgba(0, 0, 0, 0.9);
}

/* Mobile menu readability */
@media (max-width: 900px) {
  .main-menu {
    width: 100%;
    height: 100dvh;
    overflow-y: auto;
    padding-top: 100px;
    background: var(--background);
    opacity: 0;
    visibility: hidden;
  }

  .main-menu.is-open {
    opacity: 1;
    visibility: visible;
  }

  body.menu-open main,
  body.menu-open .site-footer {
    visibility: hidden;
  }

  body.menu-open .site-header {
    background: var(--background);
    border-bottom-color: transparent;
  }

  .menu-group {
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
  }

  .submenu {
    margin-top: 6px;
  }

  .submenu a {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

/* Mobile grids: Music and Books 2 columns, Video 1 column */
@media (max-width: 620px) {
  .album-grid,
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }

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

  .album-grid .work-info h2,
  .book-grid .work-info h2 {
    font-size: 0.9rem;
  }

  .album-grid .work-info p,
  .book-grid .work-info p {
    font-size: 0.7rem;
  }
}

/* Prevent the closed mobile menu from intercepting taps */
@media (max-width: 900px) {
  .main-menu {
    pointer-events: none;
  }

  .main-menu.is-open {
    pointer-events: auto;
  }
}
