@font-face {
  font-family: "Do Hyeon";
  src: url("assets/fonts/do-hyeon-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans KR";
  src: url("assets/fonts/noto-sans-kr-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --signal-lime: #D7FF32;
  --marker-violet: #5B3DF5;
  --ink-black: #121212;
  --warm-neutral: #F3F1EA;
  --paper: rgb(255 255 255);
  --hairline: rgb(18 18 18 / 22%);
  --muted: rgb(18 18 18 / 68%);
  color: var(--ink-black);
  background: var(--warm-neutral);
  font-family: "Inter", "Noto Sans KR", Arial, sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--warm-neutral);
  color: var(--ink-black);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
a {
  color: inherit;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
ol,
dl,
dd {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  inset: 12px auto auto 12px;
  padding: 10px 14px;
  background: var(--ink-black);
  color: var(--paper);
  transform: translateY(-180%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-shell {
  width: 100%;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 700px;
  overflow: hidden;
  background: transparent;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: var(--warm-neutral);
  content: "";
}

.hero__topbar {
  position: relative;
  z-index: 2;
}

.hero__topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  padding: 20px max(clamp(20px, 5vw, 72px), calc((100vw - 1120px) / 2)) 0;
}

.language-switch {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 4px 0;
  font-size: 15px;
  font-weight: 700;
}

.language-switch button {
  border: 0;
  padding: 6px 3px;
  background: transparent;
  cursor: pointer;
}

.language-switch button[aria-pressed="false"] {
  color: var(--muted);
}

.language-switch button[aria-pressed="true"] {
  text-decoration: underline;
  text-decoration-color: var(--marker-violet);
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.language-switch button[disabled] {
  cursor: not-allowed;
  opacity: 0.48;
}

.hero__lime,
.hero__trajectory {
  position: absolute;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.hero__lime--left {
  z-index: 0;
  top: -40%;
  left: -20vw;
  width: 120vw;
  height: 140%;
}

.hero__lime--right {
  z-index: -1;
  top: -14%;
  right: -20vw;
  width: 120vw;
  height: 130%;
}

.hero__trajectory {
  z-index: 1;
}

.hero__trajectory--primary {
  top: -16%;
  right: 23%;
  width: 42%;
  height: 126%;
}

.hero__event-name {
  position: absolute;
  z-index: 2;
  top: 118px;
  right: max(clamp(20px, 5vw, 72px), calc((100vw - 1120px) / 2));
  max-width: min(70vw, 560px);
  font-size: clamp(18px, 3.4vw, 30px);
  font-weight: 700;
  line-height: 1.15;
  text-align: right;
}

.hero__slogan {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
}

.hero__slogan p {
  position: absolute;
  font-family: "Do Hyeon", "Noto Sans KR", sans-serif;
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.035em;
}

.hero__slogan span {
  display: block;
}

.hero__scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: clamp(18px, 3vh, 30px);
  left: 50%;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: var(--ink-black);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-decoration: none;
  transform: translateX(-50%);
}

.hero__scroll-cue::after {
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.hero__slogan-en {
  top: 190px;
  left: max(clamp(20px, 5vw, 72px), calc((100vw - 1120px) / 2));
  font-size: clamp(76px, 18vw, 132px);
}

.hero__slogan-ko {
  right: max(clamp(18px, 5vw, 68px), calc((100vw - 1120px) / 2));
  bottom: 72px;
  font-size: clamp(72px, 18vw, 128px);
  text-align: right;
}

.section {
  padding-block: clamp(64px, 9vw, 112px);
  padding-inline: max(clamp(20px, 7vw, 82px), calc((100vw - 1120px) / 2));
}

.section--light {
  background: var(--paper);
}

.section--neutral {
  background: var(--warm-neutral);
}

.section__heading {
  margin-bottom: clamp(34px, 5vw, 54px);
}

.section h1,
.section h2 {
  max-width: 820px;
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.overview h1 {
  width: 100%;
  max-width: none;
  text-wrap: wrap;
}

.facts {
  border-top: 2px solid var(--ink-black);
  border-bottom: 2px solid var(--ink-black);
}

.facts > div {
  display: grid;
  grid-template-columns: minmax(100px, 28%) 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline);
}

.facts > div:last-child {
  border-bottom: 0;
}

.facts dt {
  font-size: clamp(16px, 1.8vw, 19px);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.facts dd {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 500;
  text-align: right;
}

.program-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.program-list li {
  position: relative;
  min-height: 170px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid var(--ink-black);
  background: var(--paper);
}

.program-list__time {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--ink-black);
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
}

.program-list h3 {
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: clamp(23px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.program-list__featured {
  overflow: hidden;
  min-height: 280px;
  background: var(--signal-lime);
}

.program-list li.program-list__featured {
  background: var(--signal-lime);
}

.program-list__marker {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--marker-violet);
}

.program-list__featured .program-list__time {
  color: var(--ink-black);
}

.program-list__activities {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.program-list__activities span {
  padding: 13px 18px;
  background: var(--ink-black);
  color: var(--paper);
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
}

.companies__empty {
  overflow: hidden;
  padding: 1px 0;
  border-top: 2px solid var(--ink-black);
  border-bottom: 2px solid var(--ink-black);
}

.companies__empty-track {
  display: flex;
  width: max-content;
  padding: clamp(16px, 2.5vw, 26px) 0;
  animation: companies-coming-soon-marquee 26s linear infinite;
}

.companies__empty:hover .companies__empty-track {
  animation-play-state: paused;
}

.companies__empty-list {
  display: flex;
  gap: 12px;
  padding-right: 12px;
}

.companies__empty-list span {
  display: block;
  border: 2px solid var(--ink-black);
  padding: clamp(15px, 2.5vw, 24px) clamp(22px, 4vw, 44px);
  background: var(--signal-lime);
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: clamp(28px, 5vw, 54px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.companies__empty[hidden],
.company-carousel[hidden] {
  display: none;
}

.company-carousel {
  overflow: hidden;
  padding: 1px 0;
}

.company-track {
  display: flex;
  width: max-content;
  animation: company-marquee 42s linear infinite;
}

.company-carousel:hover .company-track,
.company-carousel:focus-within .company-track {
  animation-play-state: paused;
}

.company-list {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0 12px 0 0;
  list-style: none;
}

.company-card {
  flex: 0 0 clamp(220px, 34vw, 300px);
  overflow: hidden;
  border: 1px solid var(--ink-black);
  background: var(--paper);
}

.company-card__image {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  border-bottom: 1px solid var(--ink-black);
  background: var(--warm-neutral);
}

.company-card__image span {
  color: var(--marker-violet);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 700;
}

.company-card__copy {
  min-height: 128px;
  padding: 18px;
}

.company-card h3 {
  font-family: "Noto Sans KR", "Inter", sans-serif;
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 700;
  line-height: 1.18;
}

.company-card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 17px);
}

@keyframes company-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes companies-coming-soon-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.location__details {
  display: grid;
  gap: 7px;
  margin-bottom: 26px;
  font-size: clamp(17px, 2.5vw, 23px);
  font-weight: 700;
}

.location__transit {
  color: var(--marker-violet);
  font-size: clamp(15px, 2vw, 19px);
  font-weight: 500;
}

.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--ink-black);
  background: var(--paper);
}

.map-placeholder--has-image {
  aspect-ratio: 1284 / 738;
}

.map-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.section--registration {
  position: relative;
  display: grid;
  width: 100%;
  gap: 30px;
  background: var(--signal-lime);
}

.registration__button {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 15px 24px;
  background: var(--ink-black);
  color: var(--paper);
  font-size: clamp(20px, 2.2vw, 24px);
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.registration__button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.registration__helper {
  max-width: 760px;
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
}

.footer {
  padding: 30px max(clamp(20px, 7vw, 82px), calc((100vw - 1120px) / 2)) 34px;
  background: var(--signal-lime);
  font-size: 13px;
}

.footer__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 60px;
  padding: 10px 0;
  border-top: 1px solid var(--hairline);
}

.footer__copy {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 14px;
}

.footer__copy strong {
  font-weight: 700;
}

.footer__row > img,
.footer__logos img {
  width: auto;
  max-height: 24px;
  object-fit: contain;
}

.footer__row > img.footer__host-logo {
  max-height: 14px;
  max-width: 110px;
}

.footer__logos {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.footer__contact {
  padding: 18px 0 0;
  border-top: 1px solid var(--hairline);
}

.footer__contact-details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.footer__contact a {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--marker-violet);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .hero {
    width: 100%;
    min-height: max(700px, 100vh);
    min-height: max(700px, 100svh);
  }

  .hero__topbar {
    position: absolute;
    top: 7%;
    right: max(clamp(20px, 7vw, 82px), calc((100vw - 1120px) / 2));
    padding: 0;
  }

  .language-switch {
    gap: 10px;
    font-size: clamp(14px, 1.75vw, 22px);
  }

  .hero__lime--left {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .hero__lime--right {
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
  }

  .hero__trajectory--primary {
    top: 0;
    right: auto;
    left: 0;
    width: 100%;
    height: 100%;
    transform: none;
  }

  .hero__event-name {
    top: 31%;
    right: max(clamp(20px, 7vw, 82px), calc((100vw - 1120px) / 2));
    max-width: 46vw;
    font-size: clamp(17px, 2.2vw, 32px);
  }

  .hero__slogan-en {
    top: 31%;
    left: max(clamp(20px, 7vw, 82px), calc((100vw - 1120px) / 2));
    font-size: clamp(72px, 9.5vw, 168px);
  }

  .hero__slogan-ko {
    top: 46%;
    right: max(clamp(20px, 7vw, 82px), calc((100vw - 1120px) / 2));
    bottom: auto;
    font-size: clamp(72px, 9.5vw, 168px);
  }

  .section--registration {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 34%);
    align-items: end;
  }

  .section--registration > div {
    grid-column: 1;
    grid-row: 1;
  }

  .registration__button {
    grid-column: 2;
    grid-row: 1;
  }

  .registration__helper {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 767px) {
  .hero {
    min-height: clamp(560px, 170vw, 680px);
  }

  .hero__topbar {
    padding: 18px 20px 0;
  }

  .hero__lime--left,
  .hero__lime--right {
    top: 0;
    left: 50%;
    right: auto;
    width: auto;
    height: 72%;
    aspect-ratio: 5 / 2;
    transform: translateX(-50%);
  }

  .hero__trajectory--primary {
    top: 0;
    right: auto;
    left: -30%;
    width: 160%;
    height: 100%;
  }

  .hero__event-name {
    top: 88px;
    right: 20px;
    max-width: calc(100vw - 40px);
    font-size: clamp(16px, 4.8vw, 20px);
  }

  .hero__slogan-ko {
    top: clamp(170px, 42vw, 200px);
    right: 20px;
    bottom: auto;
    font-size: clamp(58px, 19vw, 80px);
  }

  .hero__slogan-en {
    top: clamp(300px, 76vw, 340px);
    left: 20px;
    font-size: clamp(60px, 20vw, 84px);
  }

  .registration__button {
    width: 100%;
  }

  .facts > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .facts dd {
    text-align: left;
  }

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

  .footer__logos {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .company-carousel {
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .company-track {
    animation: none;
  }

  .companies__empty {
    overflow-x: auto;
  }

  .companies__empty-track {
    animation: none;
  }

  .companies__empty-list + .companies__empty-list {
    display: none;
  }

  .company-list[aria-hidden="true"] {
    display: none;
  }

  .company-card {
    scroll-snap-align: start;
  }
}
