/* Shubham weds Riya, jungle-luxe theme */
:root {
  --forest: #1b3a2a;
  --forest-deep: #12281d;
  --gold: #c9a24b;
  --gold-soft: #e6cf9a;
  --cream: #faf6ee;
  --ink: #2b2b26;
  --muted: #6b7267;
  --card: #ffffff;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; }

.amp { font-family: var(--serif); font-style: italic; color: var(--gold); }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 2rem;
  background: rgba(18, 40, 29, 0.92); backdrop-filter: blur(8px);
}
.nav-brand { font-family: var(--serif); font-size: 1.5rem; color: var(--gold-soft); text-decoration: none; letter-spacing: 0.15em; display: flex; align-items: center; min-height: 44px; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; align-items: center; }
/* Tablets get the desktop nav, so the links need a touch-sized hit area. */
.nav-links a { color: var(--cream); text-decoration: none; font-size: 0.95rem; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover { color: var(--gold-soft); }
/* 44px minimum so the menu is comfortably tappable on a phone. */
.nav-toggle {
  display: none; background: none; border: none; color: var(--cream);
  font-size: 1.5rem; cursor: pointer; line-height: 1;
  min-width: 44px; min-height: 44px; padding: 0;
}

/* The hero entrance is applied from JS with inline styles, never from a CSS
   rule that hides .fade-up. An animation using fill-mode "both" holds its
   opening keyframe when it does not play, which leaves the whole hero
   invisible; driving it from script means the failure path is simply no
   animation on fully visible text. */

/* Hero */
.hero {
  position: relative; overflow: hidden;
  /* svh tracks the visible area as mobile browser chrome hides/shows;
     the vh line above it is the fallback for older browsers. */
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 7rem 1.5rem 6rem;
  color: var(--cream);
  background:
    linear-gradient(rgba(18, 40, 29, 0.78), rgba(18, 40, 29, 0.9)),
    radial-gradient(ellipse at 30% 20%, #2e5c41 0%, transparent 60%),
    radial-gradient(ellipse at 75% 80%, #24503a 0%, transparent 55%),
    var(--forest-deep);
}
.hero-inner { position: relative; z-index: 2; }
.hero-fronds { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 90px; z-index: 1; }

/* Drifting leaves behind the hero text */
.leaves { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.leaf { position: absolute; width: 46px; height: 46px; fill: rgba(230, 207, 154, 0.16); animation: drift 16s ease-in-out infinite; }
.leaf.l1 { top: 14%; left: 8%;  animation-duration: 15s; }
.leaf.l2 { top: 62%; left: 15%; width: 30px; animation-duration: 19s; animation-delay: -4s; }
.leaf.l3 { top: 24%; right: 11%; width: 38px; animation-duration: 17s; animation-delay: -8s; }
.leaf.l4 { top: 72%; right: 16%; width: 52px; animation-duration: 21s; animation-delay: -2s; }
.leaf.l5 { top: 45%; left: 48%; width: 26px; animation-duration: 23s; animation-delay: -11s; }
@keyframes drift {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50%      { transform: translateY(-26px) rotate(10deg); }
}

/* Gold rule under the names */
.hero-rule { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin: 1rem auto 1.2rem; max-width: 340px; }
.hero-rule span { height: 1px; flex: 1; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.orn-leaf { width: 20px; height: 20px; fill: var(--gold); flex: 0 0 auto; }

/* Scroll hint */
.scroll-cue { position: absolute; bottom: 6.5rem; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 42px; border: 1px solid rgba(230, 207, 154, 0.5); border-radius: 14px; display: grid; place-items: start center; padding-top: 7px; }
.scroll-cue span { width: 3px; height: 8px; border-radius: 2px; background: var(--gold-soft); animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }
.btn-ghost { border: 1px solid rgba(230, 207, 154, 0.5); color: var(--cream); }
.btn-ghost:hover { background: rgba(230, 207, 154, 0.14); }

/* Ornamental section divider */
.ornament { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.orn-line { height: 1px; width: min(160px, 22vw); background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* Inner page hero (portal) */
.page-hero {
  position: relative; overflow: hidden; text-align: center; color: var(--cream);
  padding: 9rem 1.5rem 7rem;
  background:
    linear-gradient(rgba(18, 40, 29, 0.82), rgba(18, 40, 29, 0.92)),
    radial-gradient(ellipse at 25% 25%, #2e5c41 0%, transparent 60%),
    var(--forest-deep);
}
.page-hero .hero-fronds path:last-child { fill: var(--cream); }
.page-hero-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.page-title { font-family: var(--serif); font-weight: 500; font-size: clamp(2.4rem, 7vw, 3.6rem); margin: 0.4rem 0 0.8rem; }
.page-lede { color: #dfe3d9; margin-bottom: 1.8rem; }

.portal-cta { text-align: center; background: var(--card); border-radius: 12px; padding: 2.5rem 1.5rem; margin-top: 3rem; box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); }
.portal-cta h3 { font-family: var(--serif); font-size: 1.6rem; color: var(--forest); margin-bottom: 0.4rem; }
.portal-cta p { color: var(--muted); margin-bottom: 1.4rem; }

/* Closing call-to-action band */
.cta-band { background: linear-gradient(rgba(18,40,29,.9), rgba(18,40,29,.9)), radial-gradient(ellipse at 60% 20%, #2e5c41, transparent 60%), var(--forest-deep); color: var(--cream); text-align: center; padding: 4.5rem 1.5rem; }
.cta-inner h2 { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; color: var(--gold-soft); margin-bottom: 0.5rem; }
.cta-inner p { color: #cfd6cb; margin-bottom: 1.6rem; }
.hero-kicker { text-transform: uppercase; letter-spacing: 0.35em; font-size: 0.85rem; color: var(--gold-soft); margin-bottom: 1.2rem; }
.hero-names { font-family: var(--serif); font-weight: 500; font-size: clamp(3rem, 9vw, 5.5rem); line-height: 1.1; }
.hero-invite { font-family: var(--serif); font-style: italic; font-size: 1.3rem; margin: 1rem 0 1.5rem; color: #e8e4d8; }
.hero-date { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.95rem; color: var(--gold-soft); }
.hero-date .dot { color: var(--gold); }

.countdown { display: flex; gap: 1rem; justify-content: center; margin: 2.5rem 0; flex-wrap: wrap; }
.count-box {
  width: 92px; padding: 0.9rem 0.6rem;
  border: 1px solid rgba(201, 162, 75, 0.45); border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.count-box span { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--gold-soft); }
.count-box label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: #cfd6cb; }

/* Buttons */
.btn {
  display: inline-block; padding: 0.85rem 2.2rem; border-radius: 3px;
  text-decoration: none; letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.85rem;
  transition: all 0.25s ease; cursor: pointer; border: none; font-family: var(--sans);
}
.btn-gold { background: var(--gold); color: var(--forest-deep); }
.btn-gold:hover { background: var(--gold-soft); }
.btn-outline { background: transparent; color: inherit; border: 1px solid var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--forest-deep); }
.btn-small { padding: 0.7rem 1.2rem; }

/* Sections */
.section { padding: 5rem 1.5rem; max-width: 1100px; margin: 0 auto; }
.section-alt { background: #f2ecdf; max-width: none; }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-title { font-family: var(--serif); font-size: 2.6rem; font-weight: 500; text-align: center; color: var(--forest); }
/* Longhand margins on purpose: a `margin` shorthand here would reset the
   auto side-margins that `.section-alt > *` relies on to centre this. */
.section-sub { text-align: center; color: var(--muted); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; margin-top: 0.4rem; margin-bottom: 3rem; }

/* Events */
.day-block { margin-bottom: 3rem; }
.day-title { font-family: var(--serif); font-size: 1.7rem; color: var(--forest); border-bottom: 1px solid var(--gold); display: inline-block; padding-bottom: 0.3rem; margin-bottom: 1.5rem; }
/* Capped track width, not 1fr: the two days have different card counts, and
   1fr would stretch the shorter day's cards far wider than the other's. */
.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 340px)); gap: 1.2rem; justify-content: center; }
.day-num { font-family: var(--serif); font-size: 1.1rem; color: var(--gold); margin-right: 0.5rem; letter-spacing: 0.1em; }
.event-card {
  background: var(--card); border-radius: 8px; padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08);
  border-top: 3px solid var(--gold);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.event-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(27, 58, 42, 0.18); }
.event-dress { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.9rem; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.event-dress i { width: 13px; height: 13px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.event-time { font-size: 0.8rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.event-card h4 { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); margin: 0.3rem 0 0.5rem; }
.event-card p { font-size: 0.95rem; color: var(--muted); }
.note { text-align: center; color: var(--muted); font-style: italic; font-size: 0.9rem; }

/* Venue */
.venue-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.venue-text p { margin-bottom: 1rem; }
.venue-facts { list-style: none; margin: 1.2rem 0 1.8rem; }
.venue-facts li { padding: 0.35rem 0; }
.venue-map iframe { width: 100%; height: 340px; border: 0; border-radius: 10px; box-shadow: 0 4px 18px rgba(27, 58, 42, 0.15); }
#venue .btn-outline { color: var(--forest); }

/* Travel */
.travel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; }
.travel-card { background: var(--card); border-radius: 8px; padding: 1.8rem 1.5rem; box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); transition: transform 0.28s ease, box-shadow 0.28s ease; }
.travel-card:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(27, 58, 42, 0.18); }
.travel-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; background: #eef4ec; margin-bottom: 0.9rem; }
.travel-card:hover .travel-ico { background: var(--gold-soft); }
.fact-ico { display: inline-block; width: 1.6rem; }
.travel-card h4 { font-family: var(--serif); font-size: 1.3rem; color: var(--forest); margin-bottom: 0.5rem; }
.travel-card p { font-size: 0.95rem; color: var(--muted); }

/* Footer */
.footer { background: var(--forest-deep); color: #cfd6cb; text-align: center; padding: 3rem 1.5rem; }
.footer-names { font-family: var(--serif); font-size: 2rem; color: var(--gold-soft); margin-bottom: 0.5rem; }
.footer-fine { margin-top: 1rem; font-size: 0.8rem; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.7; }

/* Guest portal teaser (public page) */
.portal-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 340px)); gap: 1.4rem; justify-content: center; }
.portal-card {
  position: relative; background: var(--card); border-radius: 10px; padding: 1.8rem 1.5rem 1.5rem;
  box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); border: 1px solid #ece5d5;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.portal-card:hover, .portal-card:focus-within { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(27, 58, 42, 0.16); }
.portal-lock { position: absolute; top: 1rem; right: 1.1rem; font-size: 0.9rem; opacity: 0.45; }
.portal-icon { font-size: 2rem; line-height: 1; margin-bottom: 0.6rem; }
.portal-card h3 { font-family: var(--serif); font-size: 1.45rem; color: var(--forest); margin-bottom: 0.4rem; }
.portal-card p { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }
.portal-link {
  display: inline-flex; align-items: center; min-height: 44px;
  color: var(--forest); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold);
}
.portal-link:hover { color: var(--gold); }

.swatch-row { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.swatch { width: 34px; height: 34px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0,0,0,0.12); display: inline-block; }
.swatch-btn { cursor: pointer; padding: 0; min-width: 44px; min-height: 44px; border-radius: 50%; background: var(--sw); border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,0.12); }
.swatch-btn:hover { transform: scale(1.08); }

/* Scroll reveal is driven entirely from JS with inline styles, deliberately
   NOT from a CSS rule that hides .reveal. A stylesheet that hides content and
   waits for a class can strand a whole section invisible if the observer never
   fires; here the worst case is JS clearing the inline styles, which leaves
   everything at its natural, visible state. */

/* Nav condenses once the page scrolls */
.nav.is-scrolled { padding-top: 0.45rem; padding-bottom: 0.45rem; background: rgba(18, 40, 29, 0.98); box-shadow: 0 2px 16px rgba(0, 0, 0, 0.28); }

/* Countdown digits pop as they change */
@keyframes pop { 0% { transform: translateY(-4px); opacity: .5; } 100% { transform: none; opacity: 1; } }
.count-box span.tick { animation: pop 0.35s ease; }

@media (prefers-reduced-motion: reduce) {
  body.reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .fade-up { animation: none; }
  .leaf, .scroll-cue span, .count-box span.tick { animation: none; }
  .portal-card:hover, .event-card:hover, .travel-card:hover { transform: none; }
}

/* Guest area: tabs + panels */
.tabbar {
  display: flex; gap: 0.4rem; overflow-x: auto; padding: 0.8rem 1.5rem;
  background: var(--forest); position: sticky; top: 0; z-index: 50;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.tabbar::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; background: transparent; border: 1px solid rgba(230, 207, 154, 0.35);
  color: var(--cream); border-radius: 999px; padding: 0.55rem 1.1rem; min-height: 44px;
  font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.06em; cursor: pointer;
  white-space: nowrap; transition: background 0.2s ease, color 0.2s ease;
}
.tab:hover { background: rgba(230, 207, 154, 0.16); }
.tab.is-active { background: var(--gold); color: var(--forest-deep); border-color: var(--gold); }

.guest-main { padding-top: 2.5rem; }
.panel-title { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--forest); margin-bottom: 0.3rem; }
.panel-sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.5rem; }
.placeholder-note { font-style: italic; }
/* Without JS every panel stays visible; tabs-ready switches to one at a time. */
body.tabs-ready .panel { display: none; }
body.tabs-ready .panel.is-active { display: block; }

/* Colour codes */
.colour-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.colour-card { background: var(--card); border-radius: 10px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); }
.colour-card h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); }
.colour-when { display: block; font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0.2rem 0 0.9rem; }
.colour-card p { font-size: 0.92rem; color: var(--muted); }
.copy-toast {
  position: fixed; left: 50%; bottom: 2rem; transform: translateX(-50%) translateY(1rem);
  background: var(--forest-deep); color: var(--gold-soft); padding: 0.7rem 1.4rem; border-radius: 999px;
  font-size: 0.9rem; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 200;
}
.copy-toast.is-visible { opacity: 1; transform: translateX(-50%); }

/* Guest list */
.list-controls { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; margin-bottom: 1rem; }
#guest-search {
  flex: 1 1 240px; padding: 0.8rem 1rem; border: 1px solid #d5cfc0; border-radius: 6px;
  font-family: var(--sans); font-size: 1rem; background: #fff;
}
#guest-search:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.chip-row { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip {
  background: transparent; border: 1px solid #cfc6b2; border-radius: 999px; cursor: pointer;
  padding: 0.5rem 1rem; min-height: 44px; font-family: var(--sans); font-size: 0.85rem; color: var(--forest);
}
.chip.is-active { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.result-count { font-size: 0.85rem; color: var(--muted); margin-bottom: 0.8rem; }
.guest-list { display: grid; gap: 0.6rem; }
.guest-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
  background: var(--card); border-radius: 8px; padding: 0.9rem 1.2rem; box-shadow: 0 1px 6px rgba(27, 58, 42, 0.07);
}
.guest-city { display: block; font-size: 0.85rem; color: var(--muted); }
.guest-meta { display: flex; align-items: center; gap: 0.7rem; }
.side-tag { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 999px; }
.side-bride { background: #f6e3ea; color: #8d2f52; }
.side-groom { background: #e3eee7; color: #23593c; }
.guest-count { background: var(--forest); color: var(--cream); border-radius: 50%; width: 30px; height: 30px; display: grid; place-items: center; font-size: 0.85rem; }
.empty-inline { color: var(--muted); font-style: italic; padding: 1rem 0; }

/* Room map */
.map-wrap { display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem; align-items: start; }
.resort-map {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem;
  background: linear-gradient(160deg, #e7efe4, #dbe8da); border-radius: 12px; padding: 1rem;
}
.map-river { grid-column: 1 / -1; background: #bcd8e8; border-radius: 8px; padding: 0.5rem; text-align: center; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: #2c5c76; }
.map-venue { grid-column: 1 / -1; background: var(--gold-soft); border-radius: 8px; padding: 0.7rem; text-align: center; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest-deep); }
.map-block {
  background: #fff; border: 2px solid transparent; border-radius: 8px; padding: 1rem 0.7rem; cursor: pointer;
  font-family: var(--sans); text-align: center; min-height: 72px; transition: border-color 0.2s ease, transform 0.2s ease;
}
.map-block strong { display: block; font-size: 0.95rem; color: var(--forest); }
.map-block span { font-size: 0.8rem; color: var(--muted); }
.map-block:hover { transform: translateY(-2px); border-color: var(--gold-soft); }
.map-block.is-active { border-color: var(--gold); background: #fffdf6; }
.map-detail { background: var(--card); border-radius: 10px; padding: 1.5rem; box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); }
.map-detail h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--forest); margin-bottom: 0.5rem; }
.map-detail p { font-size: 0.92rem; color: var(--muted); margin-bottom: 0.6rem; }
.detail-rooms { color: var(--gold) !important; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.8rem !important; }

/* Contacts */
.contact-card .contact-who { font-size: 0.9rem; color: var(--muted); }
.contact-card .contact-phone { font-family: var(--serif); font-size: 1.2rem; color: var(--forest); margin-top: 0.4rem; }

/* Empty states */
.empty-state { background: var(--card); border-radius: 12px; padding: 3rem 1.5rem; text-align: center; box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); }
.empty-icon { font-size: 2.6rem; margin-bottom: 0.6rem; }
.empty-state h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); margin-bottom: 0.5rem; }
.empty-state p { color: var(--muted); max-width: 46ch; margin: 0 auto; font-size: 0.95rem; }

/* Auth pages */
.auth-body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center; padding: 1.5rem;
  background:
    linear-gradient(rgba(18, 40, 29, 0.82), rgba(18, 40, 29, 0.9)),
    radial-gradient(ellipse at 30% 20%, #2e5c41 0%, transparent 60%),
    var(--forest-deep);
}
.auth-card {
  background: var(--cream); border-radius: 12px; padding: 2.5rem 2.2rem;
  width: 100%; max-width: 420px; text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
.auth-card h1 { font-family: var(--serif); font-weight: 500; font-size: 2rem; color: var(--forest); }
.auth-card .auth-sub { color: var(--muted); font-size: 0.95rem; margin: 0.5rem 0 1.8rem; }
.auth-field { text-align: left; margin-bottom: 1.1rem; }
.auth-field label { display: block; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--forest); margin-bottom: 0.35rem; }
.auth-field input {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid #d5cfc0; border-radius: 6px;
  font-family: var(--sans); font-size: 1rem; background: #fff;
}
.auth-field input:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.auth-error { color: #a3392e; font-size: 0.9rem; margin-bottom: 1rem; display: none; }
.auth-card .btn { width: 100%; }
.auth-fine { margin-top: 1.4rem; font-size: 0.85rem; color: var(--muted); }
.auth-fine a { color: var(--forest); }

/* Guest area */
.guest-header { background: var(--forest-deep); color: var(--cream); padding: 5.5rem 1.5rem 2.5rem; text-align: center; }
.guest-header h1 { font-family: var(--serif); font-weight: 500; font-size: 2.2rem; color: var(--gold-soft); }
.guest-header p { color: #cfd6cb; }
.guest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.guest-card { background: var(--card); border-radius: 10px; padding: 1.8rem; box-shadow: 0 2px 12px rgba(27, 58, 42, 0.08); }
.guest-card h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--forest); margin-bottom: 0.8rem; }
.guest-card ul { list-style: none; }
.guest-card li { padding: 0.35rem 0; border-bottom: 1px dashed #e5decd; font-size: 0.95rem; }
.guest-card li:last-child { border-bottom: none; }
.rsvp-form .auth-field { margin-bottom: 1rem; }
.rsvp-form select, .rsvp-form textarea {
  width: 100%; padding: 0.8rem 1rem; border: 1px solid #d5cfc0; border-radius: 6px;
  font-family: var(--sans); font-size: 1rem; background: #fff;
}
.rsvp-success { display: none; color: var(--forest); background: #e7f0e4; border: 1px solid #b9d3ae; border-radius: 6px; padding: 0.9rem; margin-top: 1rem; font-size: 0.95rem; }

/* Responsive */
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; background: rgba(18, 40, 29, 0.97); padding: 1.2rem; gap: 1rem;
  }
  body.nav-open .nav-links { display: flex; }
  .venue-grid { grid-template-columns: 1fr; }
  .map-wrap { grid-template-columns: 1fr; }
  .tabbar { padding: 0.7rem 1rem; }
}
