:root {
  --paper: #ffffff;
  --ink: #080808;
  --muted: #5f5f5f;
  --line: #e8e5de;
  --blue: #1f8fff;
  --blue-soft: #ecf6ff;
  --orange: #ec7c5c;
  --dark: #101114;
  --max-width: 1440px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans KR", sans-serif;
  overflow-x: hidden;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

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

.page {
  min-height: 100vh;
}

.site-header,
.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0 12px;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0));
}

.site-mark,
.site-meta {
  font-size: 1.15rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.switch-link,
.switch-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease;
}

.switch-link:hover,
.switch-cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}

.switch-panel {
  display: grid;
  gap: 18px;
  padding: 22px 24px 28px;
  margin-top: 10px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfaf7, #ffffff);
}

.switch-panel-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.switch-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
}

.switch-title {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.switch-copy {
  margin: 0;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: calc(100vh - 72px);
  align-items: stretch;
  padding-bottom: 0;
  overflow: clip;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px 0 40px;
}

.small-label,
.work-year,
.work-meta dt {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.massive-title,
.works-title,
.contact-title {
  margin: 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(4.2rem, 10vw, 7.4rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.massive-title {
  display: grid;
  gap: 0.02em;
}

.title-line {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  animation: title-rise 1s cubic-bezier(0.2, 0.9, 0.2, 1) forwards;
}

.title-line:nth-child(2) {
  animation-delay: 140ms;
}

.hero-kicker {
  max-width: 290px;
  margin: 0 0 72px 0;
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
  opacity: 0;
  animation: fade-up 900ms ease forwards;
  animation-delay: 340ms;
}

.hero-kicker-strong {
  max-width: 420px;
}

.hero-visual {
  position: relative;
  overflow: hidden;
  min-height: 820px;
  will-change: transform;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: slow-zoom 8s ease-in-out infinite alternate;
}

.visual-overlay {
  position: absolute;
  inset: 42px auto auto 42px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(2.5rem, 5.6vw, 4.8rem);
  line-height: 0.84;
  letter-spacing: -0.08em;
  color: rgba(247, 236, 213, 0.92);
  font-weight: 900;
  mix-blend-mode: screen;
  animation: drift 10s ease-in-out infinite alternate;
  max-width: 62%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.visual-glow {
  position: absolute;
  inset: auto auto 8% 8%;
  width: 38%;
  aspect-ratio: 1;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0) 72%);
  mix-blend-mode: screen;
  animation: pulse 5s ease-in-out infinite;
}

.motion-band {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  background: #fbfaf7;
  position: relative;
  z-index: 2;
  margin-top: 18px;
}

.motion-track {
  display: inline-flex;
  align-items: center;
  gap: 32px;
  padding: 14px 0;
  min-width: max-content;
  animation: marquee 26s linear infinite;
  font-family: "Archivo", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.motion-track span::after {
  content: "•";
  margin-left: 32px;
  color: var(--blue);
}

.about-split,
.toolbox,
.influence {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  padding: 72px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.section-title {
  margin: 10px 0 0;
  font-family: "Archivo", sans-serif;
  font-size: clamp(3.4rem, 8vw, 5.9rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  font-weight: 900;
}

.body-copy,
.influence-notes p,
.toolbox-list p {
  margin: 0 0 18px 0;
  max-width: 700px;
  font-size: 1.08rem;
  line-height: 1.7;
}

.story {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.story-card {
  border-top: 3px solid var(--ink);
  padding-top: 18px;
}

.story-step {
  margin: 0 0 12px;
  font-family: "Archivo", sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--blue);
}

.story-card h3 {
  margin: 0 0 14px;
  font-size: 1.5rem;
  line-height: 1.2;
}

.story-card p:last-child {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
}

.works {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.works-head {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: start;
  gap: 24px;
  margin-bottom: 42px;
}

.works-title {
  font-size: clamp(3.9rem, 9vw, 6.8rem);
}

.works-tags {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  justify-items: start;
  font-size: 1.05rem;
  font-weight: 800;
}

.works-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px 40px;
}

.works-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.works-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.works-row-featured {
  padding: 32px 0;
}

.works-row-meta {
  display: grid;
  gap: 10px;
  justify-items: start;
}

.works-category {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.works-row-copy h3 {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.works-row-copy p {
  margin: 0;
  max-width: 760px;
  font-size: 1.04rem;
  line-height: 1.7;
  color: var(--muted);
}

.works-row.warm {
  background: linear-gradient(180deg, rgba(255, 243, 237, 0.55), rgba(255, 255, 255, 0));
}

.work-card {
  border: 1px solid var(--line);
  padding: 28px;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transition: transform 350ms ease, box-shadow 350ms ease, border-color 350ms ease;
}

.work-card:hover {
  transform: translateY(-10px) rotate(-0.45deg);
  box-shadow: var(--shadow);
  border-color: #d4d0c8;
}

.work-card h3 {
  margin: 22px 0 12px;
  font-family: "Archivo", sans-serif;
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.work-card-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.work-pill {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}

.work-pill.warm {
  background: var(--orange);
}

.work-card-blue {
  background: linear-gradient(180deg, var(--blue-soft), #fff 18%, #fff 100%);
}

.work-card-warm {
  background: linear-gradient(180deg, #fff3ed, #fff 22%, #fff 100%);
}

.work-subtitle {
  margin: 0 0 18px;
  font-size: 1.1rem;
  font-weight: 600;
}

.work-description {
  max-width: 32ch;
  font-size: 1rem;
  line-height: 1.65;
}

.chart-lines {
  height: 220px;
  margin: 32px 0 26px;
  display: flex;
  align-items: end;
  gap: 14px;
  padding: 0 10px 6px;
  border-bottom: 1px solid #dce9f8;
}

.chart-lines span {
  display: block;
  flex: 1;
  background: linear-gradient(180deg, rgba(31, 143, 255, 0.28), rgba(31, 143, 255, 0.9));
  border-radius: 18px 18px 4px 4px;
  animation: graph-breathe 3.6s ease-in-out infinite;
}

.chart-lines span:nth-child(1) { height: 58%; animation-delay: 0ms; }
.chart-lines span:nth-child(2) { height: 44%; animation-delay: 120ms; }
.chart-lines span:nth-child(3) { height: 38%; animation-delay: 240ms; }
.chart-lines span:nth-child(4) { height: 26%; animation-delay: 360ms; }
.chart-lines span:nth-child(5) { height: 16%; animation-delay: 480ms; }

.work-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin: 24px 0 0;
}

.work-meta dd {
  margin: 6px 0 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.writing-section {
  background:
    linear-gradient(180deg, rgba(236, 246, 255, 0.72), rgba(255, 255, 255, 0) 72%);
}

.emphasis-copy {
  font-size: 1.24rem;
  font-weight: 800;
  line-height: 1.6;
}

.toolbox-list strong {
  display: inline-block;
  margin-bottom: 4px;
  font-weight: 800;
}

.toolbox-list {
  padding-left: 18px;
}

.contact {
  padding: 84px 0 0;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.contact-links {
  display: grid;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 700;
}

.contact-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-title {
  font-size: clamp(3.6rem, 8.5vw, 7rem);
  line-height: 0.9;
  white-space: normal;
  transform: translateY(0.08em);
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 850ms ease, transform 850ms cubic-bezier(0.2, 0.9, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes title-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.04) translateY(0);
  }
  to {
    transform: scale(1.1) translateY(-10px);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(10px, -10px, 0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.34;
    transform: scale(1);
  }
  50% {
    opacity: 0.56;
    transform: scale(1.08);
  }
}

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

@keyframes graph-breathe {
  0%, 100% {
    filter: saturate(1);
    transform: scaleY(1);
  }
  50% {
    filter: saturate(1.18);
    transform: scaleY(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1080px) {
  .hero,
  .about-split,
  .toolbox,
  .influence,
  .story-grid,
  .works-head,
  .works-row,
  .works-grid,
  .contact-top,
  .switch-panel-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 520px;
  }

  .contact-title {
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .site-header,
  .section {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .site-header {
    padding-top: 14px;
    align-items: flex-start;
    gap: 12px;
  }

  .header-tools {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;
    padding-bottom: 24px;
  }

  .hero-copy {
    gap: 28px;
  }

  .hero-visual {
    min-height: 380px;
  }

  .work-card {
    min-height: auto;
  }

  .work-card h3 {
    font-size: clamp(2.4rem, 13vw, 4rem);
  }

  .body-copy,
  .influence-notes p,
  .toolbox-list p,
  .story-card p:last-child {
    font-size: 1rem;
  }

  .emphasis-copy {
    font-size: 1.08rem;
  }
}
