:root {
  --ink: #121820;
  --muted: #64707d;
  --line: #dfe5eb;
  --paper: #ffffff;
  --soft: #f4f7f9;
  --navy: #0b2441;
  --green: #168647;
  --red: #d4292f;
  --gold: #f5b83b;
}

@font-face {
  font-family: "SeoulNamsanM";
  src: url("../fonts/SeoulNamsanM.ttf") format("truetype");
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 126px;
  padding: 0 clamp(16px, 3vw, 44px);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(9, 24, 40, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: "SeoulNamsanM", "Noto Sans KR", "Malgun Gothic", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
}

.brand span {
  font-size: 44px;
  line-height: 1.1;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 26px);
  font-size: 30px;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 24px 0;
}

.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
  content: "";
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid currentColor;
  border-radius: 8px;
  color: inherit;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: end;
  padding: 130px clamp(22px, 7vw, 110px) 118px;
  opacity: 0;
  background-image: linear-gradient(90deg, rgba(6, 17, 31, 0.84) 0%, rgba(6, 17, 31, 0.55) 42%, rgba(6, 17, 31, 0.18) 100%), var(--bg);
  background-position: center;
  background-size: cover;
  transform: scale(1.02);
  transition: opacity 0.8s ease, transform 1.2s ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-copy {
  width: min(900px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(38px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero p:not(.eyebrow) {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.hero-controls {
  position: absolute;
  right: clamp(22px, 6vw, 90px);
  bottom: 42px;
  display: flex;
  gap: 10px;
}

.hero-controls button {
  width: 54px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
  cursor: pointer;
}

.hero-controls button.is-active {
  border-color: var(--gold);
  background: var(--gold);
  color: #17202a;
}

.match-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--navy);
  color: #fff;
}

.match-strip div {
  padding: 26px clamp(20px, 4vw, 54px);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.match-strip span {
  display: block;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.match-strip strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(18px, 2vw, 24px);
}

.section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 76px);
}

.section-head {
  width: min(1160px, 100%);
  margin: 0 auto 34px;
}

.section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.16;
}

.about-tabs,
.board-grid,
.media-grid,
.program-layout,
.contact-layout {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tab-list button {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 900;
  cursor: pointer;
}

.tab-list button.is-active {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.tab-panel {
  display: none;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tab-panel.is-active {
  display: block;
}

.tab-panel h3,
.board-grid h3,
.program-card h3 {
  margin: 0 0 12px;
  font-size: 22px;
  line-height: 1.25;
}

.tab-panel p,
.tab-panel li,
.board-grid p,
.program-card p,
.program-card li {
  margin: 0;
  color: var(--muted);
}

.tab-panel h4 {
  margin: 20px 0 8px;
  color: var(--green);
  font-size: 16px;
}

.tab-panel h4:first-of-type {
  margin-top: 0;
}

.tab-panel ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.history-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

.history-list p {
  position: relative;
  padding-left: 76px;
}

.history-list strong {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--red);
  font-size: 20px;
  line-height: 1.2;
}

.book-list {
  display: grid;
  gap: 12px;
}

.book-item {
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font: inherit;
  font-size: 17px;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
}

.book-item::after {
  float: right;
  color: var(--green);
  content: "+";
}

.book-item.is-open::after {
  content: "-";
}

.book-content {
  display: none;
  max-width: 880px;
  padding: 20px;
  border-left: 4px solid var(--green);
  background: #fbfcfd;
}

.book-content.is-open {
  display: block;
}

.book-content p {
  margin: 0 0 14px;
}

.book-content blockquote {
  margin: 18px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--gold);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  background: #fff8e7;
  font-weight: 800;
}

.book-content cite {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.book-source {
  margin-top: 22px;
  color: var(--ink);
  font-weight: 900;
  text-align: right;
}

.section-dark {
  background: #101922;
  color: #fff;
}

.program-layout {
  display: grid;
  gap: 22px;
}

.program-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  align-items: center;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.program-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.program-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
}

.program-card p,
.program-card li {
  color: rgba(255, 255, 255, 0.76);
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.board-grid article {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 5px solid var(--green);
  border-radius: 8px;
}

.board-grid span {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--red);
  font-weight: 900;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.media-menu {
  display: grid;
  gap: 10px;
}

.media-trigger {
  position: relative;
  min-height: 360px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: var(--navy);
  font: inherit;
  cursor: pointer;
}

.media-grid img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.media-trigger:hover img {
  transform: scale(1.04);
}

.media-trigger span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 52px 22px 22px;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  text-align: left;
}

.media-submenu {
  display: none;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.media-submenu.is-open {
  display: grid;
}

.media-submenu a,
.media-submenu span {
  display: block;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--soft);
  font-weight: 900;
}

.media-submenu a:hover {
  border-color: var(--green);
  color: #fff;
  background: var(--green);
}

.contact-section {
  background: var(--soft);
}

.promo-section {
  background: var(--soft);
}

.video-tabs {
  width: min(1160px, 100%);
  margin: 0 auto;
}

.video-panel {
  display: none;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.video-panel.is-active {
  display: block;
}

.video-panel video {
  width: 100%;
  max-height: 74vh;
  border-radius: 8px;
  background: #000;
}

.contact-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 38px;
  align-items: start;
}

.poster img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 22px 44px rgba(24, 38, 52, 0.16);
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd8e2;
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

.contact-form button {
  height: 54px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: var(--green);
  font-size: 17px;
  font-weight: 900;
  cursor: pointer;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.site-footer {
  padding: 44px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.74);
  background: #0b1117;
}

.site-footer strong {
  color: #fff;
  font-size: 22px;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.footer-contact span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #0b1117;
  background: var(--gold);
  font-size: 18px;
  line-height: 1;
}

.contact-icon.mobile {
  position: relative;
  width: 18px;
  height: 28px;
  border: 2px solid #0b1117;
  border-radius: 5px;
}

.contact-icon.mobile::after {
  position: absolute;
  bottom: 2px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #0b1117;
  transform: translateX(-50%);
  content: "";
}

.copyright {
  font-size: 13px;
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 126px;
    left: 0;
    right: 0;
    display: none;
    padding: 14px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    color: var(--ink);
    font-size: 26px;
    box-shadow: 0 18px 30px rgba(9, 24, 40, 0.14);
  }

  .main-nav.is-open {
    display: grid;
    gap: 0;
  }

  .main-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .match-strip,
  .about-tabs,
  .board-grid,
  .media-grid,
  .program-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .history-list {
    grid-template-columns: 1fr;
  }

  .match-strip div {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero {
    min-height: 760px;
  }

  .hero-slide {
    padding: 120px 22px 120px;
  }

  .hero-controls {
    left: 22px;
    right: auto;
  }

  .program-card {
    padding: 18px;
  }
}

@media (max-width: 560px) {
  .site-header {
    height: 88px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .brand span {
    max-width: 190px;
    font-size: 28px;
  }

  .main-nav {
    top: 88px;
    font-size: 24px;
  }

  .hero {
    min-height: 700px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .tab-panel,
  .board-grid article,
  .contact-form {
    padding: 22px;
  }
}

.hero-slide::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.35);
}

.hero-copy{
  position:relative;
  z-index:2;
}

.video-tabs .tab-list{
  display:flex;
  gap:14px;
}

.video-tabs .tab-list button{
  width:200px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:14px;
  font-size:20px;
  font-weight:700;
  cursor:pointer;
}