:root {
  color-scheme: dark;
  font-family: "Inter", "Noto Sans KR", sans-serif;
  background: #0d1013;
  color: #f7f9fa;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: #0d1013;
}

a {
  color: inherit;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(88vh, 920px);
  overflow: hidden;
  isolation: isolate;
  grid-template-rows: auto 1fr auto;
}

.hero__image,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -3;
  background-image: url("./assets/kevincity-command-center.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.015);
  animation: settle 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.hero__shade {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(6, 9, 11, 0.72) 0%, rgba(6, 9, 11, 0.18) 36%, rgba(6, 9, 11, 0.25) 55%, rgba(6, 9, 11, 0.88) 100%),
    linear-gradient(90deg, rgba(2, 32, 38, 0.26), transparent 40%, transparent 60%, rgba(55, 18, 5, 0.24));
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.brand__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  background: rgba(9, 14, 17, 0.62);
}

.topbar__status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
}

.topbar__status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5ce1a7;
  box-shadow: 0 0 14px rgba(92, 225, 167, 0.9);
}

.hero__content {
  align-self: center;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 64px 0 48px;
  text-align: center;
}

.hero__eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(64px, 8.5vw, 132px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.hero__lead {
  margin: 28px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 500;
  line-height: 1.75;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.75);
}

.destinations {
  display: grid;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(8, 11, 13, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.destination {
  position: relative;
  display: grid;
  min-height: 186px;
  padding: 30px 32px;
  grid-template-columns: 42px 1fr 52px;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.destination + .destination {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.destination::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  content: "";
  transform: scaleY(0);
  transition: transform 180ms ease;
  transform-origin: bottom;
}

.destination--sing::before {
  background: #43d7db;
}

.destination--hub::before {
  background: #ff7a42;
}

.destination--ad::before {
  background: #f59e0b;
}

.destination:hover,
.destination:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.destination:hover::before,
.destination:focus-visible::before {
  transform: scaleY(1);
}

.destination__number {
  align-self: start;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
}

.destination__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.destination__label {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
}

.destination--sing .destination__label {
  color: #70edf0;
}

.destination--hub .destination__label {
  color: #ff9a70;
}

.destination--ad .destination__label {
  color: #fbbf24;
}
.destination--atelier::before {
  background: #10b981;
}

.destination--atelier .destination__label {
  color: #34d399;
}


.destination strong {
  margin-bottom: 8px;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.2;
}

.destination__copy > span:not(.destination__label) {
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.55;
}

.destination small {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 600;
}

.destination__arrow {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-size: 23px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.destination:hover .destination__arrow,
.destination:focus-visible .destination__arrow {
  color: #111518;
  background: #fff;
  transform: translateX(4px);
}

.network {
  padding: 80px 0 96px;
  background: #eef1f0;
  color: #121719;
}

.network__header,
.network__grid {
  width: min(1180px, calc(100% - 64px));
  margin-right: auto;
  margin-left: auto;
}

.network__header {
  display: grid;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 80px;
  align-items: end;
}

.network .section-kicker {
  color: #087c80;
}

.network h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.18;
  letter-spacing: 0;
}

.network__header > p {
  margin: 0;
  color: #526064;
  font-size: 17px;
  line-height: 1.8;
}

.network__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #bcc5c3;
  border-left: 1px solid #bcc5c3;
}

.network-link {
  position: relative;
  display: grid;
  min-height: 226px;
  padding: 30px;
  grid-template-columns: 54px minmax(0, 1fr) 44px;
  gap: 20px;
  align-items: start;
  overflow: hidden;
  border-right: 1px solid #bcc5c3;
  border-bottom: 1px solid #bcc5c3;
  color: #121719;
  text-decoration: none;
  transition: background-color 180ms ease;
}

.network-link::after {
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.network-link--dstc::after { background: #087c80; }
.network-link--sports::after { background: #2f75cc; }
.network-link--reroom::after { background: #c2542c; }
.network-link--kpop::after { background: #d81f5c; }

.network-link:hover,
.network-link:focus-visible {
  background: #fff;
  outline: none;
}

.network-link:hover::after,
.network-link:focus-visible::after {
  transform: scaleX(1);
}

.network-link__mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid #9ea9a7;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 800;
}

.network-link__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.network-link__copy small {
  margin: 3px 0 9px;
  color: #687579;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.network-link__copy strong {
  margin-bottom: 12px;
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.network-link__copy > span {
  color: #4c5a5e;
  font-size: 14px;
  line-height: 1.6;
}

.network-link__copy em {
  margin-top: 22px;
  color: #7b878a;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.network-link__arrow {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #9ea9a7;
  border-radius: 50%;
  font-size: 20px;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.network-link:hover .network-link__arrow,
.network-link:focus-visible .network-link__arrow {
  color: #fff;
  background: #121719;
  transform: translateX(4px);
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px max(32px, calc((100% - 1180px) / 2));
  border-top: 1px solid #283033;
  background: #0d1013;
  color: rgba(255, 255, 255, 0.56);
  font-size: 11px;
  font-weight: 700;
}

@keyframes settle {
  from {
    opacity: 0;
    transform: scale(1.06);
  }
  to {
    opacity: 1;
    transform: scale(1.015);
  }
}

@media (max-width: 820px) {
  .hero {
    min-height: auto;
  }

  .topbar,
  .hero__content,
  .destinations {
    width: min(100% - 32px, 680px);
  }

  .topbar {
    padding: 18px 0;
  }

  .topbar__status {
    font-size: 9px;
  }

  .hero__image {
    background-position: center top;
  }

  .hero__content {
    padding: 92px 0 72px;
  }

  .hero h1 {
    font-size: clamp(50px, 17vw, 86px);
    line-height: 0.92;
  }

  .hero__lead {
    font-size: 15px;
  }

  .destinations {
    margin-bottom: 18px;
    grid-template-columns: 1fr;
  }

  .destination {
    min-height: 154px;
    padding: 24px 22px;
    grid-template-columns: 28px 1fr 44px;
    gap: 12px;
  }

  .destination + .destination {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }

  .destination__arrow {
    width: 42px;
    height: 42px;
  }

  .network {
    padding: 64px 0 72px;
  }

  .network__header,
  .network__grid {
    width: min(100% - 32px, 680px);
  }

  .network__header {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .network__grid {
    grid-template-columns: 1fr;
  }

  .network-link {
    min-height: 188px;
    padding: 24px 20px;
  }
}

@media (max-width: 430px) {
  .topbar__status {
    width: 8px;
    overflow: hidden;
  }

  .topbar__status i {
    flex: 0 0 auto;
  }

  .hero__content {
    padding: 72px 0 56px;
  }

  .destination {
    grid-template-columns: 1fr 42px;
  }

  .destination__number {
    display: none;
  }

  .destination__copy > span:not(.destination__label) {
    font-size: 13px;
  }

  .network-link {
    grid-template-columns: 42px minmax(0, 1fr) 36px;
    gap: 14px;
  }

  .network-link__mark {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .network-link__arrow {
    width: 34px;
    height: 34px;
  }

  .footer {
    padding: 22px 16px;
    font-size: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


@media (max-width: 1080px) {
  .destinations {
    grid-template-columns: 1fr;
  }
  .destination + .destination {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 0;
  }
}