:root {
  color-scheme: light;
  --page: #faf8f2;
  --paper: #fffdf8;
  --ink: #111111;
  --muted: #62615d;
  --soft: #efebe2;
  --line: #d8d1c3;
  --line-dark: #bcb3a4;
  --accent: #2c2922;
  --header-height: 68px;
  font-family: Inter, Pretendard, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: var(--header-height);
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 253, 248, 0.9), transparent 34%),
    linear-gradient(90deg, rgba(17, 17, 17, 0.016) 1px, transparent 1px),
    linear-gradient(180deg, rgba(17, 17, 17, 0.014) 1px, transparent 1px),
    var(--page);
  background-repeat: no-repeat, repeat, repeat, repeat;
  background-size: 100% 100%, 80px 80px, 80px 80px, auto;
  color: var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .has-custom-cursor body,
  .has-custom-cursor a,
  .has-custom-cursor button,
  .has-custom-cursor .hero-title-letter {
    cursor: none;
  }
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(44, 41, 34, 0.28);
  outline-offset: 4px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  padding: 0 32px;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
  background: rgba(250, 248, 242, 0.86);
  backdrop-filter: blur(18px);
}

.hero,
.section,
.footer {
  scroll-snap-align: start;
}

.hero,
.section {
  scroll-snap-stop: always;
}

.brand,
.nav a,
.button,
.hero-link,
.text-link {
  text-decoration: none;
}

.brand {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
}

.nav {
  display: flex;
  gap: 2px;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border-radius: 6px;
  padding: 0 12px;
  color: #4e504e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    background 180ms ease,
    color 180ms ease;
}

.nav a:hover {
  background: rgba(17, 17, 17, 0.06);
  color: var(--ink);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 0.64fr);
  gap: 48px;
  align-items: end;
  min-height: calc(100svh - 68px);
  width: min(1360px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.hero-copy,
.section > div,
.program > *,
.study-list article > * {
  min-width: 0;
}

.background-field {
  position: absolute;
  left: 50%;
  top: 24px;
  z-index: -2;
  width: 100vw;
  height: 640px;
  transform: translateX(-50%);
  opacity: 0.42;
  pointer-events: none;
}

.campaign-surface {
  position: absolute;
  left: min(52vw, 748px);
  top: 44px;
  z-index: -1;
  width: min(48vw, 720px);
  min-width: 500px;
  aspect-ratio: 0.76;
  border: 1px solid rgba(17, 17, 17, 0.11);
  background:
    linear-gradient(138deg, transparent 0 39%, rgba(17, 17, 17, 0.04) 39.15% 39.32%, transparent 39.5% 100%),
    linear-gradient(22deg, transparent 0 52%, rgba(17, 17, 17, 0.026) 52.12% 52.24%, transparent 52.42% 100%),
    repeating-linear-gradient(96deg, rgba(17, 17, 17, 0.03) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(4deg, rgba(17, 17, 17, 0.018) 0 1px, transparent 1px 38px),
    linear-gradient(112deg, rgba(255, 253, 248, 0.96), rgba(239, 235, 226, 0.16) 43%, rgba(17, 17, 17, 0.05)),
    radial-gradient(ellipse at 22% 16%, rgba(255, 255, 255, 0.82), transparent 42%);
  clip-path: polygon(13% 0, 100% 5%, 86% 100%, 0 88%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 248, 0.72),
    0 42px 96px rgba(17, 17, 17, 0.06);
  opacity: 0.96;
  overflow: hidden;
  pointer-events: none;
}

.campaign-surface::before,
.campaign-surface::after {
  position: absolute;
  z-index: 0;
  content: "";
}

.campaign-surface::before {
  inset: 10% 13% 16% 10%;
  border: 1px solid rgba(17, 17, 17, 0.07);
  border-left-color: rgba(17, 17, 17, 0.045);
  transform: skewY(-10deg);
}

.campaign-surface::after {
  right: 10%;
  bottom: 13%;
  width: 54%;
  height: 1px;
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.13), rgba(17, 17, 17, 0.02));
  box-shadow:
    -92px -156px 0 rgba(17, 17, 17, 0.04),
    -24px -88px 0 rgba(17, 17, 17, 0.07),
    26px -232px 0 rgba(17, 17, 17, 0.04);
  transform: rotate(-22deg);
}

.system-topology {
  position: absolute;
  inset: -4%;
  z-index: 1;
  display: block;
  width: 108%;
  height: 108%;
  opacity: 0;
  transition: opacity 900ms ease;
}

.campaign-surface.has-topology .system-topology {
  opacity: 1;
}

.campaign-surface.has-topology {
  background:
    linear-gradient(138deg, transparent 0 39%, rgba(17, 17, 17, 0.008) 39.15% 39.24%, transparent 39.36% 100%),
    linear-gradient(22deg, transparent 0 52%, rgba(17, 17, 17, 0.008) 52.12% 52.2%, transparent 52.32% 100%),
    repeating-linear-gradient(96deg, rgba(17, 17, 17, 0.01) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(4deg, rgba(17, 17, 17, 0.006) 0 1px, transparent 1px 38px),
    linear-gradient(112deg, rgba(255, 253, 248, 0.94), rgba(239, 235, 226, 0.08) 43%, rgba(17, 17, 17, 0.018)),
    radial-gradient(ellipse at 22% 16%, rgba(255, 255, 255, 0.82), transparent 42%);
}

.campaign-surface.has-topology::before {
  opacity: 0.08;
}

.campaign-surface.has-topology::after {
  opacity: 0.02;
}

.surface-label,
.surface-mark {
  position: absolute;
  z-index: 2;
  display: block;
  color: rgba(17, 17, 17, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: 0;
}

.surface-label {
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.surface-label-top {
  left: 23%;
  top: 10%;
  transform: rotate(3deg);
}

.surface-label-mid {
  left: 41%;
  top: 52%;
  opacity: 0.3;
}

.surface-label-bottom {
  right: 18%;
  bottom: 15%;
  transform: rotate(-8deg);
}

.surface-mark {
  width: 44px;
  height: 44px;
  border: 1px solid rgba(17, 17, 17, 0.16);
  border-radius: 50%;
}

.surface-mark::before,
.surface-mark::after {
  position: absolute;
  left: 50%;
  top: 50%;
  background: rgba(17, 17, 17, 0.18);
  content: "";
  transform: translate(-50%, -50%);
}

.surface-mark::before {
  width: 62px;
  height: 1px;
}

.surface-mark::after {
  width: 1px;
  height: 62px;
}

.surface-mark-a {
  left: 17%;
  top: 21%;
}

.surface-mark-b {
  right: 15%;
  top: 28%;
  width: 30px;
  height: 30px;
  opacity: 0.62;
}

.surface-mark-c {
  left: 26%;
  bottom: 18%;
  width: 26px;
  height: 26px;
  opacity: 0.45;
}

.hero::before {
  position: absolute;
  left: 50%;
  top: 18px;
  z-index: -2;
  width: 100vw;
  height: 610px;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 63% 26%, rgba(255, 253, 248, 0.9), transparent 34%),
    linear-gradient(180deg, rgba(250, 248, 242, 0.04), var(--page) 90%);
  opacity: 1;
  content: "";
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(112px, 15.8vw, 210px);
  font-weight: 790;
  letter-spacing: 0;
  line-height: 0.78;
}

.hero-title-letter {
  display: inline-block;
  transform-origin: 50% 72%;
  perspective: 900px;
  will-change: transform;
}

.hero-title-glyph {
  display: inline-block;
  transform-style: preserve-3d;
  transform-origin: 50% 52%;
  transition: color 580ms ease;
  will-change: transform;
}

.hero-title-letter[data-base-rotate-y="180"] .hero-title-glyph {
  transform: rotateY(180deg);
}

.hero-title-letter:hover .hero-title-glyph {
  color: rgba(17, 17, 17, 0.46);
  transition-duration: 320ms;
}

.hero-line {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.04;
}

.hero-line span,
.hero-text span {
  display: block;
}

.hero-line span {
  will-change: transform;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.82;
  word-break: keep-all;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: 8px;
}

.button,
.hero-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 220ms ease;
}

.hero-link {
  min-height: 36px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
  transition:
    color 180ms ease,
    transform 220ms ease;
}

.hero-link:hover {
  color: var(--muted);
}

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

.button-primary:hover {
  background: #2c3034;
}

.button-secondary {
  border-color: var(--line-dark);
  background: rgba(255, 253, 248, 0.68);
  color: var(--ink);
}

.button-secondary:hover {
  background: #ffffff;
}

.section-title-line {
  display: block;
}

.section {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 70px;
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  padding: 118px 0;
  border-top: 1px solid var(--line);
}

.section-index {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
}

h2 {
  margin-bottom: 0;
  font-size: 56px;
  font-weight: 640;
  letter-spacing: 0;
  line-height: 1.06;
  overflow-wrap: anywhere;
  max-width: 100%;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.16;
}

p {
  color: var(--muted);
  line-height: 1.76;
}

.copy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  max-width: 930px;
  margin-top: 42px;
}

.copy-grid p {
  margin-bottom: 0;
  font-size: 20px;
}

.study-list {
  display: grid;
  grid-template-columns: 1fr;
  margin-top: 58px;
  border-top: 1px solid var(--line);
}

.study-list article {
  display: grid;
  grid-template-columns: 72px minmax(220px, 0.75fr) minmax(0, 1fr);
  gap: 32px;
  align-items: baseline;
  min-height: auto;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  transition:
    color 180ms ease,
    transform 260ms ease;
  will-change: transform;
}

.study-list article:hover {
  color: var(--ink);
}

.study-list article > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.study-list p,
.program p {
  margin-bottom: 0;
  font-size: 18px;
}

.aiqa {
  background: transparent;
}

.program {
  display: grid;
  grid-template-columns: minmax(220px, 0.68fr) minmax(0, 1fr);
  gap: 42px;
  max-width: 980px;
  margin-top: 42px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.program-line {
  margin-bottom: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 640;
  line-height: 1.25;
}

.program .text-link {
  margin-top: 26px;
}

.contact h2 {
  max-width: 860px;
  margin-bottom: 32px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 36px;
  border-bottom: 1px solid currentColor;
  color: var(--ink);
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
  transform: translate3d(0, 0, 0);
  transition:
    color 180ms ease,
    transform 220ms ease;
  will-change: transform;
}

.text-link:hover {
  color: var(--muted);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.js [data-reveal] {
  transform: translateY(28px);
}

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

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 100;
  pointer-events: none;
  transform: translate3d(-120px, -120px, 0);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  margin: -3.5px 0 0 -3.5px;
  border-radius: 50%;
  background: var(--accent);
}

.cursor-ring {
  width: 34px;
  height: 34px;
  margin: -17px 0 0 -17px;
  border: 1px solid rgba(44, 41, 34, 0.45);
  border-radius: 50%;
  mix-blend-mode: multiply;
  transition:
    border-color 180ms ease,
    height 180ms ease,
    margin 180ms ease,
    width 180ms ease;
}

.cursor-active .cursor-ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-color: rgba(17, 17, 17, 0.38);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-snap-type: none;
  }

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

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

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
    padding-top: 92px;
  }

  .campaign-surface {
    left: 57%;
    top: 58px;
    width: min(80vw, 580px);
    min-width: 0;
    opacity: 0.62;
  }

  h1 {
    font-size: clamp(92px, 20vw, 168px);
  }

  .hero-line {
    font-size: clamp(36px, 7vw, 48px);
  }

  .section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .copy-grid,
  .program {
    grid-template-columns: 1fr;
  }

  .study-list article {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: auto;
  }

  .study-list article p {
    grid-column: 2;
  }
}

@media (max-width: 680px) {
  :root {
    --header-height: 186px;
  }

  html {
    scroll-snap-type: none;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    min-height: auto;
    padding: 16px;
  }

  .nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .section {
    width: min(calc(100% - 32px), 1200px);
  }

  .hero {
    gap: 42px;
    padding: 66px 0 72px;
  }

  .campaign-surface {
    left: 58%;
    top: 118px;
    width: 92vw;
    opacity: 0.34;
  }

  h1 {
    font-size: clamp(66px, 23vw, 112px);
  }

  .hero-line {
    font-size: 31px;
  }

  .hero-text,
  .copy-grid p {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .section {
    padding: 78px 0;
  }

  h2 {
    font-size: 36px;
  }

  .program-line {
    font-size: 23px;
  }

  .program {
    gap: 18px;
  }

  .footer {
    flex-direction: column;
    padding: 24px 16px;
  }
}
