* {
  box-sizing: border-box;
}

:root {
  --sidebar-w: 520px;
  --ink: #000;
  --paper: #fff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.05em;
}

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

a:hover {
  text-decoration: underline;
}

/*
  LEFT PANEL
  logo.png = upper logo block
  home.png / catalogue.png / report.png / contact.png = menu images
*/
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  background: #fff;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 92px;
}

.logo-link {
  display: block;
  width: 355px;
  overflow: visible;
  text-align: center;
  line-height: 0;
  margin-top: 50px;
}

.site-logo {
  width: 355px;
  height: auto;
  display: block;
  transform: none;
  transform-origin: top center;
}

/* IMAGE MENU */
.image-nav {
  margin-top: 125px;
  width: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0;
}

.image-nav a {
  display: block;
  line-height: 0;
  width: fit-content;
}

.image-nav img {
  display: block;
  width: 210px;
  height: auto;
}

/* RIGHT CONTENT AREA */
.main {
  margin-left: var(--sidebar-w);
  min-height: 100vh;
  padding: 34px 34px 80px;
}

/* HOME */
.main-home {
  display: grid;
  place-items: center;
  padding-top: 32px;
}

.feature-news {
  display: block;
  width: min(920px, 82vh, calc(100vw - var(--sidebar-w) - 100px));
  aspect-ratio: 1 / 1;
  border: 3px solid var(--ink);
  overflow: hidden;
  background: #fff;
}

.feature-news img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.feature-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
/* CATALOGUE */
.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 34px 32px;
  align-items: start;
}

.catalogue-item {
  scroll-margin-top: 40px;
}

.cover-frame {
  display: block;
  border: 3px solid var(--ink);
  aspect-ratio: 1 / 1;
  background: #fff;
  overflow: hidden;
}

.cover-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cover-frame img.contain {
  object-fit: contain;
}

.tiny-links {
  margin-top: 8px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.tiny-links a {
  font-size: 24px;
  letter-spacing: 0.03em;
}

.tiny-links .is-disabled {
  color: #777;
  cursor: not-allowed;
}

.catalogue-caption {
  margin: 8px 0 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  line-height: 1.35;
  max-width: 720px;
}

/*
  REPORT
  Visual order is hardcoded in report.html:
  12 / 11 / 10
   9 /  8 /  7
   6 /  5 /  4
   3 /  2 /  1
*/
.report-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  align-items: start;
}

.report-item {
  margin: 0;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #eee;
}

.report-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  place-items: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.84);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-image {
  max-width: min(92vw, 1200px);
  max-height: 88vh;
  object-fit: contain;
  border: 2px solid var(--ink);
  background: #fff;
  cursor: zoom-out;
}

.lightbox-close {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 1000;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 46px;
  line-height: 1;
  cursor: pointer;
}

/* CONTACT */
.contact-main {
  display: grid;
  align-items: center;
}

.contact-panel {
  max-width: 760px;
}

.contact-panel h1 {
  margin: 0 0 30px;
  font-size: clamp(42px, 8vw, 120px);
  letter-spacing: 0.08em;
  line-height: 0.9;
}

.contact-panel p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.6;
  letter-spacing: 0.03em;
}

.contact-panel ul {
  list-style: none;
  padding: 0;
  margin: 46px 0 0;
}

.contact-panel li {
  margin: 12px 0;
}

.contact-panel a {
  font-size: 28px;
  letter-spacing: 0.08em;
}

/* MEDIUM */
@media (max-width: 1320px) {
  :root { --sidebar-w: 455px; }

  .sidebar {
    padding-top: 80px;
  }

  .logo-link,
  .site-logo {
    width: 275px;
    height: auto;
    display: block;
    transform: none;
    transform-origin: top center;
  }

  .site-logo {
    width: 275px;
    height: auto;
    display: block;
    transform: none;
    transform-origin: top center;
  }

  .image-nav {
    margin-top: 125px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .image-nav img {
    display: block;
    width: 210px;
    height: auto;
  }

  .main {
    padding: 28px 26px 70px;
  }

  .feature-news {
    width: min(760px, 78vh, calc(100vw - var(--sidebar-w) - 65px));
  }
}

/* TABLET */
@media (max-width: 920px) {
  :root { --sidebar-w: 320px; }

  .sidebar {
    padding-top: 70px;
  }

  .logo-link,
  .site-logo {
    width: 275px;
    height: auto;
    display: block;
    transform: none;
    transform-origin: top center;
  }

  .site-logo {
    width: 275px;
    height: auto;
    display: block;
    transform: none;
    transform-origin: top center;
  }

  .image-nav {
    margin-top: 125px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .image-nav img {
    display: block;
    width: 210px;
    height: auto;
  }

  .main {
    padding: 28px 20px 60px;
  }

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

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

/* PHONE */
@media (max-width: 680px) {
  :root { --sidebar-w: 0px; }

  body {
    letter-spacing: 0.04em;
  }

  .sidebar {
    position: static;
    width: 100%;
    padding: 30px 22px 22px;
    align-items: flex-start;
  }

  .logo-link,
  .site-logo {
    width: 275px;
    height: auto;
    display: block;
    transform: none;
    transform-origin: top center;
  }

  .site-logo {
    width: 275px;
    height: auto;
    display: block;
    transform: none;
    transform-origin: top center;
  }

  .image-nav {
    margin-top: 125px;
    width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0;
  }

  .image-nav img {
    display: block;
    width: 210px;
    height: auto;
  }

  .main {
    margin-left: 0;
    padding: 24px 22px 60px;
  }

  .feature-news {
    width: min(100%, 560px);
  }

  .tiny-links a {
    font-size: 20px;
  }

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

/* CATALOGUE INFO-BAR LAYOUT */
.catalogue-main {
  padding-top: 34px;
}

.catalogue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 54px 32px;
  width: 100%;
}

.catalogue-release {
  width: 100%;
}

.catalogue-release .cover-frame,
.catalogue-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 3px solid var(--ink);
  background: #fff;
  overflow: hidden;
}

.catalogue-release .cover-frame img,
.catalogue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* info line under each cover: [Bandcamp small player] title links */
.release-strip {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  margin-top: 10px;
  font-size: clamp(14px, 1.25vw, 22px);
  line-height: 1;
  letter-spacing: 0.035em;
  white-space: nowrap;
}

.bc-embed-small {
  width: 190px;
  height: 42px;
  overflow: hidden;
}

.bc-embed-small iframe {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

.release-title-line {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.release-platform-links {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  white-space: nowrap;
}

.release-platform-links a {
  color: inherit;
  text-decoration: none;
  font-size: 1em;
  letter-spacing: 0.035em;
  text-transform: lowercase;
}

.release-platform-links a:hover {
  text-decoration: underline;
}

@media (max-width: 920px) {
  .catalogue-list {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .release-strip {
    grid-template-columns: 190px 1fr;
    row-gap: 8px;
    column-gap: 12px;
    font-size: 19px;
    white-space: normal;
  }

  .release-title-line {
    grid-column: 2;
  }

  .release-platform-links {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 14px;
  }
}

@media (max-width: 680px) {
  .catalogue-main {
    padding-top: 24px;
  }

  .catalogue-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .release-strip {
    grid-template-columns: 1fr;
    font-size: 16px;
  }

  .bc-embed-small {
    width: 100%;
  }

  .release-title-line,
  .release-platform-links {
    grid-column: auto;
  }

  .release-platform-links a {
    font-size: 16px;
  }
}
/* CATALOGUE PLAYER + STREAMING LINKS ONLY */
/* Paste at the very bottom of style.css */

.catalogue-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(320px, 1fr));
  gap: 54px 32px;
  width: 100%;
}

.catalogue-release {
  width: 100%;
  min-width: 0;
}

.catalogue-release .cover-frame,
.catalogue-cover {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 3px solid var(--ink);
  background: #fff;
  overflow: hidden;
}

.catalogue-release .cover-frame img,
.catalogue-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* cover 아래: 왼쪽 Bandcamp player / 오른쪽 streaming links */
.release-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 14px;
  margin-top: 10px;
  line-height: 1;
  white-space: nowrap;
}

.bc-embed-small {
  width: 100%;
  height: 42px;
  overflow: hidden;
  background: #fff;
}

.bc-embed-small iframe {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

.release-platform-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  white-space: nowrap;
}

.release-platform-links a {
  color: inherit;
  text-decoration: none;
  font-size: clamp(13px, 1.05vw, 18px);
  letter-spacing: 0.025em;
}

.release-platform-links a:hover {
  text-decoration: underline;
}

.release-title-line {
  display: none;
}

@media (max-width: 920px) {
  .catalogue-list {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 680px) {
  .catalogue-list {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .release-strip {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }

  .release-platform-links {
    justify-content: flex-start;
  }

  .release-platform-links a {
    font-size: 16px;
  }
}
/* MOBILE ONLY FIXES */

/* 1. 모바일에서 하단 메뉴 이미지 4개만 작게 */
@media (max-width: 680px) {
  .image-nav {
    margin-top: 32px;
    gap: 6px;
    align-items: flex-start;
  }

  .image-nav img {
    width: 75px;
    height: auto;
  }
}

/* 2. 모바일 REPORT 사진을 한 줄 2장으로 */
@media (max-width: 680px) {
  .report-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* REMOVE CATALOGUE COVER BORDER */

.catalogue-release .cover-frame,
.catalogue-cover {
  border: 0 !important;
}
/* CATALOGUE BANDCAMP PLAYER 2/3 WIDTH */

.release-strip {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  column-gap: 14px;
  margin-top: 10px;
  line-height: 1;
  white-space: nowrap;
}

.bc-embed-small {
  width: 100%;
  height: 42px;
  overflow: hidden;
  background: #fff;
}

.bc-embed-small iframe {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

.release-platform-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
}
/* CATALOGUE PLAYER WIDTH — DESKTOP + MOBILE ONE LINE */

.release-strip {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  column-gap: 14px;
  margin-top: 10px;
  line-height: 1;
  white-space: nowrap;
}

.bc-embed-small {
  width: 100%;
  height: 42px;
  overflow: hidden;
  background: #fff;
}

.bc-embed-small iframe {
  display: block;
  width: 100%;
  height: 42px;
  border: 0;
}

.release-platform-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  white-space: nowrap;
}

.release-platform-links a {
  font-size: clamp(16px, 2vw, 22px);
  text-decoration: none;
}

/* 모바일에서도 한 줄 유지 */
@media (max-width: 680px) {
  .release-strip {
    grid-template-columns: 2fr 1fr;
    column-gap: 10px;
    row-gap: 0;
  }

  .bc-embed-small {
    height: 42px;
  }

  .bc-embed-small iframe {
    height: 42px;
  }

  .release-platform-links {
    justify-content: flex-end;
    gap: 10px;
  }

  .release-platform-links a {
    font-size: 18px;
  }
}
/* CONTACT PAGE CUSTOM FINAL */
/* Paste this at the very bottom of style.css */

.contact-main {
  display: block;
  padding-top: 34px;
}

.contact-page {
  width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
}

.contact-hero {
  display: block;
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  margin: 0 auto 34px;
}

.contact-block h1,
.shop-us-link {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  letter-spacing: 0.22em;
  line-height: 1;
  text-transform: uppercase;
}

.contact-block h1 {
  margin: 0 0 18px;
  font-size: clamp(42px, 5vw, 72px);
}

.contact-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  font-size: 24px;
  letter-spacing: 0.08em;
}

.contact-links a,
.shop-links a {
  color: #000;
  text-decoration: none;
}

.contact-links a:hover,
.shop-links a:hover {
  text-decoration: underline;
}

.shop-us-link {
  display: inline-block;
  margin: 26px 0 12px;
  font-size: clamp(28px, 3.4vw, 48px);
  color: #000;
  text-decoration: none;
  cursor: default;
}

.shop-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 24px;
  letter-spacing: 0.08em;
}

@media (max-width: 680px) {
  .contact-main {
    padding-top: 24px;
  }

  .contact-page {
    width: 100%;
  }

  .contact-hero {
    max-height: none;
    margin-bottom: 28px;
  }

  .contact-block h1 {
    font-size: 38px;
    letter-spacing: 0.16em;
  }

  .contact-links {
    font-size: 18px;
    margin-bottom: 24px;
  }

  .shop-us-link {
    font-size: 26px;
    letter-spacing: 0.16em;
  }

  .shop-links {
    font-size: 18px;
  }
}
/* HOME VIDEO LAYOUT FIX */

.feature-news {
  width: min(920px, calc(100vw - var(--sidebar-w) - 100px));
  aspect-ratio: auto;
  border: 0 !important;
  overflow: visible;
  background: transparent;
}

.feature-video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  border: 0;
}
/* MOBILE HOME VIDEO FIX ONLY */

@media (max-width: 680px) {
  .sidebar {
    padding-bottom: 8px;
  }

  .image-nav {
    margin-bottom: 8px;
  }

  .main-home {
    padding: 0;
    display: block;
  }

.main-home .feature-news {
  width: calc(100vw - 28px);
  margin-left: calc(50% - 50vw + 14px);
  margin-top: 0;
  border: 0 !important;
  aspect-ratio: auto;
  overflow: hidden;
  background: transparent;
}
  }

  .main-home .feature-video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
  }
}
