﻿@font-face { font-family: "TO Sans"; src: url("./to-sans-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TO Sans"; src: url("./to-sans-bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "TO Serif"; src: url("./to-serif-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "TO Serif"; src: url("./to-serif-bold.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }

:root {
  --ink: #202421;
  --green: #21483a;
  --green-2: #3f6858;
  --paper: #fbfaf6;
  --ivory: #f3efe5;
  --white: #ffffff;
  --gold: #aa7b35;
  --rust: #8b4938;
  --muted: #68706b;
  --rule: #d9d5ca;
  --pale: #e7eee9;
  --header-h: 68px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "TO Sans", Pretendard, "Noto Sans KR", "Malgun Gothic", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
  letter-spacing: 0;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--white);
  border: 1px solid var(--green);
}
.skip-link:focus { top: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(251, 250, 246, 0.97);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  width: min(1240px, calc(100% - 48px));
  height: var(--header-h);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }
.brand-name {
  color: var(--green);
  font: 700 18px Georgia, "Times New Roman", serif;
}
.brand-ko { color: #555d58; font-size: 12px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a, .search-button, .language-toggle button {
  border: 0;
  background: transparent;
  padding: 7px 0;
  color: #424944;
  text-decoration: none;
  font-size: 13px;
  cursor: pointer;
}
.site-nav a:hover, .site-nav a:focus-visible, .search-button:hover, .search-button:focus-visible, .language-toggle button:hover, .language-toggle button:focus-visible { color: var(--green); }
.search-button { border-bottom: 1px solid var(--green); }
.language-toggle { display: inline-flex; align-items: center; gap: 5px; color: var(--muted); font-size: 12px; }
.language-toggle button { font-weight: 800; }
.language-toggle button.active { color: var(--green); border-bottom: 1px solid var(--green); }
.menu-button { display: none; border: 1px solid var(--rule); background: transparent; padding: 7px 10px; cursor: pointer; }
.search-panel { border-top: 1px solid var(--rule); background: var(--ivory); }
.search-inner { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 22px 0 26px; }
.search-inner label { display: block; margin-bottom: 8px; color: var(--green); font-weight: 700; font-size: 13px; }
.search-row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.search-row input { width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid var(--green-2); background: var(--white); border-radius: 0; }
.search-close { min-width: 64px; border: 1px solid var(--green-2); background: transparent; cursor: pointer; }

.featured {
  position: relative;
  min-height: min(72svh, 690px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--rule);
}
.featured-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
.featured-shade { position: absolute; inset: 0; background: rgba(13, 24, 20, .62); }
.featured-content { position: relative; width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 94px; color: var(--white); }
.issue-line { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; color: #f4dcae; font: 700 13px Georgia, serif; }
.issue-line span { padding-left: 14px; border-left: 1px solid rgba(255, 255, 255, .45); font-family: inherit; }
.featured h1 { margin: 0; max-width: 760px; font: 800 58px/1.12 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.featured-deck { max-width: 650px; margin: 24px 0 0; color: #eef1ee; font: 400 19px/1.7 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.featured-actions { display: flex; gap: 10px; margin-top: 32px; }
.button { display: inline-flex; min-height: 42px; align-items: center; padding: 8px 16px; border: 1px solid rgba(255, 255, 255, .75); text-decoration: none; font-size: 13px; }
.button.primary { color: var(--green); background: var(--white); border-color: var(--white); font-weight: 800; }
.button.quiet { color: var(--white); background: rgba(255, 255, 255, .08); }
.next-cue { position: absolute; right: max(24px, calc((100% - 1240px) / 2)); bottom: 24px; color: var(--white); text-decoration: none; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .8); }

.section-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.latest-section { padding: 84px 0 100px; }
.section-heading { display: grid; grid-template-columns: 1fr minmax(280px, 430px); align-items: end; gap: 40px; padding-bottom: 28px; border-bottom: 2px solid var(--green); }
.eyebrow { margin: 0 0 8px; color: #8a6229; font: 700 12px Georgia, serif; }
h2, h3 { font-family: "TO Sans", Pretendard, "Malgun Gothic", sans-serif; letter-spacing: 0; }
h2 { margin: 0; color: var(--green); font-size: 38px; line-height: 1.35; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 14px; }

.topic-controls { display: flex; gap: 0; overflow-x: auto; margin: 28px 0 8px; border-bottom: 1px solid var(--rule); scrollbar-width: thin; }
.topic-button { flex: 0 0 auto; min-height: 42px; padding: 8px 15px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }
.topic-button.active { color: var(--green); border-bottom-color: var(--green); font-weight: 800; }

.article-list { border-top: 1px solid var(--rule); }
.article-row { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: 42px; padding: 42px 0; border-bottom: 1px solid var(--rule); }
.article-row[hidden] { display: none; }
.article-media { display: block; min-height: 250px; overflow: hidden; background: var(--ivory); border: 1px solid var(--rule); }
.article-media img { display: block; width: 100%; height: 100%; min-height: 250px; object-fit: cover; transition: transform .3s ease; }
.article-media:hover img { transform: scale(1.015); }
.portrait-media img { object-fit: contain; padding: 24px; }
.article-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 12px; color: #555d58; font-size: 13px; }
.article-meta span:first-child { color: var(--rust); font-weight: 800; }
.article-copy h3 { margin: 0; color: var(--green); font-family: "TO Sans", Pretendard, "Malgun Gothic", sans-serif; font-size: 28px; font-weight: 800; line-height: 1.35; }
.article-copy h3 a { text-decoration: none; }
.article-copy > p:not(.article-meta) { margin: 16px 0 0; color: #555d58; font-size: 15px; }
.article-links { display: flex; gap: 20px; margin-top: 22px; }
.article-links a, .text-link { color: var(--green); text-decoration: none; border-bottom: 1px solid var(--green-2); font-size: 13px; font-weight: 800; }
.empty-state { margin: 0; padding: 56px 0; color: var(--muted); text-align: center; border-bottom: 1px solid var(--rule); }

.principles { padding: 96px 0; color: var(--white); background: var(--green); }
.principles-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 88px; }
.principles h2 { color: var(--white); }
.principle-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .25); }
.principle-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .25); }
.principle-list li > span { color: #e2c182; font: 700 13px Georgia, serif; }
.principle-list strong { font-family: "TO Sans", Pretendard, "Malgun Gothic", sans-serif; font-size: 18px; font-weight: 800; }
.principle-list p { margin: 5px 0 0; color: #eef3f0; font-size: 14px; }

.constitution { padding: 96px 0; background: var(--paper); border-bottom: 1px solid var(--rule); }
.constitution-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.constitution h2 { max-width: 620px; }
.constitution-lead { margin: 24px 0 0; max-width: 640px; color: #424a45; font: 400 19px/1.85 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.axiom-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--rule); }
.axiom-list li { display: grid; grid-template-columns: 42px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.axiom-list span { color: var(--gold); font: 700 13px Georgia, serif; }
.axiom-list strong { display: block; color: var(--green); font-family: "TO Sans", Pretendard, "Malgun Gothic", sans-serif; font-size: 19px; font-weight: 800; }
.axiom-list p { margin: 6px 0 0; color: #555d58; font-size: 14px; }
.constitution-actions { margin-top: 28px; }

.manifesto-page { background: var(--paper); }
.manifesto-hero { padding: 96px 0 76px; background: var(--green); color: var(--white); }
.manifesto-inner { width: min(940px, calc(100% - 48px)); margin: 0 auto; }
.manifesto-hero h1 { margin: 0; max-width: 820px; font: 800 54px/1.24 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.manifesto-hero .eyebrow { color: #f2d89e; }
.manifesto-deck { max-width: 760px; margin: 28px 0 0; color: #f0f5f2; font: 400 20px/1.85 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.manifesto-body { width: min(940px, calc(100% - 48px)); margin: 0 auto; padding: 84px 0 112px; }
.manifesto-section { display: grid; grid-template-columns: 260px 1fr; gap: 56px; padding: 44px 0; border-top: 1px solid var(--rule); }
.manifesto-section h2 { font-size: 30px; }
.manifesto-section p { margin: 0 0 18px; color: #383f3a; font-size: 17px; line-height: 1.9; }
.manifesto-section ul { margin: 0; padding-left: 20px; color: #383f3a; }
.manifesto-section li { margin: 8px 0; }
.manifesto-quote { margin: 34px 0 0; padding: 26px 30px; border-left: 4px solid var(--gold); background: var(--ivory); color: var(--green); font: 700 23px/1.65 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }

.about { padding: 100px 0; background: var(--ivory); }
.about-layout { display: grid; grid-template-columns: .38fr 1.62fr; gap: 70px; }
.about-mark { color: var(--gold); font: 700 120px/1 Georgia, serif; border-top: 4px solid var(--gold); padding-top: 18px; }
.about h2 { max-width: 760px; }
.about-lead { max-width: 800px; margin: 25px 0 18px; color: #333a36; font: 400 19px/1.85 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.about-layout p:not(.eyebrow):not(.about-lead) { max-width: 800px; color: var(--muted); }
.about-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; }

.about-page { background: var(--paper); }
.about-intro { padding: 104px 0 84px; border-bottom: 1px solid var(--rule); background: var(--ivory); }
.about-intro-inner { width: min(940px, calc(100% - 48px)); margin: 0 auto; }
.about-intro h1 { max-width: 860px; margin: 0; color: var(--green); font: 800 52px/1.28 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.about-intro .intro-deck { max-width: 750px; margin: 28px 0 0; color: #424a45; font: 400 20px/1.9 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.about-essay { width: min(760px, calc(100% - 48px)); margin: 0 auto; padding: 88px 0 112px; }
.about-essay p { margin: 0 0 32px; color: #343a36; font: 400 18px/2 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.about-essay .essay-opening { color: var(--green); font-size: 24px; line-height: 1.75; }
.about-essay blockquote { margin: 68px 0; padding: 28px 0 28px 30px; border-left: 4px solid var(--gold); color: var(--green); font: 700 26px/1.65 "TO Sans", Pretendard, "Malgun Gothic", sans-serif; }
.about-signature { margin-top: 72px; padding-top: 30px; border-top: 1px solid var(--rule); }
.about-signature strong { display: block; color: var(--green); font: 700 24px/1.4 Georgia, "Times New Roman", serif; }
.about-signature span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

.site-footer { color: #d8e1dc; background: #173328; }
.footer-inner { width: min(1120px, calc(100% - 48px)); min-height: 120px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.footer-inner strong { display: block; color: var(--white); font: 700 15px Georgia, serif; }
.footer-inner span { display: block; margin-top: 5px; font-size: 12px; }
.footer-inner p { color: #becbc4; font-size: 12px; }

@media (max-width: 820px) {
  :root { --header-h: 60px; }
  .header-inner, .featured-content, .section-shell, .footer-inner { width: min(100% - 32px, 1120px); }
  .brand-ko { display: none; }
  .menu-button { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 12px 16px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
  }
  .site-nav.open { display: grid; }
  .site-nav a, .search-button { width: 100%; padding: 13px 4px; text-align: left; border-bottom: 1px solid var(--rule); }
  .language-toggle { padding: 13px 4px; border-bottom: 1px solid var(--rule); }
  .featured { min-height: 640px; }
  .featured-shade { background: rgba(13, 24, 20, .64); }
  .featured-content { padding-bottom: 92px; }
  .featured h1 { font-size: 45px; }
  .featured-deck { font-size: 17px; }
  .next-cue { right: 16px; }
  .section-heading, .principles-layout, .constitution-layout, .about-layout, .manifesto-section { grid-template-columns: 1fr; gap: 28px; }
  .article-row { grid-template-columns: .8fr 1.2fr; gap: 26px; }
  .about-mark { font-size: 72px; }
  .about-intro h1 { font-size: 43px; }
  .manifesto-hero h1 { font-size: 43px; }
}

@media (max-width: 590px) {
  .featured { min-height: calc(100svh - var(--header-h)); max-height: 720px; }
  .featured-image { object-position: 58% center; }
  .featured h1 { font-size: 39px; }
  .featured-actions { flex-wrap: wrap; }
  .latest-section, .principles, .constitution, .about { padding-top: 70px; padding-bottom: 76px; }
  h2 { font-size: 31px; }
  .article-row { grid-template-columns: 1fr; gap: 20px; padding: 32px 0 38px; }
  .article-media, .article-media img { min-height: 210px; }
  .article-copy h3 { font-size: 25px; }
  .about-mark { width: 100px; }
  .about-intro { padding: 72px 0 60px; }
  .about-intro-inner, .about-essay { width: min(100% - 32px, 760px); }
  .about-intro h1 { font-size: 35px; }
  .manifesto-hero { padding: 72px 0 60px; }
  .manifesto-inner, .manifesto-body { width: min(100% - 32px, 940px); }
  .manifesto-hero h1 { font-size: 35px; }
  .manifesto-deck { font-size: 18px; }
  .manifesto-body { padding: 60px 0 82px; }
  .manifesto-section p { font-size: 16px; }
  .manifesto-quote { font-size: 20px; padding: 22px; }
  .about-intro .intro-deck { font-size: 18px; }
  .about-essay { padding: 64px 0 82px; }
  .about-essay p { font-size: 17px; line-height: 1.95; }
  .about-essay .essay-opening { font-size: 21px; }
  .about-essay blockquote { margin: 48px 0; padding-left: 22px; font-size: 22px; }
  .footer-inner { min-height: 150px; align-items: flex-start; justify-content: center; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .article-media img { transition: none; }
}
