:root {
  --cream: #fbfaf7;
  --cream-deep: #e4eee8;
  --paper: #fffefa;
  --orange: #7f9f8d;
  --orange-dark: #557461;
  --apricot: #f4e8a8;
  --brown: #1f211d;
  --muted: #60655f;
  --line: #d8d9d3;
  --focus: #1d5f8a;
  --font-display: "Noto Serif KR", "AppleMyungjo", "Batang", serif;
  --shadow: 0 18px 50px rgba(31, 33, 29, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--brown);
  background: var(--cream);
  font-family: Pretendard, "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: break-word;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--orange-dark);
}

a:focus-visible,
button:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 4px;
  border-radius: 4px;
}

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

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

h1,
h2,
h3 {
  line-height: 1.25;
  letter-spacing: -0.035em;
}

.page-shell {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.reading-shell {
  max-width: 760px;
}

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

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

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid rgba(31, 33, 29, 0.1);
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-brand strong {
  display: block;
}

.site-brand strong {
  font-size: 18px;
  line-height: 1.2;
}

.brand-logo {
  width: 52px;
  height: 40px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
}

.site-nav .nav-external {
  padding: 9px 14px;
  border: 1px solid var(--brown);
  border-radius: 999px;
}

.hero {
  padding: 90px 0 84px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 80% 16%, rgba(246, 199, 117, 0.55), transparent 23%),
    var(--cream);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 72px;
  align-items: end;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

a.eyebrow {
  display: inline-block;
  text-decoration: none;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.065em;
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.button {
  display: inline-block;
  padding: 13px 22px;
  color: white;
  background: var(--orange);
  border: 2px solid var(--orange);
  min-height: 44px;
  border-radius: 2px;
  font-weight: 800;
  text-decoration: none;
}

.button:hover {
  color: white;
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.text-link {
  color: var(--brown);
  font-weight: 800;
  text-decoration-thickness: 2px;
}

/* Editorial homepage */

.home-kicker {
  margin-bottom: 18px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.home-hero {
  overflow: hidden;
  padding: 98px 0 46px;
  background: var(--cream);
}

.home-hero-inner {
  text-align: center;
}

.home-hero h1,
.home-section-heading h2,
.home-principle h2,
.home-closing h2,
.featured-story h3,
.story-list-item h3,
.home-topic h3 {
  font-family: var(--font-display);
  font-weight: 500;
}

.home-hero h1 {
  max-width: 820px;
  margin: 0 auto 25px;
  font-size: clamp(48px, 6.5vw, 78px);
  line-height: 1.16;
  letter-spacing: -0.055em;
}

.home-hero h1 em,
.home-principle h2 em {
  font-weight: inherit;
}

.home-hero-copy {
  max-width: 660px;
  margin: 0 auto 30px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.home-hero-art {
  width: min(100%, 1080px);
  aspect-ratio: 1772 / 887;
  display: block;
  margin: 34px auto 0;
}

.home-hero-art img {
  width: 100%;
  height: auto;
  display: block;
}

.home-stories,
.home-topics,
.home-principle,
.home-closing {
  padding-block: 108px;
}

.home-section-heading {
  max-width: 640px;
  margin-bottom: 42px;
}

.home-section-heading--centered {
  margin-inline: auto;
  text-align: center;
}

.home-section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.045em;
}

.home-section-heading > p:last-child {
  color: var(--muted);
}

.home-story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  border-top: 1px solid var(--brown);
}

.featured-story {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  padding: 52px;
  background: var(--cream-deep);
  border-right: 1px solid var(--brown);
}

.story-category {
  margin-bottom: 0;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
}

.featured-story h3 {
  max-width: 650px;
  margin: 76px 0 18px;
  font-size: clamp(34px, 4.5vw, 54px);
}

.featured-story h3 a,
.story-list-item h3 a {
  text-decoration: none;
}

.featured-story > p:not(.story-category) {
  max-width: 590px;
  color: var(--muted);
}

.story-meta {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  padding-top: 30px;
  color: var(--muted);
  font-size: 13px;
}

.story-list {
  display: grid;
  align-content: stretch;
}

.story-list-item {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-bottom: 1px solid var(--line);
}

.story-list-item h3 {
  margin: 34px 0 20px;
  font-size: 25px;
}

.story-list-item time {
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
}

.story-list-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 28px 34px;
  color: var(--brown);
  font-weight: 800;
  text-decoration: none;
  background: var(--apricot);
}

.home-topics {
  border-block: 1px solid var(--line);
  background: var(--paper);
}

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

.home-topic {
  text-align: center;
}

.topic-icon {
  width: 88px;
  height: 76px;
  margin-bottom: 22px;
  overflow: visible;
  fill: none;
  stroke: var(--brown);
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.topic-icon-fill {
  stroke: none;
}

.topic-icon-fill--yellow {
  fill: var(--apricot);
}

.topic-icon-fill--blue {
  fill: #d6e7ed;
}

.topic-icon-fill--sage {
  fill: var(--cream-deep);
}

.home-topic h3 {
  margin-bottom: 12px;
  font-size: 25px;
}

.home-topic p {
  max-width: 310px;
  margin-inline: auto;
  color: var(--muted);
  font-size: 15px;
}

.home-principle {
  padding-inline: 24px;
}

.home-principle-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 80px;
  padding: 62px;
  background: var(--cream-deep);
  border: 1px solid #cbd9d0;
}

.home-principle h2 {
  margin-bottom: 0;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: -0.045em;
}

.home-principle-copy {
  align-self: end;
}

.home-principle-copy p {
  color: var(--muted);
}

.home-closing {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  text-align: center;
  background:
    linear-gradient(rgba(251, 250, 247, 0.92), rgba(251, 250, 247, 0.92)),
    repeating-linear-gradient(90deg, #d6e7ed 0 1px, transparent 1px 96px);
}

.home-closing h2 {
  margin-bottom: 14px;
  font-size: clamp(36px, 5vw, 54px);
}

.home-closing > div > p:not(.home-kicker) {
  color: var(--muted);
}

.home-closing-actions {
  justify-content: center;
  margin-top: 26px;
}

.hero-note {
  padding: 34px;
  color: white;
  background: var(--brown);
  border-radius: 28px 28px 28px 8px;
  box-shadow: var(--shadow);
}

.hero-note .note-number {
  color: var(--apricot);
  font-size: 13px;
  font-weight: 800;
}

.hero-note h2 {
  margin-bottom: 24px;
  font-size: 28px;
}

.hero-note ul {
  margin: 0;
  padding-left: 20px;
  color: #eadfd7;
}

.section {
  padding-block: 94px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 38px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(34px, 5vw, 52px);
}

.section-heading > p {
  max-width: 460px;
  margin-bottom: 4px;
  color: var(--muted);
}

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

.post-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  padding: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 26px 26px 26px 8px;
  box-shadow: var(--shadow);
}

.post-card h3 {
  margin-bottom: 16px;
  font-size: 32px;
}

.post-card h3 a {
  text-decoration: none;
}

.post-card > p:not(.eyebrow) {
  color: var(--muted);
}

.post-card-meta {
  margin-top: auto;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.topic-section {
  background: var(--brown);
}

.topic-section .eyebrow {
  color: var(--apricot);
}

.topic-section .section-heading h2 {
  color: white;
}

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

.topic-card {
  min-height: 280px;
  padding: 30px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 22px;
}

.topic-card span {
  color: var(--apricot);
  font-size: 13px;
  font-weight: 800;
}

.topic-card h3 {
  margin: 76px 0 14px;
  font-size: 28px;
}

.topic-card p {
  color: #d9cbc3;
}

.principle-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  padding: 52px;
  background: var(--apricot);
  border-radius: 32px 32px 32px 8px;
}

.principle-panel h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
}

.principle-panel > div:last-child {
  align-self: end;
}

.site-footer {
  padding-block: 50px;
  color: #e9ddd6;
  background: #2d1d18;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner p {
  margin: 8px 0 0;
  color: #baa9a1;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: #baa9a1;
  font-size: 14px;
}

.page-hero,
.not-found {
  padding-block: 94px 56px;
}

.page-hero h1,
.not-found h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 7vw, 72px);
}

.page-hero > p:last-child,
.not-found > p {
  color: var(--muted);
  font-size: 20px;
}

.prose {
  padding-bottom: 100px;
  font-size: 18px;
}

.prose h2 {
  margin: 64px 0 18px;
  font-size: 32px;
}

.prose a,
.article-body a,
.sources a {
  color: var(--orange-dark);
  font-weight: 700;
}

.numbered-sections section {
  position: relative;
  padding-left: 72px;
  border-top: 1px solid var(--line);
}

.numbered-sections section > span {
  position: absolute;
  top: 70px;
  left: 0;
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 800;
}

.question-card {
  margin: 20px 0 70px;
  padding: 38px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
}

.question-card h2 {
  margin-top: 0;
}

.article-link-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.article-link-list li {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.article-link-list a,
.article-link-list span {
  display: block;
}

.article-link-list a {
  font-size: 22px;
}

.article-link-list span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.archive-list-section {
  padding-bottom: 100px;
}

.archive-list {
  display: grid;
  gap: 18px;
}

.archive-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 32px;
  padding: 32px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px 24px 24px 8px;
}

.archive-list-item h3 {
  margin: 22px 0 12px;
  font-size: clamp(24px, 3vw, 34px);
}

.archive-list-item h3 a {
  text-decoration: none;
}

.archive-list-item p:not(.story-category) {
  max-width: 760px;
  color: var(--muted);
}

.archive-list-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.archive-list-meta span {
  color: var(--orange-dark);
  font-weight: 800;
}

.not-found {
  min-height: 68vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-header {
  padding-block: 90px 58px;
}

.article-header h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 7vw, 72px);
  overflow-wrap: anywhere;
}

.article-deck {
  color: var(--muted);
  font-size: 21px;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  margin: 38px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.article-meta div {
  display: flex;
  gap: 8px;
}

.article-meta dt {
  flex: 0 0 auto;
  color: var(--muted);
  white-space: nowrap;
}

.article-meta dd {
  margin: 0;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 760px);
  justify-content: center;
  gap: 70px;
  padding-bottom: 110px;
}

.table-of-contents {
  position: sticky;
  top: 116px;
  align-self: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.toc-title {
  margin-bottom: 12px;
  font-weight: 800;
}

.table-of-contents ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 14px;
}

.table-of-contents a {
  text-decoration: none;
}

.article-main {
  min-width: 0;
}

.article-body {
  font-size: 18px;
  line-height: 1.9;
}

.article-body h2 {
  margin: 72px 0 20px;
  font-size: 36px;
}

.article-body h3 {
  margin: 48px 0 14px;
  font-size: 25px;
}

.article-body ul,
.article-body ol {
  padding-left: 1.4em;
}

.article-body li + li {
  margin-top: 10px;
}

.article-body strong {
  color: #2f1d17;
}

.article-body blockquote {
  margin: 42px 0;
  padding: 28px 32px;
  background: var(--apricot);
  border-left: 6px solid var(--orange-dark);
  border-radius: 0 22px 22px 0;
  font-size: 21px;
  font-weight: 700;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.sources {
  margin-top: 84px;
  padding-top: 44px;
  border-top: 2px solid var(--brown);
}

.sources h2,
.method-note h2,
.article-cta h2 {
  font-size: 30px;
}

.source-intro {
  color: var(--muted);
}

.sources ol {
  padding-left: 24px;
}

.sources li + li {
  margin-top: 18px;
}

.sources a,
.sources span {
  display: block;
}

.sources span {
  color: var(--muted);
  font-size: 14px;
}

.method-note,
.article-cta {
  margin-top: 60px;
  padding: 34px;
  border-radius: 24px 24px 24px 8px;
}

.method-note {
  background: var(--cream-deep);
}

.method-note p {
  color: var(--muted);
}

.article-cta {
  background: var(--apricot);
}

@media (max-width: 900px) {
  .header-inner {
    padding-block: 14px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px 18px;
  }

  .hero-grid,
  .principle-panel {
    grid-template-columns: 1fr;
  }

  .hero-note {
    max-width: 560px;
  }

  .article-layout {
    display: block;
  }

  .table-of-contents {
    position: static;
    max-width: 760px;
    margin: 0 auto 42px;
  }

  .home-story-layout,
  .home-principle-inner {
    grid-template-columns: 1fr;
  }

  .featured-story {
    border-right: 0;
    border-bottom: 1px solid var(--brown);
  }

  .home-principle-inner {
    gap: 34px;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    word-break: normal;
  }

  .page-shell {
    width: min(100% - 40px, 1160px);
  }

  .brand-logo {
    width: 46px;
    height: 35px;
  }

  .site-nav {
    font-size: 13px;
  }

  .site-nav .nav-external {
    padding: 5px 10px;
  }

  .home-hero {
    padding: 70px 0 32px;
  }

  .home-hero h1 {
    font-size: clamp(42px, 13vw, 58px);
  }

  .home-hero-copy {
    font-size: 17px;
  }

  .home-hero-art {
    width: 126%;
    margin-left: -13%;
  }

  .home-stories,
  .home-topics,
  .home-principle,
  .home-closing {
    padding-block: 76px;
  }

  .featured-story {
    min-height: 370px;
    padding: 32px 26px;
  }

  .featured-story h3 {
    margin-top: 52px;
    font-size: clamp(32px, 9vw, 43px);
  }

  .story-list-item {
    min-height: 190px;
    padding: 28px 26px;
  }

  .story-list-more {
    padding-inline: 26px;
  }

  .home-topic-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .home-principle {
    padding-inline: 0;
  }

  .home-principle-inner {
    width: min(100% - 40px, 1160px);
    padding: 38px 28px;
  }

  .archive-list-item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 28px 24px;
  }

  .archive-list-meta {
    align-items: flex-start;
  }

  .home-principle h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .home-closing h2 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .hero {
    padding: 64px 0;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero h1 {
    font-size: 51px;
  }

  .hero-copy,
  .page-hero > p:last-child,
  .not-found > p,
  .article-deck {
    font-size: 18px;
  }

  .section {
    padding-block: 68px;
  }

  .section-heading,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .post-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .post-card {
    min-height: auto;
    padding: 28px;
  }

  .post-card-meta {
    margin-top: 22px;
  }

  .topic-card {
    min-height: 220px;
  }

  .topic-card h3 {
    margin-top: 48px;
  }

  .principle-panel {
    gap: 30px;
    padding: 32px;
  }

  .footer-links {
    align-items: flex-start;
  }

  .page-hero,
  .article-header {
    padding-block: 68px 42px;
  }

  .page-hero h1,
  .not-found h1,
  .article-header h1 {
    font-size: clamp(34px, 11vw, 43px);
  }

  .prose,
  .article-body {
    font-size: 17px;
  }

  .prose h2,
  .article-body h2 {
    font-size: 30px;
  }

  .article-body blockquote {
    padding: 22px 24px;
    font-size: 19px;
  }

  .numbered-sections section {
    padding-left: 46px;
  }

  .article-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .method-note,
  .article-cta,
  .question-card {
    padding: 26px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
