/* ==========================================================================
   KIROTHON 2026
   ========================================================================== */

:root {
  --purple: #8a44ff;
  --purple-deep: #6c25e6;
  --purple-soft: #c7a6ff;
  --ink: #0b0b0c;
  --paper: #ffffff;

  --font-display: "Anybody", "Pretendard Variable", Impact, sans-serif;
  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui,
    "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-hand: "Permanent Marker", "Pretendard Variable", cursive;

  --gutter: clamp(16px, 3.2vw, 48px);
  --maxw: 1440px;
  --line: 2px solid var(--ink);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .7 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  color-scheme: light;
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--purple);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: -0.01em;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
}

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

::selection {
  background: var(--ink);
  color: var(--purple);
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.flow :focus-visible,
.footer :focus-visible,
.info-cell--deadline :focus-visible {
  outline-color: var(--purple);
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s;
}

.skip-link:focus {
  transform: none;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- buttons & chips ---------- */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-bd: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 26px;
  border: 2px solid var(--btn-bd);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 700 17px/1 var(--font-sans);
  letter-spacing: -0.02em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    transform 0.25s var(--ease-out),
    box-shadow 0.25s var(--ease-out),
    background-color 0.2s,
    color 0.2s;
}

.btn:hover {
  transform: translate(-3px, -3px);
  box-shadow: 4px 4px 0 var(--ink);
}

.btn:active {
  transform: none;
  box-shadow: none;
}

.btn--ink {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}

.btn--ink:hover {
  --btn-bg: var(--paper);
  --btn-fg: var(--ink);
}

.btn--line:hover {
  --btn-bg: var(--paper);
}

.btn--purple {
  --btn-bg: var(--purple);
  --btn-fg: var(--ink);
  --btn-bd: var(--purple);
}

.btn--purple:hover {
  --btn-bg: var(--paper);
  --btn-bd: var(--paper);
  box-shadow: 4px 4px 0 var(--purple);
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 15px;
}

.btn--lg {
  min-height: 68px;
  padding: 0 34px;
  font-size: 20px;
}

.btn__icon {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .btn__icon {
  transform: translate(2px, -2px);
}

.btn__icon--down {
  transform: rotate(90deg);
}

.btn:hover .btn__icon--down {
  transform: rotate(90deg) translateX(3px);
}

/* 신청 링크가 아직 없거나(soon) 마감됐을 때(closed) */
.btn[aria-disabled="true"] .btn__icon {
  display: none;
}

.btn[data-apply-state="closed"] {
  opacity: 0.55;
  cursor: not-allowed;
}

.btn[data-apply-state="closed"]:hover {
  transform: none;
  box-shadow: none;
}

.btn[data-apply-state="soon"]::after {
  content: "SOON";
  padding: 4px 7px 3px;
  border-radius: 999px;
  background: var(--purple);
  color: var(--ink);
  font: 600 11px/1 var(--font-mono);
  letter-spacing: 0.08em;
}

.btn--purple[data-apply-state="soon"]::after {
  background: var(--ink);
  color: var(--purple);
}

.btn--ink[data-apply-state="soon"]:hover::after {
  background: var(--ink);
  color: var(--purple);
}

.chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: 600 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.chip--ink {
  background: var(--ink);
  color: var(--purple);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.link-arrow svg {
  width: 16px;
  height: 16px;
}

.link-arrow:hover {
  text-decoration-style: wavy;
}

/* ---------- decorative ---------- */
.star {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.scribble {
  font-family: var(--font-hand);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.01em;
}

.scribble__line {
  width: 4.6em;
  height: auto;
  margin-top: 0.12em;
  overflow: visible;
}

.scribble__line path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
}

.sticker {
  display: grid;
  place-items: center;
  padding: 0.7em 1.1em;
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  font-family: var(--font-hand);
  text-transform: uppercase;
  line-height: 0.95;
  text-align: center;
  white-space: nowrap;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
  padding: 0 var(--gutter);
  background: rgb(138 68 255 / 0.86);
  border-bottom: var(--line);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  transform: translateY(-105%);
  transition: transform 0.35s var(--ease-out);
}

.nav.is-visible {
  transform: none;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font: 900 22px/1 var(--font-display);
  font-stretch: 70%;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav__ghost {
  width: 26px;
  height: 32px;
  --ghost-body: var(--paper);
}

.nav__year {
  font: 500 12px/1 var(--font-mono);
  letter-spacing: 0.06em;
  align-self: flex-start;
  margin-top: 2px;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin: 0 auto;
}

.nav__links a {
  display: block;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s;
}

.nav__links a:hover,
.nav__links a.is-active {
  background: var(--ink);
  color: var(--purple);
}

.nav__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

@media (max-width: 860px) {
  .nav__links {
    display: none;
  }

  .nav {
    justify-content: space-between;
  }
}

@media (max-width: 560px) {
  .nav {
    gap: 12px;
  }

  .nav__year,
  .nav .chip,
  .nav .btn[data-apply-state="soon"]::after {
    display: none;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter) var(--gutter) 0;
  overflow: hidden;
}

/* print grain */
.hero::after,
.cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  background-image: var(--grain);
  opacity: 0.1;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__title-wrap {
  position: relative;
  z-index: 2;
  margin: clamp(10px, 1.6vw, 24px) calc(var(--gutter) * -0.35) 0;
}

/* 연도 태그: 푸터 로고처럼 이름 오른쪽 위에 붙임 */
.hero__year {
  position: absolute;
  z-index: 3;
  top: 0;
  right: 1.5%;
  padding: 0.12em 0.42em 0.06em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--purple);
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(22px, 3vw, 48px);
  line-height: 1;
  letter-spacing: 0.02em;
  transform: translateY(-55%) rotate(-6deg);
}

.title-svg {
  width: 100%;
  height: 50vw;
  overflow: visible;
  /* SVG 글자는 선택 색(::selection)의 글자색이 적용되지 않아 드래그하면 통째로 까맣게 보임.
     장식용 타이틀이라 선택되지 않게 함 (화면 낭독기는 h1 안의 숨김 텍스트를 읽음) */
  -webkit-user-select: none;
  user-select: none;
}

.title-svg__text {
  font-family: var(--font-display);
  font-weight: 850;
  font-stretch: 50%;
  font-size: 392px;
  letter-spacing: 0.05em;
  fill: var(--ink);
}

/* 메인 표어: 날짜 오른쪽에 손글씨로 */
.hero__slogan {
  position: absolute;
  z-index: 4;
  left: calc(100% + clamp(20px, 2.4vw, 44px));
  bottom: 18%;
  width: max-content;
  font-size: clamp(20px, 2vw, 34px);
  transform: rotate(-9deg);
  transform-origin: left bottom;
}

.hero__slogan span {
  display: block;
}

.hero__body {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: start;
  gap: 0;
  padding: clamp(18px, 2.2vw, 32px) 0 clamp(28px, 3vw, 48px);
}

.hero__sub {
  font-size: clamp(24px, 3vw, 46px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.hero__date-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-top: 0.3em;
}

.hero__date {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 64%;
  font-size: clamp(68px, 10.4vw, 172px);
  line-height: 0.86;
  letter-spacing: -0.02em;
}

.hero__meta {
  display: grid;
  justify-items: start;
  gap: 6px;
  padding-bottom: 0.4em;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

/* 신청 마감일 안내 (hero, CTA 버튼 아래) */
.apply-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.apply-note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  flex: none;
}

.hero .apply-note {
  margin-top: 14px;
}

.cta .apply-note {
  margin-top: -10px;
}

/* 고스트는 몸 전체(아래 물결 + 팔)가 보이도록 마퀴 띠 위에 올려 둔다 */
.hero__ghost {
  position: relative;
  z-index: 1;
}

.star--hero-a {
  width: min(30vw, 520px);
  right: 1vw;
  top: 38%;
}

.star--hero-b {
  width: min(30vw, 500px);
  right: 30vw;
  bottom: -12vw;
  transform: rotate(18deg);
}

/* ghost */
.ghost {
  width: 100%;
  height: auto;
  overflow: visible;
}

.ghost__body {
  fill: var(--paper);
}

.ghost [data-eyes] {
  transition: transform 0.18s ease-out;
}

.ghost__blink {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
  animation: blink 5.5s infinite;
}

.hero__ghost .ghost {
  animation: float 7s ease-in-out infinite;
  transform-origin: 50% 80%;
  cursor: pointer;
}

.ghost.is-boo {
  animation: boo 0.6s var(--ease-out);
}

.ghost-bubble {
  position: absolute;
  left: 2%;
  top: 4%;
  padding: 10px 16px;
  border: var(--line);
  border-radius: 20px 20px 20px 4px;
  background: var(--paper);
  font: 400 clamp(16px, 1.6vw, 22px)/1 var(--font-hand);
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(8px) scale(0.9);
  transition:
    opacity 0.2s,
    transform 0.3s var(--ease-out);
  pointer-events: none;
}

.ghost-bubble.is-on {
  opacity: 1;
  transform: none;
}

/* 고스트 실루엣(오른쪽 물결)을 가리지 않도록 팔 아래쪽 바깥에 배치 */
.sticker--sleep {
  position: absolute;
  left: -46%;
  top: 76%;
  font-size: clamp(15px, 1.5vw, 24px);
  transform: rotate(-10deg);
  background: var(--purple);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(-1.5deg);
  }
  50% {
    transform: translateY(-3.5%) rotate(1.5deg);
  }
}

@keyframes blink {
  0%,
  92%,
  100% {
    transform: scaleY(1);
  }
  95% {
    transform: scaleY(0.1);
  }
}

@keyframes boo {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.06, 0.94) translateY(2%);
  }
  70% {
    transform: scale(0.97, 1.04) translateY(-4%);
  }
  100% {
    transform: scale(1);
  }
}

/* hero – 가로형 화면 */
@media (min-width: 761px) and (orientation: landscape), (min-width: 1101px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto 1fr;
    column-gap: 4vw;
    /* 세로로 긴 창에서 고스트만 바닥에 붙고 가운데가 비지 않도록 16:10 비율까지만 늘림 */
    min-height: min(100vh, 62.5vw);
    min-height: min(100svh, 62.5vw);
  }

  .hero__title-wrap {
    grid-column: 1 / -1;
  }

  .title-svg {
    height: max(150px, min(18vw, 30svh));
  }

  .hero__body {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
  }

  .hero__ghost {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
    /* 화면 높이가 낮아도 몸 전체가 첫 화면에 들어오도록 높이 기준으로도 제한 */
    width: clamp(220px, min(23vw, (min(100svh, 62.5vw) - 400px) * 0.82), 420px);
    margin: 24px 7vw 60px 0;
  }
}

/* 높이가 낮은 노트북 화면: 첫 화면에 버튼까지 들어오도록 간격 축소 */
@media (min-width: 761px) and (orientation: landscape) and (max-height: 780px) {
  .hero__body {
    padding-top: 12px;
  }

  .hero__date {
    font-size: clamp(64px, 8.4vw, 132px);
  }

  .hero__cta {
    margin-top: 16px;
  }
}

/* hero – 모바일 & 세로형 태블릿: 포스터처럼 세로로 쌓기 */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hero {
    display: flex;
    flex-direction: column;
  }

  .hero__body {
    padding-top: 26px;
  }

  .hero__cta .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero__ghost {
    align-self: flex-end;
    width: min(62vw, 360px);
    margin: 8px 8vw 64px 0;
  }

  .sticker--sleep {
    left: -44%;
    top: 66%;
  }

  .star--hero-a {
    width: min(70vw, 520px);
    right: auto;
    left: -22vw;
    top: auto;
    bottom: -4vw;
  }

  .star--hero-b {
    width: min(58vw, 440px);
    right: -18vw;
    bottom: min(44vw, 320px);
  }
}

/* 휴대폰: 날짜 옆 공간이 없으니 표어를 날짜 아래로.
   왼쪽 정렬된 요소들 사이에서 메모처럼 보이도록 오른쪽으로 비켜 붙임 */
@media (max-width: 560px) {
  .hero__date-row {
    flex-wrap: wrap;
  }

  .hero__slogan {
    position: static;
    flex-basis: 100%;
    margin-top: 18px;
    padding-right: 2vw;
    font-size: clamp(24px, 6.4vw, 34px);
    text-align: right;
    transform: rotate(-5deg);
    transform-origin: right bottom;
  }

  .hero__slogan .scribble__line {
    margin-left: auto;
  }
}

/* 아주 작은 화면(360px 이하): 칩이 날짜 아래로 내려가므로 가로로 나란히 */
@media (max-width: 360px) {
  .hero__meta {
    grid-auto-flow: column;
    padding-bottom: 0;
    margin-top: 6px;
  }
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */
.marquee {
  position: relative;
  z-index: 10;
  margin: -14px -2vw 0;
  padding: 10px 0;
  background: var(--ink);
  color: var(--purple);
  overflow: hidden;
  transform: rotate(-1.6deg);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}

.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee span {
  padding: 0 0.45em;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 70%;
  font-size: clamp(28px, 4vw, 60px);
  line-height: 1.1;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee i {
  font-style: normal;
  font-size: clamp(22px, 3vw, 44px);
  color: var(--paper);
}

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

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section {
  position: relative;
  padding: clamp(80px, 11vw, 168px) 0;
}

.sec-head {
  margin-bottom: clamp(40px, 6vw, 88px);
}

.sec-head__idx {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.sec-head__idx span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--purple);
  letter-spacing: 0.04em;
}

.sec-head__title {
  margin-top: 18px;
  font-size: clamp(42px, 7.2vw, 116px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.sec-head--dark .sec-head__idx span {
  background: var(--purple);
  color: var(--ink);
}

.lead {
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.035em;
}

.eyebrow {
  font-size: 13px;
  letter-spacing: 0.14em;
}

.note {
  font-size: 14px;
  opacity: 0.75;
}

/* ---------- about ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.about__text {
  display: grid;
  gap: 24px;
  max-width: 40em;
}

.about__text p:not(.lead) {
  font-size: clamp(16px, 1.25vw, 18px);
}

.kiro-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 36px);
  border: var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 8px 8px 0 var(--ink);
  font-size: 16px;
  transform: rotate(1.2deg);
}

.kiro-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.kiro-card__head .mono {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.kiro-card__ghost {
  width: 44px;
  height: 52px;
  padding: 8px;
  border-radius: 12px;
  background: var(--purple);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(64px, 9vw, 128px);
  border-top: var(--line);
}

.pillar {
  display: grid;
  align-content: start;
  gap: 6px;
  padding: 24px clamp(16px, 2vw, 28px) 8px 0;
}

.pillar + .pillar {
  padding-left: clamp(16px, 2vw, 28px);
  border-left: var(--line);
}

.pillar__no {
  font-size: 12px;
  letter-spacing: 0.12em;
}

.pillar__en {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 60%;
  font-size: clamp(40px, 4.6vw, 76px);
  line-height: 0.9;
  text-transform: uppercase;
}

.pillar__ko {
  font-size: 15px;
  font-weight: 700;
}

.pillar__desc {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.6;
}

@media (max-width: 960px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .kiro-card {
    transform: none;
    max-width: 560px;
  }

  .pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pillar:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .pillar:nth-child(n + 3) {
    border-top: var(--line);
  }
}

@media (max-width: 520px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .pillar + .pillar {
    padding-left: 0;
    border-left: 0;
    border-top: var(--line);
  }

  .pillar__en {
    margin-top: 14px;
  }
}

/* ---------- builders ---------- */
.builders {
  overflow: hidden;
  background: var(--paper);
  border-block: var(--line);
}

.builders__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.builders__text {
  display: grid;
  gap: 22px;
  max-width: 30em;
}

.builders__title {
  font-size: clamp(42px, 6vw, 96px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.builders__title + p {
  font-size: clamp(16px, 1.3vw, 19px);
}

.star--builders {
  width: min(34vw, 520px);
  left: -11vw;
  top: -19vw;
}

.words li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  border-bottom: var(--line);
}

.words li:first-child {
  border-top: var(--line);
}

.words__en {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 56%;
  font-size: clamp(48px, 7.4vw, 124px);
  line-height: 0.98;
  text-transform: uppercase;
  transition:
    color 0.25s,
    transform 0.4s var(--ease-out),
    font-stretch 0.4s var(--ease-out);
}

.words__ko {
  font-size: 13px;
  letter-spacing: 0.1em;
}

.words li:hover .words__en {
  color: var(--purple);
  font-stretch: 80%;
  transform: translateX(10px) skewX(-6deg);
}

@media (max-width: 960px) {
  .builders__grid {
    grid-template-columns: 1fr;
  }

  .star--builders {
    width: 56vw;
    left: auto;
    right: -26vw;
    top: -30vw;
  }
}

/* ---------- info ---------- */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: var(--line);
  border-radius: 28px;
  overflow: hidden;
  background: var(--purple);
}

.info-cell {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
  min-height: 260px;
  padding: clamp(22px, 2.4vw, 34px);
  border-right: var(--line);
  border-bottom: var(--line);
  transition: background-color 0.25s;
}

.info-cell:nth-child(3n) {
  border-right: 0;
}

.info-cell:nth-child(n + 4) {
  border-bottom: 0;
}

.info-cell:not(.info-cell--deadline):hover {
  background: var(--purple-soft);
}

.info-cell dt {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.info-cell dt span {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
}

.info-cell dd {
  display: grid;
  align-content: end;
  justify-items: start;
  gap: 12px;
  margin: 0;
}

.info-cell__value {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(64px, 7vw, 112px);
  line-height: 0.85;
  letter-spacing: -0.01em;
}

/* 참가 대상처럼 문장으로 보여 주는 값 */
.info-cell__value--text {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-stretch: normal;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.045em;
}

/* 핵심 단어는 '2026' 태그처럼 검은 알약으로 */
.info-cell__value--text em {
  display: inline-block;
  padding: 0.02em 0.32em 0.06em;
  border-radius: 999px;
  background: var(--ink);
  color: var(--purple);
  font-style: normal;
  transform: rotate(-3deg);
}

/* 장소처럼 긴 값은 두 줄로 작게 */
.info-cell__value--place {
  display: block;
  font-size: clamp(38px, 3.6vw, 58px);
  line-height: 0.92;
  text-transform: uppercase;
}

.info-cell__value small {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.info-cell__note {
  font-size: 15px;
  line-height: 1.5;
}

/* 장소 칸의 지도 바로가기 */
.info-cell__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.info-cell__links a {
  padding: 6px 12px;
  border: var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.info-cell__links a:hover {
  background: var(--ink);
  color: var(--purple);
}

/* 신청 마감일 칸: 검은 배경으로 강조 */
.info-cell--deadline {
  background: var(--ink);
  color: var(--purple);
}

.info-cell--deadline dt span,
.info-cell--deadline .info-cell__note {
  color: var(--paper);
}

/* 아직 정해지지 않은 값: 반투명 외곽선 */
.tba {
  color: transparent;
  -webkit-text-stroke: 2px var(--ink);
  letter-spacing: 0.02em;
}

@media (max-width: 960px) {
  .info-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .info-cell,
  .info-cell:nth-child(3n),
  .info-cell:nth-child(n + 4) {
    border-right: var(--line);
    border-bottom: var(--line);
  }

  .info-cell:nth-child(2n) {
    border-right: 0;
  }

  .info-cell:nth-child(n + 5) {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-cell,
  .info-cell:nth-child(2n),
  .info-cell:nth-child(3n),
  .info-cell:nth-child(n + 4) {
    min-height: 0;
    border-right: 0;
    border-bottom: var(--line);
  }

  .info-cell:last-child {
    border-bottom: 0;
  }
}

/* ---------- flow ---------- */
.flow {
  background: var(--ink);
  color: var(--paper);
}

.flow .sec-head__title {
  color: var(--purple);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: step;
}

.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 340px;
  padding: 26px 24px 30px;
  border: 2px solid rgb(255 255 255 / 0.22);
  border-radius: 24px;
  transition:
    border-color 0.3s,
    background-color 0.3s,
    color 0.3s,
    transform 0.4s var(--ease-out);
}

.step:not(:last-child)::after {
  content: "→";
  position: absolute;
  z-index: 1;
  right: -16px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--purple);
  color: var(--ink);
  font: 700 16px/1 var(--font-mono);
  transform: translate(50%, -50%) translateX(-8px);
}

.step:hover {
  border-color: var(--purple);
  background: var(--purple);
  color: var(--ink);
  transform: translateY(-6px) rotate(-1deg);
}

.step__no {
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.step__en {
  margin-top: auto;
  padding-top: 56px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 58%;
  font-size: clamp(52px, 5.4vw, 92px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--purple);
  transition: color 0.3s;
}

.step:hover .step__en {
  color: var(--ink);
}

.step__ko {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.step__desc {
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.85;
}

@media (max-width: 1080px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .step:not(:last-child)::after {
    display: none;
  }

  .step {
    min-height: 280px;
  }
}

@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .step__en {
    padding-top: 24px;
  }
}

/* ---------- schedule ---------- */
.timeline {
  border-top: var(--line);
}

.timeline__row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2fr);
  gap: 24px;
  align-items: center;
  /* 모든 행에 같은 좌우 여백을 줘서 강조 행(검정 카드)과 글자 열이 맞도록 */
  padding: clamp(24px, 3vw, 40px) clamp(16px, 2vw, 28px);
  border-bottom: var(--line);
}

.timeline__date {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(52px, 6vw, 96px);
  line-height: 0.9;
}

.timeline__date small {
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.timeline__body h3 {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.25;
}

.timeline__body p {
  margin-top: 6px;
  font-size: 16px;
}

/* 필수가 아닌 일정 표시: 제목 옆 작은 라벨 */
.timeline__tag {
  display: inline-block;
  margin-left: 8px;
  padding: 3px 10px 2px;
  border: var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  vertical-align: middle;
}

/* 줄이 넘칠 때 태그만 혼자 떨어지지 않도록 마지막 단어와 묶음 */
.timeline__keep {
  white-space: nowrap;
}

.timeline__link {
  font-weight: 700;
  white-space: nowrap;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

/* 11.14 당일 타임테이블: 위 일정과 같은 2열 구성 */
.day {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(0, 2fr);
  gap: 24px;
  margin-top: clamp(48px, 6vw, 88px);
  padding: 0 clamp(16px, 2vw, 28px);
}

.day__label {
  font-size: 12px;
  letter-spacing: 0.14em;
}

.day__title {
  margin-top: 8px;
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.day__list {
  border-top: var(--line);
}

.day__row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid rgb(11 11 12 / 0.28);
}

.day__time {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.day__what {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.day__row--key .day__what {
  font-size: 19px;
  font-weight: 800;
}

.day__note {
  grid-column: 2;
  font-size: 14px;
}

.timeline__row--main {
  margin-top: 16px;
  background: var(--ink);
  color: var(--purple);
  border-radius: 24px;
  border-bottom: 0;
}

.timeline__row--main .timeline__body {
  color: var(--paper);
}

.timeline__ghost {
  --gw: clamp(52px, 5.6vw, 84px);
  position: absolute;
  right: clamp(16px, 3vw, 48px);
  top: 50%;
  width: var(--gw);
  height: auto;
  aspect-ratio: 232 / 282;
  margin-top: calc(var(--gw) * -0.61);
  animation: float 6s ease-in-out infinite;
}

@media (max-width: 640px) {
  .timeline__row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* 고스트가 있는 당일 카드만 오른쪽 여백 */
  .timeline__row--main .timeline__body {
    padding-right: 72px;
  }

  .day {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .day__note {
    grid-column: 1;
  }

  .day__row {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
  }

  .day__time {
    font-size: 13px;
    letter-spacing: 0;
  }
}

/* ---------- sessions ---------- */
/* 사전 세션: 일정(보라)과 FAQ(흰색) 사이를 잇는 연보라 */
.sessions {
  background: var(--purple-soft);
  border-top: var(--line);
}

.sessions .sec-head {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.sessions__intro {
  display: grid;
  gap: 20px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.sessions__lead-row {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  flex-wrap: wrap;
}

.sessions__lead-row .lead {
  margin: 0;
  max-width: 36em;
}

.sessions__intro-sub {
  max-width: 44em;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
}

.sessions__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 0 clamp(32px, 4vw, 56px);
  padding: 0;
  border: var(--line);
  border-radius: 24px;
  overflow: hidden;
  background: var(--paper);
}

.sessions__meta > div {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 28px);
  border-right: var(--line);
}

.sessions__meta > div:last-child {
  border-right: 0;
}

.sessions__meta dt {
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.65;
}

.sessions__meta dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.6vw, 24px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  /* 'Kiro' 같은 고유명사 표기를 그대로 */
  text-transform: none;
}

.sessions__meta dd small {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.75;
}

.session-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.session-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: clamp(26px, 2.6vw, 36px);
  border: var(--line);
  border-radius: 24px;
  background: var(--paper);
  transition:
    background-color 0.3s,
    transform 0.4s var(--ease-out),
    box-shadow 0.3s;
}

.session-card::before {
  content: "✱";
  position: absolute;
  top: 18px;
  right: 22px;
  font-family: var(--font-mono);
  font-size: 18px;
  color: var(--purple);
  opacity: 0.5;
  transition: transform 0.6s var(--ease-out);
}

.session-card:hover {
  background: var(--paper);
  transform: translateY(-6px) rotate(-0.6deg);
  box-shadow: 8px 8px 0 var(--ink);
}

.session-card:nth-child(2):hover {
  transform: translateY(-6px) rotate(0.6deg);
}

.session-card:hover::before {
  transform: rotate(90deg);
}

.session-card__no {
  font-size: 12px;
  letter-spacing: 0.14em;
  opacity: 0.7;
}

.session-card__en {
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 58%;
  font-size: clamp(44px, 5.4vw, 88px);
  line-height: 0.9;
  text-transform: uppercase;
  color: var(--purple);
}

.session-card__ko {
  margin-top: 10px;
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.25;
}

.session-card__desc {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14.5px;
  line-height: 1.6;
}

.session-card__desc li {
  position: relative;
  padding-left: 18px;
}

.session-card__desc li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--purple-deep);
  font-weight: 700;
}

.session-card__desc li b {
  padding: 1px 6px;
  margin: 0 1px;
  border-radius: 6px;
  background: var(--purple);
  color: var(--ink);
  font-weight: 700;
}


@media (max-width: 860px) {
  .sessions__meta {
    grid-template-columns: 1fr;
  }

  .sessions__meta > div {
    border-right: 0;
    border-bottom: var(--line);
  }

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

  .session-cards {
    grid-template-columns: 1fr;
  }

  .sessions__lead-row {
    gap: 16px;
  }
}

/* ---------- faq ---------- */
.faq {
  background: var(--paper);
  border-top: var(--line);
}

.faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}

.faq .sec-head {
  position: sticky;
  top: 104px;
}

.faq .sec-head__idx span {
  background: var(--ink);
  color: var(--paper);
}

.faq__list {
  border-top: var(--line);
}

.qa {
  border-bottom: var(--line);
}

.qa summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 84px;
  padding: 20px 64px 20px 0;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.4;
  list-style: none;
  cursor: pointer;
}

.qa summary::-webkit-details-marker {
  display: none;
}

.qa summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border: var(--line);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2px 14px no-repeat;
  transition:
    transform 0.3s var(--ease-out),
    background-color 0.2s;
}

.qa summary:hover::after {
  background-color: var(--purple);
}

.qa[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--purple);
}

.qa__a {
  padding: 0 64px 28px 0;
  font-size: 16px;
  line-height: 1.7;
}

.qa__a a {
  font-weight: 700;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

@media (max-width: 860px) {
  .faq__grid {
    grid-template-columns: 1fr;
  }

  .faq .sec-head {
    position: static;
    margin-bottom: 0;
  }

  .qa__a {
    padding-right: 0;
  }
}

/* ---------- cta ---------- */
.cta {
  overflow: hidden;
  isolation: isolate;
  padding-bottom: clamp(200px, 22vw, 320px);
  border-top: var(--line);
}

.cta__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}

.cta__title {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 52%;
  font-size: clamp(96px, 15vw, 248px);
  line-height: 0.82;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}

.cta__side {
  display: grid;
  justify-items: start;
  gap: 24px;
  padding-bottom: 12px;
}

.scribble--cta {
  font-size: clamp(22px, 2.4vw, 36px);
  transform: rotate(-6deg);
}

.cta__lead {
  font-size: clamp(22px, 2.2vw, 32px);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.04em;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: 100%;
  max-width: 480px;
  border: var(--line);
  border-radius: 20px;
  background: var(--paper);
  overflow: hidden;
}

.countdown > div {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 14px 6px 12px;
}

.countdown > div + div {
  border-left: var(--line);
}

.countdown span {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 62%;
  font-size: clamp(36px, 3.6vw, 52px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown small {
  font-size: 11px;
  letter-spacing: 0.14em;
}

/* 페이지 끝에 닿으면 오른쪽 아래에서 빼꼼 (좌우 반전된 고스트) */
.cta__ghost {
  position: absolute;
  z-index: 1;
  right: 7vw;
  bottom: 0;
  width: clamp(170px, 21vw, 320px);
  transform: translateY(34%) rotate(-12deg);
  transform-origin: 50% 100%;
  transition: transform 0.9s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta__ghost:hover {
  transform: translateY(22%) rotate(-5deg);
  transition-duration: 0.5s;
}

.cta__ghost.is-hidden {
  transform: translateY(102%) rotate(8deg);
  transition: transform 0.4s ease-in;
}

.cta__psst {
  position: absolute;
  left: -24%;
  top: 0;
  padding: 8px 14px 6px;
  border: var(--line);
  border-radius: 18px 18px 4px 18px;
  background: var(--paper);
  font: 400 clamp(15px, 1.5vw, 22px) / 1 var(--font-hand);
  text-transform: uppercase;
  transform: rotate(4deg);
  transition:
    opacity 0.3s 0.7s,
    transform 0.5s 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cta__ghost.is-hidden .cta__psst {
  opacity: 0;
  transform: rotate(4deg) scale(0.4);
  transition-delay: 0s;
}

/* 이 지점이 화면에 들어오면 고스트가 튀어나옴 */
.cta__sentinel {
  position: absolute;
  bottom: clamp(80px, 9vw, 140px);
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.star--cta {
  width: min(36vw, 520px);
  right: -9vw;
  bottom: -17vw;
  transform: rotate(-20deg);
}

@media (max-width: 860px) {
  .cta__inner {
    grid-template-columns: 1fr;
  }

  .cta {
    padding-bottom: max(200px, 50vw);
  }

  .cta__ghost {
    width: min(44vw, 240px);
    right: 8vw;
  }

  .star--cta {
    width: 76vw;
    right: -22vw;
    bottom: -26vw;
  }
}

/* ---------- partners ---------- */
.partners {
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
}

.partners .sec-head__title {
  color: var(--purple);
}

/* 주최 3곳 + 후원 1곳이 같은 폭의 카드가 되도록 3:1 */
.partners__grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 1fr);
  gap: 16px;
}

.partner-group {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 14px;
}

.partner-group__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--purple);
}

.partner-group__label::after {
  content: "";
  flex: 1;
  height: 2px;
  background: rgb(255 255 255 / 0.22);
}

.partner-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.partner {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 240px;
  padding: 40px 28px;
  border: 2px solid rgb(255 255 255 / 0.22);
  border-radius: 24px;
  transition:
    border-color 0.3s,
    background-color 0.3s,
    transform 0.4s var(--ease-out);
}

.partner:hover {
  border-color: var(--purple);
  background: rgb(138 68 255 / 0.12);
  transform: translateY(-4px);
}

.partner__logo--ausg {
  width: auto;
  height: clamp(100px, 9vw, 132px);
}

.partner__logo--aws {
  width: clamp(120px, 10vw, 156px);
  height: auto;
}

.partner__logo--awskrug {
  width: clamp(160px, 12vw, 200px);
  height: auto;
}

.asbg-logo {
  display: flex;
  align-items: center;
  gap: 16px;
}

.asbg-logo svg {
  width: clamp(64px, 5.6vw, 84px);
  height: auto;
  flex: none;
}

.asbg-logo span {
  font: 500 clamp(17px, 1.5vw, 21px) / 1.3 var(--font-mono);
  letter-spacing: -0.01em;
}

@media (max-width: 960px) {
  .partners__grid {
    grid-template-columns: 1fr;
  }

  .partner {
    min-height: 200px;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  padding: clamp(48px, 6vw, 80px) 0 32px;
  background: var(--ink);
  color: var(--purple);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr auto;
  gap: 32px;
  align-items: end;
}

.footer__brand {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer__ghost {
  width: 48px;
  height: 58px;
  --ghost-body: var(--purple);
  --ghost-eye: var(--ink);
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 56%;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 0.85;
}

.footer__name span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: top;
}

.footer .mono {
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.footer__meta {
  display: grid;
  gap: 18px;
}

.footer__meta strong {
  color: var(--paper);
  font-weight: 600;
}

.footer__meta a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* 이메일은 대문자로 바꾸지 않고, 좁은 화면에서는 줄바꿈 허용 */
.footer__mail {
  color: var(--paper);
  text-transform: none;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.footer__meta a:hover {
  color: var(--paper);
}

.footer__end {
  display: grid;
  justify-items: end;
  gap: 10px;
  text-align: right;
}

.barcode {
  display: block;
  width: 128px;
  height: 30px;
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 2px,
    transparent 2px 4px,
    currentColor 4px 5px,
    transparent 5px 8px,
    currentColor 8px 11px,
    transparent 11px 12px,
    currentColor 12px 13px,
    transparent 13px 16px,
    currentColor 16px 17px,
    transparent 17px 19px
  );
}

.footer__copy {
  color: var(--purple-soft);
}

@media (max-width: 760px) {
  .footer__grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer__end {
    justify-items: start;
    text-align: left;
  }
}

/* ==========================================================================
   404
   ========================================================================== */
.lost {
  position: relative;
  isolation: isolate;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 20px;
  min-height: 100vh;
  min-height: 100svh;
  padding: var(--gutter);
  overflow: hidden;
  text-align: center;
}

.lost .ghost {
  width: min(42vw, 240px);
  animation: float 6s ease-in-out infinite;
}

.lost__code {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 52%;
  font-size: clamp(96px, 18vw, 220px);
  line-height: 0.85;
}

.lost p:not(.lost__code) {
  font-size: 18px;
  font-weight: 600;
}

.lost .star {
  width: min(70vw, 640px);
  left: -16vw;
  bottom: -14vw;
}

/* ==========================================================================
   TOAST
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  max-width: calc(100vw - 32px);
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font-size: 15px;
  font-weight: 600;
  box-shadow: 4px 4px 0 var(--paper);
  opacity: 0;
  transform: translate(-50%, 16px);
  transition:
    opacity 0.25s,
    transform 0.35s var(--ease-out);
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   REVEAL
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--delay, 0s);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
