@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400&display=swap');
@font-face {
  font-family: "MS Sans Serif Bold";
  src: url("assets/fonts/ms-sans-serif-bold.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "MS Sans Serif 1";
  src: url("assets/fonts/ms-sans-serif-1.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BestTen-CRT";
  src: url("assets/fonts/bestten-crt.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Galmuri7";
  src: url("assets/fonts/galmuri7.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
}

canvas {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
}

:root {
  --nav-height: 55px;
  --text-color: #ffffff;
  --nav-bg: #ffffff;
  --panel-bg: rgba(0, 0, 0, 0.28);
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--nav-bg);
  z-index: 10;
  height: 55px;
}

.navbar.has-gutter {
  padding-right: 15px;
}

.nav-inner {
  max-width: 1200px;
  height: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #000000;
}

.brand {
  color: #000000;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  -webkit-text-stroke-width: 0.25px;
  -webkit-text-stroke-color: #FFF;
  font-family: "MS Sans Serif Bold";
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  color: #000000;
  text-decoration: none;
  opacity: 0.9;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  font-family: "MS Sans Serif 1";
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: capitalize;
}

.nav-links a:hover {
  opacity: 1;
}

/* Active page indicator in the main navbar */
.nav-links a.current {
  font-family: "MS Sans Serif Bold";
}

main {
  padding-top: var(--nav-height);
  color: var(--text-color);
}

.subnav {
  position: sticky;
  top: var(--nav-height);
  background: #ffffff;
  z-index: 9;
}

.subnav-links {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.subnav-links a {
  color: #000;
  text-decoration: none;
  font-family: "MS Sans Serif 1";
  font-size: 17px;
  font-weight: 400;
  position: relative;
  padding-bottom: 6px;
}

.subnav-links a.active[data-artist="sao"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #85F326;
}

.subnav-links a.active[data-artist="jiyou"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: #C810DB;
}

.artist-section {
  min-height: 40vh;
  padding: 162px 30px 130px;
}

/* Offset in-page anchors so they appear below the fixed navbar and subnav */
#sao-ohtake,
#jiyou-park {
  scroll-margin-top: calc(var(--nav-height) + 56px);
}

/* Show only the selected artist section */
.artist-section { display: none; }
.artist-section.active { display: block; }

.artist-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 201px;
}

.artist-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 109px;
}

.artist-image img {
  width: 640px;
  height: 520px;
  display: block;
}

.artist-text {
  width: 473px;
  color: #000;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
}

.artist-name {
  color: #000;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
  font-size: 57px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-transform: uppercase;
  margin-bottom: 48px;
}

.artist-bio {
  color: var(--Black, #000);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-bottom: 87px;
}

.artist-links a {
  color: var(--Black, #000);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: none;
  text-decoration-thickness: auto;
  text-underline-offset: auto;
  text-underline-position: from-font;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.artist-links {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: flex-start;
}

.artist-links br {
  display: none;
}

.art-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 37px;
}

.art-text {
  width: 570px;
}

.art-name {
  color: #000;
  font-family: Work Sans;
  font-size: 65px;
  font-style: normal;
  font-weight: 400;
  line-height: 65px;
  letter-spacing: -1.3px;
  text-transform: uppercase;
  margin-bottom: 54px;
}

.art-bio {
  color: #000;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  margin-bottom: 20px;
}

.art-description {
  color: #000;
  font-family: Inter;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.art-image {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.art-image img {
  width: 615px;
  height: 355px;
  display: block;
}

.art-sub {
  color: #000;
  font-family: Inter;
  font-size: 15px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-transform: uppercase;
  margin-top: 11px;
}



@media (max-width: 900px) {
  .nav-inner { padding: 0 12px; }
  .nav-links { gap: 12px; }
  .brand { font-size: 15px; }

  .artist-row { grid-template-columns: 1fr; gap: 24px; }
  .artist-grid { gap: 56px; }
  .artist-image img { height: auto; width: 100%; }
  .artist-text { width: 100%; }
  .art-image img { width: 100%; height: auto; }
  .art-text { width: 100%; }

  .artist-name { font-size: 36px; margin-bottom: 24px; }
  .artist-bio { font-size: 18px; line-height: 26px; margin-bottom: 32px; }
  .artist-links a { font-size: 18px; line-height: 24px; }

  .subnav-links { gap: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

@media (max-width: 600px) {
  .page { max-width: 100%; padding: 24px 16px; }
  .page h1 { font-size: 36px; }
  .page p { font-size: 16px; line-height: 24px; }

  .main-title {
    font-size: 48px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
  }
}

.hero {
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.hero-content {
  padding: 24px 20px;
  background: var(--panel-bg);
  border-radius: 12px;
}

.hero h1 {
  margin: 0 0 8px;
  font-size: 48px;
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}

.main-title {
  color: #000;
  font-feature-settings: 'liga' off, 'clig' off;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  -webkit-text-stroke-width: 0.25px;
  -webkit-text-stroke-color: #FFF;
  font-family: "MS Sans Serif Bold";
  font-size: 90px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
  margin: 0;
  position: absolute;
  top: calc((100vh - var(--nav-height)) * 0.6667);
  left: 12%;
  transform: translateY(-50%);
  text-align: left;
  opacity: 0;
  will-change: opacity;
  animation: titleCycle 9s steps(1, end) infinite forwards;
}

.main-title.ja {
  font-family: "BestTen-CRT";
  animation-delay: 3s;
}

.main-title.ko {
  font-family: "Galmuri7";
  animation-delay: 6s;
}

@keyframes titleCycle {
  0% { opacity: 1; }
  33.333% { opacity: 1; }
  33.334% { opacity: 0; }
  100% { opacity: 0; }
}

.subtitle {
  margin: 0 0 20px;
  opacity: 0.9;
}

.cta {
  display: inline-block;
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  color: var(--text-color);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.22);
}

.cta:hover {
  background: rgba(255,255,255,0.18);
}

.section {
  padding: 64px 16px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--panel-bg);
  border-radius: 12px;
  padding: 24px;
}

.page {
  max-width: 1030px;
  margin: 0 auto;
  padding: 125px 0 100px;
  color: #000;
  text-align: center;
}
.page h1 {
  margin-bottom: 108px;
  color: #000;
  text-align: center;
  font-feature-settings: 'liga' off, 'clig' off;
  font-family: "MS Sans Serif Bold";
  font-size: 57px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-transform: uppercase;
}
.page p {
  color: var(--Black, #000);
  text-align: center;
  margin: 0 0 32px;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
  font-size: 21px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}

.highlight-line {
  background: rgba(133, 243, 38, 0.4);
}

.highlight-pink {
  background: rgba(200, 16, 219, 0.3);
}
