@font-face {
  font-family: "DM Medea";
  src: url(DM-Medea.ttf) format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BPG Nino";
  src: url(bpg_nino.otf) format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
:root {
  --bg: #f4efe6;
  --bg-alt: #ede8df;
  --text: #2c2018;
  --text-soft: #8a7a6a;
  --teal: #6888a0;
  --gold: #c9a46a;
  --gold-lt: #a07840;
  --border: #d5ccc0;
  --rule: #c8bdb0;
}
body.night {
  --bg: #161210;
  --bg-alt: #1e1814;
  --text: #e8dfd4;
  --text-soft: #9a8878;
  --teal: #7a9eb8;
  --gold: #d4b070;
  --gold-lt: #b08848;
  --border: #362e26;
  --rule: #4a4038;
}
*,
*::before,
*::after {
  transition:
    background-color 1.2s ease-in-out,
    color 1.2s ease-in-out,
    border-color 1.2s ease-in-out;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}
body {
  font-family: "BPG Nino", serif;
  background-color: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  max-width: 100%;
}
body.lang-en {
  font-family: "BPG Nino", serif;
}
input,
textarea,
select,
button {
  font-family: inherit;
}
body.no-scroll {
  overflow: hidden;
  position: fixed;
  width: 100%;
  top: 0;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg-alt);
}
::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 3px;
  transition: background-color 0.4s ease;
}
body.scrollbar-ready::-webkit-scrollbar-thumb {
  background-color: var(--rule);
}
* {
  scrollbar-color: var(--rule) var(--bg-alt);
  scrollbar-width: thin;
}
#loading-screen {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: #f0e6da;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease;
}
#loading-screen.fade-out {
  opacity: 0;
  pointer-events: none;
}
#loading-screen.gone {
  display: none;
}
.loader-ring {
  width: 60px;
  height: 60px;
  border: 2.5px solid rgba(201, 164, 106, 0.18);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: loaderSpin 1s linear infinite;
}
@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #f0e6da;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.5s ease;
}
#intro-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
#intro-overlay.gone {
  display: none;
}
#intro-click {
  position: absolute;
  bottom: 0%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  white-space: nowrap;
  opacity: 0;
  animation: introFadeIn 1.4s ease 0.3s forwards;
  transition: opacity 0.5s ease;
}
.intro-en {
  font-family: "BPG Nino", serif;
  font-size: 10px;
  letter-spacing: 0.38em;
  color: #2a1a0e;
  font-weight: 500;
}
.intro-divider {
  width: 36px;
  height: 1px;
  background: #2a1a0e;
  opacity: 0.4;
}
.intro-ka {
  font-size: 20px;
  color: #2a1a0e;
  letter-spacing: 0.05em;
  font-weight: 600;
}
#intro-poster,
#video-1,
#video-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
#intro-poster {
  z-index: 2;
  opacity: 1;
}
#intro-poster.hidden {
  opacity: 0;
}
#video-1 {
  z-index: 1;
  opacity: 1;
}
#video-2 {
  z-index: 1;
  opacity: 0;
}
#video-2.active {
  opacity: 1;
}
#lang-toggle {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
#lang-toggle.visible {
  opacity: 1;
  pointer-events: auto;
}
.lang-switch {
  position: relative;
  width: 74px;
  height: 36px;
  background: rgba(244, 239, 230, 0.82);
  border-radius: 18px;
  border: 1px solid rgba(200, 189, 176, 0.7);
  display: flex;
  align-items: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  backdrop-filter: blur(6px);
}
.lang-switch__thumb {
  position: absolute;
  left: 3px;
  width: 32px;
  height: 28px;
  background: rgba(104, 136, 160, 0.15);
  border: 1px solid rgba(104, 136, 160, 0.4);
  border-radius: 14px;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.lang-switch.lang-en .lang-switch__thumb {
  transform: translateX(36px);
}
.lang-switch__label {
  flex: 1;
  text-align: center;
  font-size: 20px;
  line-height: 1;
  position: relative;
  z-index: 1;
  opacity: 0.5;
  transition: opacity 0.28s ease;
  color: var(--text);
}
.lang-switch__label--ka {
  opacity: 1;
}
.lang-switch.lang-en .lang-switch__label--ka {
  opacity: 0.38;
}
.lang-switch.lang-en .lang-switch__label--en {
  opacity: 1;
}
#night-toggle {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
#night-toggle.visible {
  opacity: 1;
  pointer-events: auto;
}
.night-switch {
  position: relative;
  width: 54px;
  height: 30px;
  background-color: rgba(150, 144, 134, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(200, 189, 176, 0.7);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  backdrop-filter: blur(6px);
  transition: background-color 0.28s ease, border-color 0.28s ease;
}
body.night .night-switch {
  background-color: rgba(80, 100, 130, 0.5);
  border-color: rgba(100, 130, 170, 0.5);
}
.night-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background-color 1.2s ease-in-out;
  overflow: hidden;
}
body.night .night-switch__thumb {
  transform: translateX(24px);
}
.night-switch__icon {
  position: absolute;
  transition: opacity 0.2s ease;
  line-height: 1;
}
.night-switch__icon--sun {
  opacity: 1;
}
.night-switch__icon--moon {
  opacity: 0;
}
body.night .night-switch__icon--sun {
  opacity: 0;
}
body.night .night-switch__icon--moon {
  opacity: 1;
}
#night-hint {
  margin-top: 7px;
  text-align: center;
  animation: nh-float 2.2s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
#night-hint.dismissed {
  opacity: 0;
  pointer-events: none;
}
.nh-label {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(60, 50, 40, 0.75);
  white-space: nowrap;
  font-weight: 600;
}
body.night .nh-label {
  color: rgba(200, 220, 240, 0.85);
}
@keyframes nh-float {
  0%, 100% {
    opacity: 0.75;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
#music-toggle {
  position: fixed;
  top: calc(1rem + 44px);
  left: 1rem;
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}
#music-toggle.visible {
  opacity: 1;
  pointer-events: auto;
}
.music-switch {
  position: relative;
  width: 54px;
  height: 30px;
  background-color: rgba(150, 144, 134, 0.5);
  border-radius: 15px;
  border: 1px solid rgba(200, 189, 176, 0.7);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  backdrop-filter: blur(6px);
  transition: background-color 0.28s ease, border-color 1.2s ease-in-out;
}
.music-switch.playing {
  background-color: rgba(104, 136, 160, 0.7);
}
.music-switch__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 24px;
  height: 24px;
  background: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.music-switch.playing .music-switch__thumb {
  transform: translateX(24px);
}
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: opacity 1.6s ease-in-out;
}
.hero-bg-img--night {
  opacity: 0;
  z-index: 1;
}
body.night .hero-bg-img--night {
  opacity: 1;
}
body.night .hero-bg-img:not(.hero-bg-img--night) {
  opacity: 0;
}
#hv-fwd {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  opacity: 0;
}
#hv-fwd.show {
  opacity: 1;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.32) 0%,
      rgba(255, 255, 255, 0.60) 10%,
      rgba(255, 255, 255, 0.40) 25%,
      rgba(255, 255, 255, 0) 55%);
  pointer-events: none;
}
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18%;
  z-index: 1;
  background-color: var(--bg);
  -webkit-mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black);
  mask-image:
    linear-gradient(
      to bottom,
      transparent,
      black);
  pointer-events: none;
}
.hero-center {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 6rem 24px 40px;
  max-width: 600px;
}
.hero-center .h-dear,
.hero-center .h-names,
.hero-center .h-date,
.hero-center .h-subtitle {
  opacity: 0;
}
.h-scroll {
  opacity: 0;
}
.hero-center.revealed .h-dear {
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0s;
}
.hero-center.revealed .h-names {
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0s;
}
.hero-center.revealed .h-date {
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.15s;
}
.hero-center.revealed .h-subtitle {
  animation: fadeInUp 0.7s ease forwards;
  animation-delay: 0.28s;
}
.hero-center.revealed ~ .h-scroll {
  animation: fadeInUpCentered 0.7s ease forwards;
  animation-delay: 0.40s;
}
.h-names {
  font-family: "DM Medea", serif;
  font-size: 32px;
  font-weight: normal;
  color: #2d4870;
  letter-spacing: 0.03em;
  line-height: 1.2;
  margin-bottom: 38px;
  margin-top: 28px;
  white-space: nowrap;
}
body.lang-en .h-names {
  font-family: "DM Medea", serif;
  font-size: 42px;
}
.amp {
  color: #2d4870;
  padding: 0 6px;
}
.h-date {
  font-size: 16px;
  font-weight: 500;
  color: #4d6a93;
  letter-spacing: 0.26em;
  margin: 12px 0 24px;
}
.h-subtitle {
  font-size: 16px;
  font-weight: 500;
  color: #2d4870;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 12px;
  padding: 0 30px;
  min-height: 80px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85), 0 0 20px rgba(255, 255, 255, 0.6);
}
body.lang-en .h-subtitle {
  font-family: "BPG Nino", serif;
  font-size: 18px;
}
.h-dear {
  display: none;
  font-size: 16px;
  font-weight: 500;
  color: #4d6a93;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.85), 0 0 20px rgba(255, 255, 255, 0.6);
}
.h-dear.visible {
  display: block;
}
.h-dear__name {
  font-size: 18px;
  font-weight: 700;
}
.h-scroll {
  position: absolute;
  bottom: 5%;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 16px;
  padding: 6px 10px;
  width: fit-content;
  min-width: 120px;
  min-height: 50px;
  z-index: 155;
}
body.night .h-scroll {
  background-color: rgba(22, 18, 16, 0.7);
  border-color: rgba(74, 64, 56, 0.5);
}
.scroll-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: #4d6a93;
  font-weight: 400;
}
.scroll-chevron {
  width: 8px;
  height: 8px;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  animation: chevronBounce 3.5s ease-in-out infinite;
}
@keyframes introFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeInUpCentered {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}
@keyframes chevronBounce {
  0% {
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.8;
  }
  50% {
    transform: translateY(2px) rotate(45deg);
    opacity: 0.35;
  }
  100% {
    transform: translateY(-2px) rotate(45deg);
    opacity: 0.8;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.message-section {
  background-color: var(--bg);
  padding: 72px 32px 80px;
  text-align: center;
}
.message-inner {
  max-width: 360px;
  margin: 0 auto;
}
.message-sep {
  display: block;
  width: 100%;
  max-width: 320px;
  height: auto;
  margin: 0 auto 36px;
  opacity: 0.88;
}
.message-sep--tail {
  margin-bottom: 0;
  margin-top: 36px;
  transform: scaleY(-1);
}
.message-body {
  font-size: 17px;
  line-height: 1.95;
  color: var(--text-soft);
  letter-spacing: 0.025em;
}
body.lang-en .message-body {
  font-family: "BPG Nino", serif;
  font-size: 16px;
  line-height: 1.85;
}
.countdown-section {
  background-color: var(--bg);
  padding: 64px 24px 72px;
  text-align: center;
}
.countdown-inner {
  max-width: 480px;
  margin: 0 auto;
}
.countdown-eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--text-soft);
  margin-bottom: 36px;
}
.countdown-grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
}
.countdown-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 62px;
}
.cd-num {
  font-family: "BPG Nino", serif;
  font-size: 54px;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  min-width: 2ch;
  text-align: center;
}
.cd-label {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--text-soft);
}
.countdown-dot {
  font-family: "BPG Nino", serif;
  font-size: 40px;
  font-weight: 300;
  color: var(--rule);
  line-height: 1;
  padding-top: 6px;
  align-self: flex-start;
  user-select: none;
}
.timetable-section {
  background-color: var(--bg);
  padding: 64px 24px 80px;
  border-top: 1px solid var(--border);
}
.timetable-inner {
  max-width: 480px;
  margin: 0 auto;
}
.sh {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 52px;
}
.sh-rule {
  flex: 1;
  height: 1px;
  background-color: var(--border);
}
.sh-text {
  font-family: "DM Medea", serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--text-soft);
  white-space: nowrap;
}
.events-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.event-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  overflow: hidden;
}
.event-card__img {
  width: calc(100% + 56px);
  height: auto;
  margin: -36px -28px 24px;
  position: relative;
  overflow: hidden;
  border-radius: 0;
}
.event-card__img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}
.event-card__img::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 18%;
  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--bg-alt));
  pointer-events: none;
  z-index: 2;
}
.event-card__img img.event-card__img-night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
  opacity: 0;
  transition: opacity 1.5s ease;
  z-index: 1;
}
.event-card__label {
  font-family: "BPG Nino", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--teal);
  margin-bottom: 14px;
  line-height: 1.6;
}
body.lang-en .event-card__label {
  font-family: "BPG Nino", serif;
  font-size: 12px;
  letter-spacing: 0.28em;
}
.event-card__venue {
  font-family: "DM Medea", serif;
  font-size: 22px;
  font-weight: normal;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 16px;
}
body.lang-en .event-card__venue {
  font-family: "DM Medea", serif;
  font-size: 26px;
  line-height: 1.2;
}
.event-card__rule {
  width: 36px;
  height: 1px;
  background: var(--rule);
  margin: 0 auto 16px;
}
.event-card__time {
  font-family: "BPG Nino", serif;
  font-size: 36px;
  color: var(--gold-lt);
  letter-spacing: 0.06em;
  margin-bottom: 22px;
  line-height: 1;
}
.event-card__map {
  font-family: "BPG Nino", serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 2px;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 1.2s ease-in-out;
}
.event-card__map:hover {
  color: var(--teal);
  border-color: var(--teal);
}
.dresscode-section {
  background-color: var(--bg);
  padding: 64px 24px 72px;
  border-top: 1px solid var(--border);
}
.dresscode-inner {
  max-width: 480px;
  margin: 0 auto;
}
.dc-img-wrap {
  width: 100%;
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
}
.dc-img-wrap img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.dc-img-wrap img.dc-img-night {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
  opacity: 0;
  transition: opacity 1.5s ease;
}
.dc-body {
  text-align: center;
  padding: 0 8px;
}
.dc-line {
  font-family: "BPG Nino", serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
  line-height: 1.7;
}
body.lang-en .dc-line {
  font-family: "BPG Nino", serif;
  font-size: 16px;
}
.dc-note {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-top: 16px;
  padding: 0 4px;
}
body.lang-en .dc-note {
  font-family: "BPG Nino", serif;
  font-size: 13px;
}
.rsvp-section {
  background-color: var(--bg);
  padding: 64px 24px 80px;
  border-top: 1px solid var(--border);
}
.rsvp-inner {
  max-width: 480px;
  margin: 0 auto;
}
.rsvp-intro {
  text-align: center;
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 44px;
}
.rsvp-fields {
  margin-bottom: 36px;
}
.rf-group {
  position: relative;
  margin-bottom: 30px;
}
.rf-input {
  width: 100%;
  padding: 20px 0 10px;
  background-color: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  font-family: inherit;
  font-size: 16px;
  color: var(--text);
  outline: none;
  -webkit-appearance: none;
  transition:
    border-color 0.25s ease,
    color 1.2s ease-in-out,
    background-color 1.2s ease-in-out;
}
.rf-input:focus {
  border-bottom-color: var(--teal);
}
.rf-label {
  position: absolute;
  top: 20px;
  left: 0;
  font-size: 14px;
  color: var(--text-soft);
  pointer-events: none;
  letter-spacing: 0.02em;
  transition:
    top 0.22s ease,
    font-size 0.22s ease,
    color 0.22s ease,
    letter-spacing 0.22s ease;
}
.rf-input:focus + .rf-label,
.rf-input:not(:placeholder-shown) + .rf-label {
  top: 3px;
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 0.12em;
}
.rsvp-q {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--text-soft);
  margin-bottom: 16px;
}
.rsvp-attend {
  margin-bottom: 32px;
}
.attend-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.attend-card {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.attend-card input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.attend-face {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 15px;
  color: var(--text-soft);
  letter-spacing: 0.02em;
  background-color: var(--bg);
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    background-color 0.22s ease;
}
.attend-card input[type=radio]:checked + .attend-face {
  border-color: var(--teal);
  background-color: var(--teal);
  color: #ffffff;
}
.rsvp-guests {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-bottom: 0;
  transition:
    max-height 0.38s ease,
    opacity 0.38s ease,
    margin-bottom 0.38s ease;
}
.rsvp-guests.open {
  max-height: 160px;
  opacity: 1;
  margin-bottom: 32px;
}
.guest-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.guest-pill {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}
.guest-pill input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.guest-pill span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-family: "BPG Nino", serif;
  font-size: 22px;
  font-weight: 300;
  color: var(--text-soft);
  background-color: var(--bg);
  transition:
    border-color 0.22s ease,
    color 0.22s ease,
    background-color 0.22s ease;
}
.guest-pill input[type=radio]:checked + span {
  border-color: var(--teal);
  background-color: var(--teal);
  color: #ffffff;
}
.rsvp-submit {
  width: 100%;
  height: 56px;
  background-color: var(--teal);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.2s ease;
  margin-top: 8px;
}
.rsvp-submit:active {
  opacity: 0.75;
}
.rsvp-submit:disabled {
  opacity: 0.45;
  cursor: default;
}
.rsvp-submit-label {
  font-family: "BPG Nino", serif;
  font-size: 15px;
  letter-spacing: 0.1em;
  color: #ffffff;
  pointer-events: none;
}
body.lang-en .rsvp-submit-label {
  font-family: "BPG Nino", serif;
  font-size: 18px;
  letter-spacing: 0.12em;
}
.rsvp-error {
  font-size: 13px;
  color: #b0392b;
  text-align: center;
  margin-top: 18px;
  min-height: 20px;
  line-height: 1.5;
}
.rsvp-thanks {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 0 20px;
}
.rsvp-thanks.visible {
  display: flex;
}
.thanks-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--teal);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 8px;
}
.thanks-title {
  font-family: "DM Medea", serif;
  font-size: 26px;
  font-weight: normal;
  color: var(--text);
}
body.lang-en .thanks-title {
  font-family: "DM Medea", serif;
  font-size: 34px;
}
.thanks-sub {
  font-size: 15px;
  color: var(--text-soft);
  line-height: 1.6;
}
.locations-section {
  background-color: var(--bg);
  padding: 64px 24px 80px;
  border-top: 1px solid var(--border);
}
.locations-inner {
  max-width: 480px;
  margin: 0 auto;
}
.location-cards {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.location-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
}
.location-map-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}
.location-map-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  pointer-events: none;
}
.location-map-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 12px;
  cursor: pointer;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
.location-map-badge {
  font-family: "BPG Nino", serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  color: #ffffff;
  background-color: rgba(44, 32, 24, 0.58);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 13px;
  border-radius: 20px;
  white-space: nowrap;
  transition: background-color 0.22s ease;
}
.location-map-link:active .location-map-badge {
  background-color: rgba(104, 136, 160, 0.88);
}
.location-card__info {
  padding: 20px 24px 26px;
  border-top: 1px solid var(--border);
}
.location-card__label {
  font-family: "BPG Nino", serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--teal);
  margin-bottom: 10px;
  line-height: 1.6;
}
body.lang-en .location-card__label {
  letter-spacing: 0.18em;
}
.location-card__name {
  font-family: "DM Medea", serif;
  font-size: 22px;
  font-weight: normal;
  color: var(--text);
  line-height: 1.3;
}
body.lang-en .location-card__name {
  font-size: 24px;
}
body.night .location-map-badge {
  background-color: rgba(0, 0, 0, 0.62);
}
.instagram-section {
  background-color: var(--bg);
  padding: 0 24px 64px;
  border-top: 1px solid var(--border);
  padding-top: 64px;
}
.instagram-inner {
  max-width: 480px;
  margin: 0 auto;
}
.ig-card {
  display: block;
  background-color: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    border-color 0.22s ease,
    background-color 1.2s ease-in-out,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.ig-card:active {
  transform: scale(0.985);
  box-shadow: 0 2px 16px rgba(131, 58, 180, 0.12);
}
.ig-card__stripe {
  height: 4px;
  background:
    linear-gradient(
      to right,
      #833ab4,
      #fd1d1d 50%,
      #fcb045);
}
.ig-card__body {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 20px 18px;
}
.ig-icon-bg {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background:
    linear-gradient(
      135deg,
      #833ab4 0%,
      #fd1d1d 55%,
      #fcb045 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ig-icon {
  width: 26px;
  height: 26px;
  fill: #ffffff;
}
.ig-card__info {
  flex: 1;
  min-width: 0;
}
.ig-card__venue {
  font-family: "DM Medea", serif;
  font-size: 14px;
  font-weight: normal;
  color: var(--text);
  margin-bottom: px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 1.2s ease-in-out;
}
.ig-card__handle {
  font-family: "BPG Nino", serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--text-soft);
  transition: color 1.2s ease-in-out;
}
.ig-card__chevron {
  width: 10px;
  height: 18px;
  color: var(--text-soft);
  flex-shrink: 0;
  opacity: 0.7;
  transition: color 1.2s ease-in-out;
}
.ig-card__cta {
  font-family: "BPG Nino", serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #fd1d1d;
  text-align: center;
  padding: 0 20px 18px;
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
body.lang-en .ig-card__cta {
  font-size: 12px;
  letter-spacing: 0.16em;
}
.ig-card:active .ig-card__cta {
  opacity: 1;
}
.site-footer {
  background-color: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 28px 24px;
  text-align: center;
}
.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  opacity: 0.3;
  transition: opacity 0.25s ease;
}
.footer-credit:hover {
  opacity: 1;
}
.footer-logo {
  width: 22px;
  height: auto;
}
.footer-credit span {
  font-family: "BPG Nino", serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text);
}
#desktop-notice {
  display: none;
}
@media (min-width: 769px) {
  body > *:not(#desktop-notice) {
    display: none !important;
  }
  #desktop-notice {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background-color: var(--bg);
    padding: 40px 24px;
    gap: 10px;
  }
  .desktop-notice__logo {
    width: 52px;
    height: auto;
    opacity: 0.8;
    margin-bottom: 24px;
  }
  .desktop-notice__ka,
  .desktop-notice__en {
    font-family: "BPG Nino", serif;
    font-size: 18px;
    color: var(--text);
    letter-spacing: 0.02em;
    text-align: center;
    margin: 0;
    line-height: 1.5;
  }
  .desktop-notice__sub {
    font-size: 14px;
    color: var(--text-soft);
    margin-top: 2px;
  }
}
body.night .hero::before {
  background:
    linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.25) 0%,
      rgba(0, 0, 0, 0.45) 10%,
      rgba(0, 0, 0, 0.20) 25%,
      rgba(0, 0, 0, 0) 55%);
}
body.night .h-names,
body.night .amp {
  color: #c8d8e8;
}
body.night .h-date {
  color: #8aacbf;
}
body.night .h-dear {
  color: #8aacbf;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
body.night .h-subtitle {
  color: #c0d0dc;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.6);
}
body.night .scroll-label {
  color: var(--text-soft);
}
body.night .message-sep {
  opacity: 0.4;
}
body.night .event-card__img::after {
  background:
    linear-gradient(
      to bottom,
      transparent,
      var(--bg-alt));
}
body.night .event-card__img img.event-card__img-night {
  opacity: 0.92;
}
body.night .event-card__img img:not(.event-card__img-night) {
  opacity: 0;
  transition: opacity 1.5s ease;
}
body.night .dc-img-wrap img.dc-img-night {
  opacity: 1;
}
body.night .dc-img-wrap img:not(.dc-img-night) {
  opacity: 0;
  transition: opacity 1.5s ease;
}
body.night .rsvp-submit {
  background-color: var(--teal);
}
body.night .thanks-icon {
  background-color: var(--teal);
}
body.night::-webkit-scrollbar-track {
  background-color: var(--bg-alt);
}
body.night.scrollbar-ready::-webkit-scrollbar-thumb {
  background-color: var(--rule);
}
@media (min-width: 481px) {
  .h-names {
    font-size: 50px;
  }
  .h-subtitle {
    font-size: 17px;
  }
}
@media (min-width: 769px) {
  .h-names {
    font-size: 72px;
  }
  .h-date {
    font-size: 15px;
    letter-spacing: 0.3em;
  }
  .h-subtitle {
    font-size: 18px;
  }
  .hero-center {
    padding: 100px 40px 50px;
  }
  .section {
    padding: 110px 60px;
  }
}
@media (min-width: 1025px) {
  .h-names {
    font-size: 96px;
  }
  .h-date {
    font-size: 16px;
  }
  .h-subtitle {
    font-size: 19px;
  }
  .hero-center {
    padding: 120px 60px 60px;
  }
  .section {
    padding: 120px 80px;
  }
}
