@font-face {
  font-family: 'Dive Sans';
  src: url('sans-regular.woff') format('woff');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Dive Sans';
  src: url('sans-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Dive Serif';
  src: url('serif-bold.woff') format('woff');
  font-weight: 700;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f7f5ef;
  --white: #fffefa;
  --ink: #192c3f;
  --navy: #102438;
  --blue: #253e54;
  --faded: #526471;
  --line: #e1dfd5;
  --gold: #805923;
  --warm-gold: #efce91;
  --sans: 'Dive Sans', 'Noto Sans CJK KR', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: 'Dive Serif', 'Noto Serif CJK KR', 'AppleMyungjo', Batang, serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  min-width: 0;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  overflow-wrap: anywhere;
  word-break: keep-all;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
button, a, input { -webkit-tap-highlight-color: #2e587333; }
:focus-visible { outline: 3px solid #a66d27; outline-offset: 4px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { flex: none; width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(1120px, calc(100% - 64px)); margin-inline: auto; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; padding: 12px 16px; background: var(--white); z-index: 2; }
.site-header { background: var(--white); border-bottom: 1px solid #e9e5da; }
.header-inner { height: 73px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.brand { display: inline-flex; gap: 11px; align-items: center; min-height: 44px; }
.brand-mark { display: block; flex: none; border-radius: 50%; }
.brand-name { display: grid; gap: 3px; line-height: 1; }
.brand-name strong { font-size: 17px; letter-spacing: -.055em; }
.brand-name > span { color: var(--faded); font-size: 9px; font-weight: 700; letter-spacing: .23em; }
.header-nav { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.header-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding-inline: 8px; font-weight: 700; font-size: 14px; }
.header-link:hover { color: var(--gold); }
.header-nav .language-link { border: 1px solid #e9e5da; border-radius: 9px; padding-inline: 10px; }
.header-nav .language-link:hover { border-color: currentColor; }
.collection { padding-top: 29px; }
.hero { isolation: isolate; position: relative; display: flex; align-items: center; min-height: 306px; overflow: hidden; border-radius: 23px; color: #fffaf0; background: var(--navy); }
.hero::before, .hero::after { position: absolute; content: ''; inset: 0; z-index: -1; }
.hero::before { left: 26%; background: #273b50 url('dawn-bible.webp') center 55% / cover no-repeat; }
.hero::after { background: linear-gradient(90deg, #102438 7%, #102438 20%, #102438ed 29%, #10243886 50%, transparent 76%); }
.hero-content { padding: 40px 54px 44px; }
.hero-kicker { display: flex; align-items: center; gap: 11px; margin: 0 0 12px; color: var(--warm-gold); font-size: 14px; font-weight: 700; letter-spacing: .055em; }
.hero-kicker::before { content: ''; width: 23px; height: 1px; background: currentColor; }
.hero h1 { font: 700 clamp(44px, 5vw, 70px)/1.2 var(--serif); letter-spacing: -.072em; margin: 0; }
.hero-description { margin: 19px 0 0; color: #f1eee5; font-size: 17px; line-height: 1.72; }
.directory { margin-top: 43px; }
.directory-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 440px); align-items: center; gap: 18px; }
.directory h2 { margin: 0; color: var(--navy); font: 700 32px/1.28 var(--serif); letter-spacing: -.075em; }
.search { position: relative; display: flex; align-items: center; min-width: 0; background: var(--white); border: 1px solid #d8d9d2; border-radius: 13px; box-shadow: 0 1px 3px #192c3f08; }
.search:focus-within { border-color: #9a794c; outline: 2px solid #c3a77d; outline-offset: 1px; }
.search-icon { position: absolute; left: 15px; color: #4b6377; font-size: 19px; pointer-events: none; }
.search input { appearance: none; width: 100%; min-width: 0; min-height: 50px; padding: 8px 45px 9px 46px; border: 0; outline: none; background: none; font-size: 16px; }
.search input:placeholder-shown { padding-right: 14px; }
.search input::placeholder { color: var(--faded); opacity: 1; }
.search input::-webkit-search-cancel-button { display: none; }
.clear-search { position: absolute; right: 3px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 8px; background: transparent; color: var(--blue); }
.clear-search:hover { background: #efeee6; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.topic-button { min-height: 44px; padding: 7px 16px; border: 1px solid #dddcd4; border-radius: 99px; background: var(--white); color: var(--blue); font-weight: 700; font-size: 14px; white-space: nowrap; }
.topic-button:hover { border-color: #9b865f; }
.topic-button[aria-pressed='true'] { background: var(--navy); border-color: var(--navy); color: #fffaf0; }
.result-count { margin: 21px 0 9px; color: var(--faded); font-size: 14px; font-weight: 700; }
.question-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 0; margin: 0; list-style: none; }
.question-item { min-width: 0; }
.question-card { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 17px; height: 100%; min-height: 120px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); box-shadow: 0 2px 4px #192c3f06; transition: border-color .15s, background .15s; }
.question-card:hover { border-color: #ae9774; background: #fffaf0; }
.question-number { display: grid; place-items: center; width: 49px; height: 49px; border-radius: 12px; background: #f1e9d9; color: var(--gold); font: 700 22px Georgia, serif; }
.question-topic { display: block; margin-bottom: 4px; color: var(--gold); font-size: 12px; font-weight: 700; }
.question-title { margin: 0; color: var(--ink); font-size: 18px; line-height: 1.5; letter-spacing: -.035em; }
.question-reference { display: flex; align-items: center; gap: 5px; margin-top: 7px; color: var(--faded); font-size: 13px; line-height: 1.4; }
.card-arrow { color: #687c8c; font-size: 16px; }
.empty { padding: 40px 20px; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: 16px; color: var(--faded); }
.empty .icon { width: 27px; height: 27px; }
.empty p { margin: 5px 0; }
.empty .empty-title { color: var(--ink); font-weight: 700; font-size: 19px; }
.secondary-button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 7px 14px; border: 1px solid #d9d8cd; border-radius: 10px; background: var(--white); color: var(--blue); font-weight: 700; font-size: 14px; }
.secondary-button:hover { border-color: #9b865f; background: #fffbf1; }
.empty .secondary-button { margin-top: 15px; }
.detail { max-width: 808px; padding-top: 21px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--blue); font-weight: 700; font-size: 14px; }
.back-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.reader { margin-top: 10px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); padding: 34px 45px 40px; }
.reader-topline { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--gold); font-size: 14px; font-weight: 700; }
.reader-number { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 7px; background: #f1e9d9; }
.reader h1 { margin: 12px 0 16px; font: 700 clamp(28px, 4.7vw, 46px)/1.35 var(--serif); letter-spacing: -.064em; }
.reader-actions { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; }
.question-link-copy { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; max-width: 100%; }
.question-link-status { color: var(--blue); font-size: 14px; }
.header-copy { position: relative; }
.header-copy > button { min-width: 44px; padding-inline: 10px; }
.header-copy .question-link-status,
.header-copy .question-link-address { position: absolute; right: 0; z-index: 3; }
.header-copy .question-link-status {
  top: calc(100% + 6px);
  padding: 6px 10px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
}
.header-copy .question-link-address {
  top: calc(100% + 42px);
  width: min(25rem, calc(100vw - 34px));
  background: var(--white);
  color: var(--navy);
}
.question-link-status:empty { display: none; }
.question-link-address { width: min(100%, 26rem); padding: 8px; font: inherit; }
.reference-button { border-color: #cfcebf; background: #f7f3e8; }
.answer-box { margin: 24px 0 28px; padding: 21px 25px 23px; color: #fffbf2; background: var(--navy); border-radius: 14px; }
.answer-box h2 { margin: 0 0 6px; color: var(--warm-gold); font-size: 14px; }
.answer-box p { margin: 0; font-size: 20px; font-weight: 700; line-height: 1.68; letter-spacing: -.025em; }
.reader-videos { margin: -8px 0 28px; padding: 13px 15px 15px; border: 1px solid #e1e4e3; border-radius: 12px; background: #f1f4f3; }
.reader-video-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-bottom: 7px; }
.reader-videos h2 { margin: 0; color: var(--blue); font-size: 14px; }
.video-status { color: var(--faded); font-size: 12px; font-weight: 700; }
.video-links { display: flex; flex-wrap: wrap; gap: 8px; }
.video-links .secondary-button { justify-content: flex-start; }
.video-links .icon { width: 19px; height: 19px; color: var(--gold); }
.video-links .secondary-button:disabled { cursor: default; color: var(--faded); background: #f4f4ef; border-color: #d7dbd6; }
.video-links .secondary-button:disabled .icon { color: var(--faded); }
.vows-next { margin-top: 28px; padding: clamp(16px, 4vw, 24px); border: 1px solid #e5dcc9; border-radius: 14px; background: #faf6ed; }
.vows-next p { margin: 0 0 14px; }
.directory-vows { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; transition: border-color .15s, background .15s; }
.directory-vows:hover { border-color: #ae9774; background: #fffaf0; }
.directory-vows p { margin: 0; }
.baptism-videos h2 { margin: 0; color: var(--navy); font-size: 1.125rem; }
.baptism-videos p { margin: 4px 0 10px; color: var(--faded); }
.baptism-video-links { display: grid; gap: 8px; }
.baptism-video-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
}
.baptism-video-card:hover { border-color: var(--gold); background: var(--paper); }
.baptism-video-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.baptism-video-thumbnail {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: clamp(72px, 19vw, 96px);
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  background: var(--navy) var(--thumbnail) center / cover no-repeat;
  color: white;
}
.baptism-video-thumbnail .icon {
  box-sizing: content-box;
  width: 16px;
  height: 16px;
  padding: 4px;
  border-radius: 5px;
  background: #192c3fdb;
  fill: currentColor;
  stroke: none;
}
.baptism-video-label { display: block; color: var(--gold); font-size: .875rem; line-height: 1.4; }
.baptism-video-title { display: block; line-height: 1.4; }
.baptism-vows-list { margin: 25px 0 28px; padding-inline-start: 2em; }
.baptism-vows-list li { padding: 0 0 14px 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 17px; line-height: 1.76; }
.baptism-vows-list li::marker { color: var(--gold); font-weight: 700; }
.reader-section > h2, .directory-vows h2 { color: var(--navy); margin: 0 0 13px; font: 700 25px/1.35 var(--serif); letter-spacing: -.055em; }
.directory-vows h2 { margin-bottom: 4px; }
.reader-text p { margin: 0 0 17px; font-size: 17px; line-height: 1.85; }
.inline-reference { display: inline-block; min-height: 26px; padding: 0 3px; margin: 0; color: #31566e; background: transparent; border: 0; font-size: .88em; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; }
.inline-reference:hover { color: var(--gold); }
.reader-quiz { margin-top: 25px; padding: clamp(14px, 4vw, 24px); border: 1px solid #e5dcc9; border-radius: 14px; background: #faf6ed; }
.quiz-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.quiz-heading h2 { margin: 0; color: var(--navy); font: 700 25px/1.35 var(--serif); }
.quiz-progress { color: var(--gold); font-size: 14px; font-weight: 700; white-space: nowrap; }
.quiz-prompt { margin: 11px 0 13px; font-size: 17px; line-height: 1.55; scroll-margin-top: 16px; }
.quiz-choices { display: grid; gap: 8px; }
.quiz-choice { display: flex; align-items: flex-start; gap: 9px; width: 100%; min-height: 44px; padding: 9px 11px; border: 1px solid #d9d8cd; border-radius: 8px; background: var(--white); text-align: left; line-height: 1.5; }
.quiz-choice:not([aria-disabled]):hover { border-color: #9b865f; background: #fffbf1; }
.quiz-choice[aria-disabled] { cursor: default; }
.quiz-marker { flex: 0 0 18px; height: 18px; margin-top: 3px; border: 1px solid #77796d; border-radius: 4px; text-align: center; font-size: 14px; font-weight: 700; line-height: 16px; }
.quiz-correct { border-color: #61916c; background: #edf6ee; color: #245233; }
.quiz-wrong { border-color: #b46c5f; background: #fbedE9; color: #812f24; }
.quiz-correct .quiz-marker, .quiz-wrong .quiz-marker { border-color: currentColor; }
.quiz-feedback:not(:empty) { margin-top: 12px; padding: 10px 12px; border-radius: 8px; background: var(--white); }
.quiz-feedback p { margin: 3px 0 0; font-size: 15px; }
.quiz-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.quiz-actions > :not([hidden]) { margin-top: 12px; }
.quiz-next { border-color: var(--navy); background: var(--navy); color: var(--white); }
.quiz-next:hover { border-color: var(--blue); background: var(--blue); }
.verses { padding-top: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.verse-list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.verse-card { background: #f6f2e8; border: 1px solid #e9e2d3; border-radius: 12px; padding: 15px 17px; scroll-margin-top: 16px; }
.verse-card:focus { outline: 2px solid #ad874e; outline-offset: 2px; }
.verse-card h3 { margin: 0 0 4px; color: var(--gold); font-size: 15px; }
.verse-card blockquote { margin: 0; font-size: 16px; line-height: 1.78; }
.question-nav { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 17px; }
.question-nav .question-next { margin-left: auto; }
.site-footer { margin-top: 56px; border-top: 1px solid #e8e1d6; color: var(--faded); }
.footer-inner { min-height: 73px; display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; padding-block: 15px; font-size: 13px; }
.footer-contact {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-inline-start: auto;
}
.footer-contact a { display: inline-flex; align-items: center; min-height: 24px; color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.footer-contact .footer-ask { min-height: 44px; text-decoration: none; }
.footer-contact a:hover { color: var(--navy); }
.footer-social { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 0 12px; }
.footer-inner strong { color: var(--blue); }
.footer-divider { display: inline-block; height: 10px; width: 1px; background: #ad9c83; margin: 0 6px; }
@media (max-width: 700px) {
  .shell { width: calc(100% - 34px); }
  .header-inner { height: 62px; gap: 8px; }
  .header-nav { gap: 7px; }
  .header-nav .language-link { padding-inline: 7px; }
  .header-link { padding-right: 0; }
  .header-copy-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .collection { padding-top: 16px; }
  .hero { min-height: 222px; border-radius: 18px; }
  .hero-content { padding: 26px 24px 30px; }
  .hero::before { left: 0; background-position: 60% 60%; }
  .hero::after { background: linear-gradient(90deg, #102438f5, #102438d9 25%, #1024389c 62%, #10243854), linear-gradient(0deg, #10243885, transparent 50%); }
  .hero-kicker { gap: 8px; font-size: 12px; letter-spacing: .022em; }
  .hero-kicker::before { width: 16px; }
  .hero h1 { font-size: clamp(33px, 10.9vw, 54px); }
  .hero-description { margin-top: 13px; font-size: 15px; }
  .directory { margin-top: 26px; }
  .directory-heading { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .directory h2 { font-size: 27px; }
  .topics { margin-top: 14px; gap: 7px; }
  .topic-button { padding-inline: 10px; font-size: 13px; }
  .result-count { margin-top: 15px; }
  .question-list { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .question-card { min-height: 106px; gap: 12px; padding: 13px; border-radius: 13px; }
  .question-number { width: 40px; height: 42px; font-size: 19px; border-radius: 9px; }
  .question-title { font-size: 16px; }
  .card-arrow { font-size: 14px; }
  .detail { padding-top: 12px; }
  .reader { padding: 21px 18px 25px; border-radius: 16px; }
  .answer-box { margin-top: 19px; padding: 16px; }
  .answer-box p { font-size: 18px; }
  .reader-text p { font-size: 17px; }
  .site-footer { margin-top: 35px; }
  .footer-inner { min-height: 65px; justify-content: center; text-align: center; }
  .footer-contact { flex-basis: 100%; justify-content: center; margin-inline-start: 0; }
  .footer-social { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
