/* wonkyeong-choi site tokens (night dialect, derived from "Microcosm" 2026)
   Derivation recorded in design/design-taste-night.md. No other hexes allowed. */
:root {
  --wall:  #0E1113; /* darkest 5% of the work, desaturated */
  --panel: #171B1D;
  --bone:  #E9EAE4; /* brightest 2%, desaturated; 15.7:1 on wall */
  --ash:   #AEB2AB; /* 8.8:1 on wall */
  --smoke: #878C85; /* 5.5:1 on wall */
  --seam:  #262B2D; /* decorative 1px rules only */
  --serif: "EB Garamond", serif;
  --sans:  "Inter", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--wall);
  scroll-behavior: smooth;
}

body {
  background: var(--wall);
  color: var(--ash);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

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

/* masthead */

.masthead {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 40px;
}

.wordmark {
  color: var(--bone);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
}

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

.nav a {
  color: var(--ash);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.nav a:hover {
  color: var(--bone);
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* work */

.work {
  padding: 56px 24px 120px;
}

.piece {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.piece img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 82vh;
}

.placard {
  margin-top: 24px;
}

.placard-title {
  display: block;
  color: var(--bone);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.2;
}

.placard-meta {
  display: block;
  margin-top: 6px;
  color: var(--smoke);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* about, contact */

.panel-section {
  max-width: 620px;
  margin: 0 auto;
  padding: 110px 24px;
  border-top: 1px solid var(--seam);
}

.section-label {
  color: var(--smoke);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.statement,
.contact-line {
  margin-top: 20px;
  font-size: 18px;
}

.button {
  display: inline-block;
  margin-top: 32px;
  padding: 15px 30px;
  background: var(--bone);
  color: var(--wall);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
}

.button:hover {
  opacity: 0.92;
}

/* footer */

.footer {
  padding: 40px 24px 48px;
  border-top: 1px solid var(--seam);
  text-align: center;
}

.footer p {
  color: var(--smoke);
  font-size: 12px;
}

/* mobile */

@media (max-width: 640px) {
  .masthead {
    flex-direction: column;
    gap: 12px;
    padding: 22px 20px;
  }

  .nav { gap: 20px; }

  .work {
    padding: 28px 20px 80px;
  }

  .piece img {
    width: 100%;
    max-height: none;
  }

  .placard-title { font-size: 22px; }

  .panel-section {
    padding: 72px 20px;
  }

  .statement,
  .contact-line {
    font-size: 17px;
  }
}
