:root {
  color-scheme: light;
  --ink: #061322;
  --navy: #001d25;
  --deep: #002529;
  --blue: #005fe8;
  --blue-deep: #0048bd;
  --line: rgba(255, 255, 255, 0.28);
  --muted: #6d7b88;
  --paper: #f7f9fb;
  --panel: rgba(0, 35, 39, 0.94);
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #fff;
  background: var(--navy);
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  height: 92px;
  padding: 0 clamp(24px, 5vw, 82px);
  color: var(--ink);
  background: rgba(248, 250, 252, 0.94);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(3, 15, 25, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 176px;
}

.brand img {
  width: 100%;
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 3.2vw, 58px);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a {
  opacity: 0.94;
}

.site-nav a:hover {
  color: var(--blue-deep);
}

.account-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 32px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 700;
  white-space: nowrap;
}

.account-actions span {
  width: 1px;
  height: 17px;
  background: rgba(255, 255, 255, 0.55);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 740px;
  padding: 178px clamp(24px, 5vw, 82px) 0;
  overflow: hidden;
  background-image: linear-gradient(90deg, rgba(0, 18, 26, 0.72) 0%, rgba(0, 21, 30, 0.3) 47%, rgba(0, 18, 25, 0.06) 100%), url("./assets/hero-lounge.jpg");
  background-size: cover;
  background-position: center;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 210px;
  background: linear-gradient(0deg, rgba(0, 29, 37, 0.95), rgba(0, 29, 37, 0));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 28px;
  font-size: 14px;
  line-height: 1;
  letter-spacing: 0.36em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 5.2vw, 88px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 0;
}

.hero-copy {
  margin: 30px 0 28px;
  font-size: clamp(19px, 1.45vw, 25px);
  line-height: 1.75;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 208px;
  min-height: 62px;
  padding: 0 30px;
  border-radius: 999px;
  background: var(--blue);
  font-size: 18px;
  font-weight: 800;
  box-shadow: 0 18px 32px rgba(0, 72, 189, 0.28);
}

.hero-index {
  position: absolute;
  z-index: 2;
  left: clamp(24px, 5vw, 82px);
  bottom: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 16px;
  font-weight: 700;
}

.hero-index .active {
  width: 56px;
  height: 3px;
  background: #fff;
}

.activity-strip {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4.2vw, 74px);
  bottom: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(285px, 1fr));
  gap: 14px;
  width: min(1040px, calc(100vw - 120px));
}

.activity-card {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) 30px;
  align-items: center;
  gap: 18px;
  min-height: 128px;
  padding: 18px 20px 18px 16px;
  background: rgba(0, 38, 42, 0.92);
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(10px);
}

.activity-visual {
  display: grid;
  place-items: center;
  width: 86px;
  height: 76px;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f8fa;
}

.activity-visual svg {
  width: 100%;
  height: 100%;
}

.activity-card h2 {
  margin: 0 0 7px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
}

.activity-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.58;
  font-weight: 600;
  word-break: keep-all;
}

.activity-card a {
  position: relative;
  width: 32px;
  height: 32px;
}

.activity-card a::before,
.activity-card a::after {
  content: "";
  position: absolute;
  background: #fff;
}

.activity-card a::before {
  top: 15px;
  left: 4px;
  width: 24px;
  height: 2px;
}

.activity-card a::after {
  top: 9px;
  right: 4px;
  width: 12px;
  height: 12px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  background: transparent;
  transform: rotate(45deg);
}

.network-section,
.org-section {
  padding: 82px clamp(24px, 5vw, 82px);
  background: var(--deep);
}

.network-section {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 470px) minmax(280px, 600px);
  gap: 44px;
  align-items: end;
  max-width: 1260px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 54px);
  line-height: 1.2;
  font-weight: 850;
}

.section-heading p:not(.section-kicker) {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.7;
}

.network-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 44px;
  max-width: 1260px;
  background: rgba(255, 255, 255, 0.16);
}

.network-grid article {
  min-height: 218px;
  padding: 36px;
  background: var(--deep);
}

.network-grid span,
.org-number {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  font-weight: 800;
}

.network-grid h3 {
  margin: 42px 0 12px;
  font-size: 25px;
}

.network-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.7;
}

.org-section {
  padding-top: 42px;
}

.org-section .section-heading {
  margin-bottom: 40px;
}

.org-section .section-kicker {
  margin: 0;
}

.org-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 1260px;
  background: rgba(255, 255, 255, 0.18);
}

.org-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  min-height: 330px;
  padding: 32px 34px 30px;
  border: 0;
  color: #fff;
  text-align: left;
  background: var(--deep);
  cursor: pointer;
  overflow: hidden;
}

.org-card:hover,
.org-card:focus-visible {
  outline: 0;
  background: #003137;
}

.org-card h3 {
  margin: 18px 0 12px;
  font-size: 25px;
  line-height: 1.25;
  word-break: keep-all;
}

.org-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.org-card img {
  width: 100%;
  height: 118px;
  padding: 14px 18px;
  object-fit: contain;
  background: #f9fbfc;
  border-radius: 6px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, auto) minmax(280px, 1fr);
  gap: 36px;
  align-items: center;
  padding: 34px clamp(24px, 5vw, 82px);
  color: rgba(255, 255, 255, 0.88);
  background: #00171c;
}

.site-footer strong {
  letter-spacing: 0.08em;
}

.site-footer p {
  justify-self: end;
  margin: 0;
  max-width: 310px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.55;
}

.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  z-index: 50;
  inset: 0;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 12, 18, 0.62);
  backdrop-filter: blur(7px);
}

.modal-panel {
  position: absolute;
  top: 50%;
  right: clamp(18px, 5vw, 80px);
  width: min(520px, calc(100vw - 36px));
  transform: translateY(-50%);
  padding: 32px;
  color: var(--ink);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.28);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #edf3f7;
  color: var(--ink);
  font-size: 26px;
  cursor: pointer;
}

.modal-logo-wrap {
  display: grid;
  place-items: center;
  width: 220px;
  height: 110px;
  padding: 14px;
  border-radius: 8px;
  background: #f7f9fb;
  border: 1px solid #e2e9ef;
}

.modal-logo-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-kicker {
  margin: 28px 0 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.modal-panel h2 {
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.25;
}

.modal-panel p,
.modal-panel dd {
  color: #4d5b67;
  font-size: 16px;
  line-height: 1.7;
}

.modal-list {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.modal-list div {
  padding-top: 18px;
  border-top: 1px solid #e2e9ef;
}

.modal-list dt {
  margin-bottom: 6px;
  color: var(--ink);
  font-weight: 900;
}

.modal-list dd {
  margin: 0;
}

.modal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  color: #fff;
  background: var(--blue);
  font-weight: 800;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto;
    height: auto;
    min-height: 82px;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    padding: 10px 16px;
    border: 1px solid #d6e1e8;
    border-radius: 999px;
    color: var(--ink);
    background: #fff;
    font-weight: 800;
  }

  .site-nav,
  .account-actions {
    display: none;
  }

  .site-header.open .site-nav {
    display: grid;
    grid-column: 1 / -1;
    justify-content: start;
    gap: 14px;
    padding: 0 0 22px;
  }

  .activity-strip {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 56px;
  }

  .hero {
    padding-bottom: 46px;
  }

  .hero-index {
    display: none;
  }

  .section-heading,
  .network-grid,
  .org-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .org-card {
    grid-template-columns: 1fr 190px;
  }

  .site-footer p {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  .site-header {
    padding: 0 20px;
  }

  .brand {
    width: 148px;
  }

  .hero {
    min-height: auto;
    padding: 142px 20px 34px;
  }

  .hero h1 {
    font-size: 45px;
  }

  .hero-copy br {
    display: none;
  }

  .activity-strip {
    grid-template-columns: 1fr;
  }

  .activity-card {
    grid-template-columns: 92px 1fr 28px;
  }

  .activity-visual {
    width: 92px;
    height: 74px;
  }

  .network-section,
  .org-section {
    padding: 56px 20px;
  }

  .network-grid article {
    padding: 28px 22px;
    min-height: 170px;
  }

  .org-card {
    grid-template-columns: 1fr;
    padding: 26px 22px;
  }

  .org-card img {
    width: 100%;
    max-width: 240px;
  }

  .modal-panel {
    top: auto;
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    transform: none;
    max-height: calc(100vh - 24px);
    overflow: auto;
  }
}
