/* ===== Luke & Jordi — Blue Ridge / Funky Formal ===== */

/* ---- designer fonts (self-hosted) ---- */
/* Keramique Script + Baystar Script © Mans Greback — personal-use license.
   For a non-commercial wedding site. See note in README before any commercial use. */
@font-face {
  font-family: 'Keramique Script';
  src: url('fonts/KeramiqueScript.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Baystar Script';
  src: url('fonts/BaystarScript-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Baystar Script';
  src: url('fonts/BaystarScript-Medium.woff2') format('woff2');
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --cream: #efe7d8;
  --paper: #e6dcc7;
  --ink: #383f28;
  --ink-soft: rgba(56, 63, 40, 0.72);
  --ink-faint: rgba(56, 63, 40, 0.45);
  --terracotta: #c06b38;
  --rust: #9c5027;
  --burgundy: #7b3b4e;
  --sage: #7c8560;
  --sage-deep: #566044;
  --gold: #c69a4c;
  --line: rgba(56, 63, 40, 0.16);
  --shadow-soft: 0 24px 60px -30px rgba(56, 63, 40, 0.45);
  /* Header = Keramique Script · Headings/labels = Alegreya Sans SC · Running body copy = Alegreya Sans · Accent = Baystar Script */
  --font-display: 'Keramique Script', 'Brush Script MT', cursive;
  --font-body: 'Alegreya Sans SC', 'Century Gothic', sans-serif;
  --font-text: 'Alegreya Sans', 'Century Gothic', sans-serif;
  --font-script: 'Baystar Script', 'Snell Roundhand', cursive;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 1.18rem;
  letter-spacing: 0.006em;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---- grain texture ---- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.045;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- typography ---- */
/* h1 / couple's names → Keramique Script.  Section headings → Alegreya Sans SC. */
h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--sage-deep);
  margin: 0;
}

h2, h3 {
  font-family: var(--font-body);
  color: var(--sage-deep);
  margin: 0;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rust);
  margin-bottom: 0.6rem;
}

.eyebrow-script {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--terracotta);
  margin: 0 0 0.35rem;
}

.centered { text-align: center; }
.centered.eyebrow-script { display: block; }

.body-copy {
  font-size: 1.28rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 48ch;
}

/* centered sections: actually center the constrained text block */
.centered .body-copy,
.body-copy.centered,
.rsvp-section .body-copy {
  margin-left: auto;
  margin-right: auto;
}

.placeholder-copy {
  color: var(--ink-faint);
  font-style: italic;
  font-size: 0.92rem;
}

/* ---- nav ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem clamp(1.25rem, 5vw, 3.5rem);
  background: rgba(239, 231, 216, 0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-nav.scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(44,35,23,0.3);
}

.nav-mark {
  font-family: var(--font-display);
  font-size: 1.7rem;
  line-height: 1;
  color: var(--sage-deep);
  text-decoration: none;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
}

.logo-mark {
  display: block;
  height: 2.5rem;
  width: auto;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2vw, 2.2rem);
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-family: var(--font-body);
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.nav-links a.nav-cta {
  background: var(--terracotta);
  border: 1px solid var(--terracotta);
  color: var(--cream);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
}
.nav-links a.nav-cta::after { display: none; }
.nav-links a.nav-cta:hover { background: var(--rust); border-color: var(--rust); color: var(--cream); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  background: #26301c url('img/hero-mountains.jpg') center 40% / cover no-repeat;
}

/* darkening scrim so the cream lettering stays legible over the sunset */
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 46%, rgba(18,24,14,0.64) 0%, rgba(18,24,14,0.2) 62%),
    linear-gradient(to bottom, rgba(18,24,14,0.44) 0%, rgba(18,24,14,0.4) 55%, rgba(24,30,16,0.76) 100%);
}

/* hero text sits light over the photo */
.hero-names { color: #fdf8ec; text-shadow: 0 2px 24px rgba(0,0,0,0.38); }
.hero-names .amp { color: #eeb35f; }
.hero-date { color: #ffffff; text-shadow: 0 2px 18px rgba(0,0,0,0.32); }
.hero-rule { background: rgba(255,255,255,0.7); }

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: heroRise 1.2s cubic-bezier(.2,.8,.2,1) both;
}

@keyframes heroRise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-names {
  display: flex;
  flex-direction: column;
  align-items: center;
  letter-spacing: 0;
}

/* Keramique Script's connected lowercase l/t strokes misread longer
   surnames (e.g. "Shelton" reads as "Shetton") — full names use the
   bold sans headline face instead; the script font stays for the
   eyebrow, ampersand, and tagline for the same elegant bookending. */
.hero-name-line {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.9rem, 7vw, 4.4rem);
  letter-spacing: 0.01em;
  line-height: 1.15;
}

.hero-amp {
  color: var(--terracotta);
  font-size: clamp(1.3rem, 4vw, 2.2rem);
  line-height: 1;
  margin: 0.1em 0;
}

.hero-tagline {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.6vw, 2.1rem);
  color: #eeb35f;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
  margin: 0.9rem 0 0;
}

.hero-rule {
  width: 70px;
  height: 1px;
  background: var(--gold);
  margin: 1.6rem auto;
}

.hero-date {
  font-family: var(--font-body);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  font-weight: 500;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.btn-solid.hero-rsvp {
  margin-top: 2.2rem;
}

.countdown {
  display: flex;
  gap: clamp(0.6rem, 2vw, 1.4rem);
  justify-content: center;
}

.count-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 68px;
  padding: 0.9rem 0.6rem;
  background: rgba(20,26,15,0.32);
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 40px -24px rgba(0,0,0,0.6);
}

.count-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.9rem;
  color: #fdf8ec;
  font-variant-numeric: tabular-nums;
}

.count-label {
  font-family: var(--font-body);
  font-size: 0.66rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin-top: 0.2rem;
}

.scroll-cue {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(255,255,255,0.65);
  border-radius: 12px;
  z-index: 2;
}
.scroll-cue span {
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--terracotta);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; top: 6px; }
  70% { opacity: 0; top: 18px; }
  100% { opacity: 0; top: 6px; }
}

/* ---- sections ---- */
.section {
  padding: clamp(5rem, 11vw, 9.5rem) clamp(1.25rem, 6vw, 4rem);
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}
.section-inner.narrow { max-width: 720px; }

/* alternating full-bleed bands give the page horizontal rhythm */
.section-tint { background: var(--paper); }

.section-dark {
  background: var(--sage-deep);
  color: rgba(255, 255, 255, 0.86);
}
.section-dark h2 { color: #fdf8ec; }
.section-dark h3,
.section-dark .eyebrow-script { color: #eeb35f; }
.section-dark .body-copy { color: rgba(255, 255, 255, 0.82); }
.section-dark .placeholder-copy { color: rgba(255, 255, 255, 0.6); }
.section-dark .btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark .detail-card {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
}
.section-dark .detail-time { color: #eeb35f; }

/* "The yellow of the details" — same #eeb35f used for the details-section
   eyebrow/venue accents. --ink passes contrast here (5.89:1) and reads as
   more native to the site than the near-black used on the old orange bg. */
.section-attire { background: #eeb35f; }

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---- two column (story) ---- */
.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.two-col.media-left { grid-template-columns: 0.9fr 1.1fr; }

.story-illustration {
  display: block;
  width: 100%;
  height: auto;
  max-width: 460px;
  margin: 0 auto;
}

/* ---- things to do ---- */
.todo-list {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 0.5rem;
}
.todo-item h3 { margin-bottom: 0.5rem; }
.todo-item p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  max-width: 52ch;
}

/* real photo (not line art), so it gets the photo-strip's rounded
   corners + soft shadow rather than the plain illustration treatment */
.area-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
}

/* ---- photo gallery (horizontal, flip-through strip) ---- */
.photo-strip-wrap {
  position: relative;
  margin-top: 2.5rem;
}
.photo-strip {
  display: flex;
  gap: 1.1rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1.5rem;
  scrollbar-width: thin;
  scrollbar-color: var(--terracotta) transparent;
}
.photo-strip::-webkit-scrollbar { height: 7px; }
.photo-strip::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 999px; }
.photo-strip::-webkit-scrollbar-track { background: transparent; }
.photo-strip img {
  flex: 0 0 auto;
  height: clamp(240px, 38vw, 440px);
  width: auto;
  max-width: 82vw;
  border-radius: 6px;
  box-shadow: var(--shadow-soft);
  scroll-snap-align: start;
  cursor: zoom-in;
  object-fit: cover;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.photo-strip img:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 64px -28px rgba(56, 63, 40, 0.55);
}
.photo-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s ease, color 0.25s ease;
}
.photo-nav:hover { background: var(--terracotta); border-color: var(--terracotta); color: var(--cream); }
.photo-nav-prev { left: -6px; }
.photo-nav-next { right: -6px; }
@media (max-width: 720px) {
  .photo-nav { display: none; }
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(30, 33, 20, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 4px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
}
.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fdf8ec;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.22); }

/* ---- detail cards ---- */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}
.details-grid.two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.attire-callout {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  color: var(--ink);
}
.attire-label {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.5vw, 1.9rem);
  letter-spacing: 0.05em;
  color: var(--ink);
  margin: 0 0 1.1rem;
}
.attire-callout p:not(.attire-label) {
  font-size: 1.22rem;
  line-height: 1.72;
  color: var(--ink);
  margin: 0 auto;
  max-width: 60ch;
}
.attire-callout p + p { margin-top: 1.1rem; }

.detail-card {
  background: rgba(255,255,255,0.4);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.detail-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}

.detail-time {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: var(--terracotta);
  margin: 0 0 0.8rem;
}

/* Ceremony / Reception headings, made larger per request */
#details .detail-card h3 {
  font-size: clamp(1.35rem, 3vw, 1.7rem);
  margin-bottom: 0.9rem;
}

.venue-address {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  transition: border-color 0.3s ease, opacity 0.3s ease;
}
.venue-address:hover { border-color: currentColor; opacity: 0.85; }

.inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.inline-link:hover { opacity: 0.8; }

.attire-examples-btn {
  display: block;
  margin: 1.4rem auto 0;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-text);
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
}

/* ---- attire inspo modal ---- */
.attire-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(24, 30, 16, 0.82);
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.attire-modal.open { display: flex; }
.attire-modal-inner {
  background: var(--cream);
  border-radius: 10px;
  max-width: 1080px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.55);
}
.attire-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.attire-modal-eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--terracotta);
  margin: 0 0 0.15rem;
}
.attire-modal-header h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sage-deep);
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0;
}
.attire-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}
.attire-modal-close:hover { background: var(--terracotta); color: var(--cream); }
.attire-modal-grid {
  overflow-y: auto;
  padding: 1.6rem 1.8rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}
.attire-modal-grid img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.attire-modal-grid img:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
@media (max-width: 560px) {
  .attire-modal-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .attire-modal-grid img { height: 140px; }
}

/* ---- honeymoon fund modal ---- */
.fund-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 250;
  background: rgba(24, 30, 16, 0.82);
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
}
.fund-modal.open { display: flex; }
.fund-modal-inner {
  background: var(--cream);
  border-radius: 10px;
  max-width: 480px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.55);
}
.fund-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 1.8rem 1.2rem;
  border-bottom: 1px solid var(--line);
}
.fund-modal-header h3 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--sage-deep);
  text-transform: none;
  letter-spacing: 0.01em;
  margin: 0;
}
.fund-modal-close {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease;
}
.fund-modal-close:hover { background: var(--terracotta); color: var(--cream); }
.fund-options {
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.8rem 1.8rem;
  gap: 1.4rem;
}
.fund-option-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
.fund-option-name {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ink);
}
.fund-option-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}
.fund-option-actions .btn {
  padding: 0.4rem 0.9rem;
  font-size: 0.78rem;
}
.fund-option-value {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0.35rem 0 0;
}
.fund-option-hint {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin: 0.3rem 0 0;
}
@media (max-width: 480px) {
  .fund-option-top { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
}

.map-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}
.map-btn {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--ink-faint);
  color: var(--ink-soft);
  transition: all 0.25s ease;
}
.map-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--cream);
}
.section-dark .map-btn {
  border-color: rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark .map-btn:hover {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
}

/* ---- timeline ---- */
.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 360px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: var(--line);
}
.timeline li {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.1rem;
  padding: 0.7rem 0 0.7rem 2.1rem;
}
.timeline li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--paper);
  z-index: 1;
}
.tl-time {
  flex: 0 0 5.2rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--terracotta);
}
.tl-label {
  /* The schedule column is centred, and without an explicit left alignment these
     labels inherit that — invisible on one-word entries like "Ceremony", but it
     centred the two that wrap ("Cocktail Hour", "Dinner & Toasts") so their second
     line sat out of line with everything else. */
  flex: 1;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: var(--sage-deep);
}

/* ---- schedule (three-day grid) ---- */
.schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  max-width: 1080px;
  margin: 2.5rem auto 0;
}
/* matches .schedule-day-main's own top padding so all three columns'
   date/title lines share the same baseline despite only the middle
   one having a visible card box */
.schedule-day { text-align: center; padding-top: clamp(1.75rem, 3vw, 2.25rem); }
.schedule-day-date {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 0.4rem;
}
.schedule-day-note {
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin: 0;
}
.schedule-day-main {
  padding: clamp(1.75rem, 3vw, 2.25rem) 1.6rem;
}
.schedule-day-main .timeline { margin-top: 1.5rem; }

/* ---- buttons ---- */
/* .btn is shared by <a> and <button> (e.g. #fundBtn). Anchors inherit the
   page font and get cursor:pointer for free; a bare <button> does neither
   (UA stylesheet gives it system-ui font + cursor:default), which is why
   an unstyled button.btn rendered larger and felt different from its
   anchor.btn neighbours. Set them explicitly so both elements match. */
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.85rem 2.2rem;
  border: none;
  border-radius: 999px;
  background: none;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: all 0.3s ease;
}
.btn-solid {
  background: var(--terracotta);
  color: var(--cream);
  border: 1px solid var(--terracotta);
}
.btn-solid:hover {
  background: var(--rust);
  border-color: var(--rust);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}
.btn-outline {
  border: 1px solid var(--ink-faint);
  color: var(--ink-soft);
}
.btn-disabled {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.btn-row .btn { margin-top: 0; }

.rsvp-section { text-align: center; }

/* ---- faq ---- */
.faq-list { margin-top: 2rem; }
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  color: var(--sage-deep);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: var(--font-body);
  font-style: normal;
  font-size: 1.4rem;
  color: var(--terracotta);
  transition: transform 0.3s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  margin: 0.9rem 0 0;
  color: var(--ink-soft);
  font-style: normal;
}

.faq-contact {
  margin: 2.5rem 0 0;
  text-align: center;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}
.faq-contact a { color: var(--terracotta); }

/* ---- footer ---- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem clamp(1.25rem, 5vw, 3.5rem) 3.5rem;
  background: var(--sage-deep);
  color: rgba(255, 255, 255, 0.8);
}
.footer-mark {
  display: block;
  margin-bottom: 1rem;
}
.footer-logo {
  display: block;
  height: clamp(4.5rem, 9vw, 7rem);
  width: auto;
}
.footer-content {
  text-align: center;
}
.site-footer p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  margin: 0 0 0.9rem;
}
.back-top {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .two-col,
  .two-col.media-left { grid-template-columns: 1fr; }
  .details-grid,
  .details-grid.two { grid-template-columns: 1fr; }
  .schedule-grid { grid-template-columns: 1fr; max-width: 420px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--cream);
    padding: 1.5rem clamp(1.25rem, 5vw, 3.5rem);
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 1.1rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a.nav-cta { display: inline-block; width: fit-content; }
}

@media (max-width: 480px) {
  .count-box { min-width: 52px; padding: 0.7rem 0.4rem; }
  .count-num { font-size: 1.4rem; }
  .timeline li { grid-template-columns: 60px 24px 1fr; }
}
