@font-face {
  font-family: "Space Grotesk";
  src: url("assets/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #ffffff;
  --cream: #f5f8f4;
  --ink: #343b35;
  --heading: #444242;
  --muted: #505b51;
  --green: #2f5537;
  --deep: #27382a;
  --leaf: #a7cb9e;
  --light-leaf: #edf5eb;
  --line: #d9e4d7;
  --white: #ffffff;
  --body: "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans CJK KR", sans-serif;
  --display: "Space Grotesk", Tahoma, Arial, sans-serif;
  font-family: var(--body);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.6; word-break: keep-all; }
[hidden] { display: none !important; }
h1, h2, h3, p, figure { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid #6c813d; outline-offset: 4px; }
svg { width: 20px; height: 20px; flex: 0 0 auto; }
.shell { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
section[id] { scroll-margin-top: 28px; }
.skip { position: absolute; left: 16px; z-index: 9; transform: translateY(-150%); padding: 8px 12px; background: var(--white); }
.skip:focus { transform: translateY(8px); }
.header { background: var(--paper); position: relative; z-index: 2; }
.header-inner { min-height: 87px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; text-decoration: none; }
.brand img { width: 63px; height: 51px; object-fit: contain; }
.brand strong { display: block; color: var(--heading); font-size: 17px; font-weight: 650; line-height: 1.25; letter-spacing: -.02em; }
.navigation { display: flex; align-items: center; justify-content: center; gap: clamp(15px, 2.25vw, 34px); }
.navigation a { text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; }
.navigation a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.header-controls { display: flex; align-items: center; gap: 10px; }
.language { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 100px; gap: 2px; }
.language button { border: 0; padding: 0 9px; min-height: 34px; border-radius: 100px; background: transparent; color: var(--green); font-size: 12px; font-weight: 650; cursor: pointer; }
.language button[aria-pressed="true"] { background: var(--leaf); color: var(--deep); }
.menu-toggle { display: none; padding: 8px; background: transparent; border: 1px solid var(--line); border-radius: 100px; color: var(--ink); cursor: pointer; }
.menu-toggle svg { display: block; }

.hero { background: var(--light-leaf); color: var(--ink); border-top: 3px solid var(--leaf); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: .83fr 1.17fr; align-items: center; gap: clamp(30px, 4.5vw, 66px); padding-block: 46px; }
.hero-location { margin-bottom: 12px; color: var(--green); font-size: 14px; font-weight: 650; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: 20px; min-width: 0; }
.hero h1 { color: var(--heading); font-size: clamp(34px, 4.2vw, 58px); font-weight: 650; line-height: 1.18; letter-spacing: -.044em; }
[data-language="en"] body { font-family: Arial, sans-serif; }
[data-language="en"] h1, [data-language="en"] h2, [data-language="en"] h3, [data-language="en"] .brand { font-family: var(--display); }
[data-language="ko"] h1, [data-language="ko"] h2 { letter-spacing: -.035em; }
.hero-intro { max-width: 355px; margin-top: 17px; color: var(--muted); line-height: 1.8; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; font-size: 14px; font-weight: 650; border: 1px solid transparent; border-radius: 5px; padding: 10px 14px; min-height: 44px; }
.button svg, .text-link svg { width: 16px; height: 16px; }
.button-light { background: var(--leaf); color: var(--deep); }
.button-light:hover { background: #b6d5af; }
.button-outline { color: var(--green); border-color: #9ab096; }
.button-outline:hover { background: #f9fbf8; }
.hero-photo { position: relative; min-width: 0; aspect-ratio: 1.9; overflow: hidden; border-radius: 6px; background: var(--cream); }
.hero-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: 50% 54%; }

.quick-visit { background: var(--paper); border-bottom: 1px solid var(--line); }
.quick-grid { display: grid; grid-template-columns: 1fr 1.25fr auto; align-items: center; gap: 20px; padding-block: 22px; }
.quick-info { display: flex; align-items: center; gap: 12px; }
.quick-info svg { color: var(--green); }
.quick-info strong { font-size: 15px; font-weight: 650; }
.quick-info p { color: var(--muted); font-size: 13px; }
.text-link { display: inline-flex; width: fit-content; align-items: center; gap: 6px; font-size: 14px; font-weight: 650; color: var(--green); text-decoration-line: underline; text-decoration-color: #77947b; text-underline-offset: 4px; }
.text-link:hover { text-decoration-thickness: 2px; }

.section { padding-block: 68px; }
.section-heading { margin-bottom: 28px; }
h2 { color: var(--heading); font-size: clamp(28px, 3.3vw, 42px); line-height: 1.24; font-weight: 650; letter-spacing: -.03em; }
.section-heading > p, .about-copy > p { color: var(--muted); margin-top: 11px; line-height: 1.75; }
.worship-grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 20px; }
.sunday-card, .weekly-card { padding: 25px 28px; border-radius: 6px; }
.sunday-card { background: var(--light-leaf); color: var(--ink); border: 1px solid var(--line); }
.sunday-card h3 { font-size: 24px; font-weight: 650; letter-spacing: -.03em; }
.sunday-card .text-link { color: var(--green); }
.sunday-times { display: grid; grid-template-columns: 1fr 1fr; border-block: 1px solid #c7d9c3; margin-block: 18px; }
.sunday-times div { display: grid; gap: 3px; padding-block: 13px; }
.sunday-times div + div { border-left: 1px solid #c7d9c3; padding-left: 21px; }
.sunday-times div > span { color: var(--muted); font-size: 13px; }
.sunday-times strong { font-family: var(--display); font-size: clamp(32px, 4vw, 49px); font-weight: 500; line-height: 1; white-space: nowrap; }
.sunday-times small { font-family: var(--body); font-size: 11px; font-weight: 800; }
.weekly-card { border: 1px solid var(--line); background: var(--white); }
.weekly-card h3 { font-size: 19px; letter-spacing: -.025em; }
.schedule { list-style: none; padding: 0; margin: 10px 0 13px; }
.schedule li { display: flex; justify-content: space-between; gap: 8px 18px; align-items: baseline; border-bottom: 1px solid var(--line); padding-block: 8px; color: var(--muted); font-size: 14px; }
.schedule strong { color: var(--ink); text-align: right; }

.about-band { background: var(--cream); padding-block: 59px; }
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(28px, 6vw, 83px); }
.about-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--light-leaf); border-radius: 6px; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.vision { display: grid; gap: 4px; margin-top: 24px; padding: 11px 0 11px 15px; border-left: 3px solid var(--leaf); }
.vision > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.vision strong { color: var(--green); font-size: 17px; }
.ministry-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 30px; }
.ministries { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.ministries li { display: grid; grid-template-columns: 30px 1fr; gap: 14px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--line); }
.ministry-number { font-size: 11px; color: #53664f; font-weight: 800; font-variant-numeric: tabular-nums; }
.ministries h3 { font-size: 17px; letter-spacing: -.035em; }
.ministries p { color: var(--muted); font-size: 14px; margin-top: 3px; }

.news-band { background: var(--light-leaf); padding-block: 32px; }
.news-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 30px; }
.news-grid .section-heading { margin: 0; }
.news-grid h2 { font-size: clamp(27px, 3vw, 42px); }
.news-content p { margin-bottom: 5px; }

.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px 18px; }
.album { min-width: 0; }
.album-cover { display: block; position: relative; width: 100%; overflow: hidden; background: var(--light-leaf); border: 0; border-radius: 9px; padding: 0; cursor: pointer; }
.album-cover img { width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; transition: transform .25s; }
.album-cover:hover img { transform: scale(1.035); }
.album-count { position: absolute; bottom: 8px; right: 8px; display: flex; align-items: center; gap: 4px; padding: 3px 7px; background: var(--deep); border-radius: 5px; color: var(--white); font-size: 11px; }
.album-count svg { width: 14px; height: 14px; }
.album-caption { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding-top: 8px; }
.album-caption time { color: var(--muted); font-size: 11px; font-variant-numeric: tabular-nums; }
.album-caption h3 { font-size: 16px; line-height: 1.4; }
.album-caption > svg { color: var(--muted); width: 16px; height: 16px; }

.visit { background: var(--light-leaf); color: var(--ink); padding-block: 49px; }
.visit-grid { display: grid; grid-template-columns: 1.05fr .95fr 1fr; gap: 25px; align-items: start; }
.visit h2 { margin-bottom: 10px; }
.visit-grid > div:first-child > p { color: var(--muted); max-width: 28ch; }
.visit-details { display: flex; gap: 8px; padding-top: 7px; min-width: 0; }
.visit-details > svg { color: var(--green); }
.visit-details h3 { font-size: 16px; line-height: 1.35; margin-bottom: 5px; }
.visit-details address { font-style: normal; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.visit-details .text-link { margin-top: 6px; color: var(--green); }
.footer { background: var(--paper); }
.footer-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 12px; }
.footer p > span:not([lang]) { margin-inline: 3px; }

.lightbox { max-width: min(840px, calc(100vw - 28px)); max-height: calc(100dvh - 26px); color: var(--white); background: var(--deep); padding: 14px; border: 1px solid #527562; border-radius: 11px; }
.lightbox::backdrop { background: #101b15d9; }
.lightbox-header, .lightbox-controls { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lightbox-header h2 { font-family: var(--body); font-size: 16px; letter-spacing: 0; }
.lightbox form { margin: 0; }
.lightbox button { border: 1px solid #6f8d7b; border-radius: 6px; min-width: 40px; min-height: 40px; background: transparent; color: var(--white); font-size: 22px; cursor: pointer; }
.lightbox button:hover { background: var(--green); }
.lightbox button:disabled { opacity: .45; cursor: default; }
.lightbox-photo { width: auto; max-height: 68dvh; margin: 10px auto; object-fit: contain; }
.lightbox-controls p { font-size: 13px; }

@media (max-width: 1000px) {
  .shell { width: calc(100% - 64px); }
  .header-inner { gap: 15px; }
  .hero-grid { gap: 32px; }
  .section { padding-block: 65px; }
  .visit-grid { grid-template-columns: 1fr 1fr; }
  .visit-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 740px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { min-height: 71px; }
  .brand img { width: 53px; height: 43px; }
  .brand strong { font-size: 15px; }
  .navigation { display: none; position: absolute; inset: 100% 0 auto; background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 20px; }
  .navigation[data-open="true"] { display: grid; justify-content: stretch; gap: 0; }
  .navigation a { padding-block: 9px; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; gap: 23px; padding-block: 24px 20px; }
  .hero-copy { padding-block: 5px 0; }
  .hero h1 { font-size: clamp(29px, 7.4vw, 45px); }
  .hero-intro { margin-top: 13px; font-size: 14px; }
  .hero-actions { margin-top: 17px; }
  .hero-photo { aspect-ratio: 1.85; }
  .quick-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .quick-grid > a { grid-column: 2; margin-left: 26px; }
  .quick-info { align-items: start; gap: 8px; }
  .quick-info strong { display: block; line-height: 1.3; margin-bottom: 3px; }
  .quick-info svg { width: 18px; height: 18px; }
  .section { padding-block: 51px; }
  .worship-grid, .about-grid, .ministry-grid, .news-grid { grid-template-columns: 1fr; }
  .ministry-grid, .news-grid { gap: 15px; }
  .ministry-grid .section-heading { margin: 0; }
  .sunday-card, .weekly-card { padding: 22px 20px; }
  .about-band { padding-block: 37px; }
  .about-grid { gap: 24px; }
  .about-photo { max-height: 300px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .visit { padding-block: 40px; }
}
@media (max-width: 410px) {
  .shell { width: calc(100% - 32px); }
  .header-controls { gap: 6px; }
  .brand { gap: 5px; }
  .brand img { width: 43px; height: 38px; }
  .brand strong { max-width: 118px; }
  .language button { padding-inline: 6px; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-grid > a { grid-column: auto; margin-left: 26px; }
  .visit-grid { grid-template-columns: 1fr; gap: 14px; }
  .gallery-grid { gap: 17px 10px; }
  .album-caption h3 { font-size: 14px; }
  .schedule li { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.pastor { margin-top: 14px; max-width: 54ch; }
.pastor summary { color: var(--green); font-size: 14px; font-weight: 800; cursor: pointer; }
.pastor summary:focus-visible { outline: 3px solid #6c813d; outline-offset: 4px; }
.pastor p { margin-top: 8px; color: var(--muted); font-size: 14px; }
.pastor .pastor-signature { font-weight: 800; }
