:root {
  --teal: #173b37;
  --teal-2: #234f49;
  --paper: #f4f1ea;
  --white: #fff;
  --ink: #2b2f2e;
  --muted: #68716e;
  --line: #d4d9d5;
  --max: 1280px;
  --serif: "Nanum Myeongjo", "Noto Serif KR", "Batang", serif;
  --sans: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  word-break: keep-all;
}

a {
  color: inherit;
}

a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 12px 16px;
  background: var(--white);
  color: var(--teal);
  border: 2px solid var(--teal);
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 241, 234, 0.96);
  border-bottom: 1px solid var(--teal);
}

.header-inner {
  width: min(100%, var(--max));
  min-height: 82px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: minmax(190px, 1fr) auto auto;
  align-items: center;
  gap: 40px;
}

.wordmark {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  color: var(--teal);
  text-decoration: none;
}

.wordmark-ko {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.wordmark-en {
  margin-top: 5px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 13px;
  font-weight: 700;
}

.main-nav a,
.header-call {
  text-decoration: none;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.header-call {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 16px;
  color: var(--white);
  background: var(--teal);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

main {
  overflow: hidden;
}

.hero {
  width: min(100%, var(--max));
  min-height: 690px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(340px, 0.6fr);
  border-right: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}

.hero-copy {
  padding: 96px 64px 72px;
  border-right: 1px solid var(--teal);
  display: flex;
  flex-direction: column;
}

.kicker,
.section-number,
.route-kicker,
.note-category {
  margin: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.hero h1 {
  max-width: 760px;
  margin: 56px 0 36px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(54px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -0.08em;
  line-height: 0.98;
}

.hero-lead {
  max-width: 620px;
  margin: auto 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.8;
}

.today-panel {
  align-self: end;
  padding: 52px 38px 46px;
  background: var(--white);
  border-top: 1px solid var(--teal);
}

.today-panel h2 {
  margin: 20px 0 30px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 400;
}

.visit-facts {
  margin: 0 0 32px;
}

.visit-facts div {
  padding: 17px 0;
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.visit-facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.visit-facts dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.visit-facts dd {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
}

.action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.button {
  min-height: 48px;
  padding: 12px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--teal);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
}

.button-primary {
  color: var(--white);
  background: var(--teal);
}

.button-outline {
  color: var(--teal);
  background: transparent;
}

.button:hover,
.button:focus-visible,
.header-call:hover,
.header-call:focus-visible {
  outline: 3px solid rgba(23, 59, 55, 0.22);
  outline-offset: 2px;
}

.microcopy {
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.note-related {
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.note-related li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.note-related a {
  font-family: var(--serif);
  text-decoration: none;
}

.note-related a:hover,
.note-related a:focus-visible,
.library-row a:hover,
.library-row a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.library-page,
.article-page {
  width: min(100%, var(--max));
  margin: 0 auto;
  background: var(--paper);
  border-right: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}

.library-hero,
.article-hero {
  padding: 88px 64px 72px;
  border-bottom: 1px solid var(--teal);
}

.library-hero h1,
.article-hero h1 {
  max-width: 980px;
  margin: 34px 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 86px);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 1.05;
}

.library-hero > p:last-child,
.article-deck {
  max-width: 760px;
  margin: 0;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.85;
}

.library-section {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  border-bottom: 1px solid var(--teal);
}

.library-heading {
  padding: 54px 40px;
  border-right: 1px solid var(--teal);
}

.library-heading h2 {
  margin: 22px 0 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
}

.library-row {
  padding: 28px 36px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.library-row:last-child {
  border-bottom: 0;
}

.library-row > span,
.library-row > div > p:first-child {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.library-row h3 {
  margin: 8px 0 10px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  line-height: 1.4;
}

.library-row h3 a {
  text-decoration: none;
}

.library-row p {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.article-meta {
  margin: 38px 0 0;
  display: flex;
  gap: 36px;
}

.article-meta div {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.article-meta dt {
  color: var(--muted);
  font-size: 11px;
}

.article-meta dd {
  margin: 3px 0 0;
  font-size: 13px;
  font-weight: 700;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.38fr) minmax(0, 1fr);
}

.article-scope {
  align-self: start;
  padding: 42px 32px;
  border-right: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
}

.article-scope h2 {
  margin: 20px 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.article-scope p {
  color: var(--muted);
  font-size: 13px;
}

.article-body {
  max-width: 820px;
  padding: 64px 72px 86px;
  background: var(--white);
}

.article-body > p {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.95;
}

.article-body > h2 {
  margin: 64px 0 24px;
  padding-top: 24px;
  color: var(--teal);
  border-top: 1px solid var(--teal);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
  line-height: 1.45;
}

.article-source-note {
  margin-top: 72px;
  padding: 32px 0 0;
  border-top: 2px solid var(--teal);
}

.article-source-note h2 {
  margin: 0 0 18px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
}

.article-source-note p {
  color: var(--muted);
  font-size: 13px;
}

.article-return {
  padding: 28px 72px;
  border-top: 1px solid var(--teal);
}

@media (max-width: 760px) {
  .library-hero,
  .article-hero {
    padding: 58px 24px 48px;
  }

  .library-hero h1,
  .article-hero h1 {
    font-size: 43px;
  }

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

  .library-heading,
  .article-scope {
    padding: 32px 24px;
    border-right: 0;
    border-bottom: 1px solid var(--teal);
  }

  .library-row {
    padding: 24px;
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }

  .library-row h3 {
    font-size: 21px;
  }

  .article-meta {
    display: grid;
    gap: 12px;
  }

  .article-body {
    padding: 44px 24px 64px;
  }

  .article-body > p {
    font-size: 16px;
  }

  .article-body > h2 {
    margin-top: 48px;
    font-size: 25px;
  }

  .article-return {
    padding: 24px;
  }
}

.hours-band {
  padding: 70px max(24px, calc((100vw - var(--max)) / 2 + 24px));
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 64px;
  color: var(--white);
  background: var(--teal);
}

.section-heading h2,
.first-intro h2,
.location h2 {
  margin: 22px 0 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.12;
}

.section-heading.inverse h2 {
  color: var(--white);
}

.hours-grid {
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

.hours-row {
  min-height: 92px;
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
}

.hours-row span {
  font-family: var(--serif);
  font-size: 21px;
}

.hours-row strong {
  font-size: 18px;
}

.hours-row em {
  font-size: 13px;
  font-style: normal;
  opacity: 0.75;
}

.hours-row.closed {
  color: var(--teal);
  background: var(--paper);
  padding: 0 20px;
}

.care-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  border-right: 1px solid var(--teal);
  border-left: 1px solid var(--teal);
}

.care-section > .section-heading {
  padding: 96px 48px;
  border-right: 1px solid var(--teal);
}

.section-heading > p:last-child {
  max-width: 440px;
  margin: 36px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.question-list article {
  min-height: 158px;
  padding: 30px 40px;
  display: grid;
  grid-template-columns: 56px 170px 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.question-list article:last-child {
  border-bottom: 0;
}

.question-list article > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.question-list h3 {
  margin: 0;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
}

.question-list p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.first-visit {
  border-top: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
  background: var(--white);
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(0, 1.2fr);
}

.first-intro {
  padding: 88px max(32px, calc((100vw - var(--max)) / 2 + 32px));
  padding-right: 50px;
  background: var(--paper);
  border-right: 1px solid var(--teal);
}

.prepare-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.prepare-list li {
  min-height: 180px;
  padding: 38px max(32px, calc((100vw - var(--max)) / 2 + 32px)) 38px 48px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
}

.prepare-list li:last-child {
  border-bottom: 0;
}

.prepare-list li > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.prepare-list h3 {
  margin: 0 0 10px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
}

.prepare-list p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
}

.editorial-island {
  width: min(100%, var(--max));
  margin: 96px auto;
  display: grid;
  grid-template-columns: 0.42fr 1.1fr 0.48fr;
  border: 1px solid var(--teal);
  background: var(--white);
}

.note-label,
.featured-note,
.note-side {
  padding: 42px;
}

.note-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--white);
  background: var(--teal);
}

.note-label > span {
  font-family: var(--serif);
  font-size: 25px;
}

.featured-note {
  border-right: 1px solid var(--teal);
}

.note-category {
  color: var(--muted);
}

.featured-note h2 {
  margin: 34px 0 28px;
  color: var(--teal);
  font-family: var(--serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 1.18;
}

.featured-note > p:not(.note-category) {
  max-width: 680px;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.8;
}

.text-link {
  display: inline-block;
  margin-top: 28px;
  color: var(--teal);
  font-weight: 800;
  text-underline-offset: 5px;
}

.note-side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.note-side p {
  margin: 0 0 38px;
  color: var(--muted);
  font-size: 14px;
}

.location {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  border-top: 1px solid var(--teal);
}

.location-main {
  padding: 90px max(36px, calc((100vw - var(--max)) / 2 + 36px));
  padding-right: 64px;
  border-right: 1px solid var(--teal);
}

.location-address {
  margin: 34px 0;
  font-family: var(--serif);
  font-size: 21px;
}

.access-warning {
  max-width: 520px;
  margin: 0 0 34px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.parking-route {
  padding: 90px max(36px, calc((100vw - var(--max)) / 2 + 36px));
  padding-left: 64px;
  color: var(--white);
  background: var(--teal);
}

.parking-route h3 {
  max-width: 650px;
  margin: 24px 0 44px;
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 1.2;
}

.route-line {
  height: 54px;
  display: flex;
  align-items: center;
}

.route-point {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid var(--white);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
}

.route-point.end {
  color: var(--teal);
  background: var(--paper);
}

.route-path {
  height: 1px;
  flex: 1;
  background: rgba(255,255,255,0.7);
}

.route-crossing {
  width: 30px;
  height: 14px;
  margin: 0 12px;
  background: repeating-linear-gradient(90deg, var(--white) 0 3px, transparent 3px 6px);
}

.parking-route ol {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.parking-route li {
  padding: 15px 0;
  display: grid;
  grid-template-columns: 86px 1fr;
  border-top: 1px solid rgba(255,255,255,0.32);
}

.parking-route li:last-child {
  border-bottom: 1px solid rgba(255,255,255,0.32);
}

.parking-route li span {
  opacity: 0.82;
}

.parking-note {
  margin: 24px 0 0;
  font-size: 13px;
}

.payment {
  min-height: 112px;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2 + 24px));
  display: flex;
  align-items: center;
  gap: 42px;
  border-top: 1px solid var(--teal);
  border-bottom: 1px solid var(--teal);
}

.payment p {
  margin-right: auto;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.payment strong {
  color: var(--teal);
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}

.payment span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  padding: 70px max(24px, calc((100vw - var(--max)) / 2 + 24px)) 90px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  color: var(--white);
  background: var(--teal);
}

.footer-wordmark {
  font-family: var(--serif);
  font-size: 28px;
}

.site-footer p {
  color: rgba(255,255,255,0.75);
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 5px;
}

.footer-note {
  grid-column: 1 / -1;
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.28);
  font-size: 12px;
}

.mobile-dock {
  display: none;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 600px;
    border-right: 0;
  }

  .today-panel {
    border-top: 1px solid var(--teal);
  }

  .hours-band,
  .care-section,
  .first-visit,
  .location {
    grid-template-columns: 1fr;
  }

  .care-section > .section-heading,
  .first-intro,
  .location-main {
    border-right: 0;
    border-bottom: 1px solid var(--teal);
  }

  .editorial-island {
    width: calc(100% - 48px);
    grid-template-columns: 0.35fr 1fr;
  }

  .note-side {
    grid-column: 1 / -1;
    border-top: 1px solid var(--teal);
  }
}

@media (max-width: 680px) {
  body {
    padding-bottom: 66px;
  }

  .site-header {
    position: relative;
  }

  .header-inner {
    min-height: 72px;
    padding: 0 18px;
  }

  .header-call {
    display: none;
  }

  .hero {
    border-right: 0;
    border-left: 0;
  }

  .hero-copy {
    min-height: 540px;
    padding: 54px 22px 38px;
  }

  .hero h1 {
    margin-top: 48px;
    font-size: clamp(48px, 15vw, 68px);
  }

  .hero-lead {
    font-size: 17px;
  }

  .today-panel {
    padding: 40px 22px;
  }

  .action-row .button {
    flex: 1;
  }

  .hours-band {
    padding: 56px 22px;
    gap: 38px;
  }

  .hours-row {
    padding: 20px 0;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .hours-row.closed {
    margin-top: 14px;
    padding: 20px;
  }

  .care-section {
    border-right: 0;
    border-left: 0;
  }

  .care-section > .section-heading,
  .first-intro,
  .location-main,
  .parking-route {
    padding: 58px 22px;
  }

  .question-list article {
    min-height: 0;
    padding: 28px 22px;
    grid-template-columns: 38px 1fr;
    gap: 10px;
  }

  .question-list p {
    grid-column: 2;
  }

  .first-visit {
    grid-template-columns: 1fr;
  }

  .prepare-list li {
    min-height: 0;
    padding: 30px 22px;
    grid-template-columns: 42px 1fr;
  }

  .editorial-island {
    width: calc(100% - 32px);
    margin: 64px auto;
    grid-template-columns: 1fr;
  }

  .note-label,
  .featured-note,
  .note-side {
    padding: 30px 24px;
  }

  .note-label {
    min-height: 130px;
  }

  .featured-note {
    border-right: 0;
    border-bottom: 1px solid var(--teal);
  }

  .featured-note h2 {
    font-size: 36px;
  }

  .location {
    grid-template-columns: 1fr;
  }

  .parking-route {
    padding-bottom: 68px;
  }

  .payment {
    padding: 34px 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .payment p {
    margin: 0 0 12px;
  }

  .site-footer {
    padding: 54px 22px 68px;
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-note {
    grid-column: auto;
  }

  .mobile-dock {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    height: 66px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--white);
  }

  .mobile-dock a {
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--teal);
    text-decoration: none;
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-dock a + a {
    color: var(--teal);
    background: var(--paper);
    border-left: 1px solid var(--teal);
  }
}

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

@media print {
  .site-header,
  .mobile-dock {
    display: none;
  }

  body {
    background: var(--white);
  }
}
