:root {
  --navy: #07182a;
  --navy-soft: #102a43;
  --ivory: #f3ead4;
  --ivory-light: #fbf6e9;
  --graphite: #4c4b49;
  --graphite-dark: #292a2a;
  --brick: #a34f49;
  --brick-ink: #7f3834;
  --brass: #b08a48;
  --navy-muted: #c9d3dc;
  --rule: rgba(76, 75, 73, 0.28);
  --paper-shadow: 0 24px 48px rgba(7, 24, 42, 0.18), 0 4px 12px rgba(7, 24, 42, 0.1);
  --site-width: 1320px;
  --text-width: 72ch;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background: var(--ivory);
  font-family: "Pretendard", sans-serif;
  font-size: 16px;
  line-height: 1.72;
  word-break: keep-all;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 0.18em;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 4px;
}

::selection {
  color: var(--ivory-light);
  background: var(--brick-ink);
}

.screen-reader-text,
.skip-link:not(:focus) {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.8rem 1rem;
  color: var(--navy);
  background: var(--ivory-light);
  font-weight: 700;
}

.icon {
  display: inline-flex;
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
}

.icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-header {
  position: relative;
  z-index: 50;
  color: var(--ivory-light);
  background: var(--navy);
  border-bottom: 1px solid rgba(243, 234, 212, 0.15);
}

.site-header__inner {
  width: min(calc(100% - 48px), var(--site-width));
  min-height: 126px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(290px, 1fr) auto 2.5rem;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.5rem);
}

.site-brand__title {
  display: inline-block;
  color: var(--ivory-light);
  font-size: clamp(1.6rem, 2.3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.site-brand__title:hover {
  color: var(--ivory-light);
}

.site-brand__tagline {
  margin: 0.55rem 0 0;
  color: var(--navy-muted);
  font-size: 0.84rem;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.7vw, 1.75rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  display: block;
  padding: 0.6rem 0;
  color: var(--ivory-light);
  font-size: 0.92rem;
  font-weight: 600;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0.15rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--brick);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out);
}

.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current-cat > a {
  color: var(--ivory-light);
}

.site-nav a:hover::after,
.site-nav .current-menu-item > a::after,
.site-nav .current-cat > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-search {
  display: inline-flex;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  color: var(--ivory-light);
}

.header-search:hover {
  color: var(--brass);
}

.menu-toggle {
  display: none;
  border: 0;
  color: var(--ivory-light);
  background: transparent;
  cursor: pointer;
}

.menu-toggle__close {
  display: none;
}

.briefing-hero {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  color: var(--ivory-light);
  background-color: var(--navy);
}

.briefing-hero::after {
  position: absolute;
  right: -2rem;
  bottom: 0;
  width: min(52vw, 720px);
  height: 240px;
  content: "";
  background: url("../images/skyline.svg") right bottom / contain no-repeat;
  pointer-events: none;
}

.briefing-hero__inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), var(--site-width));
  min-height: 350px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: clamp(2rem, 7vw, 8rem);
  padding: 2.5rem 0 5.4rem;
}

.briefing-hero__story {
  max-width: 780px;
  padding-left: clamp(0rem, 3vw, 3.25rem);
}

.briefing-hero__story h1 {
  max-width: 14ch;
  margin: 0;
  color: var(--ivory-light);
  font-size: clamp(2.5rem, 5.4vw, 4.9rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.briefing-hero__story h1::after {
  display: block;
  width: 4.5rem;
  height: 3px;
  margin-top: 1.35rem;
  content: "";
  background: var(--brick);
}

.briefing-hero__story h1 a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-decoration-thickness: 0.06em;
	text-underline-offset: 0.14em;
	transition: color 160ms ease, text-decoration-color 160ms ease;
}

.briefing-hero__story h1 a:hover,
.briefing-hero__story h1 a:focus-visible {
  color: var(--ivory-light);
	text-decoration-color: var(--brick);
}

.briefing-hero__story > p {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--navy-muted);
  font-size: 1.03rem;
}

.briefing-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.25rem;
  margin-top: 1.35rem;
  color: var(--ivory-light);
  font-size: 0.8rem;
  font-weight: 600;
}

.briefing-hero__meta > * + * {
  position: relative;
}

.briefing-hero__meta > * + *::before {
  position: absolute;
  top: 50%;
  left: -0.68rem;
  width: 1px;
  height: 0.75rem;
  content: "";
  background: rgba(243, 234, 212, 0.35);
  transform: translateY(-50%);
}

.briefing-hero__character {
  position: relative;
  z-index: 2;
  align-self: end;
  height: 330px;
  margin: 0;
}

.briefing-hero__character img {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  width: min(100%, 330px);
  max-height: 330px;
  object-fit: contain;
  object-position: center bottom;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.24));
}

.briefing-hero__sketch {
  position: absolute;
  right: 7%;
  bottom: 2.25rem;
  width: 62%;
  height: 44%;
  border-top: 1px solid rgba(163, 79, 73, 0.62);
  border-right: 1px solid rgba(176, 138, 72, 0.4);
  transform: skewY(-12deg);
}

.ledger-shell {
  position: relative;
  z-index: 10;
  width: min(calc(100% - 48px), 1440px);
  margin: -3.75rem auto 5rem;
}

.ledger-shell--reveal {
  animation: ledger-settle 780ms var(--ease-out) both;
}

@keyframes ledger-settle {
  from {
    clip-path: inset(0 0 11% 0);
    transform: translateY(18px);
    filter: saturate(0.88);
  }
  to {
    clip-path: inset(0 0 0 0);
    transform: translateY(0);
    filter: saturate(1);
  }
}

.ledger-paper {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 3.1fr) minmax(280px, 1fr);
  background: var(--ivory-light) url("../images/paper-texture.svg") repeat;
  box-shadow: var(--paper-shadow);
  clip-path: polygon(0 1.1%, 3% 0.4%, 7% 0.9%, 12% 0.2%, 18% 0.8%, 24% 0.3%, 31% 0.85%, 39% 0.2%, 48% 0.75%, 58% 0.3%, 68% 0.9%, 77% 0.2%, 86% 0.7%, 93% 0.25%, 100% 0.8%, 100% 100%, 0 100%);
}

.ledger-paper__main {
  min-width: 0;
  padding: clamp(2.75rem, 5vw, 5.5rem) clamp(2rem, 4.5vw, 5rem) 4.5rem;
  border-right: 1px solid var(--rule);
}

.ledger-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--graphite);
}

.ledger-heading h2 {
  margin: 0;
  color: var(--brass);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  letter-spacing: -0.025em;
}

.ledger-heading time {
  padding: 0.35rem 0.75rem;
  color: var(--brick-ink);
  border: 1px solid var(--brass);
  font-size: 0.78rem;
  font-weight: 700;
}

.briefing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 2.4rem 0 3.25rem;
  list-style: none;
  border-bottom: 1px solid var(--rule);
}

.briefing-step {
  position: relative;
  min-width: 0;
  padding: 0 clamp(1.2rem, 2.3vw, 2.4rem);
  border-right: 1px solid var(--rule);
}

.briefing-step:first-child {
  padding-left: 0;
}

.briefing-step:last-child {
  padding-right: 0;
  border-right: 0;
}

.briefing-step__head {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
}

.briefing-step__number {
  color: var(--brick-ink);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
}

.briefing-step h3 {
  margin: 0;
  color: var(--graphite-dark);
  font-size: 1.03rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.briefing-step h3::after {
  display: block;
  width: 2.6rem;
  height: 1px;
  margin-top: 0.65rem;
  content: "";
  background: var(--brick);
}

.briefing-step p {
  margin: 1.1rem 0 0;
  color: var(--graphite);
  font-size: 0.92rem;
  line-height: 1.75;
}

.briefing-step__arrow {
  position: absolute;
  z-index: 2;
  top: 2.35rem;
  right: -1.25rem;
  width: 2.5rem;
  color: var(--graphite);
  background: var(--ivory-light);
}

.ledger-content-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3rem 2.75rem;
  padding-top: 3.5rem;
}

.ledger-index__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--graphite);
}

.ledger-index__heading h2 {
  margin: 0;
  color: var(--brick-ink);
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.ledger-index__heading > a,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
}

.ledger-index__heading > a .icon,
.text-link .icon {
  width: 1.85rem;
}

.ledger-index__heading > a:hover .icon,
.text-link:hover .icon {
  transform: translateX(0.3rem);
}

.ledger-index__heading > a .icon,
.text-link .icon {
  transition: transform 220ms var(--ease-out);
}

.article-row {
  display: grid;
  grid-template-columns: 3.2rem minmax(0, 1fr) 1.5rem;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.35rem;
  border-bottom: 1px solid var(--rule);
}

.article-row time {
  color: var(--graphite);
  font-size: 0.72rem;
}

.article-row h3 {
  margin: 0;
  overflow: hidden;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.article-row h3 a:hover {
  text-decoration: underline;
  text-decoration-color: var(--brick);
}

.article-row__bookmark {
  color: var(--graphite);
}

.article-row__bookmark .icon {
  width: 1.05rem;
}

.article-row__bookmark:hover {
  color: var(--brick-ink);
}

.empty-note {
  min-height: 7rem;
  margin: 0;
  padding: 1.35rem 0;
  color: var(--graphite);
  border-bottom: 1px solid var(--rule);
  font-size: 0.88rem;
}

.monthly-notebook {
  position: relative;
  grid-column: 1 / -1;
  min-height: 170px;
  padding: 2rem 2.25rem 2rem 4.5rem;
  overflow: hidden;
  border: 1px solid var(--brass);
  background: rgba(243, 234, 212, 0.7);
}

.monthly-notebook__rings {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 1.4rem;
  width: 1.15rem;
  border-right: 1px solid var(--rule);
}

.monthly-notebook__rings::before {
  position: absolute;
  top: 0.7rem;
  right: -0.42rem;
  width: 0.75rem;
  height: calc(100% - 1.4rem);
  content: "";
  background: url("../images/ring-pattern.svg") center top / 0.75rem 1.5rem repeat-y;
  opacity: 0.62;
}

.monthly-notebook h2 {
  margin: 0;
  color: var(--brick-ink);
  font-size: 1.25rem;
}

.monthly-notebook p {
  max-width: 54ch;
  margin: 0.75rem 0 1.25rem;
  color: var(--graphite);
  font-size: 0.9rem;
}

.margin-notes {
  position: relative;
  min-width: 0;
  padding: clamp(3.25rem, 5.5vw, 6rem) clamp(1.75rem, 3vw, 3.25rem) 3rem;
  overflow: hidden;
}

.margin-notes h2 {
  margin: 0;
  padding-bottom: 0.75rem;
  color: var(--brick-ink);
  border-bottom: 1px solid var(--graphite);
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.margin-notes ul {
  display: grid;
  gap: 1.25rem;
  margin: 1.75rem 0 2.5rem;
  padding: 0;
  color: var(--graphite-dark);
  list-style: none;
}

.margin-notes li {
  display: grid;
  grid-template-columns: 1.2rem 1fr;
  gap: 0.65rem;
  font-size: 0.94rem;
  line-height: 1.65;
}

.margin-notes li .icon {
  width: 1.05rem;
  color: var(--brick-ink);
  transform: rotate(-7deg);
}

.asset-path {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.asset-path > span:not(.icon) {
  display: inline-flex;
  width: 3.7rem;
  height: 3.7rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--graphite);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 700;
  transform: rotate(-3deg);
}

.asset-path > span:last-child {
  color: var(--brick-ink);
  border-color: var(--brick);
  transform: rotate(2deg);
}

.asset-path .icon {
  width: 1.35rem;
}

.pencil-manager {
  position: relative;
  min-height: 320px;
  margin-top: 2rem;
  display: flex;
  align-items: flex-end;
}

.pencil-manager img {
  position: absolute;
  right: 32%;
  bottom: -2.5rem;
  width: 78%;
	opacity: 0.72;
	mix-blend-mode: multiply;
}

.page-document {
	width: min(calc(100% - 48px), var(--text-width));
	margin: 0 auto;
	padding: clamp(4rem, 9vw, 8rem) 0;
}

.page-document__header {
	margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
	padding-bottom: 1.4rem;
	border-bottom: 1px solid var(--rule);
}

.page-document__header h1 {
	margin: 0;
	color: var(--navy);
	font-size: clamp(2.4rem, 6vw, 4.6rem);
	line-height: 1.12;
	letter-spacing: -0.04em;
}

.pencil-manager blockquote {
  position: relative;
  z-index: 2;
  width: 66%;
  margin: 0 0 0 auto;
  color: var(--graphite-dark);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.8;
  transform: rotate(-2deg);
}

.pencil-manager blockquote::after {
  display: block;
  width: 4.25rem;
  height: 2px;
  margin: 0.6rem 0 0 auto;
  content: "";
  background: var(--brick);
  transform: rotate(-4deg);
}

.site-footer {
  color: var(--ivory-light);
  background: var(--navy);
}

.site-footer__inner {
  width: min(calc(100% - 48px), var(--site-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem 4rem;
  padding: 3.25rem 0 2.5rem;
}

.site-footer__brand strong {
  font-size: 1.15rem;
}

.site-footer__brand p {
  margin: 0.45rem 0 0;
  color: var(--navy-muted);
  font-size: 0.84rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

.site-footer__disclaimer,
.site-footer__copyright {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 1.25rem;
  color: var(--navy-muted);
  border-top: 1px solid rgba(243, 234, 212, 0.15);
  font-size: 0.75rem;
}

.site-footer__copyright {
  padding-top: 0;
  border: 0;
}

.inner-page,
.article-page {
  min-height: 70vh;
  background: var(--ivory);
}

.page-masthead {
  color: var(--ivory-light);
  background: var(--navy) url("../images/skyline.svg") 90% bottom / 520px auto no-repeat;
}

.page-masthead > div {
  width: min(calc(100% - 48px), 1080px);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) 0 5rem;
}

.page-masthead h1 {
  max-width: 15ch;
  margin: 0;
  color: var(--ivory-light);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.page-masthead h1::after {
  display: block;
  width: 4rem;
  height: 3px;
  margin-top: 1.25rem;
  content: "";
  background: var(--brick);
}

.page-masthead p {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--navy-muted);
}

.archive-ledger {
  width: min(calc(100% - 48px), 1080px);
  margin: -2.25rem auto 5rem;
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--ivory-light) url("../images/paper-texture.svg") repeat;
  box-shadow: var(--paper-shadow);
}

.archive-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) 3rem;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}

.archive-row__meta {
  display: grid;
  gap: 0.35rem;
  align-self: start;
}

.archive-row__meta span {
  color: var(--brick-ink);
  font-size: 0.8rem;
  font-weight: 700;
}

.archive-row__meta time {
  color: var(--graphite);
  font-size: 0.75rem;
}

.archive-row__copy h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.2vw, 1.65rem);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.archive-row__copy h2 a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--brick);
}

.archive-row__copy p {
  max-width: 72ch;
  margin: 0.65rem 0 0;
  color: var(--graphite);
  font-size: 0.92rem;
}

.archive-row__arrow {
  color: var(--graphite);
}

.archive-row__arrow .icon {
  width: 2.5rem;
}

.archive-row__arrow:hover {
  color: var(--brick-ink);
}

.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  min-width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  font-size: 0.8rem;
}

.pagination .current {
  color: var(--ivory-light);
  background: var(--navy);
  border-color: var(--navy);
}

.empty-state {
  min-height: 320px;
  display: grid;
  place-content: center;
  text-align: center;
}

.empty-state h2 {
  margin: 0;
  font-size: 1.75rem;
}

.empty-state p {
  margin: 0.75rem 0 1.5rem;
  color: var(--graphite);
}

.empty-state .text-link {
  justify-content: center;
}

.article-header {
  padding: clamp(4rem, 8vw, 7rem) max(24px, calc((100% - 1080px) / 2)) 6rem;
  color: var(--ivory-light);
  background: var(--navy);
}

.article-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--navy-muted);
  font-size: 0.8rem;
}

.article-header__meta a {
  color: var(--ivory-light);
  font-weight: 700;
}

.article-header h1 {
  max-width: 18ch;
  margin: 0;
  color: var(--ivory-light);
  font-size: clamp(2.4rem, 5.5vw, 4.9rem);
  line-height: 1.12;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.article-header__excerpt {
  max-width: 65ch;
  margin: 1.5rem 0 0;
  color: var(--navy-muted);
  font-size: 1.08rem;
}

.article-summary {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1180px);
  margin: -2.75rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--ivory-light) url("../images/paper-texture.svg") repeat;
  box-shadow: var(--paper-shadow);
}

.article-summary section {
  min-width: 0;
  padding: 2rem;
  border-right: 1px solid var(--rule);
}

.article-summary section:last-child {
  border-right: 0;
}

.article-summary span {
  color: var(--brick-ink);
  font-size: 1.5rem;
}

.article-summary h2 {
  margin: 0.4rem 0 0;
  font-size: 1rem;
}

.article-summary p {
  margin: 0.9rem 0 0;
  color: var(--graphite);
  font-size: 0.88rem;
}

.article-layout {
  width: min(calc(100% - 48px), 1080px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(220px, 1fr);
  gap: clamp(3rem, 7vw, 7rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.article-content {
  max-width: var(--text-width);
  color: var(--graphite-dark);
  font-size: 1.04rem;
  line-height: 1.85;
}

.article-content > *:first-child {
  margin-top: 0;
}

.article-content h2,
.article-content h3 {
  color: var(--navy);
  line-height: 1.35;
  letter-spacing: -0.025em;
}

.article-content h2 {
  margin: 4rem 0 1rem;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
}

.article-content h3 {
  margin: 2.75rem 0 0.8rem;
  font-size: 1.35rem;
}

.article-content a {
  color: var(--brick-ink);
  text-decoration: underline;
}

.article-content blockquote {
  margin: 2.5rem 0;
  padding: 1.5rem 0;
  color: var(--navy);
  border-top: 1px solid var(--brass);
  border-bottom: 1px solid var(--brass);
  font-size: 1.15rem;
  font-weight: 600;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: 0.8rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.article-aside {
  align-self: start;
  padding: 1.5rem 0;
  border-top: 2px solid var(--brick);
  border-bottom: 1px solid var(--graphite);
}

.article-aside h2 {
  margin: 0;
  font-size: 1rem;
}

.article-aside p {
  margin: 0.8rem 0 1.2rem;
  color: var(--graphite);
  font-size: 0.86rem;
}

.article-aside a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
}

.article-aside a .icon {
  width: 2rem;
}

.article-footer {
  width: min(calc(100% - 48px), 1080px);
  margin: 0 auto 5rem;
  padding-top: 1.5rem;
  color: var(--graphite);
  border-top: 1px solid var(--graphite);
  font-size: 0.78rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag-list a {
  padding: 0.35rem 0.6rem;
  border: 1px solid var(--rule);
}

.search-form {
  max-width: 650px;
  display: grid;
  grid-template-columns: 1fr auto;
  margin-top: 2rem;
  border-bottom: 1px solid var(--ivory-light);
}

.search-form label {
  display: block;
}

.search-field {
  width: 100%;
  min-height: 3.4rem;
  padding: 0.5rem 0;
  color: var(--ivory-light);
  border: 0;
  background: transparent;
  outline: 0;
}

.search-field::placeholder {
  color: var(--navy-muted);
}

.search-form button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.5rem;
  color: var(--ivory-light);
  border: 0;
  background: transparent;
  cursor: pointer;
}

.archive-ledger .search-result-count {
  margin: 0;
  padding-bottom: 1rem;
  color: var(--brick-ink);
  border-bottom: 1px solid var(--graphite);
  font-weight: 700;
}

.not-found {
  width: min(calc(100% - 48px), 1080px);
  min-height: 65vh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
}

.not-found__number {
  color: var(--brick-ink);
  font-size: clamp(5rem, 16vw, 11rem);
  font-weight: 800;
  line-height: 0.8;
  letter-spacing: -0.04em;
}

.not-found h1 {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.not-found p {
  max-width: 58ch;
  color: var(--graphite);
}

.not-found .search-form {
  border-color: var(--graphite);
}

.not-found .search-field,
.not-found .search-form button {
  color: var(--navy);
}

.is-loading {
  cursor: progress;
  opacity: 0.62;
}

.form-error {
  margin-top: 0.75rem;
  color: var(--brick-ink);
  font-size: 0.85rem;
  font-weight: 700;
}

@media (max-width: 1160px) {
  .site-header__inner {
    grid-template-columns: 1fr auto auto;
  }

  .menu-toggle {
    z-index: 55;
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    align-items: center;
    justify-content: center;
    grid-column: 3;
  }

  .header-search {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    position: fixed;
    z-index: 50;
    inset: 0;
    display: grid;
    align-content: center;
    padding: 7rem max(24px, 8vw) 3rem;
    visibility: hidden;
    background: var(--navy);
    transform: translateY(-100%);
    transition: transform 420ms var(--ease-out), visibility 420ms;
  }

  .site-nav.is-open {
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    display: grid;
    gap: 0;
  }

  .site-nav li {
    border-bottom: 1px solid rgba(243, 234, 212, 0.2);
  }

  .site-nav a {
    padding: 1rem 0;
    font-size: clamp(1.15rem, 3vw, 1.6rem);
  }

  .site-nav a::after {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__open {
    display: none;
  }

  .menu-toggle[aria-expanded="true"] .menu-toggle__close {
    display: inline-flex;
  }

  .ledger-paper {
    grid-template-columns: minmax(0, 2.45fr) minmax(250px, 1fr);
  }

  .ledger-paper__main {
    padding-inline: 2.25rem;
  }

  .briefing-step {
    padding-inline: 1.25rem;
  }

  .ledger-content-grid {
    grid-template-columns: 1fr;
  }

  .monthly-notebook {
    grid-column: auto;
  }

  .asset-path {
    flex-wrap: wrap;
  }
}

@media (max-width: 820px) {
  .site-header__inner,
  .briefing-hero__inner,
  .ledger-shell,
  .site-footer__inner,
  .archive-ledger,
  .article-summary,
  .article-layout,
  .article-footer,
  .not-found,
  .page-masthead > div {
    width: min(calc(100% - 32px), var(--site-width));
  }

  .site-header__inner {
    min-height: 92px;
  }

  .site-brand__tagline {
    display: none;
  }

  .briefing-hero__inner {
    grid-template-columns: 1fr 180px;
    gap: 1.25rem;
    min-height: 360px;
    padding-bottom: 5rem;
  }

  .briefing-hero__story {
    padding-left: 0;
  }

  .briefing-hero__story h1 {
    font-size: clamp(2.25rem, 7vw, 3.7rem);
  }

  .briefing-hero__story > p {
    font-size: 0.94rem;
  }

  .briefing-hero__character {
    height: 270px;
  }

  .briefing-hero__character img {
    max-height: 270px;
  }

  .ledger-paper {
    display: block;
    clip-path: polygon(0 0.6%, 12% 0.2%, 24% 0.7%, 38% 0.1%, 52% 0.65%, 68% 0.2%, 82% 0.75%, 100% 0.25%, 100% 100%, 0 100%);
  }

  .ledger-paper__main {
    border-right: 0;
  }

  .margin-notes {
    border-top: 1px solid var(--rule);
  }

  .pencil-manager {
    max-width: 420px;
  }

  .briefing-steps {
    grid-template-columns: 1fr;
    padding-block: 1.25rem 2rem;
  }

  .briefing-step,
  .briefing-step:first-child,
  .briefing-step:last-child {
    padding: 1.35rem 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .briefing-step:last-child {
    border-bottom: 0;
  }

  .briefing-step__arrow {
    top: auto;
    right: 0.5rem;
    bottom: -0.8rem;
    transform: rotate(90deg);
  }

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

  .article-summary section {
    border-right: 0;
    border-bottom: 1px solid var(--rule);
  }

  .article-summary section:last-child {
    border-bottom: 0;
  }

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

  .article-aside {
    max-width: 500px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 15px;
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    gap: 0.25rem;
  }

  .site-brand__title {
    font-size: 1.45rem;
  }

  .header-search {
    display: none;
  }

  .menu-toggle {
    grid-column: 2;
  }

  .briefing-hero__inner {
    display: block;
    min-height: 485px;
    padding-top: 2.25rem;
  }

  .briefing-hero__story h1 {
    max-width: 12ch;
    font-size: clamp(2.25rem, 12vw, 3.25rem);
  }

  .briefing-hero__story > p {
    max-width: 42ch;
  }

  .briefing-hero__character {
    position: absolute;
    right: -1rem;
    bottom: 2.8rem;
    width: 46%;
    height: 190px;
    opacity: 0.76;
  }

  .briefing-hero__character img {
    max-height: 190px;
  }

  .briefing-hero::after {
    width: 90vw;
    opacity: 0.4;
  }

  .ledger-shell {
    margin-top: -2.5rem;
  }

  .ledger-paper__main,
  .margin-notes {
    padding: 3rem 1.25rem;
  }

  .ledger-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  .ledger-content-grid {
    gap: 2.25rem;
  }

  .monthly-notebook {
    padding: 1.75rem 1.25rem 1.75rem 3.6rem;
  }

  .asset-path > span:not(.icon) {
    width: 3.2rem;
    height: 3.2rem;
    font-size: 0.72rem;
  }

  .pencil-manager {
    min-height: 250px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .site-footer__disclaimer,
  .site-footer__copyright {
    grid-column: auto;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .page-masthead > div {
    padding-block: 3.25rem 4.25rem;
  }

  .archive-ledger {
    margin-top: -1.5rem;
    padding: 1.25rem;
  }

  .archive-row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1rem;
    padding: 1.5rem 0;
  }

  .archive-row__meta,
  .archive-row__copy {
    grid-column: 1;
  }

  .archive-row__arrow {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }

  .archive-row__copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .article-header {
    padding-inline: 16px;
  }

  .article-summary section {
    padding: 1.5rem;
  }

  .article-content {
    font-size: 1rem;
  }

  .not-found {
    grid-template-columns: 1fr;
    align-content: center;
  }

  .not-found__number {
    font-size: 6rem;
  }

  .search-form button span {
    display: none;
  }
}

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

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


/* 3단 브리핑 흐름 화살표: 종이 위 흰 패치 제거 */
.briefing-step {
  border-right: 0;
}

.briefing-step:not(:last-child)::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 1px;
  content: "";
  background: linear-gradient(
    to bottom,
    var(--rule) 0 2.2rem,
    transparent 2.2rem 3.8rem,
    var(--rule) 3.8rem 100%
  );
}

.briefing-step__arrow {
  color: var(--brick-ink);
  background: transparent;
}

@media (max-width: 820px) {
  .briefing-step:not(:last-child)::after {
    display: none;
  }
}



/* 여백 노트: 인용문과 연필 스케치 분리 */
.pencil-manager {
  min-height: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.pencil-manager img {
  position: static;
  width: min(78%, 220px);
  margin-inline: auto;
}

.pencil-manager blockquote {
  width: 100%;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: right;
  white-space: nowrap;
  transform: rotate(-1deg);
}
