/* ---------------------------------------------------------------
   Lise & Pete — 15 May 2027
   One stylesheet, mobile first. Anything inside a @media block is
   an adjustment for wider screens only.
   --------------------------------------------------------------- */

:root {
  --ink:     #1c1a17;   /* body text */
  --ink-soft:#55504a;   /* secondary text */
  --cream:   #fafaf8;   /* page background */
  --sand:    #f1eee7;   /* alternate band */
  --gold:    #7c6a4e;   /* accent — passes contrast on cream */
  --line:    #e6e3dc;
  --display: 'Marcellus', Georgia, serif;
  --body:    'Jost', system-ui, sans-serif;
  --col:     680px;     /* max content width on desktop */
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.skip {
  position: absolute; left: -9999px;
  background: var(--ink); color: var(--cream);
  padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; z-index: 10; }

/* --- Hero ----------------------------------------------------- */

.hero {
  background-image: url('images/hero-houses.jpg');
  background-size: cover;
  background-position: 50% 50%;
  min-height: 82vh;
  display: flex;
}

.hero__scrim {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 48px 24px 42px;
  text-align: center;
  /* dark at the bottom where the type sits, clear over their faces */
  background: linear-gradient(to top,
    rgba(14,13,11,0.86) 0%,
    rgba(14,13,11,0.62) 30%,
    rgba(14,13,11,0.20) 62%,
    rgba(14,13,11,0.06) 100%);
}

.hero__names {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(44px, 13vw, 62px);
  line-height: 1.1;
  letter-spacing: 0.02em;
  color: #fff;
  display: flex;
  flex-direction: column;
}

.hero__amp {
  font-size: 0.46em;
  letter-spacing: 0.2em;
  padding: 0.18em 0;
}

.rule { width: 56px; height: 1px; background: rgba(255,255,255,0.65); }

.hero__date {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #f0ece4;
}

.hero__place {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #cfc8bc;
}

/* --- Sticky section nav --------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  gap: 0;
  overflow-x: auto;
  padding: 8px 10px;
  background: rgba(250,250,248,0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  scrollbar-width: none;
}
.nav::-webkit-scrollbar { display: none; }

.nav a {
  flex: none;
  padding: 8px 9px;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
}
.nav a:hover, .nav a:focus { color: var(--gold); }

/* --- Sections ------------------------------------------------- */

.section {
  padding: 46px 24px 42px;
  border-bottom: 1px solid var(--line);
}

.section > * { max-width: var(--col); margin-inline: auto; }

.section--intro { padding-top: 40px; }

.section--dark {
  background: var(--sand);
  text-align: center;
}

.section--rsvp { border-bottom: none; }

.h2 {
  margin: 0 0 22px;
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}

.lede {
  margin: 0;
  font-family: var(--display);
  font-size: 21px;
  line-height: 1.55;
  text-align: center;
  color: var(--ink);
}

.lede--small { font-size: 17px; margin-bottom: 26px; }

.link { color: var(--gold); text-underline-offset: 3px; }

.fine {
  margin: 18px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* --- Schedule ------------------------------------------------- */

.schedule { list-style: none; margin: 0; padding: 0; }

.schedule li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dotted var(--line);
}
.schedule li:last-child { border-bottom: none; }

.schedule__time {
  width: 62px;
  flex: none;
  font-family: var(--display);
  font-size: 19px;
  color: var(--gold);
}

.schedule__what { font-size: 16px; }

/* --- Venues --------------------------------------------------- */

.place { margin-bottom: 28px; }

.place__label {
  margin: 0 0 6px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
}

.place__name {
  margin: 0 0 6px;
  font-family: var(--display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.25;
}

.place__addr { margin: 0 0 8px; color: var(--ink-soft); }

.note {
  padding: 20px 22px;
  background: var(--sand);
  border-radius: 10px;
  font-size: 14px;
}
.note p { margin: 0 0 10px; }
.note p:last-child { margin-bottom: 0; }

/* --- Menu ----------------------------------------------------- */

.menu {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.4;
}

.menu__sep { margin: 6px 0; color: var(--gold); }

/* --- Accommodation -------------------------------------------- */

.stays { list-style: none; margin: 0; padding: 0; }

.stays li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.stays li:last-child { border-bottom: none; }

.stays__name {
  margin: 0 0 4px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 400;
}

.stays__meta {
  margin: 0 0 6px;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.stays li p:last-child { margin: 0; font-size: 15px; color: var(--ink-soft); }

/* --- FAQs ----------------------------------------------------- */

.faq { margin: 0; }

.faq dt {
  font-family: var(--display);
  font-size: 19px;
  margin-top: 22px;
}
.faq dt:first-child { margin-top: 0; }

.faq dd {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

/* --- Form ----------------------------------------------------- */

.form { margin-top: 4px; }

.field { margin: 0 0 20px; border: 0; padding: 0; }

.field label, .field legend {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.field input[type="text"],
.field input[type="email"],
.field textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 16px;   /* 16px stops iOS zooming on focus */
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}

.field textarea { min-height: auto; resize: vertical; }

.field input:focus, .field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.field .choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-bottom: 2px;
  font-size: 16px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
}

.field .choice input { width: 18px; height: 18px; accent-color: var(--gold); }

.btn {
  display: inline-block;
  min-height: 48px;
  padding: 14px 44px;
  background: var(--ink);
  color: var(--cream);
  border: 0;
  border-radius: 2px;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
}
.btn:hover { background: #000; }

/* Honeypot — hidden from people, visible to bots */
.hp { position: absolute; left: -9999px; }

/* --- Footer --------------------------------------------------- */

.footer {
  padding: 34px 24px 44px;
  text-align: center;
  background: var(--ink);
  color: #b8b2a8;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer p { margin: 0; }

/* --- Wider screens -------------------------------------------- */

@media (min-width: 720px) {
  .hero {
    min-height: 0;
    width: min(620px, 92vw);
    aspect-ratio: 3 / 4;
    margin: 0 auto;
    background-position: 50% 50%;
  }
  body { background: var(--cream); }
  .hero__scrim { padding-bottom: 54px; }
  .section { padding: 64px 32px 58px; }
  .nav { justify-content: center; }
  .place { display: grid; grid-template-columns: 1fr; }
}

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

/* --- Thank-you page ------------------------------------------- */

.thanks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 60px 28px;
  text-align: center;
}

.thanks__label {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.thanks__title {
  margin: 0;
  font-family: var(--display);
  font-size: 46px;
  font-weight: 400;
  line-height: 1.1;
}

.rule--dark { background: #c9c3b6; }

.thanks__body {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-soft);
}

.thanks .btn { margin-top: 14px; text-decoration: none; }
