/* Klassiek & subtiel — geïnspireerd op traditionele trouwkaarten */

:root {
  --ivory: #faf9f7;
  --text: #3d3d3d;
  --text-muted: #6b6b6b;
  --border: rgba(61, 61, 61, 0.15);
  --font-script: Georgia, 'Times New Roman', Times, serif;
  --font-body: Georgia, 'Times New Roman', Times, serif;
}

*, *::before, *::after { box-sizing: border-box; }

img { max-width: 100%; height: auto; }

a { word-break: break-word; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 17px;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ——— Password gate ——— */
#password-gate .gate-logo {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 64px;
  height: auto;
  z-index: 1001;
  pointer-events: none;
}

@media (max-width: 480px) {
  #password-gate .gate-logo { width: 56px; top: 0.75rem; right: 0.75rem; }
}

#password-gate {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 1000;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1rem;
}

.gate-dog {
  animation: flyIn 0.8s ease-out forwards;
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gate-dog img {
  max-width: 200px;
  height: auto;
  display: block;
}

@keyframes flyIn {
  from {
    opacity: 0;
    transform: translateX(80px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#password-gate.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-content {
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 340px;
  width: 100%;
  flex-shrink: 0;
}

.gate-content .gate-heading {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text);
  margin: 0 0 0.65rem 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.35em 0.5em;
  max-width: 100%;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.gate-heading__name {
  font-size: clamp(1.75rem, 6.5vw, 2.65rem);
  font-weight: 400;
}

.gate-heading__and {
  font-size: clamp(1.1rem, 4vw, 1.65rem);
  font-weight: 400;
  opacity: 0.72;
  margin: 0 -0.05em;
}

@media (max-width: 360px) {
  .gate-content { padding: 1.5rem 1rem; }
}

#password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

#password-input {
  width: 100%;
  max-width: 100%;
  padding: 0.875rem 1rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(250, 249, 247, 0.55);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  text-align: center;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

#password-input::placeholder {
  color: var(--text-muted);
  text-align: center;
}

#password-input:focus {
  outline: none;
  border-color: var(--text-muted);
}

#password-form button {
  width: 100%;
  max-width: 100%;
  padding: 0.875rem 1.5rem;
  margin: 0;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

#password-form button:hover {
  border-color: var(--text-muted);
}

.error-message {
  color: #8b6b6b;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  min-height: 1.25rem;
}

/* ——— Floating logo ——— */
.floating-logo {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 64px;
  height: auto;
  z-index: 200;
  pointer-events: none;
  transition: top 0.6s ease, left 0.6s ease, right 0.6s ease, transform 0.6s ease, width 0.6s ease;
}

.floating-logo.logo-to-center {
  top: 50%;
  left: 50%;
  right: auto;
  transform: translate(-50%, -50%);
  width: 120px;
}

@media (max-width: 480px) {
  .floating-logo { width: 56px; top: 0.75rem; right: 0.75rem; }
  .floating-logo.logo-to-center { width: 100px; }
}

/* ——— Main content ——— */
#main-content.hidden { display: none; }

body:has(#main-content:not(.hidden)) {
  overflow: hidden;
}

#main-content:not(.hidden) {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: 100;
}

.fullpage-scroll {
  height: 100%;
  overflow-y: scroll;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background-image: url('Fotos/Sectie background.jpeg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
}

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

.slide {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.section.slide:not(.practical-section):not(.faq-section):not(.dresscode-section) {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.practical-section.slide,
.faq-section.slide,
.dresscode-section.slide {
  scroll-snap-stop: normal;
  justify-content: flex-start;
  display: flex;
  flex-direction: column;
}

/* ——— Hero ——— */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

@media (max-width: 480px) {
  .hero { padding: 3rem 1rem 3rem; }
}

.hero .names {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  letter-spacing: 0.08em;
}

.invitation {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 2rem 0 0 0;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
  letter-spacing: 0.02em;
}

.hero-image {
  max-width: 400px;
  max-height: 55vh;
  width: 100%;
  margin: 0 auto;
  background: transparent;
}

.hero-image img {
  max-width: 100%;
  max-height: 55vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  vertical-align: bottom;
  border: none;
  box-shadow: none;
}

.hero-image .placeholder-image {
  height: 100%;
  aspect-ratio: unset;
}

/* ——— Sections ——— */
.section {
  padding: 3.5rem 1.5rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  min-width: 0;
}

@media (max-width: 768px) {
  .section { padding: 3rem 1.25rem; }
}

@media (max-width: 480px) {
  .section { padding: 2.5rem 1rem; }
}

@media (max-width: 360px) {
  .section { padding: 2rem 0.75rem; }
}

.section h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin: 0 0 2rem 0;
}

.detail-line {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  color: var(--text);
}

.detail-line.address {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.detail-line.follow {
  margin-top: 1.5rem;
  font-style: italic;
  font-size: 0.95rem;
}

/* ——— Program table ——— */
.program-table {
  max-width: 280px;
  margin: 0 auto;
  text-align: left;
}

.program-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  gap: 2rem;
  transition: opacity 0.2s ease;
}

.program-activity {
  font-size: 1rem;
  color: var(--text);
  text-align: left;
}

.program-time {
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-shrink: 0;
  min-width: 3.5em;
  text-align: right;
}

#sect-programma.section {
  position: relative;
  max-width: none;
  width: 100%;
  margin-inline: 0;
  background-color: var(--ivory);
  overflow: hidden;
}

#sect-programma .program-illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  z-index: 0;
}

#sect-programma .program-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#sect-programma > :not(.program-illustration) {
  position: relative;
  z-index: 1;
}

#sect-programma h2,
#sect-programma .program-table {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

#sect-programma .program-table {
  max-width: 280px;
}

/* ——— Practical blocks ——— */
.practical-section,
.faq-section,
.dresscode-section { text-align: left; }

.dresscode-section.slide {
  scroll-snap-stop: normal;
  justify-content: flex-start;
}

.dresscode-subtitle {
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.practical-block {
  margin-bottom: 2rem;
}

.practical-block:last-child { margin-bottom: 0; }

.practical-block h3 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin: 0 0 0.5rem 0;
}

.practical-block p {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  color: var(--text);
}

.practical-note {
  margin-top: 0.75rem !important;
  font-size: 0.9rem !important;
  font-style: italic;
  color: var(--text-muted);
}

.practical-block a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.practical-block a:hover {
  color: var(--text-muted);
}

.transport-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.transport-item:last-of-type {
  margin-bottom: 0.75rem;
}

.transport-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  margin-top: 0.15em;
}

.transport-icon svg {
  display: block;
}

.transport-icon-p {
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: center;
}

.transport-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.transport-item p {
  margin: 0;
}

.transport-body p + p {
  margin-top: 0.5rem;
}

.parking-list {
  margin: 0.5rem 0 0 1.95rem;
  padding: 0;
  list-style: none;
}

.parking-list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  color: var(--text);
}

.parking-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--text-muted);
}

/* Praktische informatie: iets compacter dan standaard sectie, wel zelfde leesgrootte als rest */
#sect-praktisch.section {
  padding: max(1.15rem, env(safe-area-inset-top, 0px)) 1.25rem 1.15rem;
}

@media (max-width: 480px) {
  #sect-praktisch.section {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

#sect-praktisch h2 {
  margin: 0 0 0.65rem 0;
  font-size: 1rem;
  letter-spacing: 0.15em;
}

#sect-praktisch .practical-block {
  margin-bottom: 1.1rem;
}

#sect-praktisch .practical-block:last-child {
  margin-bottom: 0;
}

#sect-praktisch .transport-item {
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

#sect-praktisch .transport-item:last-of-type {
  margin-bottom: 0.45rem;
}

#sect-praktisch .transport-icon {
  width: 22px;
  height: 22px;
  margin-top: 0.1em;
}

#sect-praktisch .transport-icon svg {
  width: 22px;
  height: 22px;
}

#sect-praktisch .transport-label {
  font-size: 0.8rem;
  margin-bottom: 0.12rem;
}

#sect-praktisch .transport-item p,
#sect-praktisch .transport-body p {
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 0.2rem 0;
}

#sect-praktisch .transport-body p + p {
  margin-top: 0.35rem;
}

#sect-praktisch .transport-body p:last-child {
  margin-bottom: 0;
}

#sect-praktisch .practical-block h3 {
  font-size: 0.85rem;
  margin: 0 0 0.45rem 0;
}

#sect-praktisch .practical-block:last-child p:not(.practical-note) {
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0 0 0.35rem 0;
}

#sect-praktisch .practical-block:last-child .practical-note {
  margin-top: 0.65rem !important;
  font-size: 0.9rem !important;
  line-height: 1.42;
}

/* Lage schermen: vooral minder witruimte; tekst blijft leesbaar */
@media (max-height: 700px) {
  #sect-praktisch.section {
    padding-top: max(0.75rem, env(safe-area-inset-top, 0px));
    padding-bottom: 0.75rem;
  }

  #sect-praktisch h2 {
    margin-bottom: 0.45rem;
  }

  #sect-praktisch .practical-block {
    margin-bottom: 0.75rem;
  }

  #sect-praktisch .transport-item {
    margin-bottom: 0.42rem;
  }

  #sect-praktisch .transport-item p,
  #sect-praktisch .transport-body p,
  #sect-praktisch .practical-block:last-child p:not(.practical-note) {
    font-size: 0.92rem;
    line-height: 1.4;
  }

  #sect-praktisch .practical-block:last-child .practical-note {
    margin-top: 0.5rem !important;
    font-size: 0.88rem !important;
  }
}

/* ——— FAQ ——— */
.faq-item {
  margin-bottom: 1.25rem;
}

.faq-item:last-child { margin-bottom: 0; }

.faq-q {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  margin: 0 0 0.25rem 0;
}

.faq-a {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  padding-left: 0.5rem;
  border-left: 2px solid var(--border);
}

.faq-a a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.faq-a a:hover {
  color: var(--text-muted);
}

/* ——— Story & Carousel ——— */
.carousel {
  position: relative;
  max-width: 400px;
  width: 100%;
  margin: 0 auto 1.5rem;
  padding: 0 2.5rem;
}

.carousel-track {
  position: relative;
  overflow: hidden;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 4;
  width: 100%;
}

.carousel-img {
  width: 100%;
  height: 100%;
  display: none;
  object-fit: contain;
  transition: opacity 0.4s ease;
}

.carousel-img.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  background: var(--ivory);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s;
}

.carousel-btn:hover {
  border-color: var(--text-muted);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-caption {
  margin: 0.75rem 0 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  min-height: 1.5em;
}

@media (max-width: 480px) {
  .carousel { padding: 0 2.25rem; }
  .carousel-btn {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.25rem;
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 360px) {
  .carousel { padding: 0 2rem; max-width: 100%; }
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot.active {
  background: var(--text-muted);
}

.story-text {
  max-width: 400px;
  margin: 0 auto;
}

.story-text p {
  margin: 0 0 1rem 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ——— Placeholder images ——— */
.placeholder-image {
  width: 100%;
  background: #f0ede8;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

/* ——— Map ——— */
.map-placeholder {
  height: 280px;
  overflow: hidden;
}

.map-placeholder .placeholder-image {
  height: 100%;
}

.map-placeholder .frankendael-sketch {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hidden { display: none !important; }

/* ——— RSVP ——— */
.rsvp-section {
  scroll-snap-stop: normal;
  justify-content: flex-start;
}

.rsvp-deadline {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: -1rem 0 1.5rem 0;
  letter-spacing: 0.05em;
}

.rsvp-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: 1.5rem 0;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
}

.recaptcha-wrap {
  display: flex;
  justify-content: center;
  margin: 0.5rem 0;
  min-height: 78px;
}

.rsvp-question {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  text-align: center;
}

.rsvp-question label,
#rsvp-partner-block label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.03em;
}

.rsvp-step {
  transition: opacity 0.3s ease;
}

.rsvp-step.hidden {
  display: none !important;
}

#rsvp-partner-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.rsvp-conditional {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rsvp-conditional.hidden {
  display: none !important;
}

.rsvp-partner-box {
  padding: 1rem;
  background: rgba(61, 61, 61, 0.04);
  border-radius: 2px;
  margin: 0.25rem 0;
}

.rsvp-form input[type='text'],
.rsvp-form input[type='email'],
.rsvp-form input[type='password'],
.rsvp-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(250, 249, 247, 0.55);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

@media (max-width: 480px) {
  .rsvp-form input[type='text'],
  .rsvp-form input[type='email'],
  .rsvp-form input[type='password'],
  .rsvp-form textarea {
    font-size: 16px;
  }
}

.rsvp-form input::placeholder,
.rsvp-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.rsvp-form input:focus,
.rsvp-form textarea:focus {
  outline: none;
  border-color: var(--text-muted);
  background: rgba(250, 249, 247, 0.75);
}

.rsvp-form textarea {
  resize: vertical;
  min-height: 5.5rem;
  vertical-align: top;
}

.rsvp-radio {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.rsvp-radio input[type='radio'] {
  width: 1.125rem;
  height: 1.125rem;
  margin: 0;
  flex-shrink: 0;
  accent-color: var(--text);
  vertical-align: middle;
  -webkit-tap-highlight-color: transparent;
}

.rsvp-radio label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.25;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.rsvp-form button {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1.5rem;
  margin: 0;
  background: var(--text);
  color: var(--ivory);
  border: 1px solid var(--text);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.rsvp-form button:hover {
  opacity: 0.92;
}

.rsvp-confirmation {
  text-align: center;
  margin: 2rem 0;
  max-width: 360px;
  margin-left: auto;
  margin-right: auto;
}

.rsvp-confirm-title {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--text);
  margin: 0 0 0.5rem 0;
}

.rsvp-confirmation p {
  margin: 0 0 1rem 0;
}

.rsvp-confirm-email-tip {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0 0 1rem 0;
  text-align: left;
}

.rsvp-calendar-btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--text);
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
}

.rsvp-calendar-btn:hover {
  background: var(--text);
  color: var(--ivory);
}

/* ——— Guestbook ——— */
.guestbook-section {
  scroll-snap-stop: normal;
  justify-content: flex-start;
}

.guestbook-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.5rem 0;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  max-width: 100%;
  padding: 0.75rem 1rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: rgba(250, 249, 247, 0.55);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.guestbook-form input::placeholder,
.guestbook-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 1;
}

.guestbook-form input:focus,
.guestbook-form textarea:focus {
  outline: none;
  border-color: var(--text-muted);
  background: rgba(250, 249, 247, 0.75);
}

.guestbook-form textarea {
  resize: vertical;
  min-height: 80px;
  vertical-align: top;
}

.guestbook-form button {
  width: 100%;
  padding: 0.75rem 1.5rem;
  margin: 0;
  background: var(--text);
  color: var(--ivory);
  border: 1px solid var(--text);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.35;
  cursor: pointer;
  box-shadow: none;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.guestbook-status {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 1rem 0;
  min-height: 1.4em;
}

.guestbook-status.error {
  color: #b54;
}

.guestbook-entries {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.guestbook-entry {
  padding: 1.25rem;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.4);
}

.guestbook-entry-name {
  font-weight: 500;
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
}

.guestbook-entry-message {
  margin: 0 0 0.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  word-break: break-word;
}

.guestbook-entry-date {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ——— Small text ——— */
.small {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 1rem 0 0 0;
}

/* ——— Footer ——— */
footer.slide {
  display: flex;
  align-items: center;
  justify-content: center;
}

footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  border-top: none;
}

/* When & Where */
.when-where-section {
  flex-direction: column;
  gap: 0.5rem;
}

.when-where-image {
  max-width: 320px;
  width: 100%;
  margin: 0 auto;
}

.when-where-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
