/* ==========================================================================
   꼬꼬무 · 특허 이야기 — Editorial design system
   paper / ink / one accent. Long-form magazine layout.
   ========================================================================== */

/* ---------- 1. Tokens ---------------------------------------------------- */
:root {
  /* paper & ink */
  --paper: #faf9f6;
  --paper-deep: #f2efe8;
  --paper-warm: #f7f4ee;
  --surface: #ffffff;
  --ink: #141413;
  --ink-2: #3d3d39;
  --ink-3: #6b6b63;
  --ink-4: #7c7c73;
  --hair: rgba(20, 20, 19, 0.08);
  --hair-strong: rgba(20, 20, 19, 0.16);
  --accent: #b0492d;
  --accent-deep: #8d3822;
  --accent-soft: rgba(176, 73, 45, 0.07);

  /* type */
  --serif: "Nanum Myeongjo", "Noto Serif KR", "AppleMyungjo", serif;
  --serif-latin: "Instrument Serif", "Nanum Myeongjo", serif;
  --sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", system-ui, sans-serif;

  /* metrics */
  --container: 1180px;
  --narrow: 720px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 132px;

  --ease: cubic-bezier(0.22, 0.61, 0.24, 1);

  --shadow-soft: 0 1px 1px rgba(20, 20, 19, 0.03), 0 18px 40px -28px rgba(20, 20, 19, 0.35);
}

/* ---------- 2. Reset ---------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: -0.006em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

[hidden] {
  display: none !important;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: rgba(176, 73, 45, 0.16);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
}

hr {
  border: 0;
  border-top: 1px solid var(--hair);
  margin: 0;
}

/* ---------- 3. Type helpers --------------------------------------------- */
.serif {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  line-height: 1.4;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--accent);
  opacity: 0.55;
}

.kicker--plain::before {
  display: none;
}

.muted {
  color: var(--ink-3);
}

.num {
  font-family: var(--serif-latin);
  font-feature-settings: "tnum" 1;
  letter-spacing: 0;
}

/* ---------- 4. Layout --------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.stack-24 > * + * {
  margin-top: 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 18px;
  font-size: 13px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hair-strong);
}

.section-head__title {
  font-family: var(--serif);
  font-size: clamp(24px, 3.4vw, 32px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-head__sub {
  font-size: 12px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ---------- 5. Header --------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(250, 249, 246, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--hair);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-stuck {
  box-shadow: 0 1px 0 rgba(20, 20, 19, 0.04), 0 12px 28px -24px rgba(20, 20, 19, 0.5);
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 9px;
  border-bottom: 1px solid var(--hair);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.masthead__tagline {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.masthead__en {
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: none;
}

.masthead__issue {
  white-space: nowrap;
}

.header-main {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-block: 16px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand__mark {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: var(--ink);
  line-height: 1;
}

.brand__mark::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-3px);
}

.brand__sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-3);
  text-transform: uppercase;
  padding-left: 10px;
  border-left: 1px solid var(--hair-strong);
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav__link {
  position: relative;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: -0.01em;
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  color: var(--ink);
}

.nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--ink);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(20, 20, 19, 0.05);
  color: var(--ink);
}

.icon-btn svg {
  width: 18px;
  height: 18px;
}

.header-tools__divider {
  width: 1px;
  height: 20px;
  background: var(--hair-strong);
  margin-inline: 6px;
}

.mobile-search {
  padding-bottom: 12px;
}

.mobile-search .search-field {
  display: flex;
  min-width: 0;
  width: 100%;
  height: 40px;
}

@media (min-width: 641px) {
  .js-search-toggle {
    display: none;
  }
}

@media (max-width: 640px) {
  .js-search-toggle {
    display: inline-grid;
  }
}

.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: var(--surface);
  min-width: 168px;
  color: var(--ink-4);
  font-size: 12.5px;
}

.search-field svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.search-field input {
  border: 0;
  outline: 0;
  background: none;
  font: inherit;
  color: var(--ink);
  width: 100%;
  padding: 0;
}

.search-field input::placeholder {
  color: var(--ink-4);
}

/* ---------- 5b. Search dropdown ----------------------------------------- */
.has-search-drop {
  position: relative;
}

.search-drop {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 70;
  width: min(380px, calc(100vw - 24px));
  max-height: min(72vh, 480px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px;
  border: 1px solid var(--hair-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 22px 48px -24px rgba(20, 20, 19, 0.45), 0 1px 2px rgba(20, 20, 19, 0.06);
}

.search-drop[hidden] {
  display: none;
}

.search-drop__head {
  padding: 6px 10px 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.search-drop__head strong {
  color: var(--accent);
  font-weight: 700;
}

.search-drop__item {
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--ink-2);
  transition: background 0.15s var(--ease);
}

.search-drop__item:hover,
.search-drop__item.is-active {
  background: var(--accent-soft);
}

.search-drop__eyebrow {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.search-drop__title {
  font-family: var(--serif);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.search-drop__meta {
  font-size: 11.5px;
  letter-spacing: 0.02em;
  color: var(--ink-4);
}

.search-drop mark {
  padding: 0 1px;
  border-radius: 2px;
  background: rgba(176, 73, 45, 0.14);
  color: var(--accent-deep);
}

.search-drop__all {
  display: block;
  margin-top: 4px;
  padding: 10px 10px 8px;
  border-top: 1px solid var(--hair);
  font-size: 12px;
  text-align: center;
  color: var(--ink-3);
}

.search-drop__all:hover,
.search-drop__all.is-active {
  color: var(--accent-deep);
}

.mobile-search .search-drop {
  top: calc(100% - 4px);
  right: 0;
  left: 0;
  width: auto;
}

/* ---------- 5c. Search result note (home) -------------------------------- */
.story-search-note {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
}

.story-search-note[hidden] {
  display: none;
}

.story-search-note strong {
  color: var(--ink);
  font-weight: 700;
}

.stories {
  scroll-margin-top: 108px;
}

/* ---------- 6. Chips / filters ------------------------------------------ */
.chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease),
    background 0.2s var(--ease);
}

.chip:hover {
  color: var(--ink);
  border-color: rgba(20, 20, 19, 0.3);
}

.chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.chip__count {
  font-size: 10.5px;
  font-variant-numeric: tabular-nums;
  opacity: 0.55;
}

.chip-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px 0;
}

.chip-bar__label {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  white-space: nowrap;
}

/* ---------- 7. Hero ----------------------------------------------------- */
.hero {
  padding-top: clamp(28px, 5vw, 52px);
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.hero__label::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--hair);
}

.hero__label-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.hero__label-text i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero__label-no {
  font-family: var(--serif-latin);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-4);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.hero__text {
  max-width: 560px;
}

.hero__title {
  font-family: var(--serif);
  text-wrap: balance;
  font-size: clamp(32px, 4.3vw, 58px);
  line-height: 1.24;
  letter-spacing: -0.028em;
  font-weight: 400;
  color: var(--ink);
  margin-top: 18px;
  word-break: keep-all;
}

.hero__title em {
  font-style: normal;
  position: relative;
  white-space: nowrap;
}

.hero__title em::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.08em;
  height: 0.32em;
  background: var(--accent-soft);
  z-index: -1;
}

.hero__deck {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.6vw, 18px);
  line-height: 1.72;
  color: var(--ink-3);
  max-width: 470px;
  word-break: keep-all;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 26px;
  font-size: 12.5px;
  color: var(--ink-3);
}

.hero__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-4);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 24px;
  padding: 0 9px;
  border: 1px solid var(--hair-strong);
  border-radius: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.badge--ink {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 24px;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  background: var(--accent-deep);
}

.btn svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair-strong);
}

.btn--ghost:hover {
  background: var(--surface);
  color: var(--ink);
}

.link-quiet {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--hair-strong);
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}

.link-quiet:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.link-quiet svg {
  width: 14px;
  height: 14px;
}

/* plate — patent figure frame */
.plate {
  position: relative;
  margin: 0;
}

.plate__frame {
  position: relative;
  background: var(--paper-deep);
  background-image: radial-gradient(rgba(20, 20, 19, 0.055) 0.8px, transparent 0.8px);
  background-size: 14px 14px;
  border: 1px solid var(--hair);
  aspect-ratio: 420 / 470;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.plate__svg {
  width: 88%;
  height: auto;
  color: var(--ink);
}

/* real patent drawing (public-domain source scan, cropped) */
.plate.plate--real .plate__frame {
  aspect-ratio: auto;
  padding: clamp(20px, 3.4vw, 36px);
  background-image: none;
  background-color: var(--paper-warm);
}

.plate.plate--real .plate__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  max-height: none;
  mix-blend-mode: multiply;
  filter: contrast(1.03);
}

.article-figure.plate--real .plate__img {
  max-width: 720px;
  margin-inline: auto;
}

.plate__corner {
  position: absolute;
  width: 11px;
  height: 11px;
  border-color: rgba(20, 20, 19, 0.28);
  border-style: solid;
  border-width: 0;
}

.plate__corner--tl {
  top: 14px;
  left: 14px;
  border-top-width: 1px;
  border-left-width: 1px;
}

.plate__corner--tr {
  top: 14px;
  right: 14px;
  border-top-width: 1px;
  border-right-width: 1px;
}

.plate__corner--bl {
  bottom: 14px;
  left: 14px;
  border-bottom-width: 1px;
  border-left-width: 1px;
}

.plate__corner--br {
  bottom: 14px;
  right: 14px;
  border-bottom-width: 1px;
  border-right-width: 1px;
}

.plate__tag {
  position: absolute;
  top: 16px;
  right: 30px;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: var(--ink-4);
  text-transform: uppercase;
}

.plate__tag--left {
  right: auto;
  left: 30px;
}

.plate__cap {
  margin-top: 12px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.6;
  letter-spacing: 0.01em;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* hero index strip */
.hero__strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.hero__strip-item {
  padding: 18px 20px 18px 0;
  border-left: 1px solid var(--hair);
}

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

.hero__strip-item + .hero__strip-item {
  padding-left: 20px;
}

.hero__strip dt {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.hero__strip dd {
  margin: 6px 0 0;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.hero__strip dd small {
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0;
  margin-left: 4px;
}

/* ---------- 8. Story list ---------------------------------------------- */
.stories {
  padding-top: clamp(44px, 6vw, 76px);
}

.story-list {
  border-top: 1px solid var(--hair);
}

.story-card {
  border-bottom: 1px solid var(--hair);
}

.story-card__link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 208px;
  gap: clamp(20px, 4vw, 48px);
  padding: clamp(24px, 3vw, 34px) 0;
  align-items: center;
  transition: background 0.3s var(--ease);
}

.story-card__body {
  min-width: 0;
}

.story-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.story-card__index {
  font-family: var(--serif-latin);
  font-size: 13px;
  color: var(--ink-4);
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.story-card__title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(21px, 2.5vw, 27px);
  line-height: 1.34;
  letter-spacing: -0.025em;
  color: var(--ink);
  word-break: keep-all;
  transition: color 0.2s var(--ease);
}

.story-card__link:hover .story-card__title .u {
  background-size: 100% 1px;
}

.story-card__title .u {
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.45s var(--ease);
  padding-bottom: 2px;
}

.story-card__excerpt {
  margin-top: 10px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 560px;
  word-break: keep-all;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--ink-4);
  flex-wrap: wrap;
}

.story-card__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-4);
}

.meta-date {
  display: inline-flex;
  align-items: center;
  gap: inherit;
}

.story-card__thumb {
  position: relative;
  background: var(--paper-deep);
  border: 1px solid var(--hair);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.story-card__thumb svg {
  width: 62%;
  height: auto;
  color: var(--ink-2);
  transition: transform 0.6s var(--ease);
}

.story-card__thumb img {
  width: auto;
  height: auto;
  max-width: 80%;
  max-height: 60%;
  margin-top: 12px;
  margin-bottom: 16px;
  mix-blend-mode: multiply;
  transition: transform 0.6s var(--ease);
}

.story-card__link:hover .story-card__thumb img {
  transform: scale(1.04);
}

.story-card__figcap {
  position: absolute;
  bottom: 9px;
  left: 11px;
  right: 11px;
  font-size: 9px;
  line-height: 1.35;
  letter-spacing: 0.01em;
  color: var(--ink-3);
  text-align: left;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.story-card__thumb .plate__tag {
  top: 10px;
  right: 12px;
  font-size: 8.5px;
  letter-spacing: 0.18em;
}

.story-list__empty {
  padding: 60px 0;
  text-align: center;
  color: var(--ink-3);
  font-size: 14.5px;
}

.story-list__empty[hidden] {
  display: none;
}

/* ---------- 9. Footer --------------------------------------------------- */
.site-footer {
  margin-top: clamp(56px, 8vw, 100px);
  border-top: 1px solid var(--hair-strong);
  background: var(--paper-warm);
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 0.8fr));
  gap: 32px;
  padding-block: clamp(40px, 5vw, 64px) 36px;
}

.footer-brand__mark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.footer-brand__mark::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 3px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(-3px);
}

.footer-brand__text {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  max-width: 280px;
  word-break: keep-all;
}

.footer-col__title {
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.footer-col ul {
  display: grid;
  gap: 9px;
}

.footer-col a {
  font-size: 13px;
  color: var(--ink-2);
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 20px;
  border-top: 1px solid var(--hair);
  font-size: 12.5px;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}

.footer-bottom .num {
  font-weight: 500;
  letter-spacing: 0.04em;
}

.footer-note {
  padding-bottom: 28px;
  font-size: 12px;
  line-height: 1.75;
  color: var(--ink-3);
  max-width: 720px;
  word-break: keep-all;
}

/* ---------- 10. Article ------------------------------------------------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 80;
  background: transparent;
  pointer-events: none;
}

.progress__bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transform-origin: left center;
  transition: width 0.12s linear;
}

.article {
  padding-top: clamp(24px, 4vw, 40px);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: var(--ink-4);
  letter-spacing: 0.02em;
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb svg {
  width: 11px;
  height: 11px;
  opacity: 0.6;
}

.article-head {
  max-width: 820px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  text-align: center;
}

.article-head__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--ink-4);
}

.article-head__meta .dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--ink-4);
}

.article-title {
  font-family: var(--serif);
  text-wrap: balance;
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.28;
  letter-spacing: -0.03em;
  font-weight: 400;
  color: var(--ink);
  margin-top: 18px;
  word-break: keep-all;
}

.article-deck {
  margin: 20px auto 0;
  max-width: 620px;
  font-size: clamp(15.5px, 1.7vw, 18px);
  line-height: 1.72;
  color: var(--ink-3);
  word-break: keep-all;
}

.article-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--hair);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--ink-4);
}

.article-byline strong {
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
  font-size: 12.5px;
  white-space: nowrap;
}

.article-figure {
  max-width: 980px;
  margin: clamp(28px, 4vw, 44px) auto 0;
}

.article-figure .plate__frame {
  aspect-ratio: 16 / 9;
}

.article-figure .plate__svg {
  width: 46%;
  max-height: 92%;
}

.article-figure figcaption {
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11.5px;
  color: var(--ink-4);
  line-height: 1.6;
}

/* body copy */
.prose {
  max-width: var(--narrow);
  margin: 0 auto;
  padding-top: clamp(34px, 5vw, 56px);
  font-size: 17px;
  line-height: 1.92;
  color: var(--ink-2);
  letter-spacing: -0.003em;
  word-break: keep-all;
  overflow-wrap: break-word;
}

.prose > p + p {
  margin-top: 1.35em;
}

.prose p {
  text-wrap: pretty;
}

.prose .lede {
  font-size: 19px;
  line-height: 1.85;
  color: var(--ink);
}

.prose .lede::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 3.6em;
  line-height: 0.86;
  padding: 0.06em 0.14em 0 0;
  color: var(--ink);
  font-weight: 600;
}

.prose strong {
  font-weight: 600;
  color: var(--ink);
  background: linear-gradient(transparent 62%, var(--accent-soft) 62%);
}

.prose em {
  font-style: italic;
}

.act {
  margin-top: clamp(40px, 6vw, 64px);
}

.act__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.act__no {
  font-family: var(--serif-latin);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
}

.act__rule {
  flex: 1;
  height: 1px;
  background: var(--hair);
}

.act__title {
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.025em;
  line-height: 1.4;
  margin-bottom: 16px;
  word-break: keep-all;
}

.pullquote {
  margin: clamp(36px, 5vw, 52px) 0;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--ink);
}

.pullquote p {
  font-family: var(--serif);
  font-size: clamp(21px, 2.8vw, 26px);
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: var(--ink);
  word-break: keep-all;
}

.pullquote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--sans);
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.06em;
  color: var(--ink-4);
}

/* tip box */
.tipbox {
  margin: clamp(32px, 4.5vw, 44px) 0;
  padding: 24px 26px;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-left: 2px solid var(--accent);
}

.tipbox__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tipbox__label svg {
  width: 14px;
  height: 14px;
}

.tipbox h3 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1.4;
  margin-bottom: 8px;
}

.tipbox p {
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-3);
  word-break: keep-all;
}

.tipbox p + p {
  margin-top: 0.8em;
}

.tipbox b {
  color: var(--ink-2);
  font-weight: 600;
}

/* guess / spoiler card */
.guess {
  margin: clamp(34px, 5vw, 48px) 0;
  background: var(--ink);
  color: #eceae4;
  padding: clamp(24px, 3.4vw, 34px);
  position: relative;
  overflow: hidden;
}

.guess::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 90% at 100% 0%, rgba(176, 73, 45, 0.28), transparent 55%);
  pointer-events: none;
}

.guess__inner {
  position: relative;
}

.guess__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(236, 234, 228, 0.55);
  margin-bottom: 16px;
}

.guess__label span:last-child {
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.guess__q {
  font-family: var(--serif);
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: #fbfaf7;
  word-break: keep-all;
  margin-bottom: 20px;
}

.guess__options {
  display: grid;
  gap: 8px;
}

.guess__opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 13px 15px;
  border: 1px solid rgba(236, 234, 228, 0.16);
  background: rgba(255, 255, 255, 0.02);
  color: #e6e3db;
  font-size: 14px;
  line-height: 1.55;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.guess__opt:hover {
  border-color: rgba(236, 234, 228, 0.42);
  background: rgba(255, 255, 255, 0.05);
}

.guess__opt-key {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid rgba(236, 234, 228, 0.3);
  font-size: 10.5px;
  letter-spacing: 0;
  color: rgba(236, 234, 228, 0.8);
}

.guess__opt[data-state="wrong"] {
  border-color: rgba(236, 234, 228, 0.14);
  color: rgba(236, 234, 228, 0.4);
  text-decoration: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(236, 234, 228, 0.25);
}

.guess__opt[data-state="right"] {
  border-color: var(--accent);
  background: rgba(176, 73, 45, 0.18);
  color: #fff;
}

.guess__opt[data-state="right"] .guess__opt-key {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.guess__result {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.guess__result.is-open {
  grid-template-rows: 1fr;
}

.guess__result > div {
  overflow: hidden;
}

.guess__answer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(236, 234, 228, 0.16);
  font-size: 14.5px;
  line-height: 1.85;
  color: rgba(236, 234, 228, 0.82);
  word-break: keep-all;
}

.guess__answer b {
  color: #fff;
  font-weight: 600;
}

.guess__status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7b9a8;
  margin-bottom: 12px;
}

.guess__status svg {
  width: 13px;
  height: 13px;
}

.guess__status[data-guess-state="wrong"] {
  color: rgba(236, 234, 228, 0.55);
}

.guess__status[data-guess-state="wrong"] svg {
  display: none;
}

/* timeline card */
.timeline {
  margin: clamp(34px, 5vw, 48px) 0;
  border: 1px solid var(--hair);
  background: var(--surface);
  padding: clamp(24px, 3.2vw, 32px);
}

.timeline__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--hair);
}

.timeline__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.timeline__sub {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.timeline__items {
  display: grid;
  gap: 0;
  margin-top: 4px;
}

.timeline__item {
  display: grid;
  grid-template-columns: 76px 18px minmax(0, 1fr);
  gap: 0 14px;
  padding-block: 18px;
  position: relative;
}

.timeline__item + .timeline__item {
  border-top: 1px dashed var(--hair-strong);
}

.timeline__year {
  font-family: var(--serif-latin);
  font-size: 19px;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.timeline__year small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--ink-4);
  margin-top: 3px;
}

.timeline__dot {
  position: relative;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.timeline__dot i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  background: var(--surface);
  z-index: 1;
}

.timeline__item--key .timeline__dot i {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline__dot::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: -18px;
  width: 1px;
  background: var(--hair);
}

.timeline__item:last-child .timeline__dot::before {
  display: none;
}

.timeline__body h4 {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.55;
}

.timeline__body p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  word-break: keep-all;
}

/* tail question */
.tail {
  margin-top: clamp(44px, 6vw, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--hair-strong);
}

.tail__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.tail__q {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.025em;
  color: var(--ink);
  word-break: keep-all;
}

.tail__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-3);
  word-break: keep-all;
}

.next-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 20px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--hair);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.next-card:hover {
  border-color: var(--hair-strong);
  transform: translateY(-2px);
}

.next-card__eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.next-card__title {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.4;
}

.next-card__meta {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ink-4);
  display: flex;
  gap: 10px;
  align-items: center;
}

.next-card__thumb {
  aspect-ratio: 1;
  background: var(--paper-deep);
  border: 1px solid var(--hair);
  display: grid;
  place-items: center;
}

.next-card__thumb svg {
  width: 58%;
  color: var(--ink-2);
}

.next-card__thumb img {
  max-width: 78%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

/* share row */
.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--hair);
}

.share-row__label {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-right: 6px;
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--hair-strong);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease),
    color 0.2s var(--ease);
}

.share-btn:hover {
  background: var(--surface);
  border-color: var(--ink-4);
  color: var(--ink);
}

.share-btn svg {
  width: 16px;
  height: 16px;
}

.share-btn--kakao {
  background: #fee500;
  border-color: #fee500;
  color: #3c1e1e;
  font-weight: 600;
}

.share-btn--kakao:hover {
  background: #f6dd00;
  border-color: #f6dd00;
  color: #3c1e1e;
}

.share-btn--kakao svg {
  width: 17px;
  height: 17px;
}

/* related */
.related {
  max-width: 980px;
  margin: clamp(56px, 8vw, 88px) auto 0;
}

.related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--hair);
}

.related__item {
  padding: 24px 22px 24px 0;
  border-bottom: 1px solid var(--hair);
  border-left: 1px solid var(--hair);
}

.related__item:nth-child(3n + 1) {
  border-left: 0;
  padding-left: 0;
}

.related__cat {
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}

.related__title {
  margin-top: 10px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--ink);
  word-break: keep-all;
}

.related__item:hover .related__title {
  color: var(--accent-deep);
}

.related__meta {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--ink-4);
}

/* sources */
.sources {
  margin-top: clamp(36px, 5vw, 48px);
  padding: 22px 24px;
  background: var(--paper-warm);
  border: 1px solid var(--hair);
}

.sources h2 {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 12px;
}

.sources ul {
  display: grid;
  gap: 8px;
}

.sources li {
  position: relative;
  padding-left: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--ink-3);
  word-break: keep-all;
}

.sources li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.8em;
  width: 4px;
  height: 1px;
  background: var(--ink-4);
}

.sources a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: rgba(20, 20, 19, 0.25);
  text-underline-offset: 3px;
}

.sources a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

/* ---------- 11. Simple pages (about / policy / 404) --------------------- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding-top: clamp(32px, 5vw, 56px);
}

.page__label {
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.page__title {
  margin-top: 14px;
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 46px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
  word-break: keep-all;
}

.page__deck {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-3);
  word-break: keep-all;
}

.page__body {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--hair);
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--ink-2);
  word-break: keep-all;
}

.page__body h2 {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.02em;
  margin: 34px 0 10px;
}

.page__body h2:first-child {
  margin-top: 0;
}

.page__body p + p {
  margin-top: 0.9em;
}

.page__body ul {
  margin: 10px 0 0;
  display: grid;
  gap: 6px;
}

.page__body li {
  position: relative;
  padding-left: 14px;
  font-size: 15px;
}

.page__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85em;
  width: 4px;
  height: 1px;
  background: var(--ink-4);
}

.meta-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
  padding: 20px 22px;
  background: var(--surface);
  border: 1px solid var(--hair);
}

.meta-list div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 14px;
  font-size: 13.5px;
}

.meta-list dt,
.meta-list span:first-child {
  color: var(--ink-4);
  font-size: 12px;
  letter-spacing: 0.04em;
}

/* 404 */
.notfound {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
  padding-block: clamp(40px, 8vw, 90px);
}

.notfound__code {
  font-family: var(--serif-latin);
  font-size: clamp(84px, 18vw, 156px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
  font-variant-numeric: lining-nums;
}

.notfound__code span {
  color: var(--accent);
}

.notfound__title {
  margin-top: 26px;
  font-family: var(--serif);
  font-size: clamp(24px, 3.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.4;
  color: var(--ink);
  word-break: keep-all;
}

.notfound__text {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink-3);
  max-width: 460px;
  word-break: keep-all;
}

.notfound__art {
  margin-top: 34px;
  max-width: 300px;
  color: var(--ink-3);
}

.notfound__links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  z-index: 120;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  padding: 12px 18px;
  border-radius: 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- 12. Motion -------------------------------------------------- */


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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }

}

/* ---------- 13. Responsive --------------------------------------------- */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
    gap: 32px;
  }

  .story-card__link {
    grid-template-columns: minmax(0, 1fr) 168px;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 0.7fr));
    gap: 24px;
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero__text {
    max-width: none;
    order: 1;
  }

  .hero__art {
    order: 2;
  }

  .hero__title {
    font-size: clamp(30px, 7.4vw, 42px);
  }

  .plate__frame {
    aspect-ratio: 4 / 3;
  }

  .plate__svg {
    width: 66%;
  }

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

  .hero__strip-item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

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

  .story-card__link {
    grid-template-columns: minmax(0, 1fr) 112px;
    gap: 20px;
    align-items: start;
  }

  .story-card__excerpt {
    -webkit-line-clamp: 2;
  }

  .footer-top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .article-figure .plate__frame {
    aspect-ratio: 4 / 3;
  }

  .article-figure .plate__svg {
    width: 62%;
  }

  .article-figure .plate__img {
    max-width: 94%;
    max-height: 88%;
  }

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

  .related__item:nth-child(3n + 1) {
    border-left: 1px solid var(--hair);
    padding-left: 22px;
  }

  .related__item:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
    line-height: 1.8;
  }

  .masthead {
    font-size: 11.5px;
    letter-spacing: 0.08em;
    padding-block: 9px;
    gap: 8px;
  }

  .masthead__tagline {
    letter-spacing: 0.06em;
  }

  .masthead__en {
    display: none;
  }

  .header-main {
    padding-block: 12px;
    gap: 12px;
  }

  .brand__mark {
    font-size: 23px;
  }

  .brand__sub {
    font-size: 9.5px;
    letter-spacing: 0.12em;
    padding-left: 8px;
  }

  .search-field {
    display: none;
  }

  .header-tools__divider {
    display: none;
  }

  .chip-bar {
    padding-top: 0;
    padding-bottom: 4px;
    gap: 10px;
  }

  .chip-bar__label {
    display: none;
  }

  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    padding-bottom: 2px;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  .chip {
    height: 32px;
    padding: 0 13px;
    font-size: 12px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero__title {
    margin-top: 14px;
    letter-spacing: -0.03em;
  }

  .hero__deck {
    margin-top: 16px;
    font-size: 15px;
  }

  .hero__meta {
    margin-top: 20px;
    font-size: 12px;
  }

  .cta-row {
    margin-top: 24px;
  }

  .btn {
    height: 46px;
    padding: 0 20px;
    font-size: 13px;
  }

  .hero__strip dd {
    font-size: 17px;
  }

  .story-card__link {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 16px;
    padding-block: 22px;
  }

  .story-card__title {
    font-size: 20px;
    line-height: 1.36;
  }

  .story-card__excerpt {
    font-size: 13.5px;
    -webkit-line-clamp: 2;
    margin-top: 8px;
  }

  .story-card__meta {
    margin-top: 12px;
    gap: 10px;
  }

  .story-card__thumb {
    aspect-ratio: 1;
  }

  .story-card__thumb img {
    max-width: 90%;
    max-height: 78%;
    margin-top: 14px;
    margin-bottom: 6px;
  }

  .story-card__figcap {
    display: none;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-bottom: 16px;
  }

  .prose {
    font-size: 16.5px;
    line-height: 1.9;
  }

  .prose .lede {
    font-size: 17.5px;
  }

  .prose .lede::first-letter {
    font-size: 3.2em;
  }

  .article-head {
    text-align: left;
  }

  .article-head__meta {
    justify-content: flex-start;
  }

  .article-deck {
    margin-inline: 0;
  }

  .article-byline {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
    text-align: left;
  }

  .article-byline > span[aria-hidden="true"] {
    display: none;
  }

  .article-figure figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .guess {
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
  }

  .guess__opt {
    padding: 12px 13px;
    font-size: 13.5px;
  }

  .timeline {
    padding: 20px 18px;
  }

  .timeline__head {
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }

  .timeline__item {
    grid-template-columns: 62px 14px minmax(0, 1fr);
    gap: 0 10px;
    padding-block: 15px;
  }

  .timeline__year {
    font-size: 16px;
  }

  .next-card {
    grid-template-columns: minmax(0, 1fr) 72px;
    padding: 16px;
  }

  .related__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .related__item,
  .related__item:nth-child(3n + 1),
  .related__item:nth-child(2n + 1) {
    border-left: 0;
    padding-left: 0;
  }

  .footer-top {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .toast {
    bottom: 16px;
    width: calc(100vw - 32px);
  }
}

@media (max-width: 400px) {
  .brand__sub {
    display: none;
  }

  .hero__title {
    font-size: 28px;
  }

  .story-card__link {
    grid-template-columns: minmax(0, 1fr) 80px;
  }

  .guess__opt {
    font-size: 13px;
  }
}

/* ---------- 14. Print --------------------------------------------------- */
@media print {
  .site-header,
  .progress,
  .share-row,
  .related,
  .site-footer,
  .toast {
    display: none !important;
  }

  body {
    background: #fff;
  }
}

/* ---------- 15. Display weights (Nanum Myeongjo ships 400/700/800) ------ */
.section-head__title,
.story-card__title,
.act__title,
.timeline__title,
.next-card__title,
.related__title,
.notfound__title,
.tipbox h3 {
  font-weight: 700;
}

.pullquote p {
  font-weight: 400;
}

/* ---------- 16. Mobile menu ------------------------------------------- */
.menu-bars {
  display: grid;
  gap: 4px;
  width: 18px;
}

.menu-bars i {
  display: block;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.js-menu-toggle {
  display: none;
  margin-left: 2px;
}

.mobile-menu {
  display: grid;
  border-top: 1px solid var(--hair);
  padding: 4px 0 10px;
}

.mobile-menu a {
  padding: 13px 2px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--hair);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

.mobile-menu a:hover {
  color: var(--accent);
}

@media (max-width: 860px) {
  .js-menu-toggle {
    display: inline-grid;
  }

  .header-tools {
    margin-left: auto;
  }
}

@media (min-width: 861px) {
  .mobile-menu {
    display: none !important;
  }
}
