:root {
  --brick: #A84E34;
  --brick-dark: #74321F;
  --orange: #D8824A;
  --cream: #FDFBF7;
  --cream-deep: #F7EEE3;
  --paper: #FFFFFF;
  --charcoal: #2C3E50;
  --muted: #6A7682;
  --line: rgba(44, 62, 80, .12);
  --shadow: 0 20px 60px rgba(65, 35, 20, .12);
  --round-xl: 32px;
  --round-lg: 24px;
  --round-md: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  word-break: keep-all;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.container {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brick);
  color: #fff;
  padding: 12px 16px;
  z-index: 1000;
  border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  transition: .25s ease;
}
.site-header.is-scrolled {
  background: rgba(253, 251, 247, .9);
  backdrop-filter: blur(16px);
  box-shadow: 0 8px 30px rgba(44, 62, 80, .08);
  padding: 10px 0;
}
.nav {
  width: min(calc(100% - 28px), 1220px);
  margin: 0 auto;
  min-height: 68px;
  border: 1px solid rgba(255,255,255,.42);
  background: rgba(255, 255, 255, .54);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 22px;
  box-shadow: 0 12px 40px rgba(65, 35, 20, .08);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--brick-dark);
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--brick), var(--orange));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(168, 78, 52, .28);
}
.brand-text small {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .02em;
  font-weight: 700;
  margin-top: 1px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 12px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(44, 62, 80, .86);
  transition: .2s ease;
}
.nav-links a:hover {
  background: rgba(168, 78, 52, .1);
  color: var(--brick-dark);
}
.nav-cta {
  background: var(--brick) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(168, 78, 52, .24);
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(168, 78, 52, .1);
  color: var(--brick-dark);
  cursor: pointer;
}

/* Hero */
.hero {
  min-height: 100svh;
  position: relative;
  padding: 126px 0 70px;
  display: flex;
  align-items: center;
  isolation: isolate;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 22%, rgba(255, 217, 176, .42), transparent 34%),
    linear-gradient(180deg, rgba(253, 251, 247, .15), var(--cream) 92%);
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1000ms ease, transform 7000ms ease;
  background-position: center;
  background-size: cover;
  transform: scale(1.04);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(44, 25, 16, .72), rgba(44, 25, 16, .34) 46%, rgba(253, 251, 247, .08)),
    linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(253, 251, 247, .72) 90%);
}
.hero-content {
  width: min(calc(100% - 36px), var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, .64fr);
  gap: 42px;
  align-items: end;
}
.hero-copy {
  color: #fff;
  padding: 48px 0 32px;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .24);
  backdrop-filter: blur(12px);
  font-weight: 800;
  font-size: 14px;
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FFD7A0;
  box-shadow: 0 0 0 7px rgba(255, 215, 160, .18);
}
.hero h1 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(40px, 7vw, 84px);
  line-height: 1.08;
  letter-spacing: -0.06em;
  text-shadow: 0 10px 40px rgba(0,0,0,.28);
}
.hero h1 em {
  font-style: normal;
  color: #FFE1B5;
}
.hero-sub {
  max-width: 710px;
  margin: 24px 0 0;
  font-size: clamp(17px, 2.2vw, 22px);
  line-height: 1.78;
  color: rgba(255,255,255,.9);
  letter-spacing: -0.03em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: .2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 16px 34px rgba(216, 130, 74, .32);
}
.btn-primary:hover { transform: translateY(-2px); background: #C9733E; }
.btn-ghost {
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }

.hero-card {
  background: rgba(253, 251, 247, .88);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255,255,255,.64);
  border-radius: var(--round-xl);
  padding: 26px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.hero-card p { margin: 0; }
.hc-label {
  color: var(--brick);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
}
.hc-title {
  margin-top: 8px !important;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}
.hc-desc {
  margin-top: 10px !important;
  line-height: 1.75;
  color: var(--muted);
}
.hero-dots {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.dot {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(168, 78, 52, .22);
  cursor: pointer;
  transition: .2s ease;
  padding: 0;
}
.dot.active {
  width: 58px;
  background: var(--brick);
}

/* Sections */
section {
  padding: 96px 0;
}
.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: end;
  margin-bottom: 32px;
}
.label {
  margin: 0 0 12px;
  color: var(--brick);
  font-weight: 900;
  letter-spacing: .12em;
  font-size: 13px;
}
.section-title {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: -0.06em;
  line-height: 1.18;
}
.section-desc {
  max-width: 470px;
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
  font-size: 17px;
}

/* Quick cards */
.quick {
  padding-top: 0;
  margin-top: -44px;
  position: relative;
  z-index: 5;
}
.quick-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 18px;
}
.quick-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--round-lg);
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}
.quick-icon {
  width: 54px;
  height: 54px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  background: var(--cream-deep);
  color: var(--brick);
  font-size: 24px;
}
.quick-card h2, .quick-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.04em;
}
.quick-card p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}
.quick-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 900;
  color: var(--brick);
}

/* Worship */
.worship {
  background:
    radial-gradient(circle at 82% 20%, rgba(216, 130, 74, .16), transparent 30%),
    linear-gradient(180deg, var(--cream), #fff 50%, var(--cream));
}
.worship-layout {
  display: grid;
  grid-template-columns: .76fr 1.24fr;
  gap: 26px;
  align-items: stretch;
}
.worship-note {
  border-radius: var(--round-xl);
  background: linear-gradient(145deg, var(--brick-dark), var(--brick));
  color: #fff;
  padding: 34px;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.worship-note::after {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  right: -60px;
  bottom: -70px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.worship-note h3 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: 34px;
  letter-spacing: -0.05em;
}
.worship-note p {
  margin: 16px 0 0;
  line-height: 1.82;
  color: rgba(255,255,255,.86);
}
.time-list {
  display: grid;
  gap: 12px;
}
.time-item {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px 22px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  box-shadow: 0 10px 34px rgba(44, 62, 80, .06);
}
.time-title {
  margin: 0 0 7px;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: -0.04em;
}
.time-place {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}
.time-clock {
  min-width: 114px;
  justify-self: end;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--cream-deep);
  color: var(--brick-dark);
  font-weight: 900;
  text-align: center;
}

/* Pastor */
.pastor-wrap {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 34px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--round-xl);
  padding: 28px;
  box-shadow: var(--shadow);
}
.pastor-photo {
  min-height: 430px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(168,78,52,.1), rgba(216,130,74,.08)),
    url("./assets/pastor-placeholder.svg") center/cover no-repeat;
  overflow: hidden;
}
.pastor-text {
  padding: 18px 18px 18px 4px;
}
.pastor-text h2 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.06em;
  line-height: 1.2;
}
.pastor-message {
  margin: 22px 0 0;
  color: #43505E;
  font-size: 18px;
  line-height: 1.92;
}
.signature {
  margin-top: 26px;
  display: flex;
  align-items: end;
  gap: 14px;
  color: var(--muted);
}
.sign-name {
  font-family: "Noto Serif KR", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--brick-dark);
}

/* Faith */
.faith {
  background: var(--brick-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.faith::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 215, 160, .22), transparent 30%),
    radial-gradient(circle at 88% 76%, rgba(216, 130, 74, .23), transparent 34%);
  pointer-events: none;
}
.faith .container {
  position: relative;
  z-index: 1;
}
.faith-label {
  margin: 0 0 16px;
  color: #FFD7A0;
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 13px;
}
.faith-title {
  margin: 0 0 34px;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(34px, 5.4vw, 64px);
  line-height: 1.15;
  letter-spacing: -0.06em;
}
.faith-title em {
  font-style: normal;
  color: #FFE1B5;
}
.faith-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.faith-card {
  min-height: 300px;
  padding: 28px;
  border-radius: var(--round-lg);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(14px);
  transition: .2s ease;
}
.faith-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.14);
}
.fc-num {
  margin: 0 0 40px;
  color: rgba(255, 225, 181, .9);
  font-weight: 900;
  font-size: 15px;
}
.fc-q {
  margin: 0 0 14px;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -0.05em;
}
.fc-a {
  margin: 0;
  color: rgba(255,255,255,.78);
  line-height: 1.78;
}

/* News */
.news {
  background: var(--cream);
}
.news-layout {
  display: grid;
  grid-template-columns: .86fr 1.14fr;
  gap: 22px;
}
.notice-box, .photo-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--round-xl);
  padding: 24px;
  box-shadow: var(--shadow);
}
.box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  gap: 12px;
}
.box-title h3 {
  margin: 0;
  font-size: 24px;
  letter-spacing: -0.05em;
}
.more {
  color: var(--brick);
  font-weight: 900;
  font-size: 14px;
}
.notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}
.notice-list li {
  border-top: 1px solid var(--line);
}
.notice-list li:first-child { border-top: 0; }
.notice-list a {
  display: grid;
  gap: 8px;
  padding: 17px 0;
}
.notice-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.notice-meta {
  color: var(--muted);
  font-size: 14px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.photo-tile {
  min-height: 142px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  grid-column: span 2;
}
.photo-tile:first-child,
.photo-tile:nth-child(4) {
  grid-column: span 3;
  min-height: 174px;
}
.photo-tile::after {
  content: attr(data-title);
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(44, 25, 16, .48);
  backdrop-filter: blur(10px);
  font-size: 13px;
  font-weight: 800;
}

/* Instagram */
.insta {
  padding: 0 0 96px;
}
.insta-card {
  border-radius: var(--round-xl);
  padding: 40px;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(168,78,52,.92), rgba(216,130,74,.84)),
    url("./assets/instagram-bg.svg") center/cover no-repeat;
  color: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.insta-card h2 {
  margin: 0;
  font-family: "Noto Serif KR", serif;
  font-size: clamp(28px, 4vw, 46px);
  letter-spacing: -0.06em;
  line-height: 1.25;
}
.insta-card p {
  margin: 14px 0 0;
  color: rgba(255,255,255,.86);
  line-height: 1.76;
  max-width: 640px;
}
.insta-button {
  white-space: nowrap;
  background: rgba(255,255,255,.94);
  color: var(--brick-dark);
  min-height: 58px;
  padding: 0 24px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(0,0,0,.12);
}

/* Location */
.location {
  background: #fff;
}
.location-grid {
  display: grid;
  grid-template-columns: .78fr 1.22fr;
  gap: 24px;
  align-items: stretch;
}
.location-info {
  border-radius: var(--round-xl);
  padding: 32px;
  background: var(--cream);
  border: 1px solid var(--line);
}
.info-row {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.info-row:first-child { border-top: 0; padding-top: 0; }
.info-label {
  margin: 0 0 6px;
  color: var(--brick);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .08em;
}
.info-value {
  margin: 0;
  line-height: 1.7;
  font-weight: 700;
}
.map {
  min-height: 420px;
  border-radius: var(--round-xl);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--cream-deep);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  min-height: 420px;
}

/* Footer */
.footer {
  padding: 54px 0 34px;
  background: var(--charcoal);
  color: #fff;
}
.footer-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-weight: 900;
  font-size: 20px;
  letter-spacing: -0.04em;
}
.footer p {
  margin: 12px 0 0;
  color: rgba(255,255,255,.68);
  line-height: 1.72;
}
.socials {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.socials a {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.09);
  color: rgba(255,255,255,.88);
  font-weight: 800;
}
.copyright {
  margin-top: 26px;
  color: rgba(255,255,255,.56);
  font-size: 14px;
}

@media (max-width: 920px) {
  .nav {
    border-radius: 28px;
    min-height: 62px;
  }
  .menu-btn { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 82px;
    left: 14px;
    right: 14px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(253, 251, 247, .96);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    color: var(--charcoal);
    padding: 14px 16px;
  }

  .hero {
    padding: 112px 0 64px;
    min-height: auto;
  }
  .hero-content,
  .quick-grid,
  .worship-layout,
  .pastor-wrap,
  .news-layout,
  .location-grid,
  .insta-card {
    grid-template-columns: 1fr;
  }
  .hero-card {
    margin-bottom: 0;
  }
  .quick {
    margin-top: 0;
    padding-top: 38px;
  }
  .faith-grid {
    grid-template-columns: 1fr;
  }
  .faith-card {
    min-height: auto;
  }
  .fc-num {
    margin-bottom: 24px;
  }
  .section-head {
    display: block;
  }
  .section-desc {
    margin-top: 14px;
  }
  .pastor-photo {
    min-height: 320px;
  }
  .insta-button {
    justify-self: start;
  }
  .footer-top {
    display: grid;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(calc(100% - 26px), var(--max));
  }
  section {
    padding: 68px 0;
  }
  .brand-text small { display: none; }
  .hero h1 {
    font-size: 43px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-card,
  .quick-card,
  .worship-note,
  .pastor-wrap,
  .notice-box,
  .photo-box,
  .insta-card,
  .location-info {
    border-radius: 24px;
    padding: 22px;
  }
  .quick-card {
    grid-template-columns: 1fr;
  }
  .time-item {
    grid-template-columns: 1fr;
  }
  .time-clock {
    justify-self: start;
  }
  .photo-grid {
    grid-template-columns: 1fr;
  }
  .photo-tile,
  .photo-tile:first-child,
  .photo-tile:nth-child(4) {
    grid-column: auto;
    min-height: 190px;
  }
  .map,
  .map iframe {
    min-height: 320px;
  }
}