:root {
  --ink: #12110f;
  --paper: #f6efe2;
  --navy: #081b3f;
  --ocean: #0867ff;
  --mint: #9cffcb;
  --orange: #ff7a1a;
  --sun: #ffe45c;
  --rose: #ff5d8f;
  --silver: #dfe7ef;
  --shadow: 12px 12px 0 var(--ink);
  --radius: 30px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 122, 26, 0.42), transparent 28%),
    radial-gradient(circle at 86% 12%, rgba(156, 255, 203, 0.58), transparent 25%),
    radial-gradient(circle at 78% 76%, rgba(8, 103, 255, 0.26), transparent 28%),
    linear-gradient(135deg, #f6efe2 0%, #f2d2a8 46%, #d7eeff 100%);
  font-family: "IBM Plex Sans KR", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(18, 17, 15, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 17, 15, 0.06) 1px, transparent 1px);
  background-size: 38px 38px;
  content: "";
}

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

.noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.1;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.54'/%3E%3C/svg%3E");
}

.cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  z-index: 60;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width 160ms ease, height 160ms ease, background 160ms ease;
}

.cursor.is-active {
  width: 42px;
  height: 42px;
  background: rgba(156, 255, 203, 0.66);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1160px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: rgba(246, 239, 226, 0.8);
  box-shadow: 0 10px 30px rgba(18, 17, 15, 0.13);
  backdrop-filter: blur(16px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--navy);
  color: var(--sun);
  font-family: "Shrikhand", cursive;
  font-size: 22px;
}

.nav-links a {
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, 0.8fr);
  gap: 46px;
  width: min(1160px, calc(100% - 32px));
  min-height: 770px;
  margin: 42px auto 0;
  align-items: center;
}

.route-line {
  position: absolute;
  inset: 18% 10% auto auto;
  width: 56%;
  height: 42%;
  border-top: 3px dashed rgba(18, 17, 15, 0.35);
  border-right: 3px dashed rgba(18, 17, 15, 0.35);
  border-radius: 0 240px 0 0;
  transform: rotate(-8deg);
}

.orb {
  position: absolute;
  z-index: -1;
  border: 2px solid var(--ink);
  border-radius: 45% 55% 65% 35%;
  animation: drift 8s ease-in-out infinite alternate;
}

.orb-orange {
  width: 220px;
  height: 220px;
  right: 8%;
  top: 4%;
  background: var(--orange);
}

.orb-mint {
  width: 170px;
  height: 170px;
  left: 36%;
  bottom: 11%;
  background: var(--mint);
  animation-delay: -3s;
}

.eyebrow {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 4px 4px 0 var(--ink);
  font-family: "Kanit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1.25;
  text-transform: uppercase;
  white-space: normal;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 620px;
  margin-bottom: 24px;
  font-family: "Black Han Sans", sans-serif;
  font-size: clamp(56px, 6.5vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.065em;
  text-transform: uppercase;
  text-shadow: 4px 4px 0 var(--paper), 7px 7px 0 var(--ink);
}

h1 span {
  display: block;
  color: var(--ocean);
  -webkit-text-stroke: 2px var(--ink);
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  font-size: clamp(18px, 2.1vw, 24px);
  font-weight: 800;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  box-shadow: 6px 6px 0 var(--ink);
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.button.primary {
  background: var(--ink);
  color: var(--paper);
}

.button.ghost {
  background: var(--paper);
}

.command-card {
  position: relative;
  min-height: 560px;
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 42px;
  background:
    radial-gradient(circle at 78% 22%, var(--sun) 0 9%, transparent 10%),
    radial-gradient(circle at 20% 74%, var(--rose) 0 14%, transparent 15%),
    linear-gradient(150deg, #061a40 0%, #0867ff 46%, #9cffcb 100%);
  box-shadow: var(--shadow);
  color: var(--paper);
  overflow: hidden;
}

.passport-stamp {
  display: inline-flex;
  padding: 8px 12px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: rgba(8, 27, 63, 0.76);
  color: var(--sun);
  font-family: "Kanit", sans-serif;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.globe {
  position: relative;
  display: grid;
  width: min(330px, 82vw);
  height: min(330px, 82vw);
  margin: 44px auto 28px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 47%, rgba(18, 17, 15, 0.34) 48% 52%, transparent 53%),
    repeating-linear-gradient(0deg, transparent 0 42px, rgba(18, 17, 15, 0.25) 43px 46px),
    radial-gradient(circle at 38% 30%, var(--mint), transparent 22%),
    radial-gradient(circle at 66% 60%, var(--orange), transparent 20%),
    var(--sun);
  animation: pulse 4s ease-in-out infinite;
}

.globe::before,
.globe::after {
  position: absolute;
  inset: 17%;
  border: 3px solid rgba(18, 17, 15, 0.32);
  border-radius: 50%;
  content: "";
}

.globe::after {
  inset: 33% 10%;
}

.globe span {
  width: 74px;
  height: 74px;
  border: 3px solid var(--ink);
  border-radius: 45% 55% 40% 60%;
  background: var(--orange);
  transform: translate(-72px, -46px) rotate(-18deg);
}

.globe i {
  position: absolute;
  right: 62px;
  bottom: 78px;
  width: 95px;
  height: 68px;
  border: 3px solid var(--ink);
  border-radius: 48% 52% 36% 64%;
  background: var(--mint);
}

.metric-board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.metric-board div {
  padding: 14px;
  border: 2px solid var(--ink);
  border-radius: 20px;
  background: rgba(246, 239, 226, 0.94);
  color: var(--ink);
}

.metric-board b {
  display: block;
  font-family: "Kanit", sans-serif;
  font-size: 28px;
  line-height: 1;
}

.metric-board span {
  display: block;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.marquee {
  display: flex;
  width: 100%;
  border-block: 3px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.marquee div {
  display: flex;
  flex: 0 0 auto;
  min-width: max-content;
  animation: marquee 24s linear infinite;
}

.marquee span {
  padding: 16px 24px;
  font-family: "Kanit", sans-serif;
  font-size: clamp(26px, 4vw, 50px);
  font-weight: 900;
  white-space: nowrap;
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.section-title h2,
.section-heading h2,
.contact h2 {
  max-width: 800px;
  margin-bottom: 0;
  font-family: "Black Han Sans", sans-serif;
  font-size: clamp(46px, 5.7vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.intro-card {
  min-height: 370px;
  padding: 24px;
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-card span {
  display: inline-grid;
  width: 48px;
  height: 48px;
  margin-bottom: 78px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: white;
  font-family: "Kanit", sans-serif;
  font-weight: 900;
}

.intro-card h3 {
  margin-bottom: 14px;
  font-family: "Shrikhand", cursive;
  font-size: 36px;
  line-height: 1;
}

.intro-card p {
  margin-bottom: 0;
  font-weight: 800;
  line-height: 1.58;
}

.intro-card.mint {
  background: var(--mint);
}

.intro-card.ink {
  background: var(--ink);
  color: var(--paper);
}

.intro-card.ink span {
  color: var(--ink);
}

.intro-card.orange {
  background: var(--orange);
}

.case-section {
  padding-top: 30px;
}

.section-heading {
  margin-bottom: 28px;
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  display: flex;
  min-height: 640px;
  flex-direction: column;
  justify-content: space-between;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.case-art {
  position: relative;
  min-height: 390px;
  border-bottom: 3px solid var(--ink);
  overflow: hidden;
}

.launch .case-art {
  background:
    linear-gradient(rgba(18, 17, 15, 0.14) 2px, transparent 2px),
    linear-gradient(90deg, rgba(18, 17, 15, 0.14) 2px, transparent 2px),
    var(--mint);
  background-size: 46px 46px;
}

.launch .case-art::before {
  position: absolute;
  left: 18%;
  top: 35%;
  width: 68%;
  height: 34%;
  border-top: 4px dashed var(--ink);
  border-radius: 50%;
  transform: rotate(-12deg);
  content: "";
}

.pin {
  position: absolute;
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 50% 50% 50% 12px;
  background: var(--orange);
  font-family: "Kanit", sans-serif;
  font-size: 24px;
  font-weight: 900;
  transform: rotate(-45deg);
}

.pin::first-letter {
  transform: rotate(45deg);
}

.pin.seoul {
  left: 38px;
  bottom: 76px;
}

.pin.tokyo {
  left: 46%;
  top: 72px;
  background: var(--sun);
}

.pin.la {
  right: 36px;
  bottom: 92px;
  background: var(--ocean);
  color: white;
}

.creator .case-art {
  background: linear-gradient(135deg, var(--navy), var(--ocean));
}

.phone-card {
  position: absolute;
  display: grid;
  width: 158px;
  height: 230px;
  place-items: end start;
  padding: 20px;
  border: 3px solid var(--ink);
  border-radius: 26px;
  box-shadow: 9px 9px 0 rgba(18, 17, 15, 0.32);
  color: var(--ink);
  font-family: "Kanit", sans-serif;
  font-size: 32px;
  font-weight: 900;
}

.phone-card.one {
  left: 28px;
  top: 72px;
  background: var(--sun);
  transform: rotate(-8deg);
}

.phone-card.two {
  left: 50%;
  top: 46px;
  background: var(--mint);
  transform: translateX(-50%) rotate(6deg);
}

.phone-card.three {
  right: 28px;
  top: 92px;
  background: var(--rose);
  transform: rotate(10deg);
}

.funnel .case-art {
  display: grid;
  place-items: center;
  background: var(--sun);
}

.funnel-step {
  position: absolute;
  display: grid;
  height: 76px;
  place-items: center;
  border: 3px solid var(--ink);
  border-radius: 999px;
  box-shadow: 8px 8px 0 rgba(18, 17, 15, 0.18);
  font-family: "Kanit", sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.funnel-step.top {
  top: 76px;
  width: 78%;
  background: var(--orange);
}

.funnel-step.mid {
  top: 168px;
  width: 58%;
  background: var(--mint);
}

.funnel-step.bot {
  top: 260px;
  width: 38%;
  background: var(--ocean);
  color: white;
}

.case-meta {
  padding: 24px;
}

.case-meta span {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--silver);
  font-family: "Kanit", sans-serif;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-meta h3 {
  margin-bottom: 12px;
  font-family: "Shrikhand", cursive;
  font-size: 38px;
  line-height: 0.98;
}

.case-meta p {
  margin-bottom: 0;
  font-weight: 800;
  line-height: 1.58;
}

.proof {
  position: relative;
  padding-top: 30px;
}

.proof-card {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 32px;
  min-height: 420px;
  align-items: end;
  padding: 36px;
  border: 3px solid var(--ink);
  border-radius: 40px;
  background:
    linear-gradient(135deg, rgba(246, 239, 226, 0.88), rgba(246, 239, 226, 0.16)),
    repeating-linear-gradient(-45deg, var(--orange) 0 14px, var(--orange) 14px 28px, var(--mint) 28px 42px, var(--mint) 42px 56px);
  box-shadow: var(--shadow);
}

.proof-card h2 {
  margin-bottom: 0;
  color: var(--navy);
  font-family: "Kanit", sans-serif;
  font-size: clamp(50px, 7vw, 106px);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.06em;
  text-shadow: 4px 4px 0 var(--paper), 7px 7px 0 var(--ink);
}

.proof-card p:not(.eyebrow) {
  margin-bottom: 0;
  padding: 24px;
  border: 2px solid var(--ink);
  border-radius: 24px;
  background: rgba(246, 239, 226, 0.92);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.6;
}

.floating-tags span {
  position: absolute;
  padding: 10px 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  background: var(--sun);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: "Kanit", sans-serif;
  font-weight: 900;
}

.floating-tags span:nth-child(1) {
  left: 8%;
  top: 18px;
  transform: rotate(-8deg);
}

.floating-tags span:nth-child(2) {
  right: 10%;
  top: 54px;
  background: var(--rose);
  transform: rotate(9deg);
}

.floating-tags span:nth-child(3) {
  right: 18%;
  bottom: 42px;
  background: var(--mint);
  transform: rotate(-6deg);
}

.floating-tags span:nth-child(4) {
  left: 42%;
  top: 10px;
  background: var(--paper);
  transform: rotate(6deg);
}

.contact {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 30px;
  align-items: end;
  padding-bottom: 80px;
}

.contact-link {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  border: 3px solid var(--ink);
  border-radius: 34px;
  background: var(--ink);
  color: var(--paper);
  box-shadow: var(--shadow);
  font-family: "Kanit", sans-serif;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.05em;
  overflow-wrap: anywhere;
}

.contact-link span {
  width: fit-content;
  padding: 10px 14px;
  border: 2px solid var(--paper);
  border-radius: 999px;
  background: var(--ocean);
  font-family: "IBM Plex Sans KR", sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.98);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

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

@keyframes drift {
  to {
    transform: translate3d(18px, -24px, 0) rotate(18deg);
  }
}

@keyframes pulse {
  50% {
    transform: translateY(-8px) scale(1.02);
  }
}

@media (max-width: 980px) {
  .intro-grid,
  .case-grid,
  .proof-card,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro-card {
    min-height: 270px;
  }

  .intro-card span {
    margin-bottom: 42px;
  }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-bottom: 74px;
  }

  .command-card {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .cursor {
    display: none;
  }

  .site-header {
    align-items: flex-start;
    border-radius: 24px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 10px 8px;
    font-size: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  h1 {
    font-size: clamp(42px, 12.5vw, 62px);
    letter-spacing: -0.07em;
    text-shadow: 3px 3px 0 var(--paper), 5px 5px 0 var(--ink);
  }

  .eyebrow {
    padding: 7px 10px;
    font-size: 11px;
  }

  .hero-lead {
    font-size: 18px;
  }

  .metric-board {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 78px 0;
  }

  .section-title h2,
  .section-heading h2,
  .contact h2 {
    font-size: clamp(42px, 13vw, 68px);
  }

  .case-card {
    min-height: 560px;
  }

  .case-art {
    min-height: 330px;
  }

  .phone-card {
    width: 128px;
    height: 194px;
  }

  .proof-card {
    min-height: 500px;
    padding: 22px;
  }

  .proof-card p:not(.eyebrow) {
    font-size: 17px;
  }

  .floating-tags {
    display: none;
  }
}

@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;
  }
}
