/* White Ink home: decorative art only. All facts/forms remain native SSR HTML. */
.home-page {
  --paper: #fcfcfa;
  --surface: #ffffff;
  --surface-2: #f1f0eb;
  --ink: #151719;
  --ink-2: #41474d;
  --muted: #606870;
  --line: #dcd8d0;
  --line-strong: #b7afa2;
  --accent: #303437;
  --accent-soft: #eeede9;
  --font-book: "Noto Serif KR", "Nanum Myeongjo", Batang, "바탕", Georgia, serif;
  --shell: 1352px;
  background-color: var(--paper);
  background-image: url("ink-paper.webp");
}
.home-page .masthead { background: rgb(252 252 250 / 94%); }
.home-page .masthead-inner { min-height: 74px; justify-content: flex-start; gap: 30px; }
.home-page .brand { font-family: var(--font-book); font-size: 1.85rem; letter-spacing: -.06em; }
.home-page .brand-mark { display: none; }
.home-page .site-nav { padding-left: 24px; border-left: 1px solid var(--line-strong); }
.home-trust-nav { display: flex; gap: 0; margin-left: auto; flex-shrink: 0; }
.home-trust-nav a { padding: 0 16px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.home-trust-nav a + a { border-left: 1px solid var(--line-strong); }
.home-trust-nav a:last-child { padding-right: 0; }
.home-page main { padding-top: 0; padding-bottom: 36px; }

/* Landscape is scenery, never text or a factual source. */
.home-hero { position: relative; isolation: isolate; display: block; min-height: 412px; padding: 42px 0 28px; }
.home-art { position: absolute; z-index: -1; inset: 0 calc(-1 * var(--gutter)); overflow: hidden; pointer-events: none; }
.home-art img { position: absolute; display: block; max-width: none; }
/* Fade only the scenery's ink density without blurring its outlines. */
.home-landscape {
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: .82;
}
.home-branch { top: -22px; right: -8px; width: 310px; height: auto; opacity: .7; }
.home-books { bottom: 16px; right: -30px; width: 285px; height: auto; opacity: .7; }
.home-colophon { position: absolute; left: 0; top: 32px; padding: 8px 0 8px 18px; border-left: 1px solid var(--line); }
.home-country { color: #454b51; font-family: Georgia, serif; font-size: .75rem; letter-spacing: .2em; line-height: 1.85; }
.home-country span { display: block; }
.home-colophon-rule { display: block; width: 36px; height: 1px; margin: 20px 0; background: var(--line-strong); }
.home-colophon-copy { color: var(--ink); font-family: var(--font-book); font-size: 1.08rem; font-weight: 700; line-height: 1.65; }
.home-title { text-align: center; }
.home-hero h1 { max-width: none; font-family: var(--font-book); font-size: clamp(3.8rem, 6.4vw, 6rem); line-height: 1.2; letter-spacing: -.055em; font-weight: 800; }
.home-title-rule { display: block; width: 98px; height: 4px; border-block: 1px solid var(--ink-2); margin: 10px auto 12px; }
.home-hero .lede { max-width: none; font-family: var(--font-book); color: var(--ink); font-size: 1.45rem; font-weight: 600; letter-spacing: .025em; }
.home-hero .home-search { max-width: 790px; width: 76%; margin: 48px auto 0; }
.home-search .search-row { position: relative; flex-direction: row; gap: 0; border: 1px solid var(--line-strong); border-radius: 6px; background: #fff; box-shadow: 0 0 0 3px rgb(255 255 255 / 70%), 0 2px 10px rgb(21 23 25 / 6%); }
.home-search .home-search-icon { position: absolute; left: 19px; top: 18px; pointer-events: none; }
.home-search input { height: 62px; padding-left: 58px; border: 0; border-radius: 5px 0 0 5px; background: transparent; }
.home-search button { flex: none; gap: 12px; height: 62px; padding: 0 26px; border-left: 1px solid var(--line-strong); border-radius: 0 4px 4px 0; font-family: var(--font-book); font-size: 1.3rem; font-weight: 500; }
.home-scope { display: flex; justify-content: center; flex-wrap: wrap; gap: 5px 14px; margin-top: 16px; color: #454b51; font-size: .8rem; text-align: center; }
.home-scope a { display: inline-flex; align-items: center; gap: 5px; font-weight: 600; text-decoration: none; }
.home-scope svg { width: 15px; height: 15px; }

/* One real link per card, with no nested links or bitmap text. */
.home-areas .pillars { gap: 16px; margin: 0 0 18px; }
.home-pillar { min-width: 0; min-height: 230px; padding: 26px 22px 22px; gap: 0; overflow: hidden; border-radius: 5px; background: #fcfcfa; box-shadow: none; }
.home-pillar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fcfcfa 0%, rgb(252 252 250 / 94%) 42%, rgb(252 252 250 / 45%) 65%, transparent 100%); pointer-events: none; }
.home-pillar-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; opacity: .72; }
.home-pillar-icon { position: absolute; z-index: 1; top: 29px; left: 24px; color: var(--ink); }
.home-pillar-icon svg { width: 36px; height: 36px; }
.home-pillar-icon::after { content: ""; display: block; width: 34px; height: 1px; margin-top: 12px; background: #b7a182; }
.home-pillar-content { position: relative; z-index: 1; display: grid; align-content: start; gap: 6px; padding-left: 54px; width: 85%; }
.home-pillar .pillar-key { font-family: var(--font-book); font-size: 2.05rem; font-weight: 800; }
.home-pillar h2 { font-family: var(--font-book); font-size: 1.1rem; font-weight: 700; }
.home-pillar p { margin-top: 4px; font-size: .81rem; line-height: 1.75; }
.home-pillar-tags { width: fit-content; max-width: 100%; margin-top: 6px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 20px; background: rgb(255 255 255 / 93%); color: var(--ink-2); font-size: .68rem; line-height: 1.6; }
.home-pillar .pillar-meta { margin-top: 2px; font-size: .73rem; font-weight: 600; }
.home-pillar-arrow { position: absolute; z-index: 1; right: 17px; bottom: 17px; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); }
.home-pillar:hover .home-pillar-arrow { background: var(--ink); color: #fff; }

/* Existing, evidenced bill rows remain unchanged inside the ledger panel. */
.home-ledger-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 16px; align-items: start; }
.home-recent, .home-about { min-width: 0; margin: 0; padding: 20px 24px; border: 1px solid var(--line); border-radius: 5px; background: rgb(255 255 255 / 88%); }
.home-recent .section-head { padding-bottom: 14px; }
.home-recent .section-head h2 { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-book); font-size: 1.25rem; }
.home-recent .section-head h2 svg { width: 25px; height: 25px; }
.home-recent .section-head > a { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; text-decoration: none; }
.home-recent .section-head > a svg { width: 16px; height: 16px; }
.home-recent .section-note { margin: 10px 0 0; font-size: .77rem; }
.home-recent .bill-row { grid-template-columns: 6rem minmax(0, 1fr) auto; gap: 8px 14px; padding: 16px 0; }
.home-recent .bill-date { font-size: .8rem; }
.home-recent .bill-main h3 { font-size: .92rem; }
.home-recent .row-meta { font-size: .77rem; }
.home-recent .rows > li:last-child { border-bottom: 0; }
.home-about { padding: 26px 28px 22px; }
.home-about-eyebrow { color: var(--muted); font-family: var(--font-book); font-size: .82rem; }
.home-about h2 { margin: 8px 0 16px; font-family: var(--font-book); font-size: 1.35rem; line-height: 1.55; }
.home-about > p:not(.home-about-eyebrow) { color: var(--muted); font-size: .86rem; line-height: 1.85; }
.home-principles { display: grid; gap: 8px; margin: 22px 0 18px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; }
.home-principles li { display: flex; align-items: baseline; gap: 9px; }
.home-principles li::before { content: ""; flex: none; width: 4px; height: 4px; border-radius: 50%; background: #9d8d76; }
.home-about .home-about-scope { font-size: .75rem; }
.home-about-link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; margin-top: 20px; border: 1px solid var(--line-strong); border-radius: 4px; font-size: .85rem; font-weight: 600; text-decoration: none; }
.home-about-link:hover { background: var(--surface-2); }
.home-about-link svg { width: 18px; height: 18px; }
.home-methodology-link { display: block; width: fit-content; margin: 12px auto 0; color: var(--muted); font-size: .77rem; }
.home-art-note { margin-top: 18px; color: var(--muted); font-size: .7rem; }
.home-page .footer { background: rgb(252 252 250 / 90%); }

@media (max-width: 1100px) {
  .home-page .masthead-inner { gap: 20px; }
  .home-page .site-nav { padding-left: 16px; }
  .home-trust-nav { display: none; } /* The same links remain in the footer. */
  .home-branch { width: 240px; }
  .home-books { width: 220px; opacity: .5; }
  .home-colophon { padding-left: 12px; }
  .home-colophon-copy { font-size: .95rem; }
  .home-pillar-content { padding-left: 42px; width: 95%; }
  .home-pillar-icon { left: 18px; }
  .home-pillar-icon svg { width: 29px; height: 29px; }
  .home-pillar-icon::after { width: 28px; }
  .home-pillar-tags { font-size: .63rem; }
}
@media (max-width: 860px) {
  .home-colophon-copy, .home-colophon-rule { display: none; }
  .home-colophon { top: 16px; border: 0; padding: 0; }
  .home-country { font-size: .6rem; }
  .home-country span { display: inline; }
  .home-hero { min-height: 380px; padding-top: 54px; }
  .home-hero .home-search { width: 88%; margin-top: 44px; }
  .home-areas .pillars { grid-template-columns: 1fr; gap: 12px; }
  .home-pillar { min-height: 200px; }
  .home-pillar-content { padding-left: 54px; width: 70%; }
  .home-pillar-art { left: auto; width: 85%; }
  .home-pillar p { max-width: 28em; }
  .home-pillar-icon { left: 24px; }
  .home-pillar-icon svg { width: 36px; height: 36px; }
  .home-pillar-tags { font-size: .72rem; }
  .home-ledger-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .home-page .masthead-inner { min-height: 90px; gap: 4px; padding-top: 10px; padding-bottom: 8px; }
  .home-page .brand { font-size: 1.6rem; }
  .home-page .site-nav { width: 100%; padding-left: 0; border: 0; }
  .home-page .site-nav a { min-height: 38px; padding: 6px 10px; font-size: .88rem; }
  .home-hero { min-height: 348px; padding: 57px 0 22px; }
  .home-hero h1 { font-size: 3.6rem; }
  .home-title-rule { margin: 8px auto 10px; width: 66px; }
  .home-hero .lede { font-size: 1.1rem; }
  .home-branch { top: 0; right: -30px; width: 180px; opacity: .45; }
  .home-books { bottom: 32px; right: -14px; width: 155px; opacity: .35; }
  .home-landscape { width: 135%; left: -15%; opacity: .64; }
  .home-hero .home-search { width: 100%; margin-top: 42px; }
  .home-search input { flex: 1; width: 0; height: 54px; padding-left: 38px; padding-right: 8px; font-size: .85rem; }
  .home-search .home-search-icon { width: 19px; height: 19px; top: 17px; left: 12px; }
  .home-search button { width: auto; height: 54px; padding: 0 16px; font-size: 1.08rem; gap: 7px; }
  .home-search button svg { width: 17px; height: 17px; }
  .home-scope { gap: 2px 8px; margin-top: 12px; font-size: .7rem; }
  .home-pillar { min-height: 212px; padding: 22px 16px 18px; }
  .home-pillar-content { padding-left: 45px; width: 86%; }
  .home-pillar-icon { left: 18px; top: 26px; }
  .home-pillar-icon svg { width: 29px; height: 29px; }
  .home-pillar-icon::after { width: 28px; }
  .home-pillar .pillar-key { font-size: 1.9rem; }
  .home-pillar p { font-size: .8rem; }
  .home-pillar-tags { font-size: .64rem; padding: 4px 8px; }
  .home-pillar-arrow { right: 13px; bottom: 13px; width: 36px; height: 36px; }
  .home-recent, .home-about { padding: 20px 18px; }
  .home-recent .bill-row { grid-template-columns: minmax(0, 1fr) auto; }
  .home-recent .bill-date { grid-column: 1 / -1; }
  .home-recent .bill-main h3 { font-size: .96rem; }
  .home-art-note { font-size: .67rem; }
}
@media (prefers-color-scheme: dark) {
  .home-page { --paper: #151719; --surface: #1c1e20; --surface-2: #252729; --ink: #eeede8; --ink-2: #d0cec7; --muted: #afb0ab; --line: #404240; --line-strong: #66665f; --accent: #eeede8; --accent-ink: #151719; background-image: none; }
  .home-page .masthead, .home-page .footer { background: var(--paper); }
  .home-art { opacity: .14; }
  .home-country, .home-scope { color: var(--ink-2); }
  .home-pillar, .home-recent, .home-about { background: var(--surface); }
  .home-pillar-art { opacity: .14; }
  .home-pillar::after { background: linear-gradient(90deg, var(--surface), transparent); }
  .home-pillar-tags, .home-pillar-arrow { background: var(--surface-2); }
  .home-search .search-row { background: var(--surface); box-shadow: none; }
  .home-search button { color: var(--paper); }
}
@media print {
  .home-art, .home-pillar-art, .home-colophon, .home-art-note, .home-pillar-arrow { display: none; }
  .home-page { background-image: none; }
  .home-hero { min-height: 0; padding: 0 0 24px; }
}
