:root {
  --ink: #101821;
  --navy: #071523;
  --navy-2: #0b2239;
  --sky: #7fc2ef;
  --blue: #2d79b9;
  --green: #1f654c;
  --paper: #f5f5f0;
  --white: #ffffff;
  --gold: #c0a064;
  --line: rgba(16, 24, 33, 0.16);
  --content: min(1280px, calc(100vw - 96px));
  --header-height: 82px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Pretendard Variable", Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  word-break: keep-all;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 999;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.content-width {
  width: var(--content);
  margin: 0 auto;
}

.page-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 21, 35, 0.72), rgba(7, 21, 35, 0));
  transition: background 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  height: 72px;
  background: rgba(7, 21, 35, 0.94);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: 210px;
  max-width: 100%;
  height: auto;
  filter: invert(1);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.2vw, 42px);
}

.main-nav a {
  position: relative;
  padding: 26px 0;
  font-size: 14px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 19px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 12px;
  border: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.menu-button > span:first-child {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.menu-icon {
  position: relative;
  width: 22px;
  height: 16px;
}

.menu-icon i {
  position: absolute;
  left: 0;
  width: 22px;
  height: 1px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-icon i:first-child { top: 4px; }
.menu-icon i:last-child { top: 12px; }
.menu-button[aria-expanded="true"] .menu-icon i:first-child { top: 8px; transform: rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-icon i:last-child { top: 8px; transform: rotate(-45deg); }

.section-rail {
  position: fixed;
  top: 50%;
  right: 24px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.88);
  mix-blend-mode: difference;
  transform: translateY(-50%);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.section-line {
  width: 1px;
  height: 70px;
  background: currentColor;
  opacity: 0.52;
}

.eyebrow {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow.light {
  color: #9acaf0;
}

.hero {
  min-height: 760px;
  isolation: isolate;
  background: #74b9ea;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background-image: url("../images/church-hero-desktop-v7.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(115, 187, 236, 0.38) 0%, rgba(115, 187, 236, 0.17) 47%, rgba(7, 21, 35, 0.03) 72%, rgba(7, 21, 35, 0.08) 100%),
    linear-gradient(180deg, rgba(7, 21, 35, 0.11), transparent 25%, transparent 80%, rgba(7, 21, 35, 0.08));
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: calc(var(--header-height) + 50px) 0 100px;
}

.hero .eyebrow {
  color: #133750;
}

.hero h1 {
  margin: 0;
  color: #0c2538;
  font-size: clamp(58px, 6.25vw, 112px);
  font-weight: 350;
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.hero h1 strong {
  display: block;
  font-weight: 800;
}

.hero-slogan {
  width: min(760px, 64vw);
}

.hero-slogan-intro {
  display: block;
  margin-bottom: 0.28em;
  font-size: 0.45em;
  font-weight: 720;
  line-height: 1.24;
  letter-spacing: -0.045em;
}

.hero-copy {
  margin: 34px 0 0;
  color: #18384d;
  font-size: clamp(17px, 1.25vw, 21px);
  font-weight: 520;
  letter-spacing: -0.035em;
}

.hero-reference {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 680;
}

.hero-reference span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 3px 11px;
  color: #ffffff;
  background: rgba(7, 21, 35, 0.82);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.hero-actions,
.map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 42px;
}

.button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 186px;
  padding: 0 21px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--white);
  background: var(--navy);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #132f45;
}

.button-ghost {
  border-color: rgba(10, 35, 54, 0.34);
  color: #0c2538;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.scroll-cue {
  position: absolute;
  left: 48px;
  bottom: 32px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #133750;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.scroll-cue i {
  width: 46px;
  height: 1px;
  background: currentColor;
  animation: scroll-line 1.8s ease-in-out infinite;
  transform-origin: left;
}

@keyframes scroll-line {
  0%, 100% { transform: scaleX(0.35); opacity: 0.5; }
  50% { transform: scaleX(1); opacity: 1; }
}

.pastor {
  min-height: 880px;
  color: var(--white);
  isolation: isolate;
  background: #000;
}

.pastor-halo {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: min(45vw, 660px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(39, 105, 151, 0.25), transparent 68%);
  filter: blur(24px);
}

.pastor-grid {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 6vw;
  padding: 130px 0 90px;
}

.pastor-copy {
  position: relative;
  z-index: 2;
}

.pastor h2,
.values h2,
.youtube h2,
.instagram h2,
.kakao h2,
.tour h2,
.visit h2 {
  margin: 0;
  font-size: clamp(42px, 4.3vw, 76px);
  font-weight: 330;
  line-height: 1.12;
  letter-spacing: -0.065em;
}

.pastor h2 strong,
.values h2 strong,
.youtube h2 strong,
.instagram h2 strong,
.kakao h2 strong,
.tour h2 strong,
.visit h2 strong {
  font-weight: 780;
}

.message {
  max-width: 650px;
  margin-top: 42px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 17px;
  line-height: 1.9;
}

.message p {
  margin: 0 0 13px;
}

.pastor-name {
  margin: 34px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.pastor-name span {
  margin-right: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
  font-weight: 500;
}

.pastor-portrait {
  position: relative;
  align-self: end;
  margin: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.pastor-portrait::after {
  content: none;
}

.pastor-portrait img {
  width: 100%;
  max-height: 82svh;
  object-fit: contain;
  object-position: center bottom;
  mix-blend-mode: normal;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 4%, #000 12%, #000 88%, rgba(0, 0, 0, 0.18) 96%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.18) 4%, #000 12%, #000 88%, rgba(0, 0, 0, 0.18) 96%, transparent 100%);
}

.vision {
  display: flex;
  align-items: center;
  padding: 140px 0 120px;
  background: var(--paper);
}

.section-heading h2,
.vision-statement {
  letter-spacing: -0.065em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 4vw, 72px);
  font-weight: 760;
  line-height: 1.1;
}

.vision-statement {
  margin: 110px 0 90px;
  font-size: clamp(48px, 6.2vw, 108px);
  font-weight: 280;
  line-height: 1.02;
}

.vision-statement strong {
  color: var(--blue);
  font-weight: 800;
}

.vision-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.vision-steps li {
  min-height: 260px;
  padding: 32px 36px 20px 0;
  border-right: 1px solid var(--line);
}

.vision-steps li + li {
  padding-left: 36px;
}

.vision-steps li:last-child {
  border-right: 0;
}

.vision-steps span,
.value-number {
  display: block;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.vision-steps strong {
  display: block;
  margin: 55px 0 12px;
  font-size: clamp(30px, 2.4vw, 42px);
  line-height: 1;
  letter-spacing: -0.055em;
}

.vision-steps p {
  max-width: 310px;
  margin: 0;
  color: #62707c;
  font-size: 15px;
}

.values {
  display: flex;
  align-items: center;
  min-height: 940px;
  padding: 140px 0 120px;
  color: var(--white);
  background: var(--navy);
}

.values-glow {
  position: absolute;
  top: -20%;
  left: 45%;
  width: 62vw;
  height: 62vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 127, 184, 0.21), transparent 70%);
}

.values .content-width {
  position: relative;
  z-index: 1;
}

.values-heading {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  align-items: end;
  margin-bottom: 70px;
}

.values-heading .eyebrow {
  align-self: start;
}

.value-list {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item {
  display: grid;
  grid-template-columns: 80px 0.75fr 1.25fr;
  align-items: center;
  min-height: 150px;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.value-number {
  color: #8cc4ed;
}

.value-item > div > p {
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.value-item h3 {
  margin: 0;
  font-size: clamp(30px, 2.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.05em;
}

.value-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.youtube {
  display: flex;
  align-items: center;
  min-height: 920px;
  padding: 140px 0 120px;
  isolation: isolate;
  background: #f3f5f6;
}

.youtube::before {
  content: "";
  position: absolute;
  top: -30vw;
  left: -26vw;
  width: 68vw;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 0, 51, 0.08);
  border-radius: 50%;
}

.youtube-accent {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 31%;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), transparent 34%),
    #eaf0f4;
}

.youtube-inner {
  position: relative;
  z-index: 1;
}

.youtube-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 64px;
}

.youtube-lead {
  max-width: 510px;
  margin: 0 0 8px;
  color: #5d6d79;
  font-size: 17px;
  line-height: 1.85;
}

.youtube-stage {
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 36px 90px rgba(17, 38, 54, 0.16);
}

.youtube-player {
  position: relative;
  z-index: 1;
  width: 0;
  min-width: 0;
  flex: 1 1 auto;
  aspect-ratio: 16 / 9;
  contain: paint;
  overflow: hidden;
  background: #000;
}

.youtube-player::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: #ff0033;
  pointer-events: none;
}

.youtube-player iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  border: 0;
}

.youtube-panel {
  position: relative;
  z-index: 2;
  width: clamp(350px, 29%, 390px);
  min-width: 0;
  flex: 0 0 clamp(350px, 29%, 390px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: clamp(34px, 3vw, 46px);
  border-left: 1px solid rgba(16, 24, 33, 0.1);
  background: rgba(255, 255, 255, 0.98);
}

.youtube-channel-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e9002d;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.youtube-channel-label i {
  width: 34px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  color: var(--white);
  background: #ff0033;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0;
}

.youtube-kicker {
  margin: 42px 0 8px;
  color: #8b98a1;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.youtube-panel h3 {
  margin: 0;
  font-size: clamp(34px, 3.1vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.youtube-description {
  margin: 24px 0 0;
  color: #62717c;
  font-size: 15px;
  line-height: 1.8;
}

.youtube-links {
  display: grid;
  gap: 18px;
}

.youtube-main-link {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  color: var(--white);
  background: var(--navy);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.youtube-main-link:hover,
.youtube-main-link:focus-visible {
  background: #e9002d;
  transform: translateY(-2px);
}

.youtube-sub-link {
  width: fit-content;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(16, 24, 33, 0.42);
  color: #354653;
  font-size: 13px;
  font-weight: 650;
}

.youtube-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 22px 0 0;
  color: #697985;
  font-size: 13px;
}

.youtube-note span {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #ff0033;
}

.instagram {
  display: flex;
  align-items: center;
  min-height: 1040px;
  padding: 140px 0 125px;
  isolation: isolate;
  color: var(--white);
  background: #0c111a;
}

.instagram::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 34%;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
}

.instagram-glow {
  position: absolute;
  top: -22%;
  left: -10%;
  width: min(62vw, 920px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(174, 49, 147, 0.22) 0%, rgba(74, 69, 172, 0.12) 38%, transparent 70%);
  filter: blur(8px);
}

.instagram-inner {
  position: relative;
  z-index: 1;
}

.instagram-heading {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 70px;
  margin-bottom: 64px;
}

.instagram-lead {
  max-width: 510px;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 17px;
  line-height: 1.85;
}

.instagram-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  align-items: stretch;
  overflow: hidden;
  background: #f7f7f7;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.32);
}

.instagram-feed-card {
  min-width: 0;
  background: var(--white);
}

.social-window-bar {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 22px;
  border-bottom: 1px solid rgba(16, 24, 33, 0.1);
  color: #7e8790;
  background: #f7f7f7;
}

.social-window-bar > span {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d4d9dd;
}

.social-window-bar > span:first-child {
  background: #f0788b;
}

.social-window-bar > span:nth-child(2) {
  background: #edc269;
}

.social-window-bar > span:nth-child(3) {
  background: #6ec99a;
}

.social-window-bar strong {
  min-width: 0;
  margin-left: 8px;
  overflow: hidden;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.instagram-embed-shell {
  min-height: 650px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: 28px 20px 34px;
  background: var(--white);
}

.instagram-embed-shell .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 658px !important;
  margin: 0 auto !important;
}

.instagram-embed-shell > blockquote > a {
  min-height: 560px;
  display: grid;
  place-items: center;
  padding: 28px;
  color: #3b4852;
  text-align: center;
}

.instagram-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 54px;
  padding: clamp(34px, 4vw, 58px);
  color: #161b23;
  background:
    radial-gradient(circle at 12% 10%, rgba(255, 255, 255, 0.82), transparent 29%),
    linear-gradient(145deg, #f3cc78 0%, #ee786e 37%, #be4e9e 70%, #7066c5 100%);
}

.instagram-mark {
  position: relative;
  width: 48px;
  height: 48px;
  display: block;
  border: 3px solid currentColor;
  border-radius: 14px;
}

.instagram-mark::before {
  content: "";
  position: absolute;
  inset: 11px;
  border: 3px solid currentColor;
  border-radius: 50%;
}

.instagram-mark i {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.instagram-handle {
  margin: 42px 0 9px;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.instagram-panel h3 {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.instagram-panel h3 + p {
  margin: 25px 0 0;
  color: rgba(16, 24, 33, 0.76);
  font-size: 15px;
  line-height: 1.8;
}

.instagram-link {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 20px;
  color: var(--white);
  background: #151b24;
  font-size: 14px;
  font-weight: 750;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.instagram-link:hover,
.instagram-link:focus-visible {
  color: #17131d;
  background: var(--white);
  transform: translateY(-2px);
}

.instagram-note {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.42);
  font-size: 12px;
}

.kakao {
  min-height: 780px;
  display: flex;
  align-items: center;
  padding: 130px 0;
  isolation: isolate;
  background: #fee500;
}

.kakao-pattern {
  position: absolute;
  top: 50%;
  right: -11vw;
  width: min(48vw, 720px);
  aspect-ratio: 1;
  border: 1px solid rgba(16, 24, 33, 0.13);
  border-radius: 50%;
  transform: translateY(-50%);
}

.kakao-pattern::before,
.kakao-pattern::after {
  content: "";
  position: absolute;
  inset: 15%;
  border: inherit;
  border-radius: inherit;
}

.kakao-pattern::after {
  inset: 31%;
}

.kakao-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
}

.kakao .eyebrow {
  color: rgba(16, 24, 33, 0.58);
}

.kakao-lead {
  max-width: 470px;
  margin: 32px 0 0;
  color: rgba(16, 24, 33, 0.68);
  font-size: 17px;
}

.kakao-card {
  position: relative;
  min-height: 460px;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: end;
  gap: 40px;
  overflow: hidden;
  padding: clamp(36px, 5vw, 70px);
  color: var(--white);
  background: #17191d;
  box-shadow: 0 36px 80px rgba(40, 33, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kakao-card:hover,
.kakao-card:focus-visible {
  transform: translateY(-6px);
  box-shadow: 0 46px 95px rgba(40, 33, 0, 0.27);
}

.kakao-bubble {
  position: relative;
  width: 160px;
  height: 142px;
  display: grid;
  place-items: center;
  align-self: start;
  border-radius: 50%;
  color: #17191d;
  background: #fee500;
}

.kakao-bubble::after {
  content: "";
  position: absolute;
  right: 17px;
  bottom: 3px;
  width: 30px;
  height: 34px;
  background: #fee500;
  clip-path: polygon(0 0, 100% 0, 100% 100%);
  transform: rotate(9deg);
}

.kakao-bubble span {
  position: relative;
  z-index: 1;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.kakao-card-copy > p {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.15em;
}

.kakao-card-copy h3 {
  margin: 0;
  font-size: clamp(35px, 3.4vw, 55px);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.kakao-handle {
  display: block;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.kakao-arrow {
  position: absolute;
  top: 38px;
  right: 42px;
  font-size: 33px;
  font-weight: 300;
}

.tour {
  padding: 140px 0 130px;
  background: #eaf5fc;
}

.tour-intro {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 70px;
}

.tour-copy {
  max-width: 520px;
  margin: 0 0 8px;
  color: #5e7280;
  font-size: 17px;
}

.panorama-shell {
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 35px 90px rgba(38, 83, 114, 0.18);
}

.panorama-view {
  position: relative;
  min-height: min(62vw, 690px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  background-color: #4586b2;
  background-image: none;
  background-repeat: no-repeat;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.panorama-preview {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.panorama-preview::before {
  content: "";
  position: absolute;
  inset: -32px;
  background: url("../images/church-hero.jpg") 38% 9% / cover no-repeat;
  filter: blur(22px) saturate(0.86);
  opacity: 0.68;
  transform: scale(1.08);
}

.panorama-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 46%, rgba(255, 255, 255, 0.28), transparent 35%),
    linear-gradient(90deg, rgba(8, 35, 55, 0.24), rgba(85, 155, 201, 0.04));
}

.panorama-preview img {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: clamp(22px, 4.5vw, 72px);
  bottom: 22px;
  width: min(54%, 640px);
  height: calc(100% - 44px);
  object-fit: contain;
  object-position: center center;
  filter: drop-shadow(0 24px 34px rgba(5, 29, 47, 0.24));
}

.panorama-view.has-image .panorama-preview {
  opacity: 0;
  visibility: hidden;
}

.panorama-view.dragging {
  cursor: grabbing;
}

.panorama-overlay {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 21, 35, 0.82) 0%, rgba(7, 34, 53, 0.62) 34%, rgba(15, 60, 89, 0.16) 65%, rgba(15, 60, 89, 0.04) 100%);
}

.panorama-view.has-image .panorama-overlay {
  background: linear-gradient(180deg, rgba(7, 21, 35, 0.12), rgba(7, 21, 35, 0.32));
}

.panorama-empty {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: clamp(36px, 7vw, 112px);
  width: min(38%, 430px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 0;
  text-align: left;
  transform: translateY(-50%);
}

.panorama-empty[hidden] {
  display: none;
}

.panorama-mark {
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  font-size: 26px;
  font-weight: 300;
  letter-spacing: -0.04em;
}

.panorama-empty strong {
  font-size: 32px;
  letter-spacing: -0.04em;
}

.panorama-empty p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.drag-guide {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 4;
  padding: 10px 14px;
  color: var(--white);
  background: rgba(7, 21, 35, 0.62);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.drag-guide span {
  margin-right: 7px;
}

.panorama-tabs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.panorama-tabs button {
  min-height: 70px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.58);
  background: var(--navy);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.panorama-tabs button:last-child {
  border-right: 0;
}

.panorama-tabs button.active,
.panorama-tabs button:hover,
.panorama-tabs button:focus-visible {
  color: var(--navy);
  background: #c8e7f9;
}

.visit {
  display: flex;
  align-items: center;
  min-height: 850px;
  padding: 140px 0 110px;
  background: var(--white);
}

.visit-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: start;
  gap: clamp(70px, 10vw, 160px);
}

.contact-list {
  margin: 0;
}

.contact-list div {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.contact-list dt {
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.17em;
}

.contact-list dd {
  margin: 0;
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 680;
  line-height: 1.45;
  letter-spacing: -0.04em;
}

.contact-list dd a {
  transition: color 0.2s ease;
}

.contact-list dd a:hover,
.contact-list dd a:focus-visible {
  color: var(--blue);
}

.visit-details {
  padding-top: 7px;
}

.visit-details .map-actions {
  margin-top: 24px;
}

.contact-phone {
  margin-top: 58px;
}

.button-dark {
  color: var(--white);
  background: var(--navy);
}

.button-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.site-footer {
  padding: 82px 0 58px;
  color: rgba(255, 255, 255, 0.62);
  background: #02070c;
  font-size: 13px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(500px, 1.25fr);
  align-items: start;
  gap: clamp(60px, 9vw, 140px);
  padding-bottom: 62px;
}

.footer-brand {
  display: flex;
  align-items: center;
}

.footer-brand img {
  display: block;
  width: 350px;
  height: auto;
  filter: invert(1);
}

.family-sites > p {
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.34);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.family-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.family-links a {
  position: relative;
  min-height: 106px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 50px 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.family-links a:hover,
.family-links a:focus-visible {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.family-links span {
  color: rgba(255, 255, 255, 0.38);
  font-size: 10px;
}

.family-links strong {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 15px;
  font-weight: 650;
}

.family-links i {
  position: absolute;
  top: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 17px;
  font-style: normal;
}

.footer-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  padding-top: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p,
.site-footer address {
  margin: 5px 0;
  font-style: normal;
}

.copyright {
  margin: 0 !important;
  color: rgba(255, 255, 255, 0.28);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:not(.is-visible) {
  transition-delay: 0s;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (max-width: 1100px) {
  :root {
    --content: min(100% - 64px, 1000px);
  }

  .site-header {
    padding: 0 32px;
  }

  .brand img {
    width: 180px;
  }

  .main-nav {
    gap: 20px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .pastor-grid {
    gap: 3vw;
  }

  .message {
    font-size: 16px;
  }

  .value-item {
    grid-template-columns: 60px 0.7fr 1.3fr;
  }
}

@media (max-width: 1020px) {
  .youtube-stage {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .youtube-player {
    width: 100%;
  }

  .youtube-panel {
    width: 100%;
    min-height: 360px;
    flex-basis: auto;
    border-top: 1px solid rgba(16, 24, 33, 0.1);
    border-left: 0;
  }
}

@media (max-width: 860px) {
  :root {
    --content: calc(100% - 40px);
    --header-height: 68px;
  }

  .site-header,
  .site-header.scrolled,
  .site-header.menu-open {
    height: var(--header-height);
    padding: 0 20px;
    background: rgba(7, 21, 35, 0.92);
    backdrop-filter: blur(14px);
  }

  .brand img {
    width: 160px;
  }

  .menu-button {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 12px;
    left: 12px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    padding: 8px 14px 14px;
    visibility: hidden;
    opacity: 0;
    background: rgba(7, 21, 35, 0.96);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    backdrop-filter: blur(16px);
  }

  .main-nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 12px 9px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    font-size: 13px;
  }

  .main-nav a:last-child {
    grid-column: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .main-nav a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .main-nav a::after {
    display: none;
  }

  .section-rail {
    display: none;
  }

  .hero {
    min-height: 720px;
  }

  .hero-sky {
    background-image: url("../images/church-hero-mobile-v7.jpg");
    background-position: center bottom;
    background-size: cover;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(105, 177, 228, 0.72) 0%, rgba(116, 185, 234, 0.43) 52%, rgba(7, 21, 35, 0.08) 100%);
  }

  .hero-content {
    justify-content: flex-start;
    padding-top: 158px;
  }

  .hero h1 {
    max-width: 640px;
    font-size: clamp(50px, 10.6vw, 76px);
  }

  .hero-slogan {
    width: min(650px, 88vw);
  }

  .pastor-grid {
    grid-template-columns: 1fr;
    padding-top: 120px;
  }

  .pastor-copy {
    max-width: 680px;
  }

  .pastor-portrait {
    width: min(88%, 620px);
    justify-self: center;
  }

  .vision-steps {
    grid-template-columns: 1fr;
  }

  .vision-steps li,
  .vision-steps li + li {
    min-height: auto;
    display: grid;
    grid-template-columns: 54px 0.65fr 1.35fr;
    align-items: start;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .vision-steps li:last-child {
    border-bottom: 0;
  }

  .vision-steps strong {
    margin: 0;
  }

  .values-heading,
  .youtube-heading,
  .instagram-heading,
  .tour-intro {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .instagram-stage {
    grid-template-columns: 1fr;
  }

  .instagram-panel {
    min-height: 390px;
  }

  .kakao-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .kakao-heading {
    max-width: 680px;
  }

  .kakao-card {
    min-height: 400px;
  }

  .value-item {
    grid-template-columns: 50px 0.7fr 1.3fr;
  }

  .panorama-tabs {
    grid-template-columns: repeat(3, 1fr);
  }

  .panorama-tabs button {
    min-height: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .visit-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 560px) {
  :root {
    --content: calc(100% - 36px);
  }

  body {
    font-size: 16px;
  }

  .brand img {
    width: 150px;
  }

  .menu-button > span:first-child {
    display: none;
  }

  .hero {
    min-height: 700px;
  }

  .hero-sky {
    background-image: url("../images/church-hero-mobile-v7.jpg");
    background-position: center bottom;
    background-size: cover;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(105, 177, 228, 0.48) 0%, rgba(116, 185, 234, 0.36) 48%, rgba(7, 21, 35, 0.12) 100%);
  }

  .hero-content {
    padding-top: 138px;
  }

  .hero h1 {
    font-size: clamp(45px, 13.4vw, 64px);
    line-height: 1.03;
  }

  .hero-slogan {
    width: 100%;
  }

  .hero-slogan-intro {
    margin-bottom: 0.42em;
    font-size: 0.42em;
  }

  .hero-copy {
    max-width: 280px;
    margin-top: 24px;
    font-size: 16px;
  }

  .hero-reference {
    max-width: none;
    gap: 9px;
    font-size: 14px;
  }

  .hero-actions,
  .map-actions {
    width: 100%;
    gap: 8px;
  }

  .button {
    min-width: 0;
    min-height: 52px;
    flex: 1 1 0;
    gap: 12px;
    padding: 0 15px;
    font-size: 13px;
  }

  .scroll-cue {
    left: 18px;
    bottom: 22px;
  }

  .pastor,
  .values {
    min-height: 0;
  }

  .pastor-grid {
    min-height: 0;
    padding: 108px 0 0;
  }

  .pastor h2,
  .values h2,
  .youtube h2,
  .instagram h2,
  .kakao h2,
  .tour h2,
  .visit h2,
  .section-heading h2 {
    font-size: clamp(37px, 10.5vw, 50px);
  }

  .message {
    margin-top: 34px;
    font-size: 16px;
    line-height: 1.82;
  }

  .pastor-name {
    margin-top: 26px;
  }

  .pastor-portrait {
    width: 112%;
    max-width: none;
    margin-left: -6%;
  }

  .vision,
  .values,
  .youtube,
  .instagram,
  .kakao,
  .tour,
  .visit {
    padding: 105px 0 90px;
  }

  .vision-statement {
    margin: 75px 0 62px;
    font-size: clamp(43px, 12.2vw, 62px);
    line-height: 1.08;
  }

  .vision-steps li,
  .vision-steps li + li {
    grid-template-columns: 42px 1fr;
    gap: 6px;
    padding: 26px 0;
  }

  .vision-steps p {
    grid-column: 2;
    margin-top: 10px;
  }

  .vision-steps strong {
    font-size: 30px;
  }

  .values-heading {
    margin-bottom: 46px;
  }

  .youtube-heading {
    margin-bottom: 42px;
  }

  .youtube-lead {
    font-size: 15px;
  }

  .youtube-stage {
    box-shadow: 0 24px 55px rgba(17, 38, 54, 0.14);
  }

  .youtube-panel {
    min-height: 330px;
    padding: 30px 26px;
  }

  .youtube-kicker {
    margin-top: 32px;
  }

  .youtube-panel h3 {
    font-size: 36px;
  }

  .youtube-note {
    align-items: flex-start;
    font-size: 12px;
    line-height: 1.6;
  }

  .youtube-note span {
    margin-top: 6px;
  }

  .instagram::before {
    width: 54%;
  }

  .instagram-heading {
    margin-bottom: 42px;
  }

  .instagram-lead {
    font-size: 15px;
  }

  .instagram-stage {
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.26);
  }

  .social-window-bar {
    min-height: 48px;
    padding: 0 15px;
  }

  .instagram-embed-shell {
    min-height: 560px;
    padding: 18px 6px 24px;
  }

  .instagram-panel {
    min-height: 360px;
    padding: 32px 26px;
  }

  .instagram-handle {
    margin-top: 32px;
  }

  .instagram-panel h3 {
    font-size: 36px;
  }

  .instagram-note {
    line-height: 1.65;
  }

  .kakao {
    min-height: 0;
  }

  .kakao-pattern {
    top: 20%;
    right: -35%;
    width: 95vw;
  }

  .kakao-inner {
    gap: 42px;
  }

  .kakao-lead {
    margin-top: 24px;
    font-size: 15px;
  }

  .kakao-card {
    min-height: 430px;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 42px;
    padding: 30px 26px 34px;
  }

  .kakao-bubble {
    width: 105px;
    height: 92px;
  }

  .kakao-bubble::after {
    right: 8px;
    bottom: 0;
    width: 23px;
    height: 25px;
  }

  .kakao-bubble span {
    font-size: 19px;
  }

  .kakao-card-copy h3 {
    font-size: 38px;
  }

  .kakao-arrow {
    top: 27px;
    right: 28px;
  }

  .value-item {
    grid-template-columns: 34px 0.66fr 1.34fr;
    gap: 12px;
    min-height: 128px;
  }

  .value-item h3 {
    font-size: 28px;
  }

  .value-description {
    font-size: 14px;
    line-height: 1.6;
  }

  .tour-intro {
    margin-bottom: 42px;
  }

  .tour-copy {
    font-size: 15px;
  }

  .panorama-view {
    min-height: 590px;
    align-items: stretch;
  }

  .panorama-empty {
    top: auto;
    right: 22px;
    bottom: 22px;
    left: 22px;
    width: auto;
    padding: 22px 24px;
    background: rgba(7, 28, 43, 0.66);
    box-shadow: 0 16px 34px rgba(4, 25, 40, 0.16);
    transform: none;
    backdrop-filter: blur(12px);
  }

  .panorama-preview img {
    top: 16px;
    right: 16px;
    bottom: 38%;
    left: 16px;
    width: calc(100% - 32px);
    height: auto;
    max-height: 58%;
    margin: auto;
    object-position: center center;
  }

  .panorama-view:not(.has-image) .panorama-overlay {
    background: linear-gradient(180deg, rgba(7, 42, 66, 0.03) 0%, rgba(7, 36, 56, 0.12) 48%, rgba(7, 21, 35, 0.74) 100%);
  }

  .panorama-empty strong {
    font-size: 27px;
  }

  .panorama-empty p {
    max-width: 260px;
  }

  .panorama-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .visit-grid {
    gap: 48px;
  }

  .visit-details {
    padding-top: 0;
  }

  .contact-list {
    margin: 0;
  }

  .contact-list dd {
    font-size: 23px;
  }

  .visit-details .map-actions {
    margin-top: 20px;
  }

  .contact-phone {
    margin-top: 44px;
  }

  .site-footer {
    padding: 60px 0 50px;
  }

  .footer-brand {
    align-items: center;
  }

  .footer-brand img {
    width: 310px;
    max-width: 100%;
  }

  .footer-top {
    gap: 42px;
    padding-bottom: 44px;
  }

  .family-links {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    display: grid;
    gap: 28px;
  }

  .copyright {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
