:root {
  color-scheme: light;
  --ink: #14263d;
  --muted: #435977;
  --navy: #142d4d;
  --blue: #245ca7;
  --sky: #bfe3ff;
  --fog: #f0f6fd;
  --rule: #d7e1ed;
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", system-ui, sans-serif;
  color: var(--ink);
  background: white;
  font-size: 100%;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

* { box-sizing: border-box; }
body, figure, p { margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.24; }
ul { padding: 0; margin: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: .08em; text-underline-offset: .25em; }
img { display: block; max-width: 100%; height: auto; }
a:focus-visible { outline: 3px solid #b35412; outline-offset: 4px; }
[id] { scroll-margin-top: 20px; }
.wrap { width: min(100% - 4rem, 1180px); margin-inline: auto; }

.skip-link {
  position: absolute;
  z-index: 5;
  top: .75rem;
  left: .75rem;
  transform: translateY(-160%);
  background: white;
  padding: .75rem 1rem;
}
.skip-link:focus { transform: translateY(0); }

.contact-bar { color: white; background: var(--navy); }
.contact-bar .wrap {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: .25rem 1.75rem;
  padding-block: .45rem;
  font-size: .875rem;
}
.contact-bar a { text-decoration: none; }
.contact-bar a:hover { text-decoration: underline; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 79px;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.055em;
  white-space: nowrap;
  text-decoration: none;
}
.brand::before {
  content: "";
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 6px;
  background:
    linear-gradient(white, white) center 6px / 2px 17px no-repeat,
    linear-gradient(white, white) center 11px / 13px 2px no-repeat,
    var(--blue);
}
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.35rem); }
nav a { padding-block: .7rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
nav a:hover { color: var(--blue); text-decoration: underline; }

.hero-inner {
  width: 100%;
  min-height: clamp(450px, 44vw, 610px);
  display: grid;
  align-items: center;
  color: white;
  background:
    linear-gradient(90deg, #0b213bf5 0%, #102643dc 36%, #10264345 69%, #16263a18 100%),
    url(about.jpeg) center 43% / cover no-repeat #102643;
}
.hero-copy {
  width: min(100% - 4rem, 1180px);
  margin-inline: auto;
  padding-block: 4.75rem;
}
.hero-label { color: var(--sky); font-weight: 700; margin-bottom: 1rem; }
h1 { font-size: clamp(2.65rem, 5.8vw, 5rem); letter-spacing: -.065em; }
h1 span { display: block; }
.hero-english { color: #dfedfb; margin-top: .8rem; font-size: clamp(1rem, 2vw, 1.2rem); }
.actions, .channel-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.actions { margin-top: 2rem; }
.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  padding: .65rem 1.15rem;
  font-weight: 800;
  border-radius: .35rem;
  text-decoration: none;
}
.primary { background: var(--sky); color: var(--navy); }
.primary:hover { background: white; }
.secondary { color: white; border-color: #d1e4fc; }
.secondary:hover { background: #ffffff26; }

.visit-strip { background: var(--navy); color: white; }
.visit-strip .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: .75rem 2rem;
  padding-block: 1.35rem;
}
.service-summary { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; }
.service-summary strong { color: var(--sky); }
.service-summary span { font-size: 1.15rem; font-weight: 700; }
.channel-links { gap: .5rem 1.5rem; }
.channel-links a { padding-block: .15rem; }
.channel-links a:hover { color: var(--sky); }

.section { padding-block: clamp(3.25rem, 7vw, 6rem); }
h2 { font-size: clamp(2.15rem, 4.5vw, 3.3rem); letter-spacing: -.065em; }
h3 { font-size: 1.3rem; }
.worship { background: var(--fog); }
.worship-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.2rem; margin-top: 1.6rem; align-items: start; }
.worship-group {
  min-width: 0;
  border: 1px solid var(--rule);
  border-radius: .65rem;
  padding: clamp(1rem, 2.5vw, 1.8rem);
  background: white;
}
.worship-group h3 { color: var(--blue); padding-bottom: .85rem; }
.worship-item {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  border-top: 1px solid var(--rule);
  padding: 1.05rem 0;
}
.worship-item:last-child { padding-bottom: .25rem; }
.worship-item img { flex: none; width: 52px; height: 52px; object-fit: cover; border-radius: 50%; }
.worship-item h4 { font-size: 1.05rem; margin-bottom: .17rem; }
.worship-item p:first-of-type { color: #264d7d; font-weight: 700; }
.worship-item p + p { color: var(--muted); font-size: .925rem; }

.vision-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(2rem, 6vw, 5.5rem); }
.vision-image img { width: 100%; object-fit: cover; border-radius: .55rem 3rem .55rem .55rem; }
.category { color: var(--blue); font-weight: 800; margin-bottom: .5rem; }
.vision-copy p:not(.category) { margin-top: .75rem; }
.lead { font-size: 1.24rem; font-weight: 800; }
.vision-words { display: flex; flex-wrap: wrap; gap: .4rem .55rem; margin-top: 1.15rem; }
.vision-words li {
  padding: .28rem .7rem;
  background: var(--fog);
  color: var(--navy);
  border-radius: .2rem;
  font-weight: 700;
}

.sermons { background: var(--fog); }
.sermons ul { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; margin: 1.55rem 0 1.25rem; }
.sermons li { grid-column: span 2; min-width: 0; }
.sermons li:nth-child(n + 4) { grid-column: span 3; }
.sermons li a {
  position: relative;
  display: block;
  height: 100%;
  text-decoration: none;
  padding: 1.45rem 3.5rem 1.45rem 1.35rem;
  border: 1px solid var(--rule);
  border-radius: .45rem;
  background: white;
}
.sermons li a:hover { color: var(--blue); border-color: var(--blue); }
.sermons li h3 { margin-block: .55rem .35rem; }
.sermons li p, .sermons li a > span:first-child { color: var(--muted); font-size: .925rem; }
.play {
  position: absolute;
  right: 1rem;
  top: 1.35rem;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--sky);
}
.play::after {
  content: "";
  border-block: 5px solid transparent;
  border-left: 8px solid currentColor;
  margin-left: 2px;
}
.text-link { color: var(--blue); font-weight: 800; }

.visit-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); margin-top: 1.5rem; }
.visit-address {
  background: var(--navy);
  color: white;
  border-radius: .5rem 0 0 .5rem;
  padding: clamp(1.25rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
address { font-style: normal; margin: .7rem 0 1rem; }
.visit-address a[href^="tel:"] { color: var(--sky); font-weight: 700; }
iframe { display: block; width: 100%; min-height: 300px; border: 0; border-radius: 0 .5rem .5rem 0; background: var(--fog); }
.transport { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 1rem; margin-top: 1rem; }
.transport li { border-top: 3px solid var(--sky); padding: 1rem; background: var(--fog); border-radius: .2rem; }
.transport p { margin-top: .65rem; color: var(--muted); }

.footer { background: var(--navy); color: white; padding-block: 2rem; }
.footer .wrap { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: .75rem 1.5rem; }
.footer strong { font-size: 1.3rem; }
.footer p { color: #deebfc; margin-top: .2rem; }

@media (max-width: 780px) {
  .wrap, .hero-copy { width: min(100% - 2.25rem, 1180px); }
  .hero-inner { width: 100%; }
  .site-nav { padding-top: .7rem; align-items: flex-start; flex-direction: column; gap: .2rem; }
  nav { width: 100%; justify-content: space-between; gap: .3rem .7rem; flex-wrap: wrap; }
  nav a { font-size: .925rem; }
  .hero-inner {
    min-height: 440px;
    background-image:
      linear-gradient(90deg, #0b213bf2 0%, #102643d1 38%, #10264389 100%),
      url(about.jpeg);
    background-position: center, 63% 41%;
  }
  .worship-grid { grid-template-columns: 1fr; }
  .vision-grid { grid-template-columns: 1fr; }
  .vision-images { order: 1; }
  .vision-image img { max-height: 350px; }
  .sermons ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sermons li, .sermons li:nth-child(n + 4) { grid-column: span 1; }
  .transport { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .contact-bar .wrap { justify-content: space-between; }
  nav { gap: 0 .45rem; }
  nav a { font-size: .875rem; }
  .hero-copy { padding-block: 3.5rem; }
  .sermons ul, .visit-main { grid-template-columns: 1fr; }
  .visit-address { border-radius: .5rem .5rem 0 0; }
  iframe { border-radius: 0 0 .5rem .5rem; min-height: 270px; }
}
