@font-face {
  font-family: StudyMyeongjo;
  src: url("/note-art/myeongjo.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
.study-page, .notes-archive {
  --study-ink: #25251f;
  --study-rule: #c5c1b3;
  --study-muted: #615e53;
  --study-accent: #a63521;
  max-width: 1200px;
  margin: 0 auto 52px;
  color: var(--study-ink);
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.study-ribbon {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  color: var(--study-muted);
  font-size: 12px;
  border-bottom: 1px solid var(--study-rule);
}
.study-ribbon a { color: var(--study-ink); font-weight: 620; }
.study-ribbon a:hover, .study-night a:hover { text-decoration: underline; text-underline-offset: 4px; }
.study-opening {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(28px, 5.2vw, 76px);
  padding: clamp(32px, 4.4vw, 64px) 0;
  border-bottom: 2px solid var(--study-ink);
}
.study-opening h1 {
  margin: 0 0 0 -.036em;
  color: var(--study-ink);
  font-size: clamp(36px, 3.55vw, 57px);
  font-weight: 680;
  line-height: 1.22;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.study-issuer { margin: 0 0 14px; color: var(--study-accent); font-size: 14px; font-weight: 680; }
.study-issuer span { border-left: 1px solid currentColor; padding-left: 8px; margin-left: 4px; font-size: .82em; letter-spacing: .05em; }
.study-summary { max-width: 55ch; margin: 18px 0 0; font-size: clamp(16px, 1.3vw, 19px); color: #47483f; line-height: 1.78; }
.study-opening > .note-folio { min-width: 0; min-height: 245px; }
.study-opening .note-claim-link { color: var(--study-accent); }
.study-bound { white-space: nowrap; }
.study-thesis { text-wrap: pretty; }
.study-opening.study-illustrated {
  grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr);
  grid-template-areas: "title plate" "deck plate";
  grid-template-rows: 1fr 1fr;
  gap: 15px clamp(26px,4vw,62px);
}
.study-illustrated .study-title { grid-area: title; align-self: end; }
.study-illustrated .study-summary { grid-area: deck; align-self: start; margin: 0; }
.study-illustrated .edition-plate { grid-area: plate; align-self: center; }

.study-night, .study-night-thumb {
  isolation: isolate;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  box-sizing: border-box;
  background: #181915;
  color: #fff7e7;
}
.study-night > picture, .study-night-copy { grid-area: 1 / 1; }
.study-night > picture { align-self: stretch; z-index: -2; }
.study-night > picture img { display: block; height: auto; width: 100%; }
.study-night-copy { padding: clamp(32px, 4vw, 61px); }
.study-night-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
}
.study-night::after, .study-night-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(10 10 9 / 80%), transparent 80%);
}
.study-night .study-issuer { color: #f3d5b6; }
.study-night h1, .study-night-thumb figcaption {
  margin: 0 0 0 -.055em;
  color: #fff7e7;
  font: 400 clamp(66px, 7.2vw, 104px)/1.12 StudyMyeongjo, "Nanum Myeongjo", Batang, AppleMyungjo, serif;
  letter-spacing: -.083em;
}
.study-night-intro { margin: 18px 0 0; color: #f1e9de; font-size: clamp(15px, 1.55vw, 21px); }
.study-night-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 21px;
  padding-bottom: 5px;
  color: #fff4df;
  font-size: 14px;
  border-bottom: 1px solid #c99f7a;
}
.study-night-thumb { margin: 0; aspect-ratio: 3 / 2; padding: 24px; }
.study-night-thumb figcaption { font-size: clamp(37px, 4.5vw, 66px); }

.study-opening.study-paper { gap: 13px clamp(23px, 5vw, 66px); padding-bottom: 0; border-bottom: 0; }
.study-paper .study-title { display: contents; }
.study-paper .study-issuer { grid-column: 1 / -1; margin: 0; color: #243bbc; }
.study-paper .study-summary { margin: 0; align-self: center; }
.study-paper .note-claim-link { color: #233abb; }
.study-paper-plate {
  isolation: isolate;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  margin: 0;
  background: linear-gradient(180deg,#1e35bd,#1d34bc 38%,#1c32b7 80%,#2645d5);
  color: #faf6e7;
}
.study-paper > .study-paper-plate { grid-column: 1 / -1; height: clamp(340px, 33vw, 480px); margin-top: 12px; }
.study-paper-plate img {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: auto;
  height: 100%;
  max-width: none;
  mask-image: linear-gradient(90deg,transparent,#000 12%);
}
.study-paper-plate figcaption { position: absolute; left: 5%; top: 50%; transform: translateY(-50%); }
.study-paper-plate strong { display: flex; align-items: start; margin-left: -.06em; font-size: clamp(110px, 14vw, 205px); font-weight: 340; line-height: .86; letter-spacing: -.105em; }
.study-paper-plate strong small { margin: .06em 0 0 .15em; font-size: .35em; letter-spacing: -.07em; }
.study-paper-plate strong a { display:inline-flex; align-items:flex-start; color:inherit; text-decoration:none; }
.study-paper-plate strong a:hover { text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:.075em; }
.study-paper-plate strong a:focus-visible { outline:2px solid #fff7de; outline-offset:5px; }
.study-paper-plate figcaption span { display: block; margin-top: 15px; font-size: clamp(14px, 1.5vw, 21px); line-height: 1.45; }

.study-page .evidence-spread, .study-page .note-layout {
  display: grid;
  grid-template-columns: minmax(0, 690px) minmax(165px, 230px);
  justify-content: center;
  align-items: start;
  gap: clamp(32px, 7vw, 110px);
  margin: clamp(24px, 4vw, 59px) auto 40px;
  padding: 0;
}
.study-page .long-note { min-width: 0; margin: 0; max-width: 100%; }
.study-page .long-note p { color: #393b33; font-size: 17px; line-height: 1.9; }
.study-page .long-note .note-deck { margin-top: 0; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.66; color: #282b24; }
.study-interest { margin: 0 0 24px; padding-bottom: 17px; border-bottom: 1px solid var(--study-rule); }
.study-interest figcaption { color: #322f28; font: 400 clamp(26px,2.6vw,40px)/1.4 StudyMyeongjo,Batang,AppleMyungjo,serif; letter-spacing: -.055em; }
.study-interest figcaption strong { color: #944324; font-weight: inherit; white-space: nowrap; }
.study-interest dl { display: grid; gap: 12px; margin: 15px 0 12px; }
.study-interest dl div { display: grid; grid-template-columns: 1fr auto; gap: 4px; }
.study-interest dt, .study-interest dd { margin: 0; font-size: 13px; }
.study-interest dd { font-weight: 620; }
.study-interest i { grid-column: 1 / -1; height: 8px; background: linear-gradient(to right,#53584f var(--extent),#e1dcd1 var(--extent)); }
.study-interest dl div:last-child i { background: linear-gradient(to right,#9e4c32 var(--extent),#e1dcd1 var(--extent)); }
.study-interest small { color: var(--study-muted); font-size: 12px; line-height: 1.5; }
.study-interest small a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.study-page .long-note h2 { margin: 1.6em 0 .5em; font-size: clamp(22px, 2.2vw, 32px); color: var(--study-ink); line-height: 1.37; letter-spacing: -.065em; }
.study-page .note-period, .study-page .long-note .chart-note, .study-page .long-note .article-credit { font-size: 13px; color: var(--study-muted); line-height: 1.75; }
.study-page .long-note .note-period { margin: 0 0 16px; font-size: 13px; }
.study-page .note-evidence-jump, .study-page .evidence-contents a { color: #515344; }
.study-page .evidence-contents, .study-page .case-sidebar { background: transparent; border: 0; border-top: 2px solid var(--study-ink); padding: 14px 0; }
.study-page .evidence-contents a { padding: 10px 0; border-color: var(--study-rule); }
.study-page .case-sidebar .kicker { color: var(--study-ink); }
.study-page .note-chart { --chart-ink:#272b23; --chart-muted:#626659; --chart-rule:#cccbbb; --chart-flat:#525e58; --chart-up:#326247; --chart-down:#a63625; background:#efeee3; border-radius:0; }
.study-page .long-note .note-chart p { color: var(--chart-muted); font-size: 12px; line-height: 1.55; }
.study-page .note-followup, .study-page .note-claim-evidence, .study-page .formula { border-radius:0; border-color:var(--study-rule); background: #eeeddf; color:var(--study-ink); }
.study-page .note-followup h2, .study-page .note-endmatter h2 { margin-top: 0; }
.study-page .note-claim-evidence { padding: 14px 16px; }
.study-page .long-note .watch-formula, .study-page .note-followup p { font-size: 15px; }

.notes-archive .notes-head { padding: clamp(32px,4vw,59px) 0 22px; border-color: var(--study-ink); }
.notes-archive .notes-head h1 { font-size: clamp(39px, 4.6vw, 70px); color:var(--study-ink); letter-spacing:-.085em; }
.notes-archive .notes-rack { gap: clamp(27px, 4.5vw, 63px); }
.notes-archive .note-cover-link, .notes-archive .note-cover-link h2 { color: var(--study-ink); }
.notes-archive .shelf-visual { min-width: 0; }
.notes-archive .shelf-copy { display: flex; flex-direction: column; flex: 1; min-width: 0; padding-top: 15px; }
.notes-archive .shelf-company { color: var(--study-muted); font-size: 12px; font-weight: 640; }
.notes-archive .note-cover-link h2 { margin: 8px 0 10px; letter-spacing: -.06em; line-height: 1.37; }
.notes-archive .note-cover-link p { color: #4e5147; }
.notes-archive .note-imprint { border-color: var(--study-rule); }
.notes-archive .note-imprint b, .notes-archive .notes-head a { color: #8c3422; }
.notes-archive .study-paper-plate { aspect-ratio: 3 / 2; }
.notes-archive .study-paper-plate img { width:100%; height:100%; mask-image:none; }
.notes-archive .study-paper-plate figcaption { left: 5%; top: 12%; transform: none; }
.notes-archive .study-paper-plate strong { font-size: clamp(75px, 7.9vw, 135px); }
.notes-archive .study-paper-plate figcaption span { font-size: 13px; margin-top: 8px; }
@media(min-width:800px) {
  .notes-archive .notes-rack > article:first-child .note-cover-link { grid-template-columns:minmax(0,1.3fr) minmax(0,.8fr); grid-template-rows:auto; align-items:center; }
  .notes-archive .notes-rack > article:first-child .shelf-copy { padding: 0; }
  .notes-archive .notes-rack > article:first-child .note-imprint { align-self: stretch; }
}
@media(max-width:800px) {
  .study-page .evidence-spread, .study-page .note-layout { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .study-page .evidence-contents { display:none; }
  .study-page .case-sidebar { position:static; }
}
@media(max-width:700px) {
  .study-opening { grid-template-columns: 1fr; gap: 18px; padding: 23px 0; }
  .study-opening.study-illustrated {
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "title" "plate" "deck";
    grid-template-rows: auto;
    gap: 14px;
  }
  .study-opening h1 { font-size: clamp(30px, 6.5vw, 43px); line-height: 1.24; }
  .study-issuer { margin-bottom: 9px; font-size: 12px; }
  .study-summary { margin-top: 12px; font-size: 15px; line-height: 1.65; }
  .study-opening > .note-folio { min-height: 200px; }
  .study-night-copy { padding: 0 19px 25px; }
  .study-night::after { background: radial-gradient(ellipse at 10% 90%,rgb(9 11 9 / 95%),rgb(12 12 10 / 65%) 32%,transparent 70%); }
  .study-night h1 { font-size: clamp(47px, 11.8vw, 72px); }
  .study-night-intro { margin-top: 12px; font-size: 14px; }
  .study-night-copy > a { margin-top: 11px; }
  .study-paper .study-issuer { order: 0; }
  .study-paper h1 { order: 1; }
  .study-paper > .study-paper-plate { order: 2; height: auto; aspect-ratio: 3/2; margin-top: 0; }
  .study-paper .study-summary { order: 3; margin-top: 0; }
  .study-paper-plate img { width: 100%; height: 100%; mask-image: none; }
  .study-paper-plate figcaption { top: 17px; transform:none; }
  .study-paper-plate strong { font-size: clamp(70px, 18.2vw, 100px); }
  .study-paper-plate figcaption span { margin-top: 7px; font-size: 12px; }
  .notes-archive .study-paper-plate figcaption { top: 16px; }
  .notes-archive .study-paper-plate strong { font-size: clamp(62px, 17vw, 85px); }
  .study-page .long-note p { font-size: 16px; line-height: 1.85; }
  .study-page .long-note h2 { font-size: 23px; }
  .study-page .long-note .note-period { font-size: 12px; }
}
