:root {
  --paper: #f4f1ea;
  --ink: #171b19;
  --muted: #626762;
  --line: #c9cbc3;
  --accent: #145a43;
  --accent-light: #dbe8df;
  --white: #fffdf8;
  --shell: min(1180px, calc(100vw - 48px));
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
a {
  color: inherit;
}

a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button {
  font: inherit;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: white;
  transform: translateY(-160%);
}

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

.copy-ko,
html[data-language="ko"] .copy-en {
  display: none;
}

html[data-language="ko"] .copy-ko {
  display: initial;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(23, 27, 25, 0.12);
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.wordmark {
  justify-self: start;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.wordmark-dot {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a,
.language-toggle {
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.language-toggle:hover,
.language-toggle:focus-visible {
  color: var(--ink);
}

.language-toggle {
  justify-self: end;
  display: flex;
  gap: 6px;
  padding: 8px 0;
  cursor: pointer;
}

.language-option {
  opacity: 0.42;
}

html[data-language="en"] [data-language-option="en"],
html[data-language="ko"] [data-language-option="ko"] {
  color: var(--accent);
  opacity: 1;
}

.hero {
  min-height: calc(100vh - 72px);
  min-height: calc(100svh - 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(92px, 13vh, 160px) 90px;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1020px;
  margin: 26px 0 56px;
  font-family: var(--serif);
  font-size: clamp(60px, 9.4vw, 136px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.87;
}

html[data-language="ko"] .hero h1 {
  font-family: var(--sans);
  font-size: clamp(48px, 8.2vw, 112px);
  font-weight: 750;
  letter-spacing: -0.075em;
  line-height: 1.02;
}

.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 650px) auto;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.hero-intro {
  margin: 0;
  color: #393e3a;
  font-size: clamp(17px, 1.65vw, 21px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--ink);
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
}

.text-link,
.work-links a,
.contact-links a,
.site-footer a {
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible,
.work-links a:hover,
.work-links a:focus-visible,
.contact-links a:hover,
.contact-links a:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
}

.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
}

.proof-item {
  min-height: 138px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.proof-item:first-child {
  padding-left: 0;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item strong {
  font-family: var(--serif);
  font-size: 29px;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.proof-item span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding-block: 150px;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: 70px minmax(0, 780px);
  margin-bottom: 76px;
}

.section-index {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}

.section-heading h2 {
  margin: 16px 0 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5.4vw, 70px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

html[data-language="ko"] .section-heading h2,
html[data-language="ko"] .contact h2 {
  font-family: var(--sans);
  font-weight: 730;
  letter-spacing: -0.06em;
  line-height: 1.15;
}

.work-list {
  border-top: 1px solid var(--ink);
}

.work-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) 160px;
  gap: 0;
  padding-block: 46px;
  border-bottom: 1px solid var(--line);
}

.work-number,
.work-kicker,
.timeline-date {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.work-number {
  padding-top: 7px;
}

.work-kicker {
  margin: 0 0 9px;
}

.work-main h3,
.timeline-item h3 {
  margin: 0;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 720;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.work-main > p:not(.work-kicker) {
  max-width: 690px;
  margin: 17px 0 0;
  color: #444944;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.work-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  padding-top: 5px;
}

.timeline {
  max-width: 960px;
  margin-left: 70px;
  border-top: 1px solid var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  padding-block: 38px;
  border-bottom: 1px solid var(--line);
}

.timeline-date {
  margin: 5px 0 0;
}

.timeline-role {
  margin: 7px 0 14px;
  color: var(--accent);
  font-size: 14px;
  font-weight: 750;
}

.timeline-item div > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: clamp(64px, 10vw, 140px);
  margin-left: 70px;
}

.about-copy {
  font-family: var(--serif);
  font-size: clamp(24px, 2.8vw, 35px);
  letter-spacing: -0.03em;
  line-height: 1.35;
}

html[data-language="ko"] .about-copy {
  font-family: var(--sans);
  font-size: clamp(21px, 2.35vw, 29px);
  font-weight: 520;
  letter-spacing: -0.035em;
  line-height: 1.58;
}

.about-copy p {
  margin: 0 0 1.1em;
}

.details {
  border-top: 1px solid var(--ink);
}

.detail-row {
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}

.detail-row > span {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.detail-row strong {
  display: block;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.contact {
  padding-block: clamp(130px, 18vw, 220px);
}

.contact h2 {
  max-width: 990px;
  margin: 25px 0 52px;
  font-family: var(--serif);
  font-size: clamp(54px, 8.6vw, 116px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.contact-email {
  display: inline-block;
  font-size: clamp(19px, 2.6vw, 31px);
  font-weight: 650;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.contact-email:hover,
.contact-email:focus-visible {
  color: var(--accent);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.site-footer {
  min-height: 94px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ink);
  color: var(--muted);
  font-size: 12px;
}

.site-footer p {
  margin: 0;
}

::selection {
  background: var(--accent);
  color: white;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 32px, 680px);
  }

  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .site-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-block: 104px 70px;
  }

  .hero h1 {
    margin-block: 22px 40px;
  }

  .hero-bottom {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 32px;
  }

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

  .proof-item,
  .proof-item:first-child {
    min-height: 118px;
    padding: 20px 0;
  }

  .proof-item:nth-child(2) {
    padding-left: 20px;
    border-right: 0;
  }

  .proof-item:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .proof-item:nth-child(4) {
    padding-left: 20px;
  }

  .section {
    padding-block: 104px;
  }

  .section-heading {
    grid-template-columns: 42px 1fr;
    margin-bottom: 52px;
  }

  .work-item {
    grid-template-columns: 42px 1fr;
  }

  .work-links {
    grid-column: 2;
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 26px;
  }

  .timeline,
  .about-grid {
    margin-left: 42px;
  }

  .timeline-item {
    grid-template-columns: 145px 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: clamp(48px, 16vw, 72px);
    line-height: 0.92;
  }

  html[data-language="ko"] .hero h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

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

  .proof-item strong {
    font-size: 24px;
  }

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

  .section-index {
    display: none;
  }

  .work-item {
    grid-template-columns: 28px 1fr;
    padding-block: 38px;
  }

  .work-number {
    font-size: 10px;
  }

  .work-links {
    grid-column: 2;
  }

  .timeline,
  .about-grid {
    margin-left: 0;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact h2 {
    font-size: clamp(46px, 15vw, 72px);
  }
}

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