/* ══════════════════════════════════════════
   LHKC — London Everliving Korean Church
   Shared stylesheet v1.0
   ══════════════════════════════════════════ */

@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500;600&family=Noto+Sans+KR:wght@300;400;500;700&family=Noto+Serif+KR:wght@300;400;500;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --teal-50: #e8f7f8;
  --teal-100: #c5ebed;
  --teal-200: #8dd6da;
  --teal-300: #4dbec5;
  --teal-400: #1ea0aa;
  --teal-500: #178892;
  --teal-600: #116e76;
  --teal-700: #0c5259;
  --teal-800: #083b41;
  --teal-900: #04272b;
  --wheat-50: #faf6f0;
  --wheat-100: #f2e9d9;
  --wheat-200: #e5d3b5;
  --wheat-300: #d9bc90;
  --wheat-400: #cba472;
  --wheat-500: #b8905a;
  --wheat-600: #9a7545;
  --stone-50: #f9f8f6;
  --stone-100: #f0ede8;
  --stone-200: #ddd8cf;
  --stone-300: #c4bcb0;
  --stone-400: #a89d91;
  --stone-500: #8a7e73;
  --stone-600: #6e6358;
  --stone-700: #534a41;
  --stone-900: #1e1a16;
  --dark: #0e2c30;
  --cream: #f7f3ee;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-ko: "Noto Sans KR", sans-serif;
  --font-ko-serif: "Noto Serif KR", serif;

  --shadow-sm:
    0 1px 3px rgba(14, 44, 48, 0.08), 0 1px 2px rgba(14, 44, 48, 0.04);
  --shadow-md: 0 4px 16px rgba(14, 44, 48, 0.12);
  --shadow-lg: 0 12px 40px rgba(14, 44, 48, 0.16);

  --max-w: 1200px;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── NAV ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition:
    background 0.4s,
    padding 0.4s,
    box-shadow 0.4s;
}
.nav.scrolled {
  background: var(--white);
  padding: 12px 48px;
  box-shadow: var(--shadow-sm);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img {
  height: 34px;
  transition: height 0.3s;
}
.nav.scrolled .nav-logo img {
  height: 28px;
}
.nav-wordmark {
  line-height: 1.2;
}
.nav-wordmark-ko {
  font-family: var(--font-ko);
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  transition: color 0.4s;
  display: block;
  white-space: nowrap;
}
.nav.scrolled .nav-wordmark-ko {
  color: var(--dark);
}
.nav-wordmark-en {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.4s;
  display: block;
  white-space: nowrap;
}
.nav.scrolled .nav-wordmark-en {
  color: var(--stone-400);
}

/* Dark-bg nav (inner pages) */
.nav.nav-light .nav-wordmark-ko {
  color: var(--dark);
}
.nav.nav-light .nav-wordmark-en {
  color: var(--stone-400);
}
.nav.nav-light {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.nav.nav-light .nav-links a {
  color: var(--stone-600);
}
.nav.nav-light .nav-links a:hover {
  color: var(--teal-400);
}
.nav.nav-light .lang-toggle {
  background: var(--stone-100);
}
.nav.nav-light .lang-btn {
  color: var(--stone-400);
}
.nav.nav-light .lang-btn.active {
  background: var(--teal-400);
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin-left: auto;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-ko);
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover {
  color: var(--white);
}
.nav.scrolled .nav-links a {
  color: var(--stone-600);
}
.nav.scrolled .nav-links a:hover {
  color: var(--teal-400);
}
.nav-links a.active {
  color: var(--teal-300);
  font-weight: 500;
}
.nav.scrolled .nav-links a.active {
  color: var(--teal-500);
}

.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 3px;
  gap: 2px;
  transition: background 0.4s;
  flex-shrink: 0;
}
.nav.scrolled .lang-toggle {
  background: var(--stone-100);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 16px;
  border: none;
  cursor: pointer;
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  transition:
    background 0.2s,
    color 0.2s;
}
.nav.scrolled .lang-btn {
  color: var(--stone-400);
}
.lang-btn.active {
  background: var(--white);
  color: var(--dark);
}
.nav.scrolled .lang-btn.active {
  background: var(--teal-400);
  color: var(--white);
}

/* Language CSS rules */
html[data-lang="en"] .nav-wordmark-ko {
  font-size: 10px;
  opacity: 0.5;
}
html[data-lang="en"] .nav-wordmark-en {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.06em;
}
html[data-lang="en"] .nav.scrolled .nav-wordmark-en {
  color: var(--dark);
}

/* ── PAGE HEADER (inner pages) ── */
.page-header {
  background: var(--dark);
  padding: 120px 48px 64px;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 500px;
  border-radius: 200px 200px 0 0;
  background: rgba(30, 160, 170, 0.07);
  pointer-events: none;
}
.page-header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.page-header-title-ko {
  font-family: var(--font-ko-serif);
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.page-header-title-en {
  font-family: var(--font-display);
  font-size: clamp(16px, 2.2vw, 26px);
  font-weight: 300;
  font-style: italic;
  color: var(--wheat-300);
  margin-bottom: 16px;
}
.page-header-sub-ko {
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  max-width: 600px;
}
.page-header-sub-en {
  font-family: var(--font-body);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 4px;
}

/* ── SECTION COMMON ── */
.section {
  padding: 80px 48px;
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Section variants */
.section--hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.section--tight {
  padding: 48px 48px;
}
.section--band {
  padding: 0 48px;
}

/* Section responsive */
@media (max-width: 900px) {
  .section {
    padding: 80px 20px;
  }
  .section--tight {
    padding: 48px 20px;
  }
  .section--band {
    padding: 0 20px;
  }
}
@media (max-width: 600px) {
  .section {
    padding: 56px 20px;
  }
  .section--tight {
    padding: 32px 20px;
  }
}
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 8px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
  border-radius: var(--r-md);
}
.btn-lg {
  padding: 14px 28px;
  font-size: 14px;
}
.btn-md {
  padding: 10px 20px;
  font-size: 13px;
}
.btn-sm {
  padding: 7px 14px;
  font-size: 12px;
  border-radius: var(--r-sm);
}
.btn-primary {
  background: var(--teal-400);
  color: var(--white);
  font-family: var(--font-ko);
}
.btn-primary:hover {
  background: var(--teal-500);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(30, 160, 170, 0.3);
}
.btn-secondary {
  background: var(--wheat-400);
  color: var(--white);
  font-family: var(--font-ko);
}
.btn-secondary:hover {
  background: var(--wheat-500);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--teal-500);
  border: 1.5px solid var(--teal-400);
  font-family: var(--font-ko);
}
.btn-outline:hover {
  background: var(--teal-50);
}
.btn-ghost {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-ko);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* ── CARD ── */
.card {
  background: var(--white);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Card: Link variant (hoverable nav card with arrow) */
.card--link {
  background: var(--cream);
  padding: 36px 28px;
  text-decoration: none;
  display: block;
  border-bottom: 3px solid transparent;
  position: relative;
}
.card--link:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: var(--white);
  border-color: var(--teal-400);
}
.card--link .card-arrow {
  position: absolute;
  bottom: 20px;
  right: 24px;
  font-size: 18px;
  color: var(--teal-400);
  opacity: 0;
  transition: opacity 0.2s;
}
.card--link:hover .card-arrow {
  opacity: 1;
}
.card--link .arch {
  margin-bottom: 20px;
}

/* Card: Featured variant (accent top border) */
.card--featured {
  padding: 48px;
  border-top: 3px solid var(--teal-400);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

/* Card: Stat variant (centered statistic callout) */
.card--stat {
  padding: 40px;
  text-align: center;
  border: 1px solid var(--teal-100);
  background: var(--teal-50);
}
.card--stat .stat-num {
  font-family: var(--font-display);
  font-size: 80px;
  font-weight: 300;
  color: var(--teal-400);
  line-height: 1;
  margin-bottom: 8px;
}

/* Card: Partner variant (partner org cards with number) */
.card--partner {
  padding: 32px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.card--partner .partner-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--teal-200);
  line-height: 1;
}
.card--partner .partner-name {
  font-family: var(--font-ko);
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.4;
}

/* ── BANNER (full-width callout sections) ── */
.banner {
  text-align: center;
  padding: 48px 0;
}
.banner-inner {
  max-width: 640px;
  margin: 0 auto;
}

/* Banner color variants */
.banner--teal {
  background: var(--teal-400);
}
.banner--dark {
  background: var(--dark);
}

/* ── ARCH (decorative element) ── */
.arch {
  border-radius: 9999px 9999px 0 0;
  background: var(--teal-100);
  flex-shrink: 0;
}

/* Arch sizes */
.arch--sm {
  width: 36px;
  height: 48px;
}
.arch--md {
  width: 40px;
  height: 52px;
}
.arch--lg {
  width: 64px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
}
.arch--lg img {
  width: 42px;
  opacity: 0.9;
}

/* Arch color variants */
.arch--wheat {
  background: var(--wheat-100);
}
.arch--teal {
  background: var(--teal-50);
}
.arch--stone {
  background: var(--stone-100);
}
.arch--wheat-light {
  background: var(--wheat-50);
}

/* ── ORNAMENT ── */
.ornament {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0;
}
.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--stone-200);
}
.ornament-symbol {
  font-size: 12px;
  color: var(--teal-400);
  opacity: 0.6;
}

/* ── VERSE BAND ── */
.verse-band {
  background: var(--teal-400);
  padding: 56px 48px;
  text-align: center;
}
.verse-band-inner {
  max-width: 800px;
  margin: 0 auto;
}
.verse-ko {
  font-family: var(--font-ko-serif);
  font-size: clamp(16px, 2.2vw, 24px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.9;
  margin-bottom: 8px;
  letter-spacing: 0.03em;
}
.verse-en {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.6vw, 20px);
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: 14px;
}
.verse-ref {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 60px 48px 36px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-brand img {
  height: 48px;
  margin-bottom: 12px;
  display: block;
}
.footer-brand-ko {
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 2px;
}
.footer-brand-en {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 14px;
}
.footer-desc {
  font-family: var(--font-ko);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.8;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal-300);
  margin-bottom: 14px;
}
.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-col-links a {
  font-family: var(--font-ko);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col-links a:hover {
  color: var(--white);
}
.footer-contact-item {
  font-family: var(--font-ko);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.42);
  line-height: 1.7;
}
.footer-contact-item strong {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.06em;
  margin-bottom: 1px;
}
.footer-contact-item a {
  color: inherit;
  text-decoration: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.18);
}

/* ── UTILITY ── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.text-center {
  text-align: center;
}
.bg-cream {
  background: var(--cream);
}
.bg-white {
  background: var(--white);
}
.bg-dark {
  background: var(--dark);
}
.bg-teal {
  background: var(--teal-50);
}
.bg-teal-400 {
  background: var(--teal-400);
}

/* ══════════════════════════════════════════
   TYPOGRAPHY SCALE
   ══════════════════════════════════════════ */

/* ── Heading XL (Hero / Page Header) ── */
.heading-xl-ko {
  font-family: var(--font-ko-serif);
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.03em;
}
.heading-xl-en {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.15;
}

/* ── Heading LG (Section Titles) ── */
.heading-lg-ko {
  font-family: var(--font-ko-serif);
  font-size: clamp(24px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}
.heading-lg-en {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 38px);
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 24px;

  line-height: 1.2;
}

/* ── Heading MD (Card Titles / Callouts) ── */
.heading-md-ko {
  font-family: var(--font-ko-serif);
  font-size: 22px;
  font-weight: 400;
  color: var(--dark);
  line-height: 1.4;
}
.heading-md-en {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.3;
}

/* ── Heading SM (Small Headings) ── */
.heading-sm-ko {
  font-family: var(--font-ko-serif);
  font-size: 17px;
  font-weight: 500;
  color: var(--dark);
  line-height: 1.4;
}
.heading-sm-en {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  color: var(--dark);
  line-height: 1.4;
}

/* ── Color modifiers for headings ── */
.heading-xl-ko.on-light,
.heading-lg-ko.on-light,
.heading-md-ko.on-light,
.heading-sm-ko.on-light {
  color: var(--dark);
}

.heading-xl-en.on-light,
.heading-lg-en.on-light,
.heading-md-en.on-light,
.heading-sm-en.on-light {
  color: var(--dark);
}

.heading-xl-ko.on-dark,
.heading-lg-ko.on-dark,
.heading-md-ko.on-dark,
.heading-sm-ko.on-dark {
  color: var(--white);
}

.heading-xl-en.on-dark,
.heading-lg-en.on-dark,
.heading-md-en.on-dark,
.heading-sm-en.on-dark {
  color: var(--white);
}

/* Muted variants (for secondary text) */
.heading-lg-en.muted,
.heading-md-en.muted,
.heading-sm-en.muted {
  color: var(--stone-400);
}

.heading-lg-ko.muted,
.heading-md-ko.muted,
.heading-sm-ko.muted {
  color: var(--stone-500);
}

/* ── Body LG (Feature descriptions) ── */
.body-lg-ko {
  font-family: var(--font-ko);
  font-size: 18px;
  font-weight: 300;
  color: var(--stone-700);
  line-height: 1.9;
  text-wrap: pretty;
}
.body-lg-en {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--stone-600);
  line-height: 1.85;
  text-wrap: pretty;
}

/* ── Body MD (Default paragraphs) ── */
.body-md-ko {
  font-family: var(--font-ko);
  font-size: 16px;
  font-weight: 300;
  color: var(--stone-700);
  line-height: 1.95;
  text-wrap: pretty;
}
.body-md-en {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--stone-600);
  line-height: 1.8;
  text-wrap: pretty;
}

/* ── Body SM (Supporting text) ── */
.body-sm-ko {
  font-family: var(--font-ko);
  font-size: 14px;
  font-weight: 300;
  color: var(--stone-600);
  line-height: 1.8;
}
.body-sm-en {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--stone-400);
  line-height: 1.7;
}

/* Body color modifiers */
.body-lg-ko.on-dark,
.body-md-ko.on-dark,
.body-sm-ko.on-dark {
  color: rgba(255, 255, 255, 0.7);
}
.body-lg-en.on-dark,
.body-md-en.on-dark,
.body-sm-en.on-dark {
  color: rgba(255, 255, 255, 0.55);
}

/* ── Label (Uppercase small text) ── */
.label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-400);
}
.label--light {
  color: rgba(255, 255, 255, 0.6);
}
.label--dark {
  color: var(--teal-400);
}
.label--muted {
  color: var(--stone-400);
}

/* ── MISSION LINES (global) ── */
.mission-line {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.mission-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--teal-400);
  flex-shrink: 0;
  width: 24px;
  line-height: 1.6;
}

/* ══════════════════════════════════════════
   LANGUAGE TOGGLE (KO/EN display rules)
   ══════════════════════════════════════════ */

/* ── Hide EN elements when KO is active ── */
html[data-lang="ko"] .heading-xl-en,
html[data-lang="ko"] .heading-lg-en,
html[data-lang="ko"] .heading-md-en,
html[data-lang="ko"] .heading-sm-en,
html[data-lang="ko"] .body-lg-en,
html[data-lang="ko"] .body-md-en,
html[data-lang="ko"] .body-sm-en,
html[data-lang="ko"] .page-header-title-en,
html[data-lang="ko"] .page-header-sub-en,
html[data-lang="ko"] .partner-location-en,
html[data-lang="ko"] .transport-key-val-en,
html[data-lang="ko"] .addr-service-en,
html[data-lang="ko"] .verse-en,
html[data-lang="ko"] .footer-brand-en {
  display: none !important;
}

/* ── Hide KO elements when EN is active ── */
html[data-lang="en"] .heading-xl-ko,
html[data-lang="en"] .heading-lg-ko,
html[data-lang="en"] .heading-md-ko,
html[data-lang="en"] .heading-sm-ko,
html[data-lang="en"] .body-lg-ko,
html[data-lang="en"] .body-md-ko,
html[data-lang="en"] .body-sm-ko,
html[data-lang="en"] .page-header-title-ko,
html[data-lang="en"] .page-header-sub-ko,
html[data-lang="en"] .partner-location-ko,
html[data-lang="en"] .transport-key-val-ko,
html[data-lang="en"] .addr-service-ko,
html[data-lang="en"] .verse-ko,
html[data-lang="en"] .footer-brand-ko {
  display: none !important;
}

/* ── EN versions: full prominence when EN is active ── */
.page-header-title-en {
  font-family: var(--font-display);
  font-size: clamp(28px, 4.5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 6px;
}
.page-header-sub-en {
  font-family: var(--font-body);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  max-width: 600px;
  margin-top: 0;
}

/* ── KO versions: margin adjustments when shown alone ── */
.page-header-title-ko {
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .nav {
    padding: 14px 20px;
  }
  .nav.scrolled {
    padding: 10px 20px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a {
    font-size: 12px;
  }
  .page-header {
    padding: 100px 20px 48px;
  }
  .footer {
    padding: 48px 20px 28px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .card--featured {
    grid-template-columns: 1fr;
    padding: 32px;
  }
}
@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .nav {
    padding: 12px 16px;
    gap: 12px;
  }
  .nav.scrolled {
    padding: 10px 16px;
  }
  .nav-wordmark {
    display: none;
  }
  .nav-logo img {
    height: 28px;
  }
  .nav .lang-toggle {
    margin-left: auto;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .card--stat .stat-num {
    font-size: 56px;
  }
}
@media (max-width: 400px) {
  .nav {
    padding: 10px 12px;
    gap: 8px;
  }
  .lang-toggle {
    padding: 2px;
  }
  .lang-btn {
    padding: 4px 8px;
    font-size: 10px;
  }
}

/* ══════════════════════════════════════════
   PAGE: HOME (index.html)
   ══════════════════════════════════════════ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero-arch-bg {
  position: absolute;
  right: -8vw;
  top: 50%;
  transform: translateY(-50%);
  width: 55vw;
  height: 70vw;
  border-radius: 50vw 50vw 0 0;
  background: rgba(30, 160, 170, 0.07);
  pointer-events: none;
}
.hero-arch-bg-2 {
  position: absolute;
  right: -2vw;
  top: 50%;
  transform: translateY(-50%);
  width: 42vw;
  height: 55vw;
  border-radius: 42vw 42vw 0 0;
  background: rgba(30, 160, 170, 0.06);
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 100% 60% at 20% 50%,
    rgba(30, 160, 170, 0.12) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 120px 48px 80px;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 80px;
  align-items: center;
}
.hero-content {
  max-width: 520px;
}
.hero-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  margin-top: 24px;
}
.hero-divider-line {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.15);
}
.hero-divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--teal-400);
}
.hero-desc-ko {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 24px;
  text-wrap: pretty;
  text-align: left;
  border-left: 2px solid var(--teal-600);
  padding-left: 16px;
}
.hero-desc-en {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
  margin-bottom: 24px;
  text-wrap: pretty;
  text-align: left;
  border-left: 2px solid var(--teal-600);
  padding-left: 16px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.btn-hero-primary {
  font-family: var(--font-ko);
  font-size: 14px;
  font-weight: 500;
  padding: 14px 28px;
  background: var(--teal-400);
  color: var(--white);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.2s,
    transform 0.15s,
    box-shadow 0.2s;
  letter-spacing: 0.04em;
}
.btn-hero-primary:hover {
  background: var(--teal-300);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(30, 160, 170, 0.35);
}
.btn-hero-secondary {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  padding: 14px 24px;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    border-color 0.2s,
    color 0.2s;
  letter-spacing: 0.04em;
}
.btn-hero-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}

/* Hero visual */
.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
}
.hero-arch-frame {
  width: 300px;
  height: 375px;
  border-radius: 150px 150px 0 0;
  background: rgba(30, 160, 170, 0.12);
  border: 1px solid rgba(30, 160, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-arch-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 152px 152px 0 0;
  border: 1px solid rgba(30, 160, 170, 0.15);
}
.hero-arch-emblem {
  width: 220px;
  opacity: 0.92;
  position: relative;
  z-index: 1;
}
.hero-arch-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(30, 160, 170, 0.2) 0%,
    transparent 70%
  );
  pointer-events: none;
}
.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.3;
  animation: bob 2s ease-in-out infinite;
}
.scroll-hint span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
}
.scroll-hint-arrow {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--white), transparent);
}
@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── INTRO ── */
.intro-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.intro-photo {
  border-radius: var(--r-xl);
  overflow: hidden;
  height: 380px;
}
.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── VISIT CALLOUT ── */
.visit-layout {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 48px 0;
  flex-wrap: wrap;
}
.visit-text {
  flex: 1;
}
.visit-detail {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.visit-item-ko {
  font-family: var(--font-ko);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.visit-item-en {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
}
.visit-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  align-self: center;
}

/* ── LATEST SERMON ── */
.sermon-scripture {
  font-size: 13px;
  color: var(--stone-400);
  font-family: var(--font-ko);
}
.sermon-scripture span {
  color: var(--teal-500);
  font-weight: 500;
}
.sermon-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

/* ── HOME: Language toggle (page-specific) ── */
html[data-lang="ko"] .hero-desc-en,
html[data-lang="ko"] .visit-item-en {
  display: none !important;
}

html[data-lang="en"] .hero-desc-ko,
html[data-lang="en"] .visit-item-ko {
  display: none !important;
}

/* ── HOME: Responsive ── */
@media (max-width: 900px) {
  .hero-arch-bg,
  .hero-arch-bg-2,
  .hero::before {
    display: none;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    gap: 40px;
  }
  .hero-visual {
    order: -1;
    justify-content: center;
  }
  .hero-arch-frame {
    width: 200px;
    height: 250px;
    border-radius: 100px 100px 0 0;
  }
  .hero-arch-frame::before {
    border-radius: 96px 96px 0 0;
  }
  .hero-arch-emblem {
    width: 140px;
  }
  .hero-content {
    text-align: center;
    max-width: 100%;
    margin: 0 auto;
  }
  .hero-divider {
    justify-content: center;
  }
  .hero-desc-ko,
  .hero-desc-en {
    border-left: none;
    padding-left: 0;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .intro-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .intro-photo {
    height: 240px;
  }
  .sermon-actions {
    align-items: flex-start;
    flex-direction: row;
  }
  .visit-layout {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .visit-detail {
    flex-direction: column;
    gap: 16px;
    align-items: center;
  }
  .visit-divider {
    display: none;
  }
}
@media (max-width: 480px) {
  .hero-arch-frame {
    width: 160px;
    height: 200px;
    border-radius: 80px 80px 0 0;
  }
  .hero-arch-frame::before {
    border-radius: 76px 76px 0 0;
  }
  .hero-arch-emblem {
    width: 110px;
  }
}

/* ══════════════════════════════════════════
   PAGE: CONTACT (contact.html)
   ══════════════════════════════════════════ */

/* ── ADDRESS & CONTACT LAYOUT ── */
.address-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}
.address-card,
.contact-card {
  background: var(--cream);
  border-radius: var(--r-xl);
  padding: 40px;
}
.addr-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--teal-400);
  margin-bottom: 12px;
}
.addr-venue {
  font-family: var(--font-ko);
  font-size: 18px;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}
.addr-street {
  font-size: 15px;
  color: var(--stone-600);
  line-height: 1.7;
}
.addr-service-ko {
  font-family: var(--font-ko);
  font-size: 14px;
  font-weight: 500;
  color: var(--teal-600);
  margin-top: 16px;
}
.addr-service-en {
  font-size: 12px;
  color: var(--stone-400);
  margin-top: 2px;
}

/* ── CONTACT INFO ROWS ── */
.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.contact-row:last-child {
  margin-bottom: 0;
}
.contact-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--teal-500);
}
.contact-item-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--stone-400);
  margin-bottom: 2px;
}
.contact-item-value {
  font-family: var(--font-ko);
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}
.contact-item-value a {
  color: var(--teal-500);
  text-decoration: none;
}
.contact-item-value a:hover {
  text-decoration: underline;
}

/* ── CONTACT: Responsive ── */
@media (max-width: 900px) {
  .address-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ══════════════════════════════════════════
   MOBILE NAVIGATION
   ══════════════════════════════════════════ */

/* ── Hamburger Button ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav.scrolled .nav-hamburger span,
.nav.nav-light .nav-hamburger span {
  background: var(--dark);
}

/* ── Mobile Nav Overlay ── */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* ── Mobile Nav Header ── */
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-header .nav-logo img {
  height: 32px;
}

/* ── Mobile Nav Close Button ── */
.mobile-nav-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  user-select: none;
  -webkit-user-select: none;
}
.mobile-nav-close span {
  position: absolute;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 2px;
}
.mobile-nav-close span:first-child {
  transform: rotate(45deg);
}
.mobile-nav-close span:last-child {
  transform: rotate(-45deg);
}

/* ── Mobile Nav Links ── */
.mobile-nav-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 40px 20px;
}
.mobile-nav-links li {
  width: 100%;
  text-align: center;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--font-ko);
  font-size: 20px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  padding: 16px 24px;
  border-radius: var(--r-md);
  transition: color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mobile-nav-links a:hover,
.mobile-nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.05);
}
.mobile-nav-links a.active {
  color: var(--teal-300);
}

/* ── Mobile Nav Footer ── */
.mobile-nav-footer {
  padding: 24px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: center;
}
.mobile-nav-footer .lang-toggle {
  background: rgba(255, 255, 255, 0.1);
}
.mobile-nav-footer .lang-btn {
  color: rgba(255, 255, 255, 0.6);
}
.mobile-nav-footer .lang-btn.active {
  background: var(--teal-400);
  color: var(--white);
}

/* ── Body Lock when Mobile Nav is Open ── */
body.mobile-nav-open {
  overflow: hidden;
}

/* ── Mobile Navigation Responsive ── */
@media (max-width: 600px) {
  .nav-hamburger {
    display: flex;
  }
}
