/* 2026 editorial refresh: typography, quiet surfaces, and a consistent blue palette. */
:root {
  --night: #14294f;
  --blue: #284d84;
  --paper: #f6f4ee;
  --ink: #1b2d49;
  --muted: #62718a;
  --mist: #f0f5f8;
  --mist-deep: #ebf2f7;
  --section-rule: #8ba6bf;
}

body { background: var(--paper); }
/* The same ink landscape is clipped into both door leaves, so it opens with them. */
.entry-door { overflow: hidden; }
.entry-door::before, .entry-door::after { z-index: 1; }
.entry-door-landscape { position: absolute; z-index: 0; top: 0; bottom: 0; width: 200%; background: url('/graphics/entry-sansuhwa-wide-2026.webp') center bottom / cover no-repeat; opacity: .56; pointer-events: none; }
.entry-door-left .entry-door-landscape { left: 0; }
.entry-door-right .entry-door-landscape { right: 0; }
@media (max-width: 680px) {
  .entry-door-landscape { background-image: url('/graphics/entry-sansuhwa-portrait-2026.webp'); opacity: .46; }
}
.section-shell { width: min(100% - 112px, 1240px); }
.site-header, .site-header.is-scrolled { background: #14294f; box-shadow: none; backdrop-filter: none; border-bottom: 1px solid rgba(235,239,247,.18); }
.header-inner { height: 82px; }
.primary-nav { gap: 34px; }
.primary-nav .nav-contact { border-radius: 0; padding: 10px 0; border-width: 0 0 1px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; }
.eyebrow-line { width: 21px; }
.button, .text-link, .archive-links a, .event-path a, .hero-status { transition: color .2s ease, background-color .2s ease, border-color .2s ease; }
.button:hover, .archive-links a:hover, .hero-status:hover { transform: none; }
.button { min-height: 52px; gap: 26px; }
.button-light { background: #f6f4ee; color: #14294f; }
.button-light:hover { background: #e5ebf3; }
.brand-button-gate, .brand-button-wave { gap: 14px; }
.brand-button-gate::before, .brand-button-wave::before { display: block; flex: none; background-position: center; background-size: contain; background-repeat: no-repeat; content: ''; }
.brand-button-gate::before { width: 27px; height: 27px; background-image: url('/graphics/brand-gate.svg'); }
.brand-button-wave::before { width: 35px; height: 27px; background-image: url('/graphics/brand-wave.svg'); }
.text-link { border-bottom-width: 1px; }
.reveal-section h2::after { width: 88px; height: 1px; margin-top: 22px; background: var(--section-rule); }
.events.reveal-section h2::after { display: none; }
.archive.reveal-section h2::after { width: 64px; }
.intro.reveal-section h2::after { display: none; }
.intro-wave-flow { position: relative; display: block; width: min(100%, 600px); height: auto; aspect-ratio: 4.15 / 1; margin-top: 9px; overflow: hidden; pointer-events: none; }
.intro-wave-flow img { position: absolute; top: 0; left: 0; display: block; width: 100%; height: auto; max-width: none; transform: translateY(-19%); filter: saturate(1.12) contrast(1.08); user-select: none; }
.intro-wave-flow img:nth-child(1) { opacity: var(--wave-one, 1); }
.intro-wave-flow img:nth-child(2) { opacity: var(--wave-two, 0); }
.intro-wave-flow img:nth-child(3) { opacity: var(--wave-three, 0); }
@media (prefers-reduced-motion: reduce) { .intro-wave-flow img:nth-child(1) { opacity: 1; } .intro-wave-flow img:nth-child(n+2) { opacity: 0; } }

/* Home: the headline and the animated scholar carry the cover. */
.hero { display: block; min-height: 780px; height: auto; max-height: none; overflow: hidden; background: #14294f; }
.hero-art { display: block; background: url('/graphics/academy-night-2026.webp') right center / cover no-repeat; opacity: .82; }
.hero-shade { display: block; background: linear-gradient(90deg, rgba(20,41,79,.94) 0%, rgba(20,41,79,.80) 35%, rgba(20,41,79,.20) 69%, rgba(20,41,79,.08) 100%), linear-gradient(0deg, rgba(20,41,79,.40), transparent 34%); }
.hero-inner { width: min(100% - 160px, 1240px); min-height: 780px; margin: 0 auto; padding: 165px 0 72px; }
.hero h1 { max-width: 620px; margin: 24px 0 24px; font-size: clamp(58px, 5.4vw, 78px); line-height: 1.29; text-shadow: none; }
.hero h1 em { color: #c6d7eb; }
.hero-description { max-width: 565px; color: #dce5f0; font-size: 16px; line-height: 1.82; }
.hero-actions { margin-top: 35px; }
.hero-replay { margin-top: 13px; color: #c2d2e7; font-size: 12px; border-color: rgba(211,224,242,.46); }
.hero-scholar { top: 57%; right: clamp(70px, 10vw, 180px); left: auto; width: 105px; height: 158px; filter: drop-shadow(0 3px 5px rgba(9,25,51,.38)); }
.hero-vertical { display: none; }
.hero-status { width: min(100%, 430px); margin-top: 28px; padding: 15px 112px 15px 0; border: 0; border-top: 1px solid rgba(230,238,250,.45); border-bottom: 1px solid rgba(230,238,250,.45); background: transparent; backdrop-filter: none; }
.hero-status:hover, .hero-swing-link:hover { background: transparent; border-color: #f6f4ee; }
.hero-swing-link { min-height: 100px; }
.hero-status-label, .hero-swing-link .hero-status-label { color: #cbd6e6; font-size: 11px; }
.hero-status strong, .hero-swing-link strong { font-size: 18px; }
.hero-status-note { color: #dce5f0; font-size: 11px; }
.hero-swing-preview { width: 96px; background: none; }
.hero-swing-preview img { right: 0; bottom: 0; width: 91px; }

/* The current notice sits between the cover and the year-long archive. */
.current-note { border-bottom: 1px solid #bdcbd8; background: #e8eff4; color: #1b2d49; }
.current-note-layout { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(35px, 6vw, 100px); padding-top: 77px; padding-bottom: 82px; }
.current-note-heading { align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; }
.current-note-heading .eyebrow { color: #41688f; }
.current-note-heading h2 { margin: 28px 0 18px; font-family: 'Noto Serif KR', serif; font-size: clamp(47px, 5vw, 70px); font-weight: 600; letter-spacing: -.075em; line-height: 1.27; }
.current-note.reveal-section h2::after { display: none; }
.current-note-heading > p:not(.eyebrow) { margin: 0; color: #52657b; font-size: 16px; line-height: 1.82; word-break: keep-all; }
.current-note-edition { margin-top: auto; padding-top: 40px; color: #7890a7; font-family: 'Noto Serif KR', serif; font-size: 12px; letter-spacing: .12em; }
.current-note-sheet { position: relative; min-width: 0; padding: 29px clamp(28px, 3.2vw, 47px) 34px; overflow: hidden; border: 1px solid #a8bdd0; border-left: 4px solid #315b84; border-radius: 3px 42px 3px 25px; background: #d9e7f1; }
.current-note-topline { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-bottom: 19px; border-bottom: 1px solid #afc3d3; }
.current-note-state { color: #315b84; font-size: 13px; font-weight: 700; }
.current-note-topline time { color: #637f99; font-size: 12px; white-space: nowrap; }
.current-note-name { margin: 29px 0 6px; color: #567390; font-size: 13px; font-weight: 700; letter-spacing: .025em; }
.current-note-sheet h3 { max-width: 570px; margin: 0; color: #172f54; font-family: 'Noto Serif KR', serif; font-size: clamp(29px, 3vw, 40px); font-weight: 600; letter-spacing: -.065em; line-height: 1.38; word-break: keep-all; }
.current-note-copy { position: relative; z-index: 1; max-width: 560px; margin: 17px 0 24px; color: #445a72; font-size: 16px; line-height: 1.78; word-break: keep-all; }
.current-note-details { display: flex; align-items: baseline; gap: 17px; padding: 16px 0; border-top: 1px solid #afc3d3; border-bottom: 1px solid #afc3d3; }
.current-note-details span { flex: none; color: #69819b; font-size: 12px; }
.current-note-details strong { color: #274a72; font-size: 15px; font-weight: 600; }
.current-note-links { position: relative; z-index: 1; display: flex; align-items: center; flex-wrap: wrap; gap: 13px 30px; margin-top: 23px; }
.current-note-links a { display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; font-size: 14px; font-weight: 700; text-decoration: none; }
.current-note-primary { padding: 0 0 0 13px; border-left: 3px solid #315b84; color: #204a75; }
.current-note-official { color: #4b6e8e; border-bottom: 1px solid #8da8bf; }
.current-note-links a:hover { color: #122f55; }
.current-note-links a:focus-visible { outline: 3px solid #b68642; outline-offset: 3px; }

/* Quiet navigation and generous reading space. */
.highlights { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; padding: 0; border-bottom: 0; }
.highlights a { display: flex; justify-content: center; align-items: center; gap: 18px; min-height: 102px; border-right: 1px solid #c7d0dc; color: #243c60; font-size: 13px; }
.highlights a:last-child { border-right: 0; }
.highlight-circle { display: block; width: auto; height: auto; border: 0; border-radius: 0; background: none; box-shadow: none; color: #375d8b; font-size: 24px; line-height: 1; }
.highlights a:hover .highlight-circle { transform: none; background: none; color: #172f54; }
.intro { display: block; padding: 0; border: 0; background: var(--mist); }
.intro-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 8%; padding-top: 116px; padding-bottom: 180px; }
.section-heading h2 { font-size: clamp(35px, 3.4vw, 48px); line-height: 1.5; }
.section-heading em { color: #42658f; }
.intro-copy { padding-top: 46px; }
.intro-copy p { color: #4a596e; line-height: 1.84; }
.intro-mark { display: none; }
.intro-scholar { right: 0; bottom: 7px; width: 112px; height: 168px; }

/* Each ceremony has its own chapter in 청랑's field notes. */
.lexicon { position: relative; overflow: hidden; background: #deebf3; color: #1b2d49; }
.lexicon-inner { position: relative; z-index: 1; padding-top: 114px; padding-bottom: 140px; }
.lexicon-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); align-items: end; column-gap: 60px; margin-bottom: 45px; padding-bottom: 40px; border-bottom: 1px solid #a4b9ca; }
.lexicon-intro .eyebrow { grid-column: 1 / -1; margin-bottom: 20px; color: #3e658b; }
.lexicon-intro h2 { margin: 0; font-size: clamp(48px, 5vw, 68px); line-height: 1.25; }
.lexicon.reveal-section h2::after { display: none; }
.lexicon-intro > p:not(.eyebrow) { margin: 0 0 8px; color: #4b5f76; font-size: 16px; line-height: 1.8; word-break: keep-all; }
.lexicon-chapters { min-width: 0; }
.lexicon-chapter { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); gap: clamp(42px, 7vw, 110px); padding: 39px 0 48px; border-top: 1px solid #a4b9ca; }
.lexicon-chapter:first-child { border-top: 0; padding-top: 14px; }
.lexicon-chapter-heading { position: relative; min-height: 205px; }
.lexicon-chapter-heading h3 { position: relative; z-index: 1; margin: 0; color: #1b3456; font-family: 'Noto Serif KR', serif; font-size: clamp(31px, 3.1vw, 42px); font-weight: 600; letter-spacing: -.055em; line-height: 1.35; word-break: keep-all; }
.lexicon-chapter-heading h3 span { padding: 0 .07em; color: #527da4; }
.lexicon-chapter-heading p { position: relative; z-index: 1; margin: 9px 0 0; color: #526f91; font-size: 14px; line-height: 1.6; }
.lexicon-chapter-heading img { position: absolute; right: 0; bottom: -14px; width: min(55%, 220px); height: auto; object-fit: contain; pointer-events: none; }
.lexicon-chapter-autumn .lexicon-chapter-heading img { width: min(58%, 235px); }
.lexicon-chapter-winter .lexicon-chapter-heading img { width: min(50%, 190px); }
.lexicon-terms { min-width: 0; }
.lexicon-entry { border-bottom: 1px solid #a4b9ca; }
.lexicon-entry:first-child { border-top: 1px solid #a4b9ca; }
.lexicon-entry summary { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 18px; min-height: 82px; padding: 14px 8px 14px 0; list-style: none; cursor: pointer; }
.lexicon-entry summary::-webkit-details-marker { display: none; }
.lexicon-entry summary::marker { content: ''; }
.lexicon-term { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 16px; min-width: 0; }
.lexicon-term strong { color: #1b3456; font-family: 'Noto Serif KR', serif; font-size: 30px; font-weight: 600; letter-spacing: -.07em; white-space: nowrap; }
.lexicon-term small { color: #718ca8; font-family: 'Noto Serif KR', serif; font-size: 15px; letter-spacing: .04em; white-space: nowrap; }
.lexicon-plus { color: #244a73; font-family: 'DM Sans', sans-serif; font-size: 26px; font-weight: 300; line-height: 1; text-align: center; }
.lexicon-plus::before { content: '+'; }
.lexicon-entry[open] .lexicon-plus::before { content: '−'; }
.lexicon-entry summary:hover .lexicon-term strong { color: #416e9c; }
.lexicon-entry summary:focus-visible { outline: 3px solid #bf9042; outline-offset: -3px; }
.lexicon-definition { padding: 0 42px 26px 0; }
.lexicon-definition p { max-width: 540px; margin: 0 0 15px; color: #455b74; font-size: 16px; line-height: 1.75; word-break: keep-all; }
.lexicon-definition a { display: inline-flex; align-items: center; gap: 19px; min-height: 44px; border-bottom: 1px solid #527da4; color: #254b76; font-size: 14px; font-weight: 700; text-decoration: none; }
.lexicon-definition a:hover { color: #4c739c; }
.lexicon-definition a:focus-visible { outline: 3px solid #bf9042; outline-offset: 3px; }
.lexicon-source { margin: 18px 0 0; color: #6a8199; font-size: 12px; line-height: 1.7; }
.lexicon-source a { color: #345e87; text-underline-offset: 3px; }

/* Event listings read like two program entries rather than floating cards. */
.events { position: relative; background: #e8edf2; color: #1b2d49; }
.events-inner { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 132px; }
.events .eyebrow { color: #526f91; }
.events-topline { margin-bottom: 47px; }
.events-topline h2, .archive-heading h2 { font-size: clamp(36px, 3.4vw, 49px); }
.events-topline > p { color: #596b82; }
.event-list { gap: 16px; }
.event-card, .event-card-gohanora { min-height: 560px; padding: 30px 31px 28px; border: 1px solid #a9bed1; border-top: 3px solid #315782; background: #dce8f3; color: #1b2d49; }
.event-card-shinbangrye { border-radius: 4px 56px 4px 32px; }
.event-card-gohanora { border-radius: 56px 4px 32px 4px; background: #d4e3f0; }
.event-card::after, .event-watermark { display: none; }
.event-number { color: #486485; font-size: 12px; }
.event-status { margin-top: 0; border: 1px solid #a8bfd3; border-radius: 0; color: #25476f; background: #c7d9e9; font-size: 12px; }
.event-main { margin-top: 54px; }
.event-hanja { color: #526f91; font-size: 15px; }
.event-main h3 { font-size: clamp(42px, 4vw, 54px); }
.event-main > p:last-child { color: #3f5570; font-size: 15px; }
.event-keywords { margin-top: 25px; }
.event-keywords li { padding: 0; border: 0; border-radius: 0; color: #59718c; font-size: 13px; }
.event-keywords li + li::before { margin-right: 8px; color: #9aaabb; content: '/'; }
.event-path { border-color: #a9bfd2; }
.event-path > p { color: #45668b; font-size: 12px; }
.event-path li + li { border-color: #b8cadb; }
.event-path a { color: #213b5e; }
.event-path a:hover { color: #42658f; transform: none; }
.event-path a span { color: #6a83a0; }

/* A single seasonal journey connects the three signature gatherings. */
.annual-guide { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 20px; }
.annual-guide::before { position: absolute; top: 0; right: 0; left: 0; height: 1px; background: #9db4c8; content: ''; pointer-events: none; }
.annual-guide span { position: relative; display: flex; align-items: center; gap: 10px; padding-top: 17px; color: #28486c; }
.annual-guide span::before { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #315b84; content: ''; }
.annual-guide i { display: none; }
.annual-guide b { font-family: 'Noto Serif KR', serif; font-size: 19px; font-weight: 600; }
.annual-guide small { margin-left: auto; color: #66809a; font-size: 12px; }
.annual-guide span:nth-child(2)::before { background: #9e7950; }
.annual-guide span:nth-child(3)::before { background: #526d88; }
.annual-walker { position: absolute; z-index: 2; top: 0; left: 3%; width: 47px; height: 62px; transform: translate(-50%, calc(-100% + 4px)); opacity: 1; pointer-events: none; }
.annual-walker img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 2px 2px rgba(22,43,72,.14)); }
.events .event-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.events .event-card { min-height: 700px; padding: 25px 23px 22px; }
.events .event-card-shinbangrye { border-radius: 4px 49px 4px 28px; }
.events .event-card-gohanora { border-top-color: #8e745c; border-radius: 49px 4px 28px 4px; background: #e6edf3; }
.events .event-card-hwanggamje { border-top-color: #526d88; border-radius: 4px 29px 4px 48px; background: #edf1f4; }
.events .event-card-top { align-items: flex-start; }
.events .event-number { max-width: 58%; line-height: 1.5; }
.events .event-status { min-height: 28px; padding: 4px 8px; font-size: 11px; white-space: nowrap; }
.events .event-status[data-state="upcoming"] { background: #204b74; border-color: #204b74; color: #fff; }
.events .event-status[data-state="recruiting"] { background: #164f62; border-color: #164f62; color: #fff; }
.events .event-status[data-state="live"] { background: #874f35; border-color: #874f35; color: #fff; }
.event-scene { position: relative; width: 100%; aspect-ratio: 1.67; margin-top: 21px; overflow: hidden; border: 1px solid rgba(47,79,114,.24); border-radius: 3px 43px 3px 22px; background: #d2dfeb; }
.event-card-gohanora .event-scene { border-radius: 43px 3px 22px 3px; background: #31445e; }
.event-card-hwanggamje .event-scene { border-radius: 3px 25px 3px 43px; background: #e5ebee; }
.event-scene img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-scene-seal { position: absolute; right: 12px; bottom: 12px; display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(28,58,92,.48); border-radius: 50%; background: rgba(245,248,248,.9); color: #1e4268; font-family: 'Noto Serif KR', serif; font-size: 19px; font-weight: 600; line-height: 1; }
.event-card-gohanora .event-scene-seal { color: #755637; border-color: rgba(105,76,51,.55); }
.events .event-main { margin-top: 22px; }
.events .event-main h3 { font-size: clamp(35px, 3vw, 46px); }
.events .event-main > p:last-child { font-size: 15px; line-height: 1.72; }
.event-date { margin: 25px 0 27px; color: #2f567c; font-size: 13px; font-weight: 700; line-height: 1.6; }
.event-date span { display: block; color: #637d96; font-size: 12px; font-weight: 500; }
.events .event-path { padding-top: 15px; }
.events .event-path a { min-height: 44px; grid-template-columns: 22px minmax(0, 1fr) 20px; gap: 7px; }
.events .event-path a strong { font-size: 13px; }
.events .event-path > p { font-size: 11px; }
@media (max-width: 1080px) {
  .events .event-list { grid-template-columns: 1fr; }
  .events .event-card { min-height: 0; padding: 28px 30px; }
  .event-scene { aspect-ratio: 2.15; }
  .events .event-main { margin-top: 24px; }
  .event-date span { display: inline; }
}

/* The archive treats the organization as a compact directory. */
.archive { position: relative; padding: 0; border: 0; background: var(--mist-deep); }
.archive-inner { position: relative; z-index: 1; padding-top: 122px; padding-bottom: 150px; }
.archive-heading { margin-bottom: 37px; }
.archive-heading > p { color: #66758a; }
.people-story { border-color: #b8cbdc; background: #f7fafc; }
.people-index { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); border-top: 3px solid #315782; border-radius: 4px 54px 4px 38px; }
.people-index-intro { display: flex; flex-direction: column; min-height: 325px; padding: 36px 42px 37px; border-right: 1px solid #cbd4dc; }
.people-index-intro .eyebrow { margin: 0; color: #587493; }
.people-index-intro h3 { margin: 37px 0 18px; color: #1b2d49; font-family: 'Noto Serif KR', serif; font-size: clamp(27px, 2.9vw, 39px); font-weight: 600; line-height: 1.45; letter-spacing: -.07em; }
.people-index-intro > p:last-child { margin: auto 0 0; color: #64748a; font-size: 13px; line-height: 1.7; }
.people-index-list { display: grid; grid-template-rows: repeat(3, 1fr); }
.people-index-list a { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; gap: 14px; min-height: 108px; padding: 20px 32px; color: #203858; transition: background-color .2s ease; }
.people-index-list a + a { border-top: 1px solid #d8e0e7; }
.people-index-list a:hover { background: #edf1f4; }
.people-index-list a:focus-visible { outline: 2px solid #284d84; outline-offset: -3px; }
.people-index-list a > span:first-child { color: #7188a2; font-size: 12px; }
.people-index-list strong { font-family: 'Noto Serif KR', serif; font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.05em; }
.people-index-list a > span:last-child { color: #5f7894; font-size: 12px; white-space: nowrap; }
.chuseok-story { margin-top: 35px; border-top: 3px solid #315782; border-radius: 48px 4px 42px 4px; background: #dce8f2; color: #1b2d49; }
.chuseok-story::before { display: none; }
.chuseok-copy .eyebrow { color: #597491; }
.chuseok-date { color: #637891; }
.chuseok-copy h3 { font-size: clamp(40px, 4.4vw, 63px); }
.chuseok-copy > p:not(.eyebrow) { color: #4e6177; }
.chuseok-copy .hero-link { color: #284d84; }
.chuseok-poster, .chuseok-poster:hover { border-color: #c3ced7; box-shadow: none; transform: none; }
.archive-links { gap: 0; margin-top: 27px; border-top: 1px solid #a9b9c8; }
.archive-links a, .archive-links a:nth-child(2) { min-height: 155px; padding: 24px 18px; border-bottom: 1px solid #a9b9c8; background: transparent; color: #1b2d49; }
.archive-links a:first-child { border-right: 1px solid #a9b9c8; }
.archive-links a:hover { background: #edf1f3; }
.archive-links span { color: #66809c; }
.archive-links b { color: #42658f; }
.archive-all-link { display: flex; align-items: center; gap: 24px; min-height: 88px; margin-top: 19px; padding: 16px 26px; border-radius: 3px 27px 3px 19px; background: #294f7c; color: #f6f4ee; }
.archive-all-link span { color: #b5d1e4; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.archive-all-link strong { margin-left: auto; font-family: 'Noto Serif KR', serif; font-size: 20px; font-weight: 600; letter-spacing: -.05em; }
.archive-all-link b { font-size: 20px; font-weight: 400; }
.archive-all-link:hover { background: #37638d; }

/* The introduction keeps one flowing edge as 청랑's signature. */
.section-flow { position: absolute; z-index: 0; right: 0; bottom: -1px; left: 0; height: 104px; overflow: hidden; pointer-events: none; }
.section-flow svg { display: block; width: 100%; height: 100%; }
.section-flow .flow-echo { fill: none; stroke: #9ab7d1; stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.section-flow .flow-fill { fill: #e8edf2; }
.flow-to-lexicon .flow-fill { fill: #deebf3; }
.flow-lexicon-to-events, .flow-to-archive, .flow-to-connect { display: none; }

.connect { background: #284d84; }
.connect::before { position: absolute; z-index: 0; inset: 0 0 0 auto; width: min(67%, 920px); background: url('/graphics/blue-current-wash-2026.webp') right center / contain no-repeat; opacity: .42; content: ''; pointer-events: none; }
.connect-inner { padding-top: 108px; padding-bottom: 112px; }
.connect h2 { font-size: clamp(48px, 5vw, 68px); }
.connect-watermark { display: none; }
.connect-scholar { top: 30%; right: 12%; }
.site-footer { background: #14294f; }

/* Event pages share the same typographic treatment as the home page. */
.detail-page { background: #f6f4ee; }
.detail-hero { min-height: 510px; background: #1c3969; }
.detail-hero-art { display: block; background: linear-gradient(90deg, rgba(20,41,79,.88), rgba(20,41,79,.52) 56%, rgba(20,41,79,.14)), url('/graphics/academy-night-2026.webp') right 52% / cover no-repeat; opacity: .68; }
.detail-hero-gohanora .detail-hero-art { background-position: center, right 52%; filter: none; }
.detail-hero-inner { position: relative; z-index: 1; padding-top: 142px; padding-bottom: 88px; }
.detail-hero-mark { position: absolute; top: 27%; right: 6%; color: rgba(237,244,251,.10); font-family: 'Noto Serif KR', serif; font-size: clamp(88px, 12vw, 178px); font-weight: 700; letter-spacing: -.1em; white-space: nowrap; pointer-events: none; }
.detail-hero-gohanora .detail-hero-mark { font-size: clamp(72px, 10vw, 146px); }
.detail-back { margin-bottom: 39px; }
.detail-hanja { display: flex; align-items: center; gap: 11px; color: #b6c8dc; font-size: 15px; }
.detail-hero h1 { font-size: clamp(62px, 7vw, 88px); }
.detail-hero-copy { color: #dce6f0; font-size: 16px; }
.detail-layout { padding-top: 105px; padding-bottom: 106px; }
.detail-story h2 { font-size: clamp(39px, 3.8vw, 54px); }
.detail-story > p:not(.eyebrow) { color: #4f5e72; font-size: 16px; line-height: 1.9; }
.detail-info { border-color: #c1cbd5; box-shadow: none; }
.detail-status { border-radius: 0; border-color: #c2cfdb; background: #edf1f4; color: #395878; }
.button-dark { background: #284d84; }
.detail-chapters { padding-bottom: 110px; }
.chapter-grid { border-color: #aebecb; }
.detail-gallery { background: #e8edf2; color: #1b2d49; }
.detail-gallery .eyebrow, .detail-poster-feature span { color: #587493; }
.detail-gallery-caption, .detail-poster-feature p { color: #50657b; }
.detail-gallery .hero-link { color: #284d84; }
.detail-record { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; min-height: 285px; padding: 42px 54px; border-top: 3px solid #315782; border-bottom: 1px solid #b9c8d5; background: #f6f4ee; }
.detail-record-copy { max-width: 510px; }
.detail-record-copy > span { color: #587493; font-size: 11px; letter-spacing: .13em; }
.detail-record-copy p { margin: 25px 0 24px; color: #435874; font-family: 'Noto Serif KR', serif; font-size: clamp(19px, 2vw, 25px); line-height: 1.65; word-break: keep-all; }
.detail-record > strong { padding-left: 30px; color: #a5b8ca; font-family: 'Noto Serif KR', serif; font-size: clamp(70px, 10vw, 140px); font-weight: 600; letter-spacing: -.12em; white-space: nowrap; }
.detail-poster-feature > a:hover img { transform: none; }
.detail-next { border-top: 1px solid #bdc9d3; }
.detail-info .guide-entry-link { display: flex; justify-content: space-between; gap: 12px; width: fit-content; margin-top: 16px; padding-bottom: 4px; border-bottom: 1px solid #7894aa; color: #315b80; font-size: 13px; font-weight: 700; }
.detail-info .guide-entry-link:hover { color: #15395f; }
.primary-nav { gap: clamp(14px, 1.8vw, 27px); }

@media (max-width: 1100px) {
  .hero-scholar { right: 7%; }
  .hero h1 { max-width: 55%; font-size: clamp(50px, 5.4vw, 70px); }
  .hero-description { max-width: 48%; }
}

@media (max-width: 900px) {
  .section-shell { width: min(100% - 64px, 1240px); }
  .current-note-layout { grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr); gap: 30px; }
  .current-note-sheet { padding-right: 26px; padding-left: 26px; }
  .hero-inner { width: min(100% - 80px, 1240px); min-height: 0; padding-top: 125px; padding-bottom: 70px; }
  .hero h1, .hero-description { max-width: 100%; }
  .hero-scholar { position: relative; top: auto; right: auto; bottom: auto; left: auto; width: 86px; height: 129px; margin: 8px 7px 0 auto; }
  .hero-actions { margin-top: 34px; }
  .hero-status { margin-top: 29px; }
  .hero-shade { background: linear-gradient(90deg, rgba(20,41,79,.93), rgba(20,41,79,.74) 58%, rgba(20,41,79,.30)); }
  .intro-inner { gap: 6%; }
  .connect-scholar { right: 4%; }
}

@media (max-width: 680px) {
  .section-shell { width: calc(100% - 40px); }
  .current-note-layout { display: block; padding-top: 54px; padding-bottom: 64px; }
  .current-note-heading h2 { margin: 18px 0 12px; font-size: 43px; }
  .current-note-heading h2 br { display: none; }
  .current-note-heading > p:not(.eyebrow) { font-size: 14px; }
  .current-note-heading > p:not(.eyebrow) br { display: none; }
  .current-note-edition { display: none; }
  .current-note-sheet { margin-top: 26px; padding: 23px 22px 25px; border-radius: 3px 31px 3px 22px; }
  .current-note-topline { padding-bottom: 16px; }
  .current-note-name { margin-top: 24px; }
  .current-note-sheet h3 { font-size: 30px; }
  .current-note-copy { margin: 14px 0 22px; font-size: 15px; }
  .current-note-details { gap: 12px; }
  .current-note-details strong { font-size: 14px; }
  .current-note-links { gap: 5px 18px; margin-top: 18px; }
  .current-note-links a { min-height: 44px; }
  .header-inner { height: 69px; }
  .primary-nav { gap: 0; background: #14294f; }
  .hero { min-height: 0; padding: 0; }
  .hero-art { background-size: auto 62%; background-position: 72% bottom; opacity: .68; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36%); mask-image: linear-gradient(to bottom, transparent 0, #000 36%); }
  .hero-shade { background: linear-gradient(180deg, #14294f 4%, rgba(20,41,79,.96) 43%, rgba(20,41,79,.68) 100%); }
  .hero-inner { width: calc(100% - 40px); padding: 108px 0 57px; }
  .hero h1 { margin-top: 23px; margin-bottom: 18px; font-size: clamp(42px, 10.5vw, 57px); line-height: 1.36; }
  .hero-description { font-size: 14px; line-height: 1.8; }
  .hero-scholar { width: 76px; height: 114px; margin: 10px 8px 0 auto; }
  .hero-actions { margin-top: 30px; }
  .hero-replay { margin-top: 15px; }
  .hero-status { width: 100%; margin-top: 28px; padding: 13px 105px 13px 0; }
  .highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .highlights a { min-height: 83px; justify-content: flex-start; padding-left: 15px; gap: 13px; font-size: 12px; }
  .highlights a:nth-child(2) { border-right: 0; }
  .highlights a:nth-child(-n+2) { border-bottom: 1px solid #c7d0dc; }
  .highlight-circle { font-size: 21px; }
  .intro-inner { grid-template-columns: 1fr; gap: 26px; padding-top: 83px; padding-bottom: 181px; }
  .section-heading h2 { font-size: clamp(32px, 8.2vw, 43px); }
  .intro-copy { padding-top: 0; }
  .intro-copy p { font-size: 14px; }
  .intro-scholar { right: 0; bottom: 13px; width: 93px; height: 140px; }
  .events-inner { padding-top: 83px; padding-bottom: 108px; }
  .events-topline > p { text-align: left; }
  .event-card, .event-card-gohanora { min-height: 0; padding: 25px 22px 26px; }
  .event-main { margin-top: 45px; }
  .event-main h3 { font-size: 43px; }
  .event-keywords li { font-size: 12px; }
  .archive-inner { padding-top: 86px; padding-bottom: 111px; }
  .archive::before { top: 10px; right: 20px; width: 88px; opacity: .65; }
  .section-flow { height: 62px; }
  .event-card-shinbangrye { border-radius: 4px 34px 4px 26px; }
  .event-card-gohanora { border-radius: 34px 4px 26px 4px; }
  .people-index { border-radius: 4px 34px 4px 28px; }
  .chuseok-story { border-radius: 32px 4px 32px 4px; }
  .people-index { grid-template-columns: 1fr; }
  .people-index-intro { min-height: 0; padding: 28px 23px 30px; border-right: 0; border-bottom: 1px solid #cbd4dc; }
  .people-index-intro h3 { margin: 25px 0 16px; font-size: 30px; }
  .people-index-intro > p:last-child { margin: 0; }
  .people-index-list a { grid-template-columns: 30px minmax(0, 1fr) auto; gap: 8px; min-height: 86px; padding: 16px 19px; }
  .people-index-list strong { font-size: 20px; }
  .people-index-list a > span:last-child { font-size: 10px; }
  .chuseok-story { margin-top: 28px; }
  .chuseok-copy { padding: 39px 24px 12px; }
  .chuseok-copy h3 { font-size: clamp(38px, 10vw, 52px); }
  .archive-links a:first-child { border-right: 0; }
  .archive-links a { min-height: 120px; }
  .archive-all-link { align-items: flex-start; flex-direction: column; gap: 7px; padding: 22px 23px; }
  .archive-all-link strong { margin-left: 0; }
  .archive-all-link b { align-self: flex-end; margin-top: -25px; }
  .connect-inner { padding-top: 86px; padding-bottom: 93px; }
  .connect::before { top: auto; bottom: -12px; width: 100%; height: 390px; background-position: right bottom; opacity: .35; }
  .connect h2 { font-size: clamp(46px, 11vw, 56px); }
  .connect-scholar { position: relative; top: auto; right: auto; width: 96px; height: 144px; margin: 18px 10px -44px auto; }
  .detail-hero { min-height: 470px; }
  .detail-hero-art { background-position: center, 78% center; opacity: .42; }
  .detail-hero-mark { top: 22%; right: -4%; font-size: 90px; }
  .detail-hero-gohanora .detail-hero-mark { font-size: 67px; }
  .detail-hero-inner { padding-top: 112px; padding-bottom: 72px; }
  .detail-back { margin-bottom: 48px; }
  .detail-hero h1 { font-size: 65px; }
  .detail-hero-copy { font-size: 15px; }
  .detail-layout { padding-top: 80px; padding-bottom: 86px; }
  .detail-info { padding: 28px 23px 31px; }
  .detail-gallery { padding-top: 78px; padding-bottom: 85px; }
  .detail-record { min-height: 0; padding: 30px 24px 33px; }
  .detail-record-copy p { margin: 18px 0 19px; font-size: 19px; }
  .detail-record > strong { display: none; }
}

@media (max-width: 680px) {
  .annual-guide { gap: 8px; margin-bottom: 16px; }
  .annual-guide span { display: block; padding-top: 13px; }
  .annual-guide b { display: block; font-size: 17px; }
  .annual-guide small { display: block; margin-top: 1px; font-size: 10px; line-height: 1.4; }
  .annual-walker { width: 39px; height: 52px; }
  .events .event-card { padding: 23px 21px 24px; }
  .event-scene { aspect-ratio: 1.67; margin-top: 17px; }
  .events .event-main { margin-top: 21px; }
  .events .event-main h3 { font-size: 39px; }
  .event-date { margin: 20px 0 22px; }
  .event-date span { display: block; }
}

/* The scholars keep their individual gestures and open one shared field note. */
.scholar-guide[hidden] { display: none; }
.scholar-guide { position: fixed; z-index: 50; left: max(24px, calc((100vw - 1240px)/2)); bottom: max(24px, env(safe-area-inset-bottom)); width: min(350px, calc(100vw - 40px)); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px 27px 25px; border: 1px solid #a9bbcc; border-top: 4px solid #315782; border-radius: 4px 31px 4px 23px; background: #f7f7f2; box-shadow: 0 16px 44px rgba(7,24,50,.22); color: #172d4b; animation: scholar-note-in .24s ease-out both; }
.scholar-guide-kicker { display: flex; align-items: center; gap: 9px; margin: 0 42px 12px 0; color: #486b92; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.scholar-guide-kicker::before { display: block; width: 23px; height: 23px; flex: 0 0 23px; background: url('/graphics/brand-seal.svg') center / contain no-repeat; content: ''; }
.scholar-guide h2 { margin: 0 40px 11px 0; font-size: 26px; line-height: 1.3; }
.scholar-guide-copy { margin: 0 0 20px; color: #4a5d75; font-size: 13px; line-height: 1.75; word-break: keep-all; }
.scholar-guide-close { position: absolute; top: 13px; right: 14px; display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: #315782; font: inherit; font-size: 27px; line-height: 1; cursor: pointer; }
.scholar-guide-close:hover { background: #e6edf2; }
.scholar-guide-link { display: flex; align-items: center; justify-content: space-between; min-height: 47px; padding: 0 15px; border-radius: 2px 15px 2px 12px; background: #24486f; color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; }
.scholar-guide-link:hover { background: #18375c; }
.scholar-guide-link span { font-size: 18px; }
.scholar-guide :focus-visible { outline: 3px solid #bd9043; outline-offset: 2px; }
@keyframes scholar-note-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 680px) {
  .scholar-guide { right: calc(14px + env(safe-area-inset-right)); bottom: calc(14px + env(safe-area-inset-bottom)); left: calc(14px + env(safe-area-inset-left)); width: auto; max-height: calc(100dvh - 28px - env(safe-area-inset-bottom)); padding: 19px 22px 22px; }
  .scholar-guide[data-placement="top"], .scholar-guide[data-placement="side-top"] { top: calc(83px + env(safe-area-inset-top)); bottom: auto; }
  .scholar-guide[data-placement="side"], .scholar-guide[data-placement="side-top"] { right: auto; width: min(230px, calc(100vw - 134px)); padding-right: 17px; padding-left: 17px; }
  .scholar-guide[data-placement="side"] .scholar-guide-link, .scholar-guide[data-placement="side-top"] .scholar-guide-link { gap: 8px; padding-right: 11px; padding-left: 11px; }
  .scholar-guide h2 { font-size: 23px; }
  .scholar-guide-copy { margin-bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .scholar-guide { animation: none; }
}

@media (max-width: 900px) {
  .lexicon-inner { padding-top: 96px; padding-bottom: 124px; }
  .lexicon-intro { grid-template-columns: minmax(0, 1fr) minmax(180px, 280px); gap: 28px; }
  .lexicon-chapter { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; }
  .lexicon-chapter-heading img { width: min(65%, 190px); }
}
@media (max-width: 680px) {
  .lexicon-inner { padding-top: 76px; padding-bottom: 94px; }
  .lexicon-intro { display: block; margin-bottom: 13px; padding-bottom: 29px; }
  .lexicon-intro .eyebrow { margin-bottom: 21px; }
  .lexicon-intro h2 { margin-bottom: 13px; font-size: clamp(39px, 10vw, 48px); }
  .lexicon-intro > p:not(.eyebrow) { max-width: 360px; margin: 0; font-size: 15px; }
  .lexicon-chapter { display: block; padding: 28px 0 33px; }
  .lexicon-chapter:first-child { padding-top: 25px; }
  .lexicon-chapter-heading { min-height: 151px; }
  .lexicon-chapter-heading h3 { font-size: clamp(28px, 7.4vw, 34px); }
  .lexicon-chapter-heading p { max-width: 185px; margin-top: 7px; font-size: 13px; }
  .lexicon-chapter-heading img { right: -8px; bottom: -2px; width: min(48%, 160px); }
  .lexicon-chapter-autumn .lexicon-chapter-heading img { width: min(48%, 160px); }
  .lexicon-chapter-winter .lexicon-chapter-heading img { width: min(46%, 150px); }
  .lexicon-entry summary { min-height: 73px; gap: 10px; padding: 12px 3px 12px 0; }
  .lexicon-term { gap: 1px 10px; }
  .lexicon-term strong { font-size: 27px; line-height: 1.2; }
  .lexicon-term small { font-size: 12px; }
  .lexicon-plus { font-size: 24px; }
  .lexicon-definition { padding: 0 27px 21px 0; }
  .lexicon-definition p { font-size: 15px; }
}
