/* ==========================================================================
   Sandra & Lucas — wedding site
   Mobile-first. No framework, no external fonts: guests open this on a phone
   from a messaging app, so the phone layout is the real layout and every
   byte is served from our own webspace.
   ========================================================================== */

:root {
  --accent:        #8a6f4e;   /* warm gold-brown */
  --accent-dark:   #6b5539;
  --ink:           #2e2a26;
  --ink-soft:      #6a635b;
  --paper:         #fdfbf7;
  --paper-alt:     #f5f0e8;
  --rule:          #e4dbcd;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --measure: 34rem;   /* comfortable reading width */
  --gap:     1.5rem;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; }

p { margin: 0 0 0.75rem; }

.muted { color: var(--ink-soft); font-size: 0.9375rem; }

.link { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.link:hover { color: var(--ink); }

/* --- accessibility ------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75rem 1rem;
  z-index: 10;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- header + language switch ------------------------------------------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--rule);
}

.monogram {
  font-family: var(--serif);
  font-size: 1.25rem;
  letter-spacing: 0.15em;
  color: var(--accent-dark);
  margin: 0;
}

.lang-nav { display: flex; gap: 0.25rem; }

/* Site menu. Phones: a "Menü" button next to the monogram opens the list
   below the header (languages move to their own row on narrow screens).
   Wide screens: the links sit in the header between monogram and languages.
   Without JS the button stays hidden and the list is simply shown. */
.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  font: inherit;
  font-size: 0.875rem;
  padding: 0.4rem 0.8rem;
  min-height: 2.25rem;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
}
.menu-toggle[hidden] { display: none; }
.menu-toggle:hover { background: var(--paper-alt); }
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before,
.menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after  { top: 5px; }
.menu-toggle[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-icon::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon::after  { transform: translateY(-5px) rotate(-45deg); }

.site-nav { order: 5; width: 100%; }
.js .site-nav:not(.open) { display: none; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0;
  border-top: 1px solid var(--rule);
}
.site-nav li { border-bottom: 1px solid var(--rule); }
.site-nav li:last-child { border-bottom: 0; }
.site-nav a {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.8rem 0.25rem;
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--ink);
  text-decoration: none;
}
.site-nav a:hover { color: var(--accent-dark); }
.site-nav a[aria-current="page"] { color: var(--accent-dark); }
.site-nav a[aria-current="page"]::before {
  content: "";
  align-self: center;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Narrow phones: languages on their own row under monogram + menu. */
@media (max-width: 29.99rem) {
  .lang-nav { order: 4; width: 100%; justify-content: center; }
}
@media (min-width: 30rem) {
  .menu-toggle { order: 3; margin-left: 0; }
  .lang-nav { margin-left: auto; }
}

/* Wide screens: monogram and languages on top, the menu centred below. */
@media (min-width: 56rem) {
  .site-header { padding: 1rem 2rem 0; row-gap: 0.25rem; }
  .menu-toggle, .menu-toggle[hidden] { display: none; }
  .site-nav, .js .site-nav:not(.open) { display: block; order: 5; width: 100%; }
  .site-nav ul { display: flex; justify-content: center; flex-wrap: wrap; gap: 0 2rem; padding: 0.25rem 0 0; border: 0; }
  .site-nav li { border: 0; }
  .site-nav a { padding: 0.6rem 0 0.75rem; font-family: var(--sans); font-size: 0.9375rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 0 -1.5px 0 var(--accent); }
  .site-nav a[aria-current="page"]::before { display: none; }
}

.lang-btn {
  font: inherit;
  font-size: 0.875rem;
  padding: 0.4rem 0.7rem;
  min-height: 2.25rem;          /* comfortable thumb target */
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
}
.lang-btn:hover { color: var(--ink); background: var(--paper-alt); }

.lang-btn[aria-current="true"] {
  color: var(--paper);
  background: var(--accent);
  border-color: var(--accent);
}

/* --- hero --------------------------------------------------------------- */

.hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 78vh;
  padding: 4rem 1.25rem 3.5rem;
  text-align: center;
  overflow: hidden;
  background: var(--paper-alt);   /* shows while the photo loads */
  border-bottom: 1px solid var(--rule);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keeps the pine and the horizon in frame when a narrow phone screen
     crops the sides off this 16:9 photo. */
  object-position: 68% center;
}

/* Scrim: the sky in the photo is very pale, so white text needs help.
   Darker at top and bottom, lighter over the middle. */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 24, 20, 0.42) 0%,
    rgba(28, 24, 20, 0.28) 45%,
    rgba(28, 24, 20, 0.50) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1.25rem;
}

.names {
  font-size: clamp(2.5rem, 12vw, 4.5rem);
  margin: 0 0 1rem;
}
.names .amp { color: #f0dcc0; font-style: italic; }

.hero-date {
  font-family: var(--serif);
  font-size: clamp(1.125rem, 4.5vw, 1.5rem);
  margin-bottom: 0.25rem;
}

.hero-place { color: rgba(255, 255, 255, 0.9); margin-bottom: 2rem; }

/* Countdown, top right of the photo. Sits on the darker top of the scrim. */
.countdown {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
  display: flex;
  gap: 0.85rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}
.cd-num {
  display: block;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;   /* digits don't jiggle as they change */
}
.cd-label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

/* --- buttons ------------------------------------------------------------ */

.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  min-height: 2.75rem;
  font-size: 0.9375rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.15s ease;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }

/* On the photo, a solid light button is legible over every crop. */
.hero-content .btn-primary {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
  text-shadow: none;
}
.hero-content .btn-primary:hover { background: #fff; }

/* --- sections ----------------------------------------------------------- */

.section { padding: 3.5rem 1.25rem; }
.section-alt { background: var(--paper-alt); }

.section > h2 {
  font-size: clamp(1.75rem, 7vw, 2.25rem);
  text-align: center;
  margin: 0 0 0.5rem;
}

.section > h2 + .section-lead,
.section-lead {
  max-width: var(--measure);
  margin: 0 auto 1.5rem;
  text-align: center;
  color: var(--ink-soft);
}

/* --- detail cards ------------------------------------------------------- */

.cards {
  display: grid;
  gap: var(--gap);
  max-width: 60rem;
  margin: 2rem auto 0;
}

/* Two cards read better centred and narrower than three across. */
.cards-2 { max-width: 44rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 1.5rem;
  text-align: center;
}
.section-alt .card { background: var(--paper); }

.card h3 {
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-family: var(--sans);
  color: var(--accent-dark);
  margin: 0 0 0.75rem;
}

.card-lead { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 0.35rem; }

/* --- timeline ----------------------------------------------------------- */

.timeline {
  list-style: none;
  max-width: var(--measure);
  margin: 2rem auto 0;
  padding: 0;
}

.timeline li {
  display: grid;
  grid-template-columns: 7.25rem 1fr;
  gap: 1rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--rule);
}
.timeline li:last-child { border-bottom: 0; }

.timeline .time {
  font-family: var(--serif);
  font-variant-numeric: tabular-nums;
  color: var(--accent-dark);
  white-space: nowrap;
}

/* Small note under the timeline (get-together evening). */
.schedule-info {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  max-width: var(--measure);
  margin: 2rem auto 0;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.schedule-info .icon { width: 1.5rem; height: 1.5rem; margin-top: 0.1rem; color: var(--accent); }
.schedule-info p { margin: 0; font-size: 0.9375rem; color: var(--ink-soft); }
.schedule-info .schedule-info-title {
  font-family: var(--serif);
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.section-note {
  max-width: var(--measure);
  margin: 1.5rem auto 0;
  text-align: center;
  font-size: 0.9375rem;
  color: var(--ink-soft);
  font-style: italic;
}

/* --- dress code --------------------------------------------------------- */

.dress-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 6vw, 2rem);
  text-align: center;
  color: var(--accent-dark);
  margin: 0.5rem 0 1.25rem;
}

/* Two palettes as fabric swatches: no cards, no borders — just a label and
   colour. Stacked on phones; side by side from 40rem, where the women's
   palette (8 colours) naturally runs wider than the men's (6). */
.palettes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 2.5rem auto 0;
}

.palette-label {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.swatches {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.swatches li {
  width: clamp(1.9rem, 8.5vw, 2.625rem);   /* 42 × 18 px at full size */
  aspect-ratio: 42 / 18;
  border-radius: 5px;
  /* A faint sheen, so they read as cloth rather than flat UI blocks. */
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 55%),
    var(--swatch);
}

/* --- RSVP form ---------------------------------------------------------- */

.deadline {
  max-width: var(--measure);
  margin: 0 auto 2rem;
  text-align: center;
  font-family: var(--serif);
  font-size: 1.0625rem;
  color: var(--accent-dark);
}

.rsvp,
.thanks {
  max-width: 36rem;
  margin: 0 auto;
}

.step {
  border: 0;
  margin: 0 0 2.25rem;
  padding: 0;
  min-width: 0;
}

.step > legend {
  font-family: var(--serif);
  font-size: 1.375rem;
  color: var(--accent-dark);
  padding: 0;
  margin-bottom: 0.75rem;
}

.step-intro { color: var(--ink-soft); font-size: 0.9375rem; }

.field { margin-bottom: 1.25rem; }

.field > label,
.field > legend {
  display: block;
  font-weight: 600;
  font-size: 0.9375rem;
  margin-bottom: 0.35rem;
  padding: 0;
}

.opt { font-weight: 400; color: var(--ink-soft); }

.rsvp input[type="text"],
.rsvp input[type="email"],
.rsvp input[type="tel"],
.rsvp input[type="number"],
.rsvp input[type="date"],
.rsvp select,
.rsvp textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;           /* 16px+ stops iOS zooming into the field */
  color: var(--ink);
  background: #fff;
  border: 1px solid #cfc3b0;
  border-radius: 6px;
  padding: 0.65rem 0.8rem;
  min-height: 2.9rem;
}
.rsvp textarea { resize: vertical; }

/* "Weiß ich noch nicht" ticked: the date field is clearly switched off,
   with the empty dd.mm.yyyy mask hidden. */
.rsvp input:disabled {
  background: #ece6dc;
  border-color: #ddd3c4;
  color: transparent;
  cursor: not-allowed;
  opacity: 0.6;
}
.rsvp input[type="date"]:disabled::-webkit-datetime-edit,
.rsvp input[type="date"]:disabled::-webkit-calendar-picker-indicator { visibility: hidden; }
.rsvp input:focus,
.rsvp select:focus,
.rsvp textarea:focus { border-color: var(--accent); outline: 2px solid rgba(138, 111, 78, 0.25); outline-offset: 0; }

.rsvp [aria-invalid="true"] { border-color: #b3452f; }

.hint { color: var(--ink-soft); font-size: 0.875rem; margin: 0.4rem 0 0; }

/* --- yes / no: two big tappable options --- */

.choice { border: 0; padding: 0; }
.choice > .choice-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid #cfc3b0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 400;
  font-size: 1rem;
}
.choice-option:has(input:checked) { border-color: var(--accent); background: #fbf6ee; box-shadow: inset 0 0 0 1px var(--accent); }
.choice-option input,
.check input { width: 1.2rem; height: 1.2rem; accent-color: var(--accent); flex: none; margin: 0; }

.check { display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 0.9375rem; }
.check input { margin-top: 0.2rem; }
.check-hint { margin-left: 1.95rem; }   /* lines up with the checkbox text */

/* --- extra people --- */

.person {
  position: relative;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 6px;
  padding: 2rem 1rem 0.25rem;   /* room for "Remove" above the fields */
  margin: 0 0 1rem;
  min-width: 0;
}
.person > legend {
  font-family: var(--serif);
  font-size: 1.0625rem;
  padding: 0 0.35rem;
  margin-left: -0.35rem;
}
.person-remove {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  font: inherit;
  font-size: 0.8125rem;
  color: var(--ink-soft);
  background: none;
  border: 0;
  padding: 0.35rem;
  text-decoration: underline;
  cursor: pointer;
}
.person-remove:hover { color: #b3452f; }

.person-grid { display: grid; gap: 0 1rem; }

.add-row { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.btn { font-family: inherit; border: 0; cursor: pointer; }
.btn-quiet {
  background: transparent;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.9375rem;
  padding: 0.6rem 1.1rem;
}
.btn-quiet:hover { background: #fbf6ee; }
.btn:disabled { opacity: 0.6; cursor: progress; }

/* --- errors, submit, thanks --- */

.field-error { color: #b3452f; font-size: 0.875rem; margin: 0.35rem 0 0; }

.form-error {
  color: #8f3322;
  background: #fbeeea;
  border-left: 3px solid #b3452f;
  border-radius: 4px;
  padding: 0.75rem 1rem;
}

.submit-row { text-align: center; margin-top: 1.5rem; }

.thanks { text-align: center; }
.thanks { scroll-margin-top: 1rem; }

.thanks-hero {
  position: relative;
  width: min(88vw, 24rem);
  margin: 0 auto 2rem;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(46, 42, 38, 0.18);
}
.thanks-hero img { display: block; width: 100%; height: auto; }

/* Text sits on the lower part of the photo (the path), with a dark fade
   behind it so white stays readable on the light gravel. */
.thanks-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.25rem 1rem 1rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
  background: linear-gradient(to bottom, rgba(28, 24, 20, 0) 0%, rgba(28, 24, 20, 0.6) 30%, rgba(28, 24, 20, 0.78) 100%);
}
.thanks .thanks-overlay h3 {
  color: #fff;
  font-size: clamp(1.3rem, 5.6vw, 1.6rem);
  margin: 0 0 0.4rem;
}
.thanks-overlay p { font-family: var(--serif); font-size: 0.9375rem; line-height: 1.5; margin: 0; }

.thanks-letter {
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  font-family: var(--serif);
  font-size: 1.125rem;
}
.thanks-letter .signoff { margin-top: 1.5rem; font-style: italic; color: var(--accent-dark); }
.thanks h3 { font-size: 2rem; color: var(--accent-dark); margin: 0 0 0.75rem; }
.thanks:focus { outline: none; }
.thanks .btn { margin-top: 1rem; }

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.notice {
  background: var(--paper-alt);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.25rem;
  color: var(--ink-soft);
  text-align: left;
}
.notice code {
  font-size: 0.875em;
  background: #fff;
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* --- accommodation page ----------------------------------------------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.monogram-link { text-decoration: none; }

.icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.acc-intro, .page-intro { text-align: center; padding-bottom: 2rem; }
.acc-intro h1, .page-intro h1 { font-size: clamp(2.25rem, 9vw, 3rem); margin: 0 0 1rem; }
.page-intro .section-lead { margin-left: auto; margin-right: auto; }
.acc-note {
  max-width: var(--measure);
  margin: 0 auto;
  font-size: 0.875rem;
  color: var(--ink-soft);
  font-style: italic;
}

.area-jump { margin-top: 2rem; }
.area-jump-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}
.area-jump ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.area-jump a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.9375rem;
  background: #fff;
}
.area-jump a:hover { border-color: var(--accent); }
.area-jump .muted { font-size: 0.8125rem; }

.acc-status { max-width: 36rem; margin: 2rem auto; text-align: center; }

/* One section per area: photo header, short text, then its listings. */
.area {
  max-width: 64rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem;
  scroll-margin-top: 1rem;
}

.area-hero {
  position: relative;
  height: 13rem;
  border-radius: 6px;
  overflow: hidden;
  /* Shown until the area photo is uploaded (and behind it while it loads). */
  background: linear-gradient(135deg, #d9c9b0 0%, #c4b39a 55%, #a9c1cf 100%);
}
.area-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% var(--focus-y, 50%);
  display: block;
}
/* Where each photo's subject sits, so the wide crop keeps it in view. */
#area-tarifa        { --focus-y: 0%; }    /* palm tops */
#area-valdevaqueros { --focus-y: 30%; }   /* the arch sign */
.area-hero-text {
  position: absolute;
  inset: auto 0 0 0;
  padding: 3rem 1.25rem 1rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
  background: linear-gradient(to bottom, rgba(28, 24, 20, 0), rgba(28, 24, 20, 0.55));
}
.area-hero-text h2 { font-size: clamp(1.75rem, 7vw, 2.25rem); margin: 0 0 0.2rem; }
.area-hero-text p { display: flex; align-items: center; gap: 0.45rem; margin: 0; font-size: 0.9375rem; }

.area-text {
  max-width: var(--measure);
  margin: 1.25rem 0 1.5rem;
  color: var(--ink-soft);
}

.listing-grid { display: grid; gap: 1.5rem; }

/* One listing. No photo — type, rating, text, feature icons and facts. */
.listing {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: #fff;
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 1px 2px rgba(46, 42, 38, 0.05), 0 8px 24px rgba(46, 42, 38, 0.06);
}

.listing-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.listing-type {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--paper-alt);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
}
.listing-rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin: 0;
  font-size: 0.875rem;
}
.listing-rating .icon { color: #c9a45c; fill: #c9a45c; stroke-width: 1; }
.listing-rating .muted { font-size: 0.8125rem; }

.listing-name { font-size: 1.5rem; margin: 0; }
.listing-desc { margin: 0; color: var(--ink-soft); }

.features {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(8.5rem, 1fr));
  gap: 0.6rem 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.features li { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.features .icon { width: 1.4rem; height: 1.4rem; color: var(--accent-dark); }

.listing-facts {
  display: grid;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.fact p { display: flex; align-items: flex-start; gap: 0.5rem; margin: 0 0 0.3rem; font-size: 0.9375rem; }
.fact .icon { margin-top: 0.2rem; color: var(--ink-soft); }
.fact-label,
.fact p.fact-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.4rem;
}

.listing-suitable { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.75rem; }
.listing-suitable .fact-label { margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin: 0; }
.chip { font-size: 0.8125rem; padding: 0.2rem 0.75rem; border-radius: 999px; }
.chip-couples  { background: #f1e1dd; }
.chip-friends  { background: #f2e9d6; }
.chip-families { background: #dde7ec; }

.good-to-know summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--accent-dark);
  list-style: none;
}
.good-to-know summary::-webkit-details-marker { display: none; }
.good-to-know summary::after { content: "›"; transition: transform 0.15s ease; }
.good-to-know[open] summary::after { transform: rotate(90deg); }
.good-to-know ul { margin: 0.5rem 0 0; padding-left: 1.2rem; font-size: 0.875rem; color: var(--ink-soft); }

.listing-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: auto; }
.listing-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  padding: 0.7rem 1.2rem;
}
.btn-book { color: #fff; }

.details-link { margin-top: 0.75rem; }

/* --- our place --------------------------------------------------------- */

.place-hero {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: min(78vh, 42rem);
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.place-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.place-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(28, 24, 20, 0) 35%, rgba(28, 24, 20, 0.6));
}
.place-hero-text {
  position: relative;
  z-index: 1;
  padding: 0 1.25rem 3.5rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}
.place-hero h1 { font-size: clamp(2.75rem, 12vw, 4.75rem); line-height: 1.05; margin: 0 0 0.75rem; }
.place-hero-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.125rem, 4.5vw, 1.375rem); margin: 0; }

.story-grid { max-width: 60rem; margin: 0 auto; display: grid; gap: 2.5rem; align-items: center; }
.story-text h2 { text-align: left; font-size: clamp(1.75rem, 6vw, 2.25rem); margin: 0 0 1.25rem; }
.story-text p { margin: 0 0 1rem; }
.story-lead { font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; color: var(--ink); }
.story-photo, .passion-photo { margin: 0; }
.story-photo img, .passion-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(46, 42, 38, 0.08), 0 12px 32px rgba(46, 42, 38, 0.12);
}

.place-quote {
  max-width: 40rem;
  margin: 3.5rem auto 0;
  padding: 0 1rem;
  text-align: center;
}
.place-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 6vw, 2.125rem);
  line-height: 1.3;
  color: var(--accent-dark);
  margin: 0;
}
.place-quote::before,
.place-quote::after {
  content: "";
  display: block;
  width: 3rem;
  height: 1px;
  margin: 0 auto 1.5rem;
  background: var(--accent);
}
.place-quote::after { margin: 1.5rem auto 0; }

.about-grid { max-width: 60rem; margin: 0 auto; display: grid; gap: 2.5rem; }
.about-grid h2 { text-align: left; margin: 0 0 1rem; }
.about-grid p { margin: 0 0 1rem; }

.place-reasons > h2, .place-reasons > .section-lead { text-align: center; margin-left: auto; margin-right: auto; }
.place-reasons > .section-lead { font-family: var(--serif); font-style: italic; font-size: 1.1875rem; }
.reasons {
  list-style: none;
  max-width: 60rem;
  margin: 2.5rem auto 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.reason {
  padding: 1.5rem 1.4rem;
  background: var(--paper-alt);
  border-radius: 6px;
}
.reason h3, .passion-text h3 { font-size: 1.375rem; margin: 0.25rem 0 0.5rem; }
.reason p, .passion-text p { margin: 0; }
.reason-num {
  display: block;
  font-family: var(--serif);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.passions { max-width: 60rem; margin: 3.5rem auto 0; display: grid; gap: 3rem; }
.passion { display: grid; gap: 1.25rem; align-items: center; }
.passion-photo img { aspect-ratio: 3 / 4; object-fit: cover; }

.place-thanks { text-align: center; }
.place-thanks > h2 { max-width: 36rem; margin: 0 auto 1.25rem; }
.place-thanks > p { max-width: var(--measure); margin: 0 auto 1rem; }
.place-thanks .signoff {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--accent-dark);
}
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2rem; }

@media (min-width: 48rem) {
  .reasons { grid-template-columns: repeat(3, 1fr); }
  .passion { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .passion:nth-child(even) .passion-photo { order: 2; }
  .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
@media (min-width: 56rem) {
  .story-grid { grid-template-columns: 1.15fr 1fr; gap: 4rem; }
}

/* --- gifts ------------------------------------------------------------- */

.section.gifts-intro { padding-bottom: 1rem; }
.gifts-eyebrow {
  font-size: 0.8125rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.75rem;
}
.gifts-intro h1 { max-width: 34rem; margin-left: auto; margin-right: auto; line-height: 1.15; }
.gifts-lead {
  max-width: 36rem;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
}
.gifts-heart { display: block; margin-top: 2rem; font-size: 1.5rem; color: var(--accent); }
.section.gifts-dream { padding-top: 1.5rem; }
.gifts-dream .story-text h2 { margin-bottom: 1rem; }
.gifts-dream .story-lead { margin-top: 1.25rem; }
.gifts-sign {
  margin-top: 1.75rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1875rem;
  color: var(--accent-dark);
}

/* --- sights ------------------------------------------------------------ */

.sights-intro .area-jump ul { justify-content: center; }
.section.sights-intro { padding-bottom: 1rem; }
.sights-intro h1 { font-size: clamp(1.875rem, 8.5vw, 3rem); }
.sights-intro + .sight-group { padding-top: 2.5rem; }
.sight-group > h2 { margin-bottom: 0.25rem; }
.sight-group-sub {
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 2rem;
}
.sight-group { scroll-margin-top: 1rem; }
.sight-grid { max-width: 64rem; margin: 0 auto; display: grid; gap: 1.5rem; align-items: start; }

.sight {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 1.5rem 1.4rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
}
.section-alt .sight { border-color: transparent; }
/* Photo runs edge to edge across the top of the card. */
.sight-photo { display: block; margin: -1.5rem -1.4rem 1.25rem; }
.sight-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; background: var(--paper-alt); }
.sight-head { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem 0.75rem; }
.sight-head h3 { font-size: 1.5rem; margin: 0; }
.sight-badge {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}
.sight-time {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.4rem 0 0.9rem;
  font-size: 0.875rem;
  color: var(--ink-soft);
}
.sight-teaser { font-family: var(--serif); font-size: 1.125rem; line-height: 1.5; margin: 0 0 0.9rem; }
.sight-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.sight-list li { position: relative; padding-left: 1.2rem; margin-bottom: 0.4rem; font-size: 0.9375rem; }
.sight-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.62em;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
}
.sight-secret {
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #efe5d6, #f6efe4);
  border-radius: 6px;
}
.sight-secret p { margin: 0; font-size: 0.9375rem; }
.sight-secret .sight-secret-label {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.sight-note {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin: 0.9rem 0 0;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--accent-dark);
}
.sight-note .icon { margin-top: 0.15rem; }
.sights-outro .section-lead { text-align: center; font-family: var(--serif); font-style: italic; font-size: 1.125rem; }

@media (min-width: 48rem) {
  .sight-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 72rem) {
  .sight-grid { grid-template-columns: repeat(3, 1fr); max-width: 76rem; }
}

/* --- travel page ------------------------------------------------------ */

.page-intro { padding-bottom: 0; }
.page-intro + .travel { padding-top: 2rem; }
.travel > h2 { text-align: center; }
.travel-block {
  max-width: 46rem;
  margin: 0 auto 2.75rem;
}
.travel-block:last-child { margin-bottom: 0; }
.travel-block h3 { font-size: 1.375rem; margin: 0 0 0.5rem; }
.travel-block > p { max-width: var(--measure); }

.travel-map { margin: 1.25rem 0 1rem; }
.travel-map img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(46, 42, 38, 0.08), 0 8px 24px rgba(46, 42, 38, 0.08);
}
.travel-map figcaption { margin-top: 0.6rem; font-size: 0.875rem; text-align: right; }

.airports, .origins, .tips { list-style: none; margin: 0; padding: 0; }

.airports { display: grid; gap: 0.75rem; }
.airport {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  background: var(--paper-alt);
  border-radius: 6px;
}
.airport .icon { margin-top: 0.2rem; color: var(--accent); width: 1.4em; height: 1.4em; }
.airport p { margin: 0; }
.airport-name { font-family: var(--serif); font-size: 1.1875rem; }
.airport-name abbr { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.1em; text-decoration: none; }
.airport-time { font-size: 0.9375rem; color: var(--ink-soft); }

.tips { margin: 1rem 0 1.25rem; }
.tips li { position: relative; padding-left: 1.4rem; margin-bottom: 0.4rem; }
.tips li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}

.origins { display: grid; gap: 0; margin-top: 1rem; border-top: 1px solid var(--rule); }
.origins li { padding: 0.8rem 0; border-bottom: 1px solid var(--rule); }
.origins p { margin: 0; }
.origins .country {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0.15rem;
}

.travel-notice {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.2rem;
  background: var(--paper);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}
.travel-notice .icon { margin-top: 0.15rem; color: var(--accent); }

/* Shuttle timetable — a placeholder until meeting points and times are fixed. */
.timetable {
  margin-top: 1.5rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  overflow: hidden;
}
.timetable-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0.75rem 1rem;
  padding: 1.4rem 1.25rem 1.25rem;
  background: linear-gradient(135deg, #efe5d6, #f6efe4);
  border-bottom: 1px solid var(--rule);
}
.timetable-head > .icon { width: 2rem; height: 2rem; color: var(--accent); flex: none; }
.timetable-head > div { flex: 1 1 14rem; }
.timetable-head h3 { font-size: 1.375rem; margin: 0 0 0.3rem; }
.timetable-head p { margin: 0; font-size: 1.0625rem; color: var(--ink); }
.timetable-soon {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  padding: 0.35rem 0.8rem;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
}
.timetable table { width: 100%; border-collapse: collapse; }
.timetable th, .timetable td {
  padding: 0.9rem 1.25rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}
.timetable thead th {
  font-size: 0.6875rem;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-top: 0.75rem;
  padding-bottom: 0.6rem;
}
.timetable tbody th { font-weight: normal; }
.timetable .stop-name { display: block; font-family: var(--serif); font-size: 1.125rem; }
.timetable .link { font-size: 0.8125rem; }
.tbd {
  display: inline-block;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--ink-soft);
  padding: 0.15rem 0.6rem;
  border: 1px dashed #cdbfa9;
  border-radius: 999px;
}
.timetable-foot { margin: 0; padding: 1rem 1.25rem; font-size: 0.875rem; color: var(--ink-soft); }
@media (max-width: 29.99rem) {
  .timetable th, .timetable td { padding: 0.8rem 0.5rem; }
  .timetable th:first-child, .timetable td:first-child { padding-left: 1rem; }
  .timetable th:last-child, .timetable td:last-child { padding-right: 1rem; }
  .timetable .stop-name { font-size: 1.0625rem; }
  .tbd { padding: 0.1rem 0.45rem; }
}

@media (min-width: 40rem) {
  .airports { grid-template-columns: repeat(3, 1fr); }
  .airport { flex-direction: column; gap: 0.5rem; }
  .origins { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}

@media (min-width: 40rem) {
  /* Less extreme than a fixed height, so wide screens do not slice the photo into a strip. */
  .area-hero { height: auto; aspect-ratio: 5 / 2; max-height: 26rem; }
  .area-hero-text { padding: 4rem 1.75rem 1.4rem; }
  .listing { padding: 1.75rem; }
  .listing-facts { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 60rem) {
  .listing-grid { grid-template-columns: 1fr 1fr; }
}

/* --- footer --------------------------------------------------- */

.site-footer {
  padding: 2.5rem 1.25rem;
  text-align: center;
  border-top: 1px solid var(--rule);
}
.site-footer .monogram { margin-bottom: 0.5rem; }

/* --- wider screens ------------------------------------------------------ */

@media (min-width: 40rem) {
  .hero { min-height: 88vh; padding: 6rem 2rem 5rem; }
  .section { padding: 5rem 2rem; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .timeline li { grid-template-columns: 8.5rem 1fr; }
  .hero-media img { object-position: center; }
  .countdown { top: 1.75rem; right: 2rem; gap: 1.25rem; }
  .cd-num { font-size: 2rem; }
  .cd-label { font-size: 0.6875rem; }
  .person-grid { grid-template-columns: 1fr 1fr; }
  .palettes { flex-direction: row; justify-content: center; align-items: flex-start; gap: 4.5rem; }
  .person-grid .field-wide { grid-column: 1 / -1; }
}

/* --- respect user preferences ------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; }
}

@media print {
  .lang-nav, .btn, .rsvp, .thanks, .countdown, .area-jump, .site-nav, .menu-toggle { display: none; }
  .listing { box-shadow: none; border: 1px solid var(--rule); break-inside: avoid; }
  .good-to-know ul { display: block; }
  .hero { min-height: 0; }
  .hero-media, .hero::after { display: none; }
  .hero-content { color: var(--ink); text-shadow: none; }
  .eyebrow, .hero-place { color: var(--ink-soft); }
  body { background: #fff; }
}
