/* ═══════════════════════════════════════════════════════════
   Partner One & Partner Two Wedding — styles.css (DEMO)
   ═══════════════════════════════════════════════════════════ */

/* ─── PIN Gate ──────────────────────────────────────────── */
.pin-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: #E8E3C5;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

/* Hidden instantly for already-unlocked visitors (class set by
   the inline script in the page <head> before first paint). */
.is-unlocked .pin-gate { display: none !important; }

.pin-gate--exit {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.pin-gate-inner {
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.pin-gate-flourish {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.pin-gate-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3rem, 12vw, 4.5rem);
  line-height: 1;
  color: #3A4A28;
  margin: 0.4rem 0 0.6rem;
}

.pin-gate-text {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #4D5E34;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.pin-inputs {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
}

.pin-digit {
  width: clamp(2.8rem, 16vw, 3.4rem);
  height: clamp(3.4rem, 18vw, 4rem);
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 2rem;
  color: #000;
  -webkit-text-fill-color: #000;
  background: #FFFFFF;
  border: 2px solid #4D5E34;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(58, 74, 40, 0.18);
  /* Mask the typed digit as a dot (keeps the numeric keypad,
     unlike type="password"). */
  -webkit-text-security: disc;
  text-security: disc;
}

.pin-digit:focus {
  border-color: #6B3535;
  box-shadow: 0 2px 5px rgba(58, 74, 40, 0.18), 0 0 0 3px rgba(107, 53, 53, 0.25);
}

/* A box that contains a digit — makes it obvious at a glance how
   many digits have been entered. */
.pin-digit.is-filled {
  border-color: #3A4A28;
  background: #F4F1E2;
  box-shadow: 0 2px 5px rgba(58, 74, 40, 0.18), inset 0 -3px 0 #6B3535;
}

.pin-error {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  color: #6B3535;
  margin-top: 1.1rem;
  margin-bottom: 0;
}

.pin-demo-note {
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  font-style: italic;
  color: var(--olive-lt);
  margin-top: 1.4rem;
  margin-bottom: 0;
}

.pin-continue-btn {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--olive-mid);
  color: var(--parchment-lt);
  border: none;
  padding: 0.75rem 1.75rem;
  font-family: 'Cinzel', serif;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  min-height: 44px;
}

.pin-continue-btn:hover,
.pin-continue-btn:focus-visible {
  background: var(--burgundy);
  transform: translateY(-1px);
  outline: none;
}

.pin-shake { animation: pin-shake 0.4s ease; }

@keyframes pin-shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-8px); }
  40%      { transform: translateX(8px); }
  60%      { transform: translateX(-6px); }
  80%      { transform: translateX(6px); }
}


/* ═══════════════════════════════════════════════════════════
   Main styles
   ═══════════════════════════════════════════════════════════ */

/* ─── Design Tokens ─────────────────────────────────────── */
:root {
  --parchment:    #E8E3C5;
  --parchment-lt: #F2EDDA;
  --olive-dk:     #3A4A28;
  --olive-mid:    #4D5E34;
  --olive-lt:     #7A8C62;
  --burgundy:     #6B3535;
  --border:       rgba(58, 74, 40, 0.25);
  --border-dark:  rgba(232, 227, 197, 0.2);
  --nav-height:   56px;

  --corner-svg-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M2,48 C10,30 30,10 48,2' stroke='%234D5E34' fill='none' stroke-width='1.2'/%3E%3Cpath d='M2,48 C6,38 14,34 18,40 C14,46 6,48 2,48Z' fill='%234D5E34' opacity='0.5'/%3E%3Cpath d='M18,30 C22,20 30,16 34,22 C30,28 22,32 18,30Z' fill='%234D5E34' opacity='0.5'/%3E%3Cpath d='M36,12 C40,4 46,2 48,8 C44,12 38,14 36,12Z' fill='%234D5E34' opacity='0.5'/%3E%3C/svg%3E");
  --corner-svg-dark:  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3E%3Cpath d='M2,48 C10,30 30,10 48,2' stroke='%23E8E3C5' fill='none' stroke-width='1.2'/%3E%3Cpath d='M2,48 C6,38 14,34 18,40 C14,46 6,48 2,48Z' fill='%23E8E3C5' opacity='0.4'/%3E%3Cpath d='M18,30 C22,20 30,16 34,22 C30,28 22,32 18,30Z' fill='%23E8E3C5' opacity='0.4'/%3E%3Cpath d='M36,12 C40,4 46,2 48,8 C44,12 38,14 36,12Z' fill='%23E8E3C5' opacity='0.4'/%3E%3C/svg%3E");
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background-color: var(--parchment);
  color: var(--olive-dk);
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

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

h2 {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--olive-dk);
  margin-bottom: 1.2rem;
}

h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--olive-dk);
  margin-bottom: 0.4rem;
}

p {
  margin-bottom: 0.9rem;
  font-size: 0.97rem;
}

p:last-child { margin-bottom: 0; }

strong { font-weight: 400; color: var(--olive-dk); }


/* ─── Navigation ────────────────────────────────────────── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(232, 227, 197, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
}

.nav-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  color: var(--olive-mid);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}

.nav-link {
  font-family: 'Cinzel', serif;
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--olive-mid);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link:focus { color: var(--olive-dk); outline: none; }

.nav-link--cta {
  background: var(--burgundy);
  color: var(--parchment-lt);
  border: 1px solid var(--burgundy);
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  transition: background 0.2s, transform 0.15s;
}

.nav-link--cta:hover,
.nav-link--cta:focus {
  background: var(--olive-dk);
  border-color: var(--olive-dk);
  color: var(--parchment-lt);
  transform: translateY(-1px);
}

/* Hamburger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--olive-dk);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}

/* Animated close state */
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8.25px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8.25px) rotate(-45deg); }


/* ─── Hero ──────────────────────────────────────────────── */
#hero {
  padding-top: var(--nav-height);
  display: flex;
  flex-direction: column;
}

.hero-image-slot {
  height: clamp(280px, 56vh, 520px);
  background: var(--parchment-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.6rem;
  color: var(--olive-lt);
}

/* On larger screens, keep the splash a modest band rather than
   letting it fill the whole viewport, and match its width to the
   centred content column below it. */
@media (min-width: 769px) {
  #hero { min-height: 0; }

  .hero-image-slot {
    flex: none;
    min-height: 0;
    max-height: none;
    height: clamp(340px, 46vh, 460px);
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
  }
}

.hero-image-slot svg { opacity: 0.35; }

.hero-image-slot span {
  font-family: 'Cinzel', serif;
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-title {
  background: var(--parchment);
  padding: clamp(1.75rem, 5vw, 4rem) 1rem;
  text-align: center;
  position: relative;
}

.hero-title::before,
.hero-title::after {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--olive-lt), transparent);
  width: 80%;
  max-width: 480px;
  margin: 0 auto;
}

.hero-title::before { margin-bottom: 1.75rem; }
.hero-title::after  { margin-top: 1.75rem; }

.names-block {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem, 13vw, 9rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--olive-dk);
}

.names-ampersand {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1.6rem, 5.5vw, 4rem);
  color: var(--burgundy);
  display: block;
  margin: 0.15em 0;
}

.hero-date {
  font-family: 'Cinzel', serif;
  font-size: clamp(0.62rem, 2vw, 0.9rem);
  letter-spacing: 0.25em;
  color: var(--burgundy);
  text-transform: uppercase;
  margin-top: 1rem;
  margin-bottom: 0;
}

.hero-venue {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.88rem, 2.2vw, 1.1rem);
  color: var(--olive-lt);
  margin-top: 0.35rem;
  margin-bottom: 0;
}


/* ─── Floral Divider ────────────────────────────────────── */
.floral-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.4rem 0;
}

.floral-divider .line {
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--olive-lt));
}

.floral-divider .line--right {
  background: linear-gradient(to left, transparent, var(--olive-lt));
}


/* ─── Sections ──────────────────────────────────────────── */
.section {
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
  max-width: 880px;
  margin: 0 auto;
}

.section--no-top { padding-top: 0; }

.section-corners { position: relative; }

/* Four corner flourishes via two pseudo elements on each wrapper pair */
.section-corners::before,
.section-corners::after,
.section-inner::before,
.section-inner::after {
  content: '';
  position: absolute;
  width: 38px;
  height: 38px;
  background-image: var(--corner-svg-light);
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
}

.section-inner {
  border: 1px solid var(--border);
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--parchment-lt);
  position: relative;
}

.section-inner::before { top: -2px;    left: -2px;  }
.section-inner::after  { bottom: -2px; right: -2px; transform: rotate(180deg); }
.section-corners::before { top: -2px;    right: -2px; transform: rotate(90deg); }
.section-corners::after  { bottom: -2px; left: -2px;  transform: rotate(270deg); }

/* Dark variant (RSVP) */
.section-inner--dark {
  background: var(--olive-dk);
  border-color: var(--border-dark);
}

.section-inner--dark::before,
.section-inner--dark::after {
  background-image: var(--corner-svg-dark);
}

.rsvp-section .section-corners::before,
.rsvp-section .section-corners::after {
  background-image: var(--corner-svg-dark);
}


/* ─── Photo Slots ───────────────────────────────────────── */
.photo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

.photo-row--full {
  grid-template-columns: 1fr;
}

.photo-slot {
  background: var(--parchment-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--olive-lt);
}

.photo-slot svg { opacity: 0.3; }

.photo-slot span {
  font-family: 'Cinzel', serif;
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.photo-slot--sm { height: 240px; }
.photo-slot--lg { height: 300px; }

/* When a real photo is dropped into a slot, let it fill the space
   (cropped to fit, never squashed) and drop the placeholder border. */
.hero-image-slot:has(img),
.photo-slot:has(img) {
  border: none;
  padding: 0;
  display: block;
}

.hero-image-slot img,
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* ─── Key Details Grid ──────────────────────────────────── */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.detail-item {
  text-align: center;
  padding: 1.25rem 0.75rem;
  border: 1px solid var(--border);
  background: var(--parchment);
}

.icon { font-size: 1.4rem; margin-bottom: 0.4rem; }

.detail-label {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--olive-lt);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--olive-dk);
  line-height: 1.4;
}

.detail-note {
  font-size: 0.85em;
  color: var(--burgundy);
}

.map-link {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--parchment-lt);
  background: var(--olive-mid);
  padding: 0.4rem 0.8rem;
  transition: background 0.2s, transform 0.15s;
}

.map-link:hover,
.map-link:focus {
  background: var(--burgundy);
  transform: translateY(-1px);
  outline: none;
}

.detail-access-note {
  margin-top: 1.25rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--olive-lt);
}


/* ─── Accommodation ─────────────────────────────────────── */
.accomm-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.accomm-card {
  border: 1px solid var(--border);
  background: var(--parchment);
  padding: 1.25rem 1rem;
}

.accomm-card h3 {
  font-size: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  margin-bottom: 0.65rem;
}

.tent-prices {
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

.tent-note {
  font-size: 0.85rem;
  color: var(--olive-lt);
}

.price-tag {
  display: inline-block;
  background: var(--olive-dk);
  color: var(--parchment-lt);
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.22rem 0.6rem;
  margin-top: 0.6rem;
}


/* ─── Dress Code ────────────────────────────────────────── */
.dress-warning {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--burgundy);
}


/* ─── Food & Drink ──────────────────────────────────────── */
.food-note {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--olive-lt);
}

.food-campfire {
  font-size: 0.92rem;
}


/* ─── FAQs ──────────────────────────────────────────────── */
.faq-list { list-style: none; }

.faq-item { border-top: 1px solid var(--border); }
.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--olive-dk);
  padding: 1rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.35;
  /* Ensure at least 44px touch target height */
  min-height: 44px;
}

.faq-q:focus-visible {
  outline: 2px solid var(--olive-mid);
  outline-offset: 2px;
  border-radius: 2px;
}

.chevron {
  font-style: normal;
  font-size: 0.7rem;
  color: var(--olive-lt);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.faq-item.is-open .chevron { transform: rotate(180deg); }

/* Collapsible answer: grid-template-rows animates reliably
   between 0fr (closed) and 1fr (open). */
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a-inner {
  overflow: hidden;
  min-height: 0;
  font-size: 0.94rem;
  color: var(--olive-mid);
  line-height: 1.7;
}

/* Padding lives on inner so it collapses with the row */
.faq-item.is-open .faq-a-inner {
  padding-bottom: 1rem;
}


/* ─── Honeymoon Fund Banner ─────────────────────────────── */
.fund-banner {
  background: var(--burgundy);
  color: var(--parchment-lt);
  text-align: center;
  padding: 1.1rem 1.25rem;
}

.fund-banner p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  margin: 0;
  color: var(--parchment-lt);
}


/* ─── RSVP Section wrapper ──────────────────────────────── */
.rsvp-section {
  background: var(--olive-dk);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}

/* Override inner section padding for RSVP */
.rsvp-section .section {
  padding-top: 0;
  padding-bottom: 0;
  max-width: 880px;
}

/* Text colours inside dark section */
.section-inner--dark h2 { color: var(--parchment); }
.section-inner--dark p  { color: rgba(232, 227, 197, 0.8); }
.section-inner--dark label { color: var(--parchment-lt); }

.rsvp-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(232, 227, 197, 0.7) !important;
  margin-bottom: 0.6rem;
}

.rsvp-notice {
  font-size: 0.88rem !important;
  color: rgba(232, 227, 197, 0.6) !important;
}

.deadline-date {
  color: #E3B85C;
  font-weight: 600;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.section-rule {
  border: none;
  border-top: 1px solid var(--border-dark);
  margin: 1.4rem 0;
}

.required { color: var(--burgundy); }
.optional { opacity: 0.5; }


/* ─── Form ──────────────────────────────────────────────── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.form-full { grid-column: 1 / -1; }

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group label {
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment-lt);
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
  background: rgba(232, 227, 197, 0.08);
  border: 1px solid rgba(232, 227, 197, 0.28);
  color: var(--parchment);
  padding: 0.7rem 0.85rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

input::placeholder,
textarea::placeholder { color: rgba(232, 227, 197, 0.35); }

input:focus,
select:focus,
textarea:focus { border-color: rgba(232, 227, 197, 0.7); }

select { cursor: pointer; }
select option { background: var(--olive-dk); color: var(--parchment); }

textarea { resize: vertical; min-height: 100px; }

.form-divider {
  grid-column: 1 / -1;
  border: none;
  border-top: 1px solid var(--border-dark);
  margin: 0.25rem 0;
}

/* Radio & Checkbox groups */
.radio-group {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

/* Vertical radio list for longer option sets */
.radio-group--stack {
  flex-direction: column;
  gap: 0.6rem;
}

/* Wrapper for everything hidden when a guest declines */
.conditional-block { grid-column: 1 / -1; }

.conditional-block .form-grid { gap: 1.1rem; }

/* Mini heading used to group related fields (e.g. Food & Dietary) */
.form-section-label {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--parchment) !important;
  margin: 0 0 0.6rem !important;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border-dark);
}

/* Helper text shown under a label (e.g. song requests note) */
.field-note {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: rgba(232, 227, 197, 0.6);
  margin-bottom: 0.15rem;
}

.radio-label,
.check-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.03em;
  color: var(--parchment-lt) !important;
  cursor: pointer;
  line-height: 1.45;
  /* Minimum touch target */
  min-height: 24px;
  padding: 0.1rem 0;
}

.radio-label input,
.check-label input {
  width: auto;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--parchment);
  cursor: pointer;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.4rem;
}

/* Bell Tent sub-section */
.bell-tent-options {
  background: rgba(232, 227, 197, 0.05);
  border: 1px solid rgba(232, 227, 197, 0.14);
  padding: 1rem 1.1rem;
  margin-top: 0.75rem;
  display: none;
}

.bell-tent-options.is-visible { display: block; }

/* Generic conditional detail field (e.g. accessibility details) */
.conditional-detail {
  display: none;
  flex-direction: column;
  gap: 0.3rem;
  margin-top: 0.85rem;
}

.conditional-detail.is-visible { display: flex; }

.bell-deadline {
  font-size: 0.82rem !important;
  color: rgba(232, 227, 197, 0.6) !important;
  margin-bottom: 0.75rem !important;
}

/* Submit */
.form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.submit-btn {
  background: var(--parchment);
  color: var(--olive-dk);
  border: none;
  padding: 0.9rem 2.5rem;
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  /* Minimum 44px touch target */
  min-height: 44px;
}

.submit-btn:hover,
.submit-btn:focus-visible {
  background: var(--burgundy);
  color: var(--parchment-lt);
  outline: none;
}

/* Success */
.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

.success-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--parchment) !important;
  margin-bottom: 0.5rem;
}

.success-body { color: rgba(232, 227, 197, 0.7) !important; }

.success-sig {
  margin-top: 0.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(232, 227, 197, 0.8) !important;
}


/* Form validation */
.input-error {
  border-color: var(--burgundy) !important;
}

.field-error {
  font-size: 0.72rem;
  color: #c97070;
  letter-spacing: 0.04em;
  margin-top: 0.15rem;
}

.form-error-box {
  background: rgba(107, 53, 53, 0.85);
  color: var(--parchment-lt);
  border: 1px solid var(--burgundy);
  padding: 0.8rem 1rem;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1.25rem;
}


/* ═══════════════════════════════════════════════════════════
   PHOTOS PAGE
   ═══════════════════════════════════════════════════════════ */
.photos-header {
  padding: calc(var(--nav-height) + clamp(2.5rem, 6vw, 4.5rem)) 1rem clamp(1.5rem, 4vw, 2.5rem);
  text-align: center;
  background: var(--parchment);
}

.photos-header .label { margin-bottom: 0.8rem; }

.photos-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1;
  color: var(--olive-dk);
}

.photos-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--olive-lt);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.photos-cta-wrap {
  display: flex;
  justify-content: center;
  margin: 1.75rem 0 1rem;
}

.photos-btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2rem;
  text-align: center;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  min-height: 44px;
}

.photos-btn--primary {
  background: var(--burgundy);
  color: var(--parchment-lt);
  border: 1px solid var(--burgundy);
}

.photos-btn--primary:hover,
.photos-btn--primary:focus {
  background: var(--olive-dk);
  border-color: var(--olive-dk);
  transform: translateY(-1px);
  outline: none;
}

.photos-btn--secondary {
  background: transparent;
  color: var(--olive-dk);
  border: 1px solid var(--olive-mid);
}

.photos-btn--secondary:hover,
.photos-btn--secondary:focus {
  background: var(--olive-dk);
  color: var(--parchment-lt);
  border-color: var(--olive-dk);
  transform: translateY(-1px);
  outline: none;
}

.photos-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--olive-lt);
  max-width: 520px;
  margin: 0 auto;
}

.photos-howto-title {
  text-align: center;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}

.photos-steps {
  max-width: 460px;
  margin: 0 auto;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.photos-steps li {
  font-size: 0.95rem;
  color: var(--olive-mid);
  padding-left: 0.3rem;
}

.photos-steps li::marker {
  font-family: 'Cinzel', serif;
  color: var(--burgundy);
  font-size: 0.85rem;
}


/* ─── Footer ────────────────────────────────────────────── */
footer {
  text-align: center;
  padding: 1.75rem 1rem;
  background: var(--olive-dk);
  color: rgba(232, 227, 197, 0.4);
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-top: 1px solid rgba(232, 227, 197, 0.1);
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
   ═══════════════════════════════════════════════════════════ */

/* ── Tablet and below (≤ 768px) ─────────────────────────── */
@media (max-width: 768px) {

  /* Nav: show hamburger, collapse links */
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(232, 227, 197, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
    gap: 0;
    box-shadow: 0 4px 16px rgba(58, 74, 40, 0.1);
  }

  .nav-links.is-open { display: flex; }

  .nav-link {
    padding: 0.85rem 1.5rem;
    font-size: 0.72rem;
    border-bottom: 1px solid rgba(58, 74, 40, 0.08);
  }

  .nav-link:last-child { border-bottom: none; }

  .nav-link--cta {
    border: none;
    border-bottom: 1px solid rgba(58, 74, 40, 0.08);
    padding: 1rem 1.5rem;
    margin: 0.4rem 1.5rem 0;
    background: var(--burgundy);
    color: var(--parchment-lt);
    text-align: center;
    letter-spacing: 0.2em;
  }

  /* Details grid: 2 columns on tablet */
  .details-grid { grid-template-columns: 1fr 1fr; }

  /* Photo row: stack vertically */
  .photo-row { grid-template-columns: 1fr; }
  .photo-slot--sm { height: 200px; }

  /* Accommodation: single column */
  .accomm-cards { grid-template-columns: 1fr; }

  /* RSVP form: single column */
  .form-grid { grid-template-columns: 1fr; }
  .form-full { grid-column: 1; }
}

/* ── Mobile (≤ 480px) ───────────────────────────────────── */
@media (max-width: 480px) {

  /* Details: single column on small phones */
  .details-grid { grid-template-columns: 1fr; }

  /* Corner flourishes slightly smaller */
  .section-corners::before,
  .section-corners::after,
  .section-inner::before,
  .section-inner::after {
    width: 28px;
    height: 28px;
  }

  /* Tighter section padding */
  .section { padding: 2rem 0.9rem; }
  .section--no-top { padding-top: 0; }

  .section-inner { padding: 1.25rem 1rem; }

  /* Radio group: stack vertically */
  .radio-group { flex-direction: column; gap: 0.6rem; }

  /* Bell tent sub-grid: single column */
  .bell-tent-options .form-grid { grid-template-columns: 1fr; }
  .bell-tent-options .form-full { grid-column: 1; }

  /* Hero image shorter on small phones */
  .hero-image-slot { min-height: 45vw; }

  /* Slightly tighter hero text */
  .hero-title::before { margin-bottom: 1.25rem; }
  .hero-title::after  { margin-top: 1.25rem; }
}

/* ── Reduced motion ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}


/* ═══════════════════════════════════════════════════════════
   DEMO MODE
   Elements that perform a real action on the live site (PIN
   gate, RSVP submit, external map/gallery links) are visually
   disabled here. Hovering or focusing them reveals a tooltip
   (from the data-demo-tooltip attribute) explaining what they
   would normally do.
   ═══════════════════════════════════════════════════════════ */
.demo-disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.demo-disabled:hover,
.demo-disabled:focus-visible {
  opacity: 0.8;
}

[data-demo-tooltip] { position: relative; }

[data-demo-tooltip]::after {
  content: attr(data-demo-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--olive-dk);
  color: var(--parchment-lt);
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  line-height: 1.4;
  padding: 0.55rem 0.75rem;
  border-radius: 4px;
  width: max-content;
  max-width: 220px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 60;
  pointer-events: none;
}

[data-demo-tooltip]:hover::after,
[data-demo-tooltip]:focus-visible::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
