@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&family=Open+Sans:wght@400;700&display=swap");
@font-face {
  font-family: "Senty Vanilla";
  src: url("../fonts/senty.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --gold: #d6bb6e;
  --gold-name: #d8b81f;
  --ink: #3a4049;
  --nav: #1d2025;
  --header: 72px;
  --sans: "Open Sans", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --script: "Senty Vanilla", cursive;
  --latin: "Dancing Script", cursive;
  --impact: Impact, "Arial Narrow", sans-serif;
  --nav-font: Helvetica, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.4;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, .btn { font-family: var(--script); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-bottom: 1px solid rgba(0,0,0,.04);
}
.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-family: var(--nav-font);
  font-size: 14px;
  font-weight: 700;
  color: var(--nav);
}
.site-nav a:hover,
.site-nav a.is-active { color: var(--gold); }
.nav-toggle {
  display: none;
  position: absolute;
  left: 16px;
  border: 0;
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.hero {
  position: relative;
  height: 760px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 92px;
  color: var(--ink);
  text-align: center;
  overflow: hidden;
}
.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}
.hero-copy { position: relative; z-index: 1; }
.hero-kicker {
  margin: 0 0 6px;
  font-family: var(--impact);
  font-size: 23px;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--ink);
}
.hero h1 {
  margin: 0;
  font-family: var(--latin);
  font-size: 106px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold-name);
}

.band {
  background: var(--gold);
  color: #3f4550;
  text-align: center;
  padding: 54px 20px 48px;
}
.band h2 {
  margin: 0;
  font-family: var(--script);
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
}
.band p { margin: 18px 0 0; font-family: var(--sans); font-size: 29px; line-height: 1.8; color: var(--ink); }

.film {
  background: #000;
  display: grid;
  place-items: center;
}
.film-frame {
  position: relative;
  width: min(980px, 100%);
  aspect-ratio: 16 / 9;
  background: #000;
}
.film video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.film-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.92);
  color: #222;
  font-size: 28px;
  cursor: pointer;
}
.film.is-playing .film-play { display: none; }

.banner {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.banner img.bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.banner .shade {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 32, .38);
}
.banner .banner-copy { position: relative; z-index: 1; }
.banner h2 {
  margin: 0 0 18px;
  font-family: var(--script);
  font-size: 77px;
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--nav);
  border: 0;
  border-radius: 0;
  padding: 8px 22px;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}
.btn.round {
  border-radius: 40px;
  padding: 12px 36px;
  border: 1px solid rgba(90, 60, 20, .35);
  color: #5a4632;
  min-width: 220px;
  justify-content: center;
}
.btn:hover { transform: translateY(-1px); }

.story, .bless-intro, .gifts {
  padding: 72px 20px 64px;
  text-align: center;
}
.story h2, .bless-intro h2, .gifts h2, .faith h2 {
  margin: 0 0 22px;
  font-family: var(--script);
  font-size: 48px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
.story h2, .gifts h2 { color: var(--gold); }
.story-body {
  max-width: 720px;
  margin: 0 auto;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.4;
  text-align: center;
}
.story-body p { margin: 0 0 22px; }
.sign {
  margin-top: 8px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
}

.slider { background: #fff; }
.slider-stage {
  position: relative;
  height: 618px;
  background: #111;
}
.slider-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 88px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 54px;
  line-height: 1;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}
.slider-arrow.prev { left: 6px; }
.slider-arrow.next { right: 6px; }
.thumbs {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  padding: 3px 0 0;
}
.thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 132px;
  width: 132px;
  height: 88px;
  overflow: hidden;
}
.thumbs img { width: 132px; height: 88px; max-width: none; object-fit: cover; }
.thumbs button.is-on { border-color: var(--gold); }
.slider-stage img[hidden] { display: none !important; }

.bless-intro { padding-bottom: 20px; }
.bless-intro p, .faith .lead {
  margin: 0;
  color: var(--ink);
  font-family: var(--impact);
  font-size: 24px;
  line-height: 1.3;
}
.faith .lead { font-size: 22px; margin: 8px 0 28px; }
.padlet {
  width: min(1120px, calc(100% - 32px));
  margin: 8px auto 48px;
  background: #ececec;
  border-radius: 8px;
  overflow: hidden;
}
.padlet iframe { width: 100%; height: 760px; border: 0; display: block; }

.faith {
  background: var(--gold);
  text-align: center;
  padding: 64px 20px 56px;
}
.faith .lead {
  margin: 8px 0 28px;
  font-family: var(--impact);
  font-size: 22px;
  color: var(--ink);
}
.video-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
}
.video-card iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #111;
}
.video-card p {
  margin: 8px 0 0;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  text-align: left;
}
.faith-next {
  position: absolute;
  right: -8px;
  top: 70px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,.85);
  cursor: pointer;
  font-size: 22px;
}
.faith .btn { margin-top: 28px; }
.logos {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 22px;
}
.logos a {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
}
.logos img { width: 100%; height: 100%; object-fit: cover; }

.gift-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  max-width: 860px;
  margin: 0 auto 18px;
}
.circle {
  width: 230px;
  height: 230px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
.circle.sm { width: 180px; height: 180px; }
.gift-note {
  font-family: var(--sans);
  font-size: 26px;
  line-height: 1.5;
  color: var(--ink);
  text-align: center;
}
.gift-label {
  font-family: var(--sans);
  font-size: 40px;
  margin: 8px 0 26px;
  color: var(--ink);
}
.tea-row {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}
.tea-row a { width: 120px; color: var(--ink); font-family: var(--sans); font-size: 18px; }
.tea-row img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 8px;
}

.location {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.location .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(.72);
}
.location .copy { position: relative; padding: 54px 16px; }
.location .en {
  font-family: var(--impact);
  font-size: 48px;
  letter-spacing: 0;
  line-height: .7;
  margin: 0;
  font-weight: 400;
}
.location h2 {
  margin: 22px 0 8px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
}
.location p { margin: 0; font-family: var(--sans); font-size: 16px; }
.map iframe { width: 100%; height: 420px; border: 0; display: block; }

.live {
  position: relative;
  text-align: center;
  color: #2c3138;
  padding: 72px 16px 64px;
  overflow: hidden;
}
.live .bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.live .veil {
  position: absolute;
  inset: 0;
  background: rgba(214, 187, 110, .78);
}
.live .copy { position: relative; }
.live h2 {
  margin: 0;
  font-family: var(--sans);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--nav);
}
.live .excited {
  margin: 14px 0 16px;
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: 21px;
  line-height: 1.35;
  color: var(--ink);
}
.live .when { font-family: var(--sans); font-size: 18px; margin-bottom: 22px; color: var(--ink); }

.site-footer {
  text-align: center;
  padding: 42px 16px 56px;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 2.1px;
  color: var(--ink);
}

.dots {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dots a {
  width: 11px;
  height: 11px;
  border: 2px solid #8d939c;
  border-radius: 50%;
  background: transparent;
  position: relative;
}
.dots a.is-on { background: #3a4049; border-color: #3a4049; }
.dots a span {
  display: none;
  position: absolute;
  right: 20px;
  top: -6px;
  white-space: nowrap;
  font-family: var(--sans);
  font-size: 12px;
  color: #444;
}
.dots a:hover span { display: block; }

.page { padding: 36px 20px 20px; max-width: 1100px; margin: 0 auto; }
.page-title {
  text-align: center;
  font-family: var(--script);
  font-weight: 400;
  font-size: 48px;
  margin: 10px 0 28px;
  color: var(--ink);
}
.album-grid, .photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 22px;
}
.album-grid a {
  text-align: center;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
}
.album-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  margin-bottom: 10px;
  transition: filter .45s ease;
}
.album-grid a:hover img { filter: brightness(.72); }
.photo-grid { gap: 10px; }
.photo-grid img { width: 100%; height: 220px; object-fit: cover; }

.viewer {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #111;
  color: #fff;
  display: flex;
  flex-direction: column;
}
.viewer-bar {
  height: 64px;
  display: grid;
  grid-template-columns: 64px 1fr auto auto;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: #1a1a1a;
}
.viewer-actions { display: flex; gap: 8px; }
.viewer-dl {
  color: #fff;
  border: 1px solid rgba(255,255,255,.6);
  padding: 6px 12px;
  font-family: "Open Sans", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  white-space: nowrap;
}
.viewer-dl:hover { background: rgba(255,255,255,.16); }
.viewer-back {
  color: #fff;
  font-size: 34px;
  line-height: 1;
  font-family: Arial, sans-serif;
}
.viewer-title {
  margin: 0;
  text-align: center;
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 400;
}
.viewer-count { font-family: var(--sans); font-size: 14px; color: #ddd; min-width: 70px; text-align: right; }
.viewer-stage {
  position: relative;
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
}
.viewer-stage img {
  max-width: min(1100px, 86vw);
  max-height: calc(100vh - 180px);
  object-fit: contain;
}
.viewer-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 72px;
  border: 0;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 36px;
  cursor: pointer;
}
.viewer-arrow.prev { left: 0; }
.viewer-arrow.next { right: 0; }
.viewer-arrow:hover { background: rgba(255,255,255,.32); }
.viewer-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 8px 12px 12px;
  background: #1a1a1a;
}
.viewer-thumbs button {
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  flex: 0 0 86px;
}
.viewer-thumbs img { width: 86px; height: 64px; object-fit: cover; }
.viewer-thumbs button.is-on { border-color: #fff; }
body.has-viewer { overflow: hidden; }
body.has-viewer .site-header,
body.has-viewer .page,
body.has-viewer .site-footer,
body.has-viewer .lightbox { display: none; }

.product { max-width: 900px; margin: 0 auto; padding: 20px 20px 60px; }
.product h1 {
  text-align: center;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 42px;
  color: #4a5160;
}
.product img.hero-product { width: 100%; max-height: 520px; object-fit: cover; margin: 10px 0 24px; }
.product .copy { max-width: 720px; margin: 0 auto; color: #444; font-size: 15px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 80;
  display: grid;
  place-items: center;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 88vh; object-fit: contain; }
.lb-close, .lb-nav {
  position: absolute;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 40px;
}
.lb-close { top: 12px; right: 18px; }
.lb-nav.prev { left: 12px; top: 50%; }
.lb-nav.next { right: 12px; top: 50%; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 18px;
    gap: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
  }
  .site-nav.is-open { display: flex; }
  .hero { height: 520px; }
  .hero h1 { font-size: 56px; }
  .banner { min-height: 380px; }
  .banner h2 { font-size: 42px; }
  .slider-stage { height: 280px; }
  .video-row { grid-template-columns: 1fr; }
  .faith-next { display: none; }
  .gift-top, .tea-row { flex-direction: column; align-items: center; }
  .gift-note { text-align: center; }
  .album-grid, .photo-grid { grid-template-columns: 1fr 1fr; }
  .dots { display: none; }
  .location .en { font-size: 36px; }
  .live h2 { font-size: 36px; }
  .viewer-bar { grid-template-columns: 40px 1fr; height: auto; padding: 8px; }
  .viewer-actions { grid-column: 1 / -1; }
  .viewer-count { grid-column: 2; grid-row: 1; }
}
