﻿@import url("https://fonts.googleapis.com/css2?family=Great+Vibes&family=Parisienne&display=swap");

:root {
  --bg: #eef1f6;
  --ink: #1c2530;
  --blue: #233246;
  --blue-soft: #34445e;
  --gold: #c6a76b;
  --gold-deep: #a9874c;
  --muted: #6b7582;
  --card: #ffffff;
  --shadow: 0 16px 44px rgba(17, 26, 39, 0.12);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(198, 167, 107, 0.08), transparent 45%),
    linear-gradient(180deg, #f9fbff 0%, var(--bg) 100%);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
  height: 100%;
}

body.fun-mode,
body.fun-mode * {
  cursor: url("assets/mouse.png") 16 16, auto !important;
}

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

.hero {
  position: relative;
  padding: 160px 8vw 80px;
  background:
    radial-gradient(circle at 20% 20%, rgba(198, 167, 107, 0.18), transparent 45%),
    linear-gradient(140deg, #ffffff 0%, #e6edf7 45%, #d4deec 100%);
}

.hero.compact {
  padding-top: 140px;
  padding-bottom: 48px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-direction: column;
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  padding: 14px 28px;
  border-radius: 28px;
  border: 1px solid rgba(35, 50, 70, 0.08);
  box-shadow: 0 10px 30px rgba(17, 26, 39, 0.12);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(35, 50, 70, 0.12);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle.floating {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 300;
  display: none;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--blue);
  border-radius: 999px;
  display: block;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  font-family: "Parisienne", "Great Vibes", "Playfair Display", serif;
  font-weight: 400;
  font-size: 2.9rem;
  color: var(--blue);
  display: flex;
  gap: 6px;
}

.logo-amp {
  color: var(--gold);
}

.logo-part {
  display: inline-block;
}

.fun-toggle {
  display: none !important;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(35, 50, 70, 0.16);
  background: #ffffff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(17, 26, 39, 0.12);
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 220;
}

.fun-toggle::before {
  content: "";
  width: 22px;
  height: 22px;
  display: block;
  background-image: url("assets/cat-icon.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.fun-toggle[aria-pressed="true"] {
  border-color: var(--gold);
  box-shadow: 0 10px 24px rgba(198, 167, 107, 0.35);
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 600;
  color: var(--blue-soft);
  justify-content: center;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.nav-links a {
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  position: relative;
}

.menu-soon {
  display: inline-flex;
  align-items: center;
  margin-left: 0;
  position: absolute;
  top: -10px;
  right: -18px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(198, 167, 107, 0.22);
  color: var(--gold-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--gold);
  color: var(--blue);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 200;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-links {
  display: grid;
  gap: 16px;
  text-align: center;
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  max-width: min(320px, 80vw);
  padding: 0 16px;
  line-height: 1.3;
}

.mobile-links a {
  color: white;
  white-space: normal;
  word-break: break-word;
  position: relative;
}

.mobile-links a.active {
  color: var(--gold);
}

.mobile-links .menu-soon {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  top: -8px;
  right: -10px;
}

.menu-disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

.map-link {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  color: var(--gold-deep);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.map-link:hover {
  color: var(--blue);
}

.mobile-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
}

.fun-cat {
  position: fixed;
  top: 0;
  left: 0;
  width: 84px;
  height: 73px;
  pointer-events: none;
  opacity: 0;
  background-image: url("assets/cat-sprite.png");
  background-size: 305.9% 306.8%;
  background-repeat: no-repeat;
  background-position: 0% 0%;
  filter: drop-shadow(0 6px 10px rgba(17, 26, 39, 0.2));
  transition: opacity 0.2s ease;
  z-index: 250;
}

.fun-cat.is-hunting {
  animation: fun-hunt 0.9s steps(1) infinite;
}

.fun-cat.flip {
  transform: scaleX(-1);
}

@keyframes fun-hunt {
  0% { background-position: 0% 0%; }
  12.5% { background-position: 50% 0%; }
  25% { background-position: 100% 0%; }
  37.5% { background-position: 0% 50%; }
  50% { background-position: 50% 50%; }
  62.5% { background-position: 100% 50%; }
  75% { background-position: 0% 100%; }
  87.5% { background-position: 50% 100%; }
  100% { background-position: 100% 100%; }
}

.hero-content {
  max-width: 620px;
  margin-top: 80px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--muted);
}

h1 {
  font-family: "Parisienne", "Great Vibes", "Playfair Display", serif;
  font-size: clamp(2.9rem, 5vw, 4.4rem);
  margin: 10px 0 14px;
  color: var(--blue);
}

body.no-script-title h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
}

h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  color: var(--blue);
}

h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--blue);
}

.subtitle {
  font-size: 1.1rem;
  max-width: 520px;
  color: var(--muted);
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 26px;
  border-radius: 999px;
  background: var(--blue);
  color: white;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease;
}

.button:hover {
  background: #1b2737;
  transform: translateY(-2px);
}

.mail-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 1rem;
  background: var(--blue);
  color: white;
  border: none;
}

.mail-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v.01L12 13l8-5V8H4zm0 8h16V10l-8 5-8-5v6z'/></svg>") no-repeat center / contain;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M4 6h16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2zm0 2v.01L12 13l8-5V8H4zm0 8h16V10l-8 5-8-5v6z'/></svg>") no-repeat center / contain;
}

.hero-image {
  margin: 48px auto 0;
  width: min(1100px, 90vw);
  max-width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  border-radius: 28px;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-soft);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 28px;
  border: none;
  display: block;
}

.section {
  padding: 80px 8vw;
}

.section.alt {
  background: #f3f6fb;
}

.section-title {
  max-width: min(1100px, 92vw);
  margin-bottom: 32px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.page-cadeaux .section-title {
  max-width: min(1180px, 94vw);
}

.page-cadeaux .section-title p {
  font-family: "Playfair Display", "Source Sans 3", serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--blue);
  margin: 0;
  padding: 18px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(198, 167, 107, 0.04), rgba(255, 255, 255, 0.45));
  border: 1px solid rgba(198, 167, 107, 0.18);
  box-shadow: 0 8px 16px rgba(17, 26, 39, 0.08);
}

.page-cadeaux .text-emphasis {
  color: var(--blue);
  font-weight: 600;
}

.page-cadeaux .text-gold {
  color: var(--gold-deep);
  font-weight: 700;
}

.japan-symbols {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 18px auto 0;
  color: var(--gold-deep);
  font-size: 1.5rem;
  letter-spacing: 0.2em;
  opacity: 0.7;
}

.japan-symbols span {
  padding: 0;
  border: none;
  background: transparent;
}

.japan-symbols--after {
  margin: 16px auto 0;
}

.section-title h2 {
  font-size: 2rem;
  margin: 0 0 10px;
}

.section-title h2::after {
  content: none;
}

.carousel {
  margin: 40px auto 0;
  max-width: min(1180px, 94vw);
  text-align: center;
  position: relative;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
  pointer-events: none;
  transform: translateY(-50%);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.95);
  color: var(--blue);
  font-size: 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 10px 24px rgba(17, 26, 39, 0.15);
}

.carousel-btn:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(340px, 78vw, 760px);
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 10px 6px 24px;
}

.carousel-track::-webkit-scrollbar {
  height: 8px;
}

.carousel-track::-webkit-scrollbar-thumb {
  background: rgba(35, 50, 70, 0.25);
  border-radius: 999px;
}

.carousel-slide {
  scroll-snap-align: center;
  height: 480px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(198, 167, 107, 0.12), rgba(35, 50, 70, 0.06));
  border: 1px solid rgba(35, 50, 70, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-hint {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.centered-card {
  margin-top: 36px;
  display: flex;
  justify-content: center;
}

.donation-cta {
  margin-top: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.paypal-button {
  background: linear-gradient(135deg, rgba(198, 167, 107, 0.2), rgba(35, 50, 70, 0.05));
  color: var(--blue);
  border: 1px solid rgba(198, 167, 107, 0.5);
  box-shadow: 0 12px 30px rgba(35, 50, 70, 0.14);
  padding: 14px 36px;
}

.paypal-button:hover {
  background: linear-gradient(135deg, rgba(198, 167, 107, 0.3), rgba(35, 50, 70, 0.1));
  color: var(--blue);
}

.donation-note {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.faq-list {
  max-width: min(900px, 92vw);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--card);
  border-radius: 18px;
  border: 1px solid rgba(35, 50, 70, 0.08);
  box-shadow: var(--shadow);
  padding: 4px 18px;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--blue);
  padding: 14px 6px;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-deep);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0 6px 16px;
  color: var(--muted);
}

.card {
  background: var(--card);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 50, 70, 0.06);
}

.card h3 {
  margin-top: 0;
}

.form-embed {
  max-width: 760px;
  margin: 0 auto;
}

.form-embed iframe {
  width: 100%;
  min-height: 820px;
  border: none;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 20px;
  max-width: 100%;
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 10px;
  width: 2px;
  background: linear-gradient(180deg, rgba(198, 167, 107, 0.5), rgba(35, 50, 70, 0.08));
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(198, 167, 107, 0.15);
  transform: translateY(-50%);
}

.timeline-time {
  font-weight: 700;
  color: var(--blue);
  text-align: center;
}

.timeline-card {
  background: var(--card);
  padding: 18px 22px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(35, 50, 70, 0.06);
  text-align: center;
  display: flex;
  align-items: center;
  gap: 16px;
}

.map-embed {
  margin: 14px 0 4px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(35, 50, 70, 0.08);
  box-shadow: var(--shadow);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 240px;
  border: none;
}

.timeline-links {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.timeline-icon {
  width: 52px;
  height: 52px;
  margin: 2px 0 0;
  border-radius: 999px;
  background-color: rgba(198, 167, 107, 0.18);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px 30px;
  display: block;
  flex: 0 0 auto;
}

.timeline-content {
  flex: 1;
}

.icon-ceremony {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a9874c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3v4'/><path d='M9 5h6'/><path d='M4 11l8-6 8 6'/><path d='M6 10v8h12v-8'/><path d='M10 18v-5h4v5'/></svg>");
}

.icon-travel {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a9874c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M3 12h18'/><path d='M14 6l6 6-6 6'/><path d='M3 7h5'/><path d='M3 17h5'/></svg>");
}

.icon-reception {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a9874c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M7 3h10'/><path d='M8 3c0 4 4 4 4 8'/><path d='M16 3c0 4-4 4-4 8'/><path d='M6 13h12'/><path d='M10 13v6h4v-6'/></svg>");
}

.icon-brunch {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23a9874c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><path d='M6 8h9a0 0 0 0 1 0 0v4a4 4 0 0 1-4 4H8a2 2 0 0 1-2-2V8z'/><path d='M15 9h3a2 2 0 0 1 0 4h-3'/><path d='M7 20h8'/></svg>");
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(198, 167, 107, 0.4);
  color: var(--gold-deep);
  background: rgba(198, 167, 107, 0.12);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.link-pill:hover {
  border-color: var(--gold-deep);
  color: var(--blue);
}

.link-pill.is-placeholder {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  border-color: rgba(107, 117, 130, 0.4);
  color: var(--muted);
  background: rgba(107, 117, 130, 0.12);
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 22, 32, 0.6);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(920px, 92vw);
  background: var(--card);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(12, 18, 28, 0.3);
  border: 1px solid rgba(35, 50, 70, 0.12);
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: #f3f6fb;
  border-bottom: 1px solid rgba(35, 50, 70, 0.08);
}

.modal-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--blue);
}

.modal-body iframe {
  width: 100%;
  height: min(70vh, 560px);
  border: none;
  display: block;
}

.placeholder-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 520px;
  box-shadow: var(--shadow);
  border: 1px dashed rgba(35, 50, 70, 0.2);
}

.placeholder-badge {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(198, 167, 107, 0.16);
  color: var(--gold-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.muted {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer {
  padding: 32px 8vw 40px;
  background: #e2e8f2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

@media (max-width: 1100px) {
  .nav {
    position: static;
    transform: none;
    flex-direction: column;
    width: 100%;
    padding: 12px 18px;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.9);
  }

  .menu-toggle {
    display: inline-flex;
  }

  body.show-mobile-toggle .menu-toggle.floating {
    display: inline-flex;
  }

  .nav-links {
    display: none;
  }

  body.show-mobile-menu .nav-links {
    display: flex;
  }

  .nav-links {
    flex-direction: row;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    max-width: 100%;
  }

  .nav-links a {
    white-space: normal;
    text-align: center;
    word-break: break-word;
  }

  .hero {
    padding-top: 120px;
  }

  .logo {
    flex-direction: column;
    align-items: center;
    gap: 0;
    line-height: 1.05;
  }

  .logo-amp {
    font-size: 2.2rem;
    line-height: 1;
  }

  .fun-toggle {
    display: none;
  }

  .hero-content {
    margin-top: 40px;
  }

  .timeline {
    padding-left: 18px;
  }

  .timeline-item {
    grid-template-columns: 70px 1fr;
    align-items: center;
  }

  .timeline-item::before {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }

  .timeline-time {
    text-align: left;
    padding-left: 20px;
    margin-top: 0;
    align-self: center;
  }

  .timeline-icon {
    display: none;
  }
}


